diff --git a/.solhint.json b/.solhint.json
index 7a082d392..392c626cd 100644
--- a/.solhint.json
+++ b/.solhint.json
@@ -10,6 +10,9 @@
"bracket-align": "off",
"no-complex-fallback": "off",
"no-simple-event-func-name": "off",
+ "const-name-snakecase": "off",
+ "no-empty-blocks": "off",
+ "not-rely-on-time": "off",
"compiler-version": ["error", "0.4.24"]
}
}
diff --git a/Dockerfile.dev b/Dockerfile.dev
index 5d0ceee3a..07161400f 100644
--- a/Dockerfile.dev
+++ b/Dockerfile.dev
@@ -18,8 +18,6 @@ COPY ./upgrade/package.json ./upgrade/
COPY ./upgrade/package-lock.json ./upgrade/
RUN cd ./upgrade; npm install; cd ..
-COPY ./scripts ./scripts
-
COPY truffle-config.js truffle-config.js
COPY ./contracts ./contracts
RUN npm run compile
diff --git a/GAS_CONSUMPTION.md b/GAS_CONSUMPTION.md
index 165d6d138..83b0713a6 100644
--- a/GAS_CONSUMPTION.md
+++ b/GAS_CONSUMPTION.md
@@ -1,7 +1,4 @@
## Gas Consumption by Bridge Mode
-- [NATIVE-TO-ERC](docs/NATIVE-TO-ERC.md)
-- [NATIVE-TO-ERC-WITH-REWARD](docs/NATIVE-TO-ERC-WITH-REWARD.md)
-- [ERC-TO-ERC](docs/ERC-TO-ERC.md)
- [ERC-TO-NATIVE](docs/ERC-TO-NATIVE.md)
- [ERC-TO-NATIVE-WITH-REWARD](docs/ERC-TO-NATIVE-WITH-REWARD.md)
diff --git a/README.md b/README.md
index b40e5f9ac..d0647804f 100644
--- a/README.md
+++ b/README.md
@@ -35,9 +35,6 @@ The POA bridge contracts consist of several components:
* The **Home Bridge** smart contract. This is currently deployed in POA.Network.
* The **Foreign Bridge** smart contract. This is deployed in the Ethereum Mainnet.
* Depending on the type of relay operations the following components are also used:
- * in `NATIVE-TO-ERC` mode: the ERC20 token (in fact, the ERC677 extension is used) is deployed on the Foreign network;
- * in `AMB-NATIVE-TO-ERC` mode: the ERC20 token (in fact, the ERC677 extension is used) is deployed on the Foreign network;
- * in `ERC-TO-ERC` mode: the ERC20 token (in fact, the ERC677 extension is used) is deployed on the Home network;
* in `AMB-ERC-TO-ERC` mode: the ERC20 token (in fact, the ERC677 extension is used) is deployed on the Home network;
* in `ERC-TO-NATIVE` mode: The home network nodes must support consensus engine that allows using a smart contract for block reward calculation;
* The **Validators** smart contract is deployed in both the POA.Network and the Ethereum Mainnet.
@@ -59,14 +56,9 @@ Responsibilities and roles of the bridge:
- listen for `UserRequestForAffirmation` or `Transfer` (depending on the bridge mode) events on the Foreign Bridge and send approval to Home Bridge to relay assets from Foreign Network to Home
- **User** role:
- sends assets to Bridge contracts:
- - in `NATIVE-TO-ERC` mode: send native coins to the Home Bridge to receive ERC20 tokens from the Foreign Bridge, send ERC20 tokens to the Foreign Bridge to unlock native coins from the Home Bridge;
- - in `ERC-TO-ERC` mode: transfer ERC20 tokens to the Foreign Bridge to mint ERC20 tokens on the Home Network, transfer ERC20 tokens to the Home Bridge to unlock ERC20 tokens on Foreign networks;
- in `ERC-TO-NATIVE` mode: send ERC20 tokens to the Foreign Bridge to receive native coins from the Home Bridge, send native coins to the Home Bridge to unlock ERC20 tokens from the Foreign Bridge;
- in `ARBITRARY-MESSAGE` mode: Invoke Home/Foreign Bridge to send a message that will be executed on the other Network as an arbitrary contract method invocation;
- in `AMB-ERC-TO-ERC` mode: transfer ERC20 tokens to the Foreign Mediator which will interact with Foreign AMB Bridge to mint ERC20 tokens on the Home Network, transfer ERC20 tokens to the Home Mediator which will interact with Home AMB Bridge to unlock ERC20 tokens on Foreign network.
- - in `AMB-NATIVE-TO-ERC` mode: send native coins to the Home Mediator which will interact with Home AMB Bridge to mint ERC20 tokens on the Foreign Network, transfer ERC20 tokens to the Foreign Mediator which will interact with Foreign AMB Bridge to unlock native coins from Home network.
- - in `AMB-ERC-TO-NATIVE` mode: send ERC20 tokens to the Foreign Mediator which will interact with Foreign AMB Bridge to receive native coins from the Home Mediator on the Home Network, send native coins to the Home Mediator which will interact with Home AMB Bridge to unlock ERC20 tokens from the Foreign Mediator.
- - in `MULTI-AMB-ERC-TO-ERC` mode: transfer any ERC20/ERC677 tokens to the Foreign Mediator which will interact with Foreign AMB Bridge to mint ERC677 tokens on the Home Network, transfer ERC677 tokens to the Home Mediator which will interact with Home AMB Bridge to unlock associated ERC20/ERC677 tokens on the Foreign network.
## Usage
@@ -166,17 +158,6 @@ or with Docker:
./deploy.sh token
```
-For testing bridge scripts in ERC20-to-NATIVE mode, you can deploy an interest receiver to the foreign network.
-This can be done by running the following command:
-```bash
-cd deploy
-node testenv-deploy.js interestReceiver
-```
-or with Docker:
-```bash
-./deploy.sh interestReceiver
-```
-
## Contributing
See the [CONTRIBUTING](CONTRIBUTING.md) document for contribution, testing and pull request protocol.
diff --git a/REWARD_MANAGEMENT.md b/REWARD_MANAGEMENT.md
index f9a22c386..408145043 100644
--- a/REWARD_MANAGEMENT.md
+++ b/REWARD_MANAGEMENT.md
@@ -1,33 +1,5 @@
# Reward Management
-## NATIVE-TO-ERC
-Configuration:
-```
-HOME_REWARDABLE=ONE_DIRECTION
-FOREIGN_REWARDABLE=ONE_DIRECTION
-```
-### Home to Foreign transfer
-Fees are calculated and distributed on Foreign network. Validators will receive ERC20 tokens.
-![native-erc-hometoforeign](https://user-images.githubusercontent.com/4614574/51607402-4bda6180-1ef3-11e9-91e3-50fe5d35d296.png)
-
-### Foreign to Home transfer
-Fees are calculated and distributed on Home network. Validators will receive native coins.
-![native-erc-foreigntohome](https://user-images.githubusercontent.com/4614574/51607428-5d236e00-1ef3-11e9-8083-3669899c7252.png)
-
-## NATIVE-TO-ERC - Fees collected on Home network only
-Configuration:
-```
-HOME_REWARDABLE=BOTH_DIRECTIONS
-FOREIGN_REWARDABLE=false
-```
-### Home to Foreign transfer
-Fees are calculated and distributed on Home network. Validators will receive native coins.
-![native-erc-homefee-hometoforeign](https://user-images.githubusercontent.com/4614574/53118155-43456d00-352b-11e9-80db-53e31494e09b.png)
-
-### Foreign to Home transfer
-Fees are calculated and distributed on Home network. Validators will receive native coins.
-![native-erc-homefee-foreigntohome](https://user-images.githubusercontent.com/4614574/53118176-4b9da800-352b-11e9-8118-123f30e37d61.png)
-
## ERC-TO-NATIVE - Fees distributed among bridge validators
Configuration:
```
@@ -57,33 +29,3 @@ Fees are calculated and distributed on Home network. Validators will receive nat
### Home to Foreign transfer
Fees are calculated and distributed on Home network. Validators will receive native coins.
![POSDAO-ERC-Native-HomeToForeign](https://user-images.githubusercontent.com/4614574/59941982-f750f900-9434-11e9-8557-a90d9dfa6799.png)
-
-## ERC-TO-ERC
-Configuration:
-```
-HOME_REWARDABLE=BOTH_DIRECTIONS
-FOREIGN_REWARDABLE=false
-```
-### Foreign to Home transfer
-Fees are calculated and distributed on Home network. Validators will receive ERC20 tokens.
-![ERC-ERC-ForeignToHome](https://user-images.githubusercontent.com/4614574/59939650-016ff900-942f-11e9-9593-9861455c7b62.png)
-
-### Home to Foreign transfer
-Fees are calculated and distributed on Home network. Validators will receive ERC20 tokens.
-![ERC-ERC-HomeToForeign](https://user-images.githubusercontent.com/4614574/59939670-0cc32480-942f-11e9-9693-727125555c97.png)
-
-## AMB-NATIVE-TO-ERC
-Configuration:
-```
-HOME_REWARDABLE=ONE_DIRECTION
-FOREIGN_REWARDABLE=ONE_DIRECTION
-```
-### Home to Foreign transfer
-Fees are calculated and distributed on Foreign network. The reward accounts will receive ERC20 tokens.
-![AMB-NATIVE-TO-ERC677-Home-Foreign](https://user-images.githubusercontent.com/4614574/74660965-dd0f1c80-5175-11ea-8d6c-51b8bd85f844.png)
-
-### Foreign to Home transfer
-Fees are calculated and distributed on Home network. The reward accounts will receive native tokens.
-![AMB-NATIVE-TO-ERC677-Foreign-Home](https://user-images.githubusercontent.com/4614574/74660986-e6988480-5175-11ea-9216-7f008a6fdaf0.png)
-
-
diff --git a/contracts/interfaces/ICToken.sol b/contracts/interfaces/ICToken.sol
new file mode 100644
index 000000000..cfb8d793a
--- /dev/null
+++ b/contracts/interfaces/ICToken.sol
@@ -0,0 +1,10 @@
+pragma solidity 0.4.24;
+
+interface ICToken {
+ function mint(uint256 mintAmount) external returns (uint256);
+ function redeemUnderlying(uint256 redeemAmount) external returns (uint256);
+ function balanceOf(address account) external view returns (uint256);
+ function balanceOfUnderlying(address account) external view returns (uint256);
+ function borrow(uint256 borrowAmount) external returns (uint256);
+ function repayBorrow(uint256 borrowAmount) external returns (uint256);
+}
diff --git a/contracts/interfaces/IChai.sol b/contracts/interfaces/IChai.sol
deleted file mode 100644
index e982a4a9b..000000000
--- a/contracts/interfaces/IChai.sol
+++ /dev/null
@@ -1,15 +0,0 @@
-pragma solidity 0.4.24;
-
-import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";
-import "../interfaces/IPot.sol";
-
-interface IChai {
- function pot() external view returns (IPot);
- function daiToken() external view returns (ERC20);
- function balanceOf(address) external view returns (uint256);
- function dai(address) external view returns (uint256);
- function join(address, uint256) external;
- function draw(address, uint256) external;
- function exit(address, uint256) external;
- function transfer(address, uint256) external;
-}
diff --git a/contracts/interfaces/IComptroller.sol b/contracts/interfaces/IComptroller.sol
new file mode 100644
index 000000000..4883ba490
--- /dev/null
+++ b/contracts/interfaces/IComptroller.sol
@@ -0,0 +1,5 @@
+pragma solidity 0.4.24;
+
+interface IComptroller {
+ function claimComp(address[] holders, address[] cTokens, bool borrowers, bool suppliers) external;
+}
diff --git a/contracts/interfaces/IInterestReceiver.sol b/contracts/interfaces/IInterestReceiver.sol
new file mode 100644
index 000000000..8df916e81
--- /dev/null
+++ b/contracts/interfaces/IInterestReceiver.sol
@@ -0,0 +1,5 @@
+pragma solidity 0.4.24;
+
+interface IInterestReceiver {
+ function onInterestReceived(address _token) external;
+}
diff --git a/contracts/interfaces/IPot.sol b/contracts/interfaces/IPot.sol
deleted file mode 100644
index cf44bfbe1..000000000
--- a/contracts/interfaces/IPot.sol
+++ /dev/null
@@ -1,7 +0,0 @@
-pragma solidity 0.4.24;
-
-interface IPot {
- function chi() external view returns (uint256);
- function rho() external view returns (uint256);
- function drip() external returns (uint256);
-}
diff --git a/contracts/interfaces/IUniswapRouterV2.sol b/contracts/interfaces/IUniswapRouterV2.sol
new file mode 100644
index 000000000..ebe97588a
--- /dev/null
+++ b/contracts/interfaces/IUniswapRouterV2.sol
@@ -0,0 +1,15 @@
+pragma solidity 0.4.24;
+
+interface IUniswapRouterV2 {
+ function swapExactTokensForTokens(
+ uint256 amountIn,
+ uint256 amountOutMin,
+ address[] path,
+ address to,
+ uint256 deadline
+ ) external returns (uint256[] amounts);
+ function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline)
+ external
+ returns (uint256[] amounts);
+ function getAmountsOut(uint256 amountIn, address[] path) external view returns (uint256[] memory amounts);
+}
diff --git a/contracts/libraries/TokenReader.sol b/contracts/libraries/TokenReader.sol
deleted file mode 100644
index 9c919a7fc..000000000
--- a/contracts/libraries/TokenReader.sol
+++ /dev/null
@@ -1,138 +0,0 @@
-pragma solidity 0.4.24;
-
-/**
- * @title TokenReader
- * @dev Helper methods for reading name/symbol/decimals parameters from ERC20 token contracts.
- */
-library TokenReader {
- /**
- * @dev Reads the name property of the provided token.
- * Either name() or NAME() method is used.
- * Both, string and bytes32 types are supported.
- * @param _token address of the token contract.
- * @return token name as a string or an empty string if none of the methods succeeded.
- */
- function readName(address _token) internal view returns (string) {
- uint256 ptr;
- uint256 size;
- assembly {
- ptr := mload(0x40)
- mstore(ptr, 0x06fdde0300000000000000000000000000000000000000000000000000000000) // name()
- if iszero(staticcall(gas, _token, ptr, 4, ptr, 32)) {
- mstore(ptr, 0xa3f4df7e00000000000000000000000000000000000000000000000000000000) // NAME()
- staticcall(gas, _token, ptr, 4, ptr, 32)
- pop
- }
-
- mstore(0x40, add(ptr, returndatasize))
-
- switch gt(returndatasize, 32)
- case 1 {
- returndatacopy(mload(0x40), 32, 32) // string length
- size := mload(mload(0x40))
- }
- default {
- size := returndatasize // 32 or 0
- }
- }
- string memory res = new string(size);
- assembly {
- if gt(returndatasize, 32) {
- // load as string
- returndatacopy(add(res, 32), 64, size)
- jump(exit)
- }
- /* solhint-disable */
- if gt(returndatasize, 0) {
- let i := 0
- ptr := mload(ptr) // load bytes32 value
- mstore(add(res, 32), ptr) // save value in result string
-
- for { } gt(ptr, 0) { i := add(i, 1) } { // until string is empty
- ptr := shl(8, ptr) // shift left by one symbol
- }
- mstore(res, i) // save result string length
- }
- exit:
- /* solhint-enable */
- }
- return res;
- }
-
- /**
- * @dev Reads the symbol property of the provided token.
- * Either symbol() or SYMBOL() method is used.
- * Both, string and bytes32 types are supported.
- * @param _token address of the token contract.
- * @return token symbol as a string or an empty string if none of the methods succeeded.
- */
- function readSymbol(address _token) internal view returns (string) {
- uint256 ptr;
- uint256 size;
- assembly {
- ptr := mload(0x40)
- mstore(ptr, 0x95d89b4100000000000000000000000000000000000000000000000000000000) // symbol()
- if iszero(staticcall(gas, _token, ptr, 4, ptr, 32)) {
- mstore(ptr, 0xf76f8d7800000000000000000000000000000000000000000000000000000000) // SYMBOL()
- staticcall(gas, _token, ptr, 4, ptr, 32)
- pop
- }
-
- mstore(0x40, add(ptr, returndatasize))
-
- switch gt(returndatasize, 32)
- case 1 {
- returndatacopy(mload(0x40), 32, 32) // string length
- size := mload(mload(0x40))
- }
- default {
- size := returndatasize // 32 or 0
- }
- }
- string memory res = new string(size);
- assembly {
- if gt(returndatasize, 32) {
- // load as string
- returndatacopy(add(res, 32), 64, size)
- jump(exit)
- }
- /* solhint-disable */
- if gt(returndatasize, 0) {
- let i := 0
- ptr := mload(ptr) // load bytes32 value
- mstore(add(res, 32), ptr) // save value in result string
-
- for { } gt(ptr, 0) { i := add(i, 1) } { // until string is empty
- ptr := shl(8, ptr) // shift left by one symbol
- }
- mstore(res, i) // save result string length
- }
- exit:
- /* solhint-enable */
- }
- return res;
- }
-
- /**
- * @dev Reads the decimals property of the provided token.
- * Either decimals() or DECIMALS() method is used.
- * @param _token address of the token contract.
- * @return token decimals or 0 if none of the methods succeeded.
- */
- function readDecimals(address _token) internal view returns (uint256) {
- uint256 decimals;
- assembly {
- let ptr := mload(0x40)
- mstore(0x40, add(ptr, 32))
- mstore(ptr, 0x313ce56700000000000000000000000000000000000000000000000000000000) // decimals()
- if iszero(staticcall(gas, _token, ptr, 4, ptr, 32)) {
- mstore(ptr, 0x2e0f262500000000000000000000000000000000000000000000000000000000) // DECIMALS()
- if iszero(staticcall(gas, _token, ptr, 4, ptr, 32)) {
- mstore(ptr, 0)
- }
- }
- decimals := mload(ptr)
- }
- return decimals;
- }
-}
diff --git a/contracts/mocks/BlockRewardWithoutSystem.sol b/contracts/mocks/BlockRewardWithoutSystem.sol
deleted file mode 100644
index 8c9920a10..000000000
--- a/contracts/mocks/BlockRewardWithoutSystem.sol
+++ /dev/null
@@ -1,24 +0,0 @@
-pragma solidity ^0.4.24;
-
-import "../upgradeable_contracts/amb_erc20_to_native/BlockReward.sol";
-
-contract BlockRewardWithoutSystem is BlockReward {
- address public bridgeContractAddress;
-
- modifier onlySystem {
- _;
- }
-
- modifier onlyBridgeContract {
- _;
- }
-
- function setBridgeContractAddress(address _addr) external {
- bridgeContractAddress = _addr;
- }
-
- function bridgesAllowed() public view returns (address[bridgesAllowedLength]) {
- // These values must be changed before deploy
- return [address(bridgeContractAddress)];
- }
-}
diff --git a/contracts/mocks/ChaiMock.sol b/contracts/mocks/ChaiMock.sol
deleted file mode 100644
index ddd77339c..000000000
--- a/contracts/mocks/ChaiMock.sol
+++ /dev/null
@@ -1,198 +0,0 @@
-// chai.sol -- a dai savings token
-// Copyright (C) 2017, 2018, 2019 dbrock, rain, mrchico, lucasvo, livnev
-
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see .
-
-/* solhint-disable */
-pragma solidity 0.4.24;
-
-contract VatLike {
- function hope(address) external;
-}
-
-contract PotLike {
- function chi() external returns (uint256);
- function rho() external returns (uint256);
- function drip() external returns (uint256);
- function join(uint256) external;
- function exit(uint256) external;
-}
-
-contract JoinLike {
- function join(address, uint256) external;
- function exit(address, uint256) external;
-}
-
-contract GemLike {
- function transferFrom(address, address, uint256) external returns (bool);
- function approve(address, uint256) external returns (bool);
-}
-
-contract ChaiMock {
- // --- Data ---
- VatLike public vat = VatLike(0x35D1b3F3D7966A1DFe207aa4514C12a259A0492B);
- PotLike public pot = PotLike(0x197E90f9FAD81970bA7976f33CbD77088E5D7cf7);
- JoinLike public daiJoin = JoinLike(0x9759A6Ac90977b93B58547b4A71c78317f391A28);
- GemLike public daiToken = GemLike(0x6B175474E89094C44Da98b954EedeAC495271d0F);
-
- // --- ERC20 Data ---
- string public constant name = "Chai";
- string public constant symbol = "CHAI";
- string public constant version = "1";
- uint8 public constant decimals = 18;
- uint256 public totalSupply;
-
- mapping(address => uint256) public balanceOf;
- mapping(address => mapping(address => uint256)) public allowance;
- mapping(address => uint256) public nonces;
-
- event Approval(address indexed src, address indexed guy, uint256 wad);
- event Transfer(address indexed src, address indexed dst, uint256 wad);
-
- // --- Math ---
- uint256 constant RAY = 10**27;
- function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
- require((z = x + y) >= x);
- }
- function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
- require((z = x - y) <= x);
- }
- function mul(uint256 x, uint256 y) internal pure returns (uint256 z) {
- require(y == 0 || (z = x * y) / y == x);
- }
- function rmul(uint256 x, uint256 y) internal pure returns (uint256 z) {
- // always rounds down
- z = mul(x, y) / RAY;
- }
- function rdiv(uint256 x, uint256 y) internal pure returns (uint256 z) {
- // always rounds down
- z = mul(x, RAY) / y;
- }
- function rdivup(uint256 x, uint256 y) internal pure returns (uint256 z) {
- // always rounds up
- z = add(mul(x, RAY), sub(y, 1)) / y;
- }
-
- // --- EIP712 niceties ---
- bytes32 public constant DOMAIN_SEPARATOR = 0x0b50407de9fa158c2cba01a99633329490dfd22989a150c20e8c7b4c1fb0fcc3;
- // keccak256("Permit(address holder,address spender,uint256 nonce,uint256 expiry,bool allowed)"));
- bytes32 public constant PERMIT_TYPEHASH = 0xea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb;
-
- constructor(address _vat, address _pot, address _daiJoin, address _dai) public {
- vat = VatLike(_vat);
- pot = PotLike(_pot);
- daiJoin = JoinLike(_daiJoin);
- daiToken = GemLike(_dai);
-
- vat.hope(address(daiJoin));
- vat.hope(address(pot));
-
- daiToken.approve(address(daiJoin), uint256(-1));
- }
-
- // --- Token ---
- function transfer(address dst, uint256 wad) external returns (bool) {
- return transferFrom(msg.sender, dst, wad);
- }
- // like transferFrom but dai-denominated
- function move(address src, address dst, uint256 wad) external returns (bool) {
- uint256 chi = (now > pot.rho()) ? pot.drip() : pot.chi();
- // rounding up ensures dst gets at least wad dai
- return transferFrom(src, dst, rdivup(wad, chi));
- }
- function transferFrom(address src, address dst, uint256 wad) public returns (bool) {
- require(balanceOf[src] >= wad, "chai/insufficient-balance");
- if (src != msg.sender && allowance[src][msg.sender] != uint256(-1)) {
- require(allowance[src][msg.sender] >= wad, "chai/insufficient-allowance");
- allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad);
- }
- balanceOf[src] = sub(balanceOf[src], wad);
- balanceOf[dst] = add(balanceOf[dst], wad);
- emit Transfer(src, dst, wad);
- return true;
- }
- function approve(address usr, uint256 wad) external returns (bool) {
- allowance[msg.sender][usr] = wad;
- emit Approval(msg.sender, usr, wad);
- return true;
- }
-
- // --- Approve by signature ---
- function permit(
- address holder,
- address spender,
- uint256 nonce,
- uint256 expiry,
- bool allowed,
- uint8 v,
- bytes32 r,
- bytes32 s
- ) external {
- bytes32 digest = keccak256(
- abi.encodePacked(
- "\x19\x01",
- DOMAIN_SEPARATOR,
- keccak256(abi.encode(PERMIT_TYPEHASH, holder, spender, nonce, expiry, allowed))
- )
- );
- require(holder != address(0), "chai/invalid holder");
- require(holder == ecrecover(digest, v, r, s), "chai/invalid-permit");
- require(expiry == 0 || now <= expiry, "chai/permit-expired");
- require(nonce == nonces[holder]++, "chai/invalid-nonce");
-
- uint256 can = allowed ? uint256(-1) : 0;
- allowance[holder][spender] = can;
- emit Approval(holder, spender, can);
- }
-
- function dai(address usr) external returns (uint256 wad) {
- uint256 chi = (now > pot.rho()) ? pot.drip() : pot.chi();
- wad = rmul(chi, balanceOf[usr]);
- }
- // wad is denominated in dai
- function join(address dst, uint256 wad) external {
- uint256 chi = (now > pot.rho()) ? pot.drip() : pot.chi();
- uint256 pie = rdiv(wad, chi);
- balanceOf[dst] = add(balanceOf[dst], pie);
- totalSupply = add(totalSupply, pie);
-
- daiToken.transferFrom(msg.sender, address(this), wad);
- daiJoin.join(address(this), wad);
- pot.join(pie);
- emit Transfer(address(0), dst, pie);
- }
-
- // wad is denominated in (1/chi) * dai
- function exit(address src, uint256 wad) public {
- require(balanceOf[src] >= wad, "chai/insufficient-balance");
- if (src != msg.sender && allowance[src][msg.sender] != uint256(-1)) {
- require(allowance[src][msg.sender] >= wad, "chai/insufficient-allowance");
- allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad);
- }
- balanceOf[src] = sub(balanceOf[src], wad);
- totalSupply = sub(totalSupply, wad);
-
- uint256 chi = (now > pot.rho()) ? pot.drip() : pot.chi();
- pot.exit(wad);
- daiJoin.exit(msg.sender, rmul(chi, wad));
- emit Transfer(src, address(0), wad);
- }
-
- // wad is denominated in dai
- function draw(address src, uint256 wad) external {
- uint256 chi = (now > pot.rho()) ? pot.drip() : pot.chi();
- // rounding up ensures usr gets at least wad dai
- exit(src, rdivup(wad, chi));
- }
-}
diff --git a/contracts/mocks/ChaiMock2.sol b/contracts/mocks/ChaiMock2.sol
deleted file mode 100644
index 8669bfd7a..000000000
--- a/contracts/mocks/ChaiMock2.sol
+++ /dev/null
@@ -1,51 +0,0 @@
-pragma solidity 0.4.24;
-
-contract GemLike {
- function mint(address, uint256) external returns (bool);
- function transferFrom(address, address, uint256) external returns (bool);
-}
-
-/**
- * @title ChaiMock2
- * @dev This contract is used for e2e tests only,
- * this mock represents a simplified version of Chai, which does not require other MakerDAO contracts to be deployed in e2e tests
- */
-contract ChaiMock2 {
- event Transfer(address indexed src, address indexed dst, uint256 wad);
-
- GemLike public daiToken;
- uint256 internal daiBalance;
- address public pot;
-
- // wad is denominated in dai
- function join(address, uint256 wad) external {
- daiToken.transferFrom(msg.sender, address(this), wad);
- daiBalance += wad;
- }
-
- function transfer(address to, uint256 wad) external {
- require(daiBalance >= wad);
- daiBalance -= wad;
- emit Transfer(msg.sender, to, wad);
- }
-
- function exit(address, uint256 wad) external {
- require(daiBalance >= wad);
- daiBalance -= wad;
- daiToken.mint(msg.sender, wad);
- }
-
- function draw(address, uint256 wad) external {
- require(daiBalance >= wad);
- daiBalance -= wad;
- daiToken.mint(msg.sender, wad);
- }
-
- function dai(address) external view returns (uint256) {
- return daiBalance;
- }
-
- function balanceOf(address) external view returns (uint256) {
- return daiBalance;
- }
-}
diff --git a/contracts/mocks/DaiAdapterMock.sol b/contracts/mocks/DaiAdapterMock.sol
deleted file mode 100644
index 91544a51f..000000000
--- a/contracts/mocks/DaiAdapterMock.sol
+++ /dev/null
@@ -1,9 +0,0 @@
-pragma solidity 0.4.24;
-
-contract DaiAdapterMock {
- address public dai;
-
- constructor(address _dai) public {
- dai = _dai;
- }
-}
diff --git a/contracts/mocks/DaiJoinMock.sol b/contracts/mocks/DaiJoinMock.sol
deleted file mode 100644
index 5b297ac4b..000000000
--- a/contracts/mocks/DaiJoinMock.sol
+++ /dev/null
@@ -1,74 +0,0 @@
-/// join.sol -- Basic token adapters
-
-// Copyright (C) 2018 Rain
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see .
-
-/* solhint-disable */
-pragma solidity 0.4.24;
-
-contract DSTokenLike {
- function mint(address, uint256) external;
- function burn(address, uint256) external;
- function allowance(address, address) external returns (uint256);
-}
-
-contract VatLike {
- function slip(bytes32, address, int256) external;
- function move(address, address, uint256) external;
- function setDai(address, uint256) external;
-}
-
-contract DaiJoinMock {
- // --- Auth ---
- mapping(address => uint256) public wards;
- function rely(address usr) external auth {
- wards[usr] = 1;
- }
- function deny(address usr) external auth {
- wards[usr] = 0;
- }
- modifier auth {
- require(wards[msg.sender] == 1, "DaiJoin/not-authorized");
- _;
- }
-
- VatLike public vat;
- DSTokenLike public dai;
- uint256 public live; // Access Flag
-
- constructor(address vat_, address dai_) public {
- wards[msg.sender] = 1;
- live = 1;
- vat = VatLike(vat_);
- dai = DSTokenLike(dai_);
- vat.setDai(address(this), mul(ONE, ONE));
- }
- function cage() external auth {
- live = 0;
- }
- uint256 constant ONE = 10**27;
- function mul(uint256 x, uint256 y) internal pure returns (uint256 z) {
- require(y == 0 || (z = x * y) / y == x);
- }
- function join(address usr, uint256 wad) external {
- vat.move(address(this), usr, mul(ONE, wad));
- dai.burn(msg.sender, wad);
- }
- function exit(address usr, uint256 wad) external {
- require(live == 1, "DaiJoin/not-live");
- vat.move(msg.sender, address(this), mul(ONE, wad));
- dai.mint(usr, wad);
- }
-}
diff --git a/contracts/mocks/DaiMock.sol b/contracts/mocks/DaiMock.sol
deleted file mode 100644
index bbef4e90e..000000000
--- a/contracts/mocks/DaiMock.sol
+++ /dev/null
@@ -1,138 +0,0 @@
-// Copyright (C) 2017, 2018, 2019 dbrock, rain, mrchico
-
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see .
-
-/* solhint-disable */
-pragma solidity 0.4.24;
-
-contract DaiMock {
- // --- Auth ---
- mapping(address => uint256) public wards;
- function rely(address guy) external auth {
- wards[guy] = 1;
- }
- function deny(address guy) external auth {
- wards[guy] = 0;
- }
- modifier auth {
- require(wards[msg.sender] == 1, "Dai/not-authorized");
- _;
- }
-
- // --- ERC20 Data ---
- string public constant name = "Dai Stablecoin";
- string public constant symbol = "DAI";
- string public constant version = "1";
- uint8 public constant decimals = 18;
- uint256 public totalSupply;
-
- mapping(address => uint256) public balanceOf;
- mapping(address => mapping(address => uint256)) public allowance;
- mapping(address => uint256) public nonces;
-
- event Approval(address indexed src, address indexed guy, uint256 wad);
- event Transfer(address indexed src, address indexed dst, uint256 wad);
-
- // --- Math ---
- function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
- require((z = x + y) >= x);
- }
- function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
- require((z = x - y) <= x);
- }
-
- // --- EIP712 niceties ---
- bytes32 public DOMAIN_SEPARATOR;
- // bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address holder,address spender,uint256 nonce,uint256 expiry,bool allowed)");
- bytes32 public constant PERMIT_TYPEHASH = 0xea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb;
-
- constructor() public {
- wards[msg.sender] = 1;
- }
-
- // --- Token ---
- function transfer(address dst, uint256 wad) external returns (bool) {
- return transferFrom(msg.sender, dst, wad);
- }
- function transferFrom(address src, address dst, uint256 wad) public returns (bool) {
- require(balanceOf[src] >= wad, "Dai/insufficient-balance");
- if (src != msg.sender && allowance[src][msg.sender] != uint256(-1)) {
- require(allowance[src][msg.sender] >= wad, "Dai/insufficient-allowance");
- allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad);
- }
- balanceOf[src] = sub(balanceOf[src], wad);
- balanceOf[dst] = add(balanceOf[dst], wad);
- emit Transfer(src, dst, wad);
- return true;
- }
- function mint(address usr, uint256 wad) external auth {
- balanceOf[usr] = add(balanceOf[usr], wad);
- totalSupply = add(totalSupply, wad);
- emit Transfer(address(0), usr, wad);
- }
- function burn(address usr, uint256 wad) external {
- require(balanceOf[usr] >= wad, "Dai/insufficient-balance");
- if (usr != msg.sender && allowance[usr][msg.sender] != uint256(-1)) {
- require(allowance[usr][msg.sender] >= wad, "Dai/insufficient-allowance");
- allowance[usr][msg.sender] = sub(allowance[usr][msg.sender], wad);
- }
- balanceOf[usr] = sub(balanceOf[usr], wad);
- totalSupply = sub(totalSupply, wad);
- emit Transfer(usr, address(0), wad);
- }
- function approve(address usr, uint256 wad) external returns (bool) {
- allowance[msg.sender][usr] = wad;
- emit Approval(msg.sender, usr, wad);
- return true;
- }
-
- // --- Alias ---
- function push(address usr, uint256 wad) external {
- transferFrom(msg.sender, usr, wad);
- }
- function pull(address usr, uint256 wad) external {
- transferFrom(usr, msg.sender, wad);
- }
- function move(address src, address dst, uint256 wad) external {
- transferFrom(src, dst, wad);
- }
-
- // --- Approve by signature ---
- function permit(
- address holder,
- address spender,
- uint256 nonce,
- uint256 expiry,
- bool allowed,
- uint8 v,
- bytes32 r,
- bytes32 s
- ) external {
- bytes32 digest = keccak256(
- abi.encodePacked(
- "\x19\x01",
- DOMAIN_SEPARATOR,
- keccak256(abi.encode(PERMIT_TYPEHASH, holder, spender, nonce, expiry, allowed))
- )
- );
-
- require(holder != address(0), "Dai/invalid-address-0");
- require(holder == ecrecover(digest, v, r, s), "Dai/invalid-permit");
- require(expiry == 0 || now <= expiry, "Dai/permit-expired");
- require(nonce == nonces[holder]++, "Dai/invalid-nonce");
- uint256 wad = allowed ? uint256(-1) : 0;
- allowance[holder][spender] = wad;
- emit Approval(holder, spender, wad);
- }
-}
diff --git a/contracts/mocks/ForeignAMBWithGasTokenMock.sol b/contracts/mocks/ForeignAMBWithGasTokenMock.sol
index f18df58e6..cec4adab0 100644
--- a/contracts/mocks/ForeignAMBWithGasTokenMock.sol
+++ b/contracts/mocks/ForeignAMBWithGasTokenMock.sol
@@ -9,7 +9,7 @@ import "../upgradeable_contracts/arbitrary_message/ForeignAMBWithGasToken.sol";
contract ForeignAMBWithGasTokenMock is ForeignAMBWithGasToken {
function gasToken() public pure returns (IGasToken) {
// Address generated in unit test, also hardcoded in GasTokenMock
- return IGasToken(0xEC8bE1A5630364292E56D01129E8ee8A9578d7D8);
+ return IGasToken(0x5b1869D9A4C187F2EAa108f3062412ecf0526b24);
}
function collectGasTokens() external {
diff --git a/contracts/mocks/ForeignBridgeErcToNativeMock.sol b/contracts/mocks/ForeignBridgeErcToNativeMock.sol
index 4aa330489..cf540965f 100644
--- a/contracts/mocks/ForeignBridgeErcToNativeMock.sol
+++ b/contracts/mocks/ForeignBridgeErcToNativeMock.sol
@@ -3,17 +3,31 @@ pragma solidity 0.4.24;
import "../upgradeable_contracts/erc20_to_native/ForeignBridgeErcToNative.sol";
contract ForeignBridgeErcToNativeMock is ForeignBridgeErcToNative {
- bytes32 internal constant CHAI_TOKEN_MOCK = 0x5d6f4e61a116947624416975e8d26d4aff8f32e21ea6308dfa35cee98ed41fd8; // keccak256(abi.encodePacked("chaiTokenMock"))
+ /**
+ * @dev Tells the address of the DAI token in the Ganache Testchain.
+ */
+ function daiToken() public pure returns (ERC20) {
+ return ERC20(0x0a4dBaF9656Fd88A32D087101Ee8bf399f4bd55f);
+ }
- function setChaiToken(IChai _chaiToken) external {
- addressStorage[CHAI_TOKEN_MOCK] = _chaiToken;
+ /**
+ * @dev Tells the address of the cDAI token in the Ganache Testchain.
+ */
+ function cDaiToken() public pure returns (ICToken) {
+ return ICToken(0x615cba17EE82De39162BB87dBA9BcfD6E8BcF298);
}
- function chaiToken() public view returns (IChai) {
- return IChai(addressStorage[CHAI_TOKEN_MOCK]);
+ /**
+ * @dev Tells the address of the Comptroller contract in the Ganache Testchain.
+ */
+ function comptroller() public pure returns (IComptroller) {
+ return IComptroller(0x85e855b22F01BdD33eE194490c7eB16b7EdaC019);
}
- function convertChaiToDai(uint256 amount) external {
- _convertChaiToDai(amount);
+ /**
+ * @dev Tells the address of the COMP token in the Ganache Testchain.
+ */
+ function compToken() public pure returns (ERC20) {
+ return ERC20(0x6f51036Ec66B08cBFdb7Bd7Fb7F40b184482d724);
}
}
diff --git a/contracts/mocks/ForeignBridgeV2.sol b/contracts/mocks/ForeignBridgeV2.sol
deleted file mode 100644
index 627b55825..000000000
--- a/contracts/mocks/ForeignBridgeV2.sol
+++ /dev/null
@@ -1,20 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../upgradeable_contracts/native_to_erc20/ForeignBridgeNativeToErc.sol";
-
-interface OwnableToken {
- function transferOwnership(address) external;
-}
-
-contract ForeignBridgeV2 is ForeignBridgeNativeToErc {
- function changeTokenOwnership(address _newTokenOwner) public onlyOwner {
- address token = address(erc677token());
- OwnableToken poa = OwnableToken(token);
- poa.transferOwnership(_newTokenOwner);
- }
- // used for testing
- address public something;
- function doSomething(address _newTokenOwner) public onlyOwner {
- something = _newTokenOwner;
- }
-}
diff --git a/contracts/mocks/IHarnessComptroller.sol b/contracts/mocks/IHarnessComptroller.sol
new file mode 100644
index 000000000..077049fc9
--- /dev/null
+++ b/contracts/mocks/IHarnessComptroller.sol
@@ -0,0 +1,5 @@
+pragma solidity 0.4.24;
+
+interface IHarnessComptroller {
+ function fastForward(uint256 blocks) external;
+}
diff --git a/contracts/mocks/InterestReceiverMock.sol b/contracts/mocks/InterestReceiverMock.sol
deleted file mode 100644
index d473b9453..000000000
--- a/contracts/mocks/InterestReceiverMock.sol
+++ /dev/null
@@ -1,28 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../upgradeable_contracts/InterestReceiver.sol";
-
-contract InterestReceiverMock is InterestReceiver {
- address private chaiTokenMock;
- address private daiTokenMock;
-
- // solhint-disable no-empty-blocks
- constructor(address _owner, address _bridge, address _xDaiReceiver)
- public
- InterestReceiver(_owner, _bridge, _xDaiReceiver)
- {}
- // solhint-enable no-empty-blocks
-
- function setChaiToken(IChai _chaiToken) external {
- chaiTokenMock = _chaiToken;
- daiTokenMock = _chaiToken.daiToken();
- }
-
- function chaiToken() public view returns (IChai) {
- return IChai(chaiTokenMock);
- }
-
- function daiToken() public view returns (ERC20) {
- return ERC20(daiTokenMock);
- }
-}
diff --git a/contracts/mocks/PotMock.sol b/contracts/mocks/PotMock.sol
deleted file mode 100644
index 1135564d5..000000000
--- a/contracts/mocks/PotMock.sol
+++ /dev/null
@@ -1,188 +0,0 @@
-/// pot.sol -- Dai Savings Rate
-
-// Copyright (C) 2018 Rain
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see .
-
-/* solhint-disable */
-pragma solidity 0.4.24;
-
-/*
- "Savings Dai" is obtained when Dai is deposited into
- this contract. Each "Savings Dai" accrues Dai interest
- at the "Dai Savings Rate".
- This contract does not implement a user tradeable token
- and is intended to be used with adapters.
- --- `save` your `dai` in the `pot` ---
- - `dsr`: the Dai Savings Rate
- - `pie`: user balance of Savings Dai
- - `join`: start saving some dai
- - `exit`: remove some dai
- - `drip`: perform rate collection
-*/
-
-contract VatLike {
- function move(address, address, uint256) external;
- function suck(address, address, uint256) external;
-}
-
-contract PotMock {
- // --- Auth ---
- mapping(address => uint256) public wards;
- function rely(address guy) external auth {
- wards[guy] = 1;
- }
- function deny(address guy) external auth {
- wards[guy] = 0;
- }
- modifier auth {
- require(wards[msg.sender] == 1, "Pot/not-authorized");
- _;
- }
-
- // --- Data ---
- mapping(address => uint256) public pie; // user Savings Dai
-
- uint256 public Pie; // total Savings Dai
- uint256 public dsr; // the Dai Savings Rate
- uint256 public chi; // the Rate Accumulator
-
- VatLike public vat; // CDP engine
- address public vow; // debt engine
- uint256 public rho; // time of last drip
-
- uint256 public live; // Access Flag
-
- // --- Init ---
- constructor(address vat_) public {
- wards[msg.sender] = 1;
- vat = VatLike(vat_);
- dsr = 1000000021979553151239153028; // 100% anually
- chi = ONE;
- rho = now;
- live = 1;
- }
-
- // --- Math ---
- uint256 constant ONE = 10**27;
- function rpow(uint256 x, uint256 n, uint256 base) internal pure returns (uint256 z) {
- assembly {
- switch x
- case 0 {
- switch n
- case 0 {
- z := base
- }
- default {
- z := 0
- }
- }
- default {
- switch mod(n, 2)
- case 0 {
- z := base
- }
- default {
- z := x
- }
- let half := div(base, 2) // for rounding.
- for {
- n := div(n, 2)
- } n {
- n := div(n, 2)
- } {
- let xx := mul(x, x)
- if iszero(eq(div(xx, x), x)) {
- revert(0, 0)
- }
- let xxRound := add(xx, half)
- if lt(xxRound, xx) {
- revert(0, 0)
- }
- x := div(xxRound, base)
- if mod(n, 2) {
- let zx := mul(z, x)
- if and(iszero(iszero(x)), iszero(eq(div(zx, x), z))) {
- revert(0, 0)
- }
- let zxRound := add(zx, half)
- if lt(zxRound, zx) {
- revert(0, 0)
- }
- z := div(zxRound, base)
- }
- }
- }
- }
- }
-
- function rmul(uint256 x, uint256 y) internal pure returns (uint256 z) {
- z = mul(x, y) / ONE;
- }
-
- function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
- require((z = x + y) >= x);
- }
-
- function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
- require((z = x - y) <= x);
- }
-
- function mul(uint256 x, uint256 y) internal pure returns (uint256 z) {
- require(y == 0 || (z = x * y) / y == x);
- }
-
- // --- Administration ---
- function file(bytes32 what, uint256 data) external auth {
- require(live == 1, "Pot/not-live");
- drip();
- require(now == rho, "Pot/rho-not-updated");
- if (what == "dsr") dsr = data;
- else revert("Pot/file-unrecognized-param");
- }
-
- function file(bytes32 what, address addr) external auth {
- if (what == "vow") vow = addr;
- else revert("Pot/file-unrecognized-param");
- }
-
- function cage() external auth {
- live = 0;
- dsr = ONE;
- }
-
- // --- Savings Rate Accumulation ---
- function drip() public returns (uint256 tmp) {
- require(now >= rho, "Pot/invalid-now");
- tmp = rmul(rpow(dsr, now - rho, ONE), chi);
- uint256 chi_ = sub(tmp, chi);
- chi = tmp;
- rho = now;
- vat.suck(address(vow), address(this), mul(Pie, chi_));
- }
-
- // --- Savings Dai Management ---
- function join(uint256 wad) external {
- require(now == rho, "Pot/rho-not-updated");
- pie[msg.sender] = add(pie[msg.sender], wad);
- Pie = add(Pie, wad);
- vat.move(msg.sender, address(this), mul(chi, wad));
- }
-
- function exit(uint256 wad) external {
- pie[msg.sender] = sub(pie[msg.sender], wad);
- Pie = sub(Pie, wad);
- vat.move(address(this), msg.sender, mul(chi, wad));
- }
-}
diff --git a/contracts/mocks/PotMock2.sol b/contracts/mocks/PotMock2.sol
deleted file mode 100644
index c786444f5..000000000
--- a/contracts/mocks/PotMock2.sol
+++ /dev/null
@@ -1,22 +0,0 @@
-pragma solidity 0.4.24;
-
-contract GemLike {
- function transfer(address, uint256) external returns (bool);
- function transferFrom(address, address, uint256) external returns (bool);
-}
-
-/**
- * @title PotMock2
- * @dev This contract is used for e2e tests only
- */
-contract PotMock2 {
- // solhint-disable const-name-snakecase
- uint256 public constant dsr = 10**27; // the Dai Savings Rate
- uint256 public constant chi = 10**27; // the Rate Accumulator
- uint256 public constant rho = 10**27; // time of last drip
- // solhint-enable const-name-snakecase
-
- function drip() external returns (uint256) {
- return chi;
- }
-}
diff --git a/contracts/mocks/TokenReaderTest.sol b/contracts/mocks/TokenReaderTest.sol
deleted file mode 100644
index 0fa210290..000000000
--- a/contracts/mocks/TokenReaderTest.sol
+++ /dev/null
@@ -1,145 +0,0 @@
-/* solhint-disable */
-pragma solidity 0.4.24;
-
-import "../../contracts/libraries/TokenReader.sol";
-
-contract Token1 {
- function name() external view returns (string) {
- return "Token";
- }
-
- function symbol() external view returns (string) {
- return "TKN";
- }
-
- function decimals() external view returns (uint8) {
- return 18;
- }
-}
-
-contract Token2 {
- function NAME() external view returns (string) {
- return "Token";
- }
-
- function SYMBOL() external view returns (string) {
- return "TKN";
- }
-
- function DECIMALS() external view returns (uint8) {
- return 18;
- }
-}
-
-contract Token3 {
- function name() external view returns (bytes32) {
- return bytes32("Token");
- }
-
- function symbol() external view returns (bytes32) {
- return bytes32("TKN");
- }
-
- function decimals() external view returns (uint256) {
- return 9;
- }
-}
-
-contract Token4 {
- function NAME() external view returns (bytes32) {
- return bytes32("Token");
- }
-
- function SYMBOL() external view returns (bytes32) {
- return bytes32("TKN");
- }
-}
-
-contract Token5 {
- function name() external view returns (bytes32) {
- return bytes32("0123456789abcdef0123456789abcdef");
- }
-
- function SYMBOL() external view returns (bytes32) {
- return bytes32("0123456789abcdef0123456789abcdef");
- }
-}
-
-contract Token6 {
- function NAME() external view returns (string) {
- return "0123456789abcdef0123456789abcdefX";
- }
-
- function symbol() external view returns (string) {
- return "0123456789abcdef0123456789abcdefY";
- }
-}
-
-contract Token7 {
- function symbol() external view returns (string) {
- return "";
- }
-
- function decimals() external view returns (uint8) {
- return 0;
- }
-}
-
-contract TokenReaderTest {
- function test1() external {
- address token = new Token1();
-
- require(keccak256(TokenReader.readName(token)) == keccak256("Token"));
- require(keccak256(TokenReader.readSymbol(token)) == keccak256("TKN"));
- require(TokenReader.readDecimals(token) == 18);
- }
-
- function test2() external {
- address token = new Token2();
-
- require(keccak256(TokenReader.readName(token)) == keccak256("Token"));
- require(keccak256(TokenReader.readSymbol(token)) == keccak256("TKN"));
- require(TokenReader.readDecimals(token) == 18);
- }
-
- function test3() external {
- address token = new Token3();
-
- require(keccak256(TokenReader.readName(token)) == keccak256("Token"));
- require(keccak256(TokenReader.readSymbol(token)) == keccak256("TKN"));
- require(TokenReader.readDecimals(token) == 9);
- }
-
- function test4() external {
- address token = new Token4();
-
- require(keccak256(TokenReader.readName(token)) == keccak256("Token"));
- require(keccak256(TokenReader.readSymbol(token)) == keccak256("TKN"));
- require(TokenReader.readDecimals(token) == 0);
- }
-
- function test5() external {
- address token = new Token5();
-
- require(keccak256(TokenReader.readName(token)) == keccak256("0123456789abcdef0123456789abcdef"));
- require(keccak256(TokenReader.readSymbol(token)) == keccak256("0123456789abcdef0123456789abcdef"));
- require(TokenReader.readDecimals(token) == 0);
- }
-
- function test6() external {
- address token = new Token6();
-
- require(keccak256(TokenReader.readName(token)) == keccak256("0123456789abcdef0123456789abcdefX"));
- require(keccak256(TokenReader.readSymbol(token)) == keccak256("0123456789abcdef0123456789abcdefY"));
- require(TokenReader.readDecimals(token) == 0);
- }
-
- function test7() external {
- address token = new Token7();
-
- require(keccak256(TokenReader.readName(token)) == keccak256(""));
- require(keccak256(TokenReader.readSymbol(token)) == keccak256(""));
- require(TokenReader.readDecimals(token) == 0);
- }
-}
-/* solhint-enable */
diff --git a/contracts/mocks/VatMock.sol b/contracts/mocks/VatMock.sol
deleted file mode 100644
index 0af15fbd7..000000000
--- a/contracts/mocks/VatMock.sol
+++ /dev/null
@@ -1,283 +0,0 @@
-/// vat.sol -- Dai CDP database
-
-// Copyright (C) 2018 Rain
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see .
-
-/* solhint-disable */
-pragma solidity 0.4.24;
-
-contract VatMock {
- // --- Auth ---
- mapping(address => uint256) public wards;
- function rely(address usr) external note auth {
- require(live == 1, "Vat/not-live");
- wards[usr] = 1;
- }
- function deny(address usr) external note auth {
- require(live == 1, "Vat/not-live");
- wards[usr] = 0;
- }
- modifier auth {
- require(wards[msg.sender] == 1, "Vat/not-authorized");
- _;
- }
-
- mapping(address => mapping(address => uint256)) public can;
- function hope(address usr) external note {
- can[msg.sender][usr] = 1;
- }
- function nope(address usr) external note {
- can[msg.sender][usr] = 0;
- }
- function wish(address bit, address usr) internal view returns (bool) {
- return either(bit == usr, can[bit][usr] == 1);
- }
-
- // --- Data ---
- struct Ilk {
- uint256 Art; // Total Normalised Debt [wad]
- uint256 rate; // Accumulated Rates [ray]
- uint256 spot; // Price with Safety Margin [ray]
- uint256 line; // Debt Ceiling [rad]
- uint256 dust; // Urn Debt Floor [rad]
- }
- struct Urn {
- uint256 ink; // Locked Collateral [wad]
- uint256 art; // Normalised Debt [wad]
- }
-
- mapping(bytes32 => Ilk) public ilks;
- mapping(bytes32 => mapping(address => Urn)) public urns;
- mapping(bytes32 => mapping(address => uint256)) public gem; // [wad]
- mapping(address => uint256) public dai; // [rad]
- mapping(address => uint256) public sin; // [rad]
-
- uint256 public debt; // Total Dai Issued [rad]
- uint256 public vice; // Total Unbacked Dai [rad]
- uint256 public Line; // Total Debt Ceiling [rad]
- uint256 public live; // Access Flag
-
- // --- Logs ---
- event LogNote(bytes4 indexed sig, bytes32 indexed arg1, bytes32 indexed arg2, bytes32 indexed arg3, bytes data) anonymous;
-
- modifier note {
- _;
- assembly {
- // log an 'anonymous' event with a constant 6 words of calldata
- // and four indexed topics: the selector and the first three args
- let mark := msize // end of memory ensures zero
- mstore(0x40, add(mark, 288)) // update free memory pointer
- mstore(mark, 0x20) // bytes type data offset
- mstore(add(mark, 0x20), 224) // bytes size (padded)
- calldatacopy(add(mark, 0x40), 0, 224) // bytes payload
- log4(
- mark,
- 288, // calldata
- shl(224, shr(224, calldataload(0))), // msg.sig
- calldataload(4), // arg1
- calldataload(36), // arg2
- calldataload(68) // arg3
- )
- }
- }
-
- // --- Init ---
- constructor() public {
- wards[msg.sender] = 1;
- live = 1;
- }
-
- function setDai(address a, uint256 v) external {
- dai[a] = v;
- }
-
- // --- Math ---
- function add(uint256 x, int256 y) internal pure returns (uint256 z) {
- z = x + uint256(y);
- require(y >= 0 || z <= x);
- require(y <= 0 || z >= x);
- }
- function sub(uint256 x, int256 y) internal pure returns (uint256 z) {
- z = x - uint256(y);
- require(y <= 0 || z <= x);
- require(y >= 0 || z >= x);
- }
- function mul(uint256 x, int256 y) internal pure returns (int256 z) {
- z = int256(x) * y;
- require(int256(x) >= 0);
- require(y == 0 || z / y == int256(x));
- }
- function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
- require((z = x + y) >= x);
- }
- function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
- require((z = x - y) <= x);
- }
- function mul(uint256 x, uint256 y) internal pure returns (uint256 z) {
- require(y == 0 || (z = x * y) / y == x);
- }
-
- // --- Administration ---
- function init(bytes32 ilk) external note auth {
- require(ilks[ilk].rate == 0, "Vat/ilk-already-init");
- ilks[ilk].rate = 10**27;
- }
- function file(bytes32 what, uint256 data) external note auth {
- require(live == 1, "Vat/not-live");
- if (what == "Line") Line = data;
- else revert("Vat/file-unrecognized-param");
- }
- function file(bytes32 ilk, bytes32 what, uint256 data) external note auth {
- require(live == 1, "Vat/not-live");
- if (what == "spot") ilks[ilk].spot = data;
- else if (what == "line") ilks[ilk].line = data;
- else if (what == "dust") ilks[ilk].dust = data;
- else revert("Vat/file-unrecognized-param");
- }
- function cage() external note auth {
- live = 0;
- }
-
- // --- Fungibility ---
- function slip(bytes32 ilk, address usr, int256 wad) external note auth {
- gem[ilk][usr] = add(gem[ilk][usr], wad);
- }
- function flux(bytes32 ilk, address src, address dst, uint256 wad) external note {
- require(wish(src, msg.sender), "Vat/not-allowed");
- gem[ilk][src] = sub(gem[ilk][src], wad);
- gem[ilk][dst] = add(gem[ilk][dst], wad);
- }
- function move(address src, address dst, uint256 rad) external note {
- require(wish(src, msg.sender), "Vat/not-allowed");
- dai[src] = sub(dai[src], rad);
- dai[dst] = add(dai[dst], rad);
- }
-
- function either(bool x, bool y) internal pure returns (bool z) {
- assembly {
- z := or(x, y)
- }
- }
- function both(bool x, bool y) internal pure returns (bool z) {
- assembly {
- z := and(x, y)
- }
- }
-
- // --- CDP Manipulation ---
- function frob(bytes32 i, address u, address v, address w, int256 dink, int256 dart) external note {
- // system is live
- require(live == 1, "Vat/not-live");
-
- Urn memory urn = urns[i][u];
- Ilk memory ilk = ilks[i];
- // ilk has been initialised
- require(ilk.rate != 0, "Vat/ilk-not-init");
-
- urn.ink = add(urn.ink, dink);
- urn.art = add(urn.art, dart);
- ilk.Art = add(ilk.Art, dart);
-
- int256 dtab = mul(ilk.rate, dart);
- uint256 tab = mul(ilk.rate, urn.art);
- debt = add(debt, dtab);
-
- // either debt has decreased, or debt ceilings are not exceeded
- require(either(dart <= 0, both(mul(ilk.Art, ilk.rate) <= ilk.line, debt <= Line)), "Vat/ceiling-exceeded");
- // urn is either less risky than before, or it is safe
- require(either(both(dart <= 0, dink >= 0), tab <= mul(urn.ink, ilk.spot)), "Vat/not-safe");
-
- // urn is either more safe, or the owner consents
- require(either(both(dart <= 0, dink >= 0), wish(u, msg.sender)), "Vat/not-allowed-u");
- // collateral src consents
- require(either(dink <= 0, wish(v, msg.sender)), "Vat/not-allowed-v");
- // debt dst consents
- require(either(dart >= 0, wish(w, msg.sender)), "Vat/not-allowed-w");
-
- // urn has no debt, or a non-dusty amount
- require(either(urn.art == 0, tab >= ilk.dust), "Vat/dust");
-
- gem[i][v] = sub(gem[i][v], dink);
- dai[w] = add(dai[w], dtab);
-
- urns[i][u] = urn;
- ilks[i] = ilk;
- }
- // --- CDP Fungibility ---
- function fork(bytes32 ilk, address src, address dst, int256 dink, int256 dart) external note {
- Urn storage u = urns[ilk][src];
- Urn storage v = urns[ilk][dst];
- Ilk storage i = ilks[ilk];
-
- u.ink = sub(u.ink, dink);
- u.art = sub(u.art, dart);
- v.ink = add(v.ink, dink);
- v.art = add(v.art, dart);
-
- uint256 utab = mul(u.art, i.rate);
- uint256 vtab = mul(v.art, i.rate);
-
- // both sides consent
- require(both(wish(src, msg.sender), wish(dst, msg.sender)), "Vat/not-allowed");
-
- // both sides safe
- require(utab <= mul(u.ink, i.spot), "Vat/not-safe-src");
- require(vtab <= mul(v.ink, i.spot), "Vat/not-safe-dst");
-
- // both sides non-dusty
- require(either(utab >= i.dust, u.art == 0), "Vat/dust-src");
- require(either(vtab >= i.dust, v.art == 0), "Vat/dust-dst");
- }
- // --- CDP Confiscation ---
- function grab(bytes32 i, address u, address v, address w, int256 dink, int256 dart) external note auth {
- Urn storage urn = urns[i][u];
- Ilk storage ilk = ilks[i];
-
- urn.ink = add(urn.ink, dink);
- urn.art = add(urn.art, dart);
- ilk.Art = add(ilk.Art, dart);
-
- int256 dtab = mul(ilk.rate, dart);
-
- gem[i][v] = sub(gem[i][v], dink);
- sin[w] = sub(sin[w], dtab);
- vice = sub(vice, dtab);
- }
-
- // --- Settlement ---
- function heal(uint256 rad) external note {
- address u = msg.sender;
- sin[u] = sub(sin[u], rad);
- dai[u] = sub(dai[u], rad);
- vice = sub(vice, rad);
- debt = sub(debt, rad);
- }
- function suck(address u, address v, uint256 rad) external note auth {
- sin[u] = add(sin[u], rad);
- dai[v] = add(dai[v], rad);
- vice = add(vice, rad);
- debt = add(debt, rad);
- }
-
- // --- Rates ---
- function fold(bytes32 i, address u, int256 rate) external note auth {
- require(live == 1, "Vat/not-live");
- Ilk storage ilk = ilks[i];
- ilk.rate = add(ilk.rate, rate);
- int256 rad = mul(ilk.Art, rate);
- dai[u] = add(dai[u], rad);
- debt = add(debt, rad);
- }
-}
diff --git a/contracts/upgradeable_contracts/BaseMediatorFeeManager.sol b/contracts/upgradeable_contracts/BaseMediatorFeeManager.sol
deleted file mode 100644
index f15b4f00d..000000000
--- a/contracts/upgradeable_contracts/BaseMediatorFeeManager.sol
+++ /dev/null
@@ -1,193 +0,0 @@
-pragma solidity 0.4.24;
-
-import "openzeppelin-solidity/contracts/ownership/Ownable.sol";
-import "openzeppelin-solidity/contracts/math/SafeMath.sol";
-import "openzeppelin-solidity/contracts/AddressUtils.sol";
-
-/**
-* @title BaseMediatorFeeManager
-* @dev Base fee manager to handle fees for AMB mediators.
-*/
-contract BaseMediatorFeeManager is Ownable {
- using SafeMath for uint256;
-
- event FeeUpdated(uint256 fee);
-
- // This is not a real fee value but a relative value used to calculate the fee percentage.
- // 1 ether = 100% of the value.
- uint256 internal constant MAX_FEE = 1 ether;
- uint256 internal constant MAX_REWARD_ACCOUNTS = 50;
-
- uint256 public fee;
- address[] internal rewardAccounts;
- address internal mediatorContract;
-
- modifier validFee(uint256 _fee) {
- require(_fee < MAX_FEE);
- /* solcov ignore next */
- _;
- }
-
- /**
- * @dev Stores the initial parameters of the fee manager.
- * @param _owner address of the owner of the fee manager contract.
- * @param _fee the fee percentage amount.
- * @param _rewardAccountList list of unique addresses that will receive the fee rewards.
- * @param _mediatorContract address of the mediator contract used together with this fee manager.
- */
- constructor(address _owner, uint256 _fee, address[] _rewardAccountList, address _mediatorContract) public {
- require(AddressUtils.isContract(_mediatorContract));
- require(_rewardAccountList.length > 0 && _rewardAccountList.length <= MAX_REWARD_ACCOUNTS);
- _transferOwnership(_owner);
- _setFee(_fee);
- mediatorContract = _mediatorContract;
-
- for (uint256 i = 0; i < _rewardAccountList.length; i++) {
- require(isValidAccount(_rewardAccountList[i]));
- }
- rewardAccounts = _rewardAccountList;
- }
-
- /**
- * @dev Calculates the fee amount to be subtracted from the value.
- * @param _value the base value from which fees are calculated
- */
- function calculateFee(uint256 _value) external view returns (uint256) {
- return _value.mul(fee).div(MAX_FEE);
- }
-
- /**
- * @dev Stores the fee percentage amount for the mediator operations.
- * @param _fee the fee percentage
- */
- function _setFee(uint256 _fee) internal validFee(_fee) {
- fee = _fee;
- emit FeeUpdated(_fee);
- }
-
- /**
- * @dev Sets the fee percentage amount for the mediator operations. Only the owner can call this method.
- * @param _fee the fee percentage
- */
- function setFee(uint256 _fee) external onlyOwner {
- _setFee(_fee);
- }
-
- function isValidAccount(address _account) internal returns (bool) {
- return _account != address(0) && _account != mediatorContract;
- }
-
- /**
- * @dev Adds a new account to the list of accounts to receive rewards for the operations.
- * Only the owner can call this method.
- * @param _account new reward account
- */
- function addRewardAccount(address _account) external onlyOwner {
- require(isValidAccount(_account));
- require(!isRewardAccount(_account));
- require(rewardAccounts.length < MAX_REWARD_ACCOUNTS);
- rewardAccounts.push(_account);
- }
-
- /**
- * @dev Removes an account from the list of accounts to receive rewards for the operations.
- * Only the owner can call this method.
- * finds the element, swaps it with the last element, and then deletes it;
- * @param _account to be removed
- * return boolean whether the element was found and deleted
- */
- function removeRewardAccount(address _account) external onlyOwner returns (bool) {
- uint256 numOfAccounts = rewardAccountsCount();
- for (uint256 i = 0; i < numOfAccounts; i++) {
- if (rewardAccounts[i] == _account) {
- rewardAccounts[i] = rewardAccounts[numOfAccounts - 1];
- delete rewardAccounts[numOfAccounts - 1];
- rewardAccounts.length--;
- return true;
- }
- }
- // If account is not found and removed, the transactions is reverted
- revert();
- }
-
- /**
- * @dev Tells the amount of accounts in the list of reward accounts.
- * @return amount of accounts.
- */
- function rewardAccountsCount() public view returns (uint256) {
- return rewardAccounts.length;
- }
-
- /**
- * @dev Tells if the account is part of the list of reward accounts.
- * @param _account to check if is part of the list.
- * @return true if the account is in the list
- */
- function isRewardAccount(address _account) internal view returns (bool) {
- for (uint256 i = 0; i < rewardAccountsCount(); i++) {
- if (rewardAccounts[i] == _account) {
- return true;
- }
- }
- return false;
- }
-
- /**
- * @dev Tells the list of accounts that receives rewards for the operations.
- * @return the list of reward accounts
- */
- function rewardAccountsList() public view returns (address[]) {
- return rewardAccounts;
- }
-
- /**
- * @dev ERC677 transfer callback function, received fee is distributed.
- * @param _value amount of transferred tokens
- */
- function onTokenTransfer(address, uint256 _value, bytes) external returns (bool) {
- distributeFee(_value);
- return true;
- }
-
- /**
- * @dev Distributes the provided amount of fees proportionally to the list of reward accounts.
- * In case the fees cannot be equally distributed, the remaining difference will be distributed to an account
- * in a semi-random way.
- * @param _fee total amount to be distributed to the list of reward accounts.
- */
- function distributeFee(uint256 _fee) internal {
- uint256 numOfAccounts = rewardAccountsCount();
- if (numOfAccounts == 0) {
- // In case there are no reward accounts defined, no actual fee distribution will happen.
- // Funds will be kept locked on the contract until some of the reward accounts will be added.
- // After it, locked funds ca be distributed by a call to onTokenTransfer() of this contract, which can be done by anyone.
- return;
- }
- uint256 feePerAccount = _fee.div(numOfAccounts);
- uint256 randomAccountIndex;
- uint256 diff = _fee.sub(feePerAccount.mul(numOfAccounts));
- if (diff > 0) {
- randomAccountIndex = random(numOfAccounts);
- }
-
- for (uint256 i = 0; i < numOfAccounts; i++) {
- uint256 feeToDistribute = feePerAccount;
- if (diff > 0 && randomAccountIndex == i) {
- feeToDistribute = feeToDistribute.add(diff);
- }
- onFeeDistribution(rewardAccounts[i], feeToDistribute);
- }
- }
-
- /**
- * @dev Calculates a random number based on the block number.
- * @param _count the max value for the random number.
- * @return a number between 0 and _count.
- */
- function random(uint256 _count) internal view returns (uint256) {
- return uint256(blockhash(block.number.sub(1))) % _count;
- }
-
- /* solcov ignore next */
- function onFeeDistribution(address _rewardAddress, uint256 _fee) internal;
-}
diff --git a/contracts/upgradeable_contracts/BaseRewardAddressList.sol b/contracts/upgradeable_contracts/BaseRewardAddressList.sol
deleted file mode 100644
index 102607bf7..000000000
--- a/contracts/upgradeable_contracts/BaseRewardAddressList.sol
+++ /dev/null
@@ -1,147 +0,0 @@
-pragma solidity 0.4.24;
-
-import "openzeppelin-solidity/contracts/math/SafeMath.sol";
-import "../upgradeability/EternalStorage.sol";
-
-/**
-* @title BaseRewardAddressList
-* @dev Implements the logic to store, add and remove reward account addresses. Works as a linked list.
-*/
-contract BaseRewardAddressList is EternalStorage {
- using SafeMath for uint256;
-
- address public constant F_ADDR = 0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF;
- uint256 internal constant MAX_REWARD_ADDRESSES = 50;
- bytes32 internal constant REWARD_ADDRESS_COUNT = 0xabc77c82721ced73eef2645facebe8c30249e6ac372cce6eb9d1fed31bd6648f; // keccak256(abi.encodePacked("rewardAddressCount"))
-
- event RewardAddressAdded(address indexed addr);
- event RewardAddressRemoved(address indexed addr);
-
- /**
- * @dev Retrieves all registered reward accounts.
- * @return address list of the registered reward receivers.
- */
- function rewardAddressList() external view returns (address[]) {
- address[] memory list = new address[](rewardAddressCount());
- uint256 counter = 0;
- address nextAddr = getNextRewardAddress(F_ADDR);
-
- while (nextAddr != F_ADDR) {
- require(nextAddr != address(0));
-
- list[counter] = nextAddr;
- nextAddr = getNextRewardAddress(nextAddr);
- counter++;
- }
-
- return list;
- }
-
- /**
- * @dev Retrieves amount of registered reward accounts.
- * @return length of reward addresses list.
- */
- function rewardAddressCount() public view returns (uint256) {
- return uintStorage[REWARD_ADDRESS_COUNT];
- }
-
- /**
- * @dev Checks if specified address is included into the registered rewards receivers list.
- * @param _addr address to verify.
- * @return true, if specified address is associated with one of the registered reward accounts.
- */
- function isRewardAddress(address _addr) public view returns (bool) {
- return _addr != F_ADDR && getNextRewardAddress(_addr) != address(0);
- }
-
- /**
- * @dev Retrieves next reward address in the linked list, or F_ADDR if given address is the last one.
- * @param _address address of some reward account.
- * @return address of the next reward receiver.
- */
- function getNextRewardAddress(address _address) public view returns (address) {
- return addressStorage[keccak256(abi.encodePacked("rewardAddressList", _address))];
- }
-
- /**
- * @dev Internal function for adding a new reward address to the linked list.
- * @param _addr new reward account.
- */
- function _addRewardAddress(address _addr) internal {
- require(_addr != address(0) && _addr != F_ADDR);
- require(!isRewardAddress(_addr));
-
- address nextAddr = getNextRewardAddress(F_ADDR);
-
- require(nextAddr != address(0));
-
- _setNextRewardAddress(_addr, nextAddr);
- _setNextRewardAddress(F_ADDR, _addr);
- _setRewardAddressCount(rewardAddressCount().add(1));
- }
-
- /**
- * @dev Internal function for removing existing reward address from the linked list.
- * @param _addr old reward account which should be removed.
- */
- function _removeRewardAddress(address _addr) internal {
- require(isRewardAddress(_addr));
- address nextAddr = getNextRewardAddress(_addr);
- address index = F_ADDR;
- address next = getNextRewardAddress(index);
-
- while (next != _addr) {
- require(next != address(0));
- index = next;
- next = getNextRewardAddress(index);
- require(next != F_ADDR);
- }
-
- _setNextRewardAddress(index, nextAddr);
- delete addressStorage[keccak256(abi.encodePacked("rewardAddressList", _addr))];
- _setRewardAddressCount(rewardAddressCount().sub(1));
- }
-
- /**
- * @dev Internal function for initializing linked list with the array of the initial reward addresses.
- * @param _rewardAddresses initial reward addresses list, should be non-empty.
- */
- function _setRewardAddressList(address[] _rewardAddresses) internal {
- require(_rewardAddresses.length > 0);
-
- _setNextRewardAddress(F_ADDR, _rewardAddresses[0]);
-
- for (uint256 i = 0; i < _rewardAddresses.length; i++) {
- require(_rewardAddresses[i] != address(0) && _rewardAddresses[i] != F_ADDR);
- require(!isRewardAddress(_rewardAddresses[i]));
-
- if (i == _rewardAddresses.length - 1) {
- _setNextRewardAddress(_rewardAddresses[i], F_ADDR);
- } else {
- _setNextRewardAddress(_rewardAddresses[i], _rewardAddresses[i + 1]);
- }
-
- emit RewardAddressAdded(_rewardAddresses[i]);
- }
-
- _setRewardAddressCount(_rewardAddresses.length);
- }
-
- /**
- * @dev Internal function for updating the length of the reward accounts list.
- * @param _rewardAddressCount new linked list length.
- */
- function _setRewardAddressCount(uint256 _rewardAddressCount) internal {
- require(_rewardAddressCount <= MAX_REWARD_ADDRESSES);
- uintStorage[REWARD_ADDRESS_COUNT] = _rewardAddressCount;
- }
-
- /**
- * @dev Internal function for updating the pointer to the next reward receiver.
- * @param _prevAddr address of some reward receiver.
- * @param _addr address of the next receiver to which _prevAddr should point to.
- */
- function _setNextRewardAddress(address _prevAddr, address _addr) internal {
- addressStorage[keccak256(abi.encodePacked("rewardAddressList", _prevAddr))] = _addr;
- }
-}
diff --git a/contracts/upgradeable_contracts/BasicTokenBridge.sol b/contracts/upgradeable_contracts/BasicTokenBridge.sol
index bf8a2741a..f515d325f 100644
--- a/contracts/upgradeable_contracts/BasicTokenBridge.sol
+++ b/contracts/upgradeable_contracts/BasicTokenBridge.sol
@@ -56,7 +56,6 @@ contract BasicTokenBridge is EternalStorage, Ownable, DecimalShiftBridge {
}
function getCurrentDay() public view returns (uint256) {
- // solhint-disable-next-line not-rely-on-time
return now / 1 days;
}
diff --git a/contracts/upgradeable_contracts/ChaiConnector.sol b/contracts/upgradeable_contracts/ChaiConnector.sol
deleted file mode 100644
index 6139fc2a3..000000000
--- a/contracts/upgradeable_contracts/ChaiConnector.sol
+++ /dev/null
@@ -1,316 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../interfaces/IChai.sol";
-import "../interfaces/ERC677Receiver.sol";
-import "./Ownable.sol";
-import "./ERC20Bridge.sol";
-import "./TokenSwapper.sol";
-import "openzeppelin-solidity/contracts/math/SafeMath.sol";
-
-/**
-* @title ChaiConnector
-* @dev This logic allows to use Chai token (https://github.com/dapphub/chai)
-*/
-contract ChaiConnector is Ownable, ERC20Bridge, TokenSwapper {
- using SafeMath for uint256;
-
- // emitted when specified value of Chai tokens is transfered to interest receiver
- event PaidInterest(address to, uint256 value);
-
- bytes32 internal constant CHAI_TOKEN_ENABLED = 0x2ae87563606f93f71ad2adf4d62661ccdfb63f3f508f94700934d5877fb92278; // keccak256(abi.encodePacked("chaiTokenEnabled"))
- bytes32 internal constant INTEREST_RECEIVER = 0xd88509eb1a8da5d5a2fc7b9bad1c72874c9818c788e81d0bc46b29bfaa83adf6; // keccak256(abi.encodePacked("interestReceiver"))
- bytes32 internal constant INTEREST_COLLECTION_PERIOD = 0x68a6a652d193e5d6439c4309583048050a11a4cfb263a220f4cd798c61c3ad6e; // keccak256(abi.encodePacked("interestCollectionPeriod"))
- bytes32 internal constant LAST_TIME_INTEREST_PAID = 0xcabd46177a706f95f4bb3e2c2ba45ac4aa1eac9c545425a19c62ab6de4aeea26; // keccak256(abi.encodePacked("lastTimeInterestPaid"))
- bytes32 internal constant INVESTED_AMOUNT = 0xb6afb3323c9d7dc0e9dab5d34c3a1d1ae7739d2224c048d4ee7675d3c759dd1b; // keccak256(abi.encodePacked("investedAmount"))
- bytes32 internal constant MIN_DAI_TOKEN_BALANCE = 0xce70e1dac97909c26a87aa4ada3d490673a153b3a75b22ea3364c4c7df7c551f; // keccak256(abi.encodePacked("minDaiTokenBalance"))
- bytes4 internal constant ON_TOKEN_TRANSFER = 0xa4c0ed36; // onTokenTransfer(address,uint256,bytes)
-
- uint256 internal constant ONE = 10**27;
-
- /**
- * @dev Throws if chai token is not enabled
- */
- modifier chaiTokenEnabled {
- require(isChaiTokenEnabled());
- /* solcov ignore next */
- _;
- }
-
- /**
- * @dev Fixed point division
- * @return Ceiled value of x / y
- */
- function rdivup(uint256 x, uint256 y) internal pure returns (uint256) {
- return x.mul(ONE).add(y.sub(1)) / y;
- }
-
- /**
- * @return true, if chai token is enabled
- */
- function isChaiTokenEnabled() public view returns (bool) {
- return boolStorage[CHAI_TOKEN_ENABLED];
- }
-
- /**
- * @return Chai token contract address
- */
- function chaiToken() public view returns (IChai) {
- return IChai(0x06AF07097C9Eeb7fD685c692751D5C66dB49c215);
- }
-
- /**
- * @dev Initializes chai token
- */
- function initializeChaiToken() public onlyOwner {
- require(!isChaiTokenEnabled());
- require(address(chaiToken().daiToken()) == address(erc20token()));
- boolStorage[CHAI_TOKEN_ENABLED] = true;
- uintStorage[MIN_DAI_TOKEN_BALANCE] = 100 ether;
- uintStorage[INTEREST_COLLECTION_PERIOD] = 1 weeks;
- }
-
- /**
- * @dev Initializes chai token, with interestReceiver
- * @param _interestReceiver Receiver address
- */
- function initializeChaiToken(address _interestReceiver) external {
- require(_interestReceiver != address(0));
- // onlyOwner condition is checked inside this call, so it can be excluded from function definition
- initializeChaiToken();
- addressStorage[INTEREST_RECEIVER] = _interestReceiver;
- }
-
- /**
- * @dev Sets minimum DAI limit, needed for converting DAI into CHAI
- */
- function setMinDaiTokenBalance(uint256 _minBalance) external onlyOwner {
- uintStorage[MIN_DAI_TOKEN_BALANCE] = _minBalance;
- }
-
- /**
- * @dev Evaluates edge DAI token balance, which has an impact on the invest amounts
- * @return Value in DAI
- */
- function minDaiTokenBalance() public view returns (uint256) {
- return uintStorage[MIN_DAI_TOKEN_BALANCE];
- }
-
- /**
- * @dev Withdraws all invested tokens, pays remaining interest, removes chai token from contract storage
- */
- function removeChaiToken() external onlyOwner chaiTokenEnabled {
- _convertChaiToDai(investedAmountInDai());
- _payInterest();
- delete boolStorage[CHAI_TOKEN_ENABLED];
- }
-
- /**
- * @return Configured address of a receiver
- */
- function interestReceiver() public view returns (ERC677Receiver) {
- return ERC677Receiver(addressStorage[INTEREST_RECEIVER]);
- }
-
- /**
- * Updates interest receiver address
- * @param receiver New receiver address
- */
- function setInterestReceiver(address receiver) external onlyOwner {
- // the bridge account is not allowed to receive an interest by the following reason:
- // during the Chai to Dai convertion, the Dai is minted to the receiver account,
- // the Transfer(address(0), bridgeAddress, value) is emitted during this process,
- // something can go wrong in the oracle logic, so that it will process this event as a request to the bridge
- // Instead, the interest can be transfered to any other account, and then converted to Dai,
- // which won't be related to the oracle logic anymore
- require(receiver != address(this));
-
- addressStorage[INTEREST_RECEIVER] = receiver;
- }
-
- /**
- * @return Timestamp of last interest payment
- */
- function lastInterestPayment() public view returns (uint256) {
- return uintStorage[LAST_TIME_INTEREST_PAID];
- }
-
- /**
- * @return Configured minimum interest collection period
- */
- function interestCollectionPeriod() public view returns (uint256) {
- return uintStorage[INTEREST_COLLECTION_PERIOD];
- }
-
- /**
- * @dev Configures minimum interest collection period
- * @param period collection period
- */
- function setInterestCollectionPeriod(uint256 period) external onlyOwner {
- uintStorage[INTEREST_COLLECTION_PERIOD] = period;
- }
-
- /**
- * @dev Pays all available interest, in Dai tokens.
- * Upgradeability owner can call this method without time restrictions,
- * for others, the method can be called only once a specified period.
- */
- function payInterest() external chaiTokenEnabled {
- if (
- // solhint-disable-next-line not-rely-on-time
- lastInterestPayment() + interestCollectionPeriod() < now ||
- IUpgradeabilityOwnerStorage(this).upgradeabilityOwner() == msg.sender
- ) {
- _payInterest();
- }
- }
-
- /**
- * @dev Internal function for paying all available interest, in Dai tokens
- */
- function _payInterest() internal {
- address receiver = address(interestReceiver());
- require(receiver != address(0));
-
- // since investedAmountInChai() returns a ceiled value,
- // the value of chaiBalance() - investedAmountInChai() will be floored,
- // leading to excess remaining chai balance
-
- // solhint-disable-next-line not-rely-on-time
- uintStorage[LAST_TIME_INTEREST_PAID] = now;
-
- uint256 interest = chaiBalance().sub(investedAmountInChai());
- // interest is paid in Chai, paying interest directly in Dai can cause an unwanter Transfer event
- // see a comment in setInterestReceiver describing why we cannot pay interest to the bridge directly
- chaiToken().transfer(receiver, interest);
-
- receiver.call(abi.encodeWithSelector(ON_TOKEN_TRANSFER, address(this), interest, ""));
-
- // Additional constant to tolerate the DAI balance deposited to the Chai token is not needed here, since we allow to withdraw only extra part of chai balance,
- // which is not necessary to cover 100% dai balance.
- // It is guaranteed that the withdrawal of interest won't left the bridge balance uncovered.
- require(dsrBalance() >= investedAmountInDai());
-
- emit PaidInterest(receiver, interest);
- }
-
- /**
- * @dev Evaluates bridge balance for tokens, holded in DSR
- * @return Balance in dai, truncated
- */
- function dsrBalance() public view returns (uint256) {
- return chaiToken().dai(address(this));
- }
-
- /**
- * @dev Evaluates bridge balance in Chai tokens
- * @return Balance in chai, exact
- */
- function chaiBalance() public view returns (uint256) {
- return chaiToken().balanceOf(address(this));
- }
-
- /**
- * @dev Evaluates bridge balance in Dai tokens
- * @return Balance in Dai
- */
- function daiBalance() internal view returns (uint256) {
- return erc20token().balanceOf(address(this));
- }
-
- /**
- * @dev Evaluates exact current invested amount, in DAI
- * @return Value in DAI
- */
- function investedAmountInDai() public view returns (uint256) {
- return uintStorage[INVESTED_AMOUNT];
- }
-
- /**
- * @dev Updates current invested amount, in DAI
- * @return Value in DAI
- */
- function setInvestedAmountInDai(uint256 amount) internal {
- uintStorage[INVESTED_AMOUNT] = amount;
- }
-
- /**
- * @dev Evaluates amount of chai tokens that is sufficent to cover 100% of the invested DAI
- * @return Amount in chai, ceiled
- */
- function investedAmountInChai() internal returns (uint256) {
- IPot pot = chaiToken().pot();
- // solhint-disable-next-line not-rely-on-time
- uint256 chi = (now > pot.rho()) ? pot.drip() : pot.chi();
- return rdivup(investedAmountInDai(), chi);
- }
-
- /**
- * @dev Checks if DAI balance is high enough to be partially converted to Chai
- * Twice limit is used in order to decrease frequency of convertDaiToChai calls,
- * In case of high bridge utilization in DAI => xDAI direction,
- * convertDaiToChai() will be called as soon as DAI balance reaches 2 * limit,
- * limit DAI will be left as a buffer for future operations.
- * @return true if convertDaiToChai() call is needed to be performed by the oracle
- */
- function isDaiNeedsToBeInvested() public view returns (bool) {
- // chai token needs to be initialized, DAI balance should be at least twice greater than minDaiTokenBalance
- return isChaiTokenEnabled() && daiBalance() > 2 * minDaiTokenBalance();
- }
-
- /**
- * @dev Converts all DAI into Chai tokens, keeping minDaiTokenBalance() DAI as a buffer
- */
- function convertDaiToChai() public chaiTokenEnabled {
- // there is not need to consider overflow when performing a + operation,
- // since both values are controlled by the bridge and can't take extremely high values
- uint256 amount = daiBalance().sub(minDaiTokenBalance());
-
- require(amount > 0); // revert and save gas if there is nothing to convert
-
- uint256 newInvestedAmountInDai = investedAmountInDai() + amount;
- setInvestedAmountInDai(newInvestedAmountInDai);
- erc20token().approve(chaiToken(), amount);
- chaiToken().join(address(this), amount);
-
- // When evaluating the amount of DAI kept in Chai using dsrBalance(), there are some fixed point truncations.
- // The dependency between invested amount of DAI - value and returned value of dsrBalance() - res is the following:
- // res = floor(floor(value / K) * K)), where K is the fixed-point coefficient
- // from MakerDAO Pot contract (K = pot.chi() / 10**27).
- // This can lead up to losses of ceil(K) DAI in this balance evaluation.
- // The constant is needed here for making sure that everything works fine, and this error is small enough
- // The 10000 constant is considered to be small enough when decimals = 18, however,
- // it is not recommended to use it for smaller values of decimals, since it won't be negligible anymore
- require(dsrBalance() + 10000 >= newInvestedAmountInDai);
-
- emit TokensSwapped(erc20token(), chaiToken(), amount);
- }
-
- /**
- * @dev Redeems DAI from Chai, the total redeemed amount will be at least equal to specified amount
- * @param amount Amount of DAI to redeem
- */
- function _convertChaiToDai(uint256 amount) internal {
- if (amount == 0) return;
-
- uint256 invested = investedAmountInDai();
- uint256 initialDaiBalance = daiBalance();
-
- // onExecuteMessage can call a convert operation with argument greater than the current invested amount,
- // in this case bridge should withdraw all invested funds
- uint256 withdrawal = amount >= invested ? invested : amount;
-
- chaiToken().draw(address(this), withdrawal);
- uint256 redeemed = daiBalance() - initialDaiBalance;
-
- // Make sure that at least withdrawal amount was withdrawn
- require(redeemed >= withdrawal);
-
- uint256 newInvested = invested > redeemed ? invested - redeemed : 0;
- setInvestedAmountInDai(newInvested);
-
- // see comment in convertDaiToChai() for similar statement
- require(dsrBalance() + 10000 >= newInvested);
-
- emit TokensSwapped(chaiToken(), erc20token(), redeemed);
- }
-}
diff --git a/contracts/upgradeable_contracts/ERC677Bridge.sol b/contracts/upgradeable_contracts/ERC677Bridge.sol
deleted file mode 100644
index 0004d308c..000000000
--- a/contracts/upgradeable_contracts/ERC677Bridge.sol
+++ /dev/null
@@ -1,22 +0,0 @@
-pragma solidity 0.4.24;
-
-import "./BaseERC677Bridge.sol";
-import "./OtherSideBridgeStorage.sol";
-
-contract ERC677Bridge is BaseERC677Bridge, OtherSideBridgeStorage {
- function erc677token() public view returns (ERC677) {
- return _erc677token();
- }
-
- function bridgeSpecificActionsOnTokenTransfer(
- ERC677, /*_token*/
- address _from,
- uint256 _value,
- bytes _data
- ) internal {
- fireEventOnTokenTransfer(chooseReceiver(_from, _data), _value);
- }
-
- /* solcov ignore next */
- function fireEventOnTokenTransfer(address _from, uint256 _value) internal;
-}
diff --git a/contracts/upgradeable_contracts/ERC677BridgeForBurnableMintableToken.sol b/contracts/upgradeable_contracts/ERC677BridgeForBurnableMintableToken.sol
deleted file mode 100644
index 1fc486ad5..000000000
--- a/contracts/upgradeable_contracts/ERC677BridgeForBurnableMintableToken.sol
+++ /dev/null
@@ -1,11 +0,0 @@
-pragma solidity 0.4.24;
-
-import "./ERC677Bridge.sol";
-import "../interfaces/IBurnableMintableERC677Token.sol";
-
-contract ERC677BridgeForBurnableMintableToken is ERC677Bridge {
- function bridgeSpecificActionsOnTokenTransfer(ERC677 _token, address _from, uint256 _value, bytes _data) internal {
- IBurnableMintableERC677Token(_token).burn(_value);
- fireEventOnTokenTransfer(chooseReceiver(_from, _data), _value);
- }
-}
diff --git a/contracts/upgradeable_contracts/InterestReceiver.sol b/contracts/upgradeable_contracts/InterestReceiver.sol
deleted file mode 100644
index c881447d2..000000000
--- a/contracts/upgradeable_contracts/InterestReceiver.sol
+++ /dev/null
@@ -1,111 +0,0 @@
-pragma solidity 0.4.24;
-
-import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";
-import "openzeppelin-solidity/contracts/ownership/Ownable.sol";
-import "openzeppelin-solidity/contracts/AddressUtils.sol";
-import "../interfaces/IChai.sol";
-import "../interfaces/ERC677Receiver.sol";
-import "./Claimable.sol";
-import "./TokenSwapper.sol";
-
-/**
-* @title InterestReceiver
-* @dev Сontract for receiving Chai interest and immediatly converting it into Dai.
-* Contract also will try to automaticaly relay tokens to configured xDai receiver
-*/
-contract InterestReceiver is ERC677Receiver, Ownable, Claimable, TokenSwapper {
- bytes4 internal constant RELAY_TOKENS = 0x01e4f53a; // relayTokens(address,uint256)
-
- address public bridgeContract;
- address public receiverInXDai;
-
- event RelayTokensFailed(address receiver, uint256 amount);
-
- /**
- * @dev Initializes interest receiver, sets an owner of a contract
- * @param _owner address of owner account, only owner can withdraw Dai tokens from contract
- * @param _bridgeContract address of the bridge contract in the foreign chain
- * @param _receiverInXDai address of the receiver account, in the xDai chain
- */
- constructor(address _owner, address _bridgeContract, address _receiverInXDai) public {
- require(AddressUtils.isContract(_bridgeContract));
- require(_receiverInXDai != address(0));
- _transferOwnership(_owner);
- bridgeContract = _bridgeContract;
- receiverInXDai = _receiverInXDai;
- }
-
- /**
- * @dev Updates bridge contract from which interest is expected to come from,
- * the incoming tokens will be relayed through this bridge also
- * @param _bridgeContract address of new contract in the foreign chain
- */
- function setBridgeContract(address _bridgeContract) external onlyOwner {
- require(AddressUtils.isContract(_bridgeContract));
- bridgeContract = _bridgeContract;
- }
-
- /**
- * @dev Updates receiver address in the xDai chain
- * @param _receiverInXDai address of new receiver account in the xDai chain
- */
- function setReceiverInXDai(address _receiverInXDai) external onlyOwner {
- require(_receiverInXDai != address(0));
- receiverInXDai = _receiverInXDai;
- }
-
- /**
- * @return Chai token contract address
- */
- function chaiToken() public view returns (IChai) {
- return IChai(0x06AF07097C9Eeb7fD685c692751D5C66dB49c215);
- }
-
- /**
- * @return Dai token contract address
- */
- function daiToken() public view returns (ERC20) {
- return ERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);
- }
-
- /**
- * @dev ERC677 transfer callback function, received interest is converted from Chai token into Dai
- * and then relayed via bridge to xDai receiver
- */
- function onTokenTransfer(address, uint256, bytes) external returns (bool) {
- uint256 chaiBalance = chaiToken().balanceOf(address(this));
- uint256 initialDaiBalance = daiToken().balanceOf(address(this));
- uint256 finalDaiBalance = initialDaiBalance;
-
- if (chaiBalance > 0) {
- chaiToken().exit(address(this), chaiBalance);
-
- finalDaiBalance = daiToken().balanceOf(address(this));
- // Dai balance cannot decrease here, so SafeMath is not needed
- uint256 redeemed = finalDaiBalance - initialDaiBalance;
-
- emit TokensSwapped(chaiToken(), daiToken(), redeemed);
-
- // chi is always >= 10**27, so chai/dai rate is always >= 1
- require(redeemed >= chaiBalance);
- }
-
- daiToken().approve(address(bridgeContract), finalDaiBalance);
- if (!bridgeContract.call(abi.encodeWithSelector(RELAY_TOKENS, receiverInXDai, finalDaiBalance))) {
- daiToken().approve(address(bridgeContract), 0);
- emit RelayTokensFailed(receiverInXDai, finalDaiBalance);
- }
- return true;
- }
-
- /**
- * @dev Claims tokens from receiver account
- * @param _token address of claimed token, address(0) for native
- * @param _to address of tokens receiver
- */
- function claimTokens(address _token, address _to) external onlyOwner {
- // Only tokens other than CHAI/DAI can be claimed from this contract.
- require(_token != address(chaiToken()) && _token != address(daiToken()));
- claimValues(_token, _to);
- }
-}
diff --git a/contracts/upgradeable_contracts/InterestReceiverBase.sol b/contracts/upgradeable_contracts/InterestReceiverBase.sol
new file mode 100644
index 000000000..121bfe85f
--- /dev/null
+++ b/contracts/upgradeable_contracts/InterestReceiverBase.sol
@@ -0,0 +1,47 @@
+pragma solidity 0.4.24;
+
+import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";
+import "openzeppelin-solidity/contracts/ownership/Ownable.sol";
+import "../interfaces/IInterestReceiver.sol";
+import "../interfaces/IUniswapRouterV2.sol";
+import "./Claimable.sol";
+
+/**
+ * @title InterestReceiverBase
+ * @dev Base abstract contract for common functionality of interest receivers in erc-to-native bridge.
+ * Contracts inherited from the contract can receive DAI and COMP tokens.
+ */
+contract InterestReceiverBase is IInterestReceiver, Ownable, Claimable {
+ ERC20 public constant daiToken = ERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);
+ ERC20 public constant compToken = ERC20(0xc00e94Cb662C3520282E6f5717214004A7f26888);
+ ERC20 public constant wethToken = ERC20(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);
+ IUniswapRouterV2 public constant uniswapRouterV2 = IUniswapRouterV2(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
+
+ uint256 public minReceivedFraction = 0;
+
+ constructor() public {
+ daiToken.approve(address(uniswapRouterV2), uint256(-1));
+ compToken.approve(address(uniswapRouterV2), uint256(-1));
+ }
+
+ /**
+ * @dev Updates the slippage parameter for the Uniswap operations.
+ * Only owner can call this method.
+ * @param _minFraction minimum percentage allowed to be received w.r.t. 1 ether (0.9 ether = 90%),
+ * slippage = 1 ether - minReceivedFraction.
+ */
+ function setMinFractionReceived(uint256 _minFraction) external onlyOwner {
+ require(_minFraction < 1 ether);
+ minReceivedFraction = _minFraction;
+ }
+
+ /**
+ * @dev Allows to transfer any locked token from this contract.
+ * Only owner can call this method.
+ * @param _token address of the token, if it is not provided (0x00..00), native coins will be transferred.
+ * @param _to address that will receive the locked tokens on this contract.
+ */
+ function claimTokens(address _token, address _to) external onlyOwner {
+ claimValues(_token, _to);
+ }
+}
diff --git a/contracts/upgradeable_contracts/InterestReceiverStakeBuyback.sol b/contracts/upgradeable_contracts/InterestReceiverStakeBuyback.sol
new file mode 100644
index 000000000..ff978923e
--- /dev/null
+++ b/contracts/upgradeable_contracts/InterestReceiverStakeBuyback.sol
@@ -0,0 +1,39 @@
+pragma solidity 0.4.24;
+
+import "./InterestReceiverBase.sol";
+
+/**
+ * @title InterestReceiverStakeBuyback
+ * @dev This contract is intended to be used together with InterestConnector module of the erc-to-native bridge.
+ * Contract receives DAI and COMP tokens. All received tokens are swapped to STAKE token and burnt.
+ */
+contract InterestReceiverStakeBuyback is InterestReceiverBase {
+ ERC20 public constant stakeToken = ERC20(0x0Ae055097C6d159879521C384F1D2123D1f195e6);
+
+ address public constant burnAddress = 0x000000000000000000000000000000000000dEaD;
+
+ /**
+ * @dev Callback function for notifying this contract about received interest.
+ * @param _token address of the token contract. Should be COMP or DAI token address.
+ */
+ function onInterestReceived(address _token) external {
+ address[] memory path = new address[](3);
+ path[0] = _token;
+ path[1] = wethToken;
+ path[2] = address(stakeToken);
+ uint256 amount = ERC20(_token).balanceOf(address(this));
+
+ // (min received %) * (amount / 1 DAI) * (STAKE per 1 DAI)
+ uint256 minAmount = (minReceivedFraction * amount * uniswapRouterV2.getAmountsOut(1 ether, path)[2]) / 10**36;
+
+ bytes memory data = abi.encodeWithSelector(
+ uniswapRouterV2.swapExactTokensForTokens.selector,
+ amount,
+ minAmount,
+ path,
+ burnAddress,
+ now
+ );
+ address(uniswapRouterV2).call(data);
+ }
+}
diff --git a/contracts/upgradeable_contracts/InterestReceiverSwapToETH.sol b/contracts/upgradeable_contracts/InterestReceiverSwapToETH.sol
new file mode 100644
index 000000000..e3f3a936c
--- /dev/null
+++ b/contracts/upgradeable_contracts/InterestReceiverSwapToETH.sol
@@ -0,0 +1,40 @@
+pragma solidity 0.4.24;
+
+import "./InterestReceiverBase.sol";
+
+/**
+ * @title InterestReceiverSwapToETH
+ * @dev This contract is intended to be used together with InterestConnector module of the erc-to-native bridge.
+ * Contract receives DAI and COMP tokens. All received tokens are swapped to ETH and kept on this contract.
+ * Later, they can be withdrawn by the owner.
+ */
+contract InterestReceiverSwapToETH is InterestReceiverBase {
+ /**
+ * @dev Callback function for notifying this contract about received interest.
+ * @param _token address of the token contract. Should be COMP or DAI token address.
+ */
+ function onInterestReceived(address _token) external {
+ address[] memory path = new address[](2);
+ path[0] = _token;
+ path[1] = wethToken;
+ uint256 amount = ERC20(_token).balanceOf(address(this));
+
+ // (min received %) * (amount / 1 DAI) * (ETH per 1 DAI)
+ uint256 minAmount = (minReceivedFraction * amount * uniswapRouterV2.getAmountsOut(1 ether, path)[1]) / 10**36;
+
+ bytes memory data = abi.encodeWithSelector(
+ uniswapRouterV2.swapExactTokensForETH.selector,
+ amount,
+ minAmount,
+ path,
+ address(this),
+ now
+ );
+ address(uniswapRouterV2).call(data);
+ }
+
+ /**
+ * @dev Fallback function for receiving native coins from the Uniswap Router contract when using swapExactTokensForETH.
+ */
+ function() external payable {}
+}
diff --git a/contracts/upgradeable_contracts/RewardableMediator.sol b/contracts/upgradeable_contracts/RewardableMediator.sol
deleted file mode 100644
index 21b75b773..000000000
--- a/contracts/upgradeable_contracts/RewardableMediator.sol
+++ /dev/null
@@ -1,56 +0,0 @@
-pragma solidity 0.4.24;
-
-import "./Ownable.sol";
-import "openzeppelin-solidity/contracts/AddressUtils.sol";
-import "../interfaces/IMediatorFeeManager.sol";
-
-/**
-* @title RewardableMediator
-* @dev Common functionality to interact with mediator fee manager contract methods.
-*/
-contract RewardableMediator is Ownable {
- event FeeDistributed(uint256 feeAmount, bytes32 indexed messageId);
-
- bytes32 internal constant FEE_MANAGER_CONTRACT = 0x779a349c5bee7817f04c960f525ee3e2f2516078c38c68a3149787976ee837e5; // keccak256(abi.encodePacked("feeManagerContract"))
- bytes4 internal constant ON_TOKEN_TRANSFER = 0xa4c0ed36; // onTokenTransfer(address,uint256,bytes)
-
- /**
- * @dev Sets the fee manager contract address. Only the owner can call this method.
- * @param _feeManager the address of the fee manager contract.
- */
- function setFeeManagerContract(address _feeManager) external onlyOwner {
- _setFeeManagerContract(_feeManager);
- }
-
- /**
- * @dev Internal function for enabling new / disabling fee manage contract.
- * @param _feeManager the address of the fee manager contract.
- */
- function _setFeeManagerContract(address _feeManager) internal {
- require(_feeManager == address(0) || AddressUtils.isContract(_feeManager));
- addressStorage[FEE_MANAGER_CONTRACT] = _feeManager;
- }
-
- /**
- * @dev Tells the fee manager contract address
- * @return the address of the fee manager contract.
- */
- function feeManagerContract() public view returns (IMediatorFeeManager) {
- return IMediatorFeeManager(addressStorage[FEE_MANAGER_CONTRACT]);
- }
-
- /**
- * @dev Distributes the provided amount of fees.
- * @param _feeManager address of the fee manager contract
- * @param _fee total amount to be distributed to the list of reward accounts.
- * @param _messageId id of the message that generated fee distribution
- */
- function distributeFee(IMediatorFeeManager _feeManager, uint256 _fee, bytes32 _messageId) internal {
- onFeeDistribution(_feeManager, _fee);
- _feeManager.call(abi.encodeWithSelector(ON_TOKEN_TRANSFER, address(this), _fee, ""));
- emit FeeDistributed(_fee, _messageId);
- }
-
- /* solcov ignore next */
- function onFeeDistribution(address _feeManager, uint256 _fee) internal;
-}
diff --git a/contracts/upgradeable_contracts/TokenSwapper.sol b/contracts/upgradeable_contracts/TokenSwapper.sol
deleted file mode 100644
index 81da3f0d6..000000000
--- a/contracts/upgradeable_contracts/TokenSwapper.sol
+++ /dev/null
@@ -1,6 +0,0 @@
-pragma solidity 0.4.24;
-
-contract TokenSwapper {
- // emitted when two tokens is swapped (e. g. Sai to Dai, Chai to Dai)
- event TokensSwapped(address indexed from, address indexed to, uint256 value);
-}
diff --git a/contracts/upgradeable_contracts/VersionableBridge.sol b/contracts/upgradeable_contracts/VersionableBridge.sol
index 038099041..bee2c10d5 100644
--- a/contracts/upgradeable_contracts/VersionableBridge.sol
+++ b/contracts/upgradeable_contracts/VersionableBridge.sol
@@ -2,7 +2,7 @@ pragma solidity 0.4.24;
contract VersionableBridge {
function getBridgeInterfacesVersion() external pure returns (uint64 major, uint64 minor, uint64 patch) {
- return (5, 2, 0);
+ return (6, 0, 0);
}
/* solcov ignore next */
diff --git a/contracts/upgradeable_contracts/amb_erc20_to_native/BasicAMBErc20ToNative.sol b/contracts/upgradeable_contracts/amb_erc20_to_native/BasicAMBErc20ToNative.sol
deleted file mode 100644
index 9fc5ad2f7..000000000
--- a/contracts/upgradeable_contracts/amb_erc20_to_native/BasicAMBErc20ToNative.sol
+++ /dev/null
@@ -1,73 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../Initializable.sol";
-import "../Upgradeable.sol";
-import "../Claimable.sol";
-import "../VersionableBridge.sol";
-import "../TokenBridgeMediator.sol";
-
-/**
-* @title BasicAMBErc20ToNative
-* @dev Common mediator functionality for erc20-to-native bridge intended to work on top of AMB bridge.
-*/
-contract BasicAMBErc20ToNative is Initializable, Upgradeable, Claimable, VersionableBridge, TokenBridgeMediator {
- /**
- * @dev Stores the initial parameters of the mediator.
- * @param _bridgeContract the address of the AMB bridge contract.
- * @param _mediatorContract the address of the mediator contract on the other network.
- * @param _dailyLimitMaxPerTxMinPerTxArray array with limit values for the assets to be bridged to the other network.
- * [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
- * @param _executionDailyLimitExecutionMaxPerTxArray array with limit values for the assets bridged from the other network.
- * [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
- * @param _requestGasLimit the gas limit for the message execution.
- * @param _decimalShift number of decimals shift required to adjust the amount of tokens bridged.
- * @param _owner address of the owner of the mediator contract
- */
- function _initialize(
- address _bridgeContract,
- address _mediatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
- uint256[2] _executionDailyLimitExecutionMaxPerTxArray, // [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
- uint256 _requestGasLimit,
- int256 _decimalShift,
- address _owner
- ) internal {
- require(!isInitialized());
-
- _setBridgeContract(_bridgeContract);
- _setMediatorContractOnOtherSide(_mediatorContract);
- _setRequestGasLimit(_requestGasLimit);
- _setLimits(_dailyLimitMaxPerTxMinPerTxArray);
- _setExecutionLimits(_executionDailyLimitExecutionMaxPerTxArray);
- _setDecimalShift(_decimalShift);
- _setOwner(_owner);
- }
-
- /**
- * @dev Tells the bridge interface version that this contract supports.
- * @return major value of the version
- * @return minor value of the version
- * @return patch value of the version
- */
- function getBridgeInterfacesVersion() external pure returns (uint64 major, uint64 minor, uint64 patch) {
- return (1, 2, 0);
- }
-
- /**
- * @dev Tells the bridge mode that this contract supports.
- * @return _data 4 bytes representing the bridge mode
- */
- function getBridgeMode() external pure returns (bytes4 _data) {
- return 0xe177c00f; // bytes4(keccak256(abi.encodePacked("erc-to-native-amb")))
- }
-
- /**
- * @dev Execute the action to be performed when the bridge tokens are out of execution limits.
- */
- function executeActionOnBridgedTokensOutOfLimit(
- address, /* _recipient */
- uint256 /* _value */
- ) internal {
- revert();
- }
-}
diff --git a/contracts/upgradeable_contracts/amb_erc20_to_native/BlockReward.sol b/contracts/upgradeable_contracts/amb_erc20_to_native/BlockReward.sol
deleted file mode 100644
index 4f8d7980c..000000000
--- a/contracts/upgradeable_contracts/amb_erc20_to_native/BlockReward.sol
+++ /dev/null
@@ -1,294 +0,0 @@
-pragma solidity ^0.4.24;
-
-import "../../upgradeability/EternalStorage.sol";
-import "openzeppelin-solidity/contracts/math/SafeMath.sol";
-
-contract BlockReward is EternalStorage {
- using SafeMath for uint256;
-
- bytes32 internal constant MINTED_TOTALLY = 0x076e79ca1c3a46f0c7d1e9e7f14bcb9716bfc49eed37baf510328301a7109c25; // keccak256(abi.encodePacked("mintedTotally"))
- bytes32 internal constant EXTRA_RECEIVERS_LENGTH = 0x0678259008a66390de8a5ac3f500d1dfb0d0f57018441e2cc69aaa0f52c97d44; // keccak256(abi.encodePacked("extraReceiversLength"))
- bytes32 internal constant EXTRA_RECEIVER_ADDRESS = 0xa47da669ec9f3749fbb12db00588b5fa6b5bbd24da81eb6cab44261334c21c17; // keccak256(abi.encodePacked("extraReceiverAddress"))
- bytes32 internal constant EXTRA_RECEIVER_AMOUNT = 0x0f09dbb26898a3af738d25c5fff308337ac8f2b0acbbaf209b373fb1389bcf2f; // keccak256(abi.encodePacked("extraReceiverAmount"))
- bytes32 internal constant BRIDGE_AMOUNT = 0xa7f48dc57b1a051b1732e5ed136bbfd33bb5aa418e3e3498901320529e785461; // keccak256(abi.encodePacked("bridgeAmount"))
- bytes32 internal constant MINTED_FOR_ACCOUNT = 0x0fd3be07b1332be84678873bf53feb10604cd09244fb4bb9154e03e00709b9e7; // keccak256(abi.encodePacked("mintedForAccount"))
- bytes32 internal constant MINTED_FOR_ACCOUNT_IN_BLOCK = 0x24ae442c1f305c4f1294bf2dddd491a64250b2818b446706e9a74aeaaaf6f419; // keccak256(abi.encodePacked("mintedForAccountInBlock"))
- bytes32 internal constant MINTED_IN_BLOCK = 0x3840e646f7ce9b3210f5440e2dbd6b36451169bfdac65ef00a161729eded81bd; // keccak256(abi.encodePacked("mintedInBlock"))
- bytes32 internal constant MINTED_TOTALLY_BY_BRIDGE = 0x12e71282a577e2b463da2c18bc96b6122db29bcef9065ed5a7f0f9316c11c08e; // keccak256(abi.encodePacked("mintedTotallyByBridge"))
-
- // solhint-disable const-name-snakecase
- uint256 public constant bridgesAllowedLength = 1;
- // solhint-enable const-name-snakecase
-
- event AddedReceiver(uint256 amount, address indexed receiver, address indexed bridge);
-
- /**
- * @dev Throws if sender is not in the list of allowed bridge contracts.
- */
- modifier onlyBridgeContract {
- require(_isBridgeContract(msg.sender));
- _;
- }
-
- /**
- * @dev Throws if sender is not account reserved for the system operations.
- */
- modifier onlySystem {
- require(msg.sender == address(0));
- _;
- }
-
- /**
- * @dev Return the allowed bridge addresses.
- * @return List of bridge contracts addresses.
- */
- function bridgesAllowed() public view returns (address[bridgesAllowedLength]) {
- // These values must be changed before deploy
- return [address(0x0000000000000000000000000000000000000000)];
- }
-
- /**
- * @dev Verifies that this contract is indeed a block reward contract, by returning a 4-byte contract identifier.
- * @return 4-byte identifier.
- */
- function blockRewardContractId() public pure returns (bytes4) {
- return bytes4(keccak256("blockReward"));
- }
-
- /**
- * @dev Add a receiver for the minted native tokens.
- * Can be called on by a valid bridge contract, that is whitelisted in the contract.
- * @param _amount amount of native coins to mint for the receiver.
- * @param _receiver address of a recipient account, to which coins should be minted.
- */
- function addExtraReceiver(uint256 _amount, address _receiver) external onlyBridgeContract {
- require(_amount != 0);
- require(_receiver != address(0));
- uint256 oldAmount = extraReceiverAmount(_receiver);
- if (oldAmount == 0) {
- _addExtraReceiver(_receiver);
- }
- _setExtraReceiverAmount(oldAmount.add(_amount), _receiver);
- _setBridgeAmount(bridgeAmount(msg.sender).add(_amount), msg.sender);
- emit AddedReceiver(_amount, _receiver, msg.sender);
- }
-
- /**
- * @dev Special method that is called by the system, in order to get accounts and values for minting new coins in upcoming block.
- * Can be called only by a system-reserved address.
- * @param benefactors list of block reward receivers, should be empty.
- * @param kind list of reward types for addresses in benefactors list, should be empty.
- * @return tuple of addresses list and values list of the same length that describes where and how much new coins should be minted.
- */
- function reward(address[] benefactors, uint16[] kind) external onlySystem returns (address[], uint256[]) {
- // As these contracts were intended to work on top of the forked Quorum client,
- // the arguments of this function will depend on the particular client code.
- // For simplicity, and since Quorum does not have any block rewards,
- // it was decided to keep argument arrays empty.
- // However, in the original OpenEthereum blockReward implementation,
- // first argument should contain some reward receiver addresses (i.e. miner of a block, uncle blocks miners, etc.),
- // second argument describes the reward types of the benefactors.
- require(benefactors.length == 0);
- require(kind.length == 0);
-
- uint256 extraLength = extraReceiversLength();
-
- // Lists with extra receivers and their rewards. Extra receivers are generated by the bridge/mediator contracts,
- // and they are not passed in the benefactors array.
- address[] memory receivers = new address[](extraLength);
- uint256[] memory rewards = new uint256[](extraLength);
-
- uint256 i;
-
- uint256 sumOfRewards = 0;
- uint256 sumOfBridgeAmounts = 0;
-
- for (i = 0; i < extraLength; i++) {
- address extraAddress = extraReceiverByIndex(i);
- uint256 extraAmount = extraReceiverAmount(extraAddress);
- _setExtraReceiverAmount(0, extraAddress);
- receivers[i] = extraAddress;
- rewards[i] = extraAmount;
- _setMinted(extraAmount, extraAddress);
- sumOfRewards += extraAmount;
- }
-
- for (i = 0; i < bridgesAllowedLength; i++) {
- address bridgeAddress = bridgesAllowed()[i];
- uint256 bridgeAmountForBlock = bridgeAmount(bridgeAddress);
-
- if (bridgeAmountForBlock > 0) {
- _setBridgeAmount(0, bridgeAddress);
- _addMintedTotallyByBridge(bridgeAmountForBlock, bridgeAddress);
- sumOfBridgeAmounts += bridgeAmountForBlock;
- }
- }
-
- require(sumOfRewards == sumOfBridgeAmounts);
-
- _clearExtraReceivers();
-
- return (receivers, rewards);
- }
-
- /**
- * @dev Shows pending mint amount, requested by a particular bridge address that hasn't been yet processed by the call to reward().
- * @param _bridge address of the bridge contract.
- * @return pending amount of minted tokens.
- */
- function bridgeAmount(address _bridge) public view returns (uint256) {
- return uintStorage[keccak256(abi.encodePacked(BRIDGE_AMOUNT, _bridge))];
- }
-
- /**
- * @dev Retrieves extra receiver address by its index from the extra receivers list.
- * @param _index index of receiver in the list, should be less than extraReceiversLength().
- * @return address of the receiver.
- */
- function extraReceiverByIndex(uint256 _index) public view returns (address) {
- return addressStorage[keccak256(abi.encodePacked(EXTRA_RECEIVER_ADDRESS, _index))];
- }
-
- /**
- * @dev Retrieves accumulated amount of requested minted value for the particular receiver address.
- * @param _receiver address of the receiver.
- * @return total amount of requested mint operations in the current block.
- */
- function extraReceiverAmount(address _receiver) public view returns (uint256) {
- return uintStorage[keccak256(abi.encodePacked(EXTRA_RECEIVER_AMOUNT, _receiver))];
- }
-
- /**
- * @dev Retrieves a number of registered extra receivers in the pending block.
- * @return length of the extra receivers list.
- */
- function extraReceiversLength() public view returns (uint256) {
- return uintStorage[EXTRA_RECEIVERS_LENGTH];
- }
-
- /**
- * @dev Retrieves the total minted amount for the given address for the whole chain lifetime.
- * @param _account address of the receiver.
- * @return total amount of requested mint operations for the given user for all blocks.
- */
- function mintedForAccount(address _account) public view returns (uint256) {
- return uintStorage[keccak256(abi.encodePacked(MINTED_FOR_ACCOUNT, _account))];
- }
-
- /**
- * @dev Retrieves the total minted amount for the given address in the particular block.
- * @param _account address of the receiver.
- * @param _blockNumber particular block number.
- * @return total amount of requested mint operations for given user in the given block.
- */
- function mintedForAccountInBlock(address _account, uint256 _blockNumber) public view returns (uint256) {
- return uintStorage[keccak256(abi.encodePacked(MINTED_FOR_ACCOUNT_IN_BLOCK, _account, _blockNumber))];
- }
-
- /**
- * @dev Retrieves the total minted amount in the given block.
- * @param _blockNumber particular block number.
- * @return total amount of requested mint operations in the specific block.
- */
- function mintedInBlock(uint256 _blockNumber) public view returns (uint256) {
- return uintStorage[keccak256(abi.encodePacked(MINTED_IN_BLOCK, _blockNumber))];
- }
-
- /**
- * @dev Retrieves the total minted amount for all users for all blocks.
- * @return total amount of requested mint operations in this block reward contract.
- */
- function mintedTotally() public view returns (uint256) {
- return uintStorage[MINTED_TOTALLY];
- }
-
- /**
- * @dev Retrieves the total minted amount for all users for all blocks for the particular bridge.
- * @param _bridge address of the bridge contract.
- * @return total amount of requested mint operations in this block reward contract associated with the given bridge address.
- */
- function mintedTotallyByBridge(address _bridge) public view returns (uint256) {
- return uintStorage[keccak256(abi.encodePacked(MINTED_TOTALLY_BY_BRIDGE, _bridge))];
- }
-
- /**
- * @dev Internal function for adding extra receiver in the list.
- * New receiver is added to the end of the list.
- * @param _receiver address of the receiver.
- */
- function _addExtraReceiver(address _receiver) private {
- uint256 _index = extraReceiversLength();
- addressStorage[keccak256(abi.encodePacked(EXTRA_RECEIVER_ADDRESS, _index))] = _receiver;
- uintStorage[EXTRA_RECEIVERS_LENGTH] = _index + 1;
- }
-
- /**
- * @dev Internal function for adding minted value for some particular bridge contract.
- * @param _amount minted amount.
- * @param _bridge address of the bridge contract.
- */
- function _addMintedTotallyByBridge(uint256 _amount, address _bridge) private {
- bytes32 hash = keccak256(abi.encodePacked(MINTED_TOTALLY_BY_BRIDGE, _bridge));
- uintStorage[hash] = uintStorage[hash].add(_amount);
- }
-
- /**
- * @dev Internal function for updating pending bridge amount requested for minting for some particular bridge contract.
- * @param _amount new minted amount.
- * @param _bridge address of the bridge contract.
- */
- function _setBridgeAmount(uint256 _amount, address _bridge) private {
- uintStorage[keccak256(abi.encodePacked(BRIDGE_AMOUNT, _bridge))] = _amount;
- }
-
- /**
- * @dev Internal function clearing extra receivers list. It is done by setting receivers list length to 0.
- */
- function _clearExtraReceivers() private {
- uintStorage[EXTRA_RECEIVERS_LENGTH] = 0;
- }
-
- /**
- * @dev Checks if the given address is whitelisted.
- * @param _addr address of the bridge to check.
- * @return true, if given address is associated with one of the registered bridges.
- */
- function _isBridgeContract(address _addr) private view returns (bool) {
- address[bridgesAllowedLength] memory bridges = bridgesAllowed();
-
- for (uint256 i = 0; i < bridges.length; i++) {
- if (_addr == bridges[i]) {
- return true;
- }
- }
-
- return false;
- }
-
- /**
- * @dev Internal function for updating pending min amount for minting for some particular user.
- * @param _amount new minted amount.
- * @param _receiver address of the bridge receiver.
- */
- function _setExtraReceiverAmount(uint256 _amount, address _receiver) private {
- uintStorage[keccak256(abi.encodePacked(EXTRA_RECEIVER_AMOUNT, _receiver))] = _amount;
- }
-
- /**
- * @dev Internal function for updating different mint statistics.
- * @param _amount new minted amount.
- * @param _account address of the receiver.
- */
- function _setMinted(uint256 _amount, address _account) private {
- bytes32 hash = keccak256(abi.encodePacked(MINTED_FOR_ACCOUNT_IN_BLOCK, _account, block.number));
- uintStorage[hash] = _amount;
-
- hash = keccak256(abi.encodePacked(MINTED_FOR_ACCOUNT, _account));
- uintStorage[hash] = uintStorage[hash].add(_amount);
-
- hash = keccak256(abi.encodePacked(MINTED_IN_BLOCK, block.number));
- uintStorage[hash] = uintStorage[hash].add(_amount);
-
- uintStorage[MINTED_TOTALLY] = uintStorage[MINTED_TOTALLY].add(_amount);
- }
-}
diff --git a/contracts/upgradeable_contracts/amb_erc20_to_native/ForeignAMBErc20ToNative.sol b/contracts/upgradeable_contracts/amb_erc20_to_native/ForeignAMBErc20ToNative.sol
deleted file mode 100644
index f2815b877..000000000
--- a/contracts/upgradeable_contracts/amb_erc20_to_native/ForeignAMBErc20ToNative.sol
+++ /dev/null
@@ -1,187 +0,0 @@
-pragma solidity 0.4.24;
-
-import "./BasicAMBErc20ToNative.sol";
-import "../BaseERC677Bridge.sol";
-import "../ReentrancyGuard.sol";
-import "../../libraries/SafeERC20.sol";
-import "../MediatorBalanceStorage.sol";
-
-/**
-* @title ForeignAMBErc20ToNative
-* @dev Foreign mediator implementation for erc20-to-native bridge intended to work on top of AMB bridge.
-* It is design to be used as implementation contract of EternalStorageProxy contract.
-*/
-contract ForeignAMBErc20ToNative is BasicAMBErc20ToNative, ReentrancyGuard, BaseERC677Bridge, MediatorBalanceStorage {
- using SafeERC20 for ERC677;
-
- /**
- * @dev Stores the initial parameters of the mediator.
- * @param _bridgeContract the address of the AMB bridge contract.
- * @param _mediatorContract the address of the mediator contract on the other network.
- * @param _dailyLimitMaxPerTxMinPerTxArray array with limit values for the assets to be bridged to the other network.
- * [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
- * @param _executionDailyLimitExecutionMaxPerTxArray array with limit values for the assets bridged from the other network.
- * [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
- * @param _requestGasLimit the gas limit for the message execution.
- * @param _decimalShift number of decimals shift required to adjust the amount of tokens bridged.
- * @param _owner address of the owner of the mediator contract
- * @param _erc677token address of the erc677 token contract
- */
- function initialize(
- address _bridgeContract,
- address _mediatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
- uint256[2] _executionDailyLimitExecutionMaxPerTxArray, // [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
- uint256 _requestGasLimit,
- int256 _decimalShift,
- address _owner,
- address _erc677token
- ) external onlyRelevantSender returns (bool) {
- _initialize(
- _bridgeContract,
- _mediatorContract,
- _dailyLimitMaxPerTxMinPerTxArray,
- _executionDailyLimitExecutionMaxPerTxArray,
- _requestGasLimit,
- _decimalShift,
- _owner
- );
- setErc677token(_erc677token);
- setInitialize();
- return isInitialized();
- }
-
- /**
- * @dev Public getter for token contract.
- * Internal _erc677token() is hidden from the end users, in order to not confuse them with the supported token standard.
- * @return address of the used token contract
- */
- function erc20token() external view returns (ERC677) {
- return _erc677token();
- }
-
- /**
- * @dev It will initiate the bridge operation that will lock the amount of tokens transferred and mint the native tokens on
- * the other network. The user should first call Approve method of the ERC677 token.
- * @param _receiver address that will receive the native tokens on the other network.
- * @param _value amount of tokens to be transferred to the other network.
- */
- function relayTokens(address _receiver, uint256 _value) external {
- // This lock is to prevent calling passMessage twice.
- // When transferFrom is called, after the transfer, the ERC677 token will call onTokenTransfer from this contract
- // which will call passMessage.
- require(!lock());
- ERC677 token = _erc677token();
- require(withinLimit(_value));
- addTotalSpentPerDay(getCurrentDay(), _value);
- _setMediatorBalance(mediatorBalance().add(_value));
-
- setLock(true);
- token.safeTransferFrom(msg.sender, _value);
- setLock(false);
- bridgeSpecificActionsOnTokenTransfer(token, msg.sender, _value, abi.encodePacked(_receiver));
- }
-
- /**
- * @dev This method is called when transferAndCall is used from ERC677 to transfer the tokens to this contract.
- * It will initiate the bridge operation that will lock the amount of tokens transferred and mint the native tokens on
- * the other network.
- * @param _from address that transferred the tokens.
- * @param _value amount of tokens transferred.
- * @param _data this parameter could contain the address of an alternative receiver of the tokens on the other network,
- * otherwise it will be empty.
- */
- function onTokenTransfer(address _from, uint256 _value, bytes _data) external returns (bool) {
- ERC677 token = _erc677token();
- require(msg.sender == address(token));
- if (!lock()) {
- require(withinLimit(_value));
- addTotalSpentPerDay(getCurrentDay(), _value);
- _setMediatorBalance(mediatorBalance().add(_value));
- }
- bridgeSpecificActionsOnTokenTransfer(token, _from, _value, _data);
- return true;
- }
-
- /**
- * @dev Allows to transfer any locked token on this contract that is not part of the bridge operations.
- * @param _token address of the token, if it is not provided, native tokens will be transferred.
- * @param _to address that will receive the locked tokens on this contract.
- */
- function claimTokens(address _token, address _to) external onlyIfUpgradeabilityOwner {
- // Since bridged tokens are locked at this contract, it is not allowed to claim them with the use of claimTokens function
- require(_token != address(_erc677token()));
- claimValues(_token, _to);
- }
-
- /**
- * @dev Allows to send to the other network the amount of locked tokens that can be forced into the contract
- * without the invocation of the required methods.
- * @param _receiver the address that will receive the native coins on the other network
- */
- function fixMediatorBalance(address _receiver) external onlyIfUpgradeabilityOwner validAddress(_receiver) {
- uint256 balance = _erc677token().balanceOf(address(this));
- uint256 expectedBalance = mediatorBalance();
- require(balance > expectedBalance);
- uint256 diff = balance - expectedBalance;
- uint256 available = maxAvailablePerTx();
- require(available > 0);
- if (diff > available) {
- diff = available;
- }
- addTotalSpentPerDay(getCurrentDay(), diff);
- _setMediatorBalance(expectedBalance.add(diff));
- passMessage(_receiver, _receiver, diff);
- }
-
- /**
- * @dev Unlock the amount of tokens that were bridged from the other network.
- * @param _receiver address that will receive the tokens
- * @param _value amount of tokens to be received
- */
- function executeActionOnBridgedTokens(address _receiver, uint256 _value) internal {
- uint256 valueToTransfer = _unshiftValue(_value);
- bytes32 _messageId = messageId();
-
- _setMediatorBalance(mediatorBalance().sub(valueToTransfer));
- _erc677token().safeTransfer(_receiver, valueToTransfer);
- emit TokensBridged(_receiver, valueToTransfer, _messageId);
- }
-
- /**
- * @dev Unlock back the amount of tokens that were bridged to the other network but failed.
- * @param _receiver address that will receive the tokens
- * @param _value amount of tokens to be received
- */
- function executeActionOnFixedTokens(address _receiver, uint256 _value) internal {
- _setMediatorBalance(mediatorBalance().sub(_value));
- _erc677token().safeTransfer(_receiver, _value);
- }
-
- /**
- * @dev Locks the amount of tokens and makes the request to mint the native tokens on the other network.
- * @param _from address that transferred the tokens.
- * @param _value amount of tokens transferred.
- * @param _data this parameter could contain the address of an alternative receiver of the native tokens on the other
- * network, otherwise it will be empty.
- */
- function bridgeSpecificActionsOnTokenTransfer(
- ERC677, /*_token*/
- address _from,
- uint256 _value,
- bytes _data
- ) internal {
- if (!lock()) {
- passMessage(_from, chooseReceiver(_from, _data), _value);
- }
- }
-
- /**
- * @dev Tells the address of the mediator contract on the other side, used by chooseReceiver method
- * to avoid sending the native tokens to that address.
- * @return address of the mediator contract con the other side
- */
- function bridgeContractOnOtherSide() internal view returns (address) {
- return mediatorContractOnOtherSide();
- }
-}
diff --git a/contracts/upgradeable_contracts/amb_erc20_to_native/HomeAMBErc20ToNative.sol b/contracts/upgradeable_contracts/amb_erc20_to_native/HomeAMBErc20ToNative.sol
deleted file mode 100644
index a8461d446..000000000
--- a/contracts/upgradeable_contracts/amb_erc20_to_native/HomeAMBErc20ToNative.sol
+++ /dev/null
@@ -1,256 +0,0 @@
-pragma solidity 0.4.24;
-
-import "./BasicAMBErc20ToNative.sol";
-import "./HomeFeeManagerAMBErc20ToNative.sol";
-import "../BlockRewardBridge.sol";
-
-/**
-* @title HomeAMBErc20ToNative
-* @dev Home mediator implementation for erc20-to-native bridge intended to work on top of AMB bridge.
-* It is design to be used as implementation contract of EternalStorageProxy contract.
-*/
-contract HomeAMBErc20ToNative is BasicAMBErc20ToNative, BlockRewardBridge, HomeFeeManagerAMBErc20ToNative {
- bytes32 internal constant TOTAL_BURNT_COINS = 0x17f187b2e5d1f8770602b32c1159b85c9600859277fae1eaa9982e9bcf63384c; // keccak256(abi.encodePacked("totalBurntCoins"))
-
- /**
- * @dev Stores the initial parameters of the mediator.
- * @param _bridgeContract the address of the AMB bridge contract.
- * @param _mediatorContract the address of the mediator contract on the other network.
- * @param _dailyLimitMaxPerTxMinPerTxArray array with limit values for the assets to be bridged to the other network.
- * [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
- * @param _executionDailyLimitExecutionMaxPerTxArray array with limit values for the assets bridged from the other network.
- * [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
- * @param _requestGasLimit the gas limit for the message execution.
- * @param _decimalShift number of decimals shift required to adjust the amount of tokens bridged.
- * @param _owner address of the owner of the mediator contract
- * @param _blockReward address of the block reward contract
- */
- function initialize(
- address _bridgeContract,
- address _mediatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
- uint256[2] _executionDailyLimitExecutionMaxPerTxArray, // [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
- uint256 _requestGasLimit,
- int256 _decimalShift,
- address _owner,
- address _blockReward
- ) public onlyRelevantSender returns (bool) {
- _initialize(
- _bridgeContract,
- _mediatorContract,
- _dailyLimitMaxPerTxMinPerTxArray,
- _executionDailyLimitExecutionMaxPerTxArray,
- _requestGasLimit,
- _decimalShift,
- _owner
- );
- _setBlockRewardContract(_blockReward);
- setInitialize();
- return isInitialized();
- }
-
- /**
- * @dev Stores the initial parameters of the mediator, sets the rewardable mediator as well.
- * @param _bridgeContract the address of the AMB bridge contract.
- * @param _mediatorContract the address of the mediator contract on the other network.
- * @param _dailyLimitMaxPerTxMinPerTxArray array with limit values for the assets to be bridged to the other network.
- * [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
- * @param _executionDailyLimitExecutionMaxPerTxArray array with limit values for the assets bridged from the other network.
- * [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
- * @param _requestGasLimit the gas limit for the message execution.
- * @param _decimalShift number of decimals shift required to adjust the amount of tokens bridged.
- * @param _owner address of the owner of the mediator contract
- * @param _blockReward address of the block reward contract
- * @param _rewardAddresses list of reward addresses, between whom fees will be distributed
- * @param _fees array with initial fees for both bridge directions
- * [ 0 = homeToForeignFee, 1 = foreignToHomeFee ]
- */
- function rewardableInitialize(
- address _bridgeContract,
- address _mediatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
- uint256[2] _executionDailyLimitExecutionMaxPerTxArray, // [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
- uint256 _requestGasLimit,
- int256 _decimalShift,
- address _owner,
- address _blockReward,
- address[] _rewardAddresses,
- uint256[2] _fees // [ 0 = homeToForeignFee, 1 = foreignToHomeFee ]
- ) external returns (bool) {
- _setRewardAddressList(_rewardAddresses);
- _setFee(HOME_TO_FOREIGN_FEE, _fees[0]);
- _setFee(FOREIGN_TO_HOME_FEE, _fees[1]);
- return
- initialize(
- _bridgeContract,
- _mediatorContract,
- _dailyLimitMaxPerTxMinPerTxArray,
- _executionDailyLimitExecutionMaxPerTxArray,
- _requestGasLimit,
- _decimalShift,
- _owner,
- _blockReward
- );
- }
-
- /**
- * @dev Fallback method to be called to initiate the bridge operation of the native tokens to an erc20 representation
- * that the user will receive in the same address on the other network.
- */
- function() public payable {
- require(msg.data.length == 0);
- nativeTransfer(msg.sender);
- }
-
- /**
- * @dev Method to be called to initiate the bridge operation of the native tokens to an erc20 representation
- * that the user will receive in the address specified by parameter on the other network.
- * @param _receiver address that will receive the erc20 tokens on the other network.
- */
- function relayTokens(address _receiver) external payable {
- nativeTransfer(_receiver);
- }
-
- /**
- * @dev Updates an address of the block reward contract that is used for minting native coins.
- * @param _blockReward address of new block reward contract.
- */
- function setBlockRewardContract(address _blockReward) external onlyOwner {
- _setBlockRewardContract(_blockReward);
- }
-
- /**
- * @dev Retrieves address of the currently used block reward contract.
- * @return address of block reward contract.
- */
- function blockRewardContract() public view returns (IBlockReward) {
- return _blockRewardContract();
- }
-
- /**
- * @dev Retrieves total burnt coins by this bridge.
- * @return amount of burnt coins.
- */
- function totalBurntCoins() public view returns (uint256) {
- return uintStorage[TOTAL_BURNT_COINS];
- }
-
- /**
- * @dev Validates the received native tokens and makes the request to unlock the erc20 tokens on the other network.
- * @param _receiver address that will receive the erc20 tokens on the other network.
- */
- function nativeTransfer(address _receiver) internal {
- // this check also validates that msg.value is positive, since minPerTx() > 0
- require(withinLimit(msg.value));
-
- IBlockReward blockReward = blockRewardContract();
- uint256 totalMinted = blockReward.mintedTotallyByBridge(address(this));
- uint256 totalBurnt = totalBurntCoins();
- require(msg.value <= totalMinted.sub(totalBurnt));
-
- addTotalSpentPerDay(getCurrentDay(), msg.value);
-
- uint256 valueToTransfer = msg.value;
- bytes32 _messageId = messageId();
-
- uint256 fee = _distributeFee(HOME_TO_FOREIGN_FEE, valueToTransfer);
- if (fee > 0) {
- emit FeeDistributed(fee, _messageId);
- valueToTransfer = valueToTransfer.sub(fee);
- }
-
- passMessage(msg.sender, _receiver, valueToTransfer);
- _burnCoins(valueToTransfer);
- }
-
- /**
- * @dev Internal function for updating amount of burnt coins by this bridge.
- * @param _amount new amount of burned coins.
- */
- function _setTotalBurntCoins(uint256 _amount) internal {
- uintStorage[TOTAL_BURNT_COINS] = _amount;
- }
-
- /**
- * @dev Mints the amount of native tokens that were bridged from the other network.
- * @param _receiver address that will receive the native tokens
- * @param _value amount of native tokens to be received
- */
- function executeActionOnBridgedTokens(address _receiver, uint256 _value) internal {
- uint256 valueToMint = _shiftValue(_value);
- bytes32 _messageId = messageId();
-
- uint256 fee = _distributeFee(FOREIGN_TO_HOME_FEE, valueToMint);
- if (fee > 0) {
- emit FeeDistributed(fee, _messageId);
- valueToMint = valueToMint.sub(fee);
- }
-
- IBlockReward blockReward = blockRewardContract();
- blockReward.addExtraReceiver(valueToMint, _receiver);
- emit TokensBridged(_receiver, valueToMint, _messageId);
- }
-
- /**
- * @dev Mints back the amount of native tokens that were bridged to the other network but failed.
- * @param _receiver address that will receive the native tokens
- * @param _value amount of native tokens to be received
- */
- function executeActionOnFixedTokens(address _receiver, uint256 _value) internal {
- IBlockReward blockReward = blockRewardContract();
- blockReward.addExtraReceiver(_value, _receiver);
- }
-
- /**
- * @dev Allows to transfer any locked tokens or native coins on this contract.
- * @param _token address of the token, address(0) for native coins.
- * @param _to address that will receive the locked tokens on this contract.
- */
- function claimTokens(address _token, address _to) external onlyIfUpgradeabilityOwner {
- // In case native coins were forced into this contract by using a selfdestruct opcode,
- // they should be handled by a call to fixMediatorBalance, instead of using a claimTokens function.
- require(_token != address(0));
- claimValues(_token, _to);
- }
-
- /**
- * @dev Allows to send to the other network the amount of locked native tokens that can be forced into the contract
- * without the invocation of the required methods.
- * @param _receiver the address that will receive the tokens on the other network
- */
- function fixMediatorBalance(address _receiver) external onlyIfUpgradeabilityOwner validAddress(_receiver) {
- uint256 balance = address(this).balance;
- uint256 available = maxAvailablePerTx();
- if (balance > available) {
- balance = available;
- }
- require(balance > 0);
- addTotalSpentPerDay(getCurrentDay(), balance);
- passMessage(_receiver, _receiver, balance);
- _burnCoins(balance);
- }
-
- /**
- * @dev Internal function for "burning" native coins. Coins are burnt by sending them to address(0x00..00).
- * @param _amount amount of native coins to burn.
- */
- function _burnCoins(uint256 _amount) internal {
- _setTotalBurntCoins(totalBurntCoins().add(_amount));
- address(0).transfer(_amount);
- }
-
- /**
- * @dev Internal function distributing a piece of collected fee to the particular reward address.
- * @param _feeType used fee type, can be one of [HOME_TO_FOREIGN_FEE, FOREIGN_TO_HOME_FEE].
- * @param _receiver particular reward address, where the fee should be sent/minted.
- * @param _fee amount of fee to send/mint to given address.
- */
- function onFeeDistribution(bytes32 _feeType, address _receiver, uint256 _fee) internal {
- if (_feeType == HOME_TO_FOREIGN_FEE) {
- Address.safeSendValue(_receiver, _fee);
- } else {
- IBlockReward blockReward = blockRewardContract();
- blockReward.addExtraReceiver(_fee, _receiver);
- }
- }
-}
diff --git a/contracts/upgradeable_contracts/amb_erc20_to_native/HomeFeeManagerAMBErc20ToNative.sol b/contracts/upgradeable_contracts/amb_erc20_to_native/HomeFeeManagerAMBErc20ToNative.sol
deleted file mode 100644
index ac1634bc0..000000000
--- a/contracts/upgradeable_contracts/amb_erc20_to_native/HomeFeeManagerAMBErc20ToNative.sol
+++ /dev/null
@@ -1,147 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../BaseRewardAddressList.sol";
-import "../Ownable.sol";
-
-/**
-* @title HomeFeeManagerAMBErc20ToNative
-* @dev Implements the logic to distribute fees from the erc20 to native mediator contract operations.
-* The fees are distributed in the form of native tokens to the list of reward accounts.
-*/
-contract HomeFeeManagerAMBErc20ToNative is BaseRewardAddressList, Ownable {
- using SafeMath for uint256;
-
- event FeeUpdated(bytes32 feeType, uint256 fee);
- event FeeDistributed(uint256 fee, bytes32 indexed messageId);
-
- // This is not a real fee value but a relative value used to calculate the fee percentage
- uint256 internal constant MAX_FEE = 1 ether;
- bytes32 public constant HOME_TO_FOREIGN_FEE = 0x741ede137d0537e88e0ea0ff25b1f22d837903dbbee8980b4a06e8523247ee26; // keccak256(abi.encodePacked("homeToForeignFee"))
- bytes32 public constant FOREIGN_TO_HOME_FEE = 0x03be2b2875cb41e0e77355e802a16769bb8dfcf825061cde185c73bf94f12625; // keccak256(abi.encodePacked("foreignToHomeFee"))
-
- /**
- * @dev Throws if given fee percentage is >= 100%.
- */
- modifier validFee(uint256 _fee) {
- require(_fee < MAX_FEE);
- /* solcov ignore next */
- _;
- }
-
- /**
- * @dev Throws if given fee type is unknown.
- */
- modifier validFeeType(bytes32 _feeType) {
- require(_feeType == HOME_TO_FOREIGN_FEE || _feeType == FOREIGN_TO_HOME_FEE);
- /* solcov ignore next */
- _;
- }
-
- /**
- * @dev Adds a new reward address to the list, which will receive fees collected from the bridge operations.
- * Only the owner can call this method.
- * @param _addr new reward account.
- */
- function addRewardAddress(address _addr) external onlyOwner {
- _addRewardAddress(_addr);
- }
-
- /**
- * @dev Removes a reward address from the rewards list.
- * Only the owner can call this method.
- * @param _addr old reward account, that should be removed.
- */
- function removeRewardAddress(address _addr) external onlyOwner {
- _removeRewardAddress(_addr);
- }
-
- /**
- * @dev Updates the value for the particular fee type.
- * Only the owner can call this method.
- * @param _feeType type of the updated fee, can be one of [HOME_TO_FOREIGN_FEE, FOREIGN_TO_HOME_FEE].
- * @param _fee new fee value, in percentage (1 ether == 10**18 == 100%).
- */
- function setFee(bytes32 _feeType, uint256 _fee) external onlyOwner {
- _setFee(_feeType, _fee);
- }
-
- /**
- * @dev Retrieves the value for the particular fee type.
- * @param _feeType type of the updated fee, can be one of [HOME_TO_FOREIGN_FEE, FOREIGN_TO_HOME_FEE].
- * @return fee value associated with the requested fee type.
- */
- function getFee(bytes32 _feeType) public view validFeeType(_feeType) returns (uint256) {
- return uintStorage[_feeType];
- }
-
- /**
- * @dev Calculates the amount of fee to pay for the value of the particular fee type.
- * @param _feeType type of the updated fee, can be one of [HOME_TO_FOREIGN_FEE, FOREIGN_TO_HOME_FEE].
- * @param _value bridged value, for which fee should be evaluated.
- * @return amount of fee to be subtracted from the transferred value.
- */
- function calculateFee(bytes32 _feeType, uint256 _value) public view returns (uint256) {
- uint256 _fee = getFee(_feeType);
- return _value.mul(_fee).div(MAX_FEE);
- }
-
- /**
- * @dev Internal function for updating the fee value for the given fee type.
- * @param _feeType type of the updated fee, can be one of [HOME_TO_FOREIGN_FEE, FOREIGN_TO_HOME_FEE].
- * @param _fee new fee value, in percentage (1 ether == 10**18 == 100%).
- */
- function _setFee(bytes32 _feeType, uint256 _fee) internal validFeeType(_feeType) validFee(_fee) {
- uintStorage[_feeType] = _fee;
- emit FeeUpdated(_feeType, _fee);
- }
-
- /**
- * @dev Calculates a random number based on the block number.
- * @param _count the max value for the random number.
- * @return a number between 0 and _count.
- */
- function random(uint256 _count) internal view returns (uint256) {
- return uint256(blockhash(block.number.sub(1))) % _count;
- }
-
- /**
- * @dev Calculates and distributes the amount of fee proportionally between registered reward addresses.
- * @param _feeType type of the updated fee, can be one of [HOME_TO_FOREIGN_FEE, FOREIGN_TO_HOME_FEE].
- * @param _value bridged value, for which fee should be evaluated.
- * @return total amount of fee subtracted from the transferred value and distributed between the reward accounts.
- */
- function _distributeFee(bytes32 _feeType, uint256 _value) internal returns (uint256) {
- uint256 numOfAccounts = rewardAddressCount();
- uint256 _fee = calculateFee(_feeType, _value);
- if (numOfAccounts == 0 || _fee == 0) {
- return 0;
- }
- uint256 feePerAccount = _fee.div(numOfAccounts);
- uint256 randomAccountIndex;
- uint256 diff = _fee.sub(feePerAccount.mul(numOfAccounts));
- if (diff > 0) {
- randomAccountIndex = random(numOfAccounts);
- }
-
- address nextAddr = getNextRewardAddress(F_ADDR);
- require(nextAddr != F_ADDR && nextAddr != address(0));
-
- uint256 i = 0;
- while (nextAddr != F_ADDR) {
- uint256 feeToDistribute = feePerAccount;
- if (diff > 0 && randomAccountIndex == i) {
- feeToDistribute = feeToDistribute.add(diff);
- }
-
- onFeeDistribution(_feeType, nextAddr, feeToDistribute);
-
- nextAddr = getNextRewardAddress(nextAddr);
- require(nextAddr != address(0));
- i = i + 1;
- }
- return _fee;
- }
-
- /* solcov ignore next */
- function onFeeDistribution(bytes32 _feeType, address _receiver, uint256 _value) internal;
-}
diff --git a/contracts/upgradeable_contracts/amb_erc677_to_erc677/BasicStakeTokenMediator.sol b/contracts/upgradeable_contracts/amb_erc677_to_erc677/BasicStakeTokenMediator.sol
deleted file mode 100644
index ccbbe5831..000000000
--- a/contracts/upgradeable_contracts/amb_erc677_to_erc677/BasicStakeTokenMediator.sol
+++ /dev/null
@@ -1,13 +0,0 @@
-pragma solidity 0.4.24;
-
-import "./BasicAMBErc677ToErc677.sol";
-
-contract BasicStakeTokenMediator is BasicAMBErc677ToErc677 {
- function getBridgeInterfacesVersion() external pure returns (uint64 major, uint64 minor, uint64 patch) {
- return (1, 3, 0);
- }
-
- function getBridgeMode() external pure returns (bytes4 _data) {
- return 0x16ea01e9; // bytes4(keccak256(abi.encodePacked("stake-erc-to-erc-amb")))
- }
-}
diff --git a/contracts/upgradeable_contracts/amb_erc677_to_erc677/ForeignStakeTokenMediator.sol b/contracts/upgradeable_contracts/amb_erc677_to_erc677/ForeignStakeTokenMediator.sol
deleted file mode 100644
index 3f54ce054..000000000
--- a/contracts/upgradeable_contracts/amb_erc677_to_erc677/ForeignStakeTokenMediator.sol
+++ /dev/null
@@ -1,77 +0,0 @@
-pragma solidity 0.4.24;
-
-import "./BasicStakeTokenMediator.sol";
-import "../../interfaces/IBurnableMintableERC677Token.sol";
-
-/**
-* @title ForeignStakeTokenMediator
-* @dev Foreign side implementation for stake token mediator intended to work on top of AMB bridge.
-* It is designed to be used as an implementation contract of EternalStorageProxy contract.
-*/
-contract ForeignStakeTokenMediator is BasicStakeTokenMediator {
- /**
- * @dev Executes action on the request to withdraw tokens relayed from the other network
- * @param _recipient address of tokens receiver
- * @param _value amount of bridged tokens
- */
- function executeActionOnBridgedTokens(address _recipient, uint256 _value) internal {
- uint256 value = _unshiftValue(_value);
- bytes32 _messageId = messageId();
- _transferWithOptionalMint(_recipient, value);
- emit TokensBridged(_recipient, value, _messageId);
- }
-
- /**
- * @dev Executes action on deposit of bridged tokens
- * @param _from address of tokens sender
- * @param _value requsted amount of bridged tokens
- * @param _data alternative receiver, if specified
- */
- function bridgeSpecificActionsOnTokenTransfer(
- ERC677, /* _token */
- address _from,
- uint256 _value,
- bytes _data
- ) internal {
- if (!lock()) {
- passMessage(_from, chooseReceiver(_from, _data), _value);
- }
- }
-
- /**
- * @dev Executes action on relayed request to fix the failed transfer of tokens
- * @param _recipient address of tokens receiver
- * @param _value amount of fixed tokens
- */
- function executeActionOnFixedTokens(address _recipient, uint256 _value) internal {
- _transferWithOptionalMint(_recipient, _value);
- }
-
- /**
- * @dev Internal function for transfer of tokens, with optional minting if current balance is insufficient
- * @param _recipient address of tokens receiver
- * @param _value amount of fixed tokens
- */
- function _transferWithOptionalMint(address _recipient, uint256 _value) internal {
- IBurnableMintableERC677Token token = IBurnableMintableERC677Token(erc677token());
- uint256 balance = token.balanceOf(address(this));
- if (balance == 0) {
- token.mint(_recipient, _value);
- } else if (balance < _value) {
- token.mint(address(this), _value - balance);
- token.transfer(_recipient, _value);
- } else {
- token.transfer(_recipient, _value);
- }
- }
-
- /**
- * @dev Allows to transfer any locked token on this contract other than stake token.
- * @param _token address of the token, if it is not provided, native tokens will be transferred.
- * @param _to address that will receive the locked tokens on this contract.
- */
- function claimTokens(address _token, address _to) external onlyIfUpgradeabilityOwner {
- require(_token != address(_erc677token()));
- claimValues(_token, _to);
- }
-}
diff --git a/contracts/upgradeable_contracts/amb_erc677_to_erc677/HomeStakeTokenFeeManager.sol b/contracts/upgradeable_contracts/amb_erc677_to_erc677/HomeStakeTokenFeeManager.sol
deleted file mode 100644
index c5141588c..000000000
--- a/contracts/upgradeable_contracts/amb_erc677_to_erc677/HomeStakeTokenFeeManager.sol
+++ /dev/null
@@ -1,86 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../BlockRewardBridge.sol";
-import "../Ownable.sol";
-import "openzeppelin-solidity/contracts/math/SafeMath.sol";
-
-contract HomeStakeTokenFeeManager is BlockRewardBridge, Ownable {
- using SafeMath for uint256;
-
- event FeeUpdated(uint256 fee);
-
- uint256 internal constant MAX_FEE = 1 ether;
- bytes32 internal constant FEE = 0x241773621b963145d8e249ca69b0240df7de56fca52fb3ec9e2ddd08a968570e; // keccak256(abi.encodePacked("stakeTokenFee"));
-
- /**
- * @dev Retrieves currently used block reward contract
- * @return configured block reward contract address
- */
- function blockRewardContract() external view returns (IBlockReward) {
- return _blockRewardContract();
- }
-
- /**
- * @dev Updates address of currently used block reward contract
- * @param _blockReward address of a new contract
- */
- function setBlockRewardContract(address _blockReward) external onlyOwner {
- _setBlockRewardContract(_blockReward);
- }
-
- /**
- * @dev Retrieves current fee value
- * @return current value of fee, 1e18 is 100%
- */
- function getFee() public view returns (uint256) {
- return uintStorage[FEE];
- }
-
- /**
- * @dev Calculates the fee amount to be subtracted from the value.
- * @param _value the base value from which fees are calculated
- */
- function calculateFee(uint256 _value) public view returns (uint256) {
- return _value.mul(getFee()).div(MAX_FEE);
- }
-
- /**
- * @dev Sets the fee percentage amount for the mediator operations.
- * Only the owner can call this method.
- * @param _fee the fee percentage
- */
- function setFee(uint256 _fee) external onlyOwner {
- _setFee(_fee);
- }
-
- /**
- * @dev Internal setter for fee
- * @param _fee the fee percentage
- */
- function _setFee(uint256 _fee) internal {
- require(_fee < MAX_FEE);
- uintStorage[FEE] = _fee;
- emit FeeUpdated(_fee);
- }
-
- /**
- * @dev Returns the state of the fee manager configuration: whether
- * it is ready to collect and distribute fee or not.
- */
- function isFeeCollectingActivated() public view returns (bool) {
- return ((address(_blockRewardContract()) != address(0)) && (getFee() > 0));
- }
-
- /**
- * @dev Distributes fee as per the logic of the fee manager.
- * In this particular case, the amount of fee is passed the block
- * reward contract which will mint new tokens and distribute them
- * among the stakers.
- * IMPORTANT: make sure that the code checks that the block reward
- * contract is initialized before calling this method.
- * @param _fee amount of tokens to be distributed
- */
- function _distributeFee(uint256 _fee) internal {
- _blockRewardContract().addBridgeTokenRewardReceivers(_fee);
- }
-}
diff --git a/contracts/upgradeable_contracts/amb_erc677_to_erc677/HomeStakeTokenMediator.sol b/contracts/upgradeable_contracts/amb_erc677_to_erc677/HomeStakeTokenMediator.sol
deleted file mode 100644
index 86cd090a7..000000000
--- a/contracts/upgradeable_contracts/amb_erc677_to_erc677/HomeStakeTokenMediator.sol
+++ /dev/null
@@ -1,176 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../../interfaces/IMintHandler.sol";
-import "./BasicStakeTokenMediator.sol";
-import "./HomeStakeTokenFeeManager.sol";
-import "../../interfaces/IBurnableMintableERC677Token.sol";
-
-/**
-* @title HomeStakeTokenMediator
-* @dev Home side implementation for stake token mediator intended to work on top of AMB bridge.
-* It is designed to be used as an implementation contract of EternalStorageProxy contract.
-*/
-contract HomeStakeTokenMediator is BasicStakeTokenMediator, HomeStakeTokenFeeManager {
- bytes32 internal constant MINT_HANDLER = 0x8a8236f871f2bbb44f59e8c68b82f7587d19c987e09aba39148cc97ea004a32e; // keccak256(abi.encodePacked("mintHandler"))
-
- /**
- * Initializes home mediator
- * @param _bridgeContract HomeAMB bridge contract
- * @param _mediatorContract address of the mediator contract in the Foreign chain
- * @param _erc677token address of STAKE token in the Home chain
- * @param _dailyLimitMaxPerTxMinPerTxArray Home limits for outgoing transfers
- * @param _executionDailyLimitExecutionMaxPerTxArray Home execution limits for incoming transfers
- * @param _requestGasLimit gas limit used for AMB operations
- * @param _decimalShift decimal shift for bridged STAKE token
- * @param _owner address of new bridge owner
- */
- function initialize(
- address _bridgeContract,
- address _mediatorContract,
- address _erc677token,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256[2] _executionDailyLimitExecutionMaxPerTxArray, // [ 0 = _executionDailyLimit, 1 = _executionMaxPerTx ]
- uint256 _requestGasLimit,
- int256 _decimalShift,
- address _owner
- ) public returns (bool) {
- addressStorage[MINT_HANDLER] = _erc677token;
- return
- super.initialize(
- _bridgeContract,
- _mediatorContract,
- _erc677token,
- _dailyLimitMaxPerTxMinPerTxArray,
- _executionDailyLimitExecutionMaxPerTxArray,
- _requestGasLimit,
- _decimalShift,
- _owner
- );
- }
-
- /**
- * Initializes rewardable home mediator
- * @param _bridgeContract HomeAMB bridge contract
- * @param _mediatorContract address of the mediator contract in the Foreign chain
- * @param _erc677token address of STAKE token in the Home chain
- * @param _dailyLimitMaxPerTxMinPerTxArray Home limits for outgoing transfers
- * @param _executionDailyLimitExecutionMaxPerTxArray Home execution limits for incoming transfers
- * @param _requestGasLimit gas limit used for AMB operations
- * @param _decimalShift decimal shift for bridged STAKE token
- * @param _owner address of new bridge owner
- * @param _blockReward address of block reward contract used for fee distribution
- * @param _fee initial home fee
- */
- function rewardableInitialize(
- address _bridgeContract,
- address _mediatorContract,
- address _erc677token,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256[2] _executionDailyLimitExecutionMaxPerTxArray, // [ 0 = _executionDailyLimit, 1 = _executionMaxPerTx ]
- uint256 _requestGasLimit,
- int256 _decimalShift,
- address _owner,
- address _blockReward,
- uint256 _fee
- ) external returns (bool) {
- _setFee(_fee);
- _setBlockRewardContract(_blockReward);
- return
- initialize(
- _bridgeContract,
- _mediatorContract,
- _erc677token,
- _dailyLimitMaxPerTxMinPerTxArray,
- _executionDailyLimitExecutionMaxPerTxArray,
- _requestGasLimit,
- _decimalShift,
- _owner
- );
- }
-
- /**
- * @dev Allows to transfer token ownership to different proxy contract.
- * Can be called only once, when mediator is the current owner of a token.
- * All subsequent calls to erc677 token will be done through new proxy contract.
- * @param _owner token proxy contract address
- */
- function transferTokenOwnership(address _owner) external onlyOwner {
- Ownable(erc677token()).transferOwnership(_owner);
- }
-
- /**
- * @dev Updates address of contract used for handling mint operations,
- * all subsequent mint operations will be called through this contract
- * @param _mintHandler address of new contract
- */
- function setMintHandler(address _mintHandler) external onlyOwner {
- require(AddressUtils.isContract(_mintHandler));
- addressStorage[MINT_HANDLER] = _mintHandler;
- }
-
- /**
- * @dev Retrieves currently used contract for handling mint operations, defaults to token itself
- * @return address of mint handler contract
- */
- function getMintHandler() public view returns (IMintHandler) {
- return IMintHandler(addressStorage[MINT_HANDLER]);
- }
-
- /**
- * @dev Executes action on the request to deposit tokens relayed from the other network
- * @param _recipient address of tokens receiver
- * @param _value amount of bridged tokens
- */
- function executeActionOnBridgedTokens(address _recipient, uint256 _value) internal {
- uint256 value = _shiftValue(_value);
- bytes32 _messageId = messageId();
- getMintHandler().mint(_recipient, value);
- emit TokensBridged(_recipient, value, _messageId);
- }
-
- /**
- * @dev Executes action on withdrawal of bridged tokens
- * @param _token address of token contract
- * @param _from address of tokens sender
- * @param _value requsted amount of bridged tokens
- * @param _data alternative receiver, if specified
- */
- function bridgeSpecificActionsOnTokenTransfer(ERC677 _token, address _from, uint256 _value, bytes _data) internal {
- if (!lock()) {
- // burn all incoming tokens
- IBurnableMintableERC677Token(_token).burn(_value);
-
- if (isFeeCollectingActivated()) {
- uint256 fee = calculateFee(_value);
- // the calculated fee is subtracted from the original value
- passMessage(_from, chooseReceiver(_from, _data), _value.sub(fee));
- if (fee > 0) {
- // the fee manager will take care about fee distribution
- _distributeFee(fee);
- }
- } else {
- passMessage(_from, chooseReceiver(_from, _data), _value);
- }
- }
- }
-
- /**
- * @dev Withdraws the erc20 tokens or native coins from this contract.
- * @param _token address of the claimed token or address(0) for native coins.
- * @param _to address of the tokens/coins receiver.
- */
- function claimTokens(address _token, address _to) external onlyIfUpgradeabilityOwner {
- // For home side of the bridge, tokens are not locked at the contract, they are minted and burned instead.
- // So, its is safe to allow claiming of any tokens. Native coins are allowed as well.
- claimValues(_token, _to);
- }
-
- /**
- * @dev Executes action on relayed request to fix the failed transfer of tokens
- * @param _recipient address of tokens receiver
- * @param _value amount of fixed tokens
- */
- function executeActionOnFixedTokens(address _recipient, uint256 _value) internal {
- getMintHandler().mint(_recipient, _value);
- }
-}
diff --git a/contracts/upgradeable_contracts/amb_erc677_to_erc677/callflows.md b/contracts/upgradeable_contracts/amb_erc677_to_erc677/callflows.md
deleted file mode 100644
index cd3903b49..000000000
--- a/contracts/upgradeable_contracts/amb_erc677_to_erc677/callflows.md
+++ /dev/null
@@ -1,384 +0,0 @@
-# STAKE AMB extension call flows
-
-The call flows below document sequences of contracts methods invocations to cover the main STAKE Arbitrary Message Bridge extension operations.
-
-It is assumed that scenarios involving the STAKE extension mediators will operate with the following deployed contracts:
- * STAKE: bridgeable token on the Ethereum Mainnet (Foreign) side:
- * [`0x0Ae055097C6d159879521C384F1D2123D1f195e6`](https://etherscan.io/address/0x0Ae055097C6d159879521C384F1D2123D1f195e6)
- * STAKE/xDai: mintable token on the xDai (Home) side:
- * [`0xAb84415fBB0D35abc08dee250356F19Bc37aBaeA`](https://blockscout.com/poa/xdai/address/0xAb84415fBB0D35abc08dee250356F19Bc37aBaeA)
- * Block reward contract on the xDai side:
- * [`0x481c034c6d9441db23Ea48De68BCAe812C5d39bA`](https://blockscout.com/poa/xdai/address/0x481c034c6d9441db23Ea48De68BCAe812C5d39bA)
-
-
-## Tokens relay: successful path
-
-### Sending STAKE tokens from Foreign to Home
-
-The scenario to STAKE tokens to another side of the bridge locks the STAKE tokens on the mediator contract on originating (Foreign) bridge side. Then, the mediator on the terminating (Home) bridge side mints some amount of STAKE/xDai tokens.
-
-#### Request
-
-Since the STAKE token contract is ERC677 compatible, the `transferAndCall` method is used to request the value shift from STAKE to STAKE/xDai.
-
-```=
->>Token
-ERC677BridgeToken::transferAndCall
-..ERC677BridgeToken::_superTransfer
-....ERC20::transfer
-......ERC20::_transfer
-........emit Transfer
-..emit Transfer
-..ERC677BridgeToken::_contractFallback
->>Mediator
-....BasicAMBErc677ToErc677::onTokenTransfer
-......ForeignStakeTokenMediator::bridgeSpecificActionsOnTokenTransfer
-........TokenBridgeMediator::passMessage
-..........TokenBridgeMediator::setMessageHashValue
-..........TokenBridgeMediator::setMessageHashRecipient
->>Bridge
-..........MessageDelivery::requireToPassMessage
-............ForeignAMB::emitEventOnMessageRequest
-..............emit UserRequestForAffirmation
-```
-
-#### Execution
-
-```=
->>Bridge
-BasicHomeAMB::executeAffirmation
-..BasicHomeAMB::handleMessage
-....ArbitraryMessage::unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setTransactionHash
->>Mediator
-........TokenBridgeMediator::handleBridgedTokens
-..........HomeStakeTokenMediator::executeActionOnBridgedTokens
->>Token
-............MintableToken::mint
->>Mediator
-............emit TokensBridged
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......HomeAMB::emitEventOnMessageProcessed
-........emit AffirmationCompleted
-```
-
-### Sending STAKE/xDai tokens from Home to Foreign
-
-For the scenario to exchange STAKE/xDai tokens back to the STAKE tokens, the mediator contract on the originating (Home) bridge side burns the STAKE/xDai tokens. The mediator of the terminating bridge side unlocks the STAKE tokens in favor of the originating request sender.
-
-#### Request
-
-Since the STAKE/xDai token contract is ERC677 compatible, the `transferAndCall` method is used to request the value shift from STAKE/xDai to STAKE.
-
-If it is configured, the fee manager is involved to calculate and distribute fees. The fee distribution happens at the moment of handling the request by the originating (Home) side. It means that fees are collected _BEFORE_ the token exchange completion by the terminating (Foreign) side. The actual fee distribution is delegated to the Block Reward contract by the fee manager -- it will mint the STAKE/xDai tokens and distribute them among the POSDAO consensus stakers. The mediator contract on the terminating side receives the amount of tokens to unlock reduced by amount of fees.
-
-```=
->>Token
-ERC677BridgeToken::transferAndCall
-..ERC677BridgeToken::superTransfer
-....BasicToken::transfer
-......emit Transfer
-..emit Transfer
-..ERC677BridgeToken::contractFallback
->>Mediator
-....BasicAMBErc677ToErc677::onTokenTransfer
-......HomeStakeTokenMediator::bridgeSpecificActionsOnTokenTransfer
->>Token
-........BurnableToken::burn
-..........BurnableToken::_burn
->>Mediator
-........TokenBridgeMediator::passMessage
-..........TokenBridgeMediator::setMessageHashValue
-..........TokenBridgeMediator::setMessageHashRecipient
->>Bridge
-..........MessageDelivery::requireToPassMessage
-............ForeignAMB::emitEventOnMessageRequest
-..............emit UserRequestForSignature
->>BlockReward
-........HomeStakeTokenFeeManager::_distributeFee
-..........BlockRewardAuRaTokens::addBridgeTokenRewardReceivers
-```
-
-#### Execution
-
-As per the nature of the STAKE tokens economic (related how POSDAO stakers receives the reward) it is possible that the amount of the STAKE/xDai tokens is larger than amount of the STAKE tokens locked on the STAKE extension.
-
-That is why the extension has privileges to mint STAKE tokens if it is necessary. But this will happen only in the case when the amount of locked STAKE tokens is less than the value exchanged through the bridge.
-
-The calls flow provided below consider only the case when the balance of the Foreign mediator contract is enough to unlock requested amount of STAKE tokens.
-
-```=
->>Bridge
-BasicForeignAMB::executeSignatures
-..ArbitraryMessage.unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setTransactionHash
->>Mediator
-........TokenBridgeMediator::handleBridgedTokens
-..........ForeignStakeTokenMediator::executeActionOnBridgedTokens
-............ForeignStakeTokenMediator::_transferWithOptionalMint
->>Token
-..............ERC677BridgeToken::transfer
-................ERC677BridgeToken::_superTransfer
-..................ERC20::transfer
-....................ERC20::_transfer
-................ERC677BridgeToken::_callAfterTransfer
-..................ERC677BridgeToken::_contractFallback
-....................::onTokenTransfer
-......................<######>
->>Mediator
-............emit TokensBridged
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......ForeignAMB::emitEventOnMessageProcessed
-........emit RelayedMessage
-```
-
-## Tokens relay: failure and recovery
-
-Failures in the mediator contract at the moment to complete a relay operation could cause imbalance of the extension due to the asynchronous nature of the Arbitrary Message Bridge. Therefore the feature to recover the balance of the STAKE extension is very important for the extension healthiness.
-
-For the mediator contracts there is a possibility to provide a way how to recover an operation if the data relay request has been failed within the mediator contract on another side.
-
-For the token bridging this means that:
- * if the operation to mint the STAKE/xDai tokens as part of the Foreign->Home request processing was failed it is possible to unlock the STAKE tokens on the Foreign side;
- * if the operation to unlock the STAKE tokens as part of the Home->Foreign request processing was failed it is possible to mint the burnt STAKE/xDai tokens on the Foreign side.
-
-The mediator can get the status of the corresponding relay request from the bridge contract by using the id of this request (originating transaction hash). So, as soon as a user would like to perform recovery, they send a call with the request id to the mediator contract and if the request was failed indeed the mediator originates the recovery message to the mediator on another side. The recovery messages contain the same information as it was used by the tokens relay request, so the terminating mediator checks that such request was registered and executes the actual recovery by using amount of tokens from the request and the request sender.
-
-It is important that the recovery must be performed without the extension admin attendance.
-
-### Failed attempt to relay tokens from Foreign to Home
-
-#### Execution Failure
-
-A failure happens within the message handler on the mediator contract's side when the Home bridge contract passes the message to it.
-
-```=
->>Bridge
-BasicHomeAMB::executeAffirmation
-..BasicHomeAMB::handleMessage
-....ArbitraryMessage::unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setTransactionHash
->>Mediator
-........[failed TokenBridgeMediator::handleBridgedTokens]
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......MessageProcessor::setFailedMessageDataHash
-......MessageProcessor::setFailedMessageReceiver
-......MessageProcessor::setFailedMessageSender
-......HomeAMB::emitEventOnMessageProcessed
-........emit AffirmationCompleted
-```
-
-#### Recovery initialization
-
-As soon as a user identified a message transfer failure (e.g. the corresponding amount of STAKE/xDai tokens did not appear on the user account balance on the Home chain), they call the `requestFailedMessageFix` method on the Home mediator contract. Anyone is able to call this method by specifying the message id (the originating transaction hash). The method requests the bridge contract whether the corresponding message was failed indeed. That is why the operation is safe to perform by anyone.
-
-```=
->>Mediator
-TokenBridgeMediator::requestFailedMessageFix
->>Bridge
-..MessageProcessor::messageCallStatus
-..MessageProcessor::failedMessageReceiver
-..MessageProcessor::failedMessageSender
-..MessageProcessor::failedMessageDataHash
-..MessageDelivery::requireToPassMessage
-....HomeAMB::emitEventOnMessageRequest
-......emit UserRequestForSignature
-```
-
-#### Recovery completion
-
-The Foreign chain initially originated the request that is why the extension is imbalances - more STAKE tokens are locked on the Foreign side than STAKE/xDai tokens minted on the Home side. Therefore the appeared message to invoke `fixFailedMessage` causes unlocking of STAKE tokens.
-
-```=
->>Bridge
-BasicForeignAMB::executeSignatures
-..ArbitraryMessage.unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setTransactionHash
->>Mediator
-........TokenBridgeMediator::fixFailedMessage
-..........TokenBridgeMediator::messageHashRecipient
-..........TokenBridgeMediator::messageHashValue
-..........ForeignStakeTokenMediator::executeActionOnFixedTokens
-............ForeignStakeTokenMediator::_transferWithOptionalMint
->>Token
-..............ERC677BridgeToken::transfer
-................ERC677BridgeToken::_superTransfer
-..................ERC20::transfer
-....................ERC20::_transfer
-................ERC677BridgeToken::_callAfterTransfer
-..................ERC677BridgeToken::_contractFallback
-....................::onTokenTransfer
-......................<######>
->>Mediator
-..........emit FailedMessageFixed
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......ForeignAMB::emitEventOnMessageProcessed
-........emit RelayedMessage
-```
-
-### Failed attempt to relay tokens from Home to Foreign
-
-#### Execution Failure
-
-A failure happens within the message handler on the mediator contract's side when the Foreign bridge contract passes the message to it.
-
-```=
->>Bridge
-BasicForeignAMB::executeSignatures
-..ArbitraryMessage.unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setTransactionHash
->>Mediator
-........[failed TokenBridgeMediator::handleBridgedTokens]
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......MessageProcessor::setFailedMessageDataHash
-......MessageProcessor::setFailedMessageReceiver
-......MessageProcessor::setFailedMessageSender
-......ForeignAMB::emitEventOnMessageProcessed
-........emit RelayedMessage
-```
-
-#### Recovery initialization
-
-As soon as a user identified a message transfer failure (e.g. the corresponding amount of STAKE tokens did not appear on the user account balance on the Foreign chain), they call the `requestFailedMessageFix` method on the Foreign mediator contract. Anyone is able to call this method by specifying the message id (the originating transaction hash). The method requests the bridge contract whether the corresponding message was failed indeed. That is why the operation is safe to perform by anyone.
-
-```=
->>Mediator
-TokenBridgeMediator::requestFailedMessageFix
->>Bridge
-..MessageProcessor::messageCallStatus
-..MessageProcessor::failedMessageReceiver
-..MessageProcessor::failedMessageSender
-..MessageProcessor::failedMessageDataHash
-..MessageDelivery::requireToPassMessage
-....ForeignAMB::emitEventOnMessageRequest
-......emit UserRequestForAffirmation
-```
-
-#### Recovery completion
-
-The Home chain initially originated the request. It has no STAKE/xDai tokens anymore on the mediator contract balance since they were burnt as part of the request -- the extension is imbalanced. That is why the appeared message to invoke `fixFailedMessage` causes new STAKE/xDai tokens minting.
-
-```=
->>Bridge
-BasicHomeAMB::executeAffirmation
-..BasicHomeAMB::handleMessage
-....ArbitraryMessage::unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setTransactionHash
->>Mediator
-........TokenBridgeMediator::fixFailedMessage
-..........TokenBridgeMediator::messageHashRecipient
-..........TokenBridgeMediator::messageHashValue
-..........HomeStakeTokenMediator::executeActionOnFixedTokens
->>Token
-............Address::MintableToken::mint
->>Mediator
-..........emit FailedMessageFixed
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......HomeAMB::emitEventOnMessageProcessed
-........emit AffirmationCompleted
-```
-
-## Tokens relay to an alternative receiver
-
-The scenarios for the feature "Alternative receiver" are considered separately since the call flows of the originating transactions are slightly different.
-
-The idea of the feature is that a user invokes a special method (`relayTokens`) on the mediator contract in order to specify the receiver of the tokens on the another side. So, the tokens will be unlocked/minted in favor of the specified account rather than the request originator as it is assumed by the general approach.
-
-### Change receiver for Foreign to Home relay operation
-
-The `relayTokens` method in the mediator contract on the Foreign side must be executed only after approving the mediator to transfer STAKE tokens. So, the originating action consists of two steps:
- * the user calls `approve` from the STAKE token contract
- * the user calls `relayTokens` from the mediator contract by specifying both the receiver of tokens on another side and the amount of tokens to exchange.
-
-This will allow to the mediator contract to call the `transferFrom` method from the token contract to receive and lock tokens.
-
-#### Request
-
-```=
->>Mediator
-BasicAMBErc677ToErc677::relayTokens
->>Token
-..ERC677BridgeToken::transferFrom
-....ERC677BridgeToken::_superTransferFrom
-......ERC20Permittable::transferFrom
-........ERC20::_transfer
-..........emit Transfer
-....ERC677BridgeToken::_callAfterTransfer
-......ERC677BridgeToken::_contractFallback
->>Mediator
-........BasicAMBErc677ToErc677::onTokenTransfer
-..........ForeignStakeTokenMediator::bridgeSpecificActionsOnTokenTransfer
-............TokenBridgeMediator::passMessage
-..............TokenBridgeMediator::setMessageHashValue
-..............TokenBridgeMediator::setMessageHashRecipient
->>Bridge
-..............MessageDelivery::requireToPassMessage
-................ForeignAMB::emitEventOnMessageRequest
-..................emit UserRequestForAffirmation
-```
-
-#### Execution
-
-The same as for the general approach
-
-### Change receiver for Home to Foreign relay operation
-
-The mediator on the Home side also provides the `relayTokens` method. Prior to invoke this method, the user must call `approve` from the STAKE/xDai token contract.
-
-#### Request
-
-```=
->>Mediator
-BasicAMBErc677ToErc677::relayTokens
->>Token
-..ERC677BridgeTokenRewardable::transferFrom
-....PermittableToken::transferFrom
-......emit Transfer
-......ERC677BridgeToken::callAfterTransfer
-........ERC677BridgeToken::contractFallback
->>Mediator
-..........BasicAMBErc677ToErc677::onTokenTransfer
-............HomeStakeTokenMediator::bridgeSpecificActionsOnTokenTransfer
->>Token
-..............BurnableToken::burn
-................BurnableToken::_burn
->>Mediator
-..............TokenBridgeMediator::passMessage
-................TokenBridgeMediator::setMessageHashValue
-................TokenBridgeMediator::setMessageHashRecipient
->>Bridge
-................MessageDelivery::requireToPassMessage
-..................ForeignAMB::emitEventOnMessageRequest
-....................emit UserRequestForSignature
->>BlockReward
-..............HomeStakeTokenFeeManager::_distributeFee
-................BlockRewardAuRaTokens::addBridgeTokenRewardReceivers
-```
-
-#### Execution
-
-The same as for the general approach
\ No newline at end of file
diff --git a/contracts/upgradeable_contracts/amb_native_to_erc20/BasicAMBNativeToErc20.sol b/contracts/upgradeable_contracts/amb_native_to_erc20/BasicAMBNativeToErc20.sol
deleted file mode 100644
index ea456ce88..000000000
--- a/contracts/upgradeable_contracts/amb_native_to_erc20/BasicAMBNativeToErc20.sol
+++ /dev/null
@@ -1,84 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../Initializable.sol";
-import "../Upgradeable.sol";
-import "../Claimable.sol";
-import "../VersionableBridge.sol";
-import "../TokenBridgeMediator.sol";
-import "../RewardableMediator.sol";
-
-/**
-* @title BasicAMBNativeToErc20
-* @dev Common mediator functionality for native-to-erc20 bridge intended to work on top of AMB bridge.
-*/
-contract BasicAMBNativeToErc20 is
- Initializable,
- Upgradeable,
- Claimable,
- VersionableBridge,
- TokenBridgeMediator,
- RewardableMediator
-{
- /**
- * @dev Stores the initial parameters of the mediator.
- * @param _bridgeContract the address of the AMB bridge contract.
- * @param _mediatorContract the address of the mediator contract on the other network.
- * @param _dailyLimitMaxPerTxMinPerTxArray array with limit values for the assets to be bridged to the other network.
- * [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
- * @param _executionDailyLimitExecutionMaxPerTxArray array with limit values for the assets bridged from the other network.
- * [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
- * @param _requestGasLimit the gas limit for the message execution.
- * @param _decimalShift number of decimals shift required to adjust the amount of tokens bridged.
- * @param _owner address of the owner of the mediator contract
- * @param _feeManager address of the fee manager contract
- */
- function _initialize(
- address _bridgeContract,
- address _mediatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray,
- uint256[2] _executionDailyLimitExecutionMaxPerTxArray,
- uint256 _requestGasLimit,
- int256 _decimalShift,
- address _owner,
- address _feeManager
- ) internal {
- require(!isInitialized());
-
- _setBridgeContract(_bridgeContract);
- _setMediatorContractOnOtherSide(_mediatorContract);
- _setRequestGasLimit(_requestGasLimit);
- _setLimits(_dailyLimitMaxPerTxMinPerTxArray);
- _setExecutionLimits(_executionDailyLimitExecutionMaxPerTxArray);
- _setDecimalShift(_decimalShift);
- _setFeeManagerContract(_feeManager);
- _setOwner(_owner);
- }
-
- /**
- * @dev Tells the bridge interface version that this contract supports.
- * @return major value of the version
- * @return minor value of the version
- * @return patch value of the version
- */
- function getBridgeInterfacesVersion() external pure returns (uint64 major, uint64 minor, uint64 patch) {
- return (1, 2, 0);
- }
-
- /**
- * @dev Tells the bridge mode that this contract supports.
- * @return _data 4 bytes representing the bridge mode
- */
- function getBridgeMode() external pure returns (bytes4 _data) {
- return 0x582ed8fd; // bytes4(keccak256(abi.encodePacked("native-to-erc-amb")))
- }
-
- /**
- * @dev Execute the action to be performed when the bridge tokens are out of execution limits.
- */
- function executeActionOnBridgedTokensOutOfLimit(
- address, /* _recipient */
- uint256 /* _value */
- ) internal {
- revert();
- }
-}
diff --git a/contracts/upgradeable_contracts/amb_native_to_erc20/ForeignAMBNativeToErc20.sol b/contracts/upgradeable_contracts/amb_native_to_erc20/ForeignAMBNativeToErc20.sol
deleted file mode 100644
index 4cf4a6026..000000000
--- a/contracts/upgradeable_contracts/amb_native_to_erc20/ForeignAMBNativeToErc20.sol
+++ /dev/null
@@ -1,188 +0,0 @@
-pragma solidity 0.4.24;
-
-import "./BasicAMBNativeToErc20.sol";
-import "../BaseERC677Bridge.sol";
-import "../../interfaces/IBurnableMintableERC677Token.sol";
-import "../ReentrancyGuard.sol";
-
-/**
-* @title ForeignAMBNativeToErc20
-* @dev Foreign mediator implementation for native-to-erc20 bridge intended to work on top of AMB bridge.
-* It is design to be used as implementation contract of EternalStorageProxy contract.
-*/
-contract ForeignAMBNativeToErc20 is BasicAMBNativeToErc20, ReentrancyGuard, BaseERC677Bridge {
- /**
- * @dev Stores the initial parameters of the mediator.
- * @param _bridgeContract the address of the AMB bridge contract.
- * @param _mediatorContract the address of the mediator contract on the other network.
- * @param _dailyLimitMaxPerTxMinPerTxArray array with limit values for the assets to be bridged to the other network.
- * [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
- * @param _executionDailyLimitExecutionMaxPerTxArray array with limit values for the assets bridged from the other network.
- * [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
- * @param _requestGasLimit the gas limit for the message execution.
- * @param _decimalShift number of decimals shift required to adjust the amount of tokens bridged.
- * @param _owner address of the owner of the mediator contract
- * @param _erc677token address of the erc677 token contract
- * @param _feeManager address of the fee manager contract
- */
- function initialize(
- address _bridgeContract,
- address _mediatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
- uint256[2] _executionDailyLimitExecutionMaxPerTxArray, // [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
- uint256 _requestGasLimit,
- int256 _decimalShift,
- address _owner,
- address _erc677token,
- address _feeManager
- ) external onlyRelevantSender returns (bool) {
- _initialize(
- _bridgeContract,
- _mediatorContract,
- _dailyLimitMaxPerTxMinPerTxArray,
- _executionDailyLimitExecutionMaxPerTxArray,
- _requestGasLimit,
- _decimalShift,
- _owner,
- _feeManager
- );
- setErc677token(_erc677token);
- setInitialize();
- return isInitialized();
- }
-
- /**
- * @dev Public getter for token contract.
- * @return address of the used token contract
- */
- function erc677token() public view returns (ERC677) {
- return _erc677token();
- }
-
- /**
- * @dev Mint the amount of tokens that were bridged from the other network.
- * If configured, it calculates, subtract and distribute the fees among the reward accounts.
- * @param _receiver address that will receive the tokens
- * @param _value amount of tokens to be received
- */
- function executeActionOnBridgedTokens(address _receiver, uint256 _value) internal {
- uint256 valueToMint = _unshiftValue(_value);
-
- bytes32 _messageId = messageId();
- IMediatorFeeManager feeManager = feeManagerContract();
- if (feeManager != address(0)) {
- uint256 fee = feeManager.calculateFee(valueToMint);
- if (fee != 0) {
- distributeFee(feeManager, fee, _messageId);
- valueToMint = valueToMint.sub(fee);
- }
- }
-
- IBurnableMintableERC677Token(erc677token()).mint(_receiver, valueToMint);
- emit TokensBridged(_receiver, valueToMint, _messageId);
- }
-
- /**
- * @dev Mint back the amount of tokens that were bridged to the other network but failed.
- * @param _receiver address that will receive the tokens
- * @param _value amount of tokens to be received
- */
- function executeActionOnFixedTokens(address _receiver, uint256 _value) internal {
- IBurnableMintableERC677Token(erc677token()).mint(_receiver, _value);
- }
-
- /**
- * @dev It will initiate the bridge operation that will burn the amount of tokens transferred and unlock the native tokens on
- * the other network. The user should first call Approve method of the ERC677 token.
- * @param _receiver address that will receive the native tokens on the other network.
- * @param _value amount of tokens to be transferred to the other network.
- */
- function relayTokens(address _receiver, uint256 _value) external {
- // This lock is to prevent calling passMessage twice.
- // When transferFrom is called, after the transfer, the ERC677 token will call onTokenTransfer from this contract
- // which will call passMessage.
- require(!lock());
- ERC677 token = erc677token();
- address to = address(this);
- require(withinLimit(_value));
- addTotalSpentPerDay(getCurrentDay(), _value);
-
- setLock(true);
- token.transferFrom(msg.sender, to, _value);
- setLock(false);
- bridgeSpecificActionsOnTokenTransfer(token, msg.sender, _value, abi.encodePacked(_receiver));
- }
-
- /**
- * @dev This method is called when transferAndCall is used from ERC677 to transfer the tokens to this contract.
- * It will initiate the bridge operation that will burn the amount of tokens transferred and unlock the native tokens on
- * the other network.
- * @param _from address that transferred the tokens.
- * @param _value amount of tokens transferred.
- * @param _data this parameter could contain the address of an alternative receiver of the tokens on the other network,
- * otherwise it will be empty.
- */
- function onTokenTransfer(address _from, uint256 _value, bytes _data) external returns (bool) {
- ERC677 token = erc677token();
- require(msg.sender == address(token));
- if (!lock()) {
- require(withinLimit(_value));
- addTotalSpentPerDay(getCurrentDay(), _value);
- }
- bridgeSpecificActionsOnTokenTransfer(token, _from, _value, _data);
- return true;
- }
-
- /**
- * @dev Burns the amount of tokens and makes the request to unlock the native tokens on the other network.
- * @param _token address of the ERC677 token.
- * @param _from address that transferred the tokens.
- * @param _value amount of tokens transferred.
- * @param _data this parameter could contain the address of an alternative receiver of the native tokens on the other
- * network, otherwise it will be empty.
- */
- function bridgeSpecificActionsOnTokenTransfer(ERC677 _token, address _from, uint256 _value, bytes _data) internal {
- if (!lock()) {
- IBurnableMintableERC677Token(_token).burn(_value);
- passMessage(_from, chooseReceiver(_from, _data), _value);
- }
- }
-
- /**
- * @dev Mint the fee amount of tokens to the fee manager contract.
- * @param _feeManager address that will receive the minted tokens.
- * @param _fee amount of tokens to be minted.
- */
- function onFeeDistribution(address _feeManager, uint256 _fee) internal {
- IBurnableMintableERC677Token(erc677token()).mint(_feeManager, _fee);
- }
-
- /**
- * @dev Allows to transfer any locked token on this contract that is not part of the bridge operations.
- * @param _token address of the token, if it is not provided, native tokens will be transferred.
- * @param _to address that will receive the locked tokens on this contract.
- */
- function claimTokens(address _token, address _to) external onlyIfUpgradeabilityOwner {
- // For foreign side of the bridge, tokens are not locked at the contract, they are minted and burned instead.
- // So, its is safe to allow claiming of any tokens. Native coins are allowed as well.
- claimValues(_token, _to);
- }
-
- /**
- * @dev Allows to transfer any locked token on the ERC677 token contract.
- * @param _token address of the token, if it is not provided, native tokens will be transferred.
- * @param _to address that will receive the locked tokens on this contract.
- */
- function claimTokensFromErc677(address _token, address _to) external onlyIfUpgradeabilityOwner {
- IBurnableMintableERC677Token(erc677token()).claimTokens(_token, _to);
- }
-
- /**
- * @dev Tells the address of the mediator contract on the other side, used by chooseReceiver method
- * to avoid sending the native tokens to that address.
- * @return address of the mediator contract con the other side
- */
- function bridgeContractOnOtherSide() internal view returns (address) {
- return mediatorContractOnOtherSide();
- }
-}
diff --git a/contracts/upgradeable_contracts/amb_native_to_erc20/ForeignFeeManagerAMBNativeToErc20.sol b/contracts/upgradeable_contracts/amb_native_to_erc20/ForeignFeeManagerAMBNativeToErc20.sol
deleted file mode 100644
index 69a25f174..000000000
--- a/contracts/upgradeable_contracts/amb_native_to_erc20/ForeignFeeManagerAMBNativeToErc20.sol
+++ /dev/null
@@ -1,55 +0,0 @@
-pragma solidity 0.4.24;
-
-import "openzeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol";
-import "openzeppelin-solidity/contracts/AddressUtils.sol";
-import "../BaseMediatorFeeManager.sol";
-
-/**
-* @title ForeignFeeManagerAMBNativeToErc20
-* @dev Implements the logic to distribute fees from the native to erc20 mediator contract operations.
-* The fees are distributed in the form of tokens to the list of reward accounts.
-*/
-contract ForeignFeeManagerAMBNativeToErc20 is BaseMediatorFeeManager {
- address public token;
-
- /**
- * @dev Stores the initial parameters of the fee manager.
- * @param _owner address of the owner of the fee manager contract.
- * @param _fee the fee percentage amount.
- * @param _rewardAccountList list of addresses that will receive the fee rewards.
- * @param _token address of the token in which the fees will be received.
- */
- constructor(address _owner, uint256 _fee, address[] _rewardAccountList, address _mediatorContract, address _token)
- public
- BaseMediatorFeeManager(_owner, _fee, _rewardAccountList, _mediatorContract)
- {
- _setToken(_token);
- }
-
- /**
- * @dev Sets the token address.
- * Only the owner can call this method.
- * @param _newToken address of the token in which the fees will be received.
- */
- function setToken(address _newToken) external onlyOwner {
- _setToken(_newToken);
- }
-
- /**
- * @dev Stores the token address.
- * @param _newToken address of the token in which the fees will be received.
- */
- function _setToken(address _newToken) internal {
- require(AddressUtils.isContract(_newToken));
- token = _newToken;
- }
-
- /**
- * @dev Transfer the fee amount of tokens to the reward account.
- * @param _rewardAddress address that will receive the tokens.
- * @param _fee amount of tokens to be transferred.
- */
- function onFeeDistribution(address _rewardAddress, uint256 _fee) internal {
- ERC20Basic(token).transfer(_rewardAddress, _fee);
- }
-}
diff --git a/contracts/upgradeable_contracts/amb_native_to_erc20/HomeAMBNativeToErc20.sol b/contracts/upgradeable_contracts/amb_native_to_erc20/HomeAMBNativeToErc20.sol
deleted file mode 100644
index 6a98ef272..000000000
--- a/contracts/upgradeable_contracts/amb_native_to_erc20/HomeAMBNativeToErc20.sol
+++ /dev/null
@@ -1,153 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../MediatorBalanceStorage.sol";
-import "./BasicAMBNativeToErc20.sol";
-
-/**
-* @title HomeAMBNativeToErc20
-* @dev Home mediator implementation for native-to-erc20 bridge intended to work on top of AMB bridge.
-* It is design to be used as implementation contract of EternalStorageProxy contract.
-*/
-contract HomeAMBNativeToErc20 is BasicAMBNativeToErc20, MediatorBalanceStorage {
- /**
- * @dev Stores the initial parameters of the mediator.
- * @param _bridgeContract the address of the AMB bridge contract.
- * @param _mediatorContract the address of the mediator contract on the other network.
- * @param _dailyLimitMaxPerTxMinPerTxArray array with limit values for the assets to be bridged to the other network.
- * [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
- * @param _executionDailyLimitExecutionMaxPerTxArray array with limit values for the assets bridged from the other network.
- * [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
- * @param _requestGasLimit the gas limit for the message execution.
- * @param _decimalShift number of decimals shift required to adjust the amount of tokens bridged.
- * @param _owner address of the owner of the mediator contract
- * @param _feeManager address of the fee manager contract
- */
- function initialize(
- address _bridgeContract,
- address _mediatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
- uint256[2] _executionDailyLimitExecutionMaxPerTxArray, // [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
- uint256 _requestGasLimit,
- int256 _decimalShift,
- address _owner,
- address _feeManager
- ) external onlyRelevantSender returns (bool) {
- _initialize(
- _bridgeContract,
- _mediatorContract,
- _dailyLimitMaxPerTxMinPerTxArray,
- _executionDailyLimitExecutionMaxPerTxArray,
- _requestGasLimit,
- _decimalShift,
- _owner,
- _feeManager
- );
- setInitialize();
- return isInitialized();
- }
-
- /**
- * @dev Fallback method to be called to initiate the bridge operation of the native tokens to an erc20 representation
- * that the user will receive in the same address on the other network.
- */
- function() public payable {
- require(msg.data.length == 0);
- nativeTransfer(msg.sender);
- }
-
- /**
- * @dev Method to be called to initiate the bridge operation of the native tokens to an erc20 representation
- * that the user will receive in the address specified by parameter on the other network.
- * @param _receiver address that will receive the erc20 tokens on the other network.
- */
- function relayTokens(address _receiver) external payable {
- nativeTransfer(_receiver);
- }
-
- /**
- * @dev Validates the received native tokens and makes the request to mint the erc20 tokens on the other network.
- * @param _receiver address that will receive the erc20 tokens on the other network.
- */
- function nativeTransfer(address _receiver) internal {
- require(msg.value > 0);
- require(withinLimit(msg.value));
- addTotalSpentPerDay(getCurrentDay(), msg.value);
- _setMediatorBalance(mediatorBalance().add(msg.value));
- passMessage(msg.sender, _receiver, msg.value);
- }
-
- /**
- * @dev Transfers the amount of locked native tokens that were bridged from the other network.
- * If configured, it calculates, subtract and distribute the fees among the reward accounts.
- * @param _receiver address that will receive the native tokens
- * @param _value amount of native tokens to be received
- */
- function executeActionOnBridgedTokens(address _receiver, uint256 _value) internal {
- uint256 valueToTransfer = _shiftValue(_value);
- _setMediatorBalance(mediatorBalance().sub(valueToTransfer));
-
- bytes32 _messageId = messageId();
- IMediatorFeeManager feeManager = feeManagerContract();
- if (feeManager != address(0)) {
- uint256 fee = feeManager.calculateFee(valueToTransfer);
- if (fee != 0) {
- distributeFee(feeManager, fee, _messageId);
- valueToTransfer = valueToTransfer.sub(fee);
- }
- }
-
- Address.safeSendValue(_receiver, valueToTransfer);
- emit TokensBridged(_receiver, valueToTransfer, _messageId);
- }
-
- /**
- * @dev Transfers back the amount of locked native tokens that were bridged to the other network but failed.
- * @param _receiver address that will receive the native tokens
- * @param _value amount of native tokens to be received
- */
- function executeActionOnFixedTokens(address _receiver, uint256 _value) internal {
- _setMediatorBalance(mediatorBalance().sub(_value));
- Address.safeSendValue(_receiver, _value);
- }
-
- /**
- * @dev Transfer the fee amount as native tokens to the fee manager contract.
- * @param _feeManager address that will receive the native tokens.
- * @param _fee amount of native tokens to be distribute.
- */
- function onFeeDistribution(address _feeManager, uint256 _fee) internal {
- Address.safeSendValue(_feeManager, _fee);
- }
-
- /**
- * @dev Allows to transfer any locked token on this contract that is not part of the bridge operations.
- * Native tokens are not allowed to be claimed.
- * @param _token address of the token.
- * @param _to address that will receive the locked tokens on this contract.
- */
- function claimTokens(address _token, address _to) external onlyIfUpgradeabilityOwner {
- // Since bridged coins are locked at this contract, it is not allowed to claim them with the use of claimTokens function
- require(_token != address(0));
- claimValues(_token, _to);
- }
-
- /**
- * @dev Allows to send to the other network the amount of locked native tokens that can be forced into the contract
- * without the invocation of the required methods.
- * @param _receiver the address that will receive the tokens on the other network
- */
- function fixMediatorBalance(address _receiver) external onlyIfUpgradeabilityOwner validAddress(_receiver) {
- uint256 balance = address(this).balance;
- uint256 expectedBalance = mediatorBalance();
- require(balance > expectedBalance);
- uint256 diff = balance - expectedBalance;
- uint256 available = maxAvailablePerTx();
- require(available > 0);
- if (diff > available) {
- diff = available;
- }
- addTotalSpentPerDay(getCurrentDay(), diff);
- _setMediatorBalance(expectedBalance.add(diff));
- passMessage(_receiver, _receiver, diff);
- }
-}
diff --git a/contracts/upgradeable_contracts/amb_native_to_erc20/HomeFeeManagerAMBNativeToErc20.sol b/contracts/upgradeable_contracts/amb_native_to_erc20/HomeFeeManagerAMBNativeToErc20.sol
deleted file mode 100644
index 1b6944591..000000000
--- a/contracts/upgradeable_contracts/amb_native_to_erc20/HomeFeeManagerAMBNativeToErc20.sol
+++ /dev/null
@@ -1,40 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../../libraries/Address.sol";
-import "../BaseMediatorFeeManager.sol";
-
-/**
-* @title HomeFeeManagerAMBNativeToErc20
-* @dev Implements the logic to distribute fees from the native to erc20 mediator contract operations.
-* The fees are distributed in the form of native tokens to the list of reward accounts.
-*/
-contract HomeFeeManagerAMBNativeToErc20 is BaseMediatorFeeManager {
- /**
- * @dev Stores the initial parameters of the fee manager.
- * @param _owner address of the owner of the fee manager contract.
- * @param _fee the fee percentage amount.
- * @param _rewardAccountList list of addresses that will receive the fee rewards.
- */
- constructor(address _owner, uint256 _fee, address[] _rewardAccountList, address _mediatorContract)
- public
- BaseMediatorFeeManager(_owner, _fee, _rewardAccountList, _mediatorContract)
- {
- // solhint-disable-previous-line no-empty-blocks
- }
-
- /**
- * @dev Fallback method to receive the fees.
- */
- function() public payable {
- // solhint-disable-previous-line no-empty-blocks
- }
-
- /**
- * @dev Transfer the fee as native tokens to the reward account.
- * @param _rewardAddress address that will receive the native tokens.
- * @param _fee amount of native tokens to be distribute.
- */
- function onFeeDistribution(address _rewardAddress, uint256 _fee) internal {
- Address.safeSendValue(_rewardAddress, _fee);
- }
-}
diff --git a/contracts/upgradeable_contracts/amb_native_to_erc20/callflows.md b/contracts/upgradeable_contracts/amb_native_to_erc20/callflows.md
deleted file mode 100644
index 73d1843d7..000000000
--- a/contracts/upgradeable_contracts/amb_native_to_erc20/callflows.md
+++ /dev/null
@@ -1,364 +0,0 @@
-# native-to-ERC677 AMB extension call flows
-
-The call flows below document sequences of contracts methods invocations to cover the main native-to-ERC677 Arbitrary Message Bridge extension operations.
-
-This extension is intended to replace existing bridges: POA-POA20 bridge and WETC bridge. That is why it is assumed that it will operate together with the following deployed token contracts:
- * POA20, the bridgeable ERC677 compatible token on the Ethereum Mainnet representing POA native token from POA Network:
- * [0x6758b7d441a9739b98552b373703d8d3d14f9e62](https://etherscan.io/address/0x6758b7d441a9739b98552b373703d8d3d14f9e62)
- * WETC (Wrapped ETC), the bridgeable ERC677 compatible token on the Ethereum Mainnet representing ETC native token from Ethereum Classic:
- * [0x86aabcc646f290b9fc9bd05ce17c3858d1511da1](https://etherscan.io/address/0x86aabcc646f290b9fc9bd05ce17c3858d1511da1)
-
-So, further the Ethereum Mainnet will be considered when the Foreign chain is mentioned.
-For the Home chain there could be either the POA Network or the Ethereum Classic.
-
-## Tokens relay: successful path
-
-### Sending native tokens from Home to Foreign
-
-The scenario to pass native tokens to another side of the bridge in form of ERC677 compatible tokens locks the native tokens on the mediator contract on originating (Home) bridge side. Then the mediator on the terminating (Foreign) bridge side mints some amount of ERC677 tokens.
-
-#### Request
-
-In order to initiate the request the native tokens are sent to the payable fallback method of the mediator contract on the Home side.
-
-```=
->>Mediator
-HomeAMBNativeToErc20::()
-..HomeAMBNativeToErc20::nativeTransfer
-....TokenBridgeMediator::passMessage
-......TokenBridgeMediator::setMessageHashValue
-......TokenBridgeMediator::setMessageHashRecipient
->>Bridge
-......MessageDelivery::requireToPassMessage
-........HomeAMB::emitEventOnMessageRequest
-..........emit UserRequestForSignature
-```
-
-#### Execution
-
-It is necessary to note that the mediator on the terminating side could be configured to use a fee manager. If so, as soon as the mediator contract receives the request to mint tokens from the AMB contract, it asks the fee manager to calculate amount of fee, mints this amount of tokens in favor of the fee manage contract and initiates distribution of the fees among the fees recipients configured in the fee manager. The distribution process is to transfer a fraction of fee by using the ERC677 token contract for the corresponding recipient. When the fee is distributed, the amount of ERC677 tokens reduced by the fee amount will be minted for the address which originated the initial request on the Home chain.
-
-```=
->>Bridge
-BasicForeignAMB::executeSignatures
-..ArbitraryMessage.unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setTransactionHash
->>Mediator
-........TokenBridgeMediator::handleBridgedTokens
-..........ForeignAMBNativeToErc20::executeActionOnBridgedTokens
-............RewardableMediator::distributeFee
-..............ForeignAMBNativeToErc20::onFeeDistribution
->>Token
-................MintableToken::mint
->>Fee Manager
-..............BaseMediatorFeeManager::onTokenTransfer
-................BaseMediatorFeeManager::distributeFee
-..................ForeignFeeManagerAMBNativeToErc20::onFeeDistribution
->>Token
-....................ERC677BridgeToken::transfer
-......................ERC677BridgeToken::superTransfer
-........................BasicToken::transfer
-......................ERC677BridgeToken::callAfterTransfer
-........................ERC677BridgeToken::contractFallback
-..........................::onTokenTransfer
-............................<######>
->>Token
-............MintableToken::mint
->>Mediator
-............emit TokensBridged
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......ForeignAMB::emitEventOnMessageProcessed
-........emit RelayedMessage
-```
-
-### Sending ERC677 tokens from Foreign to Home
-
-For the scenario to exchange ERC677 tokens back to the native ones, the mediator contract on the originating (Foreign) bridge side burns the tokens. The mediator of the terminating bridge side unlocks the native tokens in favor of the originating request sender.
-
-#### Request
-
-Since the token contract is ERC677 compatible, the `transferAndCall` method is used to intiate the exchange from ERC677 tokens to native tokens.
-
-```=
->>Token
-ERC677BridgeToken::transferAndCall
-..ERC677BridgeToken::superTransfer
-....BasicToken::transfer
-......emit Transfer
-..emit Transfer
-..ERC677BridgeToken::contractFallback
->>Mediator
-....ForeignAMBNativeToErc20::onTokenTransfer
-......ForeignAMBNativeToErc20::bridgeSpecificActionsOnTokenTransfer
->>Token
-........BurnableToken::burn
-..........BurnableToken::_burn
->>Mediator
-........TokenBridgeMediator::passMessage
-..........TokenBridgeMediator::setMessageHashValue
-..........TokenBridgeMediator::setMessageHashRecipient
->>Bridge
-..........MessageDelivery::requireToPassMessage
-............ForeignAMB::emitEventOnMessageRequest
-..............emit UserRequestForAffirmation
-```
-
-#### Execution
-
-If it is configured, the fee manager is involved to calculate and distribute fees: the mediators receives the request to unlock tokens from the AMB contract, calculates the fees amount by using the fee manager, sends this amount of tokens to the fee manager and passes the control to it for the fees distribution among the accounts configured in the fee manager. The fee manager safely sends fractions of the fees to the accounts. As soon as this process finishes the mediator contract sends the reduced amount of native tokens to the initial request sender's address.
-
-```=
->>Bridge
-BasicHomeAMB::executeAffirmation
-..BasicHomeAMB::handleMessage
-....ArbitraryMessage::unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setTransactionHash
->>Mediator
-........TokenBridgeMediator::handleBridgedTokens
-..........HomeAMBNativeToErc20::executeActionOnBridgedTokens
-............MediatorBalanceStorage::_setMediatorBalance
-............RewardableMediator::distributeFee
-..............HomeAMBNativeToErc20::onFeeDistribution
-................Address::safeSendValue
->>Fee Manager
-..............BaseMediatorFeeManager::onTokenTransfer
-................BaseMediatorFeeManager::distributeFee
-..................HomeFeeManagerAMBNativeToErc20::onFeeDistribution
-....................Address::safeSendValue
->>Mediator
-............Address::safeSendValue
-............emit TokensBridged
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......HomeAMB::emitEventOnMessageProcessed
-........emit AffirmationCompleted
-```
-
-## Tokens relay: failure and recovery
-
-Failures in the mediator contract at the moment to complete a relay operation could cause imbalance of the extension due to the asynchronous nature of the Arbitrary Message Bridge. Therefore the feature to recover the balance of the native-to-ERC677 extension is very important for the extension healthiness.
-
-For the mediator contracts there is a possibility to provide a way how to recover an operation if the data relay request has been failed within the mediator contract on another side.
-
-For the token bridging this means that:
- * if the operation to mint tokens as part of the Home->Foreign request processing was failed, it is possible to unlock the tokens on the Home side;
- * if the operation to unlock tokens as part of the Foreign->Home request processing was failed, it is possible to mint the burnt tokens on the Foreign side.
-
-The mediator can get the status of the corresponding relay request from the bridge contract by using the id of this request (originating transaction hash). So, as soon as a user would like to perform recovery they send a call with the request id to the mediator contract and if such request was failed indeed, the mediator originates the recovery message to the mediator on another side. The recovery messages contain the same information as it was used by the tokens relay request, so the terminating mediator checks that such request was registered and executes the actual recovery by using amount of tokens from the request and the request sender.
-
-It is important that the recovery must be performed without the extension admin attendance.
-
-### Failed attempt to relay tokens from Home to Foreign
-
-#### Execution Failure
-
-A failure happens within the message handler on the mediator contract's side when the Foreign bridge contract passes the message to it.
-
-```=
->>Bridge
-BasicForeignAMB::executeSignatures
-..ArbitraryMessage.unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setTransactionHash
->>Mediator
-........[failed TokenBridgeMediator::handleBridgedTokens]
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......MessageProcessor::setFailedMessageDataHash
-......MessageProcessor::setFailedMessageReceiver
-......MessageProcessor::setFailedMessageSender
-......ForeignAMB::emitEventOnMessageProcessed
-........emit RelayedMessage
-```
-
-#### Recovery initialization
-
-As soon as a user identified a message transfer failure (e.g. the corresponding amount of ERC677 tokens did not appear on the user account balance on the Foreign chain), they call the `requestFailedMessageFix` method on the Foreign mediator contract. Anyone is able to call this method by specifying the message id (the originating transaction hash). The method requests the bridge contract whether the corresponding message was failed indeed. That is why the operation is safe to perform by anyone.
-
-```=
->>Mediator
-TokenBridgeMediator::requestFailedMessageFix
->>Bridge
-..MessageProcessor::messageCallStatus
-..MessageProcessor::failedMessageReceiver
-..MessageProcessor::failedMessageSender
-..MessageProcessor::failedMessageDataHash
-..MessageDelivery::requireToPassMessage
-....ForeignAMB::emitEventOnMessageRequest
-......emit UserRequestForAffirmation
-```
-
-#### Recovery completion
-
-The Home chain initially originated the request, that is why the extension is imbalances - more native tokens are locked on the Home side than ERC677 tokens are minted on the Foreign side. Therefore the appeared message to invoke `fixFailedMessage` causes unlocking of the native tokens.
-
-```=
->>Bridge
-BasicHomeAMB::executeAffirmation
-..BasicHomeAMB::handleMessage
-....ArbitraryMessage::unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setTransactionHash
->>Mediator
-........TokenBridgeMediator::fixFailedMessage
-..........TokenBridgeMediator::messageHashRecipient
-..........TokenBridgeMediator::messageHashValue
-..........HomeAMBNativeToErc20::executeActionOnFixedTokens
-............MediatorBalanceStorage::_setMediatorBalance
-............Address::safeSendValue
-..........emit FailedMessageFixed
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......HomeAMB::emitEventOnMessageProcessed
-........emit AffirmationCompleted
-```
-
-### Failed attempt to relay tokens from Foreign to Home
-
-#### Execution Failure
-
-A failure happens within the message handler on the mediator contract's side when the Home bridge contract passes the message to it.
-
-```=
->>Bridge
-BasicHomeAMB::executeAffirmation
-..BasicHomeAMB::handleMessage
-....ArbitraryMessage::unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setTransactionHash
->>Mediator
-........[failed TokenBridgeMediator::handleBridgedTokens]
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......MessageProcessor::setFailedMessageDataHash
-......MessageProcessor::setFailedMessageReceiver
-......MessageProcessor::setFailedMessageSender
-......HomeAMB::emitEventOnMessageProcessed
-........emit AffirmationCompleted
-```
-
-#### Recovery initialization
-
-As soon as a user identified a message transfer failure (e.g. the corresponding amount of native tokens did not appear on the user account balance on the Home chain), they call the `requestFailedMessageFix` method on the Home mediator contract. Anyone is able to call this method by specifying the message id (the originating transaction hash). The method requests the bridge contract whether the corresponding message was failed indeed. That is why the operation is safe to perform by anyone.
-
-```=
->>Mediator
-TokenBridgeMediator::requestFailedMessageFix
->>Bridge
-..MessageProcessor::messageCallStatus
-..MessageProcessor::failedMessageReceiver
-..MessageProcessor::failedMessageSender
-..MessageProcessor::failedMessageDataHash
-..MessageDelivery::requireToPassMessage
-....HomeAMB::emitEventOnMessageRequest
-......emit UserRequestForSignature
-```
-
-#### Recovery completion
-
-The Foreign chain initially originated the request. It has no ERC677 tokens anymore on the mediator contract balance since they were burnt as part of the request -- the extension is imbalanced. That is why the appeared message to invoke `fixFailedMessage` causes new ERC677 tokens minting.
-
-```=
->>Bridge
-BasicForeignAMB::executeSignatures
-..ArbitraryMessage.unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setTransactionHash
->>Mediator
-........TokenBridgeMediator::fixFailedMessage
-..........TokenBridgeMediator::messageHashRecipient
-..........TokenBridgeMediator::messageHashValue
-..........ForeignAMBNativeToErc20::executeActionOnFixedTokens
->>Token
-............MintableToken::mint
->>Mediator
-..........emit FailedMessageFixed
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......ForeignAMB::emitEventOnMessageProcessed
-........emit RelayedMessage
-```
-
-## Tokens relay to an alternative receiver
-
-The scenarios for the feature "Alternative receiver" are considered separately since the code flow of the originating transaction is slightly different.
-
-The idea of the feature is that a user invokes a special method (`relayTokens`) on the mediator contract in order to specify the receiver of the tokens on the another side. So, the tokens will be unlocked/minted in favor of specified account rather than the request originator as it is assumed by the general approach.
-
-### Home to Foreign
-
-The mediator on the Home side has the `relayTokens` method which is payable. The users invokes the method with specifying the amount of tokens to relay as `value` of the originating transaction.
-
-#### Request
-
-```=
->>Mediator
-HomeAMBNativeToErc20::relayTokens
-..HomeAMBNativeToErc20::nativeTransfer
-....MediatorBalanceStorage::_setMediatorBalance
-....TokenBridgeMediator::passMessage
-......TokenBridgeMediator::setMessageHashValue
-......TokenBridgeMediator::setMessageHashRecipient
->>Bridge
-......MessageDelivery::requireToPassMessage
-........HomeAMB::emitEventOnMessageRequest
-..........emit UserRequestForSignature
-```
-
-#### Execution
-
-The same as for the general approach
-
-### Foreign to Home
-
-The `relayTokens` method in the mediator contract on the Foreign side must be executed only after approving the mediator to transfer ERC677 tokens. So, the originating action consists of two steps:
- * the user calls `approve` from the token contract
- * the user calls `relayTokens` from the mediator contract by specifying both the receiver of tokens on another side and the amount of tokens to exchange.
-
-This will allow to the mediator contract to call the `transferFrom` method from the token contract to receive ERC677 tokens before burning them.
-
-#### Request
-
-```=
->>Mediator
-ForeignAMBNativeToErc20::relayTokens
->>Token
-..ERC677BridgeToken::transferFrom
-....StandardToken::transferFrom
-......emit Transfer
-....ERC677BridgeToken::callAfterTransfer
-......ERC677BridgeToken::contractFallback
->>Mediator
-........ForeignAMBNativeToErc20::onTokenTransfer
-..........ForeignAMBNativeToErc20::bridgeSpecificActionsOnTokenTransfer
->>Token
-............BurnableToken::burn
-..............BurnableToken::_burn
->>Mediator
-............TokenBridgeMediator::passMessage
-..............TokenBridgeMediator::setMessageHashValue
-..............TokenBridgeMediator::setMessageHashRecipient
->>Bridge
-..............MessageDelivery::requireToPassMessage
-................ForeignAMB::emitEventOnMessageRequest
-..................emit UserRequestForAffirmation
-```
-
-#### Execution
-
-The same as for the general approach
\ No newline at end of file
diff --git a/contracts/upgradeable_contracts/erc20_to_erc20/BasicForeignBridgeErcToErc.sol b/contracts/upgradeable_contracts/erc20_to_erc20/BasicForeignBridgeErcToErc.sol
deleted file mode 100644
index 83d3a4190..000000000
--- a/contracts/upgradeable_contracts/erc20_to_erc20/BasicForeignBridgeErcToErc.sol
+++ /dev/null
@@ -1,66 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../BasicForeignBridge.sol";
-import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";
-
-contract BasicForeignBridgeErcToErc is BasicForeignBridge {
- function _initialize(
- address _validatorContract,
- address _erc20token,
- uint256 _requiredBlockConfirmations,
- uint256 _gasPrice,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256[2] _homeDailyLimitHomeMaxPerTxArray, // [ 0 = _homeDailyLimit, 1 = _homeMaxPerTx ]
- address _owner,
- int256 _decimalShift
- ) internal {
- require(!isInitialized());
- require(AddressUtils.isContract(_validatorContract));
-
- addressStorage[VALIDATOR_CONTRACT] = _validatorContract;
- setErc20token(_erc20token);
- uintStorage[DEPLOYED_AT_BLOCK] = block.number;
- _setRequiredBlockConfirmations(_requiredBlockConfirmations);
- _setGasPrice(_gasPrice);
- _setLimits(_dailyLimitMaxPerTxMinPerTxArray);
- _setExecutionLimits(_homeDailyLimitHomeMaxPerTxArray);
- _setDecimalShift(_decimalShift);
- _setOwner(_owner);
- setInitialize();
- }
-
- function getBridgeMode() external pure returns (bytes4 _data) {
- return 0xba4690f5; // bytes4(keccak256(abi.encodePacked("erc-to-erc-core")))
- }
-
- /**
- * @dev Withdraws the erc20 tokens or native coins from this contract. Bridged token cannot be withdrawn by this function.
- * @param _token address of the claimed token or address(0) for native coins.
- * @param _to address of the tokens/coins receiver.
- */
- function claimTokens(address _token, address _to) external onlyIfUpgradeabilityOwner {
- // Since bridged tokens are locked at this contract, it is not allowed to claim them with the use of claimTokens function
- require(_token != address(erc20token()));
- claimValues(_token, _to);
- }
-
- function onExecuteMessage(
- address _recipient,
- uint256 _amount,
- bytes32 /*_txHash*/
- ) internal returns (bool) {
- addTotalExecutedPerDay(getCurrentDay(), _amount);
- uint256 amount = _unshiftValue(_amount);
- return erc20token().transfer(_recipient, amount);
- }
-
- function onFailedMessage(address, uint256, bytes32) internal {
- revert();
- }
-
- /* solcov ignore next */
- function erc20token() public view returns (ERC20);
-
- /* solcov ignore next */
- function setErc20token(address _token) internal;
-}
diff --git a/contracts/upgradeable_contracts/erc20_to_erc20/FeeManagerErcToErcPOSDAO.sol b/contracts/upgradeable_contracts/erc20_to_erc20/FeeManagerErcToErcPOSDAO.sol
deleted file mode 100644
index ce0e30964..000000000
--- a/contracts/upgradeable_contracts/erc20_to_erc20/FeeManagerErcToErcPOSDAO.sol
+++ /dev/null
@@ -1,22 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../BlockRewardFeeManager.sol";
-
-contract FeeManagerErcToErcPOSDAO is BlockRewardFeeManager {
- function getFeeManagerMode() external pure returns (bytes4) {
- return 0xd7de965f; // bytes4(keccak256(abi.encodePacked("manages-both-directions")))
- }
-
- function blockRewardContract() external view returns (address) {
- return _blockRewardContract();
- }
-
- function setBlockRewardContract(address _blockReward) external {
- _setBlockRewardContract(_blockReward);
- }
-
- function distributeFeeFromBlockReward(uint256 _fee) internal {
- IBlockReward blockReward = _blockRewardContract();
- blockReward.addBridgeTokenRewardReceivers(_fee);
- }
-}
diff --git a/contracts/upgradeable_contracts/erc20_to_erc20/ForeignBridgeErc677ToErc677.sol b/contracts/upgradeable_contracts/erc20_to_erc20/ForeignBridgeErc677ToErc677.sol
deleted file mode 100644
index 73bf8be43..000000000
--- a/contracts/upgradeable_contracts/erc20_to_erc20/ForeignBridgeErc677ToErc677.sol
+++ /dev/null
@@ -1,42 +0,0 @@
-pragma solidity 0.4.24;
-
-import "./BasicForeignBridgeErcToErc.sol";
-import "../ERC677Bridge.sol";
-
-contract ForeignBridgeErc677ToErc677 is ERC677Bridge, BasicForeignBridgeErcToErc {
- function initialize(
- address _validatorContract,
- address _erc20token,
- uint256 _requiredBlockConfirmations,
- uint256 _gasPrice,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256[2] _homeDailyLimitHomeMaxPerTxArray, // [ 0 = _homeDailyLimit, 1 = _homeMaxPerTx ]
- address _owner,
- int256 _decimalShift
- ) external onlyRelevantSender returns (bool) {
- _initialize(
- _validatorContract,
- _erc20token,
- _requiredBlockConfirmations,
- _gasPrice,
- _dailyLimitMaxPerTxMinPerTxArray,
- _homeDailyLimitHomeMaxPerTxArray,
- _owner,
- _decimalShift
- );
-
- return isInitialized();
- }
-
- function erc20token() public view returns (ERC20) {
- return erc677token();
- }
-
- function setErc20token(address _token) internal {
- setErc677token(_token);
- }
-
- function fireEventOnTokenTransfer(address _from, uint256 _value) internal {
- emit UserRequestForAffirmation(_from, _value);
- }
-}
diff --git a/contracts/upgradeable_contracts/erc20_to_erc20/ForeignBridgeErcToErc.sol b/contracts/upgradeable_contracts/erc20_to_erc20/ForeignBridgeErcToErc.sol
deleted file mode 100644
index 14dd94b0e..000000000
--- a/contracts/upgradeable_contracts/erc20_to_erc20/ForeignBridgeErcToErc.sol
+++ /dev/null
@@ -1,29 +0,0 @@
-pragma solidity 0.4.24;
-
-import "./BasicForeignBridgeErcToErc.sol";
-import "../ERC20Bridge.sol";
-
-contract ForeignBridgeErcToErc is BasicForeignBridgeErcToErc, ERC20Bridge {
- function initialize(
- address _validatorContract,
- address _erc20token,
- uint256 _requiredBlockConfirmations,
- uint256 _gasPrice,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256[2] _homeDailyLimitHomeMaxPerTxArray, // [ 0 = _homeDailyLimit, 1 = _homeMaxPerTx ]
- address _owner,
- int256 _decimalShift
- ) external onlyRelevantSender returns (bool) {
- _initialize(
- _validatorContract,
- _erc20token,
- _requiredBlockConfirmations,
- _gasPrice,
- _dailyLimitMaxPerTxMinPerTxArray,
- _homeDailyLimitHomeMaxPerTxArray,
- _owner,
- _decimalShift
- );
- return isInitialized();
- }
-}
diff --git a/contracts/upgradeable_contracts/erc20_to_erc20/HomeBridgeErcToErc.sol b/contracts/upgradeable_contracts/erc20_to_erc20/HomeBridgeErcToErc.sol
deleted file mode 100644
index 34517a677..000000000
--- a/contracts/upgradeable_contracts/erc20_to_erc20/HomeBridgeErcToErc.sol
+++ /dev/null
@@ -1,206 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../../libraries/Message.sol";
-import "../../upgradeability/EternalStorage.sol";
-import "../../interfaces/IBurnableMintableERC677Token.sol";
-import "../BasicHomeBridge.sol";
-import "../HomeOverdrawManagement.sol";
-import "./RewardableHomeBridgeErcToErc.sol";
-import "../ERC677BridgeForBurnableMintableToken.sol";
-
-/**
- * @title HomeBridgeErcToErc
- * @dev This contract Home side logic for the erc-to-erc vanilla bridge mode.
- * It is designed to be used as an implementation contract of EternalStorageProxy contract.
- */
-contract HomeBridgeErcToErc is
- EternalStorage,
- BasicHomeBridge,
- ERC677BridgeForBurnableMintableToken,
- HomeOverdrawManagement,
- RewardableHomeBridgeErcToErc
-{
- function initialize(
- address _validatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256 _homeGasPrice,
- uint256 _requiredBlockConfirmations,
- address _erc677token,
- uint256[2] _foreignDailyLimitForeignMaxPerTxArray, // [ 0 = _foreignDailyLimit, 1 = _foreignMaxPerTx ]
- address _owner,
- int256 _decimalShift
- ) external onlyRelevantSender returns (bool) {
- _initialize(
- _validatorContract,
- _dailyLimitMaxPerTxMinPerTxArray,
- _homeGasPrice,
- _requiredBlockConfirmations,
- _erc677token,
- _foreignDailyLimitForeignMaxPerTxArray,
- _owner,
- _decimalShift
- );
- setInitialize();
-
- return isInitialized();
- }
-
- function rewardableInitialize(
- address _validatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256 _homeGasPrice,
- uint256 _requiredBlockConfirmations,
- address _erc677token,
- uint256[2] _foreignDailyLimitForeignMaxPerTxArray, // [ 0 = _foreignDailyLimit, 1 = _foreignMaxPerTx ]
- address _owner,
- address _feeManager,
- uint256[2] _homeFeeForeignFeeArray, // [ 0 = _homeFee, 1 = _foreignFee ]
- int256 _decimalShift
- ) external onlyRelevantSender returns (bool) {
- _rewardableInitialize(
- _validatorContract,
- _dailyLimitMaxPerTxMinPerTxArray,
- _homeGasPrice,
- _requiredBlockConfirmations,
- _erc677token,
- _foreignDailyLimitForeignMaxPerTxArray,
- _owner,
- _feeManager,
- _homeFeeForeignFeeArray,
- _decimalShift
- );
- setInitialize();
-
- return isInitialized();
- }
-
- function _rewardableInitialize(
- address _validatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256 _homeGasPrice,
- uint256 _requiredBlockConfirmations,
- address _erc677token,
- uint256[2] _foreignDailyLimitForeignMaxPerTxArray, // [ 0 = _foreignDailyLimit, 1 = _foreignMaxPerTx ]
- address _owner,
- address _feeManager,
- uint256[2] _homeFeeForeignFeeArray, // [ 0 = _homeFee, 1 = _foreignFee ]
- int256 _decimalShift
- ) internal {
- _initialize(
- _validatorContract,
- _dailyLimitMaxPerTxMinPerTxArray,
- _homeGasPrice,
- _requiredBlockConfirmations,
- _erc677token,
- _foreignDailyLimitForeignMaxPerTxArray,
- _owner,
- _decimalShift
- );
- require(AddressUtils.isContract(_feeManager));
- addressStorage[FEE_MANAGER_CONTRACT] = _feeManager;
- _setFee(_feeManager, _homeFeeForeignFeeArray[0], HOME_FEE);
- _setFee(_feeManager, _homeFeeForeignFeeArray[1], FOREIGN_FEE);
- }
-
- function _initialize(
- address _validatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256 _homeGasPrice,
- uint256 _requiredBlockConfirmations,
- address _erc677token,
- uint256[2] _foreignDailyLimitForeignMaxPerTxArray, // [ 0 = _foreignDailyLimit, 1 = _foreignMaxPerTx ]
- address _owner,
- int256 _decimalShift
- ) internal {
- require(!isInitialized());
- require(AddressUtils.isContract(_validatorContract));
-
- addressStorage[VALIDATOR_CONTRACT] = _validatorContract;
- uintStorage[DEPLOYED_AT_BLOCK] = block.number;
- _setLimits(_dailyLimitMaxPerTxMinPerTxArray);
- _setGasPrice(_homeGasPrice);
- _setRequiredBlockConfirmations(_requiredBlockConfirmations);
- _setExecutionLimits(_foreignDailyLimitForeignMaxPerTxArray);
- _setDecimalShift(_decimalShift);
- _setOwner(_owner);
- setErc677token(_erc677token);
- }
-
- /**
- * @dev Withdraws erc20 tokens or native coins from the token contract. It is required since the bridge contract is the owner of the token contract.
- * @param _token address of the claimed token or address(0) for native coins.
- * @param _to address of the tokens/coins receiver.
- */
- function claimTokensFromErc677(address _token, address _to) external onlyIfUpgradeabilityOwner {
- IBurnableMintableERC677Token(erc677token()).claimTokens(_token, _to);
- }
-
- function getBridgeMode() external pure returns (bytes4 _data) {
- return 0xba4690f5; // bytes4(keccak256(abi.encodePacked("erc-to-erc-core")))
- }
-
- /**
- * @dev Internal callback to be called on successfull message execution.
- * Should be called only after enough affirmations from the validators are already collected.
- * @param _recipient address of the receiver where the new tokens should be minted.
- * @param _value amount of tokens to mint.
- * @param _txHash reference transaction hash on the Foreign side of the bridge which cause this operation.
- * @param _hashMsg unique identifier of the particular bridge operation.
- * @return true, if execution completed successfully.
- */
- function onExecuteAffirmation(address _recipient, uint256 _value, bytes32 _txHash, bytes32 _hashMsg)
- internal
- returns (bool)
- {
- _clearAboveLimitsMarker(_hashMsg, _value);
- addTotalExecutedPerDay(getCurrentDay(), _value);
- uint256 valueToMint = _shiftValue(_value);
- address feeManager = feeManagerContract();
- if (feeManager != address(0)) {
- uint256 fee = calculateFee(valueToMint, false, feeManager, FOREIGN_FEE);
- distributeFeeFromAffirmation(fee, feeManager, _txHash);
- valueToMint = valueToMint.sub(fee);
- }
- return IBurnableMintableERC677Token(erc677token()).mint(_recipient, valueToMint);
- }
-
- function fireEventOnTokenTransfer(address _from, uint256 _value) internal {
- uint256 valueToTransfer = _value;
- address feeManager = feeManagerContract();
- if (feeManager != address(0)) {
- uint256 fee = calculateFee(valueToTransfer, false, feeManager, HOME_FEE);
- valueToTransfer = valueToTransfer.sub(fee);
- }
- emit UserRequestForSignature(_from, valueToTransfer);
- }
-
- /**
- * @dev Internal function to be called when enough signatures are collected.
- * Distributed the fee for collecting signatures.
- * @param _message encoded message signed by the validators.
- */
- function onSignaturesCollected(bytes _message) internal {
- address feeManager = feeManagerContract();
- if (feeManager != address(0)) {
- (, uint256 amount, bytes32 txHash, ) = Message.parseMessage(_message);
- uint256 fee = calculateFee(amount, true, feeManager, HOME_FEE);
- distributeFeeFromSignatures(fee, feeManager, txHash);
- }
- }
-
- /**
- * @dev Internal callback to be called on failed message execution due to the out-of-limits error.
- * This function saves the bridge operation information for further processing.
- * @param _recipient address of the receiver where the new tokens should be minted.
- * @param _value amount of tokens to mint.
- * @param _txHash reference transaction hash on the Foreign side of the bridge which cause this operation.
- * @param _hashMsg unique identifier of the particular bridge operation.
- */
- function onFailedAffirmation(address _recipient, uint256 _value, bytes32 _txHash, bytes32 _hashMsg) internal {
- (address recipient, uint256 value) = txAboveLimits(_hashMsg);
- require(recipient == address(0) && value == 0);
- setOutOfLimitAmount(outOfLimitAmount().add(_value));
- setTxAboveLimits(_recipient, _value, _hashMsg);
- emit AmountLimitExceeded(_recipient, _value, _txHash, _hashMsg);
- }
-}
diff --git a/contracts/upgradeable_contracts/erc20_to_erc20/HomeBridgeErcToErcPOSDAO.sol b/contracts/upgradeable_contracts/erc20_to_erc20/HomeBridgeErcToErcPOSDAO.sol
deleted file mode 100644
index 1aaee4fc8..000000000
--- a/contracts/upgradeable_contracts/erc20_to_erc20/HomeBridgeErcToErcPOSDAO.sol
+++ /dev/null
@@ -1,61 +0,0 @@
-pragma solidity 0.4.24;
-
-import "./HomeBridgeErcToErc.sol";
-
-contract HomeBridgeErcToErcPOSDAO is HomeBridgeErcToErc {
- bytes4 internal constant BLOCK_REWARD_CONTRACT_SELECTOR = 0x56b54bae; // blockRewardContract()
- bytes4 internal constant SET_BLOCK_REWARD_CONTRACT = 0x27a3e16b; // setBlockRewardContract(address)
-
- function rewardableInitialize(
- address _validatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256 _homeGasPrice,
- uint256 _requiredBlockConfirmations,
- address _erc677token,
- uint256[2] _foreignDailyLimitForeignMaxPerTxArray, // [ 0 = _foreignDailyLimit, 1 = _foreignMaxPerTx ]
- address _owner,
- address _feeManager,
- uint256[2] _homeFeeForeignFeeArray, // [ 0 = _homeFee, 1 = _foreignFee ]
- address _blockReward,
- int256 _decimalShift
- ) external onlyRelevantSender returns (bool) {
- _rewardableInitialize(
- _validatorContract,
- _dailyLimitMaxPerTxMinPerTxArray,
- _homeGasPrice,
- _requiredBlockConfirmations,
- _erc677token,
- _foreignDailyLimitForeignMaxPerTxArray,
- _owner,
- _feeManager,
- _homeFeeForeignFeeArray,
- _decimalShift
- );
- _setBlockRewardContract(_feeManager, _blockReward);
- setInitialize();
-
- return isInitialized();
- }
-
- function blockRewardContract() public view returns (address blockReward) {
- address feeManager = feeManagerContract();
- bytes memory callData = abi.encodeWithSelector(BLOCK_REWARD_CONTRACT_SELECTOR);
-
- assembly {
- let result := callcode(gas, feeManager, 0x0, add(callData, 0x20), mload(callData), 0, 32)
-
- if and(eq(returndatasize, 32), result) {
- blockReward := mload(0)
- }
- }
- }
-
- function setBlockRewardContract(address _blockReward) external onlyOwner {
- address feeManager = feeManagerContract();
- _setBlockRewardContract(feeManager, _blockReward);
- }
-
- function _setBlockRewardContract(address _feeManager, address _blockReward) internal {
- require(_feeManager.delegatecall(abi.encodeWithSelector(SET_BLOCK_REWARD_CONTRACT, _blockReward)));
- }
-}
diff --git a/contracts/upgradeable_contracts/erc20_to_erc20/RewardableHomeBridgeErcToErc.sol b/contracts/upgradeable_contracts/erc20_to_erc20/RewardableHomeBridgeErcToErc.sol
deleted file mode 100644
index 02a2ca0d7..000000000
--- a/contracts/upgradeable_contracts/erc20_to_erc20/RewardableHomeBridgeErcToErc.sol
+++ /dev/null
@@ -1,33 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../RewardableBridge.sol";
-
-contract RewardableHomeBridgeErcToErc is RewardableBridge {
- /**
- * @dev Updates the fee percentage for home->foreign bridge operations.
- * Only owner is allowed to call this method.
- * If during this operation, home fee is changed, it is highly recommended to stop the bridge operations first.
- * Otherwise, pending signature requests can become a reason for imbalance between two bridge sides.
- * @param _fee new value for fee percentage.
- */
- function setHomeFee(uint256 _fee) external onlyOwner {
- _setFee(feeManagerContract(), _fee, HOME_FEE);
- }
-
- /**
- * @dev Updates the fee percentage for foreign->home bridge operations.
- * Only owner is allowed to call this method.
- * @param _fee new value for fee percentage.
- */
- function setForeignFee(uint256 _fee) external onlyOwner {
- _setFee(feeManagerContract(), _fee, FOREIGN_FEE);
- }
-
- function getHomeFee() public view returns (uint256) {
- return _getFee(HOME_FEE);
- }
-
- function getForeignFee() public view returns (uint256) {
- return _getFee(FOREIGN_FEE);
- }
-}
diff --git a/contracts/upgradeable_contracts/erc20_to_native/CompoundConnector.sol b/contracts/upgradeable_contracts/erc20_to_native/CompoundConnector.sol
new file mode 100644
index 000000000..7143d5513
--- /dev/null
+++ b/contracts/upgradeable_contracts/erc20_to_native/CompoundConnector.sol
@@ -0,0 +1,101 @@
+pragma solidity 0.4.24;
+
+import "./InterestConnector.sol";
+import "../../interfaces/ICToken.sol";
+import "../../interfaces/IComptroller.sol";
+
+/**
+ * @title CompoundConnector
+ * @dev This contract allows to partially invest locked Dai tokens into Compound protocol.
+ */
+contract CompoundConnector is InterestConnector {
+ uint256 internal constant SUCCESS = 0;
+
+ /**
+ * @dev Tells the address of the DAI token in the Ethereum Mainnet.
+ */
+ function daiToken() public pure returns (ERC20) {
+ return ERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);
+ }
+
+ /**
+ * @dev Tells the address of the cDAI token in the Ethereum Mainnet.
+ */
+ function cDaiToken() public pure returns (ICToken) {
+ return ICToken(0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643);
+ }
+
+ /**
+ * @dev Tells the address of the Comptroller contract in the Ethereum Mainnet.
+ */
+ function comptroller() public pure returns (IComptroller) {
+ return IComptroller(0x3d9819210A31b4961b30EF54bE2aeD79B9c9Cd3B);
+ }
+
+ /**
+ * @dev Tells the address of the COMP token in the Ethereum Mainnet.
+ */
+ function compToken() public pure returns (ERC20) {
+ return ERC20(0xc00e94Cb662C3520282E6f5717214004A7f26888);
+ }
+
+ /**
+ * @dev Tells the current earned interest amount.
+ * @param _token address of the underlying token contract.
+ * @return total amount of interest that can be withdrawn now.
+ */
+ function interestAmount(address _token) public view returns (uint256) {
+ uint256 underlyingBalance = cDaiToken().balanceOfUnderlying(address(this));
+ // 1 DAI is reserved for possible truncation/round errors
+ uint256 invested = investedAmount(_token) + 1 ether;
+ return underlyingBalance > invested ? underlyingBalance - invested : 0;
+ }
+
+ /**
+ * @dev Tells if interest earning is supported for the specific token contract.
+ * @param _token address of the token contract.
+ * @return true, if interest earning is supported.
+ */
+ function _isInterestSupported(address _token) internal pure returns (bool) {
+ return _token == address(daiToken());
+ }
+
+ /**
+ * @dev Invests the given amount of tokens to the Compound protocol.
+ * Converts _amount of TOKENs into X cTOKENs.
+ * @param _token address of the token contract.
+ * @param _amount amount of tokens to invest.
+ */
+ function _invest(address _token, uint256 _amount) internal {
+ (_token);
+ daiToken().approve(address(cDaiToken()), _amount);
+ require(cDaiToken().mint(_amount) == SUCCESS);
+ }
+
+ /**
+ * @dev Withdraws at least the given amount of tokens from the Compound protocol.
+ * Converts X cTOKENs into _amount of TOKENs.
+ * @param _token address of the token contract.
+ * @param _amount minimal amount of tokens to withdraw.
+ */
+ function _withdrawTokens(address _token, uint256 _amount) internal {
+ (_token);
+ require(cDaiToken().redeemUnderlying(_amount) == SUCCESS);
+ }
+
+ /**
+ * @dev Claims Comp token and transfers it to the associated interest receiver.
+ */
+ function claimCompAndPay() external {
+ address[] memory holders = new address[](1);
+ holders[0] = address(this);
+ address[] memory markets = new address[](1);
+ markets[0] = address(cDaiToken());
+ comptroller().claimComp(holders, markets, false, true);
+
+ address comp = address(compToken());
+ uint256 interest = _selfBalance(comp);
+ require(interest >= minInterestPaid(comp));
+ _transferInterest(comp, interest);
+ }
+}
diff --git a/contracts/upgradeable_contracts/erc20_to_native/ForeignBridgeErcToNative.sol b/contracts/upgradeable_contracts/erc20_to_native/ForeignBridgeErcToNative.sol
index 4ed11dab2..84c264c78 100644
--- a/contracts/upgradeable_contracts/erc20_to_native/ForeignBridgeErcToNative.sol
+++ b/contracts/upgradeable_contracts/erc20_to_native/ForeignBridgeErcToNative.sol
@@ -3,9 +3,9 @@ pragma solidity 0.4.24;
import "../BasicForeignBridge.sol";
import "../ERC20Bridge.sol";
import "../OtherSideBridgeStorage.sol";
-import "../ChaiConnector.sol";
+import "./CompoundConnector.sol";
-contract ForeignBridgeErcToNative is BasicForeignBridge, ERC20Bridge, OtherSideBridgeStorage, ChaiConnector {
+contract ForeignBridgeErcToNative is BasicForeignBridge, ERC20Bridge, OtherSideBridgeStorage, CompoundConnector {
function initialize(
address _validatorContract,
address _erc20token,
@@ -39,6 +39,26 @@ contract ForeignBridgeErcToNative is BasicForeignBridge, ERC20Bridge, OtherSideB
return 0x18762d46; // bytes4(keccak256(abi.encodePacked("erc-to-native-core")))
}
+ function upgradeTo530(address _interestReceiver) external {
+ require(msg.sender == address(this));
+
+ address dai = address(daiToken());
+ address comp = address(compToken());
+ _setInterestEnabled(dai, true);
+ _setMinCashThreshold(dai, 1000000 ether);
+ _setMinInterestPaid(dai, 1000 ether);
+ _setInterestReceiver(dai, _interestReceiver);
+
+ _setMinInterestPaid(comp, 1 ether);
+ _setInterestReceiver(comp, _interestReceiver);
+
+ invest(dai);
+ }
+
+ function investDai() external {
+ invest(address(daiToken()));
+ }
+
/**
* @dev Withdraws the erc20 tokens or native coins from this contract.
* @param _token address of the claimed token or address(0) for native coins.
@@ -46,9 +66,10 @@ contract ForeignBridgeErcToNative is BasicForeignBridge, ERC20Bridge, OtherSideB
*/
function claimTokens(address _token, address _to) external onlyIfUpgradeabilityOwner {
// Since bridged tokens are locked at this contract, it is not allowed to claim them with the use of claimTokens function
- require(_token != address(erc20token()));
- // Chai token is not claimable if investing into Chai is enabled
- require(_token != address(chaiToken()) || !isChaiTokenEnabled());
+ address bridgedToken = address(erc20token());
+ require(_token != address(bridgedToken));
+ require(_token != address(cDaiToken()) || !isInterestEnabled(bridgedToken));
+ require(_token != address(compToken()) || !isInterestEnabled(bridgedToken));
claimValues(_token, _to);
}
@@ -60,29 +81,21 @@ contract ForeignBridgeErcToNative is BasicForeignBridge, ERC20Bridge, OtherSideB
addTotalExecutedPerDay(getCurrentDay(), _amount);
uint256 amount = _unshiftValue(_amount);
- uint256 currentBalance = tokenBalance(erc20token());
+ ERC20 token = erc20token();
+ uint256 currentBalance = token.balanceOf(address(this));
- // Convert part of Chai tokens back to DAI, if DAI balance is insufficient.
- // If Chai token is disabled, bridge will keep all funds directly in DAI token,
- // so it will have enough funds to cover any xDai => Dai transfer,
- // and currentBalance >= amount will always hold.
if (currentBalance < amount) {
- _convertChaiToDai(amount.sub(currentBalance).add(minDaiTokenBalance()));
+ uint256 withdrawAmount = (amount - currentBalance).add(minCashThreshold(address(token)));
+ _withdraw(address(token), withdrawAmount);
}
- bool res = erc20token().transfer(_recipient, amount);
-
- return res;
+ return token.transfer(_recipient, amount);
}
function onFailedMessage(address, uint256, bytes32) internal {
revert();
}
- function tokenBalance(ERC20 _token) internal view returns (uint256) {
- return _token.balanceOf(address(this));
- }
-
function relayTokens(address _receiver, uint256 _amount) external {
require(_receiver != bridgeContractOnOtherSide());
require(_receiver != address(0));
@@ -94,9 +107,5 @@ contract ForeignBridgeErcToNative is BasicForeignBridge, ERC20Bridge, OtherSideB
erc20token().transferFrom(msg.sender, address(this), _amount);
emit UserRequestForAffirmation(_receiver, _amount);
-
- if (isDaiNeedsToBeInvested()) {
- convertDaiToChai();
- }
}
}
diff --git a/contracts/upgradeable_contracts/erc20_to_native/InterestConnector.sol b/contracts/upgradeable_contracts/erc20_to_native/InterestConnector.sol
new file mode 100644
index 000000000..6f8c1e9f7
--- /dev/null
+++ b/contracts/upgradeable_contracts/erc20_to_native/InterestConnector.sol
@@ -0,0 +1,276 @@
+pragma solidity 0.4.24;
+
+import "../Ownable.sol";
+import "../ERC20Bridge.sol";
+import "../../interfaces/IInterestReceiver.sol";
+
+/**
+ * @title InterestConnector
+ * @dev This contract gives an abstract way of receiving interest on locked tokens.
+ */
+contract InterestConnector is Ownable, ERC20Bridge {
+ event PaidInterest(address indexed token, address to, uint256 value);
+
+ /**
+ * @dev Throws if interest is bearing not enabled.
+ * @param token address, for which interest should be enabled.
+ */
+ modifier interestEnabled(address token) {
+ require(isInterestEnabled(token));
+ /* solcov ignore next */
+ _;
+ }
+
+ /**
+ * @dev Tells if interest earning was enabled for particular token.
+ * @return true, if interest bearing is enabled.
+ */
+ function isInterestEnabled(address _token) public view returns (bool) {
+ return boolStorage[keccak256(abi.encodePacked("interestEnabled", _token))];
+ }
+
+ /**
+ * @dev Initializes interest receiving functionality.
+ * Only owner can call this method.
+ * @param _token address of the token for interest earning.
+ * @param _minCashThreshold minimum amount of underlying tokens that are not invested.
+ * @param _minInterestPaid minimum amount of interest that can be paid in a single call.
+ */
+ function initializeInterest(
+ address _token,
+ uint256 _minCashThreshold,
+ uint256 _minInterestPaid,
+ address _interestReceiver
+ ) external onlyOwner {
+ require(_isInterestSupported(_token));
+ require(!isInterestEnabled(_token));
+
+ _setInterestEnabled(_token, true);
+ _setMinCashThreshold(_token, _minCashThreshold);
+ _setMinInterestPaid(_token, _minInterestPaid);
+ _setInterestReceiver(_token, _interestReceiver);
+ }
+
+ /**
+ * @dev Sets minimum amount of tokens that cannot be invested.
+ * Only owner can call this method.
+ * @param _token address of the token contract.
+ * @param _minCashThreshold minimum amount of underlying tokens that are not invested.
+ */
+ function setMinCashThreshold(address _token, uint256 _minCashThreshold) external onlyOwner {
+ _setMinCashThreshold(_token, _minCashThreshold);
+ }
+
+ /**
+ * @dev Tells minimum amount of tokens that are not being invested.
+ * @param _token address of the invested token contract.
+ * @return amount of tokens.
+ */
+ function minCashThreshold(address _token) public view returns (uint256) {
+ return uintStorage[keccak256(abi.encodePacked("minCashThreshold", _token))];
+ }
+
+ /**
+ * @dev Sets lower limit for the paid interest amount.
+ * Only owner can call this method.
+ * @param _token address of the token contract.
+ * @param _minInterestPaid minimum amount of interest paid in a single call.
+ */
+ function setMinInterestPaid(address _token, uint256 _minInterestPaid) external onlyOwner {
+ _setMinInterestPaid(_token, _minInterestPaid);
+ }
+
+ /**
+ * @dev Tells minimum amount of paid interest in a single call.
+ * @param _token address of the invested token contract.
+ * @return paid interest minimum limit.
+ */
+ function minInterestPaid(address _token) public view returns (uint256) {
+ return uintStorage[keccak256(abi.encodePacked("minInterestPaid", _token))];
+ }
+
+ /**
+ * @dev Internal function that disables interest for locked funds.
+ * Only owner can call this method.
+ * @param _token of token to disable interest for.
+ */
+ function disableInterest(address _token) external onlyOwner {
+ _withdraw(_token, uint256(-1));
+ _setInterestEnabled(_token, false);
+ }
+
+ /**
+ * @dev Tells configured address of the interest receiver.
+ * @param _token address of the invested token contract.
+ * @return address of the interest receiver.
+ */
+ function interestReceiver(address _token) public view returns (address) {
+ return addressStorage[keccak256(abi.encodePacked("interestReceiver", _token))];
+ }
+
+ /**
+ * Updates the interest receiver address.
+ * Only owner can call this method.
+ * @param _token address of the invested token contract.
+ * @param _receiver new receiver address.
+ */
+ function setInterestReceiver(address _token, address _receiver) external onlyOwner {
+ _setInterestReceiver(_token, _receiver);
+ }
+
+ /**
+ * @dev Pays collected interest for the specific underlying token.
+ * Requires interest for the given token to be enabled.
+ * @param _token address of the token contract.
+ */
+ function payInterest(address _token) external interestEnabled(_token) {
+ uint256 interest = interestAmount(_token);
+ require(interest >= minInterestPaid(_token));
+
+ uint256 redeemed = _safeWithdrawTokens(_token, interest);
+ _transferInterest(_token, redeemed);
+ }
+
+ /**
+ * @dev Tells the amount of underlying tokens that are currently invested.
+ * @param _token address of the token contract.
+ * @return amount of underlying tokens.
+ */
+ function investedAmount(address _token) public view returns (uint256) {
+ return uintStorage[keccak256(abi.encodePacked("investedAmount", _token))];
+ }
+
+ /**
+ * @dev Invests all excess tokens.
+ * Requires interest for the given token to be enabled.
+ * @param _token address of the token contract considered.
+ */
+ function invest(address _token) public interestEnabled(_token) {
+ uint256 balance = _selfBalance(_token);
+ uint256 minCash = minCashThreshold(_token);
+
+ require(balance > minCash);
+ uint256 amount = balance - minCash;
+
+ _setInvestedAmount(_token, investedAmount(_token).add(amount));
+
+ _invest(_token, amount);
+ }
+
+ /**
+ * @dev Internal function for transferring interest.
+ * Calls a callback on the receiver, if it is a contract.
+ * @param _token address of the underlying token contract.
+ * @param _amount amount of collected tokens that should be sent.
+ */
+ function _transferInterest(address _token, uint256 _amount) internal {
+ address receiver = interestReceiver(_token);
+ require(receiver != address(0));
+
+ ERC20(_token).transfer(receiver, _amount);
+
+ if (AddressUtils.isContract(receiver)) {
+ IInterestReceiver(receiver).onInterestReceived(_token);
+ }
+
+ emit PaidInterest(_token, receiver, _amount);
+ }
+
+ /**
+ * @dev Internal function for setting interest enabled flag for some token.
+ * @param _token address of the token contract.
+ * @param _enabled true to enable interest earning, false to disable.
+ */
+ function _setInterestEnabled(address _token, bool _enabled) internal {
+ boolStorage[keccak256(abi.encodePacked("interestEnabled", _token))] = _enabled;
+ }
+
+ /**
+ * @dev Internal function for setting the amount of underlying tokens that are currently invested.
+ * @param _token address of the token contract.
+ * @param _amount new amount of invested tokens.
+ */
+ function _setInvestedAmount(address _token, uint256 _amount) internal {
+ uintStorage[keccak256(abi.encodePacked("investedAmount", _token))] = _amount;
+ }
+
+ /**
+ * @dev Internal function for withdrawing some amount of the invested tokens.
+ * Reverts if given amount cannot be withdrawn.
+ * @param _token address of the token contract withdrawn.
+ * @param _amount amount of requested tokens to be withdrawn.
+ */
+ function _withdraw(address _token, uint256 _amount) internal {
+ if (_amount == 0) return;
+
+ uint256 invested = investedAmount(_token);
+ uint256 withdrawal = _amount > invested ? invested : _amount;
+ uint256 redeemed = _safeWithdrawTokens(_token, withdrawal);
+
+ _setInvestedAmount(_token, invested > redeemed ? invested - redeemed : 0);
+ }
+
+ /**
+ * @dev Internal function for safe withdrawal of invested tokens.
+ * Reverts if given amount cannot be withdrawn.
+ * Additionally verifies that at least _amount of tokens were withdrawn.
+ * @param _token address of the token contract withdrawn.
+ * @param _amount amount of requested tokens to be withdrawn.
+ */
+ function _safeWithdrawTokens(address _token, uint256 _amount) private returns (uint256) {
+ uint256 balance = _selfBalance(_token);
+
+ _withdrawTokens(_token, _amount);
+
+ uint256 redeemed = _selfBalance(_token) - balance;
+
+ require(redeemed >= _amount);
+
+ return redeemed;
+ }
+
+ /**
+ * @dev Internal function for setting minimum amount of tokens that cannot be invested.
+ * @param _token address of the token contract.
+ * @param _minCashThreshold minimum amount of underlying tokens that are not invested.
+ */
+ function _setMinCashThreshold(address _token, uint256 _minCashThreshold) internal {
+ uintStorage[keccak256(abi.encodePacked("minCashThreshold", _token))] = _minCashThreshold;
+ }
+
+ /**
+ * @dev Internal function for setting lower limit for paid interest amount.
+ * @param _token address of the token contract.
+ * @param _minInterestPaid minimum amount of interest paid in a single call.
+ */
+ function _setMinInterestPaid(address _token, uint256 _minInterestPaid) internal {
+ uintStorage[keccak256(abi.encodePacked("minInterestPaid", _token))] = _minInterestPaid;
+ }
+
+ /**
+ * @dev Internal function for setting interest receiver address.
+ * @param _token address of the invested token contract.
+ * @param _receiver address of the interest receiver.
+ */
+ function _setInterestReceiver(address _token, address _receiver) internal {
+ require(_receiver != address(this));
+ addressStorage[keccak256(abi.encodePacked("interestReceiver", _token))] = _receiver;
+ }
+
+ /**
+ * @dev Tells this contract balance of some specific token contract
+ * @param _token address of the token contract.
+ * @return contract balance.
+ */
+ function _selfBalance(address _token) internal view returns (uint256) {
+ return ERC20(_token).balanceOf(address(this));
+ }
+
+ function _isInterestSupported(address _token) internal pure returns (bool);
+
+ function _invest(address _token, uint256 _amount) internal;
+
+ function _withdrawTokens(address _token, uint256 _amount) internal;
+
+ function interestAmount(address _token) public view returns (uint256);
+}
diff --git a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/BasicMultiAMBErc20ToErc677.sol b/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/BasicMultiAMBErc20ToErc677.sol
deleted file mode 100644
index 4d24c8ab1..000000000
--- a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/BasicMultiAMBErc20ToErc677.sol
+++ /dev/null
@@ -1,93 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../../interfaces/IAMB.sol";
-import "./MultiTokenBridgeMediator.sol";
-import "../Ownable.sol";
-import "../Initializable.sol";
-import "../ReentrancyGuard.sol";
-import "../Upgradeable.sol";
-import "../Claimable.sol";
-import "../VersionableBridge.sol";
-
-/**
-* @title BasicMultiAMBErc20ToErc677
-* @dev Common functionality for multi-erc20-to-erc677 mediator intended to work on top of AMB bridge.
-*/
-contract BasicMultiAMBErc20ToErc677 is
- Initializable,
- ReentrancyGuard,
- Upgradeable,
- Claimable,
- VersionableBridge,
- MultiTokenBridgeMediator
-{
- /**
- * @dev Tells the address of the mediator contract on the other side, used by chooseReceiver method
- * to avoid sending the native tokens to that address.
- * @return address of the mediator contract con the other side
- */
- function bridgeContractOnOtherSide() internal view returns (address) {
- return mediatorContractOnOtherSide();
- }
-
- /**
- * @dev Initiate the bridge operation for some amount of tokens from msg.sender.
- * The user should first call Approve method of the ERC677 token.
- * @param token bridged token contract address.
- * @param _receiver address that will receive the native tokens on the other network.
- * @param _value amount of tokens to be transferred to the other network.
- */
- function relayTokens(ERC677 token, address _receiver, uint256 _value) external {
- _relayTokens(token, _receiver, _value);
- }
-
- /**
- * @dev Initiate the bridge operation for some amount of tokens from msg.sender to msg.sender on the other side.
- * The user should first call Approve method of the ERC677 token.
- * @param token bridged token contract address.
- * @param _value amount of tokens to be transferred to the other network.
- */
- function relayTokens(ERC677 token, uint256 _value) external {
- _relayTokens(token, msg.sender, _value);
- }
-
- /**
- * @dev Tells the bridge interface version that this contract supports.
- * @return major value of the version
- * @return minor value of the version
- * @return patch value of the version
- */
- function getBridgeInterfacesVersion() external pure returns (uint64 major, uint64 minor, uint64 patch) {
- return (1, 5, 0);
- }
-
- /**
- * @dev Tells the bridge mode that this contract supports.
- * @return _data 4 bytes representing the bridge mode
- */
- function getBridgeMode() external pure returns (bytes4 _data) {
- return 0xb1516c26; // bytes4(keccak256(abi.encodePacked("multi-erc-to-erc-amb")))
- }
-
- /**
- * @dev Claims stucked tokens. Only unsupported tokens can be claimed.
- * When dealing with already supported tokens, fixMediatorBalance can be used instead.
- * @param _token address of claimed token, address(0) for native
- * @param _to address of tokens receiver
- */
- function claimTokens(address _token, address _to) external onlyIfUpgradeabilityOwner {
- // Only unregistered tokens and native coins are allowed to be claimed with the use of this function
- require(_token == address(0) || !isTokenRegistered(_token));
- claimValues(_token, _to);
- }
-
- /* solcov ignore next */
- function onTokenTransfer(address _from, uint256 _value, bytes _data) public returns (bool);
-
- /* solcov ignore next */
- function _relayTokens(ERC677 token, address _receiver, uint256 _value) internal;
-
- /* solcov ignore next */
- function bridgeSpecificActionsOnTokenTransfer(ERC677 _token, address _from, address _receiver, uint256 _value)
- internal;
-}
diff --git a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/BasicMultiTokenBridge.sol b/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/BasicMultiTokenBridge.sol
deleted file mode 100644
index a62e39715..000000000
--- a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/BasicMultiTokenBridge.sol
+++ /dev/null
@@ -1,310 +0,0 @@
-pragma solidity 0.4.24;
-
-import "openzeppelin-solidity/contracts/math/SafeMath.sol";
-import "../../upgradeability/EternalStorage.sol";
-import "../Ownable.sol";
-
-contract BasicMultiTokenBridge is EternalStorage, Ownable {
- using SafeMath for uint256;
-
- // token == 0x00..00 represents default limits (assuming decimals == 18) for all newly created tokens
- event DailyLimitChanged(address indexed token, uint256 newLimit);
- event ExecutionDailyLimitChanged(address indexed token, uint256 newLimit);
-
- /**
- * @dev Checks if specified token was already bridged at least once.
- * @param _token address of the token contract.
- * @return true, if token address is address(0) or token was already bridged.
- */
- function isTokenRegistered(address _token) public view returns (bool) {
- return minPerTx(_token) > 0;
- }
-
- /**
- * @dev Retrieves the total spent amount for particular token during specific day.
- * @param _token address of the token contract.
- * @param _day day number for which spent amount if requested.
- * @return amount of tokens sent through the bridge to the other side.
- */
- function totalSpentPerDay(address _token, uint256 _day) public view returns (uint256) {
- return uintStorage[keccak256(abi.encodePacked("totalSpentPerDay", _token, _day))];
- }
-
- /**
- * @dev Retrieves the total executed amount for particular token during specific day.
- * @param _token address of the token contract.
- * @param _day day number for which spent amount if requested.
- * @return amount of tokens received from the bridge from the other side.
- */
- function totalExecutedPerDay(address _token, uint256 _day) public view returns (uint256) {
- return uintStorage[keccak256(abi.encodePacked("totalExecutedPerDay", _token, _day))];
- }
-
- /**
- * @dev Retrieves current daily limit for a particular token contract.
- * @param _token address of the token contract.
- * @return daily limit on tokens that can be sent through the bridge per day.
- */
- function dailyLimit(address _token) public view returns (uint256) {
- return uintStorage[keccak256(abi.encodePacked("dailyLimit", _token))];
- }
-
- /**
- * @dev Retrieves current execution daily limit for a particular token contract.
- * @param _token address of the token contract.
- * @return daily limit on tokens that can be received from the bridge on the other side per day.
- */
- function executionDailyLimit(address _token) public view returns (uint256) {
- return uintStorage[keccak256(abi.encodePacked("executionDailyLimit", _token))];
- }
-
- /**
- * @dev Retrieves current maximum amount of tokens per one transfer for a particular token contract.
- * @param _token address of the token contract.
- * @return maximum amount on tokens that can be sent through the bridge in one transfer.
- */
- function maxPerTx(address _token) public view returns (uint256) {
- return uintStorage[keccak256(abi.encodePacked("maxPerTx", _token))];
- }
-
- /**
- * @dev Retrieves current maximum execution amount of tokens per one transfer for a particular token contract.
- * @param _token address of the token contract.
- * @return maximum amount on tokens that can received from the bridge on the other side in one transaction.
- */
- function executionMaxPerTx(address _token) public view returns (uint256) {
- return uintStorage[keccak256(abi.encodePacked("executionMaxPerTx", _token))];
- }
-
- /**
- * @dev Retrieves current minimum amount of tokens per one transfer for a particular token contract.
- * @param _token address of the token contract.
- * @return minimum amount on tokens that can be sent through the bridge in one transfer.
- */
- function minPerTx(address _token) public view returns (uint256) {
- uint256 limit = uintStorage[keccak256(abi.encodePacked("minPerTx", _token))];
- if (_token == address(0)) {
- return limit;
- }
- return limit > 0 ? 1 : 0;
- }
-
- /**
- * @dev Checks that bridged amount of tokens conforms to the configured limits.
- * @param _token address of the token contract.
- * @param _amount amount of bridge tokens.
- * @return true, if specified amount can be bridged.
- */
- function withinLimit(address _token, uint256 _amount) public view returns (bool) {
- uint256 nextLimit = totalSpentPerDay(_token, getCurrentDay()).add(_amount);
- return
- dailyLimit(address(0)) > 0 &&
- dailyLimit(_token) >= nextLimit &&
- _amount <= maxPerTx(_token) &&
- _amount >= minPerTx(_token);
- }
-
- /**
- * @dev Checks that bridged amount of tokens conforms to the configured execution limits.
- * @param _token address of the token contract.
- * @param _amount amount of bridge tokens.
- * @return true, if specified amount can be processed and executed.
- */
- function withinExecutionLimit(address _token, uint256 _amount) public view returns (bool) {
- uint256 nextLimit = totalExecutedPerDay(_token, getCurrentDay()).add(_amount);
- return
- executionDailyLimit(address(0)) > 0 &&
- executionDailyLimit(_token) >= nextLimit &&
- _amount <= executionMaxPerTx(_token);
- }
-
- /**
- * @dev Returns current day number.
- * @return day number.
- */
- function getCurrentDay() public view returns (uint256) {
- // solhint-disable-next-line not-rely-on-time
- return now / 1 days;
- }
-
- /**
- * @dev Updates daily limit for the particular token. Only owner can call this method.
- * @param _token address of the token contract, or address(0) for configuring the efault limit.
- * @param _dailyLimit daily allowed amount of bridged tokens, should be greater than maxPerTx.
- * 0 value is also allowed, will stop the bridge operations in outgoing direction.
- */
- function setDailyLimit(address _token, uint256 _dailyLimit) external onlyOwner {
- require(isTokenRegistered(_token));
- require(_dailyLimit > maxPerTx(_token) || _dailyLimit == 0);
- uintStorage[keccak256(abi.encodePacked("dailyLimit", _token))] = _dailyLimit;
- emit DailyLimitChanged(_token, _dailyLimit);
- }
-
- /**
- * @dev Updates execution daily limit for the particular token. Only owner can call this method.
- * @param _token address of the token contract, or address(0) for configuring the default limit.
- * @param _dailyLimit daily allowed amount of executed tokens, should be greater than executionMaxPerTx.
- * 0 value is also allowed, will stop the bridge operations in incoming direction.
- */
- function setExecutionDailyLimit(address _token, uint256 _dailyLimit) external onlyOwner {
- require(isTokenRegistered(_token));
- require(_dailyLimit > executionMaxPerTx(_token) || _dailyLimit == 0);
- uintStorage[keccak256(abi.encodePacked("executionDailyLimit", _token))] = _dailyLimit;
- emit ExecutionDailyLimitChanged(_token, _dailyLimit);
- }
-
- /**
- * @dev Updates execution maximum per transaction for the particular token. Only owner can call this method.
- * @param _token address of the token contract, or address(0) for configuring the default limit.
- * @param _maxPerTx maximum amount of executed tokens per one transaction, should be less than executionDailyLimit.
- * 0 value is also allowed, will stop the bridge operations in incoming direction.
- */
- function setExecutionMaxPerTx(address _token, uint256 _maxPerTx) external onlyOwner {
- require(isTokenRegistered(_token));
- require(_maxPerTx == 0 || (_maxPerTx > 0 && _maxPerTx < executionDailyLimit(_token)));
- uintStorage[keccak256(abi.encodePacked("executionMaxPerTx", _token))] = _maxPerTx;
- }
-
- /**
- * @dev Updates maximum per transaction for the particular token. Only owner can call this method.
- * @param _token address of the token contract, or address(0) for configuring the default limit.
- * @param _maxPerTx maximum amount of tokens per one transaction, should be less than dailyLimit, greater than minPerTx.
- * 0 value is also allowed, will stop the bridge operations in outgoing direction.
- */
- function setMaxPerTx(address _token, uint256 _maxPerTx) external onlyOwner {
- require(isTokenRegistered(_token));
- require(_maxPerTx == 0 || (_maxPerTx > minPerTx(_token) && _maxPerTx < dailyLimit(_token)));
- uintStorage[keccak256(abi.encodePacked("maxPerTx", _token))] = _maxPerTx;
- }
-
- /**
- * @dev Updates minumum per transaction for the particular token. Only owner can call this method.
- * @param _token address of the token contract, or address(0) for configuring the default limit.
- * @param _minPerTx minumum amount of tokens per one transaction, should be less than maxPerTx and dailyLimit.
- */
- function setMinPerTx(address _token, uint256 _minPerTx) external onlyOwner {
- require(isTokenRegistered(_token));
- require(_minPerTx > 0 && _minPerTx < dailyLimit(_token) && _minPerTx < maxPerTx(_token));
- uintStorage[keccak256(abi.encodePacked("minPerTx", _token))] = _minPerTx;
- }
-
- /**
- * @dev Retrieves maximum available bridge amount per one transaction taking into account maxPerTx() and dailyLimit() parameters.
- * @param _token address of the token contract, or address(0) for the default limit.
- * @return minimum of maxPerTx parameter and remaining daily quota.
- */
- function maxAvailablePerTx(address _token) public view returns (uint256) {
- uint256 _maxPerTx = maxPerTx(_token);
- uint256 _dailyLimit = dailyLimit(_token);
- uint256 _spent = totalSpentPerDay(_token, getCurrentDay());
- uint256 _remainingOutOfDaily = _dailyLimit > _spent ? _dailyLimit - _spent : 0;
- return _maxPerTx < _remainingOutOfDaily ? _maxPerTx : _remainingOutOfDaily;
- }
-
- /**
- * @dev Internal function for adding spent amount for some token.
- * @param _token address of the token contract.
- * @param _day day number, when tokens are processed.
- * @param _value amount of bridge tokens.
- */
- function addTotalSpentPerDay(address _token, uint256 _day, uint256 _value) internal {
- uintStorage[keccak256(abi.encodePacked("totalSpentPerDay", _token, _day))] = totalSpentPerDay(_token, _day).add(
- _value
- );
- }
-
- /**
- * @dev Internal function for adding execcuted amount for some token.
- * @param _token address of the token contract.
- * @param _day day number, when tokens are processed.
- * @param _value amount of bridge tokens.
- */
- function addTotalExecutedPerDay(address _token, uint256 _day, uint256 _value) internal {
- uintStorage[keccak256(abi.encodePacked("totalExecutedPerDay", _token, _day))] = totalExecutedPerDay(
- _token,
- _day
- )
- .add(_value);
- }
-
- /**
- * @dev Internal function for initializing limits for some token.
- * @param _token address of the token contract.
- * @param _limits [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ].
- */
- function _setLimits(address _token, uint256[3] _limits) internal {
- require(
- _limits[2] > 0 && // minPerTx > 0
- _limits[1] > _limits[2] && // maxPerTx > minPerTx
- _limits[0] > _limits[1] // dailyLimit > maxPerTx
- );
-
- uintStorage[keccak256(abi.encodePacked("dailyLimit", _token))] = _limits[0];
- uintStorage[keccak256(abi.encodePacked("maxPerTx", _token))] = _limits[1];
- uintStorage[keccak256(abi.encodePacked("minPerTx", _token))] = _limits[2];
-
- emit DailyLimitChanged(_token, _limits[0]);
- }
-
- /**
- * @dev Internal function for initializing execution limits for some token.
- * @param _token address of the token contract.
- * @param _limits [ 0 = executionDailyLimit, 1 = executionMaxPerTx ].
- */
- function _setExecutionLimits(address _token, uint256[2] _limits) internal {
- require(_limits[1] < _limits[0]); // foreignMaxPerTx < foreignDailyLimit
-
- uintStorage[keccak256(abi.encodePacked("executionDailyLimit", _token))] = _limits[0];
- uintStorage[keccak256(abi.encodePacked("executionMaxPerTx", _token))] = _limits[1];
-
- emit ExecutionDailyLimitChanged(_token, _limits[0]);
- }
-
- /**
- * @dev Internal function for initializing limits for some token relative to its decimals parameter.
- * @param _token address of the token contract.
- * @param _decimals token decimals parameter.
- */
- function _initializeTokenBridgeLimits(address _token, uint256 _decimals) internal {
- uint256 factor;
- if (_decimals < 18) {
- factor = 10**(18 - _decimals);
-
- uint256 _minPerTx = minPerTx(address(0)).div(factor);
- uint256 _maxPerTx = maxPerTx(address(0)).div(factor);
- uint256 _dailyLimit = dailyLimit(address(0)).div(factor);
- uint256 _executionMaxPerTx = executionMaxPerTx(address(0)).div(factor);
- uint256 _executionDailyLimit = executionDailyLimit(address(0)).div(factor);
-
- // such situation can happen when calculated limits relative to the token decimals are too low
- // e.g. minPerTx(address(0)) == 10 ** 14, _decimals == 3. _minPerTx happens to be 0, which is not allowed.
- // in this case, limits are raised to the default values
- if (_minPerTx == 0) {
- // Numbers 1, 100, 10000 are chosen in a semi-random way,
- // so that any token with small decimals can still be bridged in some amounts.
- // It is possible to override limits for the particular token later if needed.
- _minPerTx = 1;
- if (_maxPerTx <= _minPerTx) {
- _maxPerTx = 100;
- _executionMaxPerTx = 100;
- if (_dailyLimit <= _maxPerTx || _executionDailyLimit <= _executionMaxPerTx) {
- _dailyLimit = 10000;
- _executionDailyLimit = 10000;
- }
- }
- }
- _setLimits(_token, [_dailyLimit, _maxPerTx, _minPerTx]);
- _setExecutionLimits(_token, [_executionDailyLimit, _executionMaxPerTx]);
- } else {
- factor = 10**(_decimals - 18);
- _setLimits(
- _token,
- [dailyLimit(address(0)).mul(factor), maxPerTx(address(0)).mul(factor), minPerTx(address(0)).mul(factor)]
- );
- _setExecutionLimits(
- _token,
- [executionDailyLimit(address(0)).mul(factor), executionMaxPerTx(address(0)).mul(factor)]
- );
- }
- }
-}
diff --git a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/ForeignMultiAMBErc20ToErc677.sol b/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/ForeignMultiAMBErc20ToErc677.sol
deleted file mode 100644
index cf94d458b..000000000
--- a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/ForeignMultiAMBErc20ToErc677.sol
+++ /dev/null
@@ -1,299 +0,0 @@
-pragma solidity 0.4.24;
-
-import "openzeppelin-solidity/contracts/token/ERC20/DetailedERC20.sol";
-import "./BasicMultiAMBErc20ToErc677.sol";
-import "./HomeMultiAMBErc20ToErc677.sol";
-import "../../libraries/TokenReader.sol";
-import "../../libraries/SafeERC20.sol";
-
-/**
- * @title ForeignMultiAMBErc20ToErc677
- * @dev Foreign side implementation for multi-erc20-to-erc677 mediator intended to work on top of AMB bridge.
- * It is designed to be used as an implementation contract of EternalStorageProxy contract.
- */
-contract ForeignMultiAMBErc20ToErc677 is BasicMultiAMBErc20ToErc677 {
- using SafeERC20 for address;
- using SafeERC20 for ERC677;
-
- /**
- * @dev Stores the initial parameters of the mediator.
- * @param _bridgeContract the address of the AMB bridge contract.
- * @param _mediatorContract the address of the mediator contract on the other network.
- * @param _dailyLimitMaxPerTxMinPerTxArray array with limit values for the assets to be bridged to the other network.
- * [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
- * @param _executionDailyLimitExecutionMaxPerTxArray array with limit values for the assets bridged from the other network.
- * [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
- * @param _requestGasLimit the gas limit for the message execution.
- * @param _owner address of the owner of the mediator contract.
- */
- function initialize(
- address _bridgeContract,
- address _mediatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256[2] _executionDailyLimitExecutionMaxPerTxArray, // [ 0 = _executionDailyLimit, 1 = _executionMaxPerTx ]
- uint256 _requestGasLimit,
- address _owner
- ) external onlyRelevantSender returns (bool) {
- require(!isInitialized());
-
- _setBridgeContract(_bridgeContract);
- _setMediatorContractOnOtherSide(_mediatorContract);
- _setLimits(address(0), _dailyLimitMaxPerTxMinPerTxArray);
- _setExecutionLimits(address(0), _executionDailyLimitExecutionMaxPerTxArray);
- _setRequestGasLimit(_requestGasLimit);
- _setOwner(_owner);
-
- setInitialize();
-
- return isInitialized();
- }
-
- /**
- * @dev Executes action on the request to withdraw tokens relayed from the other network
- * @param _token address of the token contract
- * @param _recipient address of tokens receiver
- * @param _value amount of bridged tokens
- */
- function executeActionOnBridgedTokens(address _token, address _recipient, uint256 _value) internal {
- bytes32 _messageId = messageId();
- _releaseTokens(_token, _recipient, _value);
- emit TokensBridged(_token, _recipient, _value, _messageId);
- }
-
- /**
- * @dev ERC677 transfer callback function.
- * @param _from address of tokens sender.
- * @param _value amount of transferred tokens.
- * @param _data additional transfer data, can be used for passing alternative receiver address.
- */
- function onTokenTransfer(address _from, uint256 _value, bytes _data) public returns (bool) {
- if (!lock()) {
- ERC677 token = ERC677(msg.sender);
- bridgeSpecificActionsOnTokenTransfer(token, _from, chooseReceiver(_from, _data), _value);
- }
- return true;
- }
-
- /**
- * @dev Handles the bridged tokens. Checks that the value is inside the execution limits and invokes the method
- * to execute the Mint or Unlock accordingly.
- * @param _token bridged ERC20 token.
- * @param _recipient address that will receive the tokens.
- * @param _value amount of tokens to be received.
- */
- function handleBridgedTokens(ERC677 _token, address _recipient, uint256 _value) external onlyMediator {
- require(isTokenRegistered(_token));
- _handleBridgedTokens(_token, _recipient, _value);
- }
-
- /**
- * @dev Validates that the token amount is inside the limits, calls transferFrom to transfer the tokens to the contract
- * and invokes the method to burn/lock the tokens and unlock/mint the tokens on the other network.
- * The user should first call Approve method of the ERC677 token.
- * @param token bridge token contract address.
- * @param _receiver address that will receive the native tokens on the other network.
- * @param _value amount of tokens to be transferred to the other network.
- */
- function _relayTokens(ERC677 token, address _receiver, uint256 _value) internal {
- // This lock is to prevent calling passMessage twice if a ERC677 token is used.
- // When transferFrom is called, after the transfer, the ERC677 token will call onTokenTransfer from this contract
- // which will call passMessage.
- require(!lock());
-
- uint256 balanceBefore = token.balanceOf(address(this));
- setLock(true);
- token.safeTransferFrom(msg.sender, _value);
- setLock(false);
- uint256 balanceDiff = token.balanceOf(address(this)).sub(balanceBefore);
- require(balanceDiff <= _value);
- bridgeSpecificActionsOnTokenTransfer(token, msg.sender, _receiver, balanceDiff);
- }
-
- /**
- * @dev Executes action on deposit of bridged tokens
- * @param _token address of the token contract
- * @param _from address of tokens sender
- * @param _receiver address of tokens receiver on the other side
- * @param _value requested amount of bridged tokens
- */
- function bridgeSpecificActionsOnTokenTransfer(ERC677 _token, address _from, address _receiver, uint256 _value)
- internal
- {
- bool isKnownToken = isTokenRegistered(_token);
- if (!isKnownToken) {
- string memory name = TokenReader.readName(_token);
- string memory symbol = TokenReader.readSymbol(_token);
- uint8 decimals = uint8(TokenReader.readDecimals(_token));
-
- require(bytes(name).length > 0 || bytes(symbol).length > 0);
-
- _initializeTokenBridgeLimits(_token, decimals);
- }
-
- require(withinLimit(_token, _value));
- addTotalSpentPerDay(_token, getCurrentDay(), _value);
-
- bytes memory data;
-
- if (isKnownToken) {
- data = abi.encodeWithSelector(this.handleBridgedTokens.selector, _token, _receiver, _value);
- } else {
- data = abi.encodeWithSelector(
- HomeMultiAMBErc20ToErc677(this).deployAndHandleBridgedTokens.selector,
- _token,
- name,
- symbol,
- decimals,
- _receiver,
- _value
- );
- }
-
- _setMediatorBalance(_token, mediatorBalance(_token).add(_value));
-
- bytes32 _messageId = bridgeContract().requireToPassMessage(
- mediatorContractOnOtherSide(),
- data,
- requestGasLimit()
- );
-
- setMessageToken(_messageId, _token);
- setMessageValue(_messageId, _value);
- setMessageRecipient(_messageId, _from);
-
- if (!isKnownToken) {
- _setTokenRegistrationMessageId(_token, _messageId);
- }
-
- emit TokensBridgingInitiated(_token, _from, _value, _messageId);
- }
-
- /**
- * @dev Handles the request to fix transferred assets which bridged message execution failed on the other network.
- * It uses the information stored by passMessage method when the assets were initially transferred
- * @param _messageId id of the message which execution failed on the other network.
- */
- function fixFailedMessage(bytes32 _messageId) public {
- super.fixFailedMessage(_messageId);
- address token = messageToken(_messageId);
- if (_messageId == tokenRegistrationMessageId(token)) {
- delete uintStorage[keccak256(abi.encodePacked("dailyLimit", token))];
- delete uintStorage[keccak256(abi.encodePacked("maxPerTx", token))];
- delete uintStorage[keccak256(abi.encodePacked("minPerTx", token))];
- delete uintStorage[keccak256(abi.encodePacked("executionDailyLimit", token))];
- delete uintStorage[keccak256(abi.encodePacked("executionMaxPerTx", token))];
- _setTokenRegistrationMessageId(token, bytes32(0));
- }
- }
-
- /**
- * @dev Unlock back the amount of tokens that were bridged to the other network but failed.
- * @param _token address that bridged token contract.
- * @param _recipient address that will receive the tokens.
- * @param _value amount of tokens to be received.
- */
- function executeActionOnFixedTokens(address _token, address _recipient, uint256 _value) internal {
- _releaseTokens(_token, _recipient, _value);
- }
-
- /**
- * @dev Allows to send to the other network the amount of locked tokens that can be forced into the contract
- * without the invocation of the required methods. (e. g. regular transfer without a call to onTokenTransfer)
- * @param _token address of the token contract.
- * @param _receiver the address that will receive the tokens on the other network.
- */
- function fixMediatorBalance(address _token, address _receiver)
- external
- onlyIfUpgradeabilityOwner
- validAddress(_receiver)
- {
- require(isTokenRegistered(_token));
- uint256 balance = ERC677(_token).balanceOf(address(this));
- uint256 expectedBalance = mediatorBalance(_token);
- require(balance > expectedBalance);
- uint256 diff = balance - expectedBalance;
- uint256 available = maxAvailablePerTx(_token);
- require(available > 0);
- if (diff > available) {
- diff = available;
- }
- addTotalSpentPerDay(_token, getCurrentDay(), diff);
- _setMediatorBalance(_token, expectedBalance.add(diff));
-
- bytes memory data = abi.encodeWithSelector(this.handleBridgedTokens.selector, _token, _receiver, diff);
-
- bytes32 _messageId = bridgeContract().requireToPassMessage(
- mediatorContractOnOtherSide(),
- data,
- requestGasLimit()
- );
-
- setMessageToken(_messageId, _token);
- setMessageValue(_messageId, diff);
- setMessageRecipient(_messageId, _receiver);
- }
-
- /**
- * @dev Tells the expected token balance of the contract.
- * @param _token address of token contract.
- * @return the current tracked token balance of the contract.
- */
- function mediatorBalance(address _token) public view returns (uint256) {
- return uintStorage[keccak256(abi.encodePacked("mediatorBalance", _token))];
- }
-
- /**
- * @dev Returns message id where specified token was first seen and deploy on the other side was requested.
- * @param _token address of token contract.
- * @return message id of the send message.
- */
- function tokenRegistrationMessageId(address _token) public view returns (bytes32) {
- return bytes32(uintStorage[keccak256(abi.encodePacked("tokenRegistrationMessageId", _token))]);
- }
-
- /**
- * @dev Updates expected token balance of the contract.
- * @param _token address of token contract.
- * @param _balance the new token balance of the contract.
- */
- function _setMediatorBalance(address _token, uint256 _balance) internal {
- uintStorage[keccak256(abi.encodePacked("mediatorBalance", _token))] = _balance;
- }
-
- /**
- * @dev Updates message id where specified token was first seen and deploy on the other side was requested.
- * @param _token address of token contract.
- * @param _messageId message id of the send message.
- */
- function _setTokenRegistrationMessageId(address _token, bytes32 _messageId) internal {
- uintStorage[keccak256(abi.encodePacked("tokenRegistrationMessageId", _token))] = uint256(_messageId);
- }
-
- /**
- * Internal function for unlocking some amount of tokens.
- * In case of bridging STAKE token, the insufficient amount of tokens can be additionally minted.
- */
- function _releaseTokens(address _token, address _recipient, uint256 _value) internal {
- // It is necessary to use mediatorBalance(STAKE) instead of STAKE.balanceOf(this) to disallow user
- // withdraw mistakenly locked funds (via regular transfer()) instead of minting new tokens.
- // It should be possible to process mistakenly locked funds by calling fixMediatorBalance.
- uint256 balance = mediatorBalance(_token);
-
- // STAKE total supply on xDai can be higher than the native STAKE supply on Mainnet
- // Omnibridge is allowed to mint extra native STAKE tokens.
- if (_token == address(0x0Ae055097C6d159879521C384F1D2123D1f195e6) && balance < _value) {
- // if all locked tokens were already withdrawn, mint new tokens directly to receiver
- // mediatorBalance(STAKE) remains 0 in this case.
- if (balance == 0) {
- IBurnableMintableERC677Token(_token).mint(_recipient, _value);
- return;
- }
-
- // otherwise, mint insufficient tokens to the contract
- IBurnableMintableERC677Token(_token).mint(address(this), _value - balance);
- balance = _value;
- }
- _token.safeTransfer(_recipient, _value);
- _setMediatorBalance(_token, balance.sub(_value));
- }
-}
diff --git a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/HomeFeeManagerMultiAMBErc20ToErc677.sol b/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/HomeFeeManagerMultiAMBErc20ToErc677.sol
deleted file mode 100644
index 718be3ace..000000000
--- a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/HomeFeeManagerMultiAMBErc20ToErc677.sol
+++ /dev/null
@@ -1,172 +0,0 @@
-pragma solidity 0.4.24;
-
-import "./BasicMultiTokenBridge.sol";
-import "../BaseRewardAddressList.sol";
-import "../Ownable.sol";
-import "../../interfaces/ERC677.sol";
-import "../../interfaces/IBurnableMintableERC677Token.sol";
-
-/**
-* @title HomeFeeManagerMultiAMBErc20ToErc677
-* @dev Implements the logic to distribute fees from the multi erc20 to erc677 mediator contract operations.
-* The fees are distributed in the form of native tokens to the list of reward accounts.
-*/
-contract HomeFeeManagerMultiAMBErc20ToErc677 is BaseRewardAddressList, Ownable, BasicMultiTokenBridge {
- using SafeMath for uint256;
-
- event FeeUpdated(bytes32 feeType, address indexed token, uint256 fee);
- event FeeDistributed(uint256 fee, address indexed token, bytes32 indexed messageId);
-
- // This is not a real fee value but a relative value used to calculate the fee percentage
- uint256 internal constant MAX_FEE = 1 ether;
- bytes32 public constant HOME_TO_FOREIGN_FEE = 0x741ede137d0537e88e0ea0ff25b1f22d837903dbbee8980b4a06e8523247ee26; // keccak256(abi.encodePacked("homeToForeignFee"))
- bytes32 public constant FOREIGN_TO_HOME_FEE = 0x03be2b2875cb41e0e77355e802a16769bb8dfcf825061cde185c73bf94f12625; // keccak256(abi.encodePacked("foreignToHomeFee"))
-
- /**
- * @dev Throws if given fee percentage is >= 100%.
- */
- modifier validFee(uint256 _fee) {
- require(_fee < MAX_FEE);
- /* solcov ignore next */
- _;
- }
-
- /**
- * @dev Throws if given fee type is unknown.
- */
- modifier validFeeType(bytes32 _feeType) {
- require(_feeType == HOME_TO_FOREIGN_FEE || _feeType == FOREIGN_TO_HOME_FEE);
- /* solcov ignore next */
- _;
- }
-
- /**
- * @dev Adds a new reward address to the list, which will receive fees collected from the bridge operations.
- * Only the owner can call this method.
- * @param _addr new reward account.
- */
- function addRewardAddress(address _addr) external onlyOwner {
- _addRewardAddress(_addr);
- }
-
- /**
- * @dev Removes a reward address from the rewards list.
- * Only the owner can call this method.
- * @param _addr old reward account, that should be removed.
- */
- function removeRewardAddress(address _addr) external onlyOwner {
- _removeRewardAddress(_addr);
- }
-
- /**
- * @dev Updates the value for the particular fee type.
- * Only the owner can call this method.
- * @param _feeType type of the updated fee, can be one of [HOME_TO_FOREIGN_FEE, FOREIGN_TO_HOME_FEE].
- * @param _token address of the token contract for which fee should apply, 0x00..00 describes the initial fee for newly created tokens.
- * @param _fee new fee value, in percentage (1 ether == 10**18 == 100%).
- */
- function setFee(bytes32 _feeType, address _token, uint256 _fee) external onlyOwner {
- require(isTokenRegistered(_token));
- _setFee(_feeType, _token, _fee);
- }
-
- /**
- * @dev Retrieves the value for the particular fee type.
- * @param _feeType type of the updated fee, can be one of [HOME_TO_FOREIGN_FEE, FOREIGN_TO_HOME_FEE].
- * @param _token address of the token contract for which fee should apply, 0x00..00 describes the initial fee for newly created tokens.
- * @return fee value associated with the requested fee type.
- */
- function getFee(bytes32 _feeType, address _token) public view validFeeType(_feeType) returns (uint256) {
- if (_getFee(_feeType, _token) > 0) {
- return _getFee(_feeType, address(0));
- }
- return 0;
- }
-
- /**
- * @dev Internal function for reading fee values mapping.
- * @param _feeType type of the fee, can be one of [HOME_TO_FOREIGN_FEE, FOREIGN_TO_HOME_FEE].
- * @param _token address of the token contract for which fee should apply.
- * @return fee value associated with the requested fee type.
- */
- function _getFee(bytes32 _feeType, address _token) internal returns (uint256) {
- return uintStorage[keccak256(abi.encodePacked(_feeType, _token))];
- }
-
- /**
- * @dev Calculates the amount of fee to pay for the value of the particular fee type.
- * @param _feeType type of the updated fee, can be one of [HOME_TO_FOREIGN_FEE, FOREIGN_TO_HOME_FEE].
- * @param _token address of the token contract for which fee should apply, 0x00..00 describes the initial fee for newly created tokens.
- * @param _value bridged value, for which fee should be evaluated.
- * @return amount of fee to be subtracted from the transferred value.
- */
- function calculateFee(bytes32 _feeType, address _token, uint256 _value) public view returns (uint256) {
- uint256 _fee = getFee(_feeType, _token);
- return _value.mul(_fee).div(MAX_FEE);
- }
-
- /**
- * @dev Internal function for updating the fee value for the given fee type.
- * @param _feeType type of the updated fee, can be one of [HOME_TO_FOREIGN_FEE, FOREIGN_TO_HOME_FEE].
- * @param _token address of the token contract for which fee should apply, 0x00..00 describes the initial fee for newly created tokens.
- * @param _fee new fee value, in percentage (1 ether == 10**18 == 100%).
- */
- function _setFee(bytes32 _feeType, address _token, uint256 _fee) internal validFeeType(_feeType) validFee(_fee) {
- uintStorage[keccak256(abi.encodePacked(_feeType, _token))] = _fee;
- emit FeeUpdated(_feeType, _token, _fee);
- }
-
- /**
- * @dev Calculates a random number based on the block number.
- * @param _count the max value for the random number.
- * @return a number between 0 and _count.
- */
- function random(uint256 _count) internal view returns (uint256) {
- return uint256(blockhash(block.number.sub(1))) % _count;
- }
-
- /**
- * @dev Calculates and distributes the amount of fee proportionally between registered reward addresses.
- * @param _feeType type of the updated fee, can be one of [HOME_TO_FOREIGN_FEE, FOREIGN_TO_HOME_FEE].
- * @param _token address of the token contract for which fee should apply, 0x00..00 describes the initial fee for newly created tokens.
- * @param _value bridged value, for which fee should be evaluated.
- * @return total amount of fee subtracted from the transferred value and distributed between the reward accounts.
- */
- function _distributeFee(bytes32 _feeType, address _token, uint256 _value) internal returns (uint256) {
- uint256 numOfAccounts = rewardAddressCount();
- uint256 _fee = calculateFee(_feeType, _token, _value);
- if (numOfAccounts == 0 || _fee == 0) {
- return 0;
- }
- uint256 feePerAccount = _fee.div(numOfAccounts);
- uint256 randomAccountIndex;
- uint256 diff = _fee.sub(feePerAccount.mul(numOfAccounts));
- if (diff > 0) {
- randomAccountIndex = random(numOfAccounts);
- }
-
- address nextAddr = getNextRewardAddress(F_ADDR);
- require(nextAddr != F_ADDR && nextAddr != address(0));
-
- uint256 i = 0;
- while (nextAddr != F_ADDR) {
- uint256 feeToDistribute = feePerAccount;
- if (diff > 0 && randomAccountIndex == i) {
- feeToDistribute = feeToDistribute.add(diff);
- }
-
- if (_feeType == HOME_TO_FOREIGN_FEE) {
- ERC677(_token).transfer(nextAddr, feeToDistribute);
- } else {
- _getMinterFor(_token).mint(nextAddr, feeToDistribute);
- }
-
- nextAddr = getNextRewardAddress(nextAddr);
- require(nextAddr != address(0));
- i = i + 1;
- }
- return _fee;
- }
-
- function _getMinterFor(address _token) internal view returns (IBurnableMintableERC677Token);
-}
diff --git a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/HomeMultiAMBErc20ToErc677.sol b/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/HomeMultiAMBErc20ToErc677.sol
deleted file mode 100644
index 0ff645645..000000000
--- a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/HomeMultiAMBErc20ToErc677.sol
+++ /dev/null
@@ -1,369 +0,0 @@
-pragma solidity 0.4.24;
-
-import "./BasicMultiAMBErc20ToErc677.sol";
-import "./TokenProxy.sol";
-import "./HomeFeeManagerMultiAMBErc20ToErc677.sol";
-import "../../interfaces/IBurnableMintableERC677Token.sol";
-import "./MultiTokenForwardingRules.sol";
-
-/**
-* @title HomeMultiAMBErc20ToErc677
-* @dev Home side implementation for multi-erc20-to-erc677 mediator intended to work on top of AMB bridge.
-* It is designed to be used as an implementation contract of EternalStorageProxy contract.
-*/
-contract HomeMultiAMBErc20ToErc677 is
- BasicMultiAMBErc20ToErc677,
- HomeFeeManagerMultiAMBErc20ToErc677,
- MultiTokenForwardingRules
-{
- bytes32 internal constant TOKEN_IMAGE_CONTRACT = 0x20b8ca26cc94f39fab299954184cf3a9bd04f69543e4f454fab299f015b8130f; // keccak256(abi.encodePacked("tokenImageContract"))
-
- event NewTokenRegistered(address indexed foreignToken, address indexed homeToken);
-
- /**
- * @dev Throws if called by any account other than the owner.
- * Overrides modifier from the Ownable contract in order to reduce bytecode size.
- */
- modifier onlyOwner() {
- _onlyOwner();
- /* solcov ignore next */
- _;
- }
-
- /**
- * @dev Internal function for reducing onlyOwner modifier bytecode size overhead.
- */
- function _onlyOwner() internal {
- require(msg.sender == owner());
- }
-
- /**
- * @dev Throws if caller on the other side is not an associated mediator.
- */
- modifier onlyMediator() {
- _onlyMediator();
- /* solcov ignore next */
- _;
- }
-
- /**
- * @dev Internal function for reducing onlyMediator modifier bytecode size overhead.
- */
- function _onlyMediator() internal {
- require(msg.sender == address(bridgeContract()));
- require(messageSender() == mediatorContractOnOtherSide());
- }
-
- /**
- * @dev Stores the initial parameters of the mediator.
- * @param _bridgeContract the address of the AMB bridge contract.
- * @param _mediatorContract the address of the mediator contract on the other network.
- * @param _dailyLimitMaxPerTxMinPerTxArray array with limit values for the assets to be bridged to the other network.
- * [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
- * @param _executionDailyLimitExecutionMaxPerTxArray array with limit values for the assets bridged from the other network.
- * [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
- * @param _requestGasLimit the gas limit for the message execution.
- * @param _owner address of the owner of the mediator contract.
- * @param _tokenImage address of the PermittableToken contract that will be used for deploying of new tokens.
- * @param _rewardAddresses list of reward addresses, between whom fees will be distributed.
- * @param _fees array with initial fees for both bridge directions.
- * [ 0 = homeToForeignFee, 1 = foreignToHomeFee ]
- */
- function initialize(
- address _bridgeContract,
- address _mediatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256[2] _executionDailyLimitExecutionMaxPerTxArray, // [ 0 = _executionDailyLimit, 1 = _executionMaxPerTx ]
- uint256 _requestGasLimit,
- address _owner,
- address _tokenImage,
- address[] _rewardAddresses,
- uint256[2] _fees // [ 0 = homeToForeignFee, 1 = foreignToHomeFee ]
- ) external onlyRelevantSender returns (bool) {
- require(!isInitialized());
-
- _setBridgeContract(_bridgeContract);
- _setMediatorContractOnOtherSide(_mediatorContract);
- _setLimits(address(0), _dailyLimitMaxPerTxMinPerTxArray);
- _setExecutionLimits(address(0), _executionDailyLimitExecutionMaxPerTxArray);
- _setRequestGasLimit(_requestGasLimit);
- _setOwner(_owner);
- _setTokenImage(_tokenImage);
- if (_rewardAddresses.length > 0) {
- _setRewardAddressList(_rewardAddresses);
- }
- _setFee(HOME_TO_FOREIGN_FEE, address(0), _fees[0]);
- _setFee(FOREIGN_TO_HOME_FEE, address(0), _fees[1]);
-
- setInitialize();
-
- return isInitialized();
- }
-
- /**
- * @dev Updates an address of the token image contract used for proxifying newly created tokens.
- * @param _tokenImage address of PermittableToken contract.
- */
- function setTokenImage(address _tokenImage) external onlyOwner {
- _setTokenImage(_tokenImage);
- }
-
- /**
- * @dev Retrieves address of the token image contract.
- * @return address of block reward contract.
- */
- function tokenImage() public view returns (address) {
- return addressStorage[TOKEN_IMAGE_CONTRACT];
- }
-
- /**
- * @dev Handles the bridged tokens for the first time, includes deployment of new TokenProxy contract.
- * Checks that the value is inside the execution limits and invokes the method
- * to execute the Mint or Unlock accordingly.
- * @param _token address of the bridged ERC20/ERC677 token on the foreign side.
- * @param _name name of the bridged token, "x" will be appended, if empty, symbol will be used instead.
- * @param _symbol symbol of the bridged token, "x" will be appended, if empty, name will be used instead.
- * @param _decimals decimals of the bridge foreign token.
- * @param _recipient address that will receive the tokens.
- * @param _value amount of tokens to be received.
- */
- function deployAndHandleBridgedTokens(
- address _token,
- string _name,
- string _symbol,
- uint8 _decimals,
- address _recipient,
- uint256 _value
- ) external onlyMediator {
- string memory name = _name;
- string memory symbol = _symbol;
- require(bytes(name).length > 0 || bytes(symbol).length > 0);
- if (bytes(name).length == 0) {
- name = symbol;
- } else if (bytes(symbol).length == 0) {
- symbol = name;
- }
- name = string(abi.encodePacked(name, " on xDai"));
- address homeToken = new TokenProxy(tokenImage(), name, symbol, _decimals, bridgeContract().sourceChainId());
- _setTokenAddressPair(_token, homeToken);
- _initializeTokenBridgeLimits(homeToken, _decimals);
- _setFee(HOME_TO_FOREIGN_FEE, homeToken, getFee(HOME_TO_FOREIGN_FEE, address(0)));
- _setFee(FOREIGN_TO_HOME_FEE, homeToken, getFee(FOREIGN_TO_HOME_FEE, address(0)));
- _handleBridgedTokens(ERC677(homeToken), _recipient, _value);
-
- emit NewTokenRegistered(_token, homeToken);
- }
-
- /**
- * @dev Handles the bridged tokens. Checks that the value is inside the execution limits and invokes the method
- * to execute the Mint or Unlock accordingly.
- * @param _token bridged ERC20 token.
- * @param _recipient address that will receive the tokens.
- * @param _value amount of tokens to be received.
- */
- function handleBridgedTokens(ERC677 _token, address _recipient, uint256 _value) external onlyMediator {
- ERC677 homeToken = ERC677(homeTokenAddress(_token));
- require(isTokenRegistered(homeToken));
- _handleBridgedTokens(homeToken, _recipient, _value);
- }
-
- /**
- * @dev ERC677 transfer callback function.
- * @param _from address of tokens sender.
- * @param _value amount of transferred tokens.
- * @param _data additional transfer data, can be used for passing alternative receiver address.
- */
- function onTokenTransfer(address _from, uint256 _value, bytes _data) public returns (bool) {
- // if onTokenTransfer is called as a part of call to _relayTokens, this callback does nothing
- if (!lock()) {
- ERC677 token = ERC677(msg.sender);
- // if msg.sender if not a valid token contract, this check will fail, since limits are zeros
- // so the following check is not needed
- // require(isTokenRegistered(token));
- require(withinLimit(token, _value));
- addTotalSpentPerDay(token, getCurrentDay(), _value);
- bridgeSpecificActionsOnTokenTransfer(token, _from, chooseReceiver(_from, _data), _value);
- }
- return true;
- }
-
- /**
- * @dev Validates that the token amount is inside the limits, calls transferFrom to transfer the tokens to the contract
- * and invokes the method to burn/lock the tokens and unlock/mint the tokens on the other network.
- * The user should first call Approve method of the ERC677 token.
- * @param token bridge token contract address.
- * @param _receiver address that will receive the native tokens on the other network.
- * @param _value amount of tokens to be transferred to the other network.
- */
- function _relayTokens(ERC677 token, address _receiver, uint256 _value) internal {
- // This lock is to prevent calling passMessage twice if a ERC677 token is used.
- // When transferFrom is called, after the transfer, the ERC677 token will call onTokenTransfer from this contract
- // which will call passMessage.
- require(!lock());
- address to = address(this);
- // if msg.sender if not a valid token contract, this check will fail, since limits are zeros
- // so the following check is not needed
- // require(isTokenRegistered(token));
- require(withinLimit(token, _value));
- addTotalSpentPerDay(token, getCurrentDay(), _value);
-
- setLock(true);
- token.transferFrom(msg.sender, to, _value);
- setLock(false);
- bridgeSpecificActionsOnTokenTransfer(token, msg.sender, _receiver, _value);
- }
-
- /**
- * @dev Executes action on the request to deposit tokens relayed from the other network
- * @param _recipient address of tokens receiver
- * @param _value amount of bridged tokens
- */
- function executeActionOnBridgedTokens(address _token, address _recipient, uint256 _value) internal {
- bytes32 _messageId = messageId();
- uint256 valueToMint = _value;
- uint256 fee = _distributeFee(FOREIGN_TO_HOME_FEE, _token, valueToMint);
- if (fee > 0) {
- emit FeeDistributed(fee, _token, _messageId);
- valueToMint = valueToMint.sub(fee);
- }
- _getMinterFor(_token).mint(_recipient, valueToMint);
- emit TokensBridged(_token, _recipient, valueToMint, _messageId);
- }
-
- /**
- * @dev Mints back the amount of tokens that were bridged to the other network but failed.
- * @param _token address that bridged token contract.
- * @param _recipient address that will receive the tokens.
- * @param _value amount of tokens to be received.
- */
- function executeActionOnFixedTokens(address _token, address _recipient, uint256 _value) internal {
- _getMinterFor(_token).mint(_recipient, _value);
- }
-
- /**
- * @dev Retrieves address of the home bridged token contract associated with a specific foreign token contract.
- * @param _foreignToken address of the created home token contract.
- * @return address of the home token contract.
- */
- function homeTokenAddress(address _foreignToken) public view returns (address) {
- return addressStorage[keccak256(abi.encodePacked("homeTokenAddress", _foreignToken))];
- }
-
- /**
- * @dev Retrieves address of the foreign bridged token contract associated with a specific home token contract.
- * @param _homeToken address of the created home token contract.
- * @return address of the foreign token contract.
- */
- function foreignTokenAddress(address _homeToken) public view returns (address) {
- return addressStorage[keccak256(abi.encodePacked("foreignTokenAddress", _homeToken))];
- }
-
- /**
- * @dev Internal function for updating an address of the token image contract.
- * @param _foreignToken address of bridged foreign token contract.
- * @param _foreignToken address of created home token contract.
- */
- function _setTokenAddressPair(address _foreignToken, address _homeToken) internal {
- addressStorage[keccak256(abi.encodePacked("homeTokenAddress", _foreignToken))] = _homeToken;
- addressStorage[keccak256(abi.encodePacked("foreignTokenAddress", _homeToken))] = _foreignToken;
- }
-
- /**
- * @dev Internal function for updating an address of the token image contract.
- * @param _tokenImage address of deployed PermittableToken contract.
- */
- function _setTokenImage(address _tokenImage) internal {
- require(AddressUtils.isContract(_tokenImage));
- addressStorage[TOKEN_IMAGE_CONTRACT] = _tokenImage;
- }
-
- /**
- * @dev Executes action on withdrawal of bridged tokens
- * @param _token address of token contract
- * @param _from address of tokens sender
- * @param _receiver address of tokens receiver on the other side
- * @param _value requested amount of bridged tokens
- */
- function bridgeSpecificActionsOnTokenTransfer(ERC677 _token, address _from, address _receiver, uint256 _value)
- internal
- {
- uint256 valueToBridge = _value;
- uint256 fee = 0;
- // Next line disables fee collection in case sender is one of the reward addresses.
- // It is needed to allow a 100% withdrawal of tokens from the home side.
- // If fees are not disabled for reward receivers, small fraction of tokens will always
- // be redistributed between the same set of reward addresses, which is not the desired behaviour.
- if (!isRewardAddress(_from)) {
- fee = _distributeFee(HOME_TO_FOREIGN_FEE, _token, valueToBridge);
- valueToBridge = valueToBridge.sub(fee);
- }
- IBurnableMintableERC677Token(_token).burn(valueToBridge);
- bytes32 _messageId = passMessage(_token, _from, _receiver, valueToBridge);
- if (fee > 0) {
- emit FeeDistributed(fee, _token, _messageId);
- }
- }
-
- /**
- * @dev Call AMB bridge to require the invocation of handleBridgedTokens method of the mediator on the other network.
- * Store information related to the bridged tokens in case the message execution fails on the other network
- * and the action needs to be fixed/rolled back.
- * @param _token bridged ERC20 token
- * @param _from address of sender, if bridge operation fails, tokens will be returned to this address
- * @param _receiver address of receiver on the other side, will eventually receive bridged tokens
- * @param _value bridged amount of tokens
- * @return id of the created and passed message
- */
- function passMessage(ERC677 _token, address _from, address _receiver, uint256 _value) internal returns (bytes32) {
- bytes4 methodSelector = this.handleBridgedTokens.selector;
- address foreignToken = foreignTokenAddress(_token);
- bytes memory data = abi.encodeWithSelector(methodSelector, foreignToken, _receiver, _value);
-
- address executor = mediatorContractOnOtherSide();
- uint256 gasLimit = requestGasLimit();
- IAMB bridge = bridgeContract();
-
- // Address of the foreign token is used here for determining lane permissions.
- // Such decision makes it possible to set rules for tokens that are not bridged yet.
- bytes32 _messageId = destinationLane(foreignToken, _from, _receiver) >= 0
- ? bridge.requireToPassMessage(executor, data, gasLimit)
- : bridge.requireToConfirmMessage(executor, data, gasLimit);
-
- setMessageToken(_messageId, _token);
- setMessageValue(_messageId, _value);
- setMessageRecipient(_messageId, _from);
-
- emit TokensBridgingInitiated(_token, _from, _value, _messageId);
-
- return _messageId;
- }
-
- /**
- * @dev Internal function for getting minter proxy address.
- * Returns the token address itself, expect for the case with bridged STAKE token.
- * For bridged STAKE token, returns the hardcoded TokenMinter contract address.
- * @param _token address of the token to mint.
- * @return address of the minter contract that should be used for calling mint(address,uint256)
- */
- function _getMinterFor(address _token) internal view returns (IBurnableMintableERC677Token) {
- if (_token == address(0xb7D311E2Eb55F2f68a9440da38e7989210b9A05e)) {
- // hardcoded address of the TokenMinter address
- return IBurnableMintableERC677Token(0xb7D311E2Eb55F2f68a9440da38e7989210b9A05e);
- }
- return IBurnableMintableERC677Token(_token);
- }
-
- /**
- * @dev Withdraws erc20 tokens or native coins from the bridged token contract.
- * Only the proxy owner is allowed to call this method.
- * @param _bridgedToken address of the bridged token contract.
- * @param _token address of the claimed token or address(0) for native coins.
- * @param _to address of the tokens/coins receiver.
- */
- function claimTokensFromTokenContract(address _bridgedToken, address _token, address _to)
- external
- onlyIfUpgradeabilityOwner
- {
- IBurnableMintableERC677Token(_bridgedToken).claimTokens(_token, _to);
- }
-}
diff --git a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/MultiTokenBridgeMediator.sol b/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/MultiTokenBridgeMediator.sol
deleted file mode 100644
index ef2fbc3b4..000000000
--- a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/MultiTokenBridgeMediator.sol
+++ /dev/null
@@ -1,104 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../../interfaces/ERC677.sol";
-import "./BasicMultiTokenBridge.sol";
-import "../BasicAMBMediator.sol";
-import "../ChooseReceiverHelper.sol";
-import "../TransferInfoStorage.sol";
-
-/**
-* @title MultiTokenBridgeMediator
-* @dev Common mediator functionality to handle operations related to multi-token bridge messages sent to AMB bridge.
-*/
-contract MultiTokenBridgeMediator is
- BasicAMBMediator,
- BasicMultiTokenBridge,
- TransferInfoStorage,
- ChooseReceiverHelper
-{
- event FailedMessageFixed(bytes32 indexed messageId, address token, address recipient, uint256 value);
- event TokensBridgingInitiated(
- address indexed token,
- address indexed sender,
- uint256 value,
- bytes32 indexed messageId
- );
- event TokensBridged(address indexed token, address indexed recipient, uint256 value, bytes32 indexed messageId);
-
- /**
- * @dev Stores the bridged token of a message sent to the AMB bridge.
- * @param _messageId of the message sent to the bridge.
- * @param _token bridged token address.
- */
- function setMessageToken(bytes32 _messageId, address _token) internal {
- addressStorage[keccak256(abi.encodePacked("messageToken", _messageId))] = _token;
- }
-
- /**
- * @dev Tells the bridged token address of a message sent to the AMB bridge.
- * @return address of a token contract.
- */
- function messageToken(bytes32 _messageId) internal view returns (address) {
- return addressStorage[keccak256(abi.encodePacked("messageToken", _messageId))];
- }
-
- /**
- * @dev Handles the bridged tokens. Checks that the value is inside the execution limits and invokes the method
- * to execute the Mint or Unlock accordingly.
- * @param _token bridged ERC20/ERC677 token
- * @param _recipient address that will receive the tokens
- * @param _value amount of tokens to be received
- */
- function _handleBridgedTokens(ERC677 _token, address _recipient, uint256 _value) internal {
- if (withinExecutionLimit(_token, _value)) {
- addTotalExecutedPerDay(_token, getCurrentDay(), _value);
- executeActionOnBridgedTokens(_token, _recipient, _value);
- } else {
- executeActionOnBridgedTokensOutOfLimit(_token, _recipient, _value);
- }
- }
-
- /**
- * @dev Method to be called when a bridged message execution failed. It will generate a new message requesting to
- * fix/roll back the transferred assets on the other network.
- * @param _messageId id of the message which execution failed.
- */
- function requestFailedMessageFix(bytes32 _messageId) external {
- require(!bridgeContract().messageCallStatus(_messageId));
- require(bridgeContract().failedMessageReceiver(_messageId) == address(this));
- require(bridgeContract().failedMessageSender(_messageId) == mediatorContractOnOtherSide());
-
- bytes4 methodSelector = this.fixFailedMessage.selector;
- bytes memory data = abi.encodeWithSelector(methodSelector, _messageId);
- bridgeContract().requireToPassMessage(mediatorContractOnOtherSide(), data, requestGasLimit());
- }
-
- /**
- * @dev Handles the request to fix transferred assets which bridged message execution failed on the other network.
- * It uses the information stored by passMessage method when the assets were initially transferred
- * @param _messageId id of the message which execution failed on the other network.
- */
- function fixFailedMessage(bytes32 _messageId) public onlyMediator {
- require(!messageFixed(_messageId));
-
- address token = messageToken(_messageId);
- address recipient = messageRecipient(_messageId);
- uint256 value = messageValue(_messageId);
- setMessageFixed(_messageId);
- executeActionOnFixedTokens(token, recipient, value);
- emit FailedMessageFixed(_messageId, token, recipient, value);
- }
-
- /**
- * @dev Execute the action to be performed when the bridge tokens are out of execution limits.
- */
- function executeActionOnBridgedTokensOutOfLimit(address, address, uint256) internal {
- revert();
- }
-
- /* solcov ignore next */
- function executeActionOnBridgedTokens(address _token, address _recipient, uint256 _value) internal;
-
- /* solcov ignore next */
- function executeActionOnFixedTokens(address _token, address _recipient, uint256 _value) internal;
-}
diff --git a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/MultiTokenForwardingRules.sol b/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/MultiTokenForwardingRules.sol
deleted file mode 100644
index ca90a971f..000000000
--- a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/MultiTokenForwardingRules.sol
+++ /dev/null
@@ -1,130 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../../upgradeable_contracts/Ownable.sol";
-
-/**
- * @title MultiTokenForwardingRules
- * @dev Multi token mediator functionality for managing destination AMB lanes permissions.
- */
-contract MultiTokenForwardingRules is Ownable {
- address internal constant ANY_ADDRESS = 0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF;
-
- event ForwardingRuleUpdated(address token, address sender, address receiver, int256 lane);
-
- /**
- * @dev Tells the destination lane for a particular bridge operation by checking several wildcard forwarding rules.
- * @param _token address of the token contract on the foreign side of the bridge.
- * @param _sender address of the tokens sender on the home side of the bridge.
- * @param _receiver address of the tokens receiver on the foreign side of the bridge.
- * @return destination lane identifier, where the message should be forwarded to.
- * 1 - oracle-driven-lane should be used.
- * 0 - default behaviour should be applied.
- * -1 - manual lane should be used.
- */
- function destinationLane(address _token, address _sender, address _receiver) public view returns (int256) {
- int256 defaultLane = forwardingRule(_token, ANY_ADDRESS, ANY_ADDRESS); // specific token for all senders and receivers
- int256 lane;
- if (defaultLane < 0) {
- lane = forwardingRule(_token, _sender, ANY_ADDRESS); // specific token for specific sender
- if (lane != 0) return lane;
- lane = forwardingRule(_token, ANY_ADDRESS, _receiver); // specific token for specific receiver
- if (lane != 0) return lane;
- return defaultLane;
- }
- lane = forwardingRule(ANY_ADDRESS, _sender, ANY_ADDRESS); // all tokens for specific sender
- if (lane != 0) return lane;
- return forwardingRule(ANY_ADDRESS, ANY_ADDRESS, _receiver); // all tokens for specific receiver
- }
-
- /**
- * Updates the forwarding rule for bridging specific token.
- * Only owner can call this method.
- * @param _token address of the token contract on the foreign side.
- * @param _enable true, if bridge operations for a given token should be forwarded to the manual lane.
- */
- function setTokenForwardingRule(address _token, bool _enable) external {
- require(_token != ANY_ADDRESS);
- _setForwardingRule(_token, ANY_ADDRESS, ANY_ADDRESS, _enable ? int256(-1) : int256(0));
- }
-
- /**
- * Allows a particular address to send bridge requests to the oracle-driven lane for a particular token.
- * Only owner can call this method.
- * @param _token address of the token contract on the foreign side.
- * @param _sender address of the tokens sender on the home side of the bridge.
- * @param _enable true, if bridge operations for a given token and sender should be forwarded to the oracle-driven lane.
- */
- function setSenderExceptionForTokenForwardingRule(address _token, address _sender, bool _enable) external {
- require(_token != ANY_ADDRESS);
- require(_sender != ANY_ADDRESS);
- _setForwardingRule(_token, _sender, ANY_ADDRESS, _enable ? int256(1) : int256(0));
- }
-
- /**
- * Allows a particular address to receive bridged tokens from the oracle-driven lane for a particular token.
- * Only owner can call this method.
- * @param _token address of the token contract on the foreign side.
- * @param _receiver address of the tokens receiver on the foreign side of the bridge.
- * @param _enable true, if bridge operations for a given token and receiver should be forwarded to the oracle-driven lane.
- */
- function setReceiverExceptionForTokenForwardingRule(address _token, address _receiver, bool _enable) external {
- require(_token != ANY_ADDRESS);
- require(_receiver != ANY_ADDRESS);
- _setForwardingRule(_token, ANY_ADDRESS, _receiver, _enable ? int256(1) : int256(0));
- }
-
- /**
- * Updates the forwarding rule for the specific sender.
- * Only owner can call this method.
- * @param _sender address of the tokens sender on the home side.
- * @param _enable true, if all bridge operations from a given sender should be forwarded to the manual lane.
- */
- function setSenderForwardingRule(address _sender, bool _enable) external {
- require(_sender != ANY_ADDRESS);
- _setForwardingRule(ANY_ADDRESS, _sender, ANY_ADDRESS, _enable ? int256(-1) : int256(0));
- }
-
- /**
- * Updates the forwarding rule for the specific receiver.
- * Only owner can call this method.
- * @param _receiver address of the tokens receiver on the foreign side.
- * @param _enable true, if all bridge operations to a given receiver should be forwarded to the manual lane.
- */
- function setReceiverForwardingRule(address _receiver, bool _enable) external {
- require(_receiver != ANY_ADDRESS);
- _setForwardingRule(ANY_ADDRESS, ANY_ADDRESS, _receiver, _enable ? int256(-1) : int256(0));
- }
-
- /**
- * @dev Tells forwarding rule set up for a particular bridge operation.
- * @param _token address of the token contract on the foreign side of the bridge.
- * @param _sender address of the tokens sender on the home side of the bridge.
- * @param _receiver address of the tokens receiver on the foreign side of the bridge.
- * @return preferred destination lane for the particular bridge operation.
- */
- function forwardingRule(address _token, address _sender, address _receiver) public view returns (int256) {
- return intStorage[keccak256(abi.encodePacked("forwardTo", _token, _sender, _receiver))];
- }
-
- /**
- * @dev Internal function for updating the preferred destination lane for the specific wildcard pattern.
- * Only owner can call this method.
- * Examples:
- * _setForwardingRule(tokenA, ANY_ADDRESS, ANY_ADDRESS, -1) - forward all operations on tokenA to the manual lane
- * _setForwardingRule(tokenA, Alice, ANY_ADDRESS, 1) - allow Alice to use the oracle-driven lane for bridging tokenA
- * _setForwardingRule(tokenA, ANY_ADDRESS, Bob, 1) - forward all tokenA bridge operations, where Bob is the receiver, to the oracle-driven lane
- * _setForwardingRule(ANY_ADDRESS, Mallory, ANY_ADDRESS, -1) - forward all bridge operations from Mallory to the manual lane
- * @param _token address of the token contract on the foreign side of the bridge.
- * @param _sender address of the tokens sender on the home side of the bridge.
- * @param _receiver address of the tokens receiver on the foreign side of the bridge.
- * @param _lane preferred destination lane for the particular sender.
- * 1 - forward to the oracle-driven lane.
- * 0 - behaviour is unset, proceed by checking other less-specific rules.
- * -1 - manual lane should be used.
- */
- function _setForwardingRule(address _token, address _sender, address _receiver, int256 _lane) internal onlyOwner {
- intStorage[keccak256(abi.encodePacked("forwardTo", _token, _sender, _receiver))] = _lane;
-
- emit ForwardingRuleUpdated(_token, _sender, _receiver, _lane);
- }
-}
diff --git a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/TokenProxy.sol b/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/TokenProxy.sol
deleted file mode 100644
index 5931dd6fc..000000000
--- a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/TokenProxy.sol
+++ /dev/null
@@ -1,73 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../../upgradeability/Proxy.sol";
-
-interface IPermittableTokenVersion {
- function version() external pure returns (string);
-}
-
-/**
-* @title TokenProxy
-* @dev Helps to reduces the size of the deployed bytecode for automatically created tokens, by using a proxy contract.
-*/
-contract TokenProxy is Proxy {
- // storage layout is copied from PermittableToken.sol
- string internal name;
- string internal symbol;
- uint8 internal decimals;
- mapping(address => uint256) internal balances;
- uint256 internal totalSupply;
- mapping(address => mapping(address => uint256)) internal allowed;
- address internal owner;
- bool internal mintingFinished;
- address internal bridgeContractAddr;
- // string public constant version = "1";
- bytes32 internal DOMAIN_SEPARATOR;
- // bytes32 public constant PERMIT_TYPEHASH = 0xea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb;
- mapping(address => uint256) internal nonces;
- mapping(address => mapping(address => uint256)) internal expirations;
-
- /**
- * @dev Creates a non-upgradeable token proxy for PermitableToken.sol, initializes its eternalStorage.
- * @param _tokenImage address of the token image used for mirroring all functions.
- * @param _name token name.
- * @param _symbol token symbol.
- * @param _decimals token decimals.
- * @param _chainId chain id for current network.
- */
- constructor(address _tokenImage, string memory _name, string memory _symbol, uint8 _decimals, uint256 _chainId)
- public
- {
- string memory version = IPermittableTokenVersion(_tokenImage).version();
-
- assembly {
- // EIP 1967
- // bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1)
- sstore(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc, _tokenImage)
- }
- name = _name;
- symbol = _symbol;
- decimals = _decimals;
- owner = msg.sender; // msg.sender == HomeMultiAMBErc20ToErc677 mediator
- bridgeContractAddr = msg.sender;
- DOMAIN_SEPARATOR = keccak256(
- abi.encode(
- keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
- keccak256(bytes(_name)),
- keccak256(bytes(version)),
- _chainId,
- address(this)
- )
- );
- }
-
- /**
- * @dev Retrieves the implementation contract address, mirrored token image.
- * @return token image address.
- */
- function implementation() public view returns (address impl) {
- assembly {
- impl := sload(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc)
- }
- }
-}
diff --git a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/callflows.md b/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/callflows.md
deleted file mode 100644
index 80238e594..000000000
--- a/contracts/upgradeable_contracts/multi_amb_erc20_to_erc677/callflows.md
+++ /dev/null
@@ -1,334 +0,0 @@
-# MULTI-AMB-ERC20-TO-ERC677 extension call flows
-
-The call flows below document sequences of contracts methods invocations to cover the main MULTI-AMB-ERC20-TO-ERC677 extension operations.
-
-## Tokens relay: successful path
-
-### Sending ERC20 tokens from Foreign to Home
-
-The scenario to pass ERC20 tokens to another side of the bridge in form of ERC677 compatible tokens locks the tokens on the mediator contract on originating (Foreign) bridge side. On the first operation with some particular ERC20 token, a new ERC677 token contract is deployed on the terminating (Home) bridge side. Then the mediator on the terminating (Home) bridge side mints some amount of ERC677 tokens.
-
-#### Request
-
-In order to initiate the request the ERC20 tokens can be sent using two different ways:
-- If the token support ERC677 standard, using one tx with `transfer` or `transferAndCall` functions.
-- Using two transactions: first call `approve` on the token contract, then call any overload of `relayTokens` function.
-
-It is necessary to note that the mediator on the originating side could be configured to use a fee manager. If so, the amount of minted tokens on the terminating side will be less than the actual locked amount. Collected fee amount will be distributed between configured reward receivers.
-
-First transfer of any ERC20 token:
-```=
->>Mediator
-ForeignMultiAMBErc20ToErc677::onTokenTransfer/relayTokens
-..ForeignMultiAMBErc20ToErc677::bridgeSpecificActionsOnTokenTransfer
-....TokenReader::readName
-....TokenReader::readSymbol
-....TokenReader::readDecimals
-....BasicMultiTokenBridge::_initializeTokenBridgeLimits
-....ForeignFeeManagerMultiAMBErc20ToErc677::_setFee
-....ForeignFeeManagerMultiAMBErc20ToErc677::_setFee
-....ForeignFeeManagerMultiAMBErc20ToErc677::_distributeFee
-....ForeignMultiAMBErc20ToErc677::_setMediatorBalance
-....MultiTokenBridgeMediator::setMessageToken
-....TransferInfoStorage::setMessageValue
-....TransferInfoStorage::setMessageRecipient
-....ForeignMultiAMBErc20ToErc677::_setTokenRegistrationMessageId
->>Bridge
-....MessageDelivery::requireToPassMessage
-......ForeignAMB::emitEventOnMessageRequest
-........emit UserRequestForAffirmation
-```
-
-Subsequent ERC20 transfers:
-```=
->>Mediator
-ForeignMultiAMBErc20ToErc677::onTokenTransfer/relayTokens
-..ForeignMultiAMBErc20ToErc677::bridgeSpecificActionsOnTokenTransfer
-....ForeignFeeManagerMultiAMBErc20ToErc677::_distributeFee
-....ForeignMultiAMBErc20ToErc677::_setMediatorBalance
-....MultiTokenBridgeMediator::setMessageToken
-....TransferInfoStorage::setMessageValue
-....TransferInfoStorage::setMessageRecipient
->>Bridge
-....MessageDelivery::requireToPassMessage
-......ForeignAMB::emitEventOnMessageRequest
-........emit UserRequestForAffirmation
-```
-
-#### Execution
-
-First transfer of any ERC20 token:
-```=
->>Bridge
-BasicHomeAMB::executeAffirmation
-..BasicHomeAMB::handleMessage
-....ArbitraryMessage::unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setMessageId
->>Mediator
-........HomeMultiAMBErc20ToErc677::deployAndHandleBridgedTokens
-..........new TokenProxy;
-..........HomeMultiAMBErc20ToErc677::_setTokenAddressPair
-..........BasicMultiTokenBridge::_initializeTokenBridgeLimits
-............emit NewTokenRegistered
-..........MultiTokenBridgeMediator::_handleBridgedTokens
-............HomeMultiAMBErc20ToErc677::executeActionOnBridgedTokens
-..............ERC677BridgeToken::mint
-................<######>
-..............emit TokensBridged
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......HomeAMB::emitEventOnMessageProcessed
-........emit AffirmationCompleted
-```
-
-Subsequent ERC20 transfers:
-```=
->>Bridge
-BasicHomeAMB::executeAffirmation
-..BasicHomeAMB::handleMessage
-....ArbitraryMessage::unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setMessageId
->>Mediator
-........HomeMultiAMBErc20ToErc677::handleBridgedTokens
-..........HomeMultiAMBErc20ToErc677::homeTokenAddress
-..........MultiTokenBridgeMediator::_handleBridgedTokens
-............HomeMultiAMBErc20ToErc677::executeActionOnBridgedTokens
-..............ERC677BridgeToken::mint
-................<######>
-..............emit TokensBridged
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......HomeAMB::emitEventOnMessageProcessed
-........emit AffirmationCompleted
-```
-
-### Sending ERC677 tokens from Home to Foreign
-
-For the scenario to exchange ERC677 tokens back to the locked ERC20 ones, the mediator contract on the originating (Home) bridge side burns the tokens. The mediator of the terminating bridge side unlocks the ERC20 tokens in favor of the originating request sender.
-
-It is necessary to note that the mediator on the terminating side could be configured to use a fee manager. If so, the amount of unlocked tokens on the terminating side will be less than the actual burned amount. Collected fee amount will be distributed between configured reward receivers.
-
-#### Request
-
-Since the token contract is ERC677 compatible, the `transferAndCall` method is used to initiate the exchange from ERC677 tokens to ERC20 tokens. However, the way of first approving tokens and then calling `relayTokens` also works.
-
-```=
->>Token
-ERC677BridgeToken::transferAndCall
-..ERC677BridgeToken::superTransfer
-....BasicToken::transfer
-......emit Transfer
-..emit Transfer
-..ERC677BridgeToken::contractFallback
->>Mediator
-....HomeMultiAMBErc20ToErc677::onTokenTransfer/relayTokens
-......HomeMultiAMBErc20ToErc677::bridgeSpecificActionsOnTokenTransfer
->>Token
-........BurnableToken::burn
-..........BurnableToken::_burn
->>Mediator
-........TokenBridgeMediator::passMessage
-..........HomeMultiAMBErc20ToErc677::foreignTokenAddress
-..........MultiTokenBridgeMediator::setMessageToken
-..........TransferInfoStorage::setMessageValue
-..........TransferInfoStorage::setMessageRecipient
->>Bridge
-..........MessageDelivery::requireToPassMessage
-............HomeAMB::emitEventOnMessageRequest
-..............emit UserRequestForSignature
-```
-
-#### Execution
-
-If it is configured, the fee manager is involved to calculate and distribute fees: the mediators receives the request to unlock tokens from the AMB contract, calculates the fees amount by using the fee manager, distributes calculated fee among the accounts configured in the fee manager. The fee manager safely sends fractions of the fees to the accounts. As soon as this process finishes the mediator contract sends the reduced amount of ERC20 tokens to the initial request sender's address.
-
-```=
->>Bridge
-BasicForeignAMB::executeSignatures
-..ArbitraryMessage.unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setMessageId
->>Mediator
-........ForeignMultiAMBErc20ToErc677::handleBridgedTokens
-..........MultiTokenBridgeMediator::_handleBridgedTokens
-............ForeignMultiAMBErc20ToErc677::executeActionOnBridgedTokens
-..............ForeignFeeManagerMultiAMBErc20ToErc677::_distributeFee
-..............ForeignMultiAMBErc20ToErc677::_setMediatorBalance
->>Token
-................ERC20::transfer
->>Mediator
-..............emit TokensBridged
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......ForeignAMB::emitEventOnMessageProcessed
-........emit RelayedMessage
-```
-
-## Tokens relay: failure and recovery
-
-Failures in the mediator contract at the moment to complete a relay operation could cause imbalance of the extension due to the asynchronous nature of the Arbitrary Message Bridge. Therefore the feature to recover the balance of the MULTI-AMB-ERC20-TO-ERC677 extension is very important for the extension healthiness.
-
-For the mediator contracts there is a possibility to provide a way how to recover an operation if the data relay request has been failed within the mediator contract on another side.
-
-For the token bridging this means that:
- * if the operation to mint tokens as part of the Foreign->Home request processing was failed, it is possible to unlock the tokens on the Foreign side;
- * if the operation to unlock tokens as part of the Home->Foreign request processing was failed, it is possible to mint the burnt tokens on the Home side.
-
-The mediator can get the status of the corresponding relay request from the bridge contract by using the id of this request (AMB message id). So, as soon as a user would like to perform a recovery they send a call with the request id to the mediator contract and if such request was failed indeed, the mediator originates the recovery message to the mediator on another side. The recovery messages contain the same information as it was used by the tokens relay request, so the terminating mediator checks that such request was registered and executes the actual recovery by using amount of tokens from the request and the request sender.
-
-It is important that the recovery must be performed without the extension admin attendance.
-
-### Failed attempt to relay tokens from Home to Foreign
-
-#### Execution Failure
-
-A failure happens within the message handler on the mediator contract's side when the Foreign bridge contract passes the message to it.
-
-```=
->>Bridge
-BasicForeignAMB::executeSignatures
-..ArbitraryMessage.unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setMessageId
->>Mediator
-........[failed ForeignMultiAMBErc20ToErc677::handleBridgedTokens]
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......MessageProcessor::setFailedMessageReceiver
-......MessageProcessor::setFailedMessageSender
-......ForeignAMB::emitEventOnMessageProcessed
-........emit RelayedMessage
-```
-
-#### Recovery initialization
-
-As soon as a user identified a message transfer failure (e.g. the corresponding amount of ERC677 tokens did not appear on the user account balance on the Foreign chain), they call the `requestFailedMessageFix` method on the Foreign mediator contract. Anyone is able to call this method by specifying the message id. The method requests the bridge contract whether the corresponding message was failed indeed. That is why the operation is safe to perform by anyone.
-
-```=
->>Mediator
-MultiTokenBridgeMediator::requestFailedMessageFix
->>Bridge
-..MessageProcessor::messageCallStatus
-..MessageProcessor::failedMessageReceiver
-..MessageProcessor::failedMessageSender
-..MessageDelivery::requireToPassMessage
-....ForeignAMB::emitEventOnMessageRequest
-......emit UserRequestForAffirmation
-```
-
-#### Recovery completion
-
-The Home chain initially originated the request, that is why the extension is imbalances - more ERC20 tokens are locked on the Foreign side than ERC677 tokens are minted on the Home side. Therefore the appeared message to invoke `fixFailedMessage` causes minting of the ERC677 tokens.
-
-```=
->>Bridge
-BasicHomeAMB::executeAffirmation
-..BasicHomeAMB::handleMessage
-....ArbitraryMessage::unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setMessageId
->>Mediator
-........MultiTokenBridgeMediator::fixFailedMessage
-..........MultiTokenBridgeMediator::messageToken
-..........MultiTokenBridgeMediator::messageRecipient
-..........MultiTokenBridgeMediator::messageValue
-..........MultiTokenBridgeMediator::setMessageFixed
-..........HomeMultiAMBErc20ToErc677::executeActionOnFixedTokens
-............ERC677BridgeToken::mint
-..............<######>
-..........emit FailedMessageFixed
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......HomeAMB::emitEventOnMessageProcessed
-........emit AffirmationCompleted
-```
-
-### Failed attempt to relay tokens from Foreign to Home
-
-#### Execution Failure
-
-A failure happens within the message handler on the mediator contract's side when the Home bridge contract passes the message to it.
-
-```=
->>Bridge
-BasicHomeAMB::executeAffirmation
-..BasicHomeAMB::handleMessage
-....ArbitraryMessage::unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setMessageId
->>Mediator
-........[failed HomeMultiAMBErc20ToErc677::handleBridgedTokens/deployAndHandleBridgedTokens]
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......MessageProcessor::setFailedMessageReceiver
-......MessageProcessor::setFailedMessageSender
-......HomeAMB::emitEventOnMessageProcessed
-........emit AffirmationCompleted
-```
-
-#### Recovery initialization
-
-As soon as a user identified a message transfer failure (e.g. the corresponding amount of ERC677 tokens did not appear on the user account balance on the Home chain), they call the `requestFailedMessageFix` method on the Home mediator contract. Anyone is able to call this method by specifying the message id. The method requests the bridge contract whether the corresponding message was failed indeed. That is why the operation is safe to perform by anyone.
-
-```=
->>Mediator
-MultiTokenBridgeMediator::requestFailedMessageFix
->>Bridge
-..MessageProcessor::messageCallStatus
-..MessageProcessor::failedMessageReceiver
-..MessageProcessor::failedMessageSender
-..MessageDelivery::requireToPassMessage
-....HomeAMB::emitEventOnMessageRequest
-......emit UserRequestForSignature
-```
-
-#### Recovery completion
-
-The Foreign chain initially originated the request. It has locked ERC20 that cause the extension to be imbalanced. That is why the appeared message to invoke `fixFailedMessage` causes the unlock of some ERC20 token.
-
-```=
->>Bridge
-BasicForeignAMB::executeSignatures
-..ArbitraryMessage.unpackData
-....MessageProcessor::processMessage
-......MessageProcessor::_passMessage
-........MessageProcessor::setMessageSender
-........MessageProcessor::setMessageId
->>Mediator
-........HomeMultiAMBErc20ToErc677::fixFailedMessage
-..........MultiTokenBridgeMediator::fixFailedMessage
-............MultiTokenBridgeMediator::messageToken
-............MultiTokenBridgeMediator::messageRecipient
-............MultiTokenBridgeMediator::messageValue
-............ForeignMultiAMBErc20ToErc677::executeActionOnFixedTokens
-............ForeignMultiAMBErc20ToErc677::tokenRegistrationMessageId
-............[ForeignMultiAMBErc20ToErc677::_setTokenRegistrationMessageId]
->>Token
-..............ERC20::transfer
->>Mediator
-............emit FailedMessageFixed
->>Bridge
-......MessageProcessor::setMessageCallStatus
-......ForeignAMB::emitEventOnMessageProcessed
-........emit RelayedMessage
-```
-
-## Tokens relay to an alternative receiver
-
-The idea of the feature is that a user invokes a special method (`relayTokens`) on the mediator contract in order to specify the receiver of the tokens on the another side. So, the tokens will be unlocked/minted in favor of specified account rather than the request originator as it is assumed by the general approach.
-
-Also, the alternative receiver can be specified using data field when using `transferAndCall`. All deployed tokens on the Home side has a support of `transferAndCall` function. Existing tokens on the Foreign side might also have such support, please check the implementation of the specific token.
diff --git a/contracts/upgradeable_contracts/native_to_erc20/FeeManagerNativeToErc.sol b/contracts/upgradeable_contracts/native_to_erc20/FeeManagerNativeToErc.sol
deleted file mode 100644
index df85126d7..000000000
--- a/contracts/upgradeable_contracts/native_to_erc20/FeeManagerNativeToErc.sol
+++ /dev/null
@@ -1,24 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../../interfaces/IBurnableMintableERC677Token.sol";
-import "../../libraries/Address.sol";
-import "../ValidatorsFeeManager.sol";
-import "../ERC677Storage.sol";
-
-contract FeeManagerNativeToErc is ValidatorsFeeManager, ERC677Storage {
- function getFeeManagerMode() external pure returns (bytes4) {
- return 0xf2aed8f7; // bytes4(keccak256(abi.encodePacked("manages-one-direction")))
- }
-
- function erc677token() public view returns (IBurnableMintableERC677Token) {
- return IBurnableMintableERC677Token(addressStorage[ERC677_TOKEN]);
- }
-
- function onAffirmationFeeDistribution(address _rewardAddress, uint256 _fee) internal {
- Address.safeSendValue(_rewardAddress, _fee);
- }
-
- function onSignatureFeeDistribution(address _rewardAddress, uint256 _fee) internal {
- erc677token().mint(_rewardAddress, _fee);
- }
-}
diff --git a/contracts/upgradeable_contracts/native_to_erc20/FeeManagerNativeToErcBothDirections.sol b/contracts/upgradeable_contracts/native_to_erc20/FeeManagerNativeToErcBothDirections.sol
deleted file mode 100644
index fe837b016..000000000
--- a/contracts/upgradeable_contracts/native_to_erc20/FeeManagerNativeToErcBothDirections.sol
+++ /dev/null
@@ -1,22 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../../libraries/Address.sol";
-import "../ValidatorsFeeManager.sol";
-
-contract FeeManagerNativeToErcBothDirections is ValidatorsFeeManager {
- function getFeeManagerMode() external pure returns (bytes4) {
- return 0xd7de965f; // bytes4(keccak256(abi.encodePacked("manages-both-directions")))
- }
-
- function onAffirmationFeeDistribution(address _rewardAddress, uint256 _fee) internal {
- _sendReward(_rewardAddress, _fee);
- }
-
- function onSignatureFeeDistribution(address _rewardAddress, uint256 _fee) internal {
- _sendReward(_rewardAddress, _fee);
- }
-
- function _sendReward(address _rewardAddress, uint256 _fee) internal {
- Address.safeSendValue(_rewardAddress, _fee);
- }
-}
diff --git a/contracts/upgradeable_contracts/native_to_erc20/ForeignBridgeNativeToErc.sol b/contracts/upgradeable_contracts/native_to_erc20/ForeignBridgeNativeToErc.sol
deleted file mode 100644
index 357b3bb44..000000000
--- a/contracts/upgradeable_contracts/native_to_erc20/ForeignBridgeNativeToErc.sol
+++ /dev/null
@@ -1,142 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../../interfaces/IBurnableMintableERC677Token.sol";
-import "../BasicForeignBridge.sol";
-import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";
-import "../ERC677BridgeForBurnableMintableToken.sol";
-import "./RewardableForeignBridgeNativeToErc.sol";
-
-contract ForeignBridgeNativeToErc is
- BasicForeignBridge,
- ERC677BridgeForBurnableMintableToken,
- RewardableForeignBridgeNativeToErc
-{
- function initialize(
- address _validatorContract,
- address _erc677token,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256 _foreignGasPrice,
- uint256 _requiredBlockConfirmations,
- uint256[2] _homeDailyLimitHomeMaxPerTxArray, // [ 0 = _homeDailyLimit, 1 = _homeMaxPerTx ]
- address _owner,
- int256 _decimalShift,
- address _bridgeOnOtherSide
- ) external onlyRelevantSender returns (bool) {
- _initialize(
- _validatorContract,
- _erc677token,
- _dailyLimitMaxPerTxMinPerTxArray,
- _foreignGasPrice,
- _requiredBlockConfirmations,
- _homeDailyLimitHomeMaxPerTxArray,
- _owner,
- _decimalShift,
- _bridgeOnOtherSide
- );
- setInitialize();
- return isInitialized();
- }
-
- function rewardableInitialize(
- address _validatorContract,
- address _erc677token,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256 _foreignGasPrice,
- uint256 _requiredBlockConfirmations,
- uint256[2] _homeDailyLimitHomeMaxPerTxArray, // [ 0 = _homeDailyLimit, 1 = _homeMaxPerTx ]
- address _owner,
- address _feeManager,
- uint256 _homeFee,
- int256 _decimalShift,
- address _bridgeOnOtherSide
- ) external onlyRelevantSender returns (bool) {
- _initialize(
- _validatorContract,
- _erc677token,
- _dailyLimitMaxPerTxMinPerTxArray,
- _foreignGasPrice,
- _requiredBlockConfirmations,
- _homeDailyLimitHomeMaxPerTxArray,
- _owner,
- _decimalShift,
- _bridgeOnOtherSide
- );
- require(AddressUtils.isContract(_feeManager));
- addressStorage[FEE_MANAGER_CONTRACT] = _feeManager;
- _setFee(_feeManager, _homeFee, HOME_FEE);
- setInitialize();
- return isInitialized();
- }
-
- function getBridgeMode() external pure returns (bytes4 _data) {
- return 0x92a8d7fe; // bytes4(keccak256(abi.encodePacked("native-to-erc-core")))
- }
-
- /**
- * @dev Withdraws erc20 tokens or native coins from the token contract. It is required since the bridge contract is the owner of the token contract.
- * @param _token address of the claimed token or address(0) for native coins.
- * @param _to address of the tokens/coins receiver.
- */
- function claimTokensFromErc677(address _token, address _to) external onlyIfUpgradeabilityOwner {
- IBurnableMintableERC677Token(erc677token()).claimTokens(_token, _to);
- }
-
- /**
- * @dev Withdraws the erc20 tokens or native coins from this contract.
- * @param _token address of the claimed token or address(0) for native coins.
- * @param _to address of the tokens/coins receiver.
- */
- function claimTokens(address _token, address _to) external onlyIfUpgradeabilityOwner {
- // For foreign side of the bridge, tokens are not locked at the contract, they are minted and burned instead.
- // So, its is safe to allow claiming of any tokens. Native coins are allowed as well.
- claimValues(_token, _to);
- }
-
- function _initialize(
- address _validatorContract,
- address _erc677token,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256 _foreignGasPrice,
- uint256 _requiredBlockConfirmations,
- uint256[2] _homeDailyLimitHomeMaxPerTxArray, // [ 0 = _homeDailyLimit, 1 = _homeMaxPerTx ]
- address _owner,
- int256 _decimalShift,
- address _bridgeOnOtherSide
- ) internal {
- require(!isInitialized());
- require(AddressUtils.isContract(_validatorContract));
-
- addressStorage[VALIDATOR_CONTRACT] = _validatorContract;
- setErc677token(_erc677token);
- _setLimits(_dailyLimitMaxPerTxMinPerTxArray);
- uintStorage[DEPLOYED_AT_BLOCK] = block.number;
- _setGasPrice(_foreignGasPrice);
- _setRequiredBlockConfirmations(_requiredBlockConfirmations);
- _setExecutionLimits(_homeDailyLimitHomeMaxPerTxArray);
- _setDecimalShift(_decimalShift);
- _setOwner(_owner);
- _setBridgeContractOnOtherSide(_bridgeOnOtherSide);
- }
-
- function onExecuteMessage(address _recipient, uint256 _amount, bytes32 _txHash) internal returns (bool) {
- addTotalExecutedPerDay(getCurrentDay(), _amount);
- uint256 valueToMint = _unshiftValue(_amount);
- address feeManager = feeManagerContract();
- if (feeManager != address(0)) {
- uint256 fee = calculateFee(valueToMint, false, feeManager, HOME_FEE);
- if (fee > 0) {
- distributeFeeFromSignatures(fee, feeManager, _txHash);
- valueToMint = valueToMint.sub(fee);
- }
- }
- return IBurnableMintableERC677Token(erc677token()).mint(_recipient, valueToMint);
- }
-
- function fireEventOnTokenTransfer(address _from, uint256 _value) internal {
- emit UserRequestForAffirmation(_from, _value);
- }
-
- function onFailedMessage(address, uint256, bytes32) internal {
- revert();
- }
-}
diff --git a/contracts/upgradeable_contracts/native_to_erc20/HomeBridgeNativeToErc.sol b/contracts/upgradeable_contracts/native_to_erc20/HomeBridgeNativeToErc.sol
deleted file mode 100644
index 88d81f2d5..000000000
--- a/contracts/upgradeable_contracts/native_to_erc20/HomeBridgeNativeToErc.sol
+++ /dev/null
@@ -1,188 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../../libraries/Message.sol";
-import "../../upgradeability/EternalStorage.sol";
-import "../BasicHomeBridge.sol";
-import "./RewardableHomeBridgeNativeToErc.sol";
-import "../../libraries/Address.sol";
-
-/**
- * @title HomeBridgeNativeToErc
- * @dev This contract Home side logic for the native-to-erc vanilla bridge mode.
- * It is designed to be used as an implementation contract of EternalStorageProxy contract.
- */
-contract HomeBridgeNativeToErc is EternalStorage, BasicHomeBridge, RewardableHomeBridgeNativeToErc {
- function() public payable {
- require(msg.data.length == 0);
- nativeTransfer(msg.sender);
- }
-
- function nativeTransfer(address _receiver) internal {
- require(msg.value > 0);
- require(withinLimit(msg.value));
- addTotalSpentPerDay(getCurrentDay(), msg.value);
- uint256 valueToTransfer = msg.value;
- address feeManager = feeManagerContract();
- if (feeManager != address(0)) {
- uint256 fee = calculateFee(valueToTransfer, false, feeManager, HOME_FEE);
- valueToTransfer = valueToTransfer.sub(fee);
- }
- emit UserRequestForSignature(_receiver, valueToTransfer);
- }
-
- function relayTokens(address _receiver) external payable {
- nativeTransfer(_receiver);
- }
-
- function initialize(
- address _validatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256 _homeGasPrice,
- uint256 _requiredBlockConfirmations,
- uint256[2] _foreignDailyLimitForeignMaxPerTxArray, // [ 0 = _foreignDailyLimit, 1 = _foreignMaxPerTx ]
- address _owner,
- int256 _decimalShift
- ) external onlyRelevantSender returns (bool) {
- _initialize(
- _validatorContract,
- _dailyLimitMaxPerTxMinPerTxArray,
- _homeGasPrice,
- _requiredBlockConfirmations,
- _foreignDailyLimitForeignMaxPerTxArray,
- _owner,
- _decimalShift
- );
- setInitialize();
- return isInitialized();
- }
-
- function rewardableInitialize(
- address _validatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256 _homeGasPrice,
- uint256 _requiredBlockConfirmations,
- uint256[2] _foreignDailyLimitForeignMaxPerTxArray, // [ 0 = _foreignDailyLimit, 1 = _foreignMaxPerTx ]
- address _owner,
- address _feeManager,
- uint256[2] _homeFeeForeignFeeArray, // [ 0 = _homeFee, 1 = _foreignFee ]
- int256 _decimalShift
- ) external onlyRelevantSender returns (bool) {
- _initialize(
- _validatorContract,
- _dailyLimitMaxPerTxMinPerTxArray,
- _homeGasPrice,
- _requiredBlockConfirmations,
- _foreignDailyLimitForeignMaxPerTxArray,
- _owner,
- _decimalShift
- );
- require(AddressUtils.isContract(_feeManager));
- addressStorage[FEE_MANAGER_CONTRACT] = _feeManager;
- _setFee(_feeManager, _homeFeeForeignFeeArray[0], HOME_FEE);
- _setFee(_feeManager, _homeFeeForeignFeeArray[1], FOREIGN_FEE);
- setInitialize();
- return isInitialized();
- }
-
- function getBridgeMode() external pure returns (bytes4 _data) {
- return 0x92a8d7fe; // bytes4(keccak256(abi.encodePacked("native-to-erc-core")))
- }
-
- /**
- * @dev Allows to transfer any locked token on this contract that is not part of the bridge operations.
- * Native tokens are not allowed to be claimed.
- * @param _token address of the token.
- * @param _to address that will receive the locked tokens on this contract.
- */
- function claimTokens(address _token, address _to) external onlyIfUpgradeabilityOwner {
- // Since bridged coins are locked at this contract, it is not allowed to claim them with the use of claimTokens function
- require(_token != address(0));
- claimValues(_token, _to);
- }
-
- function _initialize(
- address _validatorContract,
- uint256[3] _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
- uint256 _homeGasPrice,
- uint256 _requiredBlockConfirmations,
- uint256[2] _foreignDailyLimitForeignMaxPerTxArray, // [ 0 = _foreignDailyLimit, 1 = _foreignMaxPerTx ]
- address _owner,
- int256 _decimalShift
- ) internal {
- require(!isInitialized());
- require(AddressUtils.isContract(_validatorContract));
-
- addressStorage[VALIDATOR_CONTRACT] = _validatorContract;
- uintStorage[DEPLOYED_AT_BLOCK] = block.number;
- _setLimits(_dailyLimitMaxPerTxMinPerTxArray);
- _setGasPrice(_homeGasPrice);
- _setRequiredBlockConfirmations(_requiredBlockConfirmations);
- _setExecutionLimits(_foreignDailyLimitForeignMaxPerTxArray);
- _setDecimalShift(_decimalShift);
- _setOwner(_owner);
- }
-
- /**
- * @dev Internal function to be called when enough signatures are collected.
- * Distributed the fee for collecting signatures.
- * @param _message encoded message signed by the validators.
- */
- function onSignaturesCollected(bytes _message) internal {
- address feeManager = feeManagerContract();
- if (feeManager != address(0)) {
- (, uint256 amount, bytes32 txHash, ) = Message.parseMessage(_message);
- uint256 fee = calculateFee(amount, true, feeManager, HOME_FEE);
- distributeFeeFromSignatures(fee, feeManager, txHash);
- }
- }
-
- /**
- * @dev Internal callback to be called on successfull message execution.
- * Should be called only after enough affirmations from the validators are already collected.
- * @param _recipient address of the receiver where the new coins should be unlocked.
- * @param _value amount of coins to unlock.
- * @param _txHash reference transaction hash on the Foreign side of the bridge which cause this operation.
- * @param _hashMsg unique identifier of the particular bridge operation.
- * Not used in this bridge mode, but required for interface unification with other bridge modes.
- * @return true, if execution completed successfully.
- */
- function onExecuteAffirmation(address _recipient, uint256 _value, bytes32 _txHash, bytes32 _hashMsg)
- internal
- returns (bool)
- {
- addTotalExecutedPerDay(getCurrentDay(), _value);
- uint256 valueToTransfer = _shiftValue(_value);
-
- address feeManager = feeManagerContract();
- if (feeManager != address(0)) {
- uint256 fee = calculateFee(valueToTransfer, false, feeManager, FOREIGN_FEE);
- distributeFeeFromAffirmation(fee, feeManager, _txHash);
- valueToTransfer = valueToTransfer.sub(fee);
- }
-
- Address.safeSendValue(_recipient, valueToTransfer);
- return true;
- }
-
- /**
- * @dev Internal callback to be called on failed message execution due to the out-of-limits error.
- * This function saves the bridge operation information for further processing.
- * @param _recipient address of the receiver where the new coins should be unlocked.
- * @param _value amount of coins to unlock.
- * @param _txHash reference transaction hash on the Foreign side of the bridge which cause this operation.
- * @param _hashMsg unique identifier of the particular bridge operation.
- */
- function onFailedAffirmation(address _recipient, uint256 _value, bytes32 _txHash, bytes32 _hashMsg) internal {
- // solhint-disable-previous-line no-unused-vars
- revert();
- }
-
- /**
- * @dev Internal function for updating fallback gas price value.
- * @param _gasPrice new value for the gas price, zero gas price is not allowed.
- */
- function _setGasPrice(uint256 _gasPrice) internal {
- require(_gasPrice > 0);
- super._setGasPrice(_gasPrice);
- }
-}
diff --git a/contracts/upgradeable_contracts/native_to_erc20/RewardableForeignBridgeNativeToErc.sol b/contracts/upgradeable_contracts/native_to_erc20/RewardableForeignBridgeNativeToErc.sol
deleted file mode 100644
index 836d7720c..000000000
--- a/contracts/upgradeable_contracts/native_to_erc20/RewardableForeignBridgeNativeToErc.sol
+++ /dev/null
@@ -1,31 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../RewardableBridge.sol";
-
-contract RewardableForeignBridgeNativeToErc is RewardableBridge {
- /**
- * @dev Updates the fee percentage for home->foreign bridge operations.
- * Only owner is allowed to call this method.
- * If during this operation, home fee is changed, it is highly recommended to stop the bridge operations first.
- * Otherwise, pending signature requests can become a reason for imbalance between two bridge sides.
- * @param _fee new value for fee percentage.
- */
- function setHomeFee(uint256 _fee) external onlyOwner {
- _setFee(feeManagerContract(), _fee, HOME_FEE);
- }
-
- function getHomeFee() public view returns (uint256) {
- return _getFee(HOME_FEE);
- }
-
- /**
- * @dev Internal function for distributing the fee for collecting sufficient amount of signatures.
- * @param _fee amount of fee to distribute.
- * @param _feeManager address of the fee manager contract.
- * @param _txHash reference transaction hash where the original bridge request happened.
- */
- function distributeFeeFromSignatures(uint256 _fee, address _feeManager, bytes32 _txHash) internal {
- require(_feeManager.delegatecall(abi.encodeWithSelector(DISTRIBUTE_FEE_FROM_SIGNATURES, _fee)));
- emit FeeDistributedFromSignatures(_fee, _txHash);
- }
-}
diff --git a/contracts/upgradeable_contracts/native_to_erc20/RewardableHomeBridgeNativeToErc.sol b/contracts/upgradeable_contracts/native_to_erc20/RewardableHomeBridgeNativeToErc.sol
deleted file mode 100644
index e84d80bd6..000000000
--- a/contracts/upgradeable_contracts/native_to_erc20/RewardableHomeBridgeNativeToErc.sol
+++ /dev/null
@@ -1,33 +0,0 @@
-pragma solidity 0.4.24;
-
-import "../RewardableBridge.sol";
-
-contract RewardableHomeBridgeNativeToErc is RewardableBridge {
- /**
- * @dev Updates the fee percentage for home->foreign bridge operations.
- * Only owner is allowed to call this method.
- * If during this operation, home fee is changed, it is highly recommended to stop the bridge operations first.
- * Otherwise, pending signature requests can become a reason for imbalance between two bridge sides.
- * @param _fee new value for fee percentage.
- */
- function setHomeFee(uint256 _fee) external onlyOwner {
- _setFee(feeManagerContract(), _fee, HOME_FEE);
- }
-
- /**
- * @dev Updates the fee percentage for foreign->home bridge operations.
- * Only owner is allowed to call this method.
- * @param _fee new value for fee percentage.
- */
- function setForeignFee(uint256 _fee) external onlyOwner {
- _setFee(feeManagerContract(), _fee, FOREIGN_FEE);
- }
-
- function getForeignFee() public view returns (uint256) {
- return _getFee(FOREIGN_FEE);
- }
-
- function getHomeFee() public view returns (uint256) {
- return _getFee(HOME_FEE);
- }
-}
diff --git a/deploy.sh b/deploy.sh
index 33d3d3e8e..afec89c7a 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -7,9 +7,6 @@ if [ -f /.dockerenv ]; then
if [ "$1" == "token" ]; then
echo "Deployment of token for testing environment started"
node testenv-deploy.js token
- elif [ "$1" == "interestReceiver" ]; then
- echo "Deployment of interest receiver for testing environment started"
- node testenv-deploy.js interestReceiver
else
echo "Bridge contract deployment started"
npm run deploy
diff --git a/deploy/.env.example b/deploy/.env.example
index 9819641fe..b12db4217 100644
--- a/deploy/.env.example
+++ b/deploy/.env.example
@@ -33,10 +33,8 @@ FOREIGN_MIN_AMOUNT_PER_TX=500000000000000000
FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS=8
FOREIGN_GAS_PRICE=10000000000
-#for bridge erc_to_erc and erc_to_native mode
+#for bridge erc_to_native mode
ERC20_TOKEN_ADDRESS=
-# Only for for erc_to_erc mode
-ERC20_EXTENDED_BY_ERC677=false
REQUIRED_NUMBER_OF_VALIDATORS=1
#If several validators are used, list them separated by space without quotes
@@ -87,16 +85,3 @@ HOME_EXPLORER_API_KEY=
# Supported explorers: Blockscout, etherscan
FOREIGN_EXPLORER_URL=https://api-kovan.etherscan.io/api
FOREIGN_EXPLORER_API_KEY=
-
-# for bridge erc_to_native mode
-# specifies if deployment of interest receiver contract is needed
-DEPLOY_INTEREST_RECEIVER=false
-# if DEPLOY_INTEREST_RECEIVER set to true, address of interest receiver contract owner should be specified
-FOREIGN_INTEREST_RECEIVER_OWNER=0x
-
-# for stake token mediators
-HOME_STAKE_TOKEN_ADDRESS=0x
-FOREIGN_STAKE_TOKEN_ADDRESS=0x
-
-# for multi-amb-erc20-to-erc677 mediators
-HOME_ERC677_TOKEN_IMAGE=0x
diff --git a/deploy/README.md b/deploy/README.md
index 25d43fedf..5fdd61f13 100644
--- a/deploy/README.md
+++ b/deploy/README.md
@@ -22,281 +22,6 @@ cp .env.example .env
6. Run `npm run deploy`.
-## `NATIVE-TO-ERC` Bridge Mode Configuration Example.
-
-This example of an `.env` file for the `native-to-erc` bridge mode includes comments describing each parameter.
-
-```bash
-
-
-# The type of bridge. Defines set of contracts to be deployed.
-BRIDGE_MODE=NATIVE_TO_ERC
-
-# The private key hex value of the account responsible for contracts
-# deployments and initial configuration. The account's balance must contain
-# funds from both networks.
-DEPLOYMENT_ACCOUNT_PRIVATE_KEY=67..14
-# Extra gas added to the estimated gas of a particular deployment/configuration transaction
-# E.g. if estimated gas returns 100000 and the parameter is 0.2,
-# the transaction gas limit will be (100000 + 100000 * 0.2) = 120000
-DEPLOYMENT_GAS_LIMIT_EXTRA=0.2
-# The "gasPrice" parameter set in every deployment/configuration transaction on
-# Home network (in Wei).
-HOME_DEPLOYMENT_GAS_PRICE=10000000000
-# The "gasPrice" parameter set in every deployment/configuration transaction on
-# Foreign network (in Wei).
-FOREIGN_DEPLOYMENT_GAS_PRICE=10000000000
-# The timeout limit to wait for receipt of the deployment/configuration
-# transaction.
-GET_RECEIPT_INTERVAL_IN_MILLISECONDS=3000
-
-# The name of the ERC677 token to be deployed on the Foreign network.
-BRIDGEABLE_TOKEN_NAME=Your New Bridged Token
-# The symbol name of the ERC677 token to be deployed on the Foreign network.
-BRIDGEABLE_TOKEN_SYMBOL=TEST
-# The number of supportable decimal digits after the "point" in the ERC677 token
-# to be deployed on the Foreign network.
-BRIDGEABLE_TOKEN_DECIMALS=18
-
-# The RPC channel to a Home node able to handle deployment/configuration
-# transactions.
-HOME_RPC_URL=https://core.poa.network
-# Address on Home network with permissions to change parameters of the bridge contract.
-# For extra security we recommended using a multi-sig wallet contract address here.
-HOME_BRIDGE_OWNER=0x
-# Address on Home network with permissions to change parameters of bridge validator contract.
-HOME_VALIDATORS_OWNER=0x
-# Address on Home network with permissions to upgrade the bridge contract and the
-# bridge validator contract.
-HOME_UPGRADEABLE_ADMIN=0x
-# The daily transaction limit in Wei. As soon as this limit is exceeded, any
-# transaction which requests to relay assets will fail.
-HOME_DAILY_LIMIT=30000000000000000000000000
-# The maximum limit for one transaction in Wei. If a single transaction tries to
-# relay funds exceeding this limit it will fail. HOME_MAX_AMOUNT_PER_TX must be
-# less than HOME_DAILY_LIMIT.
-HOME_MAX_AMOUNT_PER_TX=1500000000000000000000000
-# The minimum limit for one transaction in Wei. If a transaction tries to relay
-# funds below this limit it will fail. This is required to prevent dryout
-# validator accounts.
-HOME_MIN_AMOUNT_PER_TX=500000000000000000
-# The finalization threshold. The number of blocks issued after the block with
-# the corresponding deposit transaction to guarantee the transaction will not be
-# rolled back.
-HOME_REQUIRED_BLOCK_CONFIRMATIONS=1
-# The default gas price (in Wei) used to send Home Network signature
-# transactions for deposit or withdrawal confirmations. This price is used if
-# the Gas price oracle is unreachable.
-HOME_GAS_PRICE=1000000000
-
-# The RPC channel to a Foreign node able to handle deployment/configuration
-# transactions.
-FOREIGN_RPC_URL=https://mainnet.infura.io
-# Address on Foreign network with permissions to change parameters of the bridge contract.
-# For extra security we recommended using a multi-sig wallet contract address here.
-FOREIGN_BRIDGE_OWNER=0x
-# Address on Foreign network with permissions to change parameters of bridge validator contract.
-FOREIGN_VALIDATORS_OWNER=0x
-# Address on Foreign network with permissions to upgrade the bridge contract and the
-# bridge validator contract.
-FOREIGN_UPGRADEABLE_ADMIN=0x
-# The daily limit in Wei. As soon as this limit is exceeded, any transaction
-# requesting to relay assets will fail.
-FOREIGN_DAILY_LIMIT=15000000000000000000000000
-# The maximum limit per one transaction in Wei. If a transaction tries to relay
-# funds exceeding this limit it will fail. FOREIGN_MAX_AMOUNT_PER_TX must be less
-# than FOREIGN_DAILY_LIMIT.
-FOREIGN_MAX_AMOUNT_PER_TX=750000000000000000000000
-# The minimum limit for one transaction in Wei. If a transaction tries to relay
-# funds below this limit it will fail. This is required to prevent dryout
-# validator accounts.
-FOREIGN_MIN_AMOUNT_PER_TX=500000000000000000
-# The finalization threshold. The number of blocks issued after the block with
-# the corresponding deposit transaction to guarantee the transaction will not be
-# rolled back.
-FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS=8
-# The default gas price (in Wei) used to send Foreign network transactions
-# finalizing asset deposits. This price is used if the Gas price oracle is
-# unreachable.
-FOREIGN_GAS_PRICE=10000000000
-
-# The minimum number of validators required to send their signatures confirming
-# the relay of assets. The same number of validators is expected on both sides
-# of the bridge.
-REQUIRED_NUMBER_OF_VALIDATORS=1
-# The set of validators' addresses. It is assumed that signatures from these
-# addresses are collected on the Home side. The same addresses will be used on
-# the Foreign network to confirm that the finalized agreement was transferred
-# correctly to the Foreign network.
-VALIDATORS=0x 0x 0x
-
-# Variable to define whether to use RewardableValidators contract and set a fee manager contract on Home network
-# On this bridge mode ONE_DIRECTION and BOTH_DIRECTIONS are supported on Home network
-HOME_REWARDABLE=false
-# Variable to define whether to use RewardableValidators contract and set a fee manager contract on Foreign network
-# On this bridge mode ONE_DIRECTION is supported on Foreign network
-FOREIGN_REWARDABLE=false
-# List of validators accounts where rewards should be transferred separated by space without quotes
-# Makes sense only when HOME_REWARDABLE!=false or FOREIGN_REWARDABLE!=false
-VALIDATORS_REWARD_ACCOUNTS=0x 0x 0x
-
-# Fee to be taken for every transaction directed from the Home network to the Foreign network
-# Makes sense only when FOREIGN_REWARDABLE=ONE_DIRECTION or HOME_REWARDABLE=BOTH_DIRECTIONS
-# e.g. 0.1% fee
-HOME_TRANSACTIONS_FEE=0.001
-# Fee to be taken for every transaction directed from the Foreign network to the Home network
-# Makes sense only when HOME_REWARDABLE!=false
-# e.g. 0.1% fee
-FOREIGN_TRANSACTIONS_FEE=0.001
-
-# The flag defining whether to use ERC677BridgeTokenRewardable contract instead of
-# ERC677BridgeToken.
-DEPLOY_REWARDABLE_TOKEN=false
-# The address of Staking contract used by ERC677BridgeTokenRewardable contract.
-# Makes sense only when DEPLOY_REWARDABLE_TOKEN=true
-DPOS_STAKING_ADDRESS=0x
-# The address of BlockReward contract used by ERC677BridgeTokenRewardable contract.
-# Makes sense only when DEPLOY_REWARDABLE_TOKEN=true
-BLOCK_REWARD_ADDRESS=0x
-
-# The api url of an explorer to verify all the deployed contracts in Home network. Supported explorers: Blockscout, etherscan
-#HOME_EXPLORER_URL=https://blockscout.com/poa/core/api
-# The api key of the explorer api, if required, used to verify all the deployed contracts in Home network.
-#HOME_EXPLORER_API_KEY=
-# The api url of an explorer to verify all the deployed contracts in Foreign network. Supported explorers: Blockscout, etherscan
-#FOREIGN_EXPLORER_URL=https://api.etherscan.io/api
-# The api key of the explorer api, if required, used to verify all the deployed contracts in Foreign network.
-#FOREIGN_EXPLORER_API_KEY=
-```
-
-
-## `ERC-TO-ERC` Bridge Mode Configuration Example.
-
-This example of an `.env` file for the `erc-to-erc` bridge mode includes comments describing each parameter.
-
-```bash
-# The type of bridge. Defines set of contracts to be deployed.
-BRIDGE_MODE=ERC_TO_ERC
-
-# The private key hex value of the account responsible for contracts
-# deployments and initial configuration. The account's balance must contain
-# funds from both networks.
-DEPLOYMENT_ACCOUNT_PRIVATE_KEY=67..14
-# Extra gas added to the estimated gas of a particular deployment/configuration transaction
-# E.g. if estimated gas returns 100000 and the parameter is 0.2,
-# the transaction gas limit will be (100000 + 100000 * 0.2) = 120000
-DEPLOYMENT_GAS_LIMIT_EXTRA=0.2
-# The "gasPrice" parameter set in every deployment/configuration transaction on
-# Home network (in Wei).
-HOME_DEPLOYMENT_GAS_PRICE=10000000000
-# The "gasPrice" parameter set in every deployment/configuration transaction on
-# Foreign network (in Wei).
-FOREIGN_DEPLOYMENT_GAS_PRICE=10000000000
-# The timeout limit to wait for receipt of the deployment/configuration
-# transaction.
-GET_RECEIPT_INTERVAL_IN_MILLISECONDS=3000
-
-# The name of the ERC677 token to be deployed on the Home network.
-BRIDGEABLE_TOKEN_NAME=Your New Bridged Token
-# The symbol name of the ERC677 token to be deployed on the Home network.
-BRIDGEABLE_TOKEN_SYMBOL=TEST
-# The number of supportable decimal digits after the "point" in the ERC677 token
-# to be deployed on the Home network.
-BRIDGEABLE_TOKEN_DECIMALS=18
-
-# The RPC channel to a Home node able to handle deployment/configuration
-# transactions.
-HOME_RPC_URL=https://core.poa.network
-# Address on Home network with permissions to change parameters of the bridge contract.
-# For extra security we recommended using a multi-sig wallet contract address here.
-HOME_BRIDGE_OWNER=0x
-# Address on Home network with permissions to change parameters of bridge validator contract.
-HOME_VALIDATORS_OWNER=0x
-# Address on Home network with permissions to upgrade the bridge contract and
-# the bridge validator contract.
-HOME_UPGRADEABLE_ADMIN=0x
-# The daily transaction limit in Wei. As soon as this limit is exceeded, any
-# transaction which requests to relay assets will fail.
-HOME_DAILY_LIMIT=30000000000000000000000000
-# The maximum limit for one transaction in Wei. If a single transaction tries to
-# relay funds exceeding this limit it will fail. HOME_MAX_AMOUNT_PER_TX must be
-# less than HOME_DAILY_LIMIT.
-HOME_MAX_AMOUNT_PER_TX=1500000000000000000000000
-# The minimum limit for one transaction in Wei. If a transaction tries to relay
-# funds below this limit it will fail. This is required to prevent dryout
-# validator accounts.
-HOME_MIN_AMOUNT_PER_TX=500000000000000000
-# The finalization threshold. The number of blocks issued after the block with
-# the corresponding deposit transaction to guarantee the transaction will not be
-# rolled back.
-HOME_REQUIRED_BLOCK_CONFIRMATIONS=1
-# The default gas price (in Wei) used to send Home Network signature
-# transactions for deposit or withdrawal confirmations. This price is used if
-# the Gas price oracle is unreachable.
-HOME_GAS_PRICE=1000000000
-
-# The RPC channel to a Foreign node able to handle deployment/configuration
-# transactions.
-FOREIGN_RPC_URL=https://mainnet.infura.io
-# Address on Foreign network with permissions to change parameters of the bridge contract.
-# For extra security we recommended using a multi-sig wallet contract address here.
-FOREIGN_BRIDGE_OWNER=0x
-# Address on Foreign network with permissions to change parameters of bridge validator contract.
-FOREIGN_VALIDATORS_OWNER=0x
-# Address on Foreign network with permissions to upgrade the bridge contract and the
-# bridge validator contract.
-FOREIGN_UPGRADEABLE_ADMIN=0x
-# The daily transaction limit in Wei. Used on the Home side to check the bridge validator’s actions.
-FOREIGN_DAILY_LIMIT=15000000000000000000000000
-# The maximum limit for one transaction in Wei. FOREIGN_MAX_AMOUNT_PER_TX must be less
-# than FOREIGN_DAILY_LIMIT. Used on the Home side to check the bridge validator’s actions.
-FOREIGN_MAX_AMOUNT_PER_TX=750000000000000000000000
-# Not used in this mode, comment out or delete this variable.
-# FOREIGN_MIN_AMOUNT_PER_TX=
-# The finalization threshold. The number of blocks issued after the block with
-# the corresponding deposit transaction to guarantee the transaction will not be
-# rolled back.
-FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS=8
-# The default gas price (in Wei) used to send Foreign network transactions
-# finalizing asset deposits. This price is used if the Gas price oracle is
-# unreachable.
-FOREIGN_GAS_PRICE=10000000000
-# The address of the existing ERC20 compatible token in the Foreign network to
-# be exchanged to the ERC20/ERC677 token deployed on Home.
-ERC20_TOKEN_ADDRESS=0x
-# Flag to specify that the existing ERC20 is also ERC677 compatible and want the Foreign bridge to use it as ERC677 to increase security.
-ERC20_EXTENDED_BY_ERC677=false
-
-# The minimum number of validators required to send their signatures confirming
-# the relay of assets. The same number of validators is expected on both sides
-# of the bridge.
-REQUIRED_NUMBER_OF_VALIDATORS=1
-# The set of validators' addresses. It is assumed that signatures from these
-# addresses are collected on the Home side. The same addresses will be used on
-# the Foreign network to confirm that the finalized agreement was transferred
-# correctly to the Foreign network.
-VALIDATORS=0x 0x 0x
-
-# The flag defining whether to use ERC677BridgeTokenRewardable contract instead of
-# ERC677BridgeToken.
-DEPLOY_REWARDABLE_TOKEN=false
-# The address of Staking contract used by ERC677BridgeTokenRewardable contract.
-# Makes sense only when DEPLOY_REWARDABLE_TOKEN=true
-DPOS_STAKING_ADDRESS=0x
-# The address of BlockReward contract used by ERC677BridgeTokenRewardable contract.
-# Makes sense only when DEPLOY_REWARDABLE_TOKEN=true
-BLOCK_REWARD_ADDRESS=0x
-
-# The api url of an explorer to verify all the deployed contracts in Home network. Supported explorers: Blockscout, etherscan
-#HOME_EXPLORER_URL=https://blockscout.com/poa/core/api
-# The api key of the explorer api, if required, used to verify all the deployed contracts in Home network.
-#HOME_EXPLORER_API_KEY=
-# The api url of an explorer to verify all the deployed contracts in Foreign network. Supported explorers: Blockscout, etherscan
-#FOREIGN_EXPLORER_URL=https://api.etherscan.io/api
-# The api key of the explorer api, if required, used to verify all the deployed contracts in Foreign network.
-#FOREIGN_EXPLORER_API_KEY=
-```
-
## `ERC-TO-NATIVE` Bridge Mode Configuration Example.
This example of an `.env` file for the `erc-to-native` bridge mode includes comments describing each parameter.
@@ -631,457 +356,3 @@ FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT=2000000
# The api key of the explorer api, if required, used to verify all the deployed contracts in Foreign network.
#FOREIGN_EXPLORER_API_KEY=
```
-
-## `STAKE-AMB-ERC-TO-ERC` Bridge Mode Configuration Example.
-
-This example of an `.env` file for the `STAKE-AMB-ERC-TO-ERC` bridge mode includes comments describing each parameter.
-
-```bash
-# The type of bridge. Defines set of contracts to be deployed.
-BRIDGE_MODE=STAKE_AMB_ERC_TO_ERC
-
-# The private key hex value of the account responsible for contracts
-# deployments and initial configuration. The account's balance must contain
-# funds from both networks.
-DEPLOYMENT_ACCOUNT_PRIVATE_KEY=67..14
-# Extra gas added to the estimated gas of a particular deployment/configuration transaction
-# E.g. if estimated gas returns 100000 and the parameter is 0.2,
-# the transaction gas limit will be (100000 + 100000 * 0.2) = 120000
-DEPLOYMENT_GAS_LIMIT_EXTRA=0.2
-# The "gasPrice" parameter set in every deployment/configuration transaction on
-# Home network (in Wei).
-HOME_DEPLOYMENT_GAS_PRICE=10000000000
-# The "gasPrice" parameter set in every deployment/configuration transaction on
-# Foreign network (in Wei).
-FOREIGN_DEPLOYMENT_GAS_PRICE=10000000000
-# The timeout limit to wait for receipt of the deployment/configuration
-# transaction.
-GET_RECEIPT_INTERVAL_IN_MILLISECONDS=3000
-
-# Address of deployed STAKE token contract in the Home chain
-HOME_STAKE_TOKEN_ADDRESS=0x
-# Address of deployed STAKE token contract in the Foregin chain
-FOREIGN_STAKE_TOKEN_ADDRESS=0x
-
-# The address of BlockReward contract used for collecting fees for Home => Foreign transfers
-BLOCK_REWARD_ADDRESS=0x
-
-# The RPC channel to a Home node able to handle deployment/configuration
-# transactions.
-HOME_RPC_URL=https://core.poa.network
-# Address on Home network with permissions to change parameters of the bridge contract.
-# For extra security we recommended using a multi-sig wallet contract address here.
-HOME_BRIDGE_OWNER=0x
-# Address on Home network with permissions to upgrade the bridge contract
-HOME_UPGRADEABLE_ADMIN=0x
-# The daily transaction limit in Wei. As soon as this limit is exceeded, any
-# transaction which requests to relay assets will fail.
-HOME_DAILY_LIMIT=30000000000000000000000000
-# The maximum limit for one transaction in Wei. If a single transaction tries to
-# relay funds exceeding this limit it will fail. HOME_MAX_AMOUNT_PER_TX must be
-# less than HOME_DAILY_LIMIT.
-HOME_MAX_AMOUNT_PER_TX=1500000000000000000000000
-# The minimum limit for one transaction in Wei. If a transaction tries to relay
-# funds below this limit it will fail. This is required to prevent dryout
-# validator accounts.
-HOME_MIN_AMOUNT_PER_TX=500000000000000000
-# Fee to be taken for every transaction directed from the Home network to the Foreign network.
-# Fee is distributed through blockReward contract defined in BLOCK_REWARD_ADDRESS
-# e.g. 0.1% fee
-HOME_TRANSACTIONS_FEE=0.001
-
-# The RPC channel to a Foreign node able to handle deployment/configuration
-# transactions.
-FOREIGN_RPC_URL=https://mainnet.infura.io
-# Address on Foreign network with permissions to change parameters of the bridge contract.
-# For extra security we recommended using a multi-sig wallet contract address here.
-FOREIGN_BRIDGE_OWNER=0x
-# Address on Foreign network with permissions to upgrade the bridge contract and the
-# bridge validator contract.
-FOREIGN_UPGRADEABLE_ADMIN=0x
-# The daily limit in Wei. As soon as this limit is exceeded, any transaction
-# requesting to relay assets will fail.
-FOREIGN_DAILY_LIMIT=15000000000000000000000000
-# The maximum limit per one transaction in Wei. If a transaction tries to relay
-# funds exceeding this limit it will fail. FOREIGN_MAX_AMOUNT_PER_TX must be less
-# than FOREIGN_DAILY_LIMIT.
-FOREIGN_MAX_AMOUNT_PER_TX=750000000000000000000000
-# The minimum limit for one transaction in Wei. If a transaction tries to relay
-# funds below this limit it will fail.
-FOREIGN_MIN_AMOUNT_PER_TX=500000000000000000
-
-# The address of the existing AMB bridge in the Home network that will be used to pass messages
-# to the Foreign network.
-HOME_AMB_BRIDGE=0x
-# The address of the existing AMB bridge in the Foreign network that will be used to pass messages
-# to the Home network.
-FOREIGN_AMB_BRIDGE=0x
-# The gas limit that will be used in the execution of the message passed to the mediator contract
-# in the Foreign network.
-HOME_MEDIATOR_REQUEST_GAS_LIMIT=2000000
-# The gas limit that will be used in the execution of the message passed to the mediator contract
-# in the Home network.
-FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT=2000000
-
-# The api url of an explorer to verify all the deployed contracts in Home network. Supported explorers: Blockscout, etherscan
-#HOME_EXPLORER_URL=https://blockscout.com/poa/core/api
-# The api key of the explorer api, if required, used to verify all the deployed contracts in Home network.
-#HOME_EXPLORER_API_KEY=
-# The api url of an explorer to verify all the deployed contracts in Foreign network. Supported explorers: Blockscout, etherscan
-#FOREIGN_EXPLORER_URL=https://api.etherscan.io/api
-# The api key of the explorer api, if required, used to verify all the deployed contracts in Foreign network.
-#FOREIGN_EXPLORER_API_KEY=
-```
-
-
-## `AMB-NATIVE-TO-ERC` Bridge Mode Configuration Example.
-
-This example of an `.env` file for the `AMB-NATIVE-TO-ERC` bridge mode includes comments describing each parameter.
-
-```bash
-# The type of bridge. Defines set of contracts to be deployed.
-BRIDGE_MODE=AMB_NATIVE_TO_ERC
-
-# The private key hex value of the account responsible for contracts
-# deployments and initial configuration. The account's balance must contain
-# funds from both networks.
-DEPLOYMENT_ACCOUNT_PRIVATE_KEY=67..14
-# Extra gas added to the estimated gas of a particular deployment/configuration transaction
-# E.g. if estimated gas returns 100000 and the parameter is 0.2,
-# the transaction gas limit will be (100000 + 100000 * 0.2) = 120000
-DEPLOYMENT_GAS_LIMIT_EXTRA=0.2
-# The "gasPrice" parameter set in every deployment/configuration transaction on
-# Home network (in Wei).
-HOME_DEPLOYMENT_GAS_PRICE=10000000000
-# The "gasPrice" parameter set in every deployment/configuration transaction on
-# Foreign network (in Wei).
-FOREIGN_DEPLOYMENT_GAS_PRICE=10000000000
-# The timeout limit to wait for receipt of the deployment/configuration
-# transaction.
-GET_RECEIPT_INTERVAL_IN_MILLISECONDS=3000
-
-# The name of the ERC677 token to be deployed on the Foreign network.
-BRIDGEABLE_TOKEN_NAME=Your New Bridged Token
-# The symbol name of the ERC677 token to be deployed on the Foreign network.
-BRIDGEABLE_TOKEN_SYMBOL=TEST
-# The number of supportable decimal digits after the "point" in the ERC677 token
-# to be deployed on the Foreign network.
-BRIDGEABLE_TOKEN_DECIMALS=18
-# The flag defining whether to use ERC677BridgeTokenRewardable contract instead of
-# ERC677BridgeToken on Home network.
-DEPLOY_REWARDABLE_TOKEN=false
-# The address of Staking contract used by ERC677BridgeTokenRewardable contract.
-# Makes sense only when DEPLOY_REWARDABLE_TOKEN=true
-#DPOS_STAKING_ADDRESS=0x
-# The address of BlockReward contract used by ERC677BridgeTokenRewardable contract.
-# Makes sense only when DEPLOY_REWARDABLE_TOKEN=true
-#BLOCK_REWARD_ADDRESS=0x
-
-# The RPC channel to a Home node able to handle deployment/configuration
-# transactions.
-HOME_RPC_URL=https://core.poa.network
-# Address on Home network with permissions to change parameters of the bridge contract.
-# For extra security we recommended using a multi-sig wallet contract address here.
-HOME_BRIDGE_OWNER=0x
-# Address on Home network with permissions to upgrade the bridge contract
-HOME_UPGRADEABLE_ADMIN=0x
-# The daily transaction limit in Wei. As soon as this limit is exceeded, any
-# transaction which requests to relay assets will fail.
-HOME_DAILY_LIMIT=30000000000000000000000000
-# The maximum limit for one transaction in Wei. If a single transaction tries to
-# relay funds exceeding this limit it will fail. HOME_MAX_AMOUNT_PER_TX must be
-# less than HOME_DAILY_LIMIT.
-HOME_MAX_AMOUNT_PER_TX=1500000000000000000000000
-# The minimum limit for one transaction in Wei. If a transaction tries to relay
-# funds below this limit it will fail. This is required to prevent dryout
-# validator accounts.
-HOME_MIN_AMOUNT_PER_TX=500000000000000000
-
-# The RPC channel to a Foreign node able to handle deployment/configuration
-# transactions.
-FOREIGN_RPC_URL=https://mainnet.infura.io
-# Address on Foreign network with permissions to change parameters of the bridge contract.
-# For extra security we recommended using a multi-sig wallet contract address here.
-FOREIGN_BRIDGE_OWNER=0x
-# Address on Foreign network with permissions to upgrade the bridge contract and the
-# bridge validator contract.
-FOREIGN_UPGRADEABLE_ADMIN=0x
-# The daily limit in Wei. As soon as this limit is exceeded, any transaction
-# requesting to relay assets will fail.
-FOREIGN_DAILY_LIMIT=15000000000000000000000000
-# The maximum limit per one transaction in Wei. If a transaction tries to relay
-# funds exceeding this limit it will fail. FOREIGN_MAX_AMOUNT_PER_TX must be less
-# than FOREIGN_DAILY_LIMIT.
-FOREIGN_MAX_AMOUNT_PER_TX=750000000000000000000000
-# The minimum limit for one transaction in Wei. If a transaction tries to relay
-# funds below this limit it will fail.
-FOREIGN_MIN_AMOUNT_PER_TX=500000000000000000
-
-# The address of the existing AMB bridge in the Home network that will be used to pass messages
-# to the Foreign network.
-HOME_AMB_BRIDGE=0x
-# The address of the existing AMB bridge in the Foreign network that will be used to pass messages
-# to the Home network.
-FOREIGN_AMB_BRIDGE=0x
-# The gas limit that will be used in the execution of the message passed to the mediator contract
-# in the Foreign network.
-HOME_MEDIATOR_REQUEST_GAS_LIMIT=2000000
-# The gas limit that will be used in the execution of the message passed to the mediator contract
-# in the Home network.
-FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT=2000000
-
-# Fee to be taken for every transaction directed from the Home network to the Foreign network
-# Makes sense only when FOREIGN_REWARDABLE=ONE_DIRECTION
-# e.g. 0.1% fee
-HOME_TRANSACTIONS_FEE=0.001
-# Fee to be taken for every transaction directed from the Foreign network to the Home network
-# Makes sense only when HOME_REWARDABLE=ONE_DIRECTION
-# e.g. 0.1% fee
-FOREIGN_TRANSACTIONS_FEE=0.001
-
-# List of accounts where rewards should be transferred in Home network separated by space without quotes
-# Makes sense only when HOME_REWARDABLE=ONE_DIRECTION
-#E.g. HOME_MEDIATOR_REWARD_ACCOUNTS=0x 0x 0x
-HOME_MEDIATOR_REWARD_ACCOUNTS=0x
-
-# List of accounts where rewards should be transferred in Home network separated by space without quotes
-# Makes sense only when FOREIGN_REWARDABLE=ONE_DIRECTION
-#E.g. FOREIGN_MEDIATOR_REWARD_ACCOUNTS=0x 0x 0x
-FOREIGN_MEDIATOR_REWARD_ACCOUNTS=0x
-
-# The api url of an explorer to verify all the deployed contracts in Home network. Supported explorers: Blockscout, etherscan
-#HOME_EXPLORER_URL=https://blockscout.com/poa/core/api
-# The api key of the explorer api, if required, used to verify all the deployed contracts in Home network.
-#HOME_EXPLORER_API_KEY=
-# The api url of an explorer to verify all the deployed contracts in Foreign network. Supported explorers: Blockscout, etherscan
-#FOREIGN_EXPLORER_URL=https://api.etherscan.io/api
-# The api key of the explorer api, if required, used to verify all the deployed contracts in Foreign network.
-#FOREIGN_EXPLORER_API_KEY=
-```
-
-## `AMB-ERC-TO-NATIVE` Bridge Mode Configuration Example.
-
-This example of an `.env` file for the `AMB-ERC-TO-NATIVE` bridge mode includes comments describing each parameter.
-
-```bash
-# The type of bridge. Defines set of contracts to be deployed.
-BRIDGE_MODE=AMB_ERC_TO_NATIVE
-
-# The private key hex value of the account responsible for contracts
-# deployments and initial configuration. The account's balance must contain
-# funds from both networks.
-DEPLOYMENT_ACCOUNT_PRIVATE_KEY=67..14
-# Extra gas added to the estimated gas of a particular deployment/configuration transaction
-# E.g. if estimated gas returns 100000 and the parameter is 0.2,
-# the transaction gas limit will be (100000 + 100000 * 0.2) = 120000
-DEPLOYMENT_GAS_LIMIT_EXTRA=0.2
-# The "gasPrice" parameter set in every deployment/configuration transaction on
-# Home network (in Wei).
-HOME_DEPLOYMENT_GAS_PRICE=10000000000
-# The "gasPrice" parameter set in every deployment/configuration transaction on
-# Foreign network (in Wei).
-FOREIGN_DEPLOYMENT_GAS_PRICE=10000000000
-# The timeout limit to wait for receipt of the deployment/configuration
-# transaction.
-GET_RECEIPT_INTERVAL_IN_MILLISECONDS=3000
-
-# The RPC channel to a Home node able to handle deployment/configuration
-# transactions.
-HOME_RPC_URL=https://core.poa.network
-# Address on Home network with permissions to change parameters of the bridge contract.
-# For extra security we recommended using a multi-sig wallet contract address here.
-HOME_BRIDGE_OWNER=0x
-# Address on Home network with permissions to upgrade the bridge contract
-HOME_UPGRADEABLE_ADMIN=0x
-# The daily transaction limit in Wei. As soon as this limit is exceeded, any
-# transaction which requests to relay assets will fail.
-HOME_DAILY_LIMIT=30000000000000000000000000
-# The maximum limit for one transaction in Wei. If a single transaction tries to
-# relay funds exceeding this limit it will fail. HOME_MAX_AMOUNT_PER_TX must be
-# less than HOME_DAILY_LIMIT.
-HOME_MAX_AMOUNT_PER_TX=1500000000000000000000000
-# The minimum limit for one transaction in Wei. If a transaction tries to relay
-# funds below this limit it will fail. This is required to prevent dryout
-# validator accounts.
-HOME_MIN_AMOUNT_PER_TX=500000000000000000
-
-# The RPC channel to a Foreign node able to handle deployment/configuration
-# transactions.
-FOREIGN_RPC_URL=https://mainnet.infura.io
-# Address on Foreign network with permissions to change parameters of the bridge contract.
-# For extra security we recommended using a multi-sig wallet contract address here.
-FOREIGN_BRIDGE_OWNER=0x
-# Address on Foreign network with permissions to upgrade the bridge contract and the
-# bridge validator contract.
-FOREIGN_UPGRADEABLE_ADMIN=0x
-# The daily limit in Wei. As soon as this limit is exceeded, any transaction
-# requesting to relay assets will fail.
-FOREIGN_DAILY_LIMIT=15000000000000000000000000
-# The maximum limit per one transaction in Wei. If a transaction tries to relay
-# funds exceeding this limit it will fail. FOREIGN_MAX_AMOUNT_PER_TX must be less
-# than FOREIGN_DAILY_LIMIT.
-FOREIGN_MAX_AMOUNT_PER_TX=750000000000000000000000
-# The minimum limit for one transaction in Wei. If a transaction tries to relay
-# funds below this limit it will fail.
-FOREIGN_MIN_AMOUNT_PER_TX=500000000000000000
-
-# The address of the existing AMB bridge in the Home network that will be used to pass messages
-# to the Foreign network.
-HOME_AMB_BRIDGE=0x
-# The address of the existing AMB bridge in the Foreign network that will be used to pass messages
-# to the Home network.
-FOREIGN_AMB_BRIDGE=0x
-# The gas limit that will be used in the execution of the message passed to the mediator contract
-# in the Foreign network.
-HOME_MEDIATOR_REQUEST_GAS_LIMIT=2000000
-# The gas limit that will be used in the execution of the message passed to the mediator contract
-# in the Home network.
-FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT=2000000
-
-# Variable to define whether to collect fee on bridge transfers
-# On this bridge mode only BOTH_DIRECTIONS is supported, leave false to disable fees collection
-HOME_REWARDABLE=false
-# On this this bridge mode, fees collection on foreign side is not supported, should be false.
-FOREIGN_REWARDABLE=false
-
-# Fee to be taken for every transaction directed from the Home network to the Foreign network
-# Makes sense only when HOME_REWARDABLE=BOTH_DIRECTIONS
-# e.g. 0.1% fee
-HOME_TRANSACTIONS_FEE=0.001
-# Fee to be taken for every transaction directed from the Foreign network to the Home network
-# Makes sense only when HOME_REWARDABLE=BOTH_DIRECTIONS
-# e.g. 0.1% fee
-FOREIGN_TRANSACTIONS_FEE=0.001
-
-# List of accounts where rewards should be transferred in Home network separated by space without quotes
-# Makes sense only when HOME_REWARDABLE=BOTH_DIRECTIONS
-#E.g. HOME_MEDIATOR_REWARD_ACCOUNTS=0x 0x 0x
-HOME_MEDIATOR_REWARD_ACCOUNTS=0x
-
-# The address of erc20 token on the foreign network that will be transferred through the deployed bridge.
-ERC20_TOKEN_ADDRESS=0x
-# The address of BlockReward contract used by home bridge to mint native coins.
-BLOCK_REWARD_ADDRESS=0x
-
-# The api url of an explorer to verify all the deployed contracts in Home network. Supported explorers: Blockscout, etherscan
-#HOME_EXPLORER_URL=https://blockscout.com/poa/core/api
-# The api key of the explorer api, if required, used to verify all the deployed contracts in Home network.
-#HOME_EXPLORER_API_KEY=
-# The api url of an explorer to verify all the deployed contracts in Foreign network. Supported explorers: Blockscout, etherscan
-#FOREIGN_EXPLORER_URL=https://api.etherscan.io/api
-# The api key of the explorer api, if required, used to verify all the deployed contracts in Foreign network.
-#FOREIGN_EXPLORER_API_KEY=
-```
-
-## `MULTI-AMB-ERC-TO-ERC` Bridge Mode Configuration Example.
-
-This example of an `.env` file for the `MULTI-AMB-ERC-TO-ERC` bridge mode includes comments describing each parameter.
-
-```bash
-# The type of bridge. Defines set of contracts to be deployed.
-BRIDGE_MODE=MULTI_AMB_ERC_TO_ERC
-
-# The private key hex value of the account responsible for contracts
-# deployments and initial configuration. The account's balance must contain
-# funds from both networks.
-DEPLOYMENT_ACCOUNT_PRIVATE_KEY=67..14
-# Extra gas added to the estimated gas of a particular deployment/configuration transaction
-# E.g. if estimated gas returns 100000 and the parameter is 0.2,
-# the transaction gas limit will be (100000 + 100000 * 0.2) = 120000
-DEPLOYMENT_GAS_LIMIT_EXTRA=0.2
-# The "gasPrice" parameter set in every deployment/configuration transaction on
-# Home network (in Wei).
-HOME_DEPLOYMENT_GAS_PRICE=10000000000
-# The "gasPrice" parameter set in every deployment/configuration transaction on
-# Foreign network (in Wei).
-FOREIGN_DEPLOYMENT_GAS_PRICE=10000000000
-# The timeout limit to wait for receipt of the deployment/configuration
-# transaction.
-GET_RECEIPT_INTERVAL_IN_MILLISECONDS=3000
-
-# The RPC channel to a Home node able to handle deployment/configuration
-# transactions.
-HOME_RPC_URL=https://core.poa.network
-# Address on Home network with permissions to change parameters of the bridge contract.
-# For extra security we recommended using a multi-sig wallet contract address here.
-HOME_BRIDGE_OWNER=0x
-# Address on Home network with permissions to upgrade the bridge contract
-HOME_UPGRADEABLE_ADMIN=0x
-# The default daily transaction limit in Wei. As soon as this limit is exceeded, any
-# transaction which requests to relay assets will fail.
-HOME_DAILY_LIMIT=30000000000000000000000000
-# The default maximum limit for one transaction in Wei. If a single transaction tries to
-# relay funds exceeding this limit it will fail. HOME_MAX_AMOUNT_PER_TX must be
-# less than HOME_DAILY_LIMIT.
-HOME_MAX_AMOUNT_PER_TX=1500000000000000000000000
-# The default minimum limit for one transaction in Wei. If a transaction tries to relay
-# funds below this limit it will fail. This is required to prevent dryout
-# validator accounts.
-HOME_MIN_AMOUNT_PER_TX=500000000000000000
-
-# The RPC channel to a Foreign node able to handle deployment/configuration
-# transactions.
-FOREIGN_RPC_URL=https://mainnet.infura.io
-# Address on Foreign network with permissions to change parameters of the bridge contract.
-# For extra security we recommended using a multi-sig wallet contract address here.
-FOREIGN_BRIDGE_OWNER=0x
-# Address on Foreign network with permissions to upgrade the bridge contract and the
-# bridge validator contract.
-FOREIGN_UPGRADEABLE_ADMIN=0x
-# The default daily limit in Wei. As soon as this limit is exceeded, any transaction
-# requesting to relay assets will fail.
-FOREIGN_DAILY_LIMIT=15000000000000000000000000
-# The default maximum limit per one transaction in Wei. If a transaction tries to relay
-# funds exceeding this limit it will fail. FOREIGN_MAX_AMOUNT_PER_TX must be less
-# than FOREIGN_DAILY_LIMIT.
-FOREIGN_MAX_AMOUNT_PER_TX=750000000000000000000000
-# The default minimum limit for one transaction in Wei. If a transaction tries to relay
-# funds below this limit it will fail.
-FOREIGN_MIN_AMOUNT_PER_TX=500000000000000000
-
-# The address of the existing AMB bridge in the Home network that will be used to pass messages
-# to the Foreign network.
-HOME_AMB_BRIDGE=0x
-# The address of the existing AMB bridge in the Foreign network that will be used to pass messages
-# to the Home network.
-FOREIGN_AMB_BRIDGE=0x
-# The gas limit that will be used in the execution of the message passed to the mediator contract
-# in the Foreign network.
-HOME_MEDIATOR_REQUEST_GAS_LIMIT=2000000
-# The gas limit that will be used in the execution of the message passed to the mediator contract
-# in the Home network.
-FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT=2000000
-
-# Variable to define whether to collect fee on bridge transfers
-# On this bridge mode only BOTH_DIRECTIONS is supported, leave false to disable fees collection
-HOME_REWARDABLE=false
-# On this this bridge mode, fees collection on home side is not supported, should be false.
-FOREIGN_REWARDABLE=false
-
-# Fee to be taken for every transaction directed from the Home network to the Foreign network
-# Makes sense only when HOME_REWARDABLE=BOTH_DIRECTIONS
-# e.g. 0.1% fee
-HOME_TRANSACTIONS_FEE=0.001
-# Fee to be taken for every transaction directed from the Foreign network to the Home network
-# Makes sense only when HOME_REWARDABLE=BOTH_DIRECTIONS
-# e.g. 0.1% fee
-FOREIGN_TRANSACTIONS_FEE=0.001
-
-# List of accounts where rewards should be transferred in Home network separated by space without quotes
-# Makes sense only when HOME_REWARDABLE=BOTH_DIRECTIONS
-#E.g. HOME_MEDIATOR_REWARD_ACCOUNTS=0x 0x 0x
-HOME_MEDIATOR_REWARD_ACCOUNTS=0x
-
-# address of an already deployed PermittableToken contract that will be used as an implementation for all new created tokens
-# leave empty, if you want to deploy a new PermittableToken for further usage
-HOME_ERC677_TOKEN_IMAGE=
-
-# The api url of an explorer to verify all the deployed contracts in Home network. Supported explorers: Blockscout, etherscan
-#HOME_EXPLORER_URL=https://blockscout.com/poa/core/api
-# The api key of the explorer api, if required, used to verify all the deployed contracts in Home network.
-#HOME_EXPLORER_API_KEY=
-# The api url of an explorer to verify all the deployed contracts in Foreign network. Supported explorers: Blockscout, etherscan
-#FOREIGN_EXPLORER_URL=https://api.etherscan.io/api
-# The api key of the explorer api, if required, used to verify all the deployed contracts in Foreign network.
-#FOREIGN_EXPLORER_API_KEY=
-```
diff --git a/deploy/deploy.js b/deploy/deploy.js
index 1462f1282..045beb2a5 100644
--- a/deploy/deploy.js
+++ b/deploy/deploy.js
@@ -11,51 +11,6 @@ function writeDeploymentResults(data) {
console.log('Contracts Deployment have been saved to `bridgeDeploymentResults.json`')
}
-async function deployNativeToErc() {
- const preDeploy = require('./src/native_to_erc/preDeploy')
- const deployHome = require('./src/native_to_erc/home')
- const deployForeign = require('./src/native_to_erc/foreign')
- await preDeploy()
- const { homeBridge } = await deployHome()
- const { foreignBridge, erc677 } = await deployForeign(homeBridge.address)
- console.log('\nDeployment has been completed.\n\n')
- console.log(`[ Home ] HomeBridge: ${homeBridge.address} at block ${homeBridge.deployedBlockNumber}`)
- console.log(`[ Foreign ] ForeignBridge: ${foreignBridge.address} at block ${foreignBridge.deployedBlockNumber}`)
- console.log(`[ Foreign ] ERC677 Bridgeable Token: ${erc677.address}`)
- writeDeploymentResults({
- homeBridge: {
- ...homeBridge
- },
- foreignBridge: {
- ...foreignBridge,
- erc677
- }
- })
-}
-
-async function deployErcToErc() {
- const preDeploy = require('./src/erc_to_erc/preDeploy')
- const deployHome = require('./src/erc_to_erc/home')
- const deployForeign = require('./src/erc_to_erc/foreign')
- await preDeploy()
- const { homeBridge, erc677 } = await deployHome()
- const { foreignBridge } = await deployForeign()
- console.log('\nDeployment has been completed.\n\n')
- console.log(`[ Home ] HomeBridge: ${homeBridge.address} at block ${homeBridge.deployedBlockNumber}`)
- console.log(`[ Home ] ERC677 Bridgeable Token: ${erc677.address}`)
- console.log(`[ Foreign ] ForeignBridge: ${foreignBridge.address} at block ${foreignBridge.deployedBlockNumber}`)
- console.log(`[ Foreign ] ERC20 Token: ${ERC20_TOKEN_ADDRESS}`)
- writeDeploymentResults({
- homeBridge: {
- ...homeBridge,
- erc677
- },
- foreignBridge: {
- ...foreignBridge
- }
- })
-}
-
async function deployErcToNative() {
const preDeploy = require('./src/erc_to_native/preDeploy')
const deployHome = require('./src/erc_to_native/home')
@@ -125,150 +80,9 @@ async function deployAMBErcToErc() {
})
}
-async function deployStakeAMBErcToErc() {
- const preDeploy = require('./src/stake_token_mediators/preDeploy')
- const deployHome = require('./src/stake_token_mediators/home')
- const deployForeign = require('./src/stake_token_mediators/foreign')
- const initialize = require('./src/stake_token_mediators/initialize')
- await preDeploy()
- const { homeBridgeMediator } = await deployHome()
- const { foreignBridgeMediator } = await deployForeign()
- await initialize({ homeBridge: homeBridgeMediator.address, foreignBridge: foreignBridgeMediator.address })
- console.log('\nDeployment has been completed.\n\n')
- console.log(`[ Home ] Bridge Mediator: ${homeBridgeMediator.address}`)
- console.log(`[ Foreign ] Bridge Mediator: ${foreignBridgeMediator.address}`)
- writeDeploymentResults({
- homeBridge: {
- homeBridgeMediator
- },
- foreignBridge: {
- foreignBridgeMediator
- }
- })
-}
-
-async function deployAMBNativeToErc() {
- const preDeploy = require('./src/amb_native_to_erc20/preDeploy')
- const deployHome = require('./src/amb_native_to_erc20/home')
- const deployForeign = require('./src/amb_native_to_erc20/foreign')
- const initializeHome = require('./src/amb_native_to_erc20/initializeHome')
- const initializeForeign = require('./src/amb_native_to_erc20/initializeForeign')
- await preDeploy()
- const { homeBridgeMediator, homeFeeManager } = await deployHome()
- const { foreignBridgeMediator, bridgeableErc677, foreignFeeManager } = await deployForeign()
-
- await initializeHome({
- homeBridge: homeBridgeMediator.address,
- homeFeeManager: homeFeeManager.address,
- foreignBridge: foreignBridgeMediator.address
- })
-
- await initializeForeign({
- foreignBridge: foreignBridgeMediator.address,
- foreignFeeManager: foreignFeeManager.address,
- foreignErc677: bridgeableErc677.address,
- homeBridge: homeBridgeMediator.address
- })
-
- console.log('\nDeployment has been completed.\n\n')
- console.log(`[ Home ] Bridge Mediator: ${homeBridgeMediator.address}`)
- if (homeFeeManager.address) {
- console.log(`[ Home ] Fee Manager: ${homeFeeManager.address}`)
- }
- console.log(`[ Foreign ] Bridge Mediator: ${foreignBridgeMediator.address}`)
- if (foreignFeeManager.address) {
- console.log(`[ Foreign ] Fee Manager: ${foreignFeeManager.address}`)
- }
- console.log(`[ Foreign ] ERC677 Token: ${bridgeableErc677.address}`)
- writeDeploymentResults({
- homeBridge: {
- homeBridgeMediator,
- homeFeeManager
- },
- foreignBridge: {
- foreignBridgeMediator,
- foreignFeeManager,
- bridgeableErc677
- }
- })
-}
-
-async function deployAMBErcToNative() {
- const preDeploy = require('./src/amb_erc20_to_native/preDeploy')
- const deployHome = require('./src/amb_erc20_to_native/home')
- const deployForeign = require('./src/amb_erc20_to_native/foreign')
- const initializeHome = require('./src/amb_erc20_to_native/initializeHome')
- const initializeForeign = require('./src/amb_erc20_to_native/initializeForeign')
- await preDeploy()
- const { homeBridgeMediator } = await deployHome()
- const { foreignBridgeMediator } = await deployForeign()
-
- await initializeHome({
- homeBridge: homeBridgeMediator.address,
- foreignBridge: foreignBridgeMediator.address
- })
-
- await initializeForeign({
- foreignBridge: foreignBridgeMediator.address,
- homeBridge: homeBridgeMediator.address
- })
-
- console.log('\nDeployment has been completed.\n\n')
- console.log(`[ Home ] Bridge Mediator: ${homeBridgeMediator.address}`)
- console.log(`[ Foreign ] Bridge Mediator: ${foreignBridgeMediator.address}`)
- writeDeploymentResults({
- homeBridge: {
- homeBridgeMediator
- },
- foreignBridge: {
- foreignBridgeMediator
- }
- })
-}
-
-async function deployMultiAMBErcToErc() {
- const preDeploy = require('./src/multi_amb_erc20_to_erc677/preDeploy')
- const deployHome = require('./src/multi_amb_erc20_to_erc677/home')
- const deployForeign = require('./src/multi_amb_erc20_to_erc677/foreign')
- const initializeHome = require('./src/multi_amb_erc20_to_erc677/initializeHome')
- const initializeForeign = require('./src/multi_amb_erc20_to_erc677/initializeForeign')
- await preDeploy()
- const { homeBridgeMediator, homeTokenImage } = await deployHome()
- const { foreignBridgeMediator } = await deployForeign()
-
- await initializeHome({
- homeBridge: homeBridgeMediator.address,
- foreignBridge: foreignBridgeMediator.address,
- homeTokenImage: homeTokenImage.address
- })
-
- await initializeForeign({
- foreignBridge: foreignBridgeMediator.address,
- homeBridge: homeBridgeMediator.address
- })
-
- console.log('\nDeployment has been completed.\n\n')
- console.log(`[ Home ] Bridge Mediator: ${homeBridgeMediator.address}`)
- console.log(`[ Foreign ] Bridge Mediator: ${foreignBridgeMediator.address}`)
- writeDeploymentResults({
- homeBridge: {
- homeBridgeMediator
- },
- foreignBridge: {
- foreignBridgeMediator
- }
- })
-}
-
async function main() {
console.log(`Bridge mode: ${BRIDGE_MODE}`)
switch (BRIDGE_MODE) {
- case 'NATIVE_TO_ERC':
- await deployNativeToErc()
- break
- case 'ERC_TO_ERC':
- await deployErcToErc()
- break
case 'ERC_TO_NATIVE':
await deployErcToNative()
break
@@ -278,21 +92,9 @@ async function main() {
case 'AMB_ERC_TO_ERC':
await deployAMBErcToErc()
break
- case 'STAKE_AMB_ERC_TO_ERC':
- await deployStakeAMBErcToErc()
- break
- case 'AMB_NATIVE_TO_ERC':
- await deployAMBNativeToErc()
- break
- case 'AMB_ERC_TO_NATIVE':
- await deployAMBErcToNative()
- break
- case 'MULTI_AMB_ERC_TO_ERC':
- await deployMultiAMBErcToErc()
- break
default:
console.log(BRIDGE_MODE)
- throw new Error('Please specify BRIDGE_MODE: NATIVE_TO_ERC or ERC_TO_ERC')
+ throw new Error('Please specify BRIDGE_MODE: ERC_TO_NATIVE or ARBITRARY_MESSAGE or AMB_ERC_TO_ERC')
}
}
diff --git a/deploy/src/amb_erc20_to_native/foreign.js b/deploy/src/amb_erc20_to_native/foreign.js
deleted file mode 100644
index 4f3457be0..000000000
--- a/deploy/src/amb_erc20_to_native/foreign.js
+++ /dev/null
@@ -1,52 +0,0 @@
-const { web3Foreign, FOREIGN_RPC_URL } = require('../web3')
-const {
- deployContract,
- privateKeyToAddress,
- upgradeProxy
-} = require('../deploymentUtils')
-const {
- foreignContracts: { EternalStorageProxy, ForeignAMBErc20ToNative: ForeignBridge }
-} = require('../loadContracts')
-const {
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY
-} = require('../loadEnv')
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-async function deployForeign() {
- let nonce = await web3Foreign.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
-
- console.log('\n[Foreign] Deploying Bridge Mediator storage\n')
- const foreignBridgeStorage = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] Bridge Mediator Storage: ', foreignBridgeStorage.options.address)
-
- console.log('\n[Foreign] Deploying Bridge Mediator implementation\n')
- const foreignBridgeImplementation = await deployContract(ForeignBridge, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] Bridge Mediator Implementation: ', foreignBridgeImplementation.options.address)
-
- console.log('\n[Foreign] Hooking up Mediator storage to Mediator implementation')
- await upgradeProxy({
- proxy: foreignBridgeStorage,
- implementationAddress: foreignBridgeImplementation.options.address,
- version: '1',
- nonce,
- url: FOREIGN_RPC_URL
- })
-
- console.log('\nForeign part of ERC20-to-Native bridge deployed\n')
- return {
- foreignBridgeMediator: { address: foreignBridgeStorage.options.address }
- }
-}
-
-module.exports = deployForeign
diff --git a/deploy/src/amb_erc20_to_native/home.js b/deploy/src/amb_erc20_to_native/home.js
deleted file mode 100644
index cfc67c6b1..000000000
--- a/deploy/src/amb_erc20_to_native/home.js
+++ /dev/null
@@ -1,47 +0,0 @@
-const { web3Home, HOME_RPC_URL } = require('../web3')
-const { deployContract, privateKeyToAddress, upgradeProxy } = require('../deploymentUtils')
-const {
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY
-} = require('../loadEnv')
-
-const {
- homeContracts: { EternalStorageProxy, HomeAMBErc20ToNative: HomeBridge }
-} = require('../loadContracts')
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-async function deployHome() {
- let nonce = await web3Home.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
-
- console.log('\n[Home] Deploying Bridge Mediator storage\n')
- const homeBridgeStorage = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- nonce++
- console.log('[Home] Bridge Mediator Storage: ', homeBridgeStorage.options.address)
-
- console.log('\n[Home] Deploying Bridge Mediator implementation\n')
- const homeBridgeImplementation = await deployContract(HomeBridge, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- nonce++
- console.log('[Home] Bridge Mediator Implementation: ', homeBridgeImplementation.options.address)
-
- console.log('\n[Home] Hooking up Mediator storage to Mediator implementation')
- await upgradeProxy({
- proxy: homeBridgeStorage,
- implementationAddress: homeBridgeImplementation.options.address,
- version: '1',
- nonce,
- url: HOME_RPC_URL
- })
-
- console.log('\nHome part of ERC20-To-Native bridge deployed\n')
- return {
- homeBridgeMediator: { address: homeBridgeStorage.options.address }
- }
-}
-
-module.exports = deployHome
diff --git a/deploy/src/amb_erc20_to_native/initializeForeign.js b/deploy/src/amb_erc20_to_native/initializeForeign.js
deleted file mode 100644
index abc867d45..000000000
--- a/deploy/src/amb_erc20_to_native/initializeForeign.js
+++ /dev/null
@@ -1,124 +0,0 @@
-const Web3Utils = require('web3-utils')
-const assert = require('assert')
-const { web3Home, web3Foreign, FOREIGN_RPC_URL, deploymentPrivateKey } = require('../web3')
-const {
- foreignContracts: { EternalStorageProxy, ForeignAMBErc20ToNative }
-} = require('../loadContracts')
-const {
- privateKeyToAddress,
- sendRawTxForeign,
- assertStateWithRetry,
- transferProxyOwnership
-} = require('../deploymentUtils')
-
-const {
- HOME_DAILY_LIMIT,
- HOME_MAX_AMOUNT_PER_TX,
- FOREIGN_DAILY_LIMIT,
- FOREIGN_MAX_AMOUNT_PER_TX,
- FOREIGN_MIN_AMOUNT_PER_TX,
- FOREIGN_BRIDGE_OWNER,
- FOREIGN_UPGRADEABLE_ADMIN,
- FOREIGN_AMB_BRIDGE,
- FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT,
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY,
- FOREIGN_TO_HOME_DECIMAL_SHIFT,
- ERC20_TOKEN_ADDRESS
-} = require('../loadEnv')
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-async function initializeMediator({
- contract,
- params: {
- bridgeContract,
- mediatorContract,
- erc677token,
- dailyLimit,
- maxPerTx,
- minPerTx,
- executionDailyLimit,
- executionMaxPerTx,
- requestGasLimit,
- foreignToHomeDecimalShift,
- owner
- }
-}) {
- console.log(`
- AMB contract: ${bridgeContract},
- Mediator contract: ${mediatorContract},
- Token contract: ${erc677token},
- DAILY_LIMIT : ${dailyLimit} which is ${Web3Utils.fromWei(dailyLimit)} in eth,
- MAX_AMOUNT_PER_TX: ${maxPerTx} which is ${Web3Utils.fromWei(maxPerTx)} in eth,
- MIN_AMOUNT_PER_TX: ${minPerTx} which is ${Web3Utils.fromWei(minPerTx)} in eth,
- EXECUTION_DAILY_LIMIT : ${executionDailyLimit} which is ${Web3Utils.fromWei(executionDailyLimit)} in eth,
- EXECUTION_MAX_AMOUNT_PER_TX: ${executionMaxPerTx} which is ${Web3Utils.fromWei(executionMaxPerTx)} in eth,
- FOREIGN_TO_HOME_DECIMAL_SHIFT: ${foreignToHomeDecimalShift},
- MEDIATOR_REQUEST_GAS_LIMIT : ${requestGasLimit},
- OWNER: ${owner}
- `)
-
- return contract.methods
- .initialize(
- bridgeContract,
- mediatorContract,
- [FOREIGN_DAILY_LIMIT.toString(), FOREIGN_MAX_AMOUNT_PER_TX.toString(), FOREIGN_MIN_AMOUNT_PER_TX.toString()],
- [HOME_DAILY_LIMIT.toString(), HOME_MAX_AMOUNT_PER_TX.toString()],
- requestGasLimit,
- foreignToHomeDecimalShift,
- owner,
- erc677token
- )
- .encodeABI()
-}
-
-async function initialize({ homeBridge, foreignBridge }) {
- const foreignToHomeDecimalShift = FOREIGN_TO_HOME_DECIMAL_SHIFT || 0
- let nonce = await web3Foreign.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
- const contract = new web3Home.eth.Contract(ForeignAMBErc20ToNative.abi, foreignBridge)
-
- console.log('\n[Foreign] Initializing Bridge Mediator with following parameters:')
-
- const initializeData = await initializeMediator({
- contract,
- params: {
- bridgeContract: FOREIGN_AMB_BRIDGE,
- mediatorContract: homeBridge,
- erc677token: ERC20_TOKEN_ADDRESS,
- dailyLimit: FOREIGN_DAILY_LIMIT,
- maxPerTx: FOREIGN_MAX_AMOUNT_PER_TX,
- minPerTx: FOREIGN_MIN_AMOUNT_PER_TX,
- executionDailyLimit: HOME_DAILY_LIMIT,
- executionMaxPerTx: HOME_MAX_AMOUNT_PER_TX,
- requestGasLimit: FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT,
- foreignToHomeDecimalShift,
- owner: FOREIGN_BRIDGE_OWNER
- }
- })
-
- const txInitialize = await sendRawTxForeign({
- data: initializeData,
- nonce,
- to: foreignBridge,
- privateKey: deploymentPrivateKey,
- url: FOREIGN_RPC_URL
- })
-
- if (txInitialize.status) {
- assert.strictEqual(Web3Utils.hexToNumber(txInitialize.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(contract.methods.isInitialized().call, true)
- }
- nonce++
-
- console.log('\n[Foreign] Transferring bridge mediator proxy ownership to upgradeability admin')
- const proxy = new web3Foreign.eth.Contract(EternalStorageProxy.abi, foreignBridge)
- await transferProxyOwnership({
- proxy,
- newOwner: FOREIGN_UPGRADEABLE_ADMIN,
- nonce,
- url: FOREIGN_RPC_URL
- })
-}
-
-module.exports = initialize
diff --git a/deploy/src/amb_erc20_to_native/initializeHome.js b/deploy/src/amb_erc20_to_native/initializeHome.js
deleted file mode 100644
index 4c526336d..000000000
--- a/deploy/src/amb_erc20_to_native/initializeHome.js
+++ /dev/null
@@ -1,210 +0,0 @@
-const Web3Utils = require('web3-utils')
-const assert = require('assert')
-const { web3Home, HOME_RPC_URL, deploymentPrivateKey } = require('../web3')
-const {
- homeContracts: { EternalStorageProxy, HomeAMBErc20ToNative }
-} = require('../loadContracts')
-const {
- privateKeyToAddress,
- sendRawTxHome,
- assertStateWithRetry,
- transferProxyOwnership
-} = require('../deploymentUtils')
-
-const {
- HOME_AMB_BRIDGE,
- HOME_DAILY_LIMIT,
- HOME_MAX_AMOUNT_PER_TX,
- HOME_MIN_AMOUNT_PER_TX,
- FOREIGN_DAILY_LIMIT,
- FOREIGN_MAX_AMOUNT_PER_TX,
- HOME_MEDIATOR_REQUEST_GAS_LIMIT,
- HOME_BRIDGE_OWNER,
- HOME_UPGRADEABLE_ADMIN,
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY,
- FOREIGN_TO_HOME_DECIMAL_SHIFT,
- BLOCK_REWARD_ADDRESS,
- HOME_REWARDABLE,
- HOME_TRANSACTIONS_FEE,
- FOREIGN_TRANSACTIONS_FEE,
- HOME_MEDIATOR_REWARD_ACCOUNTS
-} = require('../loadEnv')
-
-const isRewardableBridge = HOME_REWARDABLE === 'BOTH_DIRECTIONS'
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-async function initializeMediator({
- contract,
- params: {
- bridgeContract,
- mediatorContract,
- dailyLimit,
- maxPerTx,
- minPerTx,
- executionDailyLimit,
- executionMaxPerTx,
- requestGasLimit,
- foreignToHomeDecimalShift,
- owner,
- blockRewardContract
- }
-}) {
- console.log(`
- AMB contract: ${bridgeContract},
- Mediator contract: ${mediatorContract},
- DAILY_LIMIT : ${dailyLimit} which is ${Web3Utils.fromWei(dailyLimit)} in eth,
- MAX_AMOUNT_PER_TX: ${maxPerTx} which is ${Web3Utils.fromWei(maxPerTx)} in eth,
- MIN_AMOUNT_PER_TX: ${minPerTx} which is ${Web3Utils.fromWei(minPerTx)} in eth,
- EXECUTION_DAILY_LIMIT : ${executionDailyLimit} which is ${Web3Utils.fromWei(executionDailyLimit)} in eth,
- EXECUTION_MAX_AMOUNT_PER_TX: ${executionMaxPerTx} which is ${Web3Utils.fromWei(executionMaxPerTx)} in eth,
- FOREIGN_TO_HOME_DECIMAL_SHIFT: ${foreignToHomeDecimalShift},
- MEDIATOR_REQUEST_GAS_LIMIT : ${requestGasLimit},
- OWNER: ${owner},
- BLOCK_REWARD_ADDRESS: ${blockRewardContract}
- `)
-
- return contract.methods
- .initialize(
- bridgeContract,
- mediatorContract,
- [HOME_DAILY_LIMIT.toString(), HOME_MAX_AMOUNT_PER_TX.toString(), HOME_MIN_AMOUNT_PER_TX.toString()],
- [FOREIGN_DAILY_LIMIT.toString(), FOREIGN_MAX_AMOUNT_PER_TX.toString()],
- requestGasLimit,
- foreignToHomeDecimalShift,
- owner,
- blockRewardContract
- )
- .encodeABI()
-}
-
-async function rewardableInitializeMediator({
- contract,
- params: {
- bridgeContract,
- mediatorContract,
- dailyLimit,
- maxPerTx,
- minPerTx,
- executionDailyLimit,
- executionMaxPerTx,
- requestGasLimit,
- foreignToHomeDecimalShift,
- owner,
- blockRewardContract,
- rewardAddressList,
- homeToForeignFee,
- foreignToHomeFee
- }
-}) {
- console.log(`
- AMB contract: ${bridgeContract},
- Mediator contract: ${mediatorContract},
- DAILY_LIMIT : ${dailyLimit} which is ${Web3Utils.fromWei(dailyLimit)} in eth,
- MAX_AMOUNT_PER_TX: ${maxPerTx} which is ${Web3Utils.fromWei(maxPerTx)} in eth,
- MIN_AMOUNT_PER_TX: ${minPerTx} which is ${Web3Utils.fromWei(minPerTx)} in eth,
- EXECUTION_DAILY_LIMIT : ${executionDailyLimit} which is ${Web3Utils.fromWei(executionDailyLimit)} in eth,
- EXECUTION_MAX_AMOUNT_PER_TX: ${executionMaxPerTx} which is ${Web3Utils.fromWei(executionMaxPerTx)} in eth,
- FOREIGN_TO_HOME_DECIMAL_SHIFT: ${foreignToHomeDecimalShift},
- MEDIATOR_REQUEST_GAS_LIMIT : ${requestGasLimit},
- OWNER: ${owner},
- BLOCK_REWARD_ADDRESS: ${blockRewardContract},
- REWARD_ADDRESS_LIST: [${rewardAddressList.join(', ')}],
- HOME_TO_FOREIGN_FEE: ${homeToForeignFee} which is ${HOME_TRANSACTIONS_FEE * 100}%
- FOREIGN_TO_HOME_FEE: ${foreignToHomeFee} which is ${FOREIGN_TRANSACTIONS_FEE * 100}%
- `)
-
- return contract.methods
- .rewardableInitialize(
- bridgeContract,
- mediatorContract,
- [HOME_DAILY_LIMIT.toString(), HOME_MAX_AMOUNT_PER_TX.toString(), HOME_MIN_AMOUNT_PER_TX.toString()],
- [FOREIGN_DAILY_LIMIT.toString(), FOREIGN_MAX_AMOUNT_PER_TX.toString()],
- requestGasLimit,
- foreignToHomeDecimalShift,
- owner,
- blockRewardContract,
- rewardAddressList,
- [homeToForeignFee.toString(), foreignToHomeFee.toString()]
- )
- .encodeABI()
-}
-
-async function initialize({ homeBridge, foreignBridge }) {
- const foreignToHomeDecimalShift = FOREIGN_TO_HOME_DECIMAL_SHIFT || 0
- let nonce = await web3Home.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
- const mediatorContract = new web3Home.eth.Contract(HomeAMBErc20ToNative.abi, homeBridge)
-
- console.log('\n[Home] Initializing Bridge Mediator with following parameters:')
-
- let initializeMediatorData
- if (isRewardableBridge) {
- const homeFeeInWei = Web3Utils.toWei(HOME_TRANSACTIONS_FEE.toString(), 'ether')
- const foreignFeeInWei = Web3Utils.toWei(FOREIGN_TRANSACTIONS_FEE.toString(), 'ether')
- const rewardList = HOME_MEDIATOR_REWARD_ACCOUNTS.split(' ')
-
- initializeMediatorData = await rewardableInitializeMediator({
- contract: mediatorContract,
- params: {
- bridgeContract: HOME_AMB_BRIDGE,
- mediatorContract: foreignBridge,
- dailyLimit: HOME_DAILY_LIMIT,
- maxPerTx: HOME_MAX_AMOUNT_PER_TX,
- minPerTx: HOME_MIN_AMOUNT_PER_TX,
- executionDailyLimit: FOREIGN_DAILY_LIMIT,
- executionMaxPerTx: FOREIGN_MAX_AMOUNT_PER_TX,
- requestGasLimit: HOME_MEDIATOR_REQUEST_GAS_LIMIT,
- foreignToHomeDecimalShift,
- owner: HOME_BRIDGE_OWNER,
- blockRewardContract: BLOCK_REWARD_ADDRESS,
- rewardAddressList: rewardList,
- homeToForeignFee: homeFeeInWei,
- foreignToHomeFee: foreignFeeInWei
- }
- })
-
- } else {
- initializeMediatorData = await initializeMediator({
- contract: mediatorContract,
- params: {
- bridgeContract: HOME_AMB_BRIDGE,
- mediatorContract: foreignBridge,
- dailyLimit: HOME_DAILY_LIMIT,
- maxPerTx: HOME_MAX_AMOUNT_PER_TX,
- minPerTx: HOME_MIN_AMOUNT_PER_TX,
- executionDailyLimit: FOREIGN_DAILY_LIMIT,
- executionMaxPerTx: FOREIGN_MAX_AMOUNT_PER_TX,
- requestGasLimit: HOME_MEDIATOR_REQUEST_GAS_LIMIT,
- foreignToHomeDecimalShift,
- owner: HOME_BRIDGE_OWNER,
- blockRewardContract: BLOCK_REWARD_ADDRESS
- }
- })
- }
-
- const txInitializeMediator = await sendRawTxHome({
- data: initializeMediatorData,
- nonce,
- to: homeBridge,
- privateKey: deploymentPrivateKey,
- url: HOME_RPC_URL
- })
-
- if (txInitializeMediator.status) {
- assert.strictEqual(Web3Utils.hexToNumber(txInitializeMediator.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(mediatorContract.methods.isInitialized().call, true)
- }
- nonce++
-
- console.log('\n[Home] Transferring bridge mediator proxy ownership to upgradeability admin')
- const mediatorProxy = new web3Home.eth.Contract(EternalStorageProxy.abi, homeBridge)
- await transferProxyOwnership({
- proxy: mediatorProxy,
- newOwner: HOME_UPGRADEABLE_ADMIN,
- nonce,
- url: HOME_RPC_URL
- })
-}
-
-module.exports = initialize
diff --git a/deploy/src/amb_erc20_to_native/preDeploy.js b/deploy/src/amb_erc20_to_native/preDeploy.js
deleted file mode 100644
index 13bc91cd2..000000000
--- a/deploy/src/amb_erc20_to_native/preDeploy.js
+++ /dev/null
@@ -1,32 +0,0 @@
-const { web3Home, web3Foreign } = require('../web3')
-const {
- HOME_AMB_BRIDGE,
- BLOCK_REWARD_ADDRESS,
- FOREIGN_AMB_BRIDGE,
- ERC20_TOKEN_ADDRESS
-} = require('../loadEnv')
-const { isContract } = require('../deploymentUtils')
-
-async function preDeploy() {
- const isHomeAMBAContract = await isContract(web3Home, HOME_AMB_BRIDGE)
- if (!isHomeAMBAContract) {
- throw new Error(`HOME_AMB_BRIDGE should be a contract address`)
- }
-
- const isBlockRewardAContract = await isContract(web3Home, BLOCK_REWARD_ADDRESS)
- if (!isBlockRewardAContract) {
- throw new Error(`BLOCK_REWARD_ADDRESS should be a contract address`)
- }
-
- const isForeignAMBAContract = await isContract(web3Foreign, FOREIGN_AMB_BRIDGE)
- if (!isForeignAMBAContract) {
- throw new Error(`FOREIGN_AMB_BRIDGE should be a contract address`)
- }
-
- const isERC20AContract = await isContract(web3Foreign, ERC20_TOKEN_ADDRESS)
- if (!isERC20AContract) {
- throw new Error(`ERC20_TOKEN_ADDRESS should be a contract address`)
- }
-}
-
-module.exports = preDeploy
diff --git a/deploy/src/amb_native_to_erc20/foreign.js b/deploy/src/amb_native_to_erc20/foreign.js
deleted file mode 100644
index 098d47681..000000000
--- a/deploy/src/amb_native_to_erc20/foreign.js
+++ /dev/null
@@ -1,175 +0,0 @@
-const assert = require('assert')
-const Web3Utils = require('web3-utils')
-const { web3Foreign, FOREIGN_RPC_URL, deploymentPrivateKey } = require('../web3')
-const { ZERO_ADDRESS } = require('../constants')
-const {
- deployContract,
- privateKeyToAddress,
- upgradeProxy,
- setBridgeContract,
- sendRawTxForeign,
- transferOwnership,
- assertStateWithRetry
-} = require('../deploymentUtils')
-const {
- foreignContracts: {
- EternalStorageProxy,
- ForeignAMBNativeToErc20: ForeignBridge,
- ForeignFeeManagerAMBNativeToErc20,
- ERC677BridgeTokenRewardable,
- ERC677BridgeTokenPermittable
- }
-} = require('../loadContracts')
-const {
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY,
- FOREIGN_REWARDABLE,
- DEPLOY_REWARDABLE_TOKEN,
- BRIDGEABLE_TOKEN_NAME,
- BRIDGEABLE_TOKEN_SYMBOL,
- BRIDGEABLE_TOKEN_DECIMALS,
- BLOCK_REWARD_ADDRESS,
- DPOS_STAKING_ADDRESS,
- FOREIGN_BRIDGE_OWNER,
- HOME_TRANSACTIONS_FEE,
- FOREIGN_MEDIATOR_REWARD_ACCOUNTS
-} = require('../loadEnv')
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-const isRewardableBridge = FOREIGN_REWARDABLE === 'ONE_DIRECTION'
-
-async function deployForeign() {
- let nonce = await web3Foreign.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
- let feeManagerAddress = ZERO_ADDRESS
-
- console.log('\n[Foreign] Deploying Bridge Mediator storage\n')
- const foreignBridgeStorage = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] Bridge Mediator Storage: ', foreignBridgeStorage.options.address)
-
- console.log('\n[Foreign] Deploying Bridge Mediator implementation\n')
- const foreignBridgeImplementation = await deployContract(ForeignBridge, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] Bridge Mediator Implementation: ', foreignBridgeImplementation.options.address)
-
- console.log('\n[Foreign] Hooking up Mediator storage to Mediator implementation')
- await upgradeProxy({
- proxy: foreignBridgeStorage,
- implementationAddress: foreignBridgeImplementation.options.address,
- version: '1',
- nonce,
- url: FOREIGN_RPC_URL
- })
- nonce++
-
- console.log('\n[Foreign] Deploying Bridgeable token')
- const erc677Contract = DEPLOY_REWARDABLE_TOKEN ? ERC677BridgeTokenRewardable : ERC677BridgeTokenPermittable
- const chainId = await web3Foreign.eth.getChainId()
- assert.strictEqual(chainId > 0, true, 'Invalid chain ID')
- const args = [BRIDGEABLE_TOKEN_NAME, BRIDGEABLE_TOKEN_SYMBOL, BRIDGEABLE_TOKEN_DECIMALS, chainId]
- const erc677token = await deployContract(
- erc677Contract,
- args,
- { from: DEPLOYMENT_ACCOUNT_ADDRESS, network: 'foreign', nonce }
- )
- nonce++
- console.log('[Foreign] Bridgeable Token: ', erc677token.options.address)
-
- console.log('\n[Foreign] Set Bridge Mediator contract on Bridgeable token')
- await setBridgeContract({
- contract: erc677token,
- bridgeAddress: foreignBridgeStorage.options.address,
- nonce,
- url: FOREIGN_RPC_URL
- })
- nonce++
-
- if (DEPLOY_REWARDABLE_TOKEN) {
- console.log('\n[Foreign] Set BlockReward contract on Bridgeable token contract')
- const setBlockRewardContractData = await erc677token.methods
- .setBlockRewardContract(BLOCK_REWARD_ADDRESS)
- .encodeABI()
- const setBlockRewardContract = await sendRawTxForeign({
- data: setBlockRewardContractData,
- nonce,
- to: erc677token.options.address,
- privateKey: deploymentPrivateKey,
- url: FOREIGN_RPC_URL
- })
- if (setBlockRewardContract.status) {
- assert.strictEqual(Web3Utils.hexToNumber(setBlockRewardContract.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(erc677token.methods.blockRewardContract().call, BLOCK_REWARD_ADDRESS)
- }
- nonce++
-
- console.log('\n[Foreign] Set Staking contract on Bridgeable token contract')
- const setStakingContractData = await erc677token.methods.setStakingContract(DPOS_STAKING_ADDRESS).encodeABI()
- const setStakingContract = await sendRawTxForeign({
- data: setStakingContractData,
- nonce,
- to: erc677token.options.address,
- privateKey: deploymentPrivateKey,
- url: FOREIGN_RPC_URL
- })
- if (setStakingContract.status) {
- assert.strictEqual(Web3Utils.hexToNumber(setStakingContract.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(erc677token.methods.stakingContract().call, DPOS_STAKING_ADDRESS)
- }
- nonce++
- }
-
- console.log('[Foreign] Transferring ownership of Bridgeable token to Bridge Mediator contract')
- await transferOwnership({
- contract: erc677token,
- newOwner: foreignBridgeStorage.options.address,
- nonce,
- url: FOREIGN_RPC_URL
- })
- nonce++
-
- if (isRewardableBridge) {
- const feeInWei = Web3Utils.toWei(HOME_TRANSACTIONS_FEE.toString(), 'ether')
- const rewardList = FOREIGN_MEDIATOR_REWARD_ACCOUNTS.split(' ')
-
- console.log('\n[Foreign] Deploying Fee Manager')
- console.log(`
- OWNER: ${FOREIGN_BRIDGE_OWNER},
- Fee: ${feeInWei} which is ${HOME_TRANSACTIONS_FEE * 100}%
- Mediator: ${foreignBridgeStorage.options.address}
- `)
- rewardList.forEach((account, index) => {
- console.log(`${index + 1}: ${account}`)
- })
- const feeManagerImpl = await deployContract(
- ForeignFeeManagerAMBNativeToErc20,
- [FOREIGN_BRIDGE_OWNER, feeInWei, rewardList, foreignBridgeStorage.options.address, erc677token.options.address],
- {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- }
- )
- console.log('[Home] Fee Manager : ', feeManagerImpl.options.address)
- feeManagerAddress = feeManagerImpl.options.address
- nonce++
- }
-
- console.log('\nForeign part of Native-to-ERC20 bridge deployed\n')
- return {
- foreignBridgeMediator: { address: foreignBridgeStorage.options.address },
- foreignFeeManager: { address: feeManagerAddress },
- bridgeableErc677: { address: erc677token.options.address }
- }
-}
-
-module.exports = deployForeign
diff --git a/deploy/src/amb_native_to_erc20/home.js b/deploy/src/amb_native_to_erc20/home.js
deleted file mode 100644
index 1889ad152..000000000
--- a/deploy/src/amb_native_to_erc20/home.js
+++ /dev/null
@@ -1,84 +0,0 @@
-const Web3Utils = require('web3-utils')
-const { web3Home, HOME_RPC_URL } = require('../web3')
-const { deployContract, privateKeyToAddress, upgradeProxy } = require('../deploymentUtils')
-const {
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY,
- HOME_REWARDABLE,
- HOME_MEDIATOR_REWARD_ACCOUNTS,
- HOME_BRIDGE_OWNER,
- FOREIGN_TRANSACTIONS_FEE
-} = require('../loadEnv')
-const { ZERO_ADDRESS } = require('../constants')
-
-const {
- homeContracts: { EternalStorageProxy, HomeAMBNativeToErc20: HomeBridge, HomeFeeManagerAMBNativeToErc20 }
-} = require('../loadContracts')
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-const isRewardableBridge = HOME_REWARDABLE === 'ONE_DIRECTION'
-
-async function deployHome() {
- let nonce = await web3Home.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
- let feeManagerAddress = ZERO_ADDRESS
-
- console.log('\n[Home] Deploying Bridge Mediator storage\n')
- const homeBridgeStorage = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- nonce++
- console.log('[Home] Bridge Mediator Storage: ', homeBridgeStorage.options.address)
-
- console.log('\n[Home] Deploying Bridge Mediator implementation\n')
- const homeBridgeImplementation = await deployContract(HomeBridge, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- nonce++
- console.log('[Home] Bridge Mediator Implementation: ', homeBridgeImplementation.options.address)
-
- console.log('\n[Home] Hooking up Mediator storage to Mediator implementation')
- await upgradeProxy({
- proxy: homeBridgeStorage,
- implementationAddress: homeBridgeImplementation.options.address,
- version: '1',
- nonce,
- url: HOME_RPC_URL
- })
- nonce++
-
- if (isRewardableBridge) {
- const feeInWei = Web3Utils.toWei(FOREIGN_TRANSACTIONS_FEE.toString(), 'ether')
- const rewardList = HOME_MEDIATOR_REWARD_ACCOUNTS.split(' ')
-
- console.log('\n[Home] Deploying Fee Manager')
- console.log(`
- OWNER: ${HOME_BRIDGE_OWNER},
- Fee: ${feeInWei} which is ${FOREIGN_TRANSACTIONS_FEE * 100}%
- Mediator: ${homeBridgeStorage.options.address}
- `)
- rewardList.forEach((account, index) => {
- console.log(`${index + 1}: ${account}`)
- })
- const feeManagerImpl = await deployContract(
- HomeFeeManagerAMBNativeToErc20,
- [HOME_BRIDGE_OWNER, feeInWei, rewardList, homeBridgeStorage.options.address],
- {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- }
- )
- console.log('[Home] Fee Manager: ', feeManagerImpl.options.address)
- feeManagerAddress = feeManagerImpl.options.address
- nonce++
- }
-
- console.log('\nHome part of Native-to-ERC20 bridge deployed\n')
- return {
- homeBridgeMediator: { address: homeBridgeStorage.options.address },
- homeFeeManager: { address: feeManagerAddress }
- }
-}
-
-module.exports = deployHome
diff --git a/deploy/src/amb_native_to_erc20/initializeForeign.js b/deploy/src/amb_native_to_erc20/initializeForeign.js
deleted file mode 100644
index c1745180e..000000000
--- a/deploy/src/amb_native_to_erc20/initializeForeign.js
+++ /dev/null
@@ -1,127 +0,0 @@
-const Web3Utils = require('web3-utils')
-const assert = require('assert')
-const { web3Home, web3Foreign, FOREIGN_RPC_URL, deploymentPrivateKey } = require('../web3')
-const {
- foreignContracts: { EternalStorageProxy, ForeignAMBNativeToErc20 }
-} = require('../loadContracts')
-const {
- privateKeyToAddress,
- sendRawTxForeign,
- assertStateWithRetry,
- transferProxyOwnership
-} = require('../deploymentUtils')
-
-const {
- HOME_DAILY_LIMIT,
- HOME_MAX_AMOUNT_PER_TX,
- FOREIGN_DAILY_LIMIT,
- FOREIGN_MAX_AMOUNT_PER_TX,
- FOREIGN_MIN_AMOUNT_PER_TX,
- FOREIGN_BRIDGE_OWNER,
- FOREIGN_UPGRADEABLE_ADMIN,
- FOREIGN_AMB_BRIDGE,
- FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT,
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY,
- FOREIGN_TO_HOME_DECIMAL_SHIFT
-} = require('../loadEnv')
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-async function initializeMediator({
- contract,
- params: {
- bridgeContract,
- mediatorContract,
- erc677token,
- dailyLimit,
- maxPerTx,
- minPerTx,
- executionDailyLimit,
- executionMaxPerTx,
- requestGasLimit,
- foreignToHomeDecimalShift,
- owner,
- feeManager
- }
-}) {
- console.log(`
- AMB contract: ${bridgeContract},
- Mediator contract: ${mediatorContract},
- Token contract: ${erc677token},
- DAILY_LIMIT : ${dailyLimit} which is ${Web3Utils.fromWei(dailyLimit)} in eth,
- MAX_AMOUNT_PER_TX: ${maxPerTx} which is ${Web3Utils.fromWei(maxPerTx)} in eth,
- MIN_AMOUNT_PER_TX: ${minPerTx} which is ${Web3Utils.fromWei(minPerTx)} in eth,
- EXECUTION_DAILY_LIMIT : ${executionDailyLimit} which is ${Web3Utils.fromWei(executionDailyLimit)} in eth,
- EXECUTION_MAX_AMOUNT_PER_TX: ${executionMaxPerTx} which is ${Web3Utils.fromWei(executionMaxPerTx)} in eth,
- FOREIGN_TO_HOME_DECIMAL_SHIFT: ${foreignToHomeDecimalShift},
- MEDIATOR_REQUEST_GAS_LIMIT : ${requestGasLimit},
- OWNER: ${owner},
- Fee Manager: ${feeManager},
- `)
-
- return contract.methods
- .initialize(
- bridgeContract,
- mediatorContract,
- [dailyLimit.toString(), maxPerTx.toString(), minPerTx.toString()],
- [executionDailyLimit.toString(), executionMaxPerTx.toString()],
- requestGasLimit,
- foreignToHomeDecimalShift,
- owner,
- erc677token,
- feeManager
- )
- .encodeABI()
-}
-
-async function initialize({ homeBridge, foreignBridge, foreignFeeManager, foreignErc677 }) {
- const foreignToHomeDecimalShift = FOREIGN_TO_HOME_DECIMAL_SHIFT || 0
- let nonce = await web3Foreign.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
- const contract = new web3Home.eth.Contract(ForeignAMBNativeToErc20.abi, foreignBridge)
-
- console.log('\n[Foreign] Initializing Bridge Mediator with following parameters:')
-
- const initializeData = await initializeMediator({
- contract,
- params: {
- bridgeContract: FOREIGN_AMB_BRIDGE,
- mediatorContract: homeBridge,
- erc677token: foreignErc677,
- dailyLimit: FOREIGN_DAILY_LIMIT,
- maxPerTx: FOREIGN_MAX_AMOUNT_PER_TX,
- minPerTx: FOREIGN_MIN_AMOUNT_PER_TX,
- executionDailyLimit: HOME_DAILY_LIMIT,
- executionMaxPerTx: HOME_MAX_AMOUNT_PER_TX,
- requestGasLimit: FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT,
- foreignToHomeDecimalShift,
- owner: FOREIGN_BRIDGE_OWNER,
- feeManager: foreignFeeManager
- }
- })
-
- const txInitialize = await sendRawTxForeign({
- data: initializeData,
- nonce,
- to: foreignBridge,
- privateKey: deploymentPrivateKey,
- url: FOREIGN_RPC_URL
- })
-
- if (txInitialize.status) {
- assert.strictEqual(Web3Utils.hexToNumber(txInitialize.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(contract.methods.isInitialized().call, true)
- }
- nonce++
-
- console.log('\n[Foreign] Transferring bridge mediator proxy ownership to upgradeability admin')
- const proxy = new web3Foreign.eth.Contract(EternalStorageProxy.abi, foreignBridge)
- await transferProxyOwnership({
- proxy,
- newOwner: FOREIGN_UPGRADEABLE_ADMIN,
- nonce,
- url: FOREIGN_RPC_URL
- })
-}
-
-module.exports = initialize
diff --git a/deploy/src/amb_native_to_erc20/initializeHome.js b/deploy/src/amb_native_to_erc20/initializeHome.js
deleted file mode 100644
index 0c9bcc39b..000000000
--- a/deploy/src/amb_native_to_erc20/initializeHome.js
+++ /dev/null
@@ -1,123 +0,0 @@
-const Web3Utils = require('web3-utils')
-const assert = require('assert')
-const { web3Home, HOME_RPC_URL, deploymentPrivateKey } = require('../web3')
-const {
- homeContracts: { EternalStorageProxy, HomeAMBNativeToErc20 }
-} = require('../loadContracts')
-const {
- privateKeyToAddress,
- sendRawTxHome,
- assertStateWithRetry,
- transferProxyOwnership
-} = require('../deploymentUtils')
-
-const {
- HOME_AMB_BRIDGE,
- HOME_DAILY_LIMIT,
- HOME_MAX_AMOUNT_PER_TX,
- HOME_MIN_AMOUNT_PER_TX,
- FOREIGN_DAILY_LIMIT,
- FOREIGN_MAX_AMOUNT_PER_TX,
- HOME_MEDIATOR_REQUEST_GAS_LIMIT,
- HOME_BRIDGE_OWNER,
- HOME_UPGRADEABLE_ADMIN,
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY,
- FOREIGN_TO_HOME_DECIMAL_SHIFT
-} = require('../loadEnv')
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-async function initializeMediator({
- contract,
- params: {
- bridgeContract,
- mediatorContract,
- dailyLimit,
- maxPerTx,
- minPerTx,
- executionDailyLimit,
- executionMaxPerTx,
- requestGasLimit,
- foreignToHomeDecimalShift,
- owner,
- feeManager
- }
-}) {
- console.log(`
- AMB contract: ${bridgeContract},
- Mediator contract: ${mediatorContract},
- DAILY_LIMIT : ${dailyLimit} which is ${Web3Utils.fromWei(dailyLimit)} in eth,
- MAX_AMOUNT_PER_TX: ${maxPerTx} which is ${Web3Utils.fromWei(maxPerTx)} in eth,
- MIN_AMOUNT_PER_TX: ${minPerTx} which is ${Web3Utils.fromWei(minPerTx)} in eth,
- EXECUTION_DAILY_LIMIT : ${executionDailyLimit} which is ${Web3Utils.fromWei(executionDailyLimit)} in eth,
- EXECUTION_MAX_AMOUNT_PER_TX: ${executionMaxPerTx} which is ${Web3Utils.fromWei(executionMaxPerTx)} in eth,
- FOREIGN_TO_HOME_DECIMAL_SHIFT: ${foreignToHomeDecimalShift},
- MEDIATOR_REQUEST_GAS_LIMIT : ${requestGasLimit},
- OWNER: ${owner},
- Fee Manager: ${feeManager},
- `)
-
- return contract.methods
- .initialize(
- bridgeContract,
- mediatorContract,
- [dailyLimit.toString(), maxPerTx.toString(), minPerTx.toString()],
- [executionDailyLimit.toString(), executionMaxPerTx.toString()],
- requestGasLimit,
- foreignToHomeDecimalShift,
- owner,
- feeManager
- )
- .encodeABI()
-}
-
-async function initialize({ homeBridge, homeFeeManager, foreignBridge }) {
- const foreignToHomeDecimalShift = FOREIGN_TO_HOME_DECIMAL_SHIFT || 0
- let nonce = await web3Home.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
- const mediatorContract = new web3Home.eth.Contract(HomeAMBNativeToErc20.abi, homeBridge)
-
- console.log('\n[Home] Initializing Bridge Mediator with following parameters:')
-
- const initializeMediatorData = await initializeMediator({
- contract: mediatorContract,
- params: {
- bridgeContract: HOME_AMB_BRIDGE,
- mediatorContract: foreignBridge,
- dailyLimit: HOME_DAILY_LIMIT,
- maxPerTx: HOME_MAX_AMOUNT_PER_TX,
- minPerTx: HOME_MIN_AMOUNT_PER_TX,
- executionDailyLimit: FOREIGN_DAILY_LIMIT,
- executionMaxPerTx: FOREIGN_MAX_AMOUNT_PER_TX,
- requestGasLimit: HOME_MEDIATOR_REQUEST_GAS_LIMIT,
- foreignToHomeDecimalShift,
- owner: HOME_BRIDGE_OWNER,
- feeManager: homeFeeManager
- }
- })
-
- const txInitializeMediator = await sendRawTxHome({
- data: initializeMediatorData,
- nonce,
- to: homeBridge,
- privateKey: deploymentPrivateKey,
- url: HOME_RPC_URL
- })
-
- if (txInitializeMediator.status) {
- assert.strictEqual(Web3Utils.hexToNumber(txInitializeMediator.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(mediatorContract.methods.isInitialized().call, true)
- }
- nonce++
-
- console.log('\n[Home] Transferring bridge mediator proxy ownership to upgradeability admin')
- const mediatorProxy = new web3Home.eth.Contract(EternalStorageProxy.abi, homeBridge)
- await transferProxyOwnership({
- proxy: mediatorProxy,
- newOwner: HOME_UPGRADEABLE_ADMIN,
- nonce,
- url: HOME_RPC_URL
- })
-}
-
-module.exports = initialize
diff --git a/deploy/src/amb_native_to_erc20/preDeploy.js b/deploy/src/amb_native_to_erc20/preDeploy.js
deleted file mode 100644
index ec0269480..000000000
--- a/deploy/src/amb_native_to_erc20/preDeploy.js
+++ /dev/null
@@ -1,35 +0,0 @@
-const { web3Home, web3Foreign } = require('../web3')
-const {
- HOME_AMB_BRIDGE,
- FOREIGN_AMB_BRIDGE,
- DEPLOY_REWARDABLE_TOKEN,
- DPOS_STAKING_ADDRESS,
- BLOCK_REWARD_ADDRESS
-} = require('../loadEnv')
-const { isContract } = require('../deploymentUtils')
-
-async function preDeploy() {
- const isHomeAMBAContract = await isContract(web3Home, HOME_AMB_BRIDGE)
- if (!isHomeAMBAContract) {
- throw new Error(`HOME_AMB_BRIDGE should be a contract address`)
- }
-
- const isForeignAMBAContract = await isContract(web3Foreign, FOREIGN_AMB_BRIDGE)
- if (!isForeignAMBAContract) {
- throw new Error(`FOREIGN_AMB_BRIDGE should be a contract address`)
- }
-
- if (DEPLOY_REWARDABLE_TOKEN) {
- const isDPOSStakingAContract = await isContract(web3Foreign, DPOS_STAKING_ADDRESS)
- if (!isDPOSStakingAContract) {
- throw new Error(`DPOS_STAKING_ADDRESS should be a contract address`)
- }
-
- const isBlockRewardAContract = await isContract(web3Foreign, BLOCK_REWARD_ADDRESS)
- if (!isBlockRewardAContract) {
- throw new Error(`BLOCK_REWARD_ADDRESS should be a contract address`)
- }
- }
-}
-
-module.exports = preDeploy
diff --git a/deploy/src/erc_to_erc/foreign.js b/deploy/src/erc_to_erc/foreign.js
deleted file mode 100644
index 0d13378f8..000000000
--- a/deploy/src/erc_to_erc/foreign.js
+++ /dev/null
@@ -1,203 +0,0 @@
-const assert = require('assert')
-const Web3Utils = require('web3-utils')
-const env = require('../loadEnv')
-
-const {
- deployContract,
- privateKeyToAddress,
- sendRawTxForeign,
- upgradeProxy,
- initializeValidators,
- transferProxyOwnership,
- assertStateWithRetry
-} = require('../deploymentUtils')
-const { web3Foreign, deploymentPrivateKey, FOREIGN_RPC_URL } = require('../web3')
-const {
- foreignContracts: {
- EternalStorageProxy,
- BridgeValidators,
- ForeignBridgeErcToErc: ForeignBridge,
- ForeignBridgeErc677ToErc677
- }
-} = require('../loadContracts')
-
-const VALIDATORS = env.VALIDATORS.split(' ')
-
-const {
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY,
- REQUIRED_NUMBER_OF_VALIDATORS,
- FOREIGN_BRIDGE_OWNER,
- FOREIGN_VALIDATORS_OWNER,
- FOREIGN_UPGRADEABLE_ADMIN,
- FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS,
- ERC20_TOKEN_ADDRESS,
- FOREIGN_GAS_PRICE,
- FOREIGN_MAX_AMOUNT_PER_TX,
- HOME_DAILY_LIMIT,
- HOME_MAX_AMOUNT_PER_TX,
- FOREIGN_MIN_AMOUNT_PER_TX,
- FOREIGN_DAILY_LIMIT,
- ERC20_EXTENDED_BY_ERC677,
- FOREIGN_TO_HOME_DECIMAL_SHIFT
-} = env
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-const foreignToHomeDecimalShift = FOREIGN_TO_HOME_DECIMAL_SHIFT || 0
-
-async function initializeBridge({ validatorsBridge, bridge, nonce }) {
- console.log(`Foreign Validators: ${validatorsBridge.options.address},
- ERC20_TOKEN_ADDRESS: ${ERC20_TOKEN_ADDRESS},
- FOREIGN_MAX_AMOUNT_PER_TX: ${FOREIGN_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(
- FOREIGN_MAX_AMOUNT_PER_TX
- )} in eth,
- FOREIGN_GAS_PRICE: ${FOREIGN_GAS_PRICE}, FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS : ${FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS},
- HOME_DAILY_LIMIT: ${HOME_DAILY_LIMIT} which is ${Web3Utils.fromWei(HOME_DAILY_LIMIT)} in eth,
- HOME_MAX_AMOUNT_PER_TX: ${HOME_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(HOME_MAX_AMOUNT_PER_TX)} in eth,
- FOREIGN_BRIDGE_OWNER: ${FOREIGN_BRIDGE_OWNER},
- FOREIGN_TO_HOME_DECIMAL_SHIFT: ${foreignToHomeDecimalShift}
- `)
-
- const initializeFBridgeData = await bridge.methods
- .initialize(
- validatorsBridge.options.address,
- ERC20_TOKEN_ADDRESS,
- FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS,
- FOREIGN_GAS_PRICE,
- [FOREIGN_DAILY_LIMIT.toString(), FOREIGN_MAX_AMOUNT_PER_TX.toString(), FOREIGN_MIN_AMOUNT_PER_TX.toString()],
- [HOME_DAILY_LIMIT.toString(), HOME_MAX_AMOUNT_PER_TX.toString()],
- FOREIGN_BRIDGE_OWNER,
- foreignToHomeDecimalShift
- )
- .encodeABI()
-
- const txInitializeBridge = await sendRawTxForeign({
- data: initializeFBridgeData,
- nonce,
- to: bridge.options.address,
- privateKey: deploymentPrivateKey,
- url: FOREIGN_RPC_URL
- })
- if (txInitializeBridge.status) {
- assert.strictEqual(Web3Utils.hexToNumber(txInitializeBridge.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(bridge.methods.isInitialized().call, true)
- }
-}
-
-async function deployForeign() {
- if (!Web3Utils.isAddress(ERC20_TOKEN_ADDRESS)) {
- throw new Error('ERC20_TOKEN_ADDRESS env var is not defined')
- }
- let nonce = await web3Foreign.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
- console.log('========================================')
- console.log('deploying ForeignBridge')
- console.log('========================================\n')
-
- console.log('deploying storage for foreign validators')
- const storageValidatorsForeign = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] BridgeValidators Storage: ', storageValidatorsForeign.options.address)
-
- console.log('\ndeploying implementation for foreign validators')
- const bridgeValidatorsForeign = await deployContract(BridgeValidators, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] BridgeValidators Implementation: ', bridgeValidatorsForeign.options.address)
-
- console.log('\nhooking up eternal storage to BridgeValidators')
- await upgradeProxy({
- proxy: storageValidatorsForeign,
- implementationAddress: bridgeValidatorsForeign.options.address,
- version: '1',
- nonce,
- url: FOREIGN_RPC_URL
- })
- nonce++
-
- console.log('\ninitializing Foreign Bridge Validators with following parameters:\n')
- bridgeValidatorsForeign.options.address = storageValidatorsForeign.options.address
- await initializeValidators({
- contract: bridgeValidatorsForeign,
- isRewardableBridge: false,
- requiredNumber: REQUIRED_NUMBER_OF_VALIDATORS,
- validators: VALIDATORS,
- rewardAccounts: [],
- owner: FOREIGN_VALIDATORS_OWNER,
- nonce,
- url: FOREIGN_RPC_URL
- })
- nonce++
-
- console.log('\nTransferring ownership of ValidatorsProxy\n')
- await transferProxyOwnership({
- proxy: storageValidatorsForeign,
- newOwner: FOREIGN_UPGRADEABLE_ADMIN,
- nonce,
- url: FOREIGN_RPC_URL
- })
- nonce++
-
- console.log('\ndeploying foreignBridge storage\n')
- const foreignBridgeStorage = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] ForeignBridge Storage: ', foreignBridgeStorage.options.address)
-
- console.log('\ndeploying foreignBridge implementation\n')
- const bridgeContract = ERC20_EXTENDED_BY_ERC677 ? ForeignBridgeErc677ToErc677 : ForeignBridge
- const foreignBridgeImplementation = await deployContract(bridgeContract, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] ForeignBridge Implementation: ', foreignBridgeImplementation.options.address)
-
- console.log('\nhooking up ForeignBridge storage to ForeignBridge implementation')
- await upgradeProxy({
- proxy: foreignBridgeStorage,
- implementationAddress: foreignBridgeImplementation.options.address,
- version: '1',
- nonce,
- url: FOREIGN_RPC_URL
- })
- nonce++
-
- console.log('\ninitializing Foreign Bridge with following parameters:\n')
- foreignBridgeImplementation.options.address = foreignBridgeStorage.options.address
- await initializeBridge({
- validatorsBridge: storageValidatorsForeign,
- bridge: foreignBridgeImplementation,
- nonce
- })
- nonce++
-
- console.log('transferring proxy ownership to multisig for foreign bridge Proxy contract')
- await transferProxyOwnership({
- proxy: foreignBridgeStorage,
- newOwner: FOREIGN_UPGRADEABLE_ADMIN,
- nonce,
- url: FOREIGN_RPC_URL
- })
-
- console.log('\nForeign Deployment Bridge completed\n')
- return {
- foreignBridge: {
- address: foreignBridgeStorage.options.address,
- deployedBlockNumber: Web3Utils.hexToNumber(foreignBridgeStorage.deployedBlockNumber)
- }
- }
-}
-
-module.exports = deployForeign
diff --git a/deploy/src/erc_to_erc/home.js b/deploy/src/erc_to_erc/home.js
deleted file mode 100644
index 9d8fb8800..000000000
--- a/deploy/src/erc_to_erc/home.js
+++ /dev/null
@@ -1,325 +0,0 @@
-const assert = require('assert')
-const Web3Utils = require('web3-utils')
-const env = require('../loadEnv')
-const { ZERO_ADDRESS } = require('../constants')
-
-const {
- deployContract,
- privateKeyToAddress,
- sendRawTxHome,
- upgradeProxy,
- initializeValidators,
- transferProxyOwnership,
- setBridgeContract,
- transferOwnership,
- assertStateWithRetry
-} = require('../deploymentUtils')
-const { web3Home, deploymentPrivateKey, HOME_RPC_URL } = require('../web3')
-
-const {
- homeContracts: {
- EternalStorageProxy,
- BridgeValidators,
- RewardableValidators,
- FeeManagerErcToErcPOSDAO,
- HomeBridgeErcToErc: HomeBridge,
- HomeBridgeErcToErcPOSDAO,
- ERC677BridgeToken,
- ERC677BridgeTokenRewardable
- }
-} = require('../loadContracts')
-
-const VALIDATORS = env.VALIDATORS.split(' ')
-
-const {
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY,
- REQUIRED_NUMBER_OF_VALIDATORS,
- HOME_BRIDGE_OWNER,
- HOME_VALIDATORS_OWNER,
- HOME_UPGRADEABLE_ADMIN,
- HOME_DAILY_LIMIT,
- HOME_MAX_AMOUNT_PER_TX,
- HOME_MIN_AMOUNT_PER_TX,
- HOME_REQUIRED_BLOCK_CONFIRMATIONS,
- HOME_GAS_PRICE,
- BRIDGEABLE_TOKEN_NAME,
- BRIDGEABLE_TOKEN_SYMBOL,
- BRIDGEABLE_TOKEN_DECIMALS,
- FOREIGN_DAILY_LIMIT,
- FOREIGN_MAX_AMOUNT_PER_TX,
- DEPLOY_REWARDABLE_TOKEN,
- BLOCK_REWARD_ADDRESS,
- DPOS_STAKING_ADDRESS,
- HOME_REWARDABLE,
- HOME_TRANSACTIONS_FEE,
- FOREIGN_TRANSACTIONS_FEE,
- FOREIGN_TO_HOME_DECIMAL_SHIFT
-} = env
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-const foreignToHomeDecimalShift = FOREIGN_TO_HOME_DECIMAL_SHIFT || 0
-
-const isRewardableBridge = HOME_REWARDABLE === 'BOTH_DIRECTIONS'
-
-let VALIDATORS_REWARD_ACCOUNTS = []
-
-if (isRewardableBridge && BLOCK_REWARD_ADDRESS === ZERO_ADDRESS) {
- VALIDATORS_REWARD_ACCOUNTS = env.VALIDATORS_REWARD_ACCOUNTS.split(' ')
-}
-
-async function initializeBridge({ validatorsBridge, bridge, erc677token, initialNonce }) {
- let nonce = initialNonce
- let initializeHomeBridgeData
-
- if (isRewardableBridge && BLOCK_REWARD_ADDRESS !== ZERO_ADDRESS) {
- console.log('\ndeploying implementation for fee manager')
- const feeManager = await deployContract(FeeManagerErcToErcPOSDAO, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- console.log('[Home] feeManager Implementation: ', feeManager.options.address)
- nonce++
-
- const homeFeeInWei = Web3Utils.toWei(HOME_TRANSACTIONS_FEE.toString(), 'ether')
- const foreignFeeInWei = Web3Utils.toWei(FOREIGN_TRANSACTIONS_FEE.toString(), 'ether')
- console.log('\ninitializing Home Bridge with fee contract:\n')
- console.log(`Home Validators: ${validatorsBridge.options.address},
- HOME_DAILY_LIMIT : ${HOME_DAILY_LIMIT} which is ${Web3Utils.fromWei(HOME_DAILY_LIMIT)} in eth,
- HOME_MAX_AMOUNT_PER_TX: ${HOME_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(HOME_MAX_AMOUNT_PER_TX)} in eth,
- HOME_MIN_AMOUNT_PER_TX: ${HOME_MIN_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(HOME_MIN_AMOUNT_PER_TX)} in eth,
- HOME_GAS_PRICE: ${HOME_GAS_PRICE}, HOME_REQUIRED_BLOCK_CONFIRMATIONS : ${HOME_REQUIRED_BLOCK_CONFIRMATIONS},
- Block Reward: ${BLOCK_REWARD_ADDRESS},
- Fee Manager: ${feeManager.options.address},
- Home Fee: ${homeFeeInWei} which is ${HOME_TRANSACTIONS_FEE * 100}%
- Foreign Fee: ${foreignFeeInWei} which is ${FOREIGN_TRANSACTIONS_FEE * 100}%`)
- initializeHomeBridgeData = await bridge.methods
- .rewardableInitialize(
- validatorsBridge.options.address,
- [HOME_DAILY_LIMIT.toString(), HOME_MAX_AMOUNT_PER_TX.toString(), HOME_MIN_AMOUNT_PER_TX.toString()],
- HOME_GAS_PRICE,
- HOME_REQUIRED_BLOCK_CONFIRMATIONS,
- erc677token.options.address,
- [FOREIGN_DAILY_LIMIT.toString(), FOREIGN_MAX_AMOUNT_PER_TX.toString()],
- HOME_BRIDGE_OWNER,
- feeManager.options.address,
- [homeFeeInWei.toString(), foreignFeeInWei.toString()],
- BLOCK_REWARD_ADDRESS,
- foreignToHomeDecimalShift
- )
- .encodeABI()
- } else {
- console.log(`Home Validators: ${validatorsBridge.options.address},
- HOME_DAILY_LIMIT : ${HOME_DAILY_LIMIT} which is ${Web3Utils.fromWei(HOME_DAILY_LIMIT)} in eth,
- HOME_MAX_AMOUNT_PER_TX: ${HOME_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(HOME_MAX_AMOUNT_PER_TX)} in eth,
- HOME_MIN_AMOUNT_PER_TX: ${HOME_MIN_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(HOME_MIN_AMOUNT_PER_TX)} in eth,
- HOME_GAS_PRICE: ${HOME_GAS_PRICE}, HOME_REQUIRED_BLOCK_CONFIRMATIONS : ${HOME_REQUIRED_BLOCK_CONFIRMATIONS},
- FOREIGN_TO_HOME_DECIMAL_SHIFT: ${foreignToHomeDecimalShift}
- `)
- initializeHomeBridgeData = await bridge.methods
- .initialize(
- validatorsBridge.options.address,
- [HOME_DAILY_LIMIT.toString(), HOME_MAX_AMOUNT_PER_TX.toString(), HOME_MIN_AMOUNT_PER_TX.toString()],
- HOME_GAS_PRICE,
- HOME_REQUIRED_BLOCK_CONFIRMATIONS,
- erc677token.options.address,
- [FOREIGN_DAILY_LIMIT.toString(), FOREIGN_MAX_AMOUNT_PER_TX.toString()],
- HOME_BRIDGE_OWNER,
- foreignToHomeDecimalShift
- )
- .encodeABI()
- }
-
- const txInitializeHomeBridge = await sendRawTxHome({
- data: initializeHomeBridgeData,
- nonce,
- to: bridge.options.address,
- privateKey: deploymentPrivateKey,
- url: HOME_RPC_URL
- })
- if (txInitializeHomeBridge.status) {
- assert.strictEqual(Web3Utils.hexToNumber(txInitializeHomeBridge.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(bridge.methods.isInitialized().call, true)
- }
- nonce++
-
- return nonce
-}
-
-async function deployHome() {
- let nonce = await web3Home.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
- console.log('deploying storage for home validators')
- const storageValidatorsHome = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- console.log('[Home] BridgeValidators Storage: ', storageValidatorsHome.options.address)
- nonce++
-
- console.log('\ndeploying implementation for home validators')
- const bridgeValidatorsContract =
- isRewardableBridge && BLOCK_REWARD_ADDRESS === ZERO_ADDRESS ? RewardableValidators : BridgeValidators
- const bridgeValidatorsHome = await deployContract(bridgeValidatorsContract, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- console.log('[Home] BridgeValidators Implementation: ', bridgeValidatorsHome.options.address)
- nonce++
-
- console.log('\nhooking up eternal storage to BridgeValidators')
- await upgradeProxy({
- proxy: storageValidatorsHome,
- implementationAddress: bridgeValidatorsHome.options.address,
- version: '1',
- nonce,
- url: HOME_RPC_URL
- })
- nonce++
-
- console.log('\ninitializing Home Bridge Validators with following parameters:\n')
- bridgeValidatorsHome.options.address = storageValidatorsHome.options.address
- await initializeValidators({
- contract: bridgeValidatorsHome,
- isRewardableBridge: isRewardableBridge && BLOCK_REWARD_ADDRESS === ZERO_ADDRESS,
- requiredNumber: REQUIRED_NUMBER_OF_VALIDATORS,
- validators: VALIDATORS,
- rewardAccounts: VALIDATORS_REWARD_ACCOUNTS,
- owner: HOME_VALIDATORS_OWNER,
- nonce,
- url: HOME_RPC_URL
- })
- nonce++
-
- console.log('transferring proxy ownership to multisig for Validators Proxy contract')
- await transferProxyOwnership({
- proxy: storageValidatorsHome,
- newOwner: HOME_UPGRADEABLE_ADMIN,
- nonce,
- url: HOME_RPC_URL
- })
- nonce++
-
- console.log('\ndeploying homeBridge storage\n')
- const homeBridgeStorage = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- nonce++
- console.log('[Home] HomeBridge Storage: ', homeBridgeStorage.options.address)
-
- console.log('\ndeploying homeBridge implementation\n')
- const bridgeContract =
- isRewardableBridge && BLOCK_REWARD_ADDRESS !== ZERO_ADDRESS ? HomeBridgeErcToErcPOSDAO : HomeBridge
- const homeBridgeImplementation = await deployContract(bridgeContract, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- nonce++
- console.log('[Home] HomeBridge Implementation: ', homeBridgeImplementation.options.address)
-
- console.log('\nhooking up HomeBridge storage to HomeBridge implementation')
- await upgradeProxy({
- proxy: homeBridgeStorage,
- implementationAddress: homeBridgeImplementation.options.address,
- version: '1',
- nonce,
- url: HOME_RPC_URL
- })
- nonce++
-
- console.log('\n[Home] deploying Bridgeable token')
- const rewardable = (isRewardableBridge && BLOCK_REWARD_ADDRESS !== ZERO_ADDRESS) || DEPLOY_REWARDABLE_TOKEN
- const erc677Contract = rewardable ? ERC677BridgeTokenRewardable : ERC677BridgeToken
- let args = [BRIDGEABLE_TOKEN_NAME, BRIDGEABLE_TOKEN_SYMBOL, BRIDGEABLE_TOKEN_DECIMALS]
- if (rewardable) {
- const chainId = await web3Home.eth.getChainId()
- assert.strictEqual(chainId > 0, true, 'Invalid chain ID')
- args.push(chainId)
- }
- const erc677token = await deployContract(
- erc677Contract,
- args,
- { from: DEPLOYMENT_ACCOUNT_ADDRESS, network: 'home', nonce }
- )
- nonce++
- console.log('[Home] Bridgeable Token: ', erc677token.options.address)
-
- console.log('\nset bridge contract on ERC677BridgeToken')
- await setBridgeContract({
- contract: erc677token,
- bridgeAddress: homeBridgeStorage.options.address,
- nonce,
- url: HOME_RPC_URL
- })
- nonce++
-
- if ((isRewardableBridge && BLOCK_REWARD_ADDRESS !== ZERO_ADDRESS) || DEPLOY_REWARDABLE_TOKEN) {
- console.log('\nset BlockReward contract on ERC677BridgeTokenRewardable')
- const setBlockRewardContractData = await erc677token.methods
- .setBlockRewardContract(BLOCK_REWARD_ADDRESS)
- .encodeABI({ from: DEPLOYMENT_ACCOUNT_ADDRESS })
- const setBlockRewardContract = await sendRawTxHome({
- data: setBlockRewardContractData,
- nonce,
- to: erc677token.options.address,
- privateKey: deploymentPrivateKey,
- url: HOME_RPC_URL
- })
- assert.strictEqual(Web3Utils.hexToNumber(setBlockRewardContract.status), 1, 'Transaction Failed')
- nonce++
- }
-
- if (DEPLOY_REWARDABLE_TOKEN) {
- console.log('\nset Staking contract on ERC677BridgeTokenRewardable')
- const setStakingContractData = await erc677token.methods
- .setStakingContract(DPOS_STAKING_ADDRESS)
- .encodeABI({ from: DEPLOYMENT_ACCOUNT_ADDRESS })
- const setStakingContract = await sendRawTxHome({
- data: setStakingContractData,
- nonce,
- to: erc677token.options.address,
- privateKey: deploymentPrivateKey,
- url: HOME_RPC_URL
- })
- assert.strictEqual(Web3Utils.hexToNumber(setStakingContract.status), 1, 'Transaction Failed')
- nonce++
- }
-
- console.log('transferring ownership of Bridgeble token to homeBridge contract')
- await transferOwnership({
- contract: erc677token,
- newOwner: homeBridgeStorage.options.address,
- nonce,
- url: HOME_RPC_URL
- })
- nonce++
-
- console.log('\ninitializing Home Bridge with following parameters:\n')
- homeBridgeImplementation.options.address = homeBridgeStorage.options.address
-
- nonce = await initializeBridge({
- validatorsBridge: storageValidatorsHome,
- bridge: homeBridgeImplementation,
- erc677token,
- initialNonce: nonce
- })
-
- console.log('transferring proxy ownership to multisig for Home bridge Proxy contract')
- await transferProxyOwnership({
- proxy: homeBridgeStorage,
- newOwner: HOME_UPGRADEABLE_ADMIN,
- nonce,
- url: HOME_RPC_URL
- })
-
- console.log('\nHome Deployment Bridge completed\n')
- return {
- homeBridge: {
- address: homeBridgeStorage.options.address,
- deployedBlockNumber: Web3Utils.hexToNumber(homeBridgeStorage.deployedBlockNumber)
- },
- erc677: { address: erc677token.options.address }
- }
-}
-module.exports = deployHome
diff --git a/deploy/src/erc_to_erc/preDeploy.js b/deploy/src/erc_to_erc/preDeploy.js
deleted file mode 100644
index 0a27756fd..000000000
--- a/deploy/src/erc_to_erc/preDeploy.js
+++ /dev/null
@@ -1,49 +0,0 @@
-const { web3Home, web3Foreign } = require('../web3')
-const {
- ERC20_TOKEN_ADDRESS,
- ERC20_EXTENDED_BY_ERC677,
- HOME_REWARDABLE,
- BLOCK_REWARD_ADDRESS,
- DEPLOY_REWARDABLE_TOKEN,
- DPOS_STAKING_ADDRESS
-} = require('../loadEnv')
-const { isContract } = require('../deploymentUtils')
-const {
- foreignContracts: {
- ERC677BridgeToken: { abi }
- }
-} = require('../loadContracts')
-
-async function preDeploy() {
- const isERC20AContract = await isContract(web3Foreign, ERC20_TOKEN_ADDRESS)
- if (!isERC20AContract) {
- throw new Error(`ERC20_TOKEN_ADDRESS should be a contract address`)
- }
-
- if (DEPLOY_REWARDABLE_TOKEN) {
- const isDPOSStakingAContract = await isContract(web3Foreign, DPOS_STAKING_ADDRESS)
- if (!isDPOSStakingAContract) {
- throw new Error(`DPOS_STAKING_ADDRESS should be a contract address`)
- }
- }
-
- if (HOME_REWARDABLE === 'BOTH_DIRECTIONS') {
- const isBlockRewardAContract = await isContract(web3Home, BLOCK_REWARD_ADDRESS)
- if (!isBlockRewardAContract) {
- throw new Error(`BLOCK_REWARD_ADDRESS should be a contract address`)
- }
- }
-
- if (ERC20_EXTENDED_BY_ERC677) {
- const tokenContract = new web3Foreign.eth.Contract(abi, ERC20_TOKEN_ADDRESS)
- try {
- await tokenContract.methods.bridgeContract().call()
- } catch (e) {
- throw new Error(
- `ERC20_EXTENDED_BY_ERC677 is set to TRUE but bridgeContract method was not found on ERC677 token.`
- )
- }
- }
-}
-
-module.exports = preDeploy
diff --git a/deploy/src/loadContracts.js b/deploy/src/loadContracts.js
index 18f8115f4..bb5346524 100644
--- a/deploy/src/loadContracts.js
+++ b/deploy/src/loadContracts.js
@@ -8,11 +8,6 @@ function getContracts() {
EternalStorageProxy: require(`../../build/${buildPath}/EternalStorageProxy.json`),
BridgeValidators: require(`../../build/${buildPath}/BridgeValidators.json`),
RewardableValidators: require(`../../build/${buildPath}/RewardableValidators.json`),
- FeeManagerErcToErcPOSDAO: require(`../../build/${buildPath}/FeeManagerErcToErcPOSDAO.json`),
- HomeBridgeErcToErc: require(`../../build/${buildPath}/HomeBridgeErcToErc.json`),
- ForeignBridgeErcToErc: require(`../../build/${buildPath}/ForeignBridgeErcToErc.json`),
- ForeignBridgeErc677ToErc677: require(`../../build/${buildPath}/ForeignBridgeErc677ToErc677.json`),
- HomeBridgeErcToErcPOSDAO: require(`../../build/${buildPath}/HomeBridgeErcToErcPOSDAO.json`),
ERC677BridgeToken: require(`../../build/${buildPath}/ERC677BridgeToken.json`),
ERC677BridgeTokenRewardable: require(`../../build/${buildPath}/ERC677BridgeTokenRewardable.json`),
ERC677BridgeTokenPermittable: require(`../../build/${buildPath}/PermittableToken.json`),
@@ -20,27 +15,11 @@ function getContracts() {
FeeManagerErcToNative: require(`../../build/${buildPath}/FeeManagerErcToNative.json`),
FeeManagerErcToNativePOSDAO: require(`../../build/${buildPath}/FeeManagerErcToNativePOSDAO.json`),
HomeBridgeErcToNative: require(`../../build/${buildPath}/HomeBridgeErcToNative.json`),
- FeeManagerNativeToErc: require(`../../build/${buildPath}/FeeManagerNativeToErc.json`),
- ForeignBridgeNativeToErc: require(`../../build/${buildPath}/ForeignBridgeNativeToErc.json`),
- FeeManagerNativeToErcBothDirections: require(`../../build/${buildPath}/FeeManagerNativeToErcBothDirections.json`),
- HomeBridgeNativeToErc: require(`../../build/${buildPath}/HomeBridgeNativeToErc.json`),
- BlockReward: require(`../../build/${buildPath}/BlockReward.json`),
BlockRewardMock: require(`../../build/${buildPath}/BlockRewardMock.json`),
HomeAMB: require(`../../build/${buildPath}/HomeAMB.json`),
ForeignAMB: require(`../../build/${buildPath}/ForeignAMB`),
HomeAMBErc677ToErc677: require(`../../build/${buildPath}/HomeAMBErc677ToErc677.json`),
- ForeignAMBErc677ToErc677: require(`../../build/${buildPath}/ForeignAMBErc677ToErc677.json`),
- InterestReceiver: require(`../../build/${buildPath}/InterestReceiver.json`),
- HomeStakeTokenMediator: require(`../../build/${buildPath}/HomeStakeTokenMediator.json`),
- ForeignStakeTokenMediator: require(`../../build/${buildPath}/ForeignStakeTokenMediator.json`),
- HomeAMBNativeToErc20: require(`../../build/${buildPath}/HomeAMBNativeToErc20.json`),
- ForeignAMBNativeToErc20: require(`../../build/${buildPath}/ForeignAMBNativeToErc20.json`),
- HomeFeeManagerAMBNativeToErc20: require(`../../build/${buildPath}/HomeFeeManagerAMBNativeToErc20.json`),
- ForeignFeeManagerAMBNativeToErc20: require(`../../build/${buildPath}/ForeignFeeManagerAMBNativeToErc20.json`),
- ForeignAMBErc20ToNative: require(`../../build/${buildPath}/ForeignAMBErc20ToNative.json`),
- HomeAMBErc20ToNative: require(`../../build/${buildPath}/HomeAMBErc20ToNative.json`),
- ForeignMultiAMBErc20ToErc677: require(`../../build/${buildPath}/ForeignMultiAMBErc20ToErc677.json`),
- HomeMultiAMBErc20ToErc677: require(`../../build/${buildPath}/HomeMultiAMBErc20ToErc677.json`),
+ ForeignAMBErc677ToErc677: require(`../../build/${buildPath}/ForeignAMBErc677ToErc677.json`)
}
}
diff --git a/deploy/src/loadEnv.js b/deploy/src/loadEnv.js
index 2a988c692..7bddffaa3 100644
--- a/deploy/src/loadEnv.js
+++ b/deploy/src/loadEnv.js
@@ -10,17 +10,7 @@ const homePrefix = 'HOME'
const foreignPrefix = 'FOREIGN'
// Validations and constants
-const validBridgeModes = [
- 'NATIVE_TO_ERC',
- 'ERC_TO_ERC',
- 'ERC_TO_NATIVE',
- 'ARBITRARY_MESSAGE',
- 'AMB_ERC_TO_ERC',
- 'STAKE_AMB_ERC_TO_ERC',
- 'AMB_NATIVE_TO_ERC',
- 'AMB_ERC_TO_NATIVE',
- 'MULTI_AMB_ERC_TO_ERC'
-]
+const validBridgeModes = ['ERC_TO_NATIVE', 'ARBITRARY_MESSAGE', 'AMB_ERC_TO_ERC']
const validRewardModes = ['false', 'ONE_DIRECTION', 'BOTH_DIRECTIONS']
const validFeeManagerTypes = ['BRIDGE_VALIDATORS_REWARD', 'POSDAO_REWARD']
const bigNumValidator = envalid.makeValidator(x => toBN(x))
@@ -31,14 +21,7 @@ const validateAddress = address => {
throw new Error(`Invalid address: ${address}`)
}
-const validateOptionalAddress = address => {
- if (address !== "") {
- return validateAddress(address)
- }
- return address
-}
const addressValidator = envalid.makeValidator(validateAddress)
-const optionalAddressValidator = envalid.makeValidator(validateOptionalAddress)
const addressesValidator = envalid.makeValidator(addresses => {
addresses.split(' ').forEach(validateAddress)
return addresses
@@ -90,7 +73,6 @@ const {
VALIDATORS,
VALIDATORS_REWARD_ACCOUNTS,
DEPLOY_REWARDABLE_TOKEN,
- DEPLOY_INTEREST_RECEIVER,
HOME_FEE_MANAGER_TYPE
} = process.env
@@ -124,16 +106,17 @@ if (BRIDGE_MODE.includes('AMB_')) {
HOME_MEDIATOR_REQUEST_GAS_LIMIT: bigNumValidator(),
FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT: bigNumValidator(),
FOREIGN_MIN_AMOUNT_PER_TX: bigNumValidator(),
- FOREIGN_DAILY_LIMIT: bigNumValidator(),
+ FOREIGN_DAILY_LIMIT: bigNumValidator()
}
- if (BRIDGE_MODE !== 'AMB_ERC_TO_NATIVE' && BRIDGE_MODE !== 'MULTI_AMB_ERC_TO_ERC') {
+ if (BRIDGE_MODE === 'AMB_ERC_TO_ERC') {
validations = {
...validations,
BRIDGEABLE_TOKEN_NAME: envalid.str(),
BRIDGEABLE_TOKEN_SYMBOL: envalid.str(),
BRIDGEABLE_TOKEN_DECIMALS: envalid.num(),
- DEPLOY_REWARDABLE_TOKEN: envalid.bool({ default: false })
+ DEPLOY_REWARDABLE_TOKEN: envalid.bool({ default: false }),
+ ERC20_TOKEN_ADDRESS: addressValidator()
}
}
@@ -144,20 +127,6 @@ if (BRIDGE_MODE.includes('AMB_')) {
BLOCK_REWARD_ADDRESS: addressValidator()
}
}
-
- if (BRIDGE_MODE === 'AMB_ERC_TO_ERC') {
- validations = {
- ...validations,
- ERC20_TOKEN_ADDRESS: addressValidator()
- }
- } else if (BRIDGE_MODE === 'STAKE_AMB_ERC_TO_ERC') {
- validations = {
- ...validations,
- HOME_STAKE_TOKEN_ADDRESS: addressValidator(),
- FOREIGN_STAKE_TOKEN_ADDRESS: addressValidator(),
- HOME_TRANSACTIONS_FEE: envalid.num()
- }
- }
} else {
validations = {
...validations,
@@ -180,7 +149,7 @@ if (BRIDGE_MODE !== 'ARBITRARY_MESSAGE') {
FOREIGN_DAILY_LIMIT: bigNumValidator()
}
- if (BRIDGE_MODE !== 'AMB_ERC_TO_ERC' && BRIDGE_MODE !== 'STAKE_AMB_ERC_TO_ERC') {
+ if (BRIDGE_MODE === 'ERC_TO_NATIVE') {
if (!validRewardModes.includes(HOME_REWARDABLE)) {
throw new Error(`Invalid HOME_REWARDABLE: ${HOME_REWARDABLE}. Supported values are ${validRewardModes}`)
}
@@ -188,30 +157,17 @@ if (BRIDGE_MODE !== 'ARBITRARY_MESSAGE') {
if (!validRewardModes.includes(FOREIGN_REWARDABLE)) {
throw new Error(`Invalid FOREIGN_REWARDABLE: ${FOREIGN_REWARDABLE}. Supported values are ${validRewardModes}`)
}
- if (BRIDGE_MODE === 'AMB_NATIVE_TO_ERC') {
- if (HOME_REWARDABLE !== 'false') {
- validations = {
- ...validations,
- HOME_MEDIATOR_REWARD_ACCOUNTS: addressesValidator()
- }
- }
- if (FOREIGN_REWARDABLE !== 'false') {
- validations = {
- ...validations,
- FOREIGN_MEDIATOR_REWARD_ACCOUNTS: addressesValidator()
- }
- }
- } else if (HOME_REWARDABLE !== 'false' || FOREIGN_REWARDABLE !== 'false') {
+
+ if (HOME_REWARDABLE !== 'false' || FOREIGN_REWARDABLE !== 'false') {
validations = {
...validations,
HOME_TRANSACTIONS_FEE: envalid.num(),
FOREIGN_TRANSACTIONS_FEE: envalid.num()
}
if (
- (BRIDGE_MODE === 'ERC_TO_NATIVE' &&
- HOME_REWARDABLE === 'BOTH_DIRECTIONS' &&
- HOME_FEE_MANAGER_TYPE === 'POSDAO_REWARD') ||
- (BRIDGE_MODE === 'ERC_TO_ERC' && HOME_REWARDABLE === 'BOTH_DIRECTIONS')
+ BRIDGE_MODE === 'ERC_TO_NATIVE' &&
+ HOME_REWARDABLE === 'BOTH_DIRECTIONS' &&
+ HOME_FEE_MANAGER_TYPE === 'POSDAO_REWARD'
) {
validations = {
...validations,
@@ -219,7 +175,7 @@ if (BRIDGE_MODE !== 'ARBITRARY_MESSAGE') {
default: ZERO_ADDRESS
})
}
- } else if (BRIDGE_MODE !== 'AMB_ERC_TO_NATIVE' && BRIDGE_MODE !== 'MULTI_AMB_ERC_TO_ERC') {
+ } else {
validations = {
...validations,
VALIDATORS_REWARD_ACCOUNTS: addressesValidator()
@@ -230,66 +186,7 @@ if (BRIDGE_MODE !== 'ARBITRARY_MESSAGE') {
}
}
-if (BRIDGE_MODE === 'NATIVE_TO_ERC') {
- validations = {
- ...validations,
- BRIDGEABLE_TOKEN_NAME: envalid.str(),
- BRIDGEABLE_TOKEN_SYMBOL: envalid.str(),
- BRIDGEABLE_TOKEN_DECIMALS: envalid.num(),
- FOREIGN_MIN_AMOUNT_PER_TX: bigNumValidator(),
- DEPLOY_REWARDABLE_TOKEN: envalid.bool({ default: false })
- }
-
- if (DEPLOY_REWARDABLE_TOKEN === 'true') {
- validations = {
- ...validations,
- DPOS_STAKING_ADDRESS: addressValidator(),
- BLOCK_REWARD_ADDRESS: addressValidator()
- }
- }
-}
-
-if (BRIDGE_MODE === 'ERC_TO_ERC') {
- validations = {
- ...validations,
- ERC20_TOKEN_ADDRESS: addressValidator(),
- BRIDGEABLE_TOKEN_NAME: envalid.str(),
- BRIDGEABLE_TOKEN_SYMBOL: envalid.str(),
- BRIDGEABLE_TOKEN_DECIMALS: envalid.num(),
- DEPLOY_REWARDABLE_TOKEN: envalid.bool({ default: false }),
- ERC20_EXTENDED_BY_ERC677: envalid.bool({ default: false }),
- FOREIGN_MIN_AMOUNT_PER_TX: bigNumValidator()
- }
-
- if (DEPLOY_REWARDABLE_TOKEN === 'true') {
- validations = {
- ...validations,
- DPOS_STAKING_ADDRESS: addressValidator(),
- BLOCK_REWARD_ADDRESS: addressValidator()
- }
- }
-}
-
if (BRIDGE_MODE === 'ERC_TO_NATIVE') {
- validations = {
- ...validations,
- ERC20_TOKEN_ADDRESS: addressValidator(),
- BLOCK_REWARD_ADDRESS: addressValidator({
- default: ZERO_ADDRESS
- }),
- FOREIGN_MIN_AMOUNT_PER_TX: bigNumValidator(),
- DEPLOY_INTEREST_RECEIVER: envalid.bool({ default: false })
- }
-
- if (DEPLOY_INTEREST_RECEIVER === 'true') {
- validations = {
- ...validations,
- FOREIGN_INTEREST_RECEIVER_OWNER: addressValidator()
- }
- }
-}
-
-if (BRIDGE_MODE === 'AMB_ERC_TO_NATIVE') {
validations = {
...validations,
ERC20_TOKEN_ADDRESS: addressValidator(),
@@ -319,41 +216,10 @@ if (env.BRIDGE_MODE === 'ARBITRARY_MESSAGE') {
}
} else {
checkLimits(env.HOME_MIN_AMOUNT_PER_TX, env.HOME_MAX_AMOUNT_PER_TX, env.HOME_DAILY_LIMIT, homePrefix)
-}
-
-if (env.BRIDGE_MODE === 'NATIVE_TO_ERC') {
- checkGasPrices(env.HOME_GAS_PRICE, homePrefix)
checkLimits(env.FOREIGN_MIN_AMOUNT_PER_TX, env.FOREIGN_MAX_AMOUNT_PER_TX, env.FOREIGN_DAILY_LIMIT, foreignPrefix)
- if (env.FOREIGN_REWARDABLE === 'BOTH_DIRECTIONS') {
- throw new Error(`FOREIGN_REWARDABLE: ${env.FOREIGN_REWARDABLE} is not supported on ${env.BRIDGE_MODE} bridge mode`)
- }
-
- if (env.HOME_REWARDABLE === 'BOTH_DIRECTIONS' && env.FOREIGN_REWARDABLE === 'ONE_DIRECTION') {
- throw new Error(
- `Combination of HOME_REWARDABLE: ${env.HOME_REWARDABLE} and FOREIGN_REWARDABLE: ${
- env.FOREIGN_REWARDABLE
- } should be avoided on ${env.BRIDGE_MODE} bridge mode.`
- )
- }
-}
-
-if (env.BRIDGE_MODE === 'ERC_TO_ERC') {
- checkLimits(env.FOREIGN_MIN_AMOUNT_PER_TX, env.FOREIGN_MAX_AMOUNT_PER_TX, env.FOREIGN_DAILY_LIMIT, foreignPrefix)
-
- if (env.HOME_REWARDABLE === 'BOTH_DIRECTIONS' && env.BLOCK_REWARD_ADDRESS === ZERO_ADDRESS) {
- throw new Error(
- 'Collecting fees on Home Network on ERC_TO_ERC mode without Block Reward contract is not supported.'
- )
- }
-
- if (env.FOREIGN_REWARDABLE !== 'false') {
- throw new Error(`Collecting fees on Foreign Network on ${env.BRIDGE_MODE} bridge mode is not supported.`)
- }
}
if (env.BRIDGE_MODE === 'ERC_TO_NATIVE') {
- checkLimits(env.FOREIGN_MIN_AMOUNT_PER_TX, env.FOREIGN_MAX_AMOUNT_PER_TX, env.FOREIGN_DAILY_LIMIT, foreignPrefix)
-
if (HOME_REWARDABLE === 'ONE_DIRECTION') {
throw new Error(
`Only BOTH_DIRECTIONS is supported for collecting fees on Home Network on ${BRIDGE_MODE} bridge mode.`
@@ -373,65 +239,4 @@ if (env.BRIDGE_MODE === 'ERC_TO_NATIVE') {
}
}
-if (env.BRIDGE_MODE === 'AMB_ERC_TO_ERC' || env.BRIDGE_MODE === 'STAKE_AMB_ERC_TO_ERC' || env.BRIDGE_MODE === 'AMB_ERC_TO_NATIVE' || env.BRIDGE_MODE === 'MULTI_AMB_ERC_TO_ERC') {
- checkLimits(env.FOREIGN_MIN_AMOUNT_PER_TX, env.FOREIGN_MAX_AMOUNT_PER_TX, env.FOREIGN_DAILY_LIMIT, foreignPrefix)
-}
-
-if (env.BRIDGE_MODE === 'AMB_NATIVE_TO_ERC') {
- checkLimits(env.FOREIGN_MIN_AMOUNT_PER_TX, env.FOREIGN_MAX_AMOUNT_PER_TX, env.FOREIGN_DAILY_LIMIT, foreignPrefix)
- if (env.FOREIGN_REWARDABLE === 'BOTH_DIRECTIONS') {
- throw new Error(`FOREIGN_REWARDABLE: ${env.FOREIGN_REWARDABLE} is not supported on ${env.BRIDGE_MODE} bridge mode`)
- }
-
- if (env.HOME_REWARDABLE === 'BOTH_DIRECTIONS') {
- throw new Error(`HOME_REWARDABLE: ${env.HOME_REWARDABLE} is not supported on ${env.BRIDGE_MODE} bridge mode.`)
- }
-}
-
-if (env.BRIDGE_MODE === 'AMB_ERC_TO_NATIVE') {
- if (HOME_REWARDABLE === 'ONE_DIRECTION') {
- throw new Error(
- `Only BOTH_DIRECTIONS is supported for collecting fees on Home Network on ${BRIDGE_MODE} bridge mode.`
- )
- }
-
- if (FOREIGN_REWARDABLE !== 'false') {
- throw new Error(`Collecting fees on Foreign Network on ${BRIDGE_MODE} bridge mode is not supported.`)
- }
-
- if (HOME_REWARDABLE === 'BOTH_DIRECTIONS') {
- validations = {
- ...validations,
- HOME_MEDIATOR_REWARD_ACCOUNTS: addressesValidator()
- }
- }
-}
-
-if (env.BRIDGE_MODE === 'MULTI_AMB_ERC_TO_ERC') {
- if (HOME_REWARDABLE === 'ONE_DIRECTION') {
- throw new Error(
- `Only BOTH_DIRECTIONS is supported for collecting fees on Home Network on ${BRIDGE_MODE} bridge mode.`
- )
- }
-
- if (FOREIGN_REWARDABLE !== 'false') {
- throw new Error(`Collecting fees on Foreign Network on ${BRIDGE_MODE} bridge mode is not supported.`)
- }
-
- if (HOME_REWARDABLE === 'BOTH_DIRECTIONS') {
- validations = {
- ...validations,
- HOME_MEDIATOR_REWARD_ACCOUNTS: addressesValidator()
- }
- }
- validations = {
- ...validations,
- HOME_AMB_BRIDGE: addressValidator(),
- FOREIGN_AMB_BRIDGE: addressValidator(),
- HOME_MEDIATOR_REQUEST_GAS_LIMIT: bigNumValidator(),
- FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT: bigNumValidator(),
- HOME_ERC677_TOKEN_IMAGE: optionalAddressValidator()
- }
-}
-
module.exports = env
diff --git a/deploy/src/multi_amb_erc20_to_erc677/foreign.js b/deploy/src/multi_amb_erc20_to_erc677/foreign.js
deleted file mode 100644
index c578a8169..000000000
--- a/deploy/src/multi_amb_erc20_to_erc677/foreign.js
+++ /dev/null
@@ -1,52 +0,0 @@
-const { web3Foreign, FOREIGN_RPC_URL } = require('../web3')
-const {
- deployContract,
- privateKeyToAddress,
- upgradeProxy
-} = require('../deploymentUtils')
-const {
- foreignContracts: { EternalStorageProxy, ForeignMultiAMBErc20ToErc677: ForeignBridge }
-} = require('../loadContracts')
-const {
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY
-} = require('../loadEnv')
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-async function deployForeign() {
- let nonce = await web3Foreign.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
-
- console.log('\n[Foreign] Deploying Bridge Mediator storage\n')
- const foreignBridgeStorage = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] Bridge Mediator Storage: ', foreignBridgeStorage.options.address)
-
- console.log('\n[Foreign] Deploying Bridge Mediator implementation\n')
- const foreignBridgeImplementation = await deployContract(ForeignBridge, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] Bridge Mediator Implementation: ', foreignBridgeImplementation.options.address)
-
- console.log('\n[Foreign] Hooking up Mediator storage to Mediator implementation')
- await upgradeProxy({
- proxy: foreignBridgeStorage,
- implementationAddress: foreignBridgeImplementation.options.address,
- version: '1',
- nonce,
- url: FOREIGN_RPC_URL
- })
-
- console.log('\nForeign part of MULTI_AMB_ERC20_TO_ERC677 bridge deployed\n')
- return {
- foreignBridgeMediator: { address: foreignBridgeStorage.options.address }
- }
-}
-
-module.exports = deployForeign
diff --git a/deploy/src/multi_amb_erc20_to_erc677/home.js b/deploy/src/multi_amb_erc20_to_erc677/home.js
deleted file mode 100644
index 3d3d1c04f..000000000
--- a/deploy/src/multi_amb_erc20_to_erc677/home.js
+++ /dev/null
@@ -1,67 +0,0 @@
-const assert = require('assert')
-const { web3Home, HOME_RPC_URL } = require('../web3')
-const { deployContract, privateKeyToAddress, upgradeProxy } = require('../deploymentUtils')
-const {
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY,
- HOME_ERC677_TOKEN_IMAGE
-} = require('../loadEnv')
-
-const {
- homeContracts: { EternalStorageProxy, HomeMultiAMBErc20ToErc677: HomeBridge, ERC677BridgeTokenPermittable }
-} = require('../loadContracts')
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-async function deployHome() {
- let nonce = await web3Home.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
-
- console.log('\n[Home] Deploying Bridge Mediator storage\n')
- const homeBridgeStorage = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- nonce++
- console.log('[Home] Bridge Mediator Storage: ', homeBridgeStorage.options.address)
-
- console.log('\n[Home] Deploying Bridge Mediator implementation\n')
- const homeBridgeImplementation = await deployContract(HomeBridge, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- nonce++
- console.log('[Home] Bridge Mediator Implementation: ', homeBridgeImplementation.options.address)
-
- console.log('\n[Home] Hooking up Mediator storage to Mediator implementation')
- await upgradeProxy({
- proxy: homeBridgeStorage,
- implementationAddress: homeBridgeImplementation.options.address,
- version: '1',
- nonce,
- url: HOME_RPC_URL
- })
- nonce++
-
- let homeTokenImage = HOME_ERC677_TOKEN_IMAGE
- if (HOME_ERC677_TOKEN_IMAGE === "") {
- console.log('\n[Home] Deploying new ERC677 token image')
- const chainId = await web3Home.eth.getChainId()
- assert.strictEqual(chainId > 0, true, 'Invalid chain ID')
- const erc677token = await deployContract(
- ERC677BridgeTokenPermittable,
- ["", "", 0, chainId],
- { from: DEPLOYMENT_ACCOUNT_ADDRESS, nonce }
- )
- homeTokenImage = erc677token.options.address
- console.log('\n[Home] New ERC677 token image has been deployed: ', homeTokenImage)
- } else {
- console.log('\n[Home] Using existing ERC677 token image: ', homeTokenImage)
- }
-
- console.log('\nHome part of MULTI_AMB_ERC20_TO_ERC677 bridge deployed\n')
- return {
- homeBridgeMediator: { address: homeBridgeStorage.options.address },
- homeTokenImage: { address: homeTokenImage }
- }
-}
-
-module.exports = deployHome
diff --git a/deploy/src/multi_amb_erc20_to_erc677/initializeForeign.js b/deploy/src/multi_amb_erc20_to_erc677/initializeForeign.js
deleted file mode 100644
index 7ecae86cd..000000000
--- a/deploy/src/multi_amb_erc20_to_erc677/initializeForeign.js
+++ /dev/null
@@ -1,112 +0,0 @@
-const Web3Utils = require('web3-utils')
-const assert = require('assert')
-const { web3Home, web3Foreign, FOREIGN_RPC_URL, deploymentPrivateKey } = require('../web3')
-const {
- foreignContracts: { EternalStorageProxy, ForeignMultiAMBErc20ToErc677: ForeignBridge }
-} = require('../loadContracts')
-const {
- privateKeyToAddress,
- sendRawTxForeign,
- assertStateWithRetry,
- transferProxyOwnership
-} = require('../deploymentUtils')
-
-const {
- HOME_DAILY_LIMIT,
- HOME_MAX_AMOUNT_PER_TX,
- FOREIGN_DAILY_LIMIT,
- FOREIGN_MAX_AMOUNT_PER_TX,
- FOREIGN_MIN_AMOUNT_PER_TX,
- FOREIGN_BRIDGE_OWNER,
- FOREIGN_UPGRADEABLE_ADMIN,
- FOREIGN_AMB_BRIDGE,
- FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT,
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY
-} = require('../loadEnv')
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-async function initializeMediator({
- contract,
- params: {
- bridgeContract,
- mediatorContract,
- dailyLimit,
- maxPerTx,
- minPerTx,
- executionDailyLimit,
- executionMaxPerTx,
- requestGasLimit,
- owner
- }
-}) {
- console.log(`
- AMB contract: ${bridgeContract},
- Mediator contract: ${mediatorContract},
- DAILY_LIMIT : ${dailyLimit} which is ${Web3Utils.fromWei(dailyLimit)} in eth,
- MAX_AMOUNT_PER_TX: ${maxPerTx} which is ${Web3Utils.fromWei(maxPerTx)} in eth,
- MIN_AMOUNT_PER_TX: ${minPerTx} which is ${Web3Utils.fromWei(minPerTx)} in eth,
- EXECUTION_DAILY_LIMIT : ${executionDailyLimit} which is ${Web3Utils.fromWei(executionDailyLimit)} in eth,
- EXECUTION_MAX_AMOUNT_PER_TX: ${executionMaxPerTx} which is ${Web3Utils.fromWei(executionMaxPerTx)} in eth,
- MEDIATOR_REQUEST_GAS_LIMIT : ${requestGasLimit},
- OWNER: ${owner}`)
-
- return contract.methods
- .initialize(
- bridgeContract,
- mediatorContract,
- [dailyLimit.toString(), maxPerTx.toString(), minPerTx.toString()],
- [executionDailyLimit.toString(), executionMaxPerTx.toString()],
- requestGasLimit,
- owner
- )
- .encodeABI()
-}
-
-async function initialize({ homeBridge, foreignBridge }) {
- let nonce = await web3Foreign.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
- const contract = new web3Home.eth.Contract(ForeignBridge.abi, foreignBridge)
-
- console.log('\n[Foreign] Initializing Bridge Mediator with following parameters:')
-
- const initializeData = await initializeMediator({
- contract,
- params: {
- bridgeContract: FOREIGN_AMB_BRIDGE,
- mediatorContract: homeBridge,
- requestGasLimit: FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT,
- owner: FOREIGN_BRIDGE_OWNER,
- dailyLimit: FOREIGN_DAILY_LIMIT,
- maxPerTx: FOREIGN_MAX_AMOUNT_PER_TX,
- minPerTx: FOREIGN_MIN_AMOUNT_PER_TX,
- executionDailyLimit: HOME_DAILY_LIMIT,
- executionMaxPerTx: HOME_MAX_AMOUNT_PER_TX,
- }
- })
-
- const txInitialize = await sendRawTxForeign({
- data: initializeData,
- nonce,
- to: foreignBridge,
- privateKey: deploymentPrivateKey,
- url: FOREIGN_RPC_URL
- })
-
- if (txInitialize.status) {
- assert.strictEqual(Web3Utils.hexToNumber(txInitialize.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(contract.methods.isInitialized().call, true)
- }
- nonce++
-
- console.log('\n[Foreign] Transferring bridge mediator proxy ownership to upgradeability admin')
- const proxy = new web3Foreign.eth.Contract(EternalStorageProxy.abi, foreignBridge)
- await transferProxyOwnership({
- proxy,
- newOwner: FOREIGN_UPGRADEABLE_ADMIN,
- nonce,
- url: FOREIGN_RPC_URL
- })
-}
-
-module.exports = initialize
diff --git a/deploy/src/multi_amb_erc20_to_erc677/initializeHome.js b/deploy/src/multi_amb_erc20_to_erc677/initializeHome.js
deleted file mode 100644
index 0bd529e37..000000000
--- a/deploy/src/multi_amb_erc20_to_erc677/initializeHome.js
+++ /dev/null
@@ -1,143 +0,0 @@
-const Web3Utils = require('web3-utils')
-const assert = require('assert')
-const { web3Home, HOME_RPC_URL, deploymentPrivateKey } = require('../web3')
-const {
- homeContracts: { EternalStorageProxy, HomeMultiAMBErc20ToErc677: HomeBridge }
-} = require('../loadContracts')
-const {
- privateKeyToAddress,
- sendRawTxHome,
- assertStateWithRetry,
- transferProxyOwnership
-} = require('../deploymentUtils')
-
-const {
- HOME_DAILY_LIMIT,
- HOME_MAX_AMOUNT_PER_TX,
- HOME_MIN_AMOUNT_PER_TX,
- FOREIGN_DAILY_LIMIT,
- FOREIGN_MAX_AMOUNT_PER_TX,
- HOME_AMB_BRIDGE,
- HOME_MEDIATOR_REQUEST_GAS_LIMIT,
- HOME_BRIDGE_OWNER,
- HOME_UPGRADEABLE_ADMIN,
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY,
- HOME_REWARDABLE,
- HOME_TRANSACTIONS_FEE,
- FOREIGN_TRANSACTIONS_FEE,
- HOME_MEDIATOR_REWARD_ACCOUNTS
-} = require('../loadEnv')
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-async function initializeMediator({
- contract,
- params: {
- bridgeContract,
- mediatorContract,
- dailyLimit,
- maxPerTx,
- minPerTx,
- executionDailyLimit,
- executionMaxPerTx,
- requestGasLimit,
- owner,
- tokenImage,
- rewardAddressList,
- homeToForeignFee,
- foreignToHomeFee
- }
-}) {
- console.log(`
- AMB contract: ${bridgeContract},
- Mediator contract: ${mediatorContract},
- DAILY_LIMIT : ${dailyLimit} which is ${Web3Utils.fromWei(dailyLimit)} in eth,
- MAX_AMOUNT_PER_TX: ${maxPerTx} which is ${Web3Utils.fromWei(maxPerTx)} in eth,
- MIN_AMOUNT_PER_TX: ${minPerTx} which is ${Web3Utils.fromWei(minPerTx)} in eth,
- EXECUTION_DAILY_LIMIT : ${executionDailyLimit} which is ${Web3Utils.fromWei(executionDailyLimit)} in eth,
- EXECUTION_MAX_AMOUNT_PER_TX: ${executionMaxPerTx} which is ${Web3Utils.fromWei(executionMaxPerTx)} in eth,
- MEDIATOR_REQUEST_GAS_LIMIT : ${requestGasLimit},
- OWNER: ${owner},
- TOKEN_IMAGE: ${tokenImage},
- REWARD_ADDRESS_LIST: [${rewardAddressList.join(', ')}]
- `)
- if (HOME_REWARDABLE === 'BOTH_DIRECTIONS') {
- console.log(`
- HOME_TO_FOREIGN_FEE: ${homeToForeignFee} which is ${HOME_TRANSACTIONS_FEE * 100}%
- FOREIGN_TO_HOME_FEE: ${foreignToHomeFee} which is ${FOREIGN_TRANSACTIONS_FEE * 100}%
- `)
- }
-
- return contract.methods
- .initialize(
- bridgeContract,
- mediatorContract,
- [dailyLimit.toString(), maxPerTx.toString(), minPerTx.toString()],
- [executionDailyLimit.toString(), executionMaxPerTx.toString()],
- requestGasLimit,
- owner,
- tokenImage,
- rewardAddressList,
- [homeToForeignFee.toString(), foreignToHomeFee.toString()]
- )
- .encodeABI()
-}
-
-async function initialize({ homeBridge, foreignBridge, homeTokenImage }) {
- let nonce = await web3Home.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
- const mediatorContract = new web3Home.eth.Contract(HomeBridge.abi, homeBridge)
-
- console.log('\n[Home] Initializing Bridge Mediator with following parameters:')
- let homeFeeInWei = '0'
- let foreignFeeInWei = '0'
- if (HOME_REWARDABLE === 'BOTH_DIRECTIONS') {
- homeFeeInWei = Web3Utils.toWei(HOME_TRANSACTIONS_FEE.toString(), 'ether')
- foreignFeeInWei = Web3Utils.toWei(FOREIGN_TRANSACTIONS_FEE.toString(), 'ether')
- }
- const rewardList = HOME_MEDIATOR_REWARD_ACCOUNTS.split(' ')
-
- const initializeMediatorData = await initializeMediator({
- contract: mediatorContract,
- params: {
- bridgeContract: HOME_AMB_BRIDGE,
- mediatorContract: foreignBridge,
- requestGasLimit: HOME_MEDIATOR_REQUEST_GAS_LIMIT,
- owner: HOME_BRIDGE_OWNER,
- dailyLimit: HOME_DAILY_LIMIT,
- maxPerTx: HOME_MAX_AMOUNT_PER_TX,
- minPerTx: HOME_MIN_AMOUNT_PER_TX,
- executionDailyLimit: FOREIGN_DAILY_LIMIT,
- executionMaxPerTx: FOREIGN_MAX_AMOUNT_PER_TX,
- tokenImage: homeTokenImage,
- rewardAddressList: rewardList,
- homeToForeignFee: homeFeeInWei,
- foreignToHomeFee: foreignFeeInWei
- }
- })
-
- const txInitializeMediator = await sendRawTxHome({
- data: initializeMediatorData,
- nonce,
- to: homeBridge,
- privateKey: deploymentPrivateKey,
- url: HOME_RPC_URL
- })
-
- if (txInitializeMediator.status) {
- assert.strictEqual(Web3Utils.hexToNumber(txInitializeMediator.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(mediatorContract.methods.isInitialized().call, true)
- }
- nonce++
-
- console.log('\n[Home] Transferring bridge mediator proxy ownership to upgradeability admin')
- const mediatorProxy = new web3Home.eth.Contract(EternalStorageProxy.abi, homeBridge)
- await transferProxyOwnership({
- proxy: mediatorProxy,
- newOwner: HOME_UPGRADEABLE_ADMIN,
- nonce,
- url: HOME_RPC_URL
- })
-}
-
-module.exports = initialize
diff --git a/deploy/src/multi_amb_erc20_to_erc677/preDeploy.js b/deploy/src/multi_amb_erc20_to_erc677/preDeploy.js
deleted file mode 100644
index 245cac7b7..000000000
--- a/deploy/src/multi_amb_erc20_to_erc677/preDeploy.js
+++ /dev/null
@@ -1,27 +0,0 @@
-const { web3Home, web3Foreign } = require('../web3')
-const {
- HOME_AMB_BRIDGE,
- FOREIGN_AMB_BRIDGE,
- HOME_ERC677_TOKEN_IMAGE
-} = require('../loadEnv')
-const { isContract } = require('../deploymentUtils')
-
-async function preDeploy() {
- const isHomeAMBAContract = await isContract(web3Home, HOME_AMB_BRIDGE)
- if (!isHomeAMBAContract) {
- throw new Error(`HOME_AMB_BRIDGE should be a contract address`)
- }
-
- const isForeignAMBAContract = await isContract(web3Foreign, FOREIGN_AMB_BRIDGE)
- if (!isForeignAMBAContract) {
- throw new Error(`FOREIGN_AMB_BRIDGE should be a contract address`)
- }
-
- if (HOME_ERC677_TOKEN_IMAGE !== "") {
- if(!(await isContract(web3Home, HOME_ERC677_TOKEN_IMAGE))) {
- throw new Error(`HOME_ERC677_TOKEN_IMAGE should be a contract address`)
- }
- }
-}
-
-module.exports = preDeploy
diff --git a/deploy/src/native_to_erc/foreign.js b/deploy/src/native_to_erc/foreign.js
deleted file mode 100644
index 19353431c..000000000
--- a/deploy/src/native_to_erc/foreign.js
+++ /dev/null
@@ -1,348 +0,0 @@
-const assert = require('assert')
-const Web3Utils = require('web3-utils')
-const env = require('../loadEnv')
-
-const {
- deployContract,
- privateKeyToAddress,
- sendRawTxForeign,
- upgradeProxy,
- initializeValidators,
- transferProxyOwnership,
- transferOwnership,
- setBridgeContract,
- assertStateWithRetry
-} = require('../deploymentUtils')
-const { web3Foreign, deploymentPrivateKey, FOREIGN_RPC_URL } = require('../web3')
-const {
- foreignContracts: {
- EternalStorageProxy,
- BridgeValidators,
- RewardableValidators,
- ForeignBridgeNativeToErc: ForeignBridge,
- ERC677BridgeToken,
- ERC677BridgeTokenRewardable,
- FeeManagerNativeToErc
- }
-} = require('../loadContracts')
-
-const VALIDATORS = env.VALIDATORS.split(' ')
-
-const {
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY,
- REQUIRED_NUMBER_OF_VALIDATORS,
- FOREIGN_GAS_PRICE,
- FOREIGN_BRIDGE_OWNER,
- FOREIGN_VALIDATORS_OWNER,
- FOREIGN_UPGRADEABLE_ADMIN,
- FOREIGN_DAILY_LIMIT,
- FOREIGN_MAX_AMOUNT_PER_TX,
- FOREIGN_MIN_AMOUNT_PER_TX,
- FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS,
- BRIDGEABLE_TOKEN_NAME,
- BRIDGEABLE_TOKEN_SYMBOL,
- BRIDGEABLE_TOKEN_DECIMALS,
- HOME_DAILY_LIMIT,
- HOME_MAX_AMOUNT_PER_TX,
- DEPLOY_REWARDABLE_TOKEN,
- BLOCK_REWARD_ADDRESS,
- DPOS_STAKING_ADDRESS,
- FOREIGN_REWARDABLE,
- HOME_TRANSACTIONS_FEE,
- FOREIGN_TO_HOME_DECIMAL_SHIFT
-} = env
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-const foreignToHomeDecimalShift = FOREIGN_TO_HOME_DECIMAL_SHIFT || 0
-
-const isRewardableBridge = FOREIGN_REWARDABLE === 'ONE_DIRECTION'
-
-let VALIDATORS_REWARD_ACCOUNTS = []
-
-if (isRewardableBridge) {
- VALIDATORS_REWARD_ACCOUNTS = env.VALIDATORS_REWARD_ACCOUNTS.split(' ')
-}
-
-async function initializeBridge({ validatorsBridge, bridge, erc677bridgeToken, initialNonce, homeBridgeAddress }) {
- let nonce = initialNonce
- let initializeFBridgeData
-
- if (isRewardableBridge) {
- console.log('\ndeploying implementation for fee manager')
- const feeManager = await deployContract(FeeManagerNativeToErc, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- console.log('[Foreign] feeManager Implementation: ', feeManager.options.address)
- nonce++
-
- const homeFeeInWei = Web3Utils.toWei(HOME_TRANSACTIONS_FEE.toString(), 'ether')
-
- console.log('\ninitializing Foreign Bridge with fee contract:\n')
- console.log(`Foreign Validators: ${validatorsBridge.options.address},
- FOREIGN_DAILY_LIMIT : ${FOREIGN_DAILY_LIMIT} which is ${Web3Utils.fromWei(FOREIGN_DAILY_LIMIT)} in eth,
- FOREIGN_MAX_AMOUNT_PER_TX: ${FOREIGN_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(
- FOREIGN_MAX_AMOUNT_PER_TX
- )} in eth,
- FOREIGN_MIN_AMOUNT_PER_TX: ${FOREIGN_MIN_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(
- FOREIGN_MIN_AMOUNT_PER_TX
- )} in eth,
- FOREIGN_GAS_PRICE: ${FOREIGN_GAS_PRICE}, FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS : ${FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS},
- HOME_DAILY_LIMIT: ${HOME_DAILY_LIMIT} which is ${Web3Utils.fromWei(HOME_DAILY_LIMIT)} in eth,
- HOME_MAX_AMOUNT_PER_TX: ${HOME_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(HOME_MAX_AMOUNT_PER_TX)} in eth,
- FOREIGN_BRIDGE_OWNER: ${FOREIGN_BRIDGE_OWNER},
- Fee Manager: ${feeManager.options.address},
- Home Fee: ${homeFeeInWei} which is ${HOME_TRANSACTIONS_FEE * 100}%,
- FOREIGN_TO_HOME_DECIMAL_SHIFT: ${foreignToHomeDecimalShift}
- Home bridge Address: ${homeBridgeAddress}`)
-
- initializeFBridgeData = await bridge.methods
- .rewardableInitialize(
- validatorsBridge.options.address,
- erc677bridgeToken.options.address,
- [FOREIGN_DAILY_LIMIT.toString(), FOREIGN_MAX_AMOUNT_PER_TX.toString(), FOREIGN_MIN_AMOUNT_PER_TX.toString()],
- FOREIGN_GAS_PRICE,
- FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS,
- [HOME_DAILY_LIMIT.toString(), HOME_MAX_AMOUNT_PER_TX.toString()],
- FOREIGN_BRIDGE_OWNER,
- feeManager.options.address,
- homeFeeInWei,
- foreignToHomeDecimalShift,
- homeBridgeAddress
- )
- .encodeABI({ from: DEPLOYMENT_ACCOUNT_ADDRESS })
- } else {
- console.log('\ninitializing Foreign Bridge with following parameters:\n')
- console.log(`Foreign Validators: ${validatorsBridge.options.address},
- FOREIGN_DAILY_LIMIT : ${FOREIGN_DAILY_LIMIT} which is ${Web3Utils.fromWei(FOREIGN_DAILY_LIMIT)} in eth,
- FOREIGN_MAX_AMOUNT_PER_TX: ${FOREIGN_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(
- FOREIGN_MAX_AMOUNT_PER_TX
- )} in eth,
- FOREIGN_MIN_AMOUNT_PER_TX: ${FOREIGN_MIN_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(
- FOREIGN_MIN_AMOUNT_PER_TX
- )} in eth,
- FOREIGN_GAS_PRICE: ${FOREIGN_GAS_PRICE}, FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS : ${FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS},
- HOME_DAILY_LIMIT: ${HOME_DAILY_LIMIT} which is ${Web3Utils.fromWei(HOME_DAILY_LIMIT)} in eth,
- HOME_MAX_AMOUNT_PER_TX: ${HOME_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(HOME_MAX_AMOUNT_PER_TX)} in eth,
- FOREIGN_BRIDGE_OWNER: ${FOREIGN_BRIDGE_OWNER},
- FOREIGN_TO_HOME_DECIMAL_SHIFT: ${foreignToHomeDecimalShift}
- Home bridge Address: ${homeBridgeAddress}
- `)
-
- initializeFBridgeData = await bridge.methods
- .initialize(
- validatorsBridge.options.address,
- erc677bridgeToken.options.address,
- [FOREIGN_DAILY_LIMIT.toString(), FOREIGN_MAX_AMOUNT_PER_TX.toString(), FOREIGN_MIN_AMOUNT_PER_TX.toString()],
- FOREIGN_GAS_PRICE,
- FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS,
- [HOME_DAILY_LIMIT.toString(), HOME_MAX_AMOUNT_PER_TX.toString()],
- FOREIGN_BRIDGE_OWNER,
- foreignToHomeDecimalShift,
- homeBridgeAddress
- )
- .encodeABI({ from: DEPLOYMENT_ACCOUNT_ADDRESS })
- }
-
- const txInitializeBridge = await sendRawTxForeign({
- data: initializeFBridgeData,
- nonce,
- to: bridge.options.address,
- privateKey: deploymentPrivateKey,
- url: FOREIGN_RPC_URL
- })
- if (txInitializeBridge.status) {
- assert.strictEqual(Web3Utils.hexToNumber(txInitializeBridge.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(bridge.methods.isInitialized().call, true)
- }
- nonce++
-
- return nonce
-}
-
-async function deployForeign(homeBridgeAddress) {
- let nonce = await web3Foreign.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
- console.log('========================================')
- console.log('deploying ForeignBridge')
- console.log('========================================\n')
-
- console.log('\n[Foreign] deploying bridgeable token')
- let args = [BRIDGEABLE_TOKEN_NAME, BRIDGEABLE_TOKEN_SYMBOL, BRIDGEABLE_TOKEN_DECIMALS]
- if (DEPLOY_REWARDABLE_TOKEN) {
- const chainId = await web3Foreign.eth.getChainId()
- assert.strictEqual(chainId > 0, true, 'Invalid chain ID')
- args.push(chainId)
- }
- const erc677bridgeToken = await deployContract(
- DEPLOY_REWARDABLE_TOKEN ? ERC677BridgeTokenRewardable : ERC677BridgeToken,
- args,
- { from: DEPLOYMENT_ACCOUNT_ADDRESS, network: 'foreign', nonce }
- )
- nonce++
- console.log('[Foreign] Bridgeable Token: ', erc677bridgeToken.options.address)
-
- console.log('\ndeploying storage for foreign validators')
- const storageValidatorsForeign = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] BridgeValidators Storage: ', storageValidatorsForeign.options.address)
-
- console.log('\ndeploying implementation for foreign validators')
- const bridgeValidatorsContract = isRewardableBridge ? RewardableValidators : BridgeValidators
- const bridgeValidatorsForeign = await deployContract(bridgeValidatorsContract, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] BridgeValidators Implementation: ', bridgeValidatorsForeign.options.address)
-
- console.log('\nhooking up eternal storage to BridgeValidators')
- await upgradeProxy({
- proxy: storageValidatorsForeign,
- implementationAddress: bridgeValidatorsForeign.options.address,
- version: '1',
- nonce,
- url: FOREIGN_RPC_URL
- })
- nonce++
-
- console.log('\ninitializing Foreign Bridge Validators with following parameters:\n')
- bridgeValidatorsForeign.options.address = storageValidatorsForeign.options.address
- await initializeValidators({
- contract: bridgeValidatorsForeign,
- isRewardableBridge,
- requiredNumber: REQUIRED_NUMBER_OF_VALIDATORS,
- validators: VALIDATORS,
- rewardAccounts: VALIDATORS_REWARD_ACCOUNTS,
- owner: FOREIGN_VALIDATORS_OWNER,
- nonce,
- url: FOREIGN_RPC_URL
- })
- nonce++
-
- console.log('\nTransferring ownership of ValidatorsProxy\n')
- await transferProxyOwnership({
- proxy: storageValidatorsForeign,
- newOwner: FOREIGN_UPGRADEABLE_ADMIN,
- nonce,
- url: FOREIGN_RPC_URL
- })
- nonce++
-
- console.log('\ndeploying foreignBridge storage\n')
- const foreignBridgeStorage = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] ForeignBridge Storage: ', foreignBridgeStorage.options.address)
-
- console.log('\ndeploying foreignBridge implementation\n')
- const foreignBridgeImplementation = await deployContract(ForeignBridge, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] ForeignBridge Implementation: ', foreignBridgeImplementation.options.address)
-
- console.log('\nhooking up ForeignBridge storage to ForeignBridge implementation')
- await upgradeProxy({
- proxy: foreignBridgeStorage,
- implementationAddress: foreignBridgeImplementation.options.address,
- version: '1',
- nonce,
- url: FOREIGN_RPC_URL
- })
- nonce++
-
- foreignBridgeImplementation.options.address = foreignBridgeStorage.options.address
- nonce = await initializeBridge({
- validatorsBridge: storageValidatorsForeign,
- bridge: foreignBridgeImplementation,
- erc677bridgeToken,
- initialNonce: nonce,
- homeBridgeAddress
- })
-
- console.log('\nset bridge contract on ERC677BridgeToken')
- await setBridgeContract({
- contract: erc677bridgeToken,
- bridgeAddress: foreignBridgeStorage.options.address,
- nonce,
- url: FOREIGN_RPC_URL
- })
- nonce++
-
- if (DEPLOY_REWARDABLE_TOKEN) {
- console.log('\nset BlockReward contract on ERC677BridgeTokenRewardable')
- const setBlockRewardContractData = await erc677bridgeToken.methods
- .setBlockRewardContract(BLOCK_REWARD_ADDRESS)
- .encodeABI()
- const setBlockRewardContract = await sendRawTxForeign({
- data: setBlockRewardContractData,
- nonce,
- to: erc677bridgeToken.options.address,
- privateKey: deploymentPrivateKey,
- url: FOREIGN_RPC_URL
- })
- if (setBlockRewardContract.status) {
- assert.strictEqual(Web3Utils.hexToNumber(setBlockRewardContract.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(erc677bridgeToken.methods.blockRewardContract().call, BLOCK_REWARD_ADDRESS)
- }
- nonce++
-
- console.log('\nset Staking contract on ERC677BridgeTokenRewardable')
- const setStakingContractData = await erc677bridgeToken.methods.setStakingContract(DPOS_STAKING_ADDRESS).encodeABI()
- const setStakingContract = await sendRawTxForeign({
- data: setStakingContractData,
- nonce,
- to: erc677bridgeToken.options.address,
- privateKey: deploymentPrivateKey,
- url: FOREIGN_RPC_URL
- })
- if (setStakingContract.status) {
- assert.strictEqual(Web3Utils.hexToNumber(setStakingContract.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(erc677bridgeToken.methods.validatorSetContract().call, DPOS_STAKING_ADDRESS)
- }
- nonce++
- }
-
- console.log('transferring ownership of ERC677BridgeToken token to foreignBridge contract')
- await transferOwnership({
- contract: erc677bridgeToken,
- newOwner: foreignBridgeStorage.options.address,
- nonce,
- url: FOREIGN_RPC_URL
- })
- nonce++
-
- console.log('transferring proxy ownership to multisig for foreign bridge Proxy contract')
- await transferProxyOwnership({
- proxy: foreignBridgeStorage,
- newOwner: FOREIGN_UPGRADEABLE_ADMIN,
- nonce,
- url: FOREIGN_RPC_URL
- })
-
- console.log('\nForeign Deployment Bridge completed\n')
- return {
- foreignBridge: {
- address: foreignBridgeStorage.options.address,
- deployedBlockNumber: Web3Utils.hexToNumber(foreignBridgeStorage.deployedBlockNumber)
- },
- erc677: { address: erc677bridgeToken.options.address }
- }
-}
-
-module.exports = deployForeign
diff --git a/deploy/src/native_to_erc/home.js b/deploy/src/native_to_erc/home.js
deleted file mode 100644
index 57e42a95c..000000000
--- a/deploy/src/native_to_erc/home.js
+++ /dev/null
@@ -1,253 +0,0 @@
-const assert = require('assert')
-const Web3Utils = require('web3-utils')
-
-const env = require('../loadEnv')
-const {
- deployContract,
- privateKeyToAddress,
- sendRawTxHome,
- upgradeProxy,
- initializeValidators,
- transferProxyOwnership,
- assertStateWithRetry
-} = require('../deploymentUtils')
-const { web3Home, deploymentPrivateKey, HOME_RPC_URL } = require('../web3')
-const {
- homeContracts: {
- EternalStorageProxy,
- BridgeValidators,
- RewardableValidators,
- FeeManagerNativeToErc,
- HomeBridgeNativeToErc: HomeBridge,
- FeeManagerNativeToErcBothDirections
- }
-} = require('../loadContracts')
-
-const VALIDATORS = env.VALIDATORS.split(' ')
-
-const {
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY,
- REQUIRED_NUMBER_OF_VALIDATORS,
- HOME_GAS_PRICE,
- HOME_BRIDGE_OWNER,
- HOME_VALIDATORS_OWNER,
- HOME_UPGRADEABLE_ADMIN,
- HOME_DAILY_LIMIT,
- HOME_MAX_AMOUNT_PER_TX,
- HOME_MIN_AMOUNT_PER_TX,
- HOME_REQUIRED_BLOCK_CONFIRMATIONS,
- FOREIGN_DAILY_LIMIT,
- FOREIGN_MAX_AMOUNT_PER_TX,
- HOME_REWARDABLE,
- HOME_TRANSACTIONS_FEE,
- FOREIGN_TRANSACTIONS_FEE,
- FOREIGN_TO_HOME_DECIMAL_SHIFT
-} = env
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-const foreignToHomeDecimalShift = FOREIGN_TO_HOME_DECIMAL_SHIFT || 0
-
-const isBothDirectionsFeeManager = HOME_REWARDABLE === 'BOTH_DIRECTIONS'
-const isRewardableBridge = HOME_REWARDABLE === 'ONE_DIRECTION' || isBothDirectionsFeeManager
-
-let VALIDATORS_REWARD_ACCOUNTS = []
-
-if (isRewardableBridge) {
- VALIDATORS_REWARD_ACCOUNTS = env.VALIDATORS_REWARD_ACCOUNTS.split(' ')
-}
-
-async function initializeBridge({ validatorsBridge, bridge, initialNonce }) {
- let nonce = initialNonce
- let initializeHomeBridgeData
-
- if (isRewardableBridge) {
- console.log('\ndeploying implementation for fee manager')
- const feeManagerContract = isBothDirectionsFeeManager ? FeeManagerNativeToErcBothDirections : FeeManagerNativeToErc
- const feeManager = await deployContract(feeManagerContract, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- console.log('[Home] feeManager Implementation: ', feeManager.options.address)
- nonce++
-
- const homeFee = isBothDirectionsFeeManager ? HOME_TRANSACTIONS_FEE.toString() : '0'
- const homeFeeInWei = Web3Utils.toWei(homeFee, 'ether')
- const foreignFeeInWei = Web3Utils.toWei(FOREIGN_TRANSACTIONS_FEE.toString(), 'ether')
-
- console.log('\ninitializing Home Bridge with fee contract:\n')
- console.log(`Home Validators: ${validatorsBridge.options.address},
- HOME_DAILY_LIMIT : ${HOME_DAILY_LIMIT} which is ${Web3Utils.fromWei(HOME_DAILY_LIMIT)} in eth,
- HOME_MAX_AMOUNT_PER_TX: ${HOME_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(HOME_MAX_AMOUNT_PER_TX)} in eth,
- HOME_MIN_AMOUNT_PER_TX: ${HOME_MIN_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(HOME_MIN_AMOUNT_PER_TX)} in eth,
- HOME_GAS_PRICE: ${HOME_GAS_PRICE}, HOME_REQUIRED_BLOCK_CONFIRMATIONS : ${HOME_REQUIRED_BLOCK_CONFIRMATIONS},
- FOREIGN_DAILY_LIMIT: ${FOREIGN_DAILY_LIMIT} which is ${Web3Utils.fromWei(FOREIGN_DAILY_LIMIT)} in eth,
- FOREIGN_MAX_AMOUNT_PER_TX: ${FOREIGN_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(
- FOREIGN_MAX_AMOUNT_PER_TX
- )} in eth,
- HOME_BRIDGE_OWNER: ${HOME_BRIDGE_OWNER},
- Fee Manager: ${feeManager.options.address},
- Home Fee: ${homeFeeInWei} which is ${homeFee * 100}%
- Foreign Fee: ${foreignFeeInWei} which is ${FOREIGN_TRANSACTIONS_FEE * 100}%,
- FOREIGN_TO_HOME_DECIMAL_SHIFT: ${foreignToHomeDecimalShift}`)
-
- initializeHomeBridgeData = await bridge.methods
- .rewardableInitialize(
- validatorsBridge.options.address,
- [HOME_DAILY_LIMIT.toString(), HOME_MAX_AMOUNT_PER_TX.toString(), HOME_MIN_AMOUNT_PER_TX.toString()],
- HOME_GAS_PRICE,
- HOME_REQUIRED_BLOCK_CONFIRMATIONS,
- [FOREIGN_DAILY_LIMIT.toString(), FOREIGN_MAX_AMOUNT_PER_TX.toString()],
- HOME_BRIDGE_OWNER,
- feeManager.options.address,
- [homeFeeInWei.toString(), foreignFeeInWei.toString()],
- foreignToHomeDecimalShift
- )
- .encodeABI()
- } else {
- console.log('\ninitializing Home Bridge with following parameters:\n')
- console.log(`Home Validators: ${validatorsBridge.options.address},
- HOME_DAILY_LIMIT : ${HOME_DAILY_LIMIT} which is ${Web3Utils.fromWei(HOME_DAILY_LIMIT)} in eth,
- HOME_MAX_AMOUNT_PER_TX: ${HOME_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(HOME_MAX_AMOUNT_PER_TX)} in eth,
- HOME_MIN_AMOUNT_PER_TX: ${HOME_MIN_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(HOME_MIN_AMOUNT_PER_TX)} in eth,
- HOME_GAS_PRICE: ${HOME_GAS_PRICE}, HOME_REQUIRED_BLOCK_CONFIRMATIONS : ${HOME_REQUIRED_BLOCK_CONFIRMATIONS},
- FOREIGN_DAILY_LIMIT: ${FOREIGN_DAILY_LIMIT} which is ${Web3Utils.fromWei(FOREIGN_DAILY_LIMIT)} in eth,
- FOREIGN_MAX_AMOUNT_PER_TX: ${FOREIGN_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(
- FOREIGN_MAX_AMOUNT_PER_TX
- )} in eth,
- HOME_BRIDGE_OWNER: ${HOME_BRIDGE_OWNER},
- FOREIGN_TO_HOME_DECIMAL_SHIFT: ${foreignToHomeDecimalShift}
- `)
- initializeHomeBridgeData = await bridge.methods
- .initialize(
- validatorsBridge.options.address,
- [HOME_DAILY_LIMIT.toString(), HOME_MAX_AMOUNT_PER_TX.toString(), HOME_MIN_AMOUNT_PER_TX.toString()],
- HOME_GAS_PRICE,
- HOME_REQUIRED_BLOCK_CONFIRMATIONS,
- [FOREIGN_DAILY_LIMIT.toString(), FOREIGN_MAX_AMOUNT_PER_TX.toString()],
- HOME_BRIDGE_OWNER,
- foreignToHomeDecimalShift
- )
- .encodeABI()
- }
-
- const txInitializeHomeBridge = await sendRawTxHome({
- data: initializeHomeBridgeData,
- nonce,
- to: bridge.options.address,
- privateKey: deploymentPrivateKey,
- url: HOME_RPC_URL
- })
- if (txInitializeHomeBridge.status) {
- assert.strictEqual(Web3Utils.hexToNumber(txInitializeHomeBridge.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(bridge.methods.isInitialized().call, true)
- }
- nonce++
-
- return nonce
-}
-
-async function deployHome() {
- let nonce = await web3Home.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
-
- console.log('deploying storage for home validators')
- const storageValidatorsHome = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- console.log('[Home] BridgeValidators Storage: ', storageValidatorsHome.options.address)
- nonce++
-
- console.log('\ndeploying implementation for home validators')
- const bridgeValidatorsContract = isRewardableBridge ? RewardableValidators : BridgeValidators
- const bridgeValidatorsHome = await deployContract(bridgeValidatorsContract, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- console.log('[Home] BridgeValidators Implementation: ', bridgeValidatorsHome.options.address)
- nonce++
-
- console.log('\nhooking up eternal storage to BridgeValidators')
- await upgradeProxy({
- proxy: storageValidatorsHome,
- implementationAddress: bridgeValidatorsHome.options.address,
- version: '1',
- nonce,
- url: HOME_RPC_URL
- })
- nonce++
-
- console.log('\ninitializing Home Bridge Validators with following parameters:\n')
- bridgeValidatorsHome.options.address = storageValidatorsHome.options.address
- await initializeValidators({
- contract: bridgeValidatorsHome,
- isRewardableBridge,
- requiredNumber: REQUIRED_NUMBER_OF_VALIDATORS,
- validators: VALIDATORS,
- rewardAccounts: VALIDATORS_REWARD_ACCOUNTS,
- owner: HOME_VALIDATORS_OWNER,
- nonce,
- url: HOME_RPC_URL
- })
- nonce++
-
- console.log('transferring proxy ownership to multisig for Validators Proxy contract')
- await transferProxyOwnership({
- proxy: storageValidatorsHome,
- newOwner: HOME_UPGRADEABLE_ADMIN,
- nonce,
- url: HOME_RPC_URL
- })
- nonce++
-
- console.log('\ndeploying homeBridge storage\n')
- const homeBridgeStorage = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- nonce++
- console.log('[Home] HomeBridge Storage: ', homeBridgeStorage.options.address)
-
- console.log('\ndeploying homeBridge implementation\n')
- const homeBridgeImplementation = await deployContract(HomeBridge, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- nonce++
- console.log('[Home] HomeBridge Implementation: ', homeBridgeImplementation.options.address)
-
- console.log('\nhooking up HomeBridge storage to HomeBridge implementation')
- await upgradeProxy({
- proxy: homeBridgeStorage,
- implementationAddress: homeBridgeImplementation.options.address,
- version: '1',
- nonce,
- url: HOME_RPC_URL
- })
- nonce++
-
- homeBridgeImplementation.options.address = homeBridgeStorage.options.address
- nonce = await initializeBridge({
- validatorsBridge: storageValidatorsHome,
- bridge: homeBridgeImplementation,
- initialNonce: nonce
- })
-
- console.log('transferring proxy ownership to multisig for Home bridge Proxy contract')
- await transferProxyOwnership({
- proxy: homeBridgeStorage,
- newOwner: HOME_UPGRADEABLE_ADMIN,
- nonce,
- url: HOME_RPC_URL
- })
-
- console.log('\nHome Deployment Bridge completed\n')
- return {
- homeBridge: {
- address: homeBridgeStorage.options.address,
- deployedBlockNumber: Web3Utils.hexToNumber(homeBridgeStorage.deployedBlockNumber)
- }
- }
-}
-module.exports = deployHome
diff --git a/deploy/src/native_to_erc/preDeploy.js b/deploy/src/native_to_erc/preDeploy.js
deleted file mode 100644
index 5e29aa7f8..000000000
--- a/deploy/src/native_to_erc/preDeploy.js
+++ /dev/null
@@ -1,19 +0,0 @@
-const { web3Foreign } = require('../web3')
-const { DEPLOY_REWARDABLE_TOKEN, DPOS_STAKING_ADDRESS, BLOCK_REWARD_ADDRESS } = require('../loadEnv')
-const { isContract } = require('../deploymentUtils')
-
-async function preDeploy() {
- if (DEPLOY_REWARDABLE_TOKEN) {
- const isDPOSStakingAContract = await isContract(web3Foreign, DPOS_STAKING_ADDRESS)
- if (!isDPOSStakingAContract) {
- throw new Error(`DPOS_STAKING_ADDRESS should be a contract address`)
- }
-
- const isBlockRewardAContract = await isContract(web3Foreign, BLOCK_REWARD_ADDRESS)
- if (!isBlockRewardAContract) {
- throw new Error(`BLOCK_REWARD_ADDRESS should be a contract address`)
- }
- }
-}
-
-module.exports = preDeploy
diff --git a/deploy/src/stake_token_mediators/foreign.js b/deploy/src/stake_token_mediators/foreign.js
deleted file mode 100644
index bb522e3d3..000000000
--- a/deploy/src/stake_token_mediators/foreign.js
+++ /dev/null
@@ -1,46 +0,0 @@
-const { web3Foreign, FOREIGN_RPC_URL } = require('../web3')
-const { deployContract, privateKeyToAddress, upgradeProxy } = require('../deploymentUtils')
-const {
- foreignContracts: { EternalStorageProxy, ForeignStakeTokenMediator: ForeignBridge }
-} = require('../loadContracts')
-const { DEPLOYMENT_ACCOUNT_PRIVATE_KEY } = require('../loadEnv')
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-async function deployForeign() {
- let nonce = await web3Foreign.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
-
- console.log('\n[Foreign] Deploying Bridge Mediator storage\n')
- const foreignBridgeStorage = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] Bridge Mediator Storage: ', foreignBridgeStorage.options.address)
-
- console.log('\n[Foreign] Deploying Bridge Mediator implementation\n')
- const foreignBridgeImplementation = await deployContract(ForeignBridge, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce
- })
- nonce++
- console.log('[Foreign] Bridge Mediator Implementation: ', foreignBridgeImplementation.options.address)
-
- console.log('\n[Foreign] Hooking up Mediator storage to Mediator implementation')
- await upgradeProxy({
- proxy: foreignBridgeStorage,
- implementationAddress: foreignBridgeImplementation.options.address,
- version: '1',
- nonce,
- url: FOREIGN_RPC_URL
- })
-
- console.log('\nForeign part of STAKE bridge deployed\n')
- return {
- foreignBridgeMediator: { address: foreignBridgeStorage.options.address }
- }
-}
-
-module.exports = deployForeign
diff --git a/deploy/src/stake_token_mediators/home.js b/deploy/src/stake_token_mediators/home.js
deleted file mode 100644
index a4fc56bbf..000000000
--- a/deploy/src/stake_token_mediators/home.js
+++ /dev/null
@@ -1,46 +0,0 @@
-const { web3Home, HOME_RPC_URL } = require('../web3')
-const { deployContract, privateKeyToAddress, upgradeProxy } = require('../deploymentUtils')
-const { DEPLOYMENT_ACCOUNT_PRIVATE_KEY } = require('../loadEnv')
-
-const {
- homeContracts: { EternalStorageProxy, HomeStakeTokenMediator: HomeBridge }
-} = require('../loadContracts')
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-async function deployHome() {
- let nonce = await web3Home.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
-
- console.log('\n[Home] Deploying Bridge Mediator storage\n')
- const homeBridgeStorage = await deployContract(EternalStorageProxy, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- nonce++
- console.log('[Home] Bridge Mediator Storage: ', homeBridgeStorage.options.address)
-
- console.log('\n[Home] Deploying Bridge Mediator implementation\n')
- const homeBridgeImplementation = await deployContract(HomeBridge, [], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- nonce
- })
- nonce++
- console.log('[Home] Bridge Mediator Implementation: ', homeBridgeImplementation.options.address)
-
- console.log('\n[Home] Hooking up Mediator storage to Mediator implementation')
- await upgradeProxy({
- proxy: homeBridgeStorage,
- implementationAddress: homeBridgeImplementation.options.address,
- version: '1',
- nonce,
- url: HOME_RPC_URL
- })
- nonce++
-
- console.log('\nHome part of STAKE bridge deployed\n')
- return {
- homeBridgeMediator: { address: homeBridgeStorage.options.address }
- }
-}
-
-module.exports = deployHome
diff --git a/deploy/src/stake_token_mediators/initialize.js b/deploy/src/stake_token_mediators/initialize.js
deleted file mode 100644
index d45a1dcb6..000000000
--- a/deploy/src/stake_token_mediators/initialize.js
+++ /dev/null
@@ -1,176 +0,0 @@
-const Web3Utils = require('web3-utils')
-const assert = require('assert')
-const { web3Home, HOME_RPC_URL, web3Foreign, FOREIGN_RPC_URL, deploymentPrivateKey } = require('../web3')
-const {
- homeContracts: { EternalStorageProxy, HomeStakeTokenMediator },
- foreignContracts: { EternalStorageProxy: ForeignEternalStorageProxy, ForeignStakeTokenMediator }
-} = require('../loadContracts')
-const {
- privateKeyToAddress,
- sendRawTxHome,
- sendRawTxForeign,
- assertStateWithRetry,
- transferProxyOwnership
-} = require('../deploymentUtils')
-
-const {
- HOME_AMB_BRIDGE,
- HOME_DAILY_LIMIT,
- HOME_MAX_AMOUNT_PER_TX,
- HOME_MIN_AMOUNT_PER_TX,
- FOREIGN_DAILY_LIMIT,
- FOREIGN_MAX_AMOUNT_PER_TX,
- FOREIGN_MIN_AMOUNT_PER_TX,
- HOME_MEDIATOR_REQUEST_GAS_LIMIT,
- HOME_BRIDGE_OWNER,
- HOME_UPGRADEABLE_ADMIN,
- FOREIGN_BRIDGE_OWNER,
- FOREIGN_UPGRADEABLE_ADMIN,
- FOREIGN_AMB_BRIDGE,
- FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT,
- DEPLOYMENT_ACCOUNT_PRIVATE_KEY,
- FOREIGN_TO_HOME_DECIMAL_SHIFT,
- HOME_STAKE_TOKEN_ADDRESS,
- FOREIGN_STAKE_TOKEN_ADDRESS,
- BLOCK_REWARD_ADDRESS,
- HOME_TRANSACTIONS_FEE
-} = require('../loadEnv')
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-const foreignToHomeDecimalShift = FOREIGN_TO_HOME_DECIMAL_SHIFT || 0
-
-async function initializeHome(homeMediator, foreignMediator) {
- let nonce = await web3Home.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
-
- const contract = new web3Home.eth.Contract(HomeStakeTokenMediator.abi, homeMediator)
- const proxy = new web3Home.eth.Contract(EternalStorageProxy.abi, homeMediator)
-
- const homeFeeInWei = Web3Utils.toWei(HOME_TRANSACTIONS_FEE.toString(), 'ether')
- console.log(`
- AMB contract: ${HOME_AMB_BRIDGE},
- Mediator contract: ${foreignMediator},
- Token contract: ${HOME_STAKE_TOKEN_ADDRESS},
- DAILY_LIMIT : ${HOME_DAILY_LIMIT} which is ${Web3Utils.fromWei(HOME_DAILY_LIMIT)} in eth,
- MAX_AMOUNT_PER_TX: ${HOME_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(HOME_MAX_AMOUNT_PER_TX)} in eth,
- MIN_AMOUNT_PER_TX: ${HOME_MIN_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(HOME_MIN_AMOUNT_PER_TX)} in eth,
- EXECUTION_DAILY_LIMIT : ${FOREIGN_DAILY_LIMIT} which is ${Web3Utils.fromWei(FOREIGN_DAILY_LIMIT)} in eth,
- EXECUTION_MAX_AMOUNT_PER_TX: ${FOREIGN_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(
- FOREIGN_MAX_AMOUNT_PER_TX
- )} in eth,
- FOREIGN_TO_HOME_DECIMAL_SHIFT: ${foreignToHomeDecimalShift},
- MEDIATOR_REQUEST_GAS_LIMIT : ${HOME_MEDIATOR_REQUEST_GAS_LIMIT},
- OWNER: ${HOME_BRIDGE_OWNER},
- BLOCK_REWARD_ADDRESS: ${BLOCK_REWARD_ADDRESS},
- Home Fee: ${homeFeeInWei} which is ${HOME_TRANSACTIONS_FEE * 100}%
- `)
-
- const initializeData = await contract.methods
- .rewardableInitialize(
- HOME_AMB_BRIDGE,
- foreignMediator,
- HOME_STAKE_TOKEN_ADDRESS,
- [HOME_DAILY_LIMIT.toString(), HOME_MAX_AMOUNT_PER_TX.toString(), HOME_MIN_AMOUNT_PER_TX.toString()],
- [FOREIGN_DAILY_LIMIT.toString(), FOREIGN_MAX_AMOUNT_PER_TX.toString()],
- HOME_MEDIATOR_REQUEST_GAS_LIMIT,
- foreignToHomeDecimalShift,
- HOME_BRIDGE_OWNER,
- BLOCK_REWARD_ADDRESS,
- homeFeeInWei
- )
- .encodeABI()
- const txInitialize = await sendRawTxHome({
- data: initializeData,
- nonce,
- to: homeMediator,
- privateKey: deploymentPrivateKey,
- url: HOME_RPC_URL
- })
-
- if (txInitialize.status) {
- assert.strictEqual(Web3Utils.hexToNumber(txInitialize.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(contract.methods.isInitialized().call, true)
- }
- nonce++
-
- console.log('Transferring bridge mediator proxy ownership to upgradeability admin')
- await transferProxyOwnership({
- proxy,
- newOwner: HOME_UPGRADEABLE_ADMIN,
- nonce,
- url: HOME_RPC_URL
- })
-}
-
-async function initializeForeign(foreignMediator, homeMediator) {
- let nonce = await web3Foreign.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
-
- const contract = new web3Foreign.eth.Contract(ForeignStakeTokenMediator.abi, foreignMediator)
- const proxy = new web3Foreign.eth.Contract(ForeignEternalStorageProxy.abi, foreignMediator)
-
- console.log(`
- AMB contract: ${FOREIGN_AMB_BRIDGE},
- Mediator contract: ${homeMediator},
- Token contract: ${FOREIGN_STAKE_TOKEN_ADDRESS},
- DAILY_LIMIT : ${FOREIGN_DAILY_LIMIT} which is ${Web3Utils.fromWei(FOREIGN_DAILY_LIMIT)} in eth,
- MAX_AMOUNT_PER_TX: ${FOREIGN_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(FOREIGN_MAX_AMOUNT_PER_TX)} in eth,
- MIN_AMOUNT_PER_TX: ${FOREIGN_MIN_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(FOREIGN_MIN_AMOUNT_PER_TX)} in eth,
- EXECUTION_DAILY_LIMIT : ${HOME_DAILY_LIMIT} which is ${Web3Utils.fromWei(HOME_DAILY_LIMIT)} in eth,
- EXECUTION_MAX_AMOUNT_PER_TX: ${HOME_MAX_AMOUNT_PER_TX} which is ${Web3Utils.fromWei(HOME_MAX_AMOUNT_PER_TX)} in eth,
- FOREIGN_TO_HOME_DECIMAL_SHIFT: ${foreignToHomeDecimalShift},
- MEDIATOR_REQUEST_GAS_LIMIT : ${FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT},
- OWNER: ${FOREIGN_BRIDGE_OWNER}
- `)
-
- const initializeData = await contract.methods
- .initialize(
- FOREIGN_AMB_BRIDGE,
- homeMediator,
- FOREIGN_STAKE_TOKEN_ADDRESS,
- [FOREIGN_DAILY_LIMIT.toString(), FOREIGN_MAX_AMOUNT_PER_TX.toString(), FOREIGN_MIN_AMOUNT_PER_TX.toString()],
- [HOME_DAILY_LIMIT.toString(), HOME_MAX_AMOUNT_PER_TX.toString()],
- FOREIGN_MEDIATOR_REQUEST_GAS_LIMIT,
- foreignToHomeDecimalShift,
- FOREIGN_BRIDGE_OWNER
- )
- .encodeABI()
- const txInitialize = await sendRawTxForeign({
- data: initializeData,
- nonce,
- to: foreignMediator,
- privateKey: deploymentPrivateKey,
- url: FOREIGN_RPC_URL
- })
-
- if (txInitialize.status) {
- assert.strictEqual(Web3Utils.hexToNumber(txInitialize.status), 1, 'Transaction Failed')
- } else {
- await assertStateWithRetry(contract.methods.isInitialized().call, true)
- }
- nonce++
-
- console.log('Transferring bridge mediator proxy ownership to upgradeability admin')
- await transferProxyOwnership({
- proxy,
- newOwner: FOREIGN_UPGRADEABLE_ADMIN,
- nonce,
- url: FOREIGN_RPC_URL
- })
-}
-
-async function initializeBridges({ homeBridge, foreignBridge }) {
- console.log('\n[Home] Initializing Bridge Mediator with following parameters:\n')
- await initializeHome(homeBridge, foreignBridge)
-
- console.log('\n[Foreign] Initializing Bridge Mediator with following parameters:\n')
- await initializeForeign(foreignBridge, homeBridge)
-
- console.log(
- `\n[Home] Allow bridge mediator to mint token, by calling transferOwnership(${homeBridge}) and addBridge(${homeBridge}) on token ${HOME_STAKE_TOKEN_ADDRESS}`
- )
- console.log(
- `\n[Foreign] Allow bridge mediator to mint token, by calling addBridge(${foreignBridge}) on token ${FOREIGN_STAKE_TOKEN_ADDRESS}`
- )
-}
-
-module.exports = initializeBridges
diff --git a/deploy/src/stake_token_mediators/preDeploy.js b/deploy/src/stake_token_mediators/preDeploy.js
deleted file mode 100644
index 0d8f23842..000000000
--- a/deploy/src/stake_token_mediators/preDeploy.js
+++ /dev/null
@@ -1,38 +0,0 @@
-const { web3Home, web3Foreign } = require('../web3')
-const {
- HOME_STAKE_TOKEN_ADDRESS,
- FOREIGN_STAKE_TOKEN_ADDRESS,
- HOME_AMB_BRIDGE,
- FOREIGN_AMB_BRIDGE,
- BLOCK_REWARD_ADDRESS
-} = require('../loadEnv')
-const { isContract } = require('../deploymentUtils')
-
-async function preDeploy() {
- const isHomeStakeTokenAContract = await isContract(web3Home, HOME_STAKE_TOKEN_ADDRESS)
- if (!isHomeStakeTokenAContract) {
- throw new Error(`HOME_STAKE_TOKEN_ADDRESS should be a contract address`)
- }
-
- const isForeignStakeTokenAContract = await isContract(web3Foreign, FOREIGN_STAKE_TOKEN_ADDRESS)
- if (!isForeignStakeTokenAContract) {
- throw new Error(`FOREIGN_STAKE_TOKEN_ADDRESS should be a contract address`)
- }
-
- const isHomeAMBAContract = await isContract(web3Home, HOME_AMB_BRIDGE)
- if (!isHomeAMBAContract) {
- throw new Error(`HOME_AMB_BRIDGE should be a contract address`)
- }
-
- const isForeignAMBAContract = await isContract(web3Foreign, FOREIGN_AMB_BRIDGE)
- if (!isForeignAMBAContract) {
- throw new Error(`FOREIGN_AMB_BRIDGE should be a contract address`)
- }
-
- const isBlockRewardAContract = await isContract(web3Home, BLOCK_REWARD_ADDRESS)
- if (!isBlockRewardAContract) {
- throw new Error(`BLOCK_REWARD_ADDRESS should be a contract address`)
- }
-}
-
-module.exports = preDeploy
diff --git a/deploy/src/utils/deployInterestReceiver.js b/deploy/src/utils/deployInterestReceiver.js
deleted file mode 100644
index 7e34e2b20..000000000
--- a/deploy/src/utils/deployInterestReceiver.js
+++ /dev/null
@@ -1,29 +0,0 @@
-const env = require('../loadEnv')
-
-const { deployContract, privateKeyToAddress } = require('../deploymentUtils')
-const { web3Foreign } = require('../web3')
-
-const {
- foreignContracts: { InterestReceiver }
-} = require('../loadContracts')
-
-const { DEPLOYMENT_ACCOUNT_PRIVATE_KEY, FOREIGN_INTEREST_RECEIVER_OWNER } = env
-
-const DEPLOYMENT_ACCOUNT_ADDRESS = privateKeyToAddress(DEPLOYMENT_ACCOUNT_PRIVATE_KEY)
-
-async function deployInterestReceiver() {
- let foreignNonce = await web3Foreign.eth.getTransactionCount(DEPLOYMENT_ACCOUNT_ADDRESS)
- console.log('\n[Foreign] deploying Interest receiver contract, setting owner to ', FOREIGN_INTEREST_RECEIVER_OWNER)
- const interestReceiver = await deployContract(InterestReceiver, [FOREIGN_INTEREST_RECEIVER_OWNER], {
- from: DEPLOYMENT_ACCOUNT_ADDRESS,
- network: 'foreign',
- nonce: foreignNonce
- })
- foreignNonce++
- console.log('[Foreign] Interest receiver: ', interestReceiver.options.address)
- console.log('\nInterest receiver deployment is completed\n')
- return {
- interestReceiverAddress: interestReceiver.options.address
- }
-}
-module.exports = deployInterestReceiver
diff --git a/deploy/testenv-deploy.js b/deploy/testenv-deploy.js
index 89dc3f21a..9c4316bcb 100644
--- a/deploy/testenv-deploy.js
+++ b/deploy/testenv-deploy.js
@@ -1,5 +1,4 @@
const deployToken = require('./src/utils/deployERC20Token')
-const deployInterestReceiver = require('./src/utils/deployInterestReceiver')
const mode = process.argv[2]
@@ -8,14 +7,11 @@ async function main() {
case 'token':
await deployToken()
break
- case 'interestReceiver':
- await deployInterestReceiver()
- break
case 'block-reward':
console.log('The mode "block-reward" is not implemented yet.')
break
default:
- console.log('Use either "token" / "interestReceiver" or "block-reward" as the parameter')
+ console.log('Use either "token" or "block-reward" as the parameter')
}
}
diff --git a/docs/ERC-TO-ERC.md b/docs/ERC-TO-ERC.md
deleted file mode 100644
index cf624bafa..000000000
--- a/docs/ERC-TO-ERC.md
+++ /dev/null
@@ -1,58 +0,0 @@
-## Gas Consumption `ERC-TO-ERC` Bridge Mode
-
-#### Deployment
-##### Home
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-EternalStorageProxy|deployment|378510|378510|378510
-BridgeValidators|deployment|1144207|1144207|1144207
-EternalStorageProxy|upgradeTo|35871|30924|30913
-BridgeValidators|initialize|187738|280847|253949
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-EternalStorageProxy|deployment|378510|378510|378510
-HomeBridgeErcToErc|deployment|3528509|3528509|3528509
-EternalStorageProxy|upgradeTo|35871|30924|30913
-ERC677BridgeToken|deployment|1498202|1499226|1498829
-ERC677BridgeToken|setBridgeContract|29432|44432|39432
-ERC677BridgeToken|transferOwnership|30860|30924|30913
-HomeBridgeErcToErc|initialize|212299|213195|213003
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-Total| |7521315|7621514|7588994
-
-##### Foreign
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-EternalStorageProxy|deployment|378510|378510|378510
-BridgeValidators|deployment|1144207|1144207|1144207
-EternalStorageProxy|upgradeTo|35871|30924|30913
-BridgeValidators|initialize|187738|280847|253949
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-EternalStorageProxy|deployment|378510|378510|378510
-ForeignBridgeErcToErc|deployment|2449436|2449436|2449436
-EternalStorageProxy|upgradeTo|35871|30924|30913
-ForeignBridgeErcToErc|initialize|150614|150614|150614
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-Total| |4822063|4905278|4878358
-
-#### Usage
-
-##### Validators
-
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-To sign at the Home (each validator)|
-HomeBridgeErcToErc|submitSignature|159386|275159|220171
-To relay signatures from the Home to the Foreign (one validator)|
-ForeignBridgeErcToErc|executeSignatures|73779|115769|93027
-To sign and relay from the Foreign to the Home (each validator)|
-HomeBridgeErcToErc|executeAffirmation|79336|134607|108215
-
-##### Users
-
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-To request transfer from the Home to the Foreign|
-ERC677BridgeToken|transferAndCall|58370|166206|92399
-To request transfer from the Foreign to the Home|
-ERC677BridgeToken|transfer|37691|86589|55000
-
diff --git a/docs/NATIVE-TO-ERC-WITH-REWARD.md b/docs/NATIVE-TO-ERC-WITH-REWARD.md
deleted file mode 100644
index db3f2bf83..000000000
--- a/docs/NATIVE-TO-ERC-WITH-REWARD.md
+++ /dev/null
@@ -1,120 +0,0 @@
-## Gas Consumption `NATIVE-TO-ERC` Bridge Mode with Reward contract on Home and Foreign networks
-
-#### Deployment
-##### Home
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-EternalStorageProxy|deployment|378510|378510|378510
-RewardableValidators|deployment|1615790|1615790|1615790
-EternalStorageProxy|upgradeTo|35871|30924|30913
-RewardableValidators|initialize|202711|423292|318008
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-EternalStorageProxy|deployment|378510|378510|378510
-HomeBridgeNativeToErc|deployment|4841729|4841729|4841729
-EternalStorageProxy|upgradeTo|35871|30924|30913
-FeeManagerNativeToErc|deployment|1079956|1079956|1079956
-HomeBridgeNativeToErc|rewardableInitialize|315276|315340|315304
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-Total| |8945530|9156281|9050939
-
-##### Foreign
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-ERC677BridgeToken|deployment|1463536|1464560|1464170
-EternalStorageProxy|deployment|378510|378510|378510
-RewardableValidators|deployment|1615790|1615790|1615790
-EternalStorageProxy|upgradeTo|35871|30924|30913
-RewardableValidators|initialize|202711|423292|318008
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-EternalStorageProxy|deployment|378510|378510|378510
-ForeignBridgeNativeToErc|deployment|3931739|3931739|3931739
-EternalStorageProxy|upgradeTo|35871|30924|30913
-FeeManagerNativeToErc|deployment|1079956|1079956|1079956
-ForeignBridgeNativeToErc|rewardableInitialize|329022|329086|329077
-ERC677BridgeToken|setBridgeContract|29432|44432|39432
-ERC677BridgeToken|transferOwnership|30860|30924|30913
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-Total| |9573114|9799953|9689237
-
-#### Usage
-
-##### Validators
-
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-To sign at the Home (each validator)|
-HomeBridgeNativeToErc|submitSignature|159880|287671|227125
-To relay signatures from the Home to the Foreign (one validator)|
-ForeignBridgeNativeToErc|executeSignatures|193143|374488|288553
-To sign and relay from the Foreign to the Home (each validator)|
-HomeBridgeNativeToErc|executeAffirmation|67313|206296|104845
-
-##### Users
-
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-To request transfer from the Home to the Foreign|
-HomeBridgeNativeToErc|fallback|51199|51199|51199
-To request transfer from the Foreign to the Home|
-ERC677BridgeToken|transferAndCall|58676|166206|92613
-
-
-
-## Gas Consumption `NATIVE-TO-ERC` Bridge Mode with Reward contract on Home network
-
-#### Deployment
-##### Home
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-EternalStorageProxy|deployment|378510|378510|378510
-RewardableValidators|deployment|1615790|1615790|1615790
-EternalStorageProxy|upgradeTo|35871|30924|30913
-RewardableValidators|initialize|202711|423292|318008
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-EternalStorageProxy|deployment|378510|378510|378510
-HomeBridgeNativeToErc|deployment|4841729|4841729|4841729
-EternalStorageProxy|upgradeTo|35871|30924|30913
-FeeManagerNativeToErcBothDirections|deployment|1004365|1004365|1004365
-HomeBridgeNativeToErc|rewardableInitialize|315276|330680|325073
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-Total| |8869939|9096030|8985117
-
-##### Foreign
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-ERC677BridgeToken|deployment|1463536|1464560|1464170
-EternalStorageProxy|deployment|378510|378510|378510
-BridgeValidators|deployment|1351491|1351491|1351491
-EternalStorageProxy|upgradeTo|35871|30924|30913
-BridgeValidators|initialize|210762|306607|270900
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-EternalStorageProxy|deployment|378510|378510|378510
-ForeignBridgeNativeToErc|deployment|3931739|3931739|3931739
-EternalStorageProxy|upgradeTo|35871|30924|30913
-ForeignBridgeNativeToErc|initialize|281275|281339|281328
-ERC677BridgeToken|setBridgeContract|29432|44432|39432
-ERC677BridgeToken|transferOwnership|30860|30924|30913
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-Total| |8189163|8291266|8250125
-
-#### Usage
-
-##### Validators
-
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-To sign at the Home (each validator)|
-HomeBridgeNativeToErc|submitSignature|159880|308541|219741
-To relay signatures from the Home to the Foreign (one validator)|
-ForeignBridgeNativeToErc|executeSignatures|99365|172087|138314
-To sign and relay from the Foreign to the Home (each validator)|
-HomeBridgeNativeToErc|executeAffirmation|67313|206445|104857
-
-##### Users
-
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-To request transfer from the Home to the Foreign|
-HomeBridgeNativeToErc|fallback|51177,|51177,|51177,
-To request transfer from the Foreign to the Home|
-ERC677BridgeToken|transferAndCall|58676|166206|92613
diff --git a/docs/NATIVE-TO-ERC.md b/docs/NATIVE-TO-ERC.md
deleted file mode 100644
index f073fe80e..000000000
--- a/docs/NATIVE-TO-ERC.md
+++ /dev/null
@@ -1,57 +0,0 @@
-## Gas Consumption `NATIVE-TO-ERC` Bridge Mode
-
-#### Deployment
-##### Home
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-EternalStorageProxy|deployment|378510|378510|378510
-BridgeValidators|deployment|1351491|1351491|1351491
-EternalStorageProxy|upgradeTo|35871|30924|30913
-BridgeValidators|initialize|210762|306607|270900
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-EternalStorageProxy|deployment|378510|378510|378510
-HomeBridgeNativeToErc|deployment|4841729|4841729|4841729
-EternalStorageProxy|upgradeTo|35871|30924|30913
-HomeBridgeNativeToErc|initialize|257416|258312|258003
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-Total| |7551466|7638313|7602275
-
-##### Foreign
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-ERC677BridgeToken|deployment|1463536|1464560|1464170
-EternalStorageProxy|deployment|378510|378510|378510
-BridgeValidators|deployment|1351491|1351491|1351491
-EternalStorageProxy|upgradeTo|35871|30924|30913
-BridgeValidators|initialize|210762|306607|270900
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-EternalStorageProxy|deployment|378510|378510|378510
-ForeignBridgeNativeToErc|deployment|3931739|3931739|3931739
-EternalStorageProxy|upgradeTo|35871|30924|30913
-ForeignBridgeNativeToErc|initialize|281275|281339|281328
-ERC677BridgeToken|setBridgeContract|29432|44432|39432
-ERC677BridgeToken|transferOwnership|30860|30924|30913
-EternalStorageProxy|transferProxyOwnership|30653|30653|30653
-Total| |8189163|8291266|8250125
-
-#### Usage
-
-##### Validators
-
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-To sign at the Home (each validator)|
-HomeBridgeNativeToErc|submitSignature|159816|275743|221116
-To relay signatures from the Home to the Foreign (one validator)|
-ForeignBridgeNativeToErc|executeSignatures|99365|172087|138314
-To sign and relay from the Foreign to the Home (each validator)|
-HomeBridgeNativeToErc|executeAffirmation|67313|133052|102046
-
-##### Users
-
- Contract | Method | Min | Max | Avg
----- | ---- | ---- | ---- | ----
-To request transfer from the Home to the Foreign|
-HomeBridgeNativeToErc|fallback|47848|47848|47848
-To request transfer from the Foreign to the Home|
-ERC677BridgeToken|transferAndCall|58676|166206|92613
diff --git a/flatten.sh b/flatten.sh
index d6c534a05..38ee956aa 100755
--- a/flatten.sh
+++ b/flatten.sh
@@ -4,16 +4,11 @@ if [ -d flats ]; then
rm -rf flats
fi
-mkdir -p flats/native_to_erc20
-mkdir -p flats/erc20_to_erc20
mkdir -p flats/erc20_to_native
mkdir -p flats/validators
mkdir -p flats/arbitrary_message
mkdir -p flats/amb_erc677_to_erc677
mkdir -p flats/upgradeability
-mkdir -p flats/amb_native_to_erc20
-mkdir -p flats/amb_erc20_to_native
-mkdir -p flats/multi_amb_erc20_to_erc677
FLATTENER=./node_modules/.bin/truffle-flattener
BRIDGE_CONTRACTS_DIR=contracts/upgradeable_contracts
@@ -29,25 +24,11 @@ echo "Flattening bridge validators contracts"
${FLATTENER} ${VALIDATOR_CONTRACTS_DIR}/BridgeValidators.sol > flats/validators/BridgeValidators_flat.sol
${FLATTENER} ${VALIDATOR_CONTRACTS_DIR}/RewardableValidators.sol > flats/validators/RewardableValidators_flat.sol
-echo "Flattening contracts related to native-to-erc bridge"
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/native_to_erc20/ForeignBridgeNativeToErc.sol > flats/native_to_erc20/ForeignBridgeNativeToErc_flat.sol
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/native_to_erc20/HomeBridgeNativeToErc.sol > flats/native_to_erc20/HomeBridgeNativeToErc_flat.sol
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/native_to_erc20/FeeManagerNativeToErc.sol > flats/native_to_erc20/FeeManagerNativeToErc_flat.sol
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/native_to_erc20/FeeManagerNativeToErcBothDirections.sol > flats/native_to_erc20/FeeManagerNativeToErcBothDirections_flat.sol
-
-echo "Flattening contracts related to erc-to-erc bridge"
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/erc20_to_erc20/HomeBridgeErcToErc.sol > flats/erc20_to_erc20/HomeBridgeErcToErc_flat.sol
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/erc20_to_erc20/HomeBridgeErcToErcPOSDAO.sol > flats/erc20_to_erc20/HomeBridgeErcToErcPOSDAO_flat.sol
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/erc20_to_erc20/ForeignBridgeErcToErc.sol > flats/erc20_to_erc20/ForeignBridgeErcToErc_flat.sol
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/erc20_to_erc20/ForeignBridgeErc677ToErc677.sol > flats/erc20_to_erc20/ForeignBridgeErc677ToErc677_flat.sol
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/erc20_to_erc20/FeeManagerErcToErcPOSDAO.sol > flats/erc20_to_erc20/FeeManagerErcToErcPOSDAO_flat.sol
-
echo "Flattening contracts related to erc-to-native bridge"
${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/erc20_to_native/HomeBridgeErcToNative.sol > flats/erc20_to_native/HomeBridgeErcToNative_flat.sol
${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/erc20_to_native/ForeignBridgeErcToNative.sol > flats/erc20_to_native/ForeignBridgeErcToNative_flat.sol
${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/erc20_to_native/FeeManagerErcToNative.sol > flats/erc20_to_native/FeeManagerErcToNative_flat.sol
${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/erc20_to_native/FeeManagerErcToNativePOSDAO.sol > flats/erc20_to_native/FeeManagerErcToNativePOSDAO_flat.sol
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/InterestReceiver.sol > flats/InterestReceiver_flat.sol
echo "Flattening contracts related to arbitrary-message bridge"
${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/arbitrary_message/HomeAMB.sol > flats/arbitrary_message/HomeAMB_flat.sol
@@ -57,21 +38,3 @@ ${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/arbitrary_message/ForeignAMBWithGasToken.so
echo "Flattening contracts related to erc677 to erc677 on top of AMB bridge"
${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/amb_erc677_to_erc677/HomeAMBErc677ToErc677.sol > flats/amb_erc677_to_erc677/HomeAMBErc677ToErc677_flat.sol
${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/amb_erc677_to_erc677/ForeignAMBErc677ToErc677.sol > flats/amb_erc677_to_erc677/ForeignAMBErc677ToErc677_flat.sol
-
-echo "Flattening contracts related to stake token mediators"
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/amb_erc677_to_erc677/HomeStakeTokenMediator.sol > flats/amb_erc677_to_erc677/HomeStakeTokenMediator_flat.sol
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/amb_erc677_to_erc677/ForeignStakeTokenMediator.sol > flats/amb_erc677_to_erc677/ForeignStakeTokenMediator_flat.sol
-
-echo "Flattening contracts related to native-to-erc on top of AMB bridge"
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/amb_native_to_erc20/HomeAMBNativeToErc20.sol > flats/amb_native_to_erc20/HomeAMBNativeToErc20_flat.sol
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/amb_native_to_erc20/ForeignAMBNativeToErc20.sol > flats/amb_native_to_erc20/ForeignAMBNativeToErc20_flat.sol
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/amb_native_to_erc20/HomeFeeManagerAMBNativeToErc20.sol > flats/amb_native_to_erc20/HomeFeeManagerAMBNativeToErc20_flat.sol
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/amb_native_to_erc20/ForeignFeeManagerAMBNativeToErc20.sol > flats/amb_native_to_erc20/ForeignFeeManagerAMBNativeToErc20_flat.sol
-
-echo "Flattening contracts related to erc-to-native on top of AMB bridge"
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/amb_erc20_to_native/HomeAMBErc20ToNative.sol > flats/amb_erc20_to_native/HomeAMBErc20ToNative_flat.sol
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/amb_erc20_to_native/ForeignAMBErc20ToNative.sol > flats/amb_erc20_to_native/ForeignAMBErc20ToNative_flat.sol
-
-echo "Flattening contracts related to multi-erc-to-erc on top of AMB bridge"
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/multi_amb_erc20_to_erc677/HomeMultiAMBErc20ToErc677.sol > flats/multi_amb_erc20_to_erc677/HomeMultiAMBErc20ToErc677_flat.sol
-${FLATTENER} ${BRIDGE_CONTRACTS_DIR}/multi_amb_erc20_to_erc677/ForeignMultiAMBErc20ToErc677.sol > flats/multi_amb_erc20_to_erc677/ForeignMultiAMBErc20ToErc677_flat.sol
diff --git a/package-lock.json b/package-lock.json
index 8d37eef88..466f9e386 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,26 +1,62 @@
{
"name": "tokenbridge-contracts",
- "version": "5.7.0-rc0",
- "lockfileVersion": 1,
+ "version": "5.7.0-rc1",
+ "lockfileVersion": 2,
"requires": true,
- "dependencies": {
- "@0x/assert": {
+ "packages": {
+ "": {
+ "version": "5.7.0-rc0",
+ "license": "GPLv3",
+ "dependencies": {
+ "@0x/sol-coverage": "^4.0.10",
+ "@0x/sol-trace": "^3.0.10",
+ "openzeppelin-solidity": "1.12.0",
+ "truffle": "^5.3.2",
+ "truffle-flattener": "^1.4.2",
+ "web3-provider-engine": "^14.0.6"
+ },
+ "devDependencies": {
+ "@codechecks/client": "^0.1.9",
+ "chai": "^4.2.0",
+ "chai-as-promised": "^7.1.1",
+ "chai-bn": "^0.1.1",
+ "eslint": "^6.3.0",
+ "eslint-config-airbnb-base": "^14.0.0",
+ "eslint-config-prettier": "^6.2.0",
+ "eslint-plugin-import": "^2.18.2",
+ "eslint-plugin-node": "^10.0.0",
+ "eslint-plugin-prettier": "^3.0.1",
+ "eth-gas-reporter": "^0.2.11",
+ "ethereumjs-abi": "0.6.8",
+ "ethereumjs-util": "5.2.0",
+ "istanbul": "^0.4.5",
+ "nodemon": "^1.17.3",
+ "prettier": "^1.18.2",
+ "prettier-plugin-solidity": "^1.0.0-alpha.32",
+ "solhint": "^2.2.0",
+ "solhint-plugin-prettier": "0.0.3"
+ }
+ },
+ "node_modules/@0x/assert": {
"version": "3.0.9",
"resolved": "https://registry.npmjs.org/@0x/assert/-/assert-3.0.9.tgz",
"integrity": "sha512-ywQuG8feXtIpRn/3tekPZeXLjKfDJPooA5QJEDxHDv1E5ZjSrKSK6B3wdkVW6NJvNPECw0eKjM50uF2784tbfA==",
- "requires": {
+ "dependencies": {
"@0x/json-schemas": "^5.1.0",
"@0x/typescript-typings": "^5.1.1",
"@0x/utils": "^5.5.1",
"lodash": "^4.17.11",
"valid-url": "^1.0.9"
+ },
+ "engines": {
+ "node": ">=6.12"
}
},
- "@0x/dev-utils": {
+ "node_modules/@0x/dev-utils": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/@0x/dev-utils/-/dev-utils-3.3.0.tgz",
"integrity": "sha512-/SPF/dVrGeYgZMo4vhHjG/YPxEsbnSi3sKA3+R6hySF7AKOH0u+78cUZ1NwrVOhGHToNWmehhci1Ic2BOXxQ9g==",
- "requires": {
+ "dependencies": {
"@0x/subproviders": "^6.1.1",
"@0x/types": "^3.2.0",
"@0x/typescript-typings": "^5.1.1",
@@ -35,53 +71,62 @@
"lodash": "^4.17.11",
"web3-provider-engine": "14.0.6"
},
+ "engines": {
+ "node": ">=6.12"
+ }
+ },
+ "node_modules/@0x/dev-utils/node_modules/@0x/subproviders": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/@0x/subproviders/-/subproviders-6.1.1.tgz",
+ "integrity": "sha512-5rXmQbokPAlq6Am+O/C2QV6VlxKJGREncJ50ymLp0z8Bsyjt864Mgb1sB1ym19Qg6EJEhamQiJzVrrkN4ApbTQ==",
"dependencies": {
- "@0x/subproviders": {
- "version": "6.1.1",
- "resolved": "https://registry.npmjs.org/@0x/subproviders/-/subproviders-6.1.1.tgz",
- "integrity": "sha512-5rXmQbokPAlq6Am+O/C2QV6VlxKJGREncJ50ymLp0z8Bsyjt864Mgb1sB1ym19Qg6EJEhamQiJzVrrkN4ApbTQ==",
- "requires": {
- "@0x/assert": "^3.0.9",
- "@0x/types": "^3.2.0",
- "@0x/typescript-typings": "^5.1.1",
- "@0x/utils": "^5.5.1",
- "@0x/web3-wrapper": "^7.2.0",
- "@ledgerhq/hw-app-eth": "^4.3.0",
- "@ledgerhq/hw-transport-node-hid": "^4.3.0",
- "@ledgerhq/hw-transport-u2f": "4.24.0",
- "@types/hdkey": "^0.7.0",
- "@types/web3-provider-engine": "^14.0.0",
- "bip39": "^2.5.0",
- "bn.js": "^4.11.8",
- "ethereum-types": "^3.2.0",
- "ethereumjs-tx": "^1.3.5",
- "ethereumjs-util": "^5.1.1",
- "ganache-core": "^2.10.2",
- "hdkey": "^0.7.1",
- "json-rpc-error": "2.0.0",
- "lodash": "^4.17.11",
- "semaphore-async-await": "^1.5.1",
- "web3-provider-engine": "14.0.6"
- }
- }
+ "@0x/assert": "^3.0.9",
+ "@0x/types": "^3.2.0",
+ "@0x/typescript-typings": "^5.1.1",
+ "@0x/utils": "^5.5.1",
+ "@0x/web3-wrapper": "^7.2.0",
+ "@ledgerhq/hw-app-eth": "^4.3.0",
+ "@ledgerhq/hw-transport-u2f": "4.24.0",
+ "@types/hdkey": "^0.7.0",
+ "@types/web3-provider-engine": "^14.0.0",
+ "bip39": "^2.5.0",
+ "bn.js": "^4.11.8",
+ "ethereum-types": "^3.2.0",
+ "ethereumjs-tx": "^1.3.5",
+ "ethereumjs-util": "^5.1.1",
+ "ganache-core": "^2.10.2",
+ "hdkey": "^0.7.1",
+ "json-rpc-error": "2.0.0",
+ "lodash": "^4.17.11",
+ "semaphore-async-await": "^1.5.1",
+ "web3-provider-engine": "14.0.6"
+ },
+ "engines": {
+ "node": ">=6.12"
+ },
+ "optionalDependencies": {
+ "@ledgerhq/hw-transport-node-hid": "^4.3.0"
}
},
- "@0x/json-schemas": {
+ "node_modules/@0x/json-schemas": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/@0x/json-schemas/-/json-schemas-5.1.0.tgz",
"integrity": "sha512-qDiCz94AR140puQ0MHT6XyDbmDrvWjw+Zyysmf4tD9PfM8sD+MOhF9dfvaYPNlS51M1CIlOTWZYqo5OUCIBEXQ==",
- "requires": {
+ "dependencies": {
"@0x/typescript-typings": "^5.1.1",
"@types/node": "*",
"jsonschema": "^1.2.0",
"lodash.values": "^4.3.0"
+ },
+ "engines": {
+ "node": ">=6.12"
}
},
- "@0x/sol-compiler": {
+ "node_modules/@0x/sol-compiler": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/@0x/sol-compiler/-/sol-compiler-4.1.1.tgz",
"integrity": "sha512-ktcTBz1m0cRn34t1ZkCn1BzssgLEI3ZLB6+aLq1OZzb3hGha9RW/yzl8UC7K/G/GPAK0rb3ip4t3TYHzIH/3lg==",
- "requires": {
+ "dependencies": {
"@0x/assert": "^3.0.9",
"@0x/json-schemas": "^5.1.0",
"@0x/sol-resolver": "^3.1.0",
@@ -104,101 +149,140 @@
"web3-eth-abi": "^1.0.0-beta.24",
"yargs": "^10.0.3"
},
+ "bin": {
+ "sol-compiler": "bin/sol-compiler.js"
+ },
+ "engines": {
+ "node": ">=6.12"
+ }
+ },
+ "node_modules/@0x/sol-compiler/node_modules/anymatch": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz",
+ "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==",
"dependencies": {
- "anymatch": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz",
- "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==",
- "requires": {
- "normalize-path": "^3.0.0",
- "picomatch": "^2.0.4"
- }
- },
- "binary-extensions": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz",
- "integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ=="
- },
- "braces": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
- "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
- "requires": {
- "fill-range": "^7.0.1"
- }
- },
- "chokidar": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.1.tgz",
- "integrity": "sha512-TQTJyr2stihpC4Sya9hs2Xh+O2wf+igjL36Y75xx2WdHuiICcn/XJza46Jwt0eT5hVpQOzo3FpY3cj3RVYLX0g==",
- "requires": {
- "anymatch": "~3.1.1",
- "braces": "~3.0.2",
- "fsevents": "~2.1.2",
- "glob-parent": "~5.1.0",
- "is-binary-path": "~2.1.0",
- "is-glob": "~4.0.1",
- "normalize-path": "~3.0.0",
- "readdirp": "~3.4.0"
- }
- },
- "fill-range": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
- "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
- "requires": {
- "to-regex-range": "^5.0.1"
- }
- },
- "glob-parent": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",
- "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==",
- "requires": {
- "is-glob": "^4.0.1"
- }
- },
- "is-binary-path": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
- "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
- "requires": {
- "binary-extensions": "^2.0.0"
- }
- },
- "is-number": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
- },
- "readdirp": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz",
- "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==",
- "requires": {
- "picomatch": "^2.2.1"
- }
- },
- "semver": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz",
- "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA=="
- },
- "to-regex-range": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
- "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "requires": {
- "is-number": "^7.0.0"
- }
- }
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
+ },
+ "engines": {
+ "node": ">= 8"
}
},
- "@0x/sol-coverage": {
+ "node_modules/@0x/sol-compiler/node_modules/binary-extensions": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz",
+ "integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@0x/sol-compiler/node_modules/braces": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "dependencies": {
+ "fill-range": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@0x/sol-compiler/node_modules/chokidar": {
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.1.tgz",
+ "integrity": "sha512-TQTJyr2stihpC4Sya9hs2Xh+O2wf+igjL36Y75xx2WdHuiICcn/XJza46Jwt0eT5hVpQOzo3FpY3cj3RVYLX0g==",
+ "dependencies": {
+ "anymatch": "~3.1.1",
+ "braces": "~3.0.2",
+ "glob-parent": "~5.1.0",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.4.0"
+ },
+ "engines": {
+ "node": ">= 8.10.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.1.2"
+ }
+ },
+ "node_modules/@0x/sol-compiler/node_modules/fill-range": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@0x/sol-compiler/node_modules/glob-parent": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",
+ "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/@0x/sol-compiler/node_modules/is-binary-path": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "dependencies": {
+ "binary-extensions": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@0x/sol-compiler/node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/@0x/sol-compiler/node_modules/readdirp": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz",
+ "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==",
+ "dependencies": {
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/@0x/sol-compiler/node_modules/semver": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz",
+ "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==",
+ "bin": {
+ "semver": "bin/semver"
+ }
+ },
+ "node_modules/@0x/sol-compiler/node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/@0x/sol-coverage": {
"version": "4.0.10",
"resolved": "https://registry.npmjs.org/@0x/sol-coverage/-/sol-coverage-4.0.10.tgz",
"integrity": "sha512-mn6fD/rpuKfPzJKbDvtlLqxx5HIUYdzpkg1unzzKHAA7KFzfxEyapuxY3cfXSL1gZsTQBLGeE5SOL7b0LFED5g==",
- "requires": {
+ "dependencies": {
"@0x/sol-tracing-utils": "^7.1.0",
"@0x/subproviders": "^6.1.1",
"@0x/typescript-typings": "^5.1.1",
@@ -208,52 +292,61 @@
"minimatch": "^3.0.4",
"web3-provider-engine": "14.0.6"
},
+ "engines": {
+ "node": ">=6.12"
+ }
+ },
+ "node_modules/@0x/sol-coverage/node_modules/@0x/subproviders": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/@0x/subproviders/-/subproviders-6.1.1.tgz",
+ "integrity": "sha512-5rXmQbokPAlq6Am+O/C2QV6VlxKJGREncJ50ymLp0z8Bsyjt864Mgb1sB1ym19Qg6EJEhamQiJzVrrkN4ApbTQ==",
"dependencies": {
- "@0x/subproviders": {
- "version": "6.1.1",
- "resolved": "https://registry.npmjs.org/@0x/subproviders/-/subproviders-6.1.1.tgz",
- "integrity": "sha512-5rXmQbokPAlq6Am+O/C2QV6VlxKJGREncJ50ymLp0z8Bsyjt864Mgb1sB1ym19Qg6EJEhamQiJzVrrkN4ApbTQ==",
- "requires": {
- "@0x/assert": "^3.0.9",
- "@0x/types": "^3.2.0",
- "@0x/typescript-typings": "^5.1.1",
- "@0x/utils": "^5.5.1",
- "@0x/web3-wrapper": "^7.2.0",
- "@ledgerhq/hw-app-eth": "^4.3.0",
- "@ledgerhq/hw-transport-node-hid": "^4.3.0",
- "@ledgerhq/hw-transport-u2f": "4.24.0",
- "@types/hdkey": "^0.7.0",
- "@types/web3-provider-engine": "^14.0.0",
- "bip39": "^2.5.0",
- "bn.js": "^4.11.8",
- "ethereum-types": "^3.2.0",
- "ethereumjs-tx": "^1.3.5",
- "ethereumjs-util": "^5.1.1",
- "ganache-core": "^2.10.2",
- "hdkey": "^0.7.1",
- "json-rpc-error": "2.0.0",
- "lodash": "^4.17.11",
- "semaphore-async-await": "^1.5.1",
- "web3-provider-engine": "14.0.6"
- }
- }
+ "@0x/assert": "^3.0.9",
+ "@0x/types": "^3.2.0",
+ "@0x/typescript-typings": "^5.1.1",
+ "@0x/utils": "^5.5.1",
+ "@0x/web3-wrapper": "^7.2.0",
+ "@ledgerhq/hw-app-eth": "^4.3.0",
+ "@ledgerhq/hw-transport-u2f": "4.24.0",
+ "@types/hdkey": "^0.7.0",
+ "@types/web3-provider-engine": "^14.0.0",
+ "bip39": "^2.5.0",
+ "bn.js": "^4.11.8",
+ "ethereum-types": "^3.2.0",
+ "ethereumjs-tx": "^1.3.5",
+ "ethereumjs-util": "^5.1.1",
+ "ganache-core": "^2.10.2",
+ "hdkey": "^0.7.1",
+ "json-rpc-error": "2.0.0",
+ "lodash": "^4.17.11",
+ "semaphore-async-await": "^1.5.1",
+ "web3-provider-engine": "14.0.6"
+ },
+ "engines": {
+ "node": ">=6.12"
+ },
+ "optionalDependencies": {
+ "@ledgerhq/hw-transport-node-hid": "^4.3.0"
}
},
- "@0x/sol-resolver": {
+ "node_modules/@0x/sol-resolver": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@0x/sol-resolver/-/sol-resolver-3.1.0.tgz",
"integrity": "sha512-fyOngwc1qzN/rH+lrsGAACnXd8UuTVHkzj423+s3p5I2qhjDrQcxTfJpxQ1Yuc74fb9R0cXFRQto3A9LevjKxA==",
- "requires": {
+ "dependencies": {
"@0x/types": "^3.2.0",
"@0x/typescript-typings": "^5.1.1",
"lodash": "^4.17.11"
+ },
+ "engines": {
+ "node": ">=6.12"
}
},
- "@0x/sol-trace": {
+ "node_modules/@0x/sol-trace": {
"version": "3.0.10",
"resolved": "https://registry.npmjs.org/@0x/sol-trace/-/sol-trace-3.0.10.tgz",
"integrity": "sha512-d7S8hrP+7DJLUJycvTmoFR5vDYxESqt1dOMWQ8fvO10s/Pcs4fdkbLlSnBiqFKn/XSCerPy5q4qk3XqwsppjeQ==",
- "requires": {
+ "dependencies": {
"@0x/sol-tracing-utils": "^7.1.0",
"@0x/subproviders": "^6.1.1",
"@0x/typescript-typings": "^5.1.1",
@@ -264,42 +357,48 @@
"loglevel": "^1.6.1",
"web3-provider-engine": "14.0.6"
},
+ "engines": {
+ "node": ">=6.12"
+ }
+ },
+ "node_modules/@0x/sol-trace/node_modules/@0x/subproviders": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/@0x/subproviders/-/subproviders-6.1.1.tgz",
+ "integrity": "sha512-5rXmQbokPAlq6Am+O/C2QV6VlxKJGREncJ50ymLp0z8Bsyjt864Mgb1sB1ym19Qg6EJEhamQiJzVrrkN4ApbTQ==",
"dependencies": {
- "@0x/subproviders": {
- "version": "6.1.1",
- "resolved": "https://registry.npmjs.org/@0x/subproviders/-/subproviders-6.1.1.tgz",
- "integrity": "sha512-5rXmQbokPAlq6Am+O/C2QV6VlxKJGREncJ50ymLp0z8Bsyjt864Mgb1sB1ym19Qg6EJEhamQiJzVrrkN4ApbTQ==",
- "requires": {
- "@0x/assert": "^3.0.9",
- "@0x/types": "^3.2.0",
- "@0x/typescript-typings": "^5.1.1",
- "@0x/utils": "^5.5.1",
- "@0x/web3-wrapper": "^7.2.0",
- "@ledgerhq/hw-app-eth": "^4.3.0",
- "@ledgerhq/hw-transport-node-hid": "^4.3.0",
- "@ledgerhq/hw-transport-u2f": "4.24.0",
- "@types/hdkey": "^0.7.0",
- "@types/web3-provider-engine": "^14.0.0",
- "bip39": "^2.5.0",
- "bn.js": "^4.11.8",
- "ethereum-types": "^3.2.0",
- "ethereumjs-tx": "^1.3.5",
- "ethereumjs-util": "^5.1.1",
- "ganache-core": "^2.10.2",
- "hdkey": "^0.7.1",
- "json-rpc-error": "2.0.0",
- "lodash": "^4.17.11",
- "semaphore-async-await": "^1.5.1",
- "web3-provider-engine": "14.0.6"
- }
- }
+ "@0x/assert": "^3.0.9",
+ "@0x/types": "^3.2.0",
+ "@0x/typescript-typings": "^5.1.1",
+ "@0x/utils": "^5.5.1",
+ "@0x/web3-wrapper": "^7.2.0",
+ "@ledgerhq/hw-app-eth": "^4.3.0",
+ "@ledgerhq/hw-transport-u2f": "4.24.0",
+ "@types/hdkey": "^0.7.0",
+ "@types/web3-provider-engine": "^14.0.0",
+ "bip39": "^2.5.0",
+ "bn.js": "^4.11.8",
+ "ethereum-types": "^3.2.0",
+ "ethereumjs-tx": "^1.3.5",
+ "ethereumjs-util": "^5.1.1",
+ "ganache-core": "^2.10.2",
+ "hdkey": "^0.7.1",
+ "json-rpc-error": "2.0.0",
+ "lodash": "^4.17.11",
+ "semaphore-async-await": "^1.5.1",
+ "web3-provider-engine": "14.0.6"
+ },
+ "engines": {
+ "node": ">=6.12"
+ },
+ "optionalDependencies": {
+ "@ledgerhq/hw-transport-node-hid": "^4.3.0"
}
},
- "@0x/sol-tracing-utils": {
+ "node_modules/@0x/sol-tracing-utils": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/@0x/sol-tracing-utils/-/sol-tracing-utils-7.1.0.tgz",
"integrity": "sha512-VUn2jcRw4/08esKfP9l1FmAlJ9kzzS+eH7qZ2j7ZfljHVsq5eOtHLObgAVzZithj8DOiGi2ht9OrE/3xLpXQpA==",
- "requires": {
+ "dependencies": {
"@0x/dev-utils": "^3.3.0",
"@0x/sol-compiler": "^4.1.1",
"@0x/sol-resolver": "^3.1.0",
@@ -322,49 +421,21 @@
"solc": "^0.5.5",
"solidity-parser-antlr": "^0.4.2"
},
- "dependencies": {
- "@0x/subproviders": {
- "version": "6.1.1",
- "resolved": "https://registry.npmjs.org/@0x/subproviders/-/subproviders-6.1.1.tgz",
- "integrity": "sha512-5rXmQbokPAlq6Am+O/C2QV6VlxKJGREncJ50ymLp0z8Bsyjt864Mgb1sB1ym19Qg6EJEhamQiJzVrrkN4ApbTQ==",
- "requires": {
- "@0x/assert": "^3.0.9",
- "@0x/types": "^3.2.0",
- "@0x/typescript-typings": "^5.1.1",
- "@0x/utils": "^5.5.1",
- "@0x/web3-wrapper": "^7.2.0",
- "@ledgerhq/hw-app-eth": "^4.3.0",
- "@ledgerhq/hw-transport-node-hid": "^4.3.0",
- "@ledgerhq/hw-transport-u2f": "4.24.0",
- "@types/hdkey": "^0.7.0",
- "@types/web3-provider-engine": "^14.0.0",
- "bip39": "^2.5.0",
- "bn.js": "^4.11.8",
- "ethereum-types": "^3.2.0",
- "ethereumjs-tx": "^1.3.5",
- "ethereumjs-util": "^5.1.1",
- "ganache-core": "^2.10.2",
- "hdkey": "^0.7.1",
- "json-rpc-error": "2.0.0",
- "lodash": "^4.17.11",
- "semaphore-async-await": "^1.5.1",
- "web3-provider-engine": "14.0.6"
- }
- }
+ "engines": {
+ "node": ">=6.12"
}
},
- "@0x/subproviders": {
+ "node_modules/@0x/sol-tracing-utils/node_modules/@0x/subproviders": {
"version": "6.1.1",
"resolved": "https://registry.npmjs.org/@0x/subproviders/-/subproviders-6.1.1.tgz",
"integrity": "sha512-5rXmQbokPAlq6Am+O/C2QV6VlxKJGREncJ50ymLp0z8Bsyjt864Mgb1sB1ym19Qg6EJEhamQiJzVrrkN4ApbTQ==",
- "requires": {
+ "dependencies": {
"@0x/assert": "^3.0.9",
"@0x/types": "^3.2.0",
"@0x/typescript-typings": "^5.1.1",
"@0x/utils": "^5.5.1",
"@0x/web3-wrapper": "^7.2.0",
"@ledgerhq/hw-app-eth": "^4.3.0",
- "@ledgerhq/hw-transport-node-hid": "^4.3.0",
"@ledgerhq/hw-transport-u2f": "4.24.0",
"@types/hdkey": "^0.7.0",
"@types/web3-provider-engine": "^14.0.0",
@@ -379,35 +450,47 @@
"lodash": "^4.17.11",
"semaphore-async-await": "^1.5.1",
"web3-provider-engine": "14.0.6"
+ },
+ "engines": {
+ "node": ">=6.12"
+ },
+ "optionalDependencies": {
+ "@ledgerhq/hw-transport-node-hid": "^4.3.0"
}
},
- "@0x/types": {
+ "node_modules/@0x/types": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@0x/types/-/types-3.2.0.tgz",
"integrity": "sha512-HcYXmz7gYtibJmZQjrQCnzV2FjRoo5b/Ul1QoTeQFAZ2M2ggt1wHspQ7vOkEAZEK/7TE4TKA4MlRwRLa4isL1Q==",
- "requires": {
+ "dependencies": {
"@types/node": "*",
"bignumber.js": "~9.0.0",
"ethereum-types": "^3.2.0"
+ },
+ "engines": {
+ "node": ">=6.12"
}
},
- "@0x/typescript-typings": {
+ "node_modules/@0x/typescript-typings": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/@0x/typescript-typings/-/typescript-typings-5.1.1.tgz",
"integrity": "sha512-a8/uKPNStHORFQzI/DDEq4ixb4IricPogAJ3P17YnNYr/yF3HwXEu6+cFxs4qi1fr0zGoPe7D3XtqtR+dX/ajQ==",
- "requires": {
+ "dependencies": {
"@types/bn.js": "^4.11.0",
"@types/react": "*",
"bignumber.js": "~9.0.0",
"ethereum-types": "^3.2.0",
"popper.js": "1.14.3"
+ },
+ "engines": {
+ "node": ">=6.12"
}
},
- "@0x/utils": {
+ "node_modules/@0x/utils": {
"version": "5.5.1",
"resolved": "https://registry.npmjs.org/@0x/utils/-/utils-5.5.1.tgz",
"integrity": "sha512-UreVm7R/qEv1v4dVccb4Y6Oz13o8ko2vB10sdNrPAGbstqx3NfdEBkylNxD7I8Bkta/BIwHrLbtCN3jni8CSeg==",
- "requires": {
+ "dependencies": {
"@0x/types": "^3.2.0",
"@0x/typescript-typings": "^5.1.1",
"@types/node": "*",
@@ -421,13 +504,16 @@
"isomorphic-fetch": "2.2.1",
"js-sha3": "^0.7.0",
"lodash": "^4.17.11"
+ },
+ "engines": {
+ "node": ">=6.12"
}
},
- "@0x/web3-wrapper": {
+ "node_modules/@0x/web3-wrapper": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/@0x/web3-wrapper/-/web3-wrapper-7.2.0.tgz",
"integrity": "sha512-5jRr5Xl/co5VZB2sCFiokuRwuPc2BENeSVuXll/+YNmytP5+C+7oDvVt6GrGP3j5921GIr4EhusZMbvOFw1oKQ==",
- "requires": {
+ "dependencies": {
"@0x/assert": "^3.0.9",
"@0x/json-schemas": "^5.1.0",
"@0x/typescript-typings": "^5.1.1",
@@ -436,1869 +522,42538 @@
"ethereumjs-util": "^5.1.1",
"ethers": "~4.0.4",
"lodash": "^4.17.11"
+ },
+ "engines": {
+ "node": ">=6.12"
}
},
- "@babel/code-frame": {
- "version": "7.5.5",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz",
- "integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==",
- "dev": true,
- "requires": {
- "@babel/highlight": "^7.0.0"
+ "node_modules/@apollo/client": {
+ "version": "3.3.15",
+ "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.3.15.tgz",
+ "integrity": "sha512-/WQmNvLEZMA0mA3u+FkEPTXKzxZD/KhyO7WlbKcy3zKGrXKza83tAbNMzsitQE7DTcSc3DLEcIu1Z5Rc7PFq0Q==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-typed-document-node/core": "^3.0.0",
+ "@types/zen-observable": "^0.8.0",
+ "@wry/context": "^0.6.0",
+ "@wry/equality": "^0.4.0",
+ "fast-json-stable-stringify": "^2.0.0",
+ "graphql-tag": "^2.12.0",
+ "hoist-non-react-statics": "^3.3.2",
+ "optimism": "^0.15.0",
+ "prop-types": "^15.7.2",
+ "symbol-observable": "^2.0.0",
+ "ts-invariant": "^0.7.0",
+ "tslib": "^1.10.0",
+ "zen-observable": "^0.8.14"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0",
+ "react": "^16.8.0 || ^17.0.0",
+ "subscriptions-transport-ws": "^0.9.0"
+ },
+ "peerDependenciesMeta": {
+ "react": {
+ "optional": true
+ },
+ "subscriptions-transport-ws": {
+ "optional": true
+ }
}
},
- "@babel/highlight": {
- "version": "7.5.0",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz",
- "integrity": "sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==",
- "dev": true,
- "requires": {
- "chalk": "^2.0.0",
- "esutils": "^2.0.2",
- "js-tokens": "^4.0.0"
+ "node_modules/@apollo/client/node_modules/ts-invariant": {
+ "version": "0.7.3",
+ "resolved": "https://registry.npmjs.org/ts-invariant/-/ts-invariant-0.7.3.tgz",
+ "integrity": "sha512-UWDDeovyUTIMWj+45g5nhnl+8oo+GhxL5leTaHn5c8FkQWfh8v66gccLd2/YzVmV5hoQUjCEjhrXnQqVDJdvKA==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=8"
}
},
- "@codechecks/client": {
- "version": "0.1.9",
- "resolved": "https://registry.npmjs.org/@codechecks/client/-/client-0.1.9.tgz",
- "integrity": "sha512-ch8F7InQDKOXbp1J5j6Xpu707Zt8I2L/ljCLMDNa+d6T/YYBBxDJPnACLdALEjrmBLOhsCWJIK3+mLRxQsXiOQ==",
- "dev": true,
- "requires": {
- "bluebird": "^3.5.3",
- "chalk": "^2.4.2",
- "commander": "^2.19.0",
- "debug": "^4.1.1",
- "execa": "^1.0.0",
- "glob": "^7.1.3",
- "graceful-fs": "^4.1.15",
- "js-yaml": "^3.13.1",
- "json5": "^2.1.0",
- "lodash": "^4.17.11",
- "marked": "^0.7.0",
- "marked-terminal": "^3.3.0",
- "mkdirp": "^0.5.1",
- "ms": "^2.1.1",
- "promise": "^8.0.2",
- "request": "^2.88.0",
- "request-promise": "^4.2.2",
- "ts-essentials": "^1.0.2",
- "ts-node": "^8.0.2",
- "url-join": "^4.0.0"
+ "node_modules/@apollo/client/node_modules/ts-invariant/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@apollo/client/node_modules/tslib": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",
+ "optional": true
+ },
+ "node_modules/@apollo/protobufjs": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@apollo/protobufjs/-/protobufjs-1.0.5.tgz",
+ "integrity": "sha512-ZtyaBH1icCgqwIGb3zrtopV2D5Q8yxibkJzlaViM08eOhTQc7rACdYu0pfORFfhllvdMZ3aq69vifYHszY4gNA==",
+ "hasInstallScript": true,
+ "optional": true,
+ "dependencies": {
+ "@protobufjs/aspromise": "^1.1.2",
+ "@protobufjs/base64": "^1.1.2",
+ "@protobufjs/codegen": "^2.0.4",
+ "@protobufjs/eventemitter": "^1.1.0",
+ "@protobufjs/fetch": "^1.1.0",
+ "@protobufjs/float": "^1.0.2",
+ "@protobufjs/inquire": "^1.1.0",
+ "@protobufjs/path": "^1.1.2",
+ "@protobufjs/pool": "^1.1.0",
+ "@protobufjs/utf8": "^1.1.0",
+ "@types/long": "^4.0.0",
+ "@types/node": "^10.1.0",
+ "long": "^4.0.0"
},
+ "bin": {
+ "apollo-pbjs": "bin/pbjs",
+ "apollo-pbts": "bin/pbts"
+ }
+ },
+ "node_modules/@apollographql/apollo-tools": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@apollographql/apollo-tools/-/apollo-tools-0.4.9.tgz",
+ "integrity": "sha512-M50pk8oo3CGTu4waGOklIX3YtTZoPfWG9K/G9WB8NpyQGA1OwYTiBFv94XqUtKElTDoFwoMXpMQd3Wy5dINvxA==",
+ "optional": true,
"dependencies": {
- "commander": {
- "version": "2.20.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz",
- "integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==",
- "dev": true
- },
- "cross-spawn": {
- "version": "6.0.5",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
- "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
- "dev": true,
- "requires": {
- "nice-try": "^1.0.4",
- "path-key": "^2.0.1",
- "semver": "^5.5.0",
- "shebang-command": "^1.2.0",
- "which": "^1.2.9"
- }
- },
- "debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "dev": true,
- "requires": {
- "ms": "^2.1.1"
- }
- },
- "execa": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
- "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
- "dev": true,
- "requires": {
- "cross-spawn": "^6.0.0",
- "get-stream": "^4.0.0",
- "is-stream": "^1.1.0",
- "npm-run-path": "^2.0.0",
- "p-finally": "^1.0.0",
- "signal-exit": "^3.0.0",
- "strip-eof": "^1.0.0"
- }
- },
- "get-stream": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
- "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
- "dev": true,
- "requires": {
- "pump": "^3.0.0"
- }
- },
- "glob": {
- "version": "7.1.4",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
- "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
- "dev": true,
- "requires": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- }
- },
- "json5": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.0.tgz",
- "integrity": "sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ==",
- "dev": true,
- "requires": {
- "minimist": "^1.2.0"
- }
- },
- "minimist": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
- "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
- "dev": true
- },
- "ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
- },
- "pump": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
- "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
- "dev": true,
- "requires": {
- "end-of-stream": "^1.1.0",
- "once": "^1.3.1"
- }
- }
+ "apollo-env": "^0.6.6"
+ },
+ "engines": {
+ "node": ">=8",
+ "npm": ">=6"
}
},
- "@ledgerhq/devices": {
- "version": "4.78.0",
- "resolved": "https://registry.npmjs.org/@ledgerhq/devices/-/devices-4.78.0.tgz",
- "integrity": "sha512-tWKS5WM/UU82czihnVjRwz9SXNTQzWjGJ/7+j/xZ70O86nlnGJ1aaFbs5/WTzfrVKpOKgj1ZoZkAswX67i/JTw==",
- "requires": {
- "@ledgerhq/errors": "^4.78.0",
- "@ledgerhq/logs": "^4.72.0",
- "rxjs": "^6.5.3"
- },
+ "node_modules/@apollographql/graphql-playground-html": {
+ "version": "1.6.27",
+ "resolved": "https://registry.npmjs.org/@apollographql/graphql-playground-html/-/graphql-playground-html-1.6.27.tgz",
+ "integrity": "sha512-tea2LweZvn6y6xFV11K0KC8ETjmm52mQrW+ezgB2O/aTQf8JGyFmMcRPFgUaQZeHbWdm8iisDC6EjOKsXu0nfw==",
+ "optional": true,
"dependencies": {
- "rxjs": {
- "version": "6.6.0",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.0.tgz",
- "integrity": "sha512-3HMA8z/Oz61DUHe+SdOiQyzIf4tOx5oQHmMir7IZEu6TMqCLHT4LRcmNaUS0NwOz8VLvmmBduMsoaUvMaIiqzg==",
- "requires": {
- "tslib": "^1.9.0"
- }
- }
+ "xss": "^1.0.8"
}
},
- "@ledgerhq/errors": {
- "version": "4.78.0",
- "resolved": "https://registry.npmjs.org/@ledgerhq/errors/-/errors-4.78.0.tgz",
- "integrity": "sha512-FX6zHZeiNtegBvXabK6M5dJ+8OV8kQGGaGtuXDeK/Ss5EmG4Ltxc6Lnhe8hiHpm9pCHtktOsnUVL7IFBdHhYUg=="
+ "node_modules/@apollographql/graphql-upload-8-fork": {
+ "version": "8.1.3",
+ "resolved": "https://registry.npmjs.org/@apollographql/graphql-upload-8-fork/-/graphql-upload-8-fork-8.1.3.tgz",
+ "integrity": "sha512-ssOPUT7euLqDXcdVv3Qs4LoL4BPtfermW1IOouaqEmj36TpHYDmYDIbKoSQxikd9vtMumFnP87OybH7sC9fJ6g==",
+ "optional": true,
+ "dependencies": {
+ "@types/express": "*",
+ "@types/fs-capacitor": "*",
+ "@types/koa": "*",
+ "busboy": "^0.3.1",
+ "fs-capacitor": "^2.0.4",
+ "http-errors": "^1.7.3",
+ "object-path": "^0.11.4"
+ },
+ "engines": {
+ "node": ">=8.5"
+ },
+ "peerDependencies": {
+ "graphql": "0.13.1 - 15"
+ }
},
- "@ledgerhq/hw-app-eth": {
- "version": "4.78.0",
- "resolved": "https://registry.npmjs.org/@ledgerhq/hw-app-eth/-/hw-app-eth-4.78.0.tgz",
- "integrity": "sha512-m4s4Zhy4lwYJjZB3xPeGV/8mxQcnoui+Eu1KDEl6atsquZHUpbtern/0hZl88+OlFUz0XrX34W3I9cqj61Y6KA==",
- "requires": {
- "@ledgerhq/errors": "^4.78.0",
- "@ledgerhq/hw-transport": "^4.78.0"
+ "node_modules/@ardatan/aggregate-error": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/@ardatan/aggregate-error/-/aggregate-error-0.0.6.tgz",
+ "integrity": "sha512-vyrkEHG1jrukmzTPtyWB4NLPauUw5bQeg4uhn8f+1SSynmrOcyvlb1GKQjjgoBzElLdfXCRYX8UnBlhklOHYRQ==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "~2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
}
},
- "@ledgerhq/hw-transport": {
- "version": "4.78.0",
- "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-4.78.0.tgz",
- "integrity": "sha512-xQu16OMPQjFYLjqCysij+8sXtdWv2YLxPrB6FoLvEWGTlQ7yL1nUBRQyzyQtWIYqZd4THQowQmzm1VjxuN6SZw==",
- "requires": {
- "@ledgerhq/devices": "^4.78.0",
- "@ledgerhq/errors": "^4.78.0",
- "events": "^3.0.0"
+ "node_modules/@ardatan/aggregate-error/node_modules/tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ },
+ "node_modules/@babel/code-frame": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz",
+ "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==",
+ "devOptional": true,
+ "dependencies": {
+ "@babel/highlight": "^7.12.13"
}
},
- "@ledgerhq/hw-transport-node-hid": {
- "version": "4.78.0",
- "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-node-hid/-/hw-transport-node-hid-4.78.0.tgz",
- "integrity": "sha512-OMrY2ecfQ1XjMAuuHqu3n3agMPR06HN1s0ENrKc+Twbb5A17jujpv07WzjxfTN2V1G7vgeZpRqrg2ulhowWbdg==",
+ "node_modules/@babel/compat-data": {
+ "version": "7.13.15",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.13.15.tgz",
+ "integrity": "sha512-ltnibHKR1VnrU4ymHyQ/CXtNXI6yZC0oJThyW78Hft8XndANwi+9H+UIklBDraIjFEJzw8wmcM427oDd9KS5wA==",
+ "optional": true
+ },
+ "node_modules/@babel/core": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.13.16.tgz",
+ "integrity": "sha512-sXHpixBiWWFti0AV2Zq7avpTasr6sIAu7Y396c608541qAU2ui4a193m0KSQmfPSKFZLnQ3cvlKDOm3XkuXm3Q==",
"optional": true,
- "requires": {
- "@ledgerhq/devices": "^4.78.0",
- "@ledgerhq/errors": "^4.78.0",
- "@ledgerhq/hw-transport": "^4.78.0",
- "@ledgerhq/hw-transport-node-hid-noevents": "^4.78.0",
- "@ledgerhq/logs": "^4.72.0",
- "lodash": "^4.17.15",
- "node-hid": "^0.7.9",
- "usb": "^1.6.0"
+ "dependencies": {
+ "@babel/code-frame": "^7.12.13",
+ "@babel/generator": "^7.13.16",
+ "@babel/helper-compilation-targets": "^7.13.16",
+ "@babel/helper-module-transforms": "^7.13.14",
+ "@babel/helpers": "^7.13.16",
+ "@babel/parser": "^7.13.16",
+ "@babel/template": "^7.12.13",
+ "@babel/traverse": "^7.13.15",
+ "@babel/types": "^7.13.16",
+ "convert-source-map": "^1.7.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.2",
+ "json5": "^2.1.2",
+ "semver": "^6.3.0",
+ "source-map": "^0.5.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/babel"
}
},
- "@ledgerhq/hw-transport-node-hid-noevents": {
- "version": "4.78.0",
- "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-node-hid-noevents/-/hw-transport-node-hid-noevents-4.78.0.tgz",
- "integrity": "sha512-CJPVR4wksq+apiXH2GnsttguBxmj9zdM2HjqZ3dHZN8SFW/9Xj3k+baS+pYoUISkECVxDrdfaW3Bd5dWv+jPUg==",
+ "node_modules/@babel/core/node_modules/debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
"optional": true,
- "requires": {
- "@ledgerhq/devices": "^4.78.0",
- "@ledgerhq/errors": "^4.78.0",
- "@ledgerhq/hw-transport": "^4.78.0",
- "@ledgerhq/logs": "^4.72.0",
- "node-hid": "^0.7.9"
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
}
},
- "@ledgerhq/hw-transport-u2f": {
- "version": "4.24.0",
- "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-u2f/-/hw-transport-u2f-4.24.0.tgz",
- "integrity": "sha512-/gFjhkM0sJfZ7iUf8HoIkGufAWgPacrbb1LW0TvWnZwvsATVJ1BZJBtrr90Wo401PKsjVwYtFt3Ce4gOAUv9jQ==",
- "requires": {
- "@ledgerhq/hw-transport": "^4.24.0",
- "u2f-api": "0.2.7"
+ "node_modules/@babel/core/node_modules/json5": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz",
+ "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
+ "optional": true,
+ "dependencies": {
+ "minimist": "^1.2.5"
+ },
+ "bin": {
+ "json5": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=6"
}
},
- "@ledgerhq/logs": {
- "version": "4.72.0",
- "resolved": "https://registry.npmjs.org/@ledgerhq/logs/-/logs-4.72.0.tgz",
- "integrity": "sha512-o+TYF8vBcyySRsb2kqBDv/KMeme8a2nwWoG+lAWzbDmWfb2/MrVWYCVYDYvjXdSoI/Cujqy1i0gIDrkdxa9chA=="
+ "node_modules/@babel/core/node_modules/minimist": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
+ "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
+ "optional": true
},
- "@resolver-engine/core": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/@resolver-engine/core/-/core-0.2.1.tgz",
- "integrity": "sha512-nsLQHmPJ77QuifqsIvqjaF5B9aHnDzJjp73Q1z6apY3e9nqYrx4Dtowhpsf7Jwftg/XzVDEMQC+OzUBNTS+S1A==",
- "requires": {
- "debug": "^3.1.0",
- "request": "^2.85.0"
- }
+ "node_modules/@babel/core/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "optional": true
},
- "@resolver-engine/fs": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/@resolver-engine/fs/-/fs-0.2.1.tgz",
- "integrity": "sha512-7kJInM1Qo2LJcKyDhuYzh9ZWd+mal/fynfL9BNjWOiTcOpX+jNfqb/UmGUqros5pceBITlWGqS4lU709yHFUbg==",
- "requires": {
- "@resolver-engine/core": "^0.2.1",
- "debug": "^3.1.0"
+ "node_modules/@babel/core/node_modules/semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+ "optional": true,
+ "bin": {
+ "semver": "bin/semver.js"
}
},
- "@resolver-engine/imports": {
- "version": "0.2.2",
- "resolved": "https://registry.npmjs.org/@resolver-engine/imports/-/imports-0.2.2.tgz",
- "integrity": "sha512-u5/HUkvo8q34AA+hnxxqqXGfby5swnH0Myw91o3Sm2TETJlNKXibFGSKBavAH+wvWdBi4Z5gS2Odu0PowgVOUg==",
- "requires": {
- "@resolver-engine/core": "^0.2.1",
- "debug": "^3.1.0",
- "hosted-git-info": "^2.6.0"
+ "node_modules/@babel/generator": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.13.16.tgz",
+ "integrity": "sha512-grBBR75UnKOcUWMp8WoDxNsWCFl//XCK6HWTrBQKTr5SV9f5g0pNOjdyzi/DTBv12S9GnYPInIXQBTky7OXEMg==",
+ "optional": true,
+ "dependencies": {
+ "@babel/types": "^7.13.16",
+ "jsesc": "^2.5.1",
+ "source-map": "^0.5.0"
}
},
- "@resolver-engine/imports-fs": {
- "version": "0.2.2",
- "resolved": "https://registry.npmjs.org/@resolver-engine/imports-fs/-/imports-fs-0.2.2.tgz",
- "integrity": "sha512-gFCgMvCwyppjwq0UzIjde/WI+yDs3oatJhozG9xdjJdewwtd7LiF0T5i9lrHAUtqrQbqoFE4E+ZMRVHWpWHpKQ==",
- "requires": {
- "@resolver-engine/fs": "^0.2.1",
- "@resolver-engine/imports": "^0.2.2",
- "debug": "^3.1.0"
+ "node_modules/@babel/generator/node_modules/jsesc": {
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
+ "optional": true,
+ "bin": {
+ "jsesc": "bin/jsesc"
+ },
+ "engines": {
+ "node": ">=4"
}
},
- "@sindresorhus/is": {
- "version": "0.14.0",
- "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
- "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ=="
+ "node_modules/@babel/helper-annotate-as-pure": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.12.13.tgz",
+ "integrity": "sha512-7YXfX5wQ5aYM/BOlbSccHDbuXXFPxeoUmfWtz8le2yTkTZc+BxsiEnENFoi2SlmA8ewDkG2LgIMIVzzn2h8kfw==",
+ "optional": true,
+ "dependencies": {
+ "@babel/types": "^7.12.13"
+ }
},
- "@szmarczak/http-timer": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz",
- "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==",
- "requires": {
- "defer-to-connect": "^1.0.1"
+ "node_modules/@babel/helper-compilation-targets": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.16.tgz",
+ "integrity": "sha512-3gmkYIrpqsLlieFwjkGgLaSHmhnvlAYzZLlYVjlW+QwI+1zE17kGxuJGmIqDQdYp56XdmGeD+Bswx0UTyG18xA==",
+ "optional": true,
+ "dependencies": {
+ "@babel/compat-data": "^7.13.15",
+ "@babel/helper-validator-option": "^7.12.17",
+ "browserslist": "^4.14.5",
+ "semver": "^6.3.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
}
},
- "@types/bn.js": {
- "version": "4.11.6",
- "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz",
- "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==",
- "requires": {
- "@types/node": "*"
+ "node_modules/@babel/helper-compilation-targets/node_modules/browserslist": {
+ "version": "4.16.4",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.4.tgz",
+ "integrity": "sha512-d7rCxYV8I9kj41RH8UKYnvDYCRENUlHRgyXy/Rhr/1BaeLGfiCptEdFE8MIrvGfWbBFNjVYx76SQWvNX1j+/cQ==",
+ "optional": true,
+ "dependencies": {
+ "caniuse-lite": "^1.0.30001208",
+ "colorette": "^1.2.2",
+ "electron-to-chromium": "^1.3.712",
+ "escalade": "^3.1.1",
+ "node-releases": "^1.1.71"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
}
},
- "@types/concat-stream": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/@types/concat-stream/-/concat-stream-1.6.0.tgz",
- "integrity": "sha1-OU2+C7X+5Gs42JZzXoto7yOQ0A0=",
- "dev": true,
- "requires": {
- "@types/node": "*"
+ "node_modules/@babel/helper-compilation-targets/node_modules/semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+ "optional": true,
+ "bin": {
+ "semver": "bin/semver.js"
}
},
- "@types/ethereum-protocol": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@types/ethereum-protocol/-/ethereum-protocol-1.0.1.tgz",
- "integrity": "sha512-vxym5Cnkvms5yRwCDzuaavAtesRflY4oqYDULqQSghLmX5snurmDEz+rbUJbq2vDc4TBvji6dV+891N3VHQXhw==",
- "requires": {
- "bignumber.js": "7.2.1"
+ "node_modules/@babel/helper-create-class-features-plugin": {
+ "version": "7.13.11",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.13.11.tgz",
+ "integrity": "sha512-ays0I7XYq9xbjCSvT+EvysLgfc3tOkwCULHjrnscGT3A9qD4sk3wXnJ3of0MAWsWGjdinFvajHU2smYuqXKMrw==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-member-expression-to-functions": "^7.13.0",
+ "@babel/helper-optimise-call-expression": "^7.12.13",
+ "@babel/helper-replace-supers": "^7.13.0",
+ "@babel/helper-split-export-declaration": "^7.12.13"
},
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-function-name": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz",
+ "integrity": "sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA==",
+ "optional": true,
"dependencies": {
- "bignumber.js": {
- "version": "7.2.1",
- "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-7.2.1.tgz",
- "integrity": "sha512-S4XzBk5sMB+Rcb/LNcpzXr57VRTxgAvaAEDAl1AwRx27j00hT84O6OkteE7u8UB3NuaaygCRrEpqox4uDOrbdQ=="
- }
+ "@babel/helper-get-function-arity": "^7.12.13",
+ "@babel/template": "^7.12.13",
+ "@babel/types": "^7.12.13"
}
},
- "@types/form-data": {
- "version": "0.0.33",
- "resolved": "https://registry.npmjs.org/@types/form-data/-/form-data-0.0.33.tgz",
- "integrity": "sha1-yayFsqX9GENbjIXZ7LUObWyJP/g=",
- "dev": true,
- "requires": {
- "@types/node": "*"
+ "node_modules/@babel/helper-get-function-arity": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz",
+ "integrity": "sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg==",
+ "optional": true,
+ "dependencies": {
+ "@babel/types": "^7.12.13"
}
},
- "@types/hdkey": {
- "version": "0.7.1",
- "resolved": "https://registry.npmjs.org/@types/hdkey/-/hdkey-0.7.1.tgz",
- "integrity": "sha512-4Kkr06hq+R8a9EzVNqXGOY2x1xA7dhY6qlp6OvaZ+IJy1BCca1Cv126RD9X7CMJoXoLo8WvAizy8gQHpqW6K0Q==",
- "requires": {
- "@types/node": "*"
+ "node_modules/@babel/helper-member-expression-to-functions": {
+ "version": "7.13.12",
+ "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.12.tgz",
+ "integrity": "sha512-48ql1CLL59aKbU94Y88Xgb2VFy7a95ykGRbJJaaVv+LX5U8wFpLfiGXJJGUozsmA1oEh/o5Bp60Voq7ACyA/Sw==",
+ "optional": true,
+ "dependencies": {
+ "@babel/types": "^7.13.12"
}
},
- "@types/minimatch": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",
- "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA=="
+ "node_modules/@babel/helper-module-imports": {
+ "version": "7.13.12",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.13.12.tgz",
+ "integrity": "sha512-4cVvR2/1B693IuOvSI20xqqa/+bl7lqAMR59R4iu39R9aOX8/JoYY1sFaNvUMyMBGnHdwvJgUrzNLoUZxXypxA==",
+ "optional": true,
+ "dependencies": {
+ "@babel/types": "^7.13.12"
+ }
},
- "@types/node": {
- "version": "10.14.4",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.4.tgz",
- "integrity": "sha512-DT25xX/YgyPKiHFOpNuANIQIVvYEwCWXgK2jYYwqgaMrYE6+tq+DtmMwlD3drl6DJbUwtlIDnn0d7tIn/EbXBg=="
+ "node_modules/@babel/helper-module-transforms": {
+ "version": "7.13.14",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.13.14.tgz",
+ "integrity": "sha512-QuU/OJ0iAOSIatyVZmfqB0lbkVP0kDRiKj34xy+QNsnVZi/PA6BoSoreeqnxxa9EHFAIL0R9XOaAR/G9WlIy5g==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.13.12",
+ "@babel/helper-replace-supers": "^7.13.12",
+ "@babel/helper-simple-access": "^7.13.12",
+ "@babel/helper-split-export-declaration": "^7.12.13",
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "@babel/template": "^7.12.13",
+ "@babel/traverse": "^7.13.13",
+ "@babel/types": "^7.13.14"
+ }
},
- "@types/pbkdf2": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/@types/pbkdf2/-/pbkdf2-3.1.0.tgz",
- "integrity": "sha512-Cf63Rv7jCQ0LaL8tNXmEyqTHuIJxRdlS5vMh1mj5voN4+QFhVZnlZruezqpWYDiJ8UTzhP0VmeLXCmBk66YrMQ==",
- "requires": {
- "@types/node": "*"
+ "node_modules/@babel/helper-optimise-call-expression": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.13.tgz",
+ "integrity": "sha512-BdWQhoVJkp6nVjB7nkFWcn43dkprYauqtk++Py2eaf/GRDFm5BxRqEIZCiHlZUGAVmtwKcsVL1dC68WmzeFmiA==",
+ "optional": true,
+ "dependencies": {
+ "@babel/types": "^7.12.13"
}
},
- "@types/prop-types": {
- "version": "15.7.3",
- "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.3.tgz",
- "integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw=="
+ "node_modules/@babel/helper-plugin-utils": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.13.0.tgz",
+ "integrity": "sha512-ZPafIPSwzUlAoWT8DKs1W2VyF2gOWthGd5NGFMsBcMMol+ZhK+EQY/e6V96poa6PA/Bh+C9plWN0hXO1uB8AfQ==",
+ "optional": true
},
- "@types/qs": {
- "version": "6.5.3",
- "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.5.3.tgz",
- "integrity": "sha512-Jugo5V/1bS0fRhy2z8+cUAHEyWOATaz4rbyLVvcFs7+dXp5HfwpEwzF1Q11bB10ApUqHf+yTauxI0UXQDwGrbA==",
- "dev": true
+ "node_modules/@babel/helper-replace-supers": {
+ "version": "7.13.12",
+ "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.13.12.tgz",
+ "integrity": "sha512-Gz1eiX+4yDO8mT+heB94aLVNCL+rbuT2xy4YfyNqu8F+OI6vMvJK891qGBTqL9Uc8wxEvRW92Id6G7sDen3fFw==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-member-expression-to-functions": "^7.13.12",
+ "@babel/helper-optimise-call-expression": "^7.12.13",
+ "@babel/traverse": "^7.13.0",
+ "@babel/types": "^7.13.12"
+ }
},
- "@types/react": {
- "version": "16.9.43",
- "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.43.tgz",
- "integrity": "sha512-PxshAFcnJqIWYpJbLPriClH53Z2WlJcVZE+NP2etUtWQs2s7yIMj3/LDKZT/5CHJ/F62iyjVCDu2H3jHEXIxSg==",
- "requires": {
- "@types/prop-types": "*",
- "csstype": "^2.2.0"
+ "node_modules/@babel/helper-simple-access": {
+ "version": "7.13.12",
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.13.12.tgz",
+ "integrity": "sha512-7FEjbrx5SL9cWvXioDbnlYTppcZGuCY6ow3/D5vMggb2Ywgu4dMrpTJX0JdQAIcRRUElOIxF3yEooa9gUb9ZbA==",
+ "optional": true,
+ "dependencies": {
+ "@babel/types": "^7.13.12"
}
},
- "@types/secp256k1": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@types/secp256k1/-/secp256k1-4.0.1.tgz",
- "integrity": "sha512-+ZjSA8ELlOp8SlKi0YLB2tz9d5iPNEmOBd+8Rz21wTMdaXQIa9b6TEnD6l5qKOCypE7FSyPyck12qZJxSDNoog==",
- "requires": {
- "@types/node": "*"
+ "node_modules/@babel/helper-skip-transparent-expression-wrappers": {
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.12.1.tgz",
+ "integrity": "sha512-Mf5AUuhG1/OCChOJ/HcADmvcHM42WJockombn8ATJG3OnyiSxBK/Mm5x78BQWvmtXZKHgbjdGL2kin/HOLlZGA==",
+ "optional": true,
+ "dependencies": {
+ "@babel/types": "^7.12.1"
}
},
- "@types/solidity-parser-antlr": {
- "version": "0.2.3",
- "resolved": "https://registry.npmjs.org/@types/solidity-parser-antlr/-/solidity-parser-antlr-0.2.3.tgz",
- "integrity": "sha512-FoSyZT+1TTaofbEtGW1oC9wHND1YshvVeHerME/Jh6gIdHbBAWFW8A97YYqO/dpHcFjIwEPEepX0Efl2ckJgwA=="
+ "node_modules/@babel/helper-split-export-declaration": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz",
+ "integrity": "sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg==",
+ "optional": true,
+ "dependencies": {
+ "@babel/types": "^7.12.13"
+ }
},
- "@types/web3-provider-engine": {
- "version": "14.0.0",
- "resolved": "https://registry.npmjs.org/@types/web3-provider-engine/-/web3-provider-engine-14.0.0.tgz",
- "integrity": "sha512-yHr8mX2SoX3JNyfqdLXdO1UobsGhfiwSgtekbVxKLQrzD7vtpPkKbkIVsPFOhvekvNbPsCmDyeDCLkpeI9gSmA==",
- "requires": {
- "@types/ethereum-protocol": "*"
+ "node_modules/@babel/helper-validator-identifier": {
+ "version": "7.12.11",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz",
+ "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==",
+ "devOptional": true
+ },
+ "node_modules/@babel/helper-validator-option": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.12.17.tgz",
+ "integrity": "sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw==",
+ "optional": true
+ },
+ "node_modules/@babel/helpers": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.13.16.tgz",
+ "integrity": "sha512-x5otxUaLpdWHl02P4L94wBU+2BJXBkvO+6d6uzQ+xD9/h2hTSAwA5O8QV8GqKx/l8i+VYmKKQg9e2QGTa2Wu3Q==",
+ "optional": true,
+ "dependencies": {
+ "@babel/template": "^7.12.13",
+ "@babel/traverse": "^7.13.15",
+ "@babel/types": "^7.13.16"
}
},
- "@types/yargs": {
- "version": "11.1.5",
- "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-11.1.5.tgz",
- "integrity": "sha512-1jmXgoIyzxQSm33lYgEXvegtkhloHbed2I0QGlTN66U2F9/ExqJWSCSmaWC0IB/g1tW+IYSp+tDhcZBYB1ZGog=="
+ "node_modules/@babel/highlight": {
+ "version": "7.13.10",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.13.10.tgz",
+ "integrity": "sha512-5aPpe5XQPzflQrFwL1/QoeHkP2MsA4JCntcXHRhEsdsfPVkvPi2w7Qix4iV7t5S/oC9OodGrggd8aco1g3SZFg==",
+ "devOptional": true,
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "chalk": "^2.0.0",
+ "js-tokens": "^4.0.0"
+ }
},
- "JSONStream": {
- "version": "1.3.5",
- "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz",
- "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==",
- "requires": {
- "jsonparse": "^1.2.0",
- "through": ">=2.2.7 <3"
+ "node_modules/@babel/parser": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.16.tgz",
+ "integrity": "sha512-6bAg36mCwuqLO0hbR+z7PHuqWiCeP7Dzg73OpQwsAB1Eb8HnGEz5xYBzCfbu+YjoaJsJs+qheDxVAuqbt3ILEw==",
+ "optional": true,
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
}
},
- "abbrev": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
- "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
- "dev": true
+ "node_modules/@babel/plugin-proposal-class-properties": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.13.0.tgz",
+ "integrity": "sha512-KnTDjFNC1g+45ka0myZNvSBFLhNCLN+GeGYLDEA8Oq7MZ6yMgfLoIRh86GRT0FjtJhZw8JyUskP9uvj5pHM9Zg==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-create-class-features-plugin": "^7.13.0",
+ "@babel/helper-plugin-utils": "^7.13.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "abi-decoder": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/abi-decoder/-/abi-decoder-2.2.0.tgz",
- "integrity": "sha512-FVgkAvPRNa08E85Q+t52KlGto8XZeQITmCYdRIWHHth/t/pgdpAzZijy3LKUCBqmJjXnrosj4c6WGOB1q+KJ9w==",
- "dev": true,
- "requires": {
- "web3-eth-abi": "^1.2.1",
- "web3-utils": "^1.2.1"
+ "node_modules/@babel/plugin-proposal-object-rest-spread": {
+ "version": "7.13.8",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.13.8.tgz",
+ "integrity": "sha512-DhB2EuB1Ih7S3/IRX5AFVgZ16k3EzfRbq97CxAVI1KSYcW+lexV8VZb7G7L8zuPVSdQMRn0kiBpf/Yzu9ZKH0g==",
+ "optional": true,
+ "dependencies": {
+ "@babel/compat-data": "^7.13.8",
+ "@babel/helper-compilation-targets": "^7.13.8",
+ "@babel/helper-plugin-utils": "^7.13.0",
+ "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
+ "@babel/plugin-transform-parameters": "^7.13.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "abortcontroller-polyfill": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.4.0.tgz",
- "integrity": "sha512-3ZFfCRfDzx3GFjO6RAkYx81lPGpUS20ISxux9gLxuKnqafNcFQo59+IoZqpO2WvQlyc287B62HDnDdNYRmlvWA=="
+ "node_modules/@babel/plugin-syntax-class-properties": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz",
+ "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "abstract-leveldown": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-2.6.3.tgz",
- "integrity": "sha512-2++wDf/DYqkPR3o5tbfdhF96EfMApo1GpPfzOsR/ZYXdkSmELlvOOEAl9iKkRsktMPHdGjO4rtkBpf2I7TiTeA==",
- "requires": {
- "xtend": "~4.0.0"
+ "node_modules/@babel/plugin-syntax-flow": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.12.13.tgz",
+ "integrity": "sha512-J/RYxnlSLXZLVR7wTRsozxKT8qbsx1mNKJzXEEjQ0Kjx1ZACcyHgbanNWNCFtc36IzuWhYWPpvJFFoexoOWFmA==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "acorn": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.1.tgz",
- "integrity": "sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg==",
- "dev": true
+ "node_modules/@babel/plugin-syntax-jsx": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.13.tgz",
+ "integrity": "sha512-d4HM23Q1K7oq/SLNmG6mRt85l2csmQ0cHRaxRXjKW0YFdEXqlZ5kzFQKH5Uc3rDJECgu+yCRgPkG04Mm98R/1g==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "acorn-jsx": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.2.tgz",
- "integrity": "sha512-tiNTrP1MP0QrChmD2DdupCr6HWSFeKVw5d/dHTu4Y7rkAkRhU/Dt7dphAfIUyxtHpl/eBVip5uTNSpQJHylpAw==",
- "dev": true
+ "node_modules/@babel/plugin-syntax-object-rest-spread": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz",
+ "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "aes-js": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz",
- "integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0="
+ "node_modules/@babel/plugin-transform-arrow-functions": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.13.0.tgz",
+ "integrity": "sha512-96lgJagobeVmazXFaDrbmCLQxBysKu7U6Do3mLsx27gf5Dk85ezysrs2BZUpXD703U/Su1xTBDxxar2oa4jAGg==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.13.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "agent-base": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz",
- "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==",
- "requires": {
- "es6-promisify": "^5.0.0"
+ "node_modules/@babel/plugin-transform-block-scoped-functions": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.12.13.tgz",
+ "integrity": "sha512-zNyFqbc3kI/fVpqwfqkg6RvBgFpC4J18aKKMmv7KdQ/1GgREapSJAykLMVNwfRGO3BtHj3YQZl8kxCXPcVMVeg==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "agentkeepalive": {
- "version": "3.5.2",
- "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-3.5.2.tgz",
- "integrity": "sha512-e0L/HNe6qkQ7H19kTlRRqUibEAwDK5AFk6y3PtMsuut2VAH6+Q4xZml1tNDJD7kSAyqmbG/K08K5WEJYtUrSlQ==",
- "requires": {
- "humanize-ms": "^1.2.1"
+ "node_modules/@babel/plugin-transform-block-scoping": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.13.16.tgz",
+ "integrity": "sha512-ad3PHUxGnfWF4Efd3qFuznEtZKoBp0spS+DgqzVzRPV7urEBvPLue3y2j80w4Jf2YLzZHj8TOv/Lmvdmh3b2xg==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.13.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "ajv": {
- "version": "6.10.0",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz",
- "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==",
- "requires": {
- "fast-deep-equal": "^2.0.1",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.4.1",
- "uri-js": "^4.2.2"
+ "node_modules/@babel/plugin-transform-classes": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.13.0.tgz",
+ "integrity": "sha512-9BtHCPUARyVH1oXGcSJD3YpsqRLROJx5ZNP6tN5vnk17N0SVf9WCtf8Nuh1CFmgByKKAIMstitKduoCmsaDK5g==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.12.13",
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-optimise-call-expression": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.13.0",
+ "@babel/helper-replace-supers": "^7.13.0",
+ "@babel/helper-split-export-declaration": "^7.12.13",
+ "globals": "^11.1.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "amdefine": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz",
- "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=",
- "optional": true
+ "node_modules/@babel/plugin-transform-computed-properties": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.13.0.tgz",
+ "integrity": "sha512-RRqTYTeZkZAz8WbieLTvKUEUxZlUTdmL5KGMyZj7FnMfLNKV4+r5549aORG/mgojRmFlQMJDUupwAMiF2Q7OUg==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.13.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "ansi-align": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-2.0.0.tgz",
- "integrity": "sha1-w2rsy6VjuJzrVW82kPCx2eNUf38=",
- "dev": true,
- "requires": {
- "string-width": "^2.0.0"
+ "node_modules/@babel/plugin-transform-destructuring": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.13.0.tgz",
+ "integrity": "sha512-zym5em7tePoNT9s964c0/KU3JPPnuq7VhIxPRefJ4/s82cD+q1mgKfuGRDMCPL0HTyKz4dISuQlCusfgCJ86HA==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.13.0"
},
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-flow-strip-types": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.13.0.tgz",
+ "integrity": "sha512-EXAGFMJgSX8gxWD7PZtW/P6M+z74jpx3wm/+9pn+c2dOawPpBkUX7BrfyPvo6ZpXbgRIEuwgwDb/MGlKvu2pOg==",
+ "optional": true,
"dependencies": {
- "ansi-regex": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
- "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
- "dev": true
- },
- "is-fullwidth-code-point": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
- "dev": true
- },
- "string-width": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
- "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
- "dev": true,
- "requires": {
- "is-fullwidth-code-point": "^2.0.0",
- "strip-ansi": "^4.0.0"
- }
- },
- "strip-ansi": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
- "dev": true,
- "requires": {
- "ansi-regex": "^3.0.0"
- }
- }
+ "@babel/helper-plugin-utils": "^7.13.0",
+ "@babel/plugin-syntax-flow": "^7.12.13"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "ansi-escapes": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz",
- "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==",
- "dev": true
+ "node_modules/@babel/plugin-transform-for-of": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.13.0.tgz",
+ "integrity": "sha512-IHKT00mwUVYE0zzbkDgNRP6SRzvfGCYsOxIRz8KsiaaHCcT9BWIkO+H9QRJseHBLOGBZkHUdHiqj6r0POsdytg==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.13.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "ansi-regex": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
- "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
+ "node_modules/@babel/plugin-transform-function-name": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.12.13.tgz",
+ "integrity": "sha512-6K7gZycG0cmIwwF7uMK/ZqeCikCGVBdyP2J5SKNCXO5EOHcqi+z7Jwf8AmyDNcBgxET8DrEtCt/mPKPyAzXyqQ==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "requires": {
- "color-convert": "^1.9.0"
+ "node_modules/@babel/plugin-transform-literals": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.12.13.tgz",
+ "integrity": "sha512-FW+WPjSR7hiUxMcKqyNjP05tQ2kmBCdpEpZHY1ARm96tGQCCBvXKnpjILtDplUnJ/eHZ0lALLM+d2lMFSpYJrQ==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "ansicolors": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz",
- "integrity": "sha1-ZlWX3oap/+Oqm/vmyuXG6kJrSXk=",
- "dev": true
+ "node_modules/@babel/plugin-transform-member-expression-literals": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.12.13.tgz",
+ "integrity": "sha512-kxLkOsg8yir4YeEPHLuO2tXP9R/gTjpuTOjshqSpELUN3ZAg2jfDnKUvzzJxObun38sw3wm4Uu69sX/zA7iRvg==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "antlr4": {
- "version": "4.7.1",
- "resolved": "https://registry.npmjs.org/antlr4/-/antlr4-4.7.1.tgz",
- "integrity": "sha512-haHyTW7Y9joE5MVs37P2lNYfU2RWBLfcRDD8OWldcdZm5TiCE91B5Xl1oWSwiDUSd4rlExpt2pu1fksYQjRBYQ==",
- "dev": true
+ "node_modules/@babel/plugin-transform-modules-commonjs": {
+ "version": "7.13.8",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.13.8.tgz",
+ "integrity": "sha512-9QiOx4MEGglfYZ4XOnU79OHr6vIWUakIj9b4mioN8eQIoEh+pf5p/zEB36JpDFWA12nNMiRf7bfoRvl9Rn79Bw==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-module-transforms": "^7.13.0",
+ "@babel/helper-plugin-utils": "^7.13.0",
+ "@babel/helper-simple-access": "^7.12.13",
+ "babel-plugin-dynamic-import-node": "^2.3.3"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "anymatch": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",
- "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",
- "dev": true,
- "requires": {
- "micromatch": "^3.1.4",
- "normalize-path": "^2.1.1"
+ "node_modules/@babel/plugin-transform-object-super": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.12.13.tgz",
+ "integrity": "sha512-JzYIcj3XtYspZDV8j9ulnoMPZZnF/Cj0LUxPOjR89BdBVx+zYJI9MdMIlUZjbXDX+6YVeS6I3e8op+qQ3BYBoQ==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/helper-replace-supers": "^7.12.13"
},
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-parameters": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.13.0.tgz",
+ "integrity": "sha512-Jt8k/h/mIwE2JFEOb3lURoY5C85ETcYPnbuAJ96zRBzh1XHtQZfs62ChZ6EP22QlC8c7Xqr9q+e1SU5qttwwjw==",
+ "optional": true,
"dependencies": {
- "normalize-path": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
- "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
- "dev": true,
- "requires": {
- "remove-trailing-separator": "^1.0.1"
- }
- }
+ "@babel/helper-plugin-utils": "^7.13.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "app-module-path": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/app-module-path/-/app-module-path-2.2.0.tgz",
- "integrity": "sha1-ZBqlXft9am8KgUHEucCqULbCTdU="
+ "node_modules/@babel/plugin-transform-property-literals": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.12.13.tgz",
+ "integrity": "sha512-nqVigwVan+lR+g8Fj8Exl0UQX2kymtjcWfMOYM1vTYEKujeyv2SkMgazf2qNcK7l4SDiKyTA/nHCPqL4e2zo1A==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "aproba": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",
- "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw=="
+ "node_modules/@babel/plugin-transform-react-display-name": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.12.13.tgz",
+ "integrity": "sha512-MprESJzI9O5VnJZrL7gg1MpdqmiFcUv41Jc7SahxYsNP2kDkFqClxxTZq+1Qv4AFCamm+GXMRDQINNn+qrxmiA==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "are-we-there-yet": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz",
- "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==",
+ "node_modules/@babel/plugin-transform-react-jsx": {
+ "version": "7.13.12",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.13.12.tgz",
+ "integrity": "sha512-jcEI2UqIcpCqB5U5DRxIl0tQEProI2gcu+g8VTIqxLO5Iidojb4d77q+fwGseCvd8af/lJ9masp4QWzBXFE2xA==",
"optional": true,
- "requires": {
- "delegates": "^1.0.0",
- "readable-stream": "^2.0.6"
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.12.13",
+ "@babel/helper-module-imports": "^7.13.12",
+ "@babel/helper-plugin-utils": "^7.13.0",
+ "@babel/plugin-syntax-jsx": "^7.12.13",
+ "@babel/types": "^7.13.12"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "arg": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.1.tgz",
- "integrity": "sha512-SlmP3fEA88MBv0PypnXZ8ZfJhwmDeIE3SP71j37AiXQBXYosPV0x6uISAaHYSlSVhmHOVkomen0tbGk6Anlebw==",
- "dev": true
+ "node_modules/@babel/plugin-transform-shorthand-properties": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.12.13.tgz",
+ "integrity": "sha512-xpL49pqPnLtf0tVluuqvzWIgLEhuPpZzvs2yabUHSKRNlN7ScYU7aMlmavOeyXJZKgZKQRBlh8rHbKiJDraTSw==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "argparse": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
- "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
- "requires": {
- "sprintf-js": "~1.0.2"
+ "node_modules/@babel/plugin-transform-spread": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.13.0.tgz",
+ "integrity": "sha512-V6vkiXijjzYeFmQTr3dBxPtZYLPcUfY34DebOU27jIl2M/Y8Egm52Hw82CSjjPqd54GTlJs5x+CR7HeNr24ckg==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.13.0",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.12.1"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "arr-diff": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz",
- "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=",
- "dev": true
+ "node_modules/@babel/plugin-transform-template-literals": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.13.0.tgz",
+ "integrity": "sha512-d67umW6nlfmr1iehCcBv69eSUSySk1EsIS8aTDX4Xo9qajAh6mYtcl4kJrBkGXuxZPEgVr7RVfAvNW6YQkd4Mw==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.13.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "arr-flatten": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",
- "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==",
- "dev": true
+ "node_modules/@babel/runtime": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.13.16.tgz",
+ "integrity": "sha512-7VsWJsI5USRhBLE/3of+VU2DDNWtYHQlq2IHu2iL15+Yx4qVqP8KllR6JMHQlTKWRyDk9Tw6unkqSusaHXt//A==",
+ "dependencies": {
+ "regenerator-runtime": "^0.13.4"
+ }
},
- "arr-union": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz",
- "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=",
- "dev": true
+ "node_modules/@babel/runtime/node_modules/regenerator-runtime": {
+ "version": "0.13.7",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz",
+ "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew=="
},
- "array-includes": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz",
- "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=",
- "dev": true,
- "requires": {
- "define-properties": "^1.1.2",
- "es-abstract": "^1.7.0"
+ "node_modules/@babel/template": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.12.13.tgz",
+ "integrity": "sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==",
+ "optional": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.12.13",
+ "@babel/parser": "^7.12.13",
+ "@babel/types": "^7.12.13"
}
},
- "array-unique": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
- "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=",
- "dev": true
+ "node_modules/@babel/traverse": {
+ "version": "7.13.15",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.15.tgz",
+ "integrity": "sha512-/mpZMNvj6bce59Qzl09fHEs8Bt8NnpEDQYleHUPZQ3wXUMvXi+HJPLars68oAbmp839fGoOkv2pSL2z9ajCIaQ==",
+ "optional": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.12.13",
+ "@babel/generator": "^7.13.9",
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-split-export-declaration": "^7.12.13",
+ "@babel/parser": "^7.13.15",
+ "@babel/types": "^7.13.14",
+ "debug": "^4.1.0",
+ "globals": "^11.1.0"
+ }
},
- "asap": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
- "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=",
- "dev": true
+ "node_modules/@babel/traverse/node_modules/debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "optional": true,
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
},
- "asn1": {
- "version": "0.2.4",
- "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
- "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",
- "requires": {
- "safer-buffer": "~2.1.0"
+ "node_modules/@babel/traverse/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "optional": true
+ },
+ "node_modules/@babel/types": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.13.16.tgz",
+ "integrity": "sha512-7enM8Wxhrl1hB1+k6+xO6RmxpNkaveRWkdpyii8DkrLWRgr0l3x29/SEuhTIkP+ynHsU/Hpjn8Evd/axv/ll6Q==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "to-fast-properties": "^2.0.0"
}
},
- "assert-plus": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
- "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
+ "node_modules/@babel/types/node_modules/to-fast-properties": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
+ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
+ "optional": true,
+ "engines": {
+ "node": ">=4"
+ }
},
- "assertion-error": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz",
- "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw=="
+ "node_modules/@codechecks/client": {
+ "version": "0.1.9",
+ "resolved": "https://registry.npmjs.org/@codechecks/client/-/client-0.1.9.tgz",
+ "integrity": "sha512-ch8F7InQDKOXbp1J5j6Xpu707Zt8I2L/ljCLMDNa+d6T/YYBBxDJPnACLdALEjrmBLOhsCWJIK3+mLRxQsXiOQ==",
+ "dev": true,
+ "dependencies": {
+ "bluebird": "^3.5.3",
+ "chalk": "^2.4.2",
+ "commander": "^2.19.0",
+ "debug": "^4.1.1",
+ "execa": "^1.0.0",
+ "glob": "^7.1.3",
+ "graceful-fs": "^4.1.15",
+ "js-yaml": "^3.13.1",
+ "json5": "^2.1.0",
+ "lodash": "^4.17.11",
+ "marked": "^0.7.0",
+ "marked-terminal": "^3.3.0",
+ "mkdirp": "^0.5.1",
+ "ms": "^2.1.1",
+ "promise": "^8.0.2",
+ "request": "^2.88.0",
+ "request-promise": "^4.2.2",
+ "ts-essentials": "^1.0.2",
+ "ts-node": "^8.0.2",
+ "url-join": "^4.0.0"
+ },
+ "bin": {
+ "codechecks": "dist/runner.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
},
- "assign-symbols": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",
- "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=",
+ "node_modules/@codechecks/client/node_modules/commander": {
+ "version": "2.20.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz",
+ "integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==",
"dev": true
},
- "astral-regex": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz",
- "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==",
- "dev": true
+ "node_modules/@codechecks/client/node_modules/cross-spawn": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
+ "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
+ "dev": true,
+ "dependencies": {
+ "nice-try": "^1.0.4",
+ "path-key": "^2.0.1",
+ "semver": "^5.5.0",
+ "shebang-command": "^1.2.0",
+ "which": "^1.2.9"
+ },
+ "engines": {
+ "node": ">=4.8"
+ }
},
- "async": {
- "version": "1.5.2",
- "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz",
- "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo="
+ "node_modules/@codechecks/client/node_modules/debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "dev": true,
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
},
- "async-each": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.2.tgz",
- "integrity": "sha512-6xrbvN0MOBKSJDdonmSSz2OwFSgxRaVtBDes26mj9KIGtDo+g9xosFRSC+i1gQh2oAN/tQ62AI/pGZGQjVOiRg==",
- "dev": true
+ "node_modules/@codechecks/client/node_modules/execa": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
+ "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
+ "dev": true,
+ "dependencies": {
+ "cross-spawn": "^6.0.0",
+ "get-stream": "^4.0.0",
+ "is-stream": "^1.1.0",
+ "npm-run-path": "^2.0.0",
+ "p-finally": "^1.0.0",
+ "signal-exit": "^3.0.0",
+ "strip-eof": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
},
- "async-eventemitter": {
- "version": "0.2.4",
- "resolved": "https://registry.npmjs.org/async-eventemitter/-/async-eventemitter-0.2.4.tgz",
- "integrity": "sha512-pd20BwL7Yt1zwDFy+8MX8F1+WCT8aQeKj0kQnTrH9WaeRETlRamVhD0JtRPmrV4GfOJ2F9CvdQkZeZhnh2TuHw==",
- "requires": {
- "async": "^2.4.0"
+ "node_modules/@codechecks/client/node_modules/get-stream": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
+ "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
+ "dev": true,
+ "dependencies": {
+ "pump": "^3.0.0"
},
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@codechecks/client/node_modules/glob": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
+ "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
+ "dev": true,
"dependencies": {
- "async": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
- "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
- "requires": {
- "lodash": "^4.17.14"
- }
- }
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
}
},
- "async-limiter": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz",
- "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ=="
+ "node_modules/@codechecks/client/node_modules/json5": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.0.tgz",
+ "integrity": "sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ==",
+ "dev": true,
+ "dependencies": {
+ "minimist": "^1.2.0"
+ },
+ "bin": {
+ "json5": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
},
- "asynckit": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
- "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
+ "node_modules/@codechecks/client/node_modules/minimist": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
+ "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
+ "dev": true
},
- "atob": {
+ "node_modules/@codechecks/client/node_modules/ms": {
"version": "2.1.2",
- "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
- "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
"dev": true
},
- "aws-sign2": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
- "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
- },
- "aws4": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz",
- "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ=="
+ "node_modules/@codechecks/client/node_modules/pump": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "dev": true,
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
},
- "babel-code-frame": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz",
- "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=",
- "requires": {
- "chalk": "^1.1.3",
- "esutils": "^2.0.2",
- "js-tokens": "^3.0.2"
- },
+ "node_modules/@consento/sync-randombytes": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@consento/sync-randombytes/-/sync-randombytes-1.0.5.tgz",
+ "integrity": "sha512-mPJ2XvrTLQGEdhleDuSIkWtVWnvmhREOC1FjorV1nlK49t/52Z9X1d618gTj6nlQghRLiYvcd8oL4vZ2YZuDIQ==",
+ "optional": true,
"dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- }
- },
- "js-tokens": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
- "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls="
- },
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
- }
+ "buffer": "^5.4.3",
+ "seedrandom": "^3.0.5"
}
},
- "babel-core": {
- "version": "6.26.3",
- "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz",
- "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==",
- "requires": {
- "babel-code-frame": "^6.26.0",
- "babel-generator": "^6.26.0",
- "babel-helpers": "^6.24.1",
- "babel-messages": "^6.23.0",
- "babel-register": "^6.26.0",
- "babel-runtime": "^6.26.0",
- "babel-template": "^6.26.0",
- "babel-traverse": "^6.26.0",
- "babel-types": "^6.26.0",
- "babylon": "^6.18.0",
- "convert-source-map": "^1.5.1",
- "debug": "^2.6.9",
- "json5": "^0.5.1",
- "lodash": "^4.17.4",
- "minimatch": "^3.0.4",
- "path-is-absolute": "^1.0.1",
- "private": "^0.1.8",
- "slash": "^1.0.0",
- "source-map": "^0.5.7"
- },
+ "node_modules/@ethersproject/abi": {
+ "version": "5.0.7",
+ "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.0.7.tgz",
+ "integrity": "sha512-Cqktk+hSIckwP/W8O47Eef60VwmoSC/L3lY0+dIBhQPCNn9E4V7rwmm2aFrNRRDJfFlGuZ1khkQUOc3oBX+niw==",
"dependencies": {
- "debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "requires": {
- "ms": "2.0.0"
- }
+ "@ethersproject/address": "^5.0.4",
+ "@ethersproject/bignumber": "^5.0.7",
+ "@ethersproject/bytes": "^5.0.4",
+ "@ethersproject/constants": "^5.0.4",
+ "@ethersproject/hash": "^5.0.4",
+ "@ethersproject/keccak256": "^5.0.3",
+ "@ethersproject/logger": "^5.0.5",
+ "@ethersproject/properties": "^5.0.3",
+ "@ethersproject/strings": "^5.0.4"
+ }
+ },
+ "node_modules/@ethersproject/abstract-provider": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.1.0.tgz",
+ "integrity": "sha512-8dJUnT8VNvPwWhYIau4dwp7qe1g+KgdRm4XTWvjkI9gAT2zZa90WF5ApdZ3vl1r6NDmnn6vUVvyphClRZRteTQ==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
}
+ ],
+ "dependencies": {
+ "@ethersproject/bignumber": "^5.1.0",
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "@ethersproject/networks": "^5.1.0",
+ "@ethersproject/properties": "^5.1.0",
+ "@ethersproject/transactions": "^5.1.0",
+ "@ethersproject/web": "^5.1.0"
}
},
- "babel-generator": {
- "version": "6.26.1",
- "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz",
- "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==",
- "requires": {
- "babel-messages": "^6.23.0",
- "babel-runtime": "^6.26.0",
- "babel-types": "^6.26.0",
- "detect-indent": "^4.0.0",
- "jsesc": "^1.3.0",
- "lodash": "^4.17.4",
- "source-map": "^0.5.7",
- "trim-right": "^1.0.1"
- },
+ "node_modules/@ethersproject/abstract-signer": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.1.0.tgz",
+ "integrity": "sha512-qQDMkjGZSSJSKl6AnfTgmz9FSnzq3iEoEbHTYwjDlEAv+LNP7zd4ixCcVWlWyk+2siud856M5CRhAmPdupeN9w==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
+ }
+ ],
"dependencies": {
- "jsesc": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz",
- "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s="
+ "@ethersproject/abstract-provider": "^5.1.0",
+ "@ethersproject/bignumber": "^5.1.0",
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "@ethersproject/properties": "^5.1.0"
+ }
+ },
+ "node_modules/@ethersproject/address": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.1.0.tgz",
+ "integrity": "sha512-rfWQR12eHn2cpstCFS4RF7oGjfbkZb0oqep+BfrT+gWEGWG2IowJvIsacPOvzyS1jhNF4MQ4BS59B04Mbovteg==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
}
+ ],
+ "dependencies": {
+ "@ethersproject/bignumber": "^5.1.0",
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/keccak256": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "@ethersproject/rlp": "^5.1.0"
}
},
- "babel-helper-builder-binary-assignment-operator-visitor": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz",
- "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=",
- "requires": {
- "babel-helper-explode-assignable-expression": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
+ "node_modules/@ethersproject/base64": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.1.0.tgz",
+ "integrity": "sha512-npD1bLvK4Bcxz+m4EMkx+F8Rd7CnqS9DYnhNu0/GlQBXhWjvfoAZzk5HJ0f1qeyp8d+A86PTuzLOGOXf4/CN8g==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
+ }
+ ],
+ "dependencies": {
+ "@ethersproject/bytes": "^5.1.0"
}
},
- "babel-helper-call-delegate": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz",
- "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=",
- "requires": {
- "babel-helper-hoist-variables": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
+ "node_modules/@ethersproject/bignumber": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.1.1.tgz",
+ "integrity": "sha512-AVz5iqz7+70RIqoQTznsdJ6DOVBYciNlvO+AlQmPTB6ofCvoihI9bQdr6wljsX+d5W7Yc4nyvQvP4JMzg0Agig==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
+ }
+ ],
+ "dependencies": {
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "bn.js": "^4.4.0"
}
},
- "babel-helper-define-map": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz",
- "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=",
- "requires": {
- "babel-helper-function-name": "^6.24.1",
- "babel-runtime": "^6.26.0",
- "babel-types": "^6.26.0",
- "lodash": "^4.17.4"
+ "node_modules/@ethersproject/bytes": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.1.0.tgz",
+ "integrity": "sha512-sGTxb+LVjFxJcJeUswAIK6ncgOrh3D8c192iEJd7mLr95V6du119rRfYT/b87WPkZ5I3gRBUYIYXtdgCWACe8g==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
+ }
+ ],
+ "dependencies": {
+ "@ethersproject/logger": "^5.1.0"
}
},
- "babel-helper-explode-assignable-expression": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz",
- "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=",
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
+ "node_modules/@ethersproject/constants": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.1.0.tgz",
+ "integrity": "sha512-0/SuHrxc8R8k+JiLmJymxHJbojUDWBQqO+b+XFdwaP0jGzqC09YDy/CAlSZB6qHsBifY8X3I89HcK/oMqxRdBw==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
+ }
+ ],
+ "dependencies": {
+ "@ethersproject/bignumber": "^5.1.0"
}
},
- "babel-helper-function-name": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz",
- "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=",
- "requires": {
- "babel-helper-get-function-arity": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
+ "node_modules/@ethersproject/hash": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.1.0.tgz",
+ "integrity": "sha512-fNwry20yLLPpnRRwm3fBL+2ksgO+KMadxM44WJmRIoTKzy4269+rbq9KFoe2LTqq2CXJM2CE70beGaNrpuqflQ==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
+ }
+ ],
+ "dependencies": {
+ "@ethersproject/abstract-signer": "^5.1.0",
+ "@ethersproject/address": "^5.1.0",
+ "@ethersproject/bignumber": "^5.1.0",
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/keccak256": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "@ethersproject/properties": "^5.1.0",
+ "@ethersproject/strings": "^5.1.0"
}
},
- "babel-helper-get-function-arity": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz",
- "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=",
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
+ "node_modules/@ethersproject/keccak256": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.1.0.tgz",
+ "integrity": "sha512-vrTB1W6AEYoadww5c9UyVJ2YcSiyIUTNDRccZIgwTmFFoSHwBtcvG1hqy9RzJ1T0bMdATbM9Hfx2mJ6H0i7Hig==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
+ }
+ ],
+ "dependencies": {
+ "@ethersproject/bytes": "^5.1.0",
+ "js-sha3": "0.5.7"
}
},
- "babel-helper-hoist-variables": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz",
- "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=",
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
+ "node_modules/@ethersproject/keccak256/node_modules/js-sha3": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz",
+ "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc="
+ },
+ "node_modules/@ethersproject/logger": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.1.0.tgz",
+ "integrity": "sha512-wtUaD1lBX10HBXjjKV9VHCBnTdUaKQnQ2XSET1ezglqLdPdllNOIlLfhyCRqXm5xwcjExVI5ETokOYfjPtaAlw==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
+ }
+ ]
+ },
+ "node_modules/@ethersproject/networks": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.1.0.tgz",
+ "integrity": "sha512-A/NIrIED/G/IgU1XUukOA3WcFRxn2I4O5GxsYGA5nFlIi+UZWdGojs85I1VXkR1gX9eFnDXzjE6OtbgZHjFhIA==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
+ }
+ ],
+ "dependencies": {
+ "@ethersproject/logger": "^5.1.0"
}
},
- "babel-helper-optimise-call-expression": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz",
- "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=",
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
+ "node_modules/@ethersproject/properties": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.1.0.tgz",
+ "integrity": "sha512-519KKTwgmH42AQL3+GFV3SX6khYEfHsvI6v8HYejlkigSDuqttdgVygFTDsGlofNFchhDwuclrxQnD5B0YLNMg==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
+ }
+ ],
+ "dependencies": {
+ "@ethersproject/logger": "^5.1.0"
}
},
- "babel-helper-regex": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz",
- "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=",
- "requires": {
- "babel-runtime": "^6.26.0",
- "babel-types": "^6.26.0",
- "lodash": "^4.17.4"
+ "node_modules/@ethersproject/rlp": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.1.0.tgz",
+ "integrity": "sha512-vDTyHIwNPrecy55gKGZ47eJZhBm8LLBxihzi5ou+zrSvYTpkSTWRcKUlXFDFQVwfWB+P5PGyERAdiDEI76clxw==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
+ }
+ ],
+ "dependencies": {
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0"
}
},
- "babel-helper-remap-async-to-generator": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz",
- "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=",
- "requires": {
- "babel-helper-function-name": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
+ "node_modules/@ethersproject/signing-key": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.1.0.tgz",
+ "integrity": "sha512-tE5LFlbmdObG8bY04NpuwPWSRPgEswfxweAI1sH7TbP0ml1elNfqcq7ii/3AvIN05i5U0Pkm3Tf8bramt8MmLw==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
+ }
+ ],
+ "dependencies": {
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "@ethersproject/properties": "^5.1.0",
+ "bn.js": "^4.4.0",
+ "elliptic": "6.5.4"
}
},
- "babel-helper-replace-supers": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz",
- "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=",
- "requires": {
- "babel-helper-optimise-call-expression": "^6.24.1",
- "babel-messages": "^6.23.0",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
+ "node_modules/@ethersproject/signing-key/node_modules/bn.js": {
+ "version": "4.12.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",
+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="
+ },
+ "node_modules/@ethersproject/signing-key/node_modules/elliptic": {
+ "version": "6.5.4",
+ "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz",
+ "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==",
+ "dependencies": {
+ "bn.js": "^4.11.9",
+ "brorand": "^1.1.0",
+ "hash.js": "^1.0.0",
+ "hmac-drbg": "^1.0.1",
+ "inherits": "^2.0.4",
+ "minimalistic-assert": "^1.0.1",
+ "minimalistic-crypto-utils": "^1.0.1"
}
},
- "babel-helpers": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz",
- "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=",
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
+ "node_modules/@ethersproject/signing-key/node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
+ },
+ "node_modules/@ethersproject/strings": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.1.0.tgz",
+ "integrity": "sha512-perBZy0RrmmL0ejiFGUOlBVjMsUceqLut3OBP3zP96LhiJWWbS8u1NqQVgN4/Gyrbziuda66DxiQocXhsvx+Sw==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
+ }
+ ],
+ "dependencies": {
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/constants": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0"
}
},
- "babel-messages": {
- "version": "6.23.0",
- "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz",
- "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=",
- "requires": {
- "babel-runtime": "^6.22.0"
+ "node_modules/@ethersproject/transactions": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.1.1.tgz",
+ "integrity": "sha512-Nwgbp09ttIVN0OoUBatCXaHxR7grWPHbozJN8v7AXDLrl6nnOIBEMDh+yJTnosSQlFhcyjfTGGN+Mx6R8HdvMw==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
+ }
+ ],
+ "dependencies": {
+ "@ethersproject/address": "^5.1.0",
+ "@ethersproject/bignumber": "^5.1.0",
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/constants": "^5.1.0",
+ "@ethersproject/keccak256": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "@ethersproject/properties": "^5.1.0",
+ "@ethersproject/rlp": "^5.1.0",
+ "@ethersproject/signing-key": "^5.1.0"
}
},
- "babel-plugin-check-es2015-constants": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz",
- "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=",
- "requires": {
- "babel-runtime": "^6.22.0"
+ "node_modules/@ethersproject/web": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.1.0.tgz",
+ "integrity": "sha512-LTeluWgTq04+RNqAkVhpydPcRZK/kKxD2Vy7PYGrAD27ABO9kTqTBKwiOuzTyAHKUQHfnvZbXmxBXJAGViSDcA==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.buymeacoffee.com/ricmoo"
+ }
+ ],
+ "dependencies": {
+ "@ethersproject/base64": "^5.1.0",
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "@ethersproject/properties": "^5.1.0",
+ "@ethersproject/strings": "^5.1.0"
}
},
- "babel-plugin-syntax-async-functions": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz",
- "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU="
- },
- "babel-plugin-syntax-exponentiation-operator": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz",
- "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4="
+ "node_modules/@graphql-tools/batch-delegate": {
+ "version": "6.2.6",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/batch-delegate/-/batch-delegate-6.2.6.tgz",
+ "integrity": "sha512-QUoE9pQtkdNPFdJHSnBhZtUfr3M7pIRoXoMR+TG7DK2Y62ISKbT/bKtZEUU1/2v5uqd5WVIvw9dF8gHDSJAsSA==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/delegate": "^6.2.4",
+ "dataloader": "2.0.0",
+ "tslib": "~2.0.1"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
},
- "babel-plugin-syntax-trailing-function-commas": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz",
- "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM="
+ "node_modules/@graphql-tools/batch-delegate/node_modules/tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
},
- "babel-plugin-transform-async-to-generator": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz",
- "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=",
- "requires": {
- "babel-helper-remap-async-to-generator": "^6.24.1",
- "babel-plugin-syntax-async-functions": "^6.8.0",
- "babel-runtime": "^6.22.0"
+ "node_modules/@graphql-tools/batch-execute": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/batch-execute/-/batch-execute-7.1.0.tgz",
+ "integrity": "sha512-Yb4QRpHZqDk24+T4K3ARk/KFU26Dyl30XcbYeVvIrgIKcmeON/p3DfSeiB0+MaxYlsv+liQKvlxNbeC2hD31pA==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/utils": "^7.7.0",
+ "dataloader": "2.0.0",
+ "is-promise": "4.0.0",
+ "tslib": "~2.1.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "babel-plugin-transform-es2015-arrow-functions": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz",
- "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=",
- "requires": {
- "babel-runtime": "^6.22.0"
+ "node_modules/@graphql-tools/batch-execute/node_modules/@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "dependencies": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "babel-plugin-transform-es2015-block-scoped-functions": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz",
- "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=",
- "requires": {
- "babel-runtime": "^6.22.0"
+ "node_modules/@graphql-tools/batch-execute/node_modules/@graphql-tools/utils/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/batch-execute/node_modules/camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "dependencies": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
}
},
- "babel-plugin-transform-es2015-block-scoping": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz",
- "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=",
- "requires": {
- "babel-runtime": "^6.26.0",
- "babel-template": "^6.26.0",
- "babel-traverse": "^6.26.0",
- "babel-types": "^6.26.0",
- "lodash": "^4.17.4"
+ "node_modules/@graphql-tools/batch-execute/node_modules/is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/batch-execute/node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
}
},
- "babel-plugin-transform-es2015-classes": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz",
- "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=",
- "requires": {
- "babel-helper-define-map": "^6.24.1",
- "babel-helper-function-name": "^6.24.1",
- "babel-helper-optimise-call-expression": "^6.24.1",
- "babel-helper-replace-supers": "^6.24.1",
- "babel-messages": "^6.23.0",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
+ "node_modules/@graphql-tools/batch-execute/node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "dependencies": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
}
},
- "babel-plugin-transform-es2015-computed-properties": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz",
- "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=",
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
+ "node_modules/@graphql-tools/batch-execute/node_modules/pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
}
},
- "babel-plugin-transform-es2015-destructuring": {
- "version": "6.23.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz",
- "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=",
- "requires": {
- "babel-runtime": "^6.22.0"
+ "node_modules/@graphql-tools/batch-execute/node_modules/tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/code-file-loader": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/code-file-loader/-/code-file-loader-6.3.1.tgz",
+ "integrity": "sha512-ZJimcm2ig+avgsEOWWVvAaxZrXXhiiSZyYYOJi0hk9wh5BxZcLUNKkTp6EFnZE/jmGUwuos3pIjUD3Hwi3Bwhg==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/graphql-tag-pluck": "^6.5.1",
+ "@graphql-tools/utils": "^7.0.0",
+ "tslib": "~2.1.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "babel-plugin-transform-es2015-duplicate-keys": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz",
- "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=",
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
+ "node_modules/@graphql-tools/code-file-loader/node_modules/@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "dependencies": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "babel-plugin-transform-es2015-for-of": {
- "version": "6.23.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz",
- "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=",
- "requires": {
- "babel-runtime": "^6.22.0"
+ "node_modules/@graphql-tools/code-file-loader/node_modules/@graphql-tools/utils/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/code-file-loader/node_modules/camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "dependencies": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
}
},
- "babel-plugin-transform-es2015-function-name": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz",
- "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=",
- "requires": {
- "babel-helper-function-name": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
+ "node_modules/@graphql-tools/code-file-loader/node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
}
},
- "babel-plugin-transform-es2015-literals": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz",
- "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=",
- "requires": {
- "babel-runtime": "^6.22.0"
+ "node_modules/@graphql-tools/code-file-loader/node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "dependencies": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
}
},
- "babel-plugin-transform-es2015-modules-amd": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz",
- "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=",
- "requires": {
- "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
+ "node_modules/@graphql-tools/code-file-loader/node_modules/pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
}
},
- "babel-plugin-transform-es2015-modules-commonjs": {
- "version": "6.26.2",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz",
- "integrity": "sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==",
- "requires": {
- "babel-plugin-transform-strict-mode": "^6.24.1",
- "babel-runtime": "^6.26.0",
- "babel-template": "^6.26.0",
- "babel-types": "^6.26.0"
+ "node_modules/@graphql-tools/code-file-loader/node_modules/tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/delegate": {
+ "version": "6.2.4",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/delegate/-/delegate-6.2.4.tgz",
+ "integrity": "sha512-mXe6DfoWmq49kPcDrpKHgC2DSWcD5q0YCaHHoXYPAOlnLH8VMTY8BxcE8y/Do2eyg+GLcwAcrpffVszWMwqw0w==",
+ "optional": true,
+ "dependencies": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "@graphql-tools/schema": "^6.2.4",
+ "@graphql-tools/utils": "^6.2.4",
+ "dataloader": "2.0.0",
+ "is-promise": "4.0.0",
+ "tslib": "~2.0.1"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "babel-plugin-transform-es2015-modules-systemjs": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz",
- "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=",
- "requires": {
- "babel-helper-hoist-variables": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
+ "node_modules/@graphql-tools/delegate/node_modules/is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/delegate/node_modules/tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/git-loader": {
+ "version": "6.2.6",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/git-loader/-/git-loader-6.2.6.tgz",
+ "integrity": "sha512-ooQTt2CaG47vEYPP3CPD+nbA0F+FYQXfzrB1Y1ABN9K3d3O2RK3g8qwslzZaI8VJQthvKwt0A95ZeE4XxteYfw==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/graphql-tag-pluck": "^6.2.6",
+ "@graphql-tools/utils": "^7.0.0",
+ "tslib": "~2.1.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "babel-plugin-transform-es2015-modules-umd": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz",
- "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=",
- "requires": {
- "babel-plugin-transform-es2015-modules-amd": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
+ "node_modules/@graphql-tools/git-loader/node_modules/@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "dependencies": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "babel-plugin-transform-es2015-object-super": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz",
- "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=",
- "requires": {
- "babel-helper-replace-supers": "^6.24.1",
- "babel-runtime": "^6.22.0"
+ "node_modules/@graphql-tools/git-loader/node_modules/@graphql-tools/utils/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/git-loader/node_modules/camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "dependencies": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
}
},
- "babel-plugin-transform-es2015-parameters": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz",
- "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=",
- "requires": {
- "babel-helper-call-delegate": "^6.24.1",
- "babel-helper-get-function-arity": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
+ "node_modules/@graphql-tools/git-loader/node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
}
},
- "babel-plugin-transform-es2015-shorthand-properties": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz",
- "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=",
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
+ "node_modules/@graphql-tools/git-loader/node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "dependencies": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
}
},
- "babel-plugin-transform-es2015-spread": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz",
- "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=",
- "requires": {
- "babel-runtime": "^6.22.0"
+ "node_modules/@graphql-tools/git-loader/node_modules/pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
}
},
- "babel-plugin-transform-es2015-sticky-regex": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz",
- "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=",
- "requires": {
- "babel-helper-regex": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
+ "node_modules/@graphql-tools/git-loader/node_modules/tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/github-loader": {
+ "version": "6.2.5",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/github-loader/-/github-loader-6.2.5.tgz",
+ "integrity": "sha512-DLuQmYeNNdPo8oWus8EePxWCfCAyUXPZ/p1PWqjrX/NGPyH2ZObdqtDAfRHztljt0F/qkBHbGHCEk2TKbRZTRw==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/graphql-tag-pluck": "^6.2.6",
+ "@graphql-tools/utils": "^7.0.0",
+ "cross-fetch": "3.0.6",
+ "tslib": "~2.0.1"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "babel-plugin-transform-es2015-template-literals": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz",
- "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=",
- "requires": {
- "babel-runtime": "^6.22.0"
+ "node_modules/@graphql-tools/github-loader/node_modules/@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "dependencies": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "babel-plugin-transform-es2015-typeof-symbol": {
- "version": "6.23.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz",
- "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=",
- "requires": {
- "babel-runtime": "^6.22.0"
+ "node_modules/@graphql-tools/github-loader/node_modules/@graphql-tools/utils/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/github-loader/node_modules/camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "dependencies": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
}
},
- "babel-plugin-transform-es2015-unicode-regex": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz",
- "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=",
- "requires": {
- "babel-helper-regex": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "regexpu-core": "^2.0.0"
+ "node_modules/@graphql-tools/github-loader/node_modules/cross-fetch": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.6.tgz",
+ "integrity": "sha512-KBPUbqgFjzWlVcURG+Svp9TlhA5uliYtiNx/0r8nv0pdypeQCRJ9IaSIc3q/x3q8t3F75cHuwxVql1HFGHCNJQ==",
+ "optional": true,
+ "dependencies": {
+ "node-fetch": "2.6.1"
}
},
- "babel-plugin-transform-exponentiation-operator": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz",
- "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=",
- "requires": {
- "babel-helper-builder-binary-assignment-operator-visitor": "^6.24.1",
- "babel-plugin-syntax-exponentiation-operator": "^6.8.0",
- "babel-runtime": "^6.22.0"
+ "node_modules/@graphql-tools/github-loader/node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
}
},
- "babel-plugin-transform-regenerator": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz",
- "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=",
- "requires": {
- "regenerator-transform": "^0.10.0"
+ "node_modules/@graphql-tools/github-loader/node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "dependencies": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
}
},
- "babel-plugin-transform-strict-mode": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz",
- "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=",
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
+ "node_modules/@graphql-tools/github-loader/node_modules/node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true,
+ "engines": {
+ "node": "4.x || >=6.0.0"
}
},
- "babel-preset-env": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz",
- "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==",
- "requires": {
- "babel-plugin-check-es2015-constants": "^6.22.0",
- "babel-plugin-syntax-trailing-function-commas": "^6.22.0",
- "babel-plugin-transform-async-to-generator": "^6.22.0",
- "babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
- "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0",
- "babel-plugin-transform-es2015-block-scoping": "^6.23.0",
- "babel-plugin-transform-es2015-classes": "^6.23.0",
- "babel-plugin-transform-es2015-computed-properties": "^6.22.0",
- "babel-plugin-transform-es2015-destructuring": "^6.23.0",
- "babel-plugin-transform-es2015-duplicate-keys": "^6.22.0",
- "babel-plugin-transform-es2015-for-of": "^6.23.0",
- "babel-plugin-transform-es2015-function-name": "^6.22.0",
- "babel-plugin-transform-es2015-literals": "^6.22.0",
- "babel-plugin-transform-es2015-modules-amd": "^6.22.0",
- "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
- "babel-plugin-transform-es2015-modules-systemjs": "^6.23.0",
- "babel-plugin-transform-es2015-modules-umd": "^6.23.0",
- "babel-plugin-transform-es2015-object-super": "^6.22.0",
- "babel-plugin-transform-es2015-parameters": "^6.23.0",
- "babel-plugin-transform-es2015-shorthand-properties": "^6.22.0",
- "babel-plugin-transform-es2015-spread": "^6.22.0",
- "babel-plugin-transform-es2015-sticky-regex": "^6.22.0",
- "babel-plugin-transform-es2015-template-literals": "^6.22.0",
- "babel-plugin-transform-es2015-typeof-symbol": "^6.23.0",
- "babel-plugin-transform-es2015-unicode-regex": "^6.22.0",
- "babel-plugin-transform-exponentiation-operator": "^6.22.0",
- "babel-plugin-transform-regenerator": "^6.22.0",
- "browserslist": "^3.2.6",
- "invariant": "^2.2.2",
- "semver": "^5.3.0"
+ "node_modules/@graphql-tools/github-loader/node_modules/pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
}
},
- "babel-register": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz",
- "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=",
- "requires": {
- "babel-core": "^6.26.0",
- "babel-runtime": "^6.26.0",
- "core-js": "^2.5.0",
- "home-or-tmp": "^2.0.0",
- "lodash": "^4.17.4",
- "mkdirp": "^0.5.1",
- "source-map-support": "^0.4.15"
+ "node_modules/@graphql-tools/github-loader/node_modules/tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/graphql-file-loader": {
+ "version": "6.2.7",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/graphql-file-loader/-/graphql-file-loader-6.2.7.tgz",
+ "integrity": "sha512-5k2SNz0W87tDcymhEMZMkd6/vs6QawDyjQXWtqkuLTBF3vxjxPD1I4dwHoxgWPIjjANhXybvulD7E+St/7s9TQ==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/import": "^6.2.6",
+ "@graphql-tools/utils": "^7.0.0",
+ "tslib": "~2.1.0"
},
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/graphql-file-loader/node_modules/@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
"dependencies": {
- "source-map-support": {
- "version": "0.4.18",
- "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz",
- "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==",
- "requires": {
- "source-map": "^0.5.6"
- }
- }
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "babel-runtime": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
- "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
- "requires": {
- "core-js": "^2.4.0",
- "regenerator-runtime": "^0.11.0"
+ "node_modules/@graphql-tools/graphql-file-loader/node_modules/@graphql-tools/utils/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/graphql-file-loader/node_modules/camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "dependencies": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
}
},
- "babel-template": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz",
- "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=",
- "requires": {
- "babel-runtime": "^6.26.0",
- "babel-traverse": "^6.26.0",
- "babel-types": "^6.26.0",
- "babylon": "^6.18.0",
- "lodash": "^4.17.4"
+ "node_modules/@graphql-tools/graphql-file-loader/node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
}
},
- "babel-traverse": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz",
- "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=",
- "requires": {
- "babel-code-frame": "^6.26.0",
- "babel-messages": "^6.23.0",
- "babel-runtime": "^6.26.0",
- "babel-types": "^6.26.0",
- "babylon": "^6.18.0",
- "debug": "^2.6.8",
- "globals": "^9.18.0",
- "invariant": "^2.2.2",
- "lodash": "^4.17.4"
- },
+ "node_modules/@graphql-tools/graphql-file-loader/node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
"dependencies": {
- "debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "requires": {
- "ms": "2.0.0"
- }
- },
- "globals": {
- "version": "9.18.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz",
- "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ=="
- }
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
}
},
- "babel-types": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz",
- "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=",
- "requires": {
- "babel-runtime": "^6.26.0",
- "esutils": "^2.0.2",
- "lodash": "^4.17.4",
- "to-fast-properties": "^1.0.3"
+ "node_modules/@graphql-tools/graphql-file-loader/node_modules/pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
}
},
- "babelify": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/babelify/-/babelify-7.3.0.tgz",
- "integrity": "sha1-qlau3nBn/XvVSWZu4W3ChQh+iOU=",
- "requires": {
- "babel-core": "^6.0.14",
- "object-assign": "^4.0.0"
+ "node_modules/@graphql-tools/graphql-file-loader/node_modules/tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/graphql-tag-pluck": {
+ "version": "6.5.1",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-6.5.1.tgz",
+ "integrity": "sha512-7qkm82iFmcpb8M6/yRgzjShtW6Qu2OlCSZp8uatA3J0eMl87TxyJoUmL3M3UMMOSundAK8GmoyNVFUrueueV5Q==",
+ "optional": true,
+ "dependencies": {
+ "@babel/parser": "7.12.16",
+ "@babel/traverse": "7.12.13",
+ "@babel/types": "7.12.13",
+ "@graphql-tools/utils": "^7.0.0",
+ "tslib": "~2.1.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "babylon": {
- "version": "6.18.0",
- "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz",
- "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ=="
+ "node_modules/@graphql-tools/graphql-tag-pluck/node_modules/@babel/parser": {
+ "version": "7.12.16",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.16.tgz",
+ "integrity": "sha512-c/+u9cqV6F0+4Hpq01jnJO+GLp2DdT63ppz9Xa+6cHaajM9VFzK/iDXiKK65YtpeVwu+ctfS6iqlMqRgQRzeCw==",
+ "optional": true,
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
},
- "backoff": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/backoff/-/backoff-2.5.0.tgz",
- "integrity": "sha1-9hbtqdPktmuMp/ynn2lXIsX44m8=",
- "requires": {
- "precond": "0.2"
+ "node_modules/@graphql-tools/graphql-tag-pluck/node_modules/@babel/traverse": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.12.13.tgz",
+ "integrity": "sha512-3Zb4w7eE/OslI0fTp8c7b286/cQps3+vdLW3UcwC8VSJC6GbKn55aeVVu2QJNuCDoeKyptLOFrPq8WqZZBodyA==",
+ "optional": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.12.13",
+ "@babel/generator": "^7.12.13",
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-split-export-declaration": "^7.12.13",
+ "@babel/parser": "^7.12.13",
+ "@babel/types": "^7.12.13",
+ "debug": "^4.1.0",
+ "globals": "^11.1.0",
+ "lodash": "^4.17.19"
}
},
- "balanced-match": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
- "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
+ "node_modules/@graphql-tools/graphql-tag-pluck/node_modules/@babel/types": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.13.tgz",
+ "integrity": "sha512-oKrdZTld2im1z8bDwTOQvUbxKwE+854zc16qWZQlcTqMN00pWxHQ4ZeOq0yDMnisOpRykH2/5Qqcrk/OlbAjiQ==",
+ "optional": true,
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "lodash": "^4.17.19",
+ "to-fast-properties": "^2.0.0"
+ }
},
- "base": {
- "version": "0.11.2",
- "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz",
- "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==",
- "dev": true,
- "requires": {
- "cache-base": "^1.0.1",
- "class-utils": "^0.3.5",
- "component-emitter": "^1.2.1",
- "define-property": "^1.0.0",
- "isobject": "^3.0.1",
- "mixin-deep": "^1.2.0",
- "pascalcase": "^0.1.1"
+ "node_modules/@graphql-tools/graphql-tag-pluck/node_modules/@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "dependencies": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
},
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/graphql-tag-pluck/node_modules/@graphql-tools/utils/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/graphql-tag-pluck/node_modules/camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
"dependencies": {
- "define-property": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
- "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
- "dev": true,
- "requires": {
- "is-descriptor": "^1.0.0"
- }
- },
- "is-accessor-descriptor": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
- "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
- "dev": true,
- "requires": {
- "kind-of": "^6.0.0"
- }
- },
- "is-data-descriptor": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
- "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
- "dev": true,
- "requires": {
- "kind-of": "^6.0.0"
- }
- },
- "is-descriptor": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
- "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
- "dev": true,
- "requires": {
- "is-accessor-descriptor": "^1.0.0",
- "is-data-descriptor": "^1.0.0",
- "kind-of": "^6.0.2"
- }
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/graphql-tag-pluck/node_modules/debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "optional": true,
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
}
}
},
- "base-x": {
- "version": "3.0.8",
- "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.8.tgz",
- "integrity": "sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA==",
- "requires": {
- "safe-buffer": "^5.0.1"
+ "node_modules/@graphql-tools/graphql-tag-pluck/node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
}
},
- "base64-js": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",
- "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==",
+ "node_modules/@graphql-tools/graphql-tag-pluck/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
"optional": true
},
- "bcrypt-pbkdf": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
- "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
- "requires": {
- "tweetnacl": "^0.14.3"
+ "node_modules/@graphql-tools/graphql-tag-pluck/node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "dependencies": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
}
},
- "bignumber.js": {
- "version": "9.0.0",
- "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz",
- "integrity": "sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A=="
- },
- "binary-extensions": {
- "version": "1.13.1",
- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",
- "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",
- "dev": true
+ "node_modules/@graphql-tools/graphql-tag-pluck/node_modules/pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
},
- "bindings": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
- "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
- "requires": {
- "file-uri-to-path": "1.0.0"
+ "node_modules/@graphql-tools/graphql-tag-pluck/node_modules/to-fast-properties": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
+ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
+ "optional": true,
+ "engines": {
+ "node": ">=4"
}
},
- "bip39": {
- "version": "2.6.0",
- "resolved": "https://registry.npmjs.org/bip39/-/bip39-2.6.0.tgz",
- "integrity": "sha512-RrnQRG2EgEoqO24ea+Q/fftuPUZLmrEM3qNhhGsA3PbaXaCW791LTzPuVyx/VprXQcTbPJ3K3UeTna8ZnVl2sg==",
- "requires": {
- "create-hash": "^1.1.0",
- "pbkdf2": "^3.0.9",
- "randombytes": "^2.0.1",
- "safe-buffer": "^5.0.1",
- "unorm": "^1.3.3"
+ "node_modules/@graphql-tools/graphql-tag-pluck/node_modules/tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/import": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/import/-/import-6.3.0.tgz",
+ "integrity": "sha512-zmaVhJ3UPjzJSb005Pjn2iWvH+9AYRXI4IUiTi14uPupiXppJP3s7S25Si3+DbHpFwurDF2nWRxBLiFPWudCqw==",
+ "optional": true,
+ "dependencies": {
+ "resolve-from": "5.0.0",
+ "tslib": "~2.1.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "bip66": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz",
- "integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=",
- "requires": {
- "safe-buffer": "^5.0.1"
+ "node_modules/@graphql-tools/import/node_modules/resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
}
},
- "bl": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/bl/-/bl-4.0.2.tgz",
- "integrity": "sha512-j4OH8f6Qg2bGuWfRiltT2HYGx0e1QcBTrK9KAHNMwMZdQnDZFk0ZSYIpADjYCB3U12nicC5tVJwSIhwOWjb4RQ==",
+ "node_modules/@graphql-tools/import/node_modules/tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/json-file-loader": {
+ "version": "6.2.6",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/json-file-loader/-/json-file-loader-6.2.6.tgz",
+ "integrity": "sha512-CnfwBSY5926zyb6fkDBHnlTblHnHI4hoBALFYXnrg0Ev4yWU8B04DZl/pBRUc459VNgO2x8/mxGIZj2hPJG1EA==",
"optional": true,
- "requires": {
- "buffer": "^5.5.0",
- "inherits": "^2.0.4",
- "readable-stream": "^3.4.0"
+ "dependencies": {
+ "@graphql-tools/utils": "^7.0.0",
+ "tslib": "~2.0.1"
},
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/json-file-loader/node_modules/@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
"dependencies": {
- "inherits": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "optional": true
- },
- "readable-stream": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
- "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
- "optional": true,
- "requires": {
- "inherits": "^2.0.3",
- "string_decoder": "^1.1.1",
- "util-deprecate": "^1.0.1"
- }
- }
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "blakejs": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.1.0.tgz",
- "integrity": "sha1-ad+S75U6qIylGjLfarHFShVfx6U="
+ "node_modules/@graphql-tools/json-file-loader/node_modules/@graphql-tools/utils/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
},
- "bluebird": {
- "version": "3.5.5",
- "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.5.tgz",
- "integrity": "sha512-5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w=="
+ "node_modules/@graphql-tools/json-file-loader/node_modules/camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "dependencies": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
},
- "bn.js": {
- "version": "4.11.8",
- "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",
- "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA=="
+ "node_modules/@graphql-tools/json-file-loader/node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
+ }
},
- "boxen": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz",
- "integrity": "sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw==",
- "dev": true,
- "requires": {
- "ansi-align": "^2.0.0",
- "camelcase": "^4.0.0",
- "chalk": "^2.0.1",
- "cli-boxes": "^1.0.0",
- "string-width": "^2.0.0",
- "term-size": "^1.2.0",
- "widest-line": "^2.0.0"
- },
+ "node_modules/@graphql-tools/json-file-loader/node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
"dependencies": {
- "ansi-regex": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
- "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
- "dev": true
- },
- "camelcase": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz",
- "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=",
- "dev": true
- },
- "is-fullwidth-code-point": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
- "dev": true
- },
- "string-width": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
- "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
- "dev": true,
- "requires": {
- "is-fullwidth-code-point": "^2.0.0",
- "strip-ansi": "^4.0.0"
- }
- },
- "strip-ansi": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
- "dev": true,
- "requires": {
- "ansi-regex": "^3.0.0"
- }
- }
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
}
},
- "brace-expansion": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "requires": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
+ "node_modules/@graphql-tools/json-file-loader/node_modules/pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
}
},
- "braces": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",
- "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",
- "dev": true,
- "requires": {
- "arr-flatten": "^1.1.0",
- "array-unique": "^0.3.2",
- "extend-shallow": "^2.0.1",
- "fill-range": "^4.0.0",
- "isobject": "^3.0.1",
- "repeat-element": "^1.1.2",
- "snapdragon": "^0.8.1",
- "snapdragon-node": "^2.0.1",
- "split-string": "^3.0.2",
- "to-regex": "^3.0.1"
+ "node_modules/@graphql-tools/json-file-loader/node_modules/tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/links": {
+ "version": "6.2.5",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/links/-/links-6.2.5.tgz",
+ "integrity": "sha512-XeGDioW7F+HK6HHD/zCeF0HRC9s12NfOXAKv1HC0J7D50F4qqMvhdS/OkjzLoBqsgh/Gm8icRc36B5s0rOA9ig==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/utils": "^7.0.0",
+ "apollo-link": "1.2.14",
+ "apollo-upload-client": "14.1.2",
+ "cross-fetch": "3.0.6",
+ "form-data": "3.0.0",
+ "is-promise": "4.0.0",
+ "tslib": "~2.0.1"
},
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/links/node_modules/@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
"dependencies": {
- "extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
- "dev": true,
- "requires": {
- "is-extendable": "^0.1.0"
- }
- }
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "brorand": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",
- "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8="
+ "node_modules/@graphql-tools/links/node_modules/@graphql-tools/utils/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
},
- "browser-stdout": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz",
- "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw=="
+ "node_modules/@graphql-tools/links/node_modules/camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "dependencies": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
},
- "browserify-aes": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
- "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",
- "requires": {
- "buffer-xor": "^1.0.3",
- "cipher-base": "^1.0.0",
- "create-hash": "^1.1.0",
- "evp_bytestokey": "^1.0.3",
- "inherits": "^2.0.1",
- "safe-buffer": "^5.0.1"
+ "node_modules/@graphql-tools/links/node_modules/cross-fetch": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.6.tgz",
+ "integrity": "sha512-KBPUbqgFjzWlVcURG+Svp9TlhA5uliYtiNx/0r8nv0pdypeQCRJ9IaSIc3q/x3q8t3F75cHuwxVql1HFGHCNJQ==",
+ "optional": true,
+ "dependencies": {
+ "node-fetch": "2.6.1"
}
},
- "browserslist": {
- "version": "3.2.8",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz",
- "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==",
- "requires": {
- "caniuse-lite": "^1.0.30000844",
- "electron-to-chromium": "^1.3.47"
+ "node_modules/@graphql-tools/links/node_modules/form-data": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.0.tgz",
+ "integrity": "sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==",
+ "optional": true,
+ "dependencies": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.8",
+ "mime-types": "^2.1.12"
+ },
+ "engines": {
+ "node": ">= 6"
}
},
- "bs58": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/bs58/-/bs58-2.0.1.tgz",
- "integrity": "sha1-VZCNWPGYKrogCPob7Y+RmYopv40="
+ "node_modules/@graphql-tools/links/node_modules/is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+ "optional": true
},
- "bs58check": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz",
- "integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==",
- "requires": {
- "bs58": "^4.0.0",
- "create-hash": "^1.1.0",
- "safe-buffer": "^5.1.2"
- },
+ "node_modules/@graphql-tools/links/node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
"dependencies": {
- "bs58": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz",
- "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=",
- "requires": {
- "base-x": "^3.0.2"
- }
- }
+ "tslib": "^2.0.3"
}
},
- "buffer": {
- "version": "5.6.0",
- "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz",
- "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==",
+ "node_modules/@graphql-tools/links/node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
"optional": true,
- "requires": {
- "base64-js": "^1.0.2",
- "ieee754": "^1.1.4"
+ "dependencies": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
}
},
- "buffer-from": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
- "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A=="
- },
- "buffer-to-arraybuffer": {
- "version": "0.0.5",
- "resolved": "https://registry.npmjs.org/buffer-to-arraybuffer/-/buffer-to-arraybuffer-0.0.5.tgz",
- "integrity": "sha1-YGSkD6dutDxyOrqe+PbhIW0QURo="
+ "node_modules/@graphql-tools/links/node_modules/node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true,
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
},
- "buffer-xor": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz",
- "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk="
+ "node_modules/@graphql-tools/links/node_modules/pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
},
- "builtins": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz",
- "integrity": "sha1-y5T662HIaWRR2zZTThQi+U8K7og="
+ "node_modules/@graphql-tools/links/node_modules/tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
},
- "cacache": {
- "version": "12.0.0",
- "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.0.tgz",
- "integrity": "sha512-0baf1FhCp16LhN+xDJsOrSiaPDCTD3JegZptVmLDoEbFcT5aT+BeFGt3wcDU3olCP5tpTCXU5sv0+TsKWT9WGQ==",
- "requires": {
- "bluebird": "^3.5.5",
- "chownr": "^1.1.1",
- "figgy-pudding": "^3.5.1",
- "glob": "^7.1.4",
- "graceful-fs": "^4.1.15",
- "lru-cache": "^5.1.1",
- "mississippi": "^3.0.0",
- "mkdirp": "^0.5.1",
- "move-concurrently": "^1.0.1",
- "promise-inflight": "^1.0.1",
- "rimraf": "^2.6.3",
- "ssri": "^6.0.1",
- "unique-filename": "^1.1.1",
- "y18n": "^4.0.0"
- },
+ "node_modules/@graphql-tools/load": {
+ "version": "6.2.8",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/load/-/load-6.2.8.tgz",
+ "integrity": "sha512-JpbyXOXd8fJXdBh2ta0Q4w8ia6uK5FHzrTNmcvYBvflFuWly2LDTk2abbSl81zKkzswQMEd2UIYghXELRg8eTA==",
+ "optional": true,
"dependencies": {
- "glob": {
- "version": "7.1.4",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
- "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
- "requires": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- }
- },
- "lru-cache": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
- "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
- "requires": {
- "yallist": "^3.0.2"
- }
- },
- "y18n": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
- "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w=="
- },
- "yallist": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",
- "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A=="
- }
+ "@graphql-tools/merge": "^6.2.12",
+ "@graphql-tools/utils": "^7.5.0",
+ "globby": "11.0.3",
+ "import-from": "3.0.0",
+ "is-glob": "4.0.1",
+ "p-limit": "3.1.0",
+ "tslib": "~2.2.0",
+ "unixify": "1.0.0",
+ "valid-url": "1.0.9"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "cache-base": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
- "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==",
- "dev": true,
- "requires": {
- "collection-visit": "^1.0.0",
- "component-emitter": "^1.2.1",
- "get-value": "^2.0.6",
- "has-value": "^1.0.0",
- "isobject": "^3.0.1",
- "set-value": "^2.0.0",
- "to-object-path": "^0.3.0",
- "union-value": "^1.0.0",
- "unset-value": "^1.0.0"
+ "node_modules/@graphql-tools/load-files": {
+ "version": "6.3.2",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/load-files/-/load-files-6.3.2.tgz",
+ "integrity": "sha512-3mgwEKZ8yy7CD/uVs9yeXR3r+GwjlTKRG5bC75xdJFN8WbzbcHjIJiTXfWSAYqbfSTam0hWnRdWghagzFSo5kQ==",
+ "optional": true,
+ "dependencies": {
+ "globby": "11.0.3",
+ "tslib": "~2.1.0",
+ "unixify": "1.0.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "cacheable-request": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
- "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==",
- "requires": {
- "clone-response": "^1.0.2",
- "get-stream": "^5.1.0",
- "http-cache-semantics": "^4.0.0",
- "keyv": "^3.0.0",
- "lowercase-keys": "^2.0.0",
- "normalize-url": "^4.1.0",
- "responselike": "^1.0.2"
- },
+ "node_modules/@graphql-tools/load-files/node_modules/tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/load/node_modules/@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
"dependencies": {
- "get-stream": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz",
- "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==",
- "requires": {
- "pump": "^3.0.0"
- }
- },
- "http-cache-semantics": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.0.3.tgz",
- "integrity": "sha512-TcIMG3qeVLgDr1TEd2XvHaTnMPwYQUQMIBLy+5pLSDKYFc7UIqj39w8EGzZkaxoLv/l2K8HaI0t5AVA+YYgUew=="
- },
- "lowercase-keys": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
- "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA=="
- },
- "pump": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
- "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
- "requires": {
- "end-of-stream": "^1.1.0",
- "once": "^1.3.1"
- }
- }
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
}
},
- "caller-callsite": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz",
- "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=",
- "dev": true,
- "requires": {
- "callsites": "^2.0.0"
- },
+ "node_modules/@graphql-tools/load/node_modules/camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
"dependencies": {
- "callsites": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz",
- "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=",
- "dev": true
- }
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/load/node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/load/node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "dependencies": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/load/node_modules/p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "optional": true,
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@graphql-tools/load/node_modules/pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/load/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/merge": {
+ "version": "6.2.13",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-6.2.13.tgz",
+ "integrity": "sha512-Qjlki0fp+bBQPinhdv7rv24eurvThZ5oIFvGMpLxMZplbw/ovJ2c6llwXr5PCuWAk9HGZsyM9NxxDgtTRfq3dQ==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/schema": "^7.0.0",
+ "@graphql-tools/utils": "^7.7.0",
+ "tslib": "~2.2.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/merge/node_modules/@graphql-tools/schema": {
+ "version": "7.1.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-7.1.3.tgz",
+ "integrity": "sha512-ZY76hmcJlF1iyg3Im0sQ3ASRkiShjgv102vLTVcH22lEGJeCaCyyS/GF1eUHom418S60bS8Th6+autRUxfBiBg==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/utils": "^7.1.2",
+ "tslib": "~2.1.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/merge/node_modules/@graphql-tools/schema/node_modules/tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/merge/node_modules/@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "dependencies": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/merge/node_modules/camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "dependencies": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/merge/node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/merge/node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "dependencies": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/merge/node_modules/pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/merge/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/mock": {
+ "version": "6.2.4",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/mock/-/mock-6.2.4.tgz",
+ "integrity": "sha512-O5Zvq/mcDZ7Ptky0IZ4EK9USmxV6FEVYq0Jxv2TI80kvxbCjt0tbEpZ+r1vIt1gZOXlAvadSHYyzWnUPh+1vkQ==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/schema": "^6.2.4",
+ "@graphql-tools/utils": "^6.2.4",
+ "tslib": "~2.0.1"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/mock/node_modules/tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/module-loader": {
+ "version": "6.2.7",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/module-loader/-/module-loader-6.2.7.tgz",
+ "integrity": "sha512-ItAAbHvwfznY9h1H9FwHYDstTcm22Dr5R9GZtrWlpwqj0jaJGcBxsMB9jnK9kFqkbtFYEe4E/NsSnxsS4/vViQ==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/utils": "^7.5.0",
+ "tslib": "~2.1.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/module-loader/node_modules/@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "dependencies": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/module-loader/node_modules/@graphql-tools/utils/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/module-loader/node_modules/camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "dependencies": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/module-loader/node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/module-loader/node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "dependencies": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/module-loader/node_modules/pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/module-loader/node_modules/tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/relay-operation-optimizer": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/relay-operation-optimizer/-/relay-operation-optimizer-6.3.0.tgz",
+ "integrity": "sha512-Or3UgRvkY9Fq1AAx7q38oPqFmTepLz7kp6wDHKyR0ceG7AvHv5En22R12mAeISInbhff4Rpwgf6cE8zHRu6bCw==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/utils": "^7.1.0",
+ "relay-compiler": "10.1.0",
+ "tslib": "~2.0.1"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/relay-operation-optimizer/node_modules/@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "dependencies": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/relay-operation-optimizer/node_modules/@graphql-tools/utils/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/relay-operation-optimizer/node_modules/camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "dependencies": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/relay-operation-optimizer/node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/relay-operation-optimizer/node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "dependencies": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/relay-operation-optimizer/node_modules/pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/relay-operation-optimizer/node_modules/tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/resolvers-composition": {
+ "version": "6.2.6",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/resolvers-composition/-/resolvers-composition-6.2.6.tgz",
+ "integrity": "sha512-QO0PC5RG0SolOksupOuB4B0tuzEsQFwQrwD9xLHCrJmjaLi66lOKMFzN40IBY5rqg0k/zqPyjII8rtzcNobvIg==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/utils": "^7.0.0",
+ "lodash": "4.17.21",
+ "tslib": "~2.1.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/resolvers-composition/node_modules/@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "dependencies": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/resolvers-composition/node_modules/@graphql-tools/utils/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/resolvers-composition/node_modules/camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "dependencies": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/resolvers-composition/node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/resolvers-composition/node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "dependencies": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/resolvers-composition/node_modules/pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/resolvers-composition/node_modules/tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/schema": {
+ "version": "6.2.4",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-6.2.4.tgz",
+ "integrity": "sha512-rh+14lSY1q8IPbEv2J9x8UBFJ5NrDX9W5asXEUlPp+7vraLp/Tiox4GXdgyA92JhwpYco3nTf5Bo2JDMt1KnAQ==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/utils": "^6.2.4",
+ "tslib": "~2.0.1"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/schema/node_modules/tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/stitch": {
+ "version": "6.2.4",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/stitch/-/stitch-6.2.4.tgz",
+ "integrity": "sha512-0C7PNkS7v7iAc001m7c1LPm5FUB0/DYw+s3OyCii6YYYHY8NwdI0roeOyeDGFJkFubWBQfjc3hoSyueKtU73mw==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/batch-delegate": "^6.2.4",
+ "@graphql-tools/delegate": "^6.2.4",
+ "@graphql-tools/merge": "^6.2.4",
+ "@graphql-tools/schema": "^6.2.4",
+ "@graphql-tools/utils": "^6.2.4",
+ "@graphql-tools/wrap": "^6.2.4",
+ "is-promise": "4.0.0",
+ "tslib": "~2.0.1"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/stitch/node_modules/is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/stitch/node_modules/tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/url-loader": {
+ "version": "6.8.2",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/url-loader/-/url-loader-6.8.2.tgz",
+ "integrity": "sha512-YzsXSCOwlSj8UqOMhQThPzgEChgS/MonyWV7f0WKmN9gAT/f3fPaUcYhVamsH0vGbvTkfNM4JdoZO/39amRs5Q==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/delegate": "^7.0.1",
+ "@graphql-tools/utils": "^7.1.5",
+ "@graphql-tools/wrap": "^7.0.4",
+ "@types/websocket": "1.0.2",
+ "cross-fetch": "3.1.1",
+ "eventsource": "1.1.0",
+ "extract-files": "9.0.0",
+ "form-data": "4.0.0",
+ "graphql-upload": "^11.0.0",
+ "graphql-ws": "4.2.2",
+ "is-promise": "4.0.0",
+ "isomorphic-ws": "4.0.1",
+ "sse-z": "0.3.0",
+ "sync-fetch": "0.3.0",
+ "tslib": "~2.1.0",
+ "valid-url": "1.0.9",
+ "ws": "7.4.4"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/@graphql-tools/delegate": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/delegate/-/delegate-7.1.2.tgz",
+ "integrity": "sha512-XvmIod9ZYKMLk2vV5ulbUyo1Va4SCvvp/VNq4RTae2SEvYwNewc1xs1Klmz8khV+c2V30xKSccNWGA6BWyTTog==",
+ "optional": true,
+ "dependencies": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "@graphql-tools/batch-execute": "^7.1.0",
+ "@graphql-tools/schema": "^7.0.0",
+ "@graphql-tools/utils": "^7.7.1",
+ "dataloader": "2.0.0",
+ "is-promise": "4.0.0",
+ "tslib": "~2.2.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/@graphql-tools/delegate/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/@graphql-tools/schema": {
+ "version": "7.1.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-7.1.3.tgz",
+ "integrity": "sha512-ZY76hmcJlF1iyg3Im0sQ3ASRkiShjgv102vLTVcH22lEGJeCaCyyS/GF1eUHom418S60bS8Th6+autRUxfBiBg==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/utils": "^7.1.2",
+ "tslib": "~2.1.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "dependencies": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/@graphql-tools/utils/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/@graphql-tools/wrap": {
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/wrap/-/wrap-7.0.5.tgz",
+ "integrity": "sha512-KCWBXsDfvG46GNUawRltJL4j9BMGoOG7oo3WEyCQP+SByWXiTe5cBF45SLDVQgdjljGNZhZ4Lq/7avIkF7/zDQ==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/delegate": "^7.0.7",
+ "@graphql-tools/schema": "^7.1.2",
+ "@graphql-tools/utils": "^7.2.1",
+ "is-promise": "4.0.0",
+ "tslib": "~2.0.1"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/@graphql-tools/wrap/node_modules/tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "dependencies": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/cross-fetch": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.1.tgz",
+ "integrity": "sha512-eIF+IHQpRzoGd/0zPrwQmHwDC90mdvjk+hcbYhKoaRrEk4GEIDqdjs/MljmdPPoHTQudbmWS+f0hZsEpFaEvWw==",
+ "optional": true,
+ "dependencies": {
+ "node-fetch": "2.6.1"
+ }
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/form-data": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
+ "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
+ "optional": true,
+ "dependencies": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.8",
+ "mime-types": "^2.1.12"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "dependencies": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true,
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/url-loader/node_modules/ws": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.4.tgz",
+ "integrity": "sha512-Qm8k8ojNQIMx7S+Zp8u/uHOx7Qazv3Yv4q68MiWWWOJhiwG5W3x7iqmRtJo8xxrciZUY4vRxUTJCKuRnF28ZZw==",
+ "optional": true,
+ "engines": {
+ "node": ">=8.3.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": "^5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@graphql-tools/utils": {
+ "version": "6.2.4",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-6.2.4.tgz",
+ "integrity": "sha512-ybgZ9EIJE3JMOtTrTd2VcIpTXtDrn2q6eiYkeYMKRVh3K41+LZa6YnR2zKERTXqTWqhobROwLt4BZbw2O3Aeeg==",
+ "optional": true,
+ "dependencies": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.1",
+ "tslib": "~2.0.1"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/utils/node_modules/camel-case": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.1.tgz",
+ "integrity": "sha512-7fa2WcG4fYFkclIvEmxBbTvmibwF2/agfEBc6q3lOpVu0A13ltLsA+Hr/8Hp6kp5f+G7hKi6t8lys6XxP+1K6Q==",
+ "optional": true,
+ "dependencies": {
+ "pascal-case": "^3.1.1",
+ "tslib": "^1.10.0"
+ }
+ },
+ "node_modules/@graphql-tools/utils/node_modules/camel-case/node_modules/tslib": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/utils/node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/utils/node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "dependencies": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/utils/node_modules/pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/@graphql-tools/utils/node_modules/tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/wrap": {
+ "version": "6.2.4",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/wrap/-/wrap-6.2.4.tgz",
+ "integrity": "sha512-cyQgpybolF9DjL2QNOvTS1WDCT/epgYoiA8/8b3nwv5xmMBQ6/6nYnZwityCZ7njb7MMyk7HBEDNNlP9qNJDcA==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/delegate": "^6.2.4",
+ "@graphql-tools/schema": "^6.2.4",
+ "@graphql-tools/utils": "^6.2.4",
+ "is-promise": "4.0.0",
+ "tslib": "~2.0.1"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@graphql-tools/wrap/node_modules/is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+ "optional": true
+ },
+ "node_modules/@graphql-tools/wrap/node_modules/tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ },
+ "node_modules/@graphql-typed-document-node/core": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.1.0.tgz",
+ "integrity": "sha512-wYn6r8zVZyQJ6rQaALBEln5B1pzxb9shV5Ef97kTvn6yVGrqyXVnDqnU24MXnFubR+rZjBY9NWuxX3FB2sTsjg==",
+ "optional": true,
+ "peerDependencies": {
+ "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/@gulp-sourcemaps/map-sources": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@gulp-sourcemaps/map-sources/-/map-sources-1.0.0.tgz",
+ "integrity": "sha1-iQrnxdjId/bThIYCFazp1+yUW9o=",
+ "optional": true,
+ "dependencies": {
+ "normalize-path": "^2.0.1",
+ "through2": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/@gulp-sourcemaps/map-sources/node_modules/normalize-path": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
+ "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
+ "optional": true,
+ "dependencies": {
+ "remove-trailing-separator": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/@improbable-eng/grpc-web": {
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.13.0.tgz",
+ "integrity": "sha512-vaxxT+Qwb7GPqDQrBV4vAAfH0HywgOLw6xGIKXd9Q8hcV63CQhmS3p4+pZ9/wVvt4Ph3ZDK9fdC983b9aGMUFg==",
+ "optional": true,
+ "dependencies": {
+ "browser-headers": "^0.4.0"
+ },
+ "peerDependencies": {
+ "google-protobuf": "^3.2.0"
+ }
+ },
+ "node_modules/@josephg/resolvable": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@josephg/resolvable/-/resolvable-1.0.0.tgz",
+ "integrity": "sha512-OfTtjoqB2doov5aTJxkyAMK8dXoo7CjCUQSYUEtiY34jbWduOGV7+168tmCT8COMsUEd5DMSFg/0iAOPCBTNAQ==",
+ "optional": true
+ },
+ "node_modules/@ledgerhq/devices": {
+ "version": "4.78.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/devices/-/devices-4.78.0.tgz",
+ "integrity": "sha512-tWKS5WM/UU82czihnVjRwz9SXNTQzWjGJ/7+j/xZ70O86nlnGJ1aaFbs5/WTzfrVKpOKgj1ZoZkAswX67i/JTw==",
+ "dependencies": {
+ "@ledgerhq/errors": "^4.78.0",
+ "@ledgerhq/logs": "^4.72.0",
+ "rxjs": "^6.5.3"
+ }
+ },
+ "node_modules/@ledgerhq/errors": {
+ "version": "4.78.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/errors/-/errors-4.78.0.tgz",
+ "integrity": "sha512-FX6zHZeiNtegBvXabK6M5dJ+8OV8kQGGaGtuXDeK/Ss5EmG4Ltxc6Lnhe8hiHpm9pCHtktOsnUVL7IFBdHhYUg=="
+ },
+ "node_modules/@ledgerhq/hw-app-eth": {
+ "version": "4.78.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/hw-app-eth/-/hw-app-eth-4.78.0.tgz",
+ "integrity": "sha512-m4s4Zhy4lwYJjZB3xPeGV/8mxQcnoui+Eu1KDEl6atsquZHUpbtern/0hZl88+OlFUz0XrX34W3I9cqj61Y6KA==",
+ "dependencies": {
+ "@ledgerhq/errors": "^4.78.0",
+ "@ledgerhq/hw-transport": "^4.78.0"
+ }
+ },
+ "node_modules/@ledgerhq/hw-transport": {
+ "version": "4.78.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-4.78.0.tgz",
+ "integrity": "sha512-xQu16OMPQjFYLjqCysij+8sXtdWv2YLxPrB6FoLvEWGTlQ7yL1nUBRQyzyQtWIYqZd4THQowQmzm1VjxuN6SZw==",
+ "dependencies": {
+ "@ledgerhq/devices": "^4.78.0",
+ "@ledgerhq/errors": "^4.78.0",
+ "events": "^3.0.0"
+ }
+ },
+ "node_modules/@ledgerhq/hw-transport-node-hid": {
+ "version": "4.78.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-node-hid/-/hw-transport-node-hid-4.78.0.tgz",
+ "integrity": "sha512-OMrY2ecfQ1XjMAuuHqu3n3agMPR06HN1s0ENrKc+Twbb5A17jujpv07WzjxfTN2V1G7vgeZpRqrg2ulhowWbdg==",
+ "optional": true,
+ "dependencies": {
+ "@ledgerhq/devices": "^4.78.0",
+ "@ledgerhq/errors": "^4.78.0",
+ "@ledgerhq/hw-transport": "^4.78.0",
+ "@ledgerhq/hw-transport-node-hid-noevents": "^4.78.0",
+ "@ledgerhq/logs": "^4.72.0",
+ "lodash": "^4.17.15",
+ "node-hid": "^0.7.9",
+ "usb": "^1.6.0"
+ }
+ },
+ "node_modules/@ledgerhq/hw-transport-node-hid-noevents": {
+ "version": "4.78.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-node-hid-noevents/-/hw-transport-node-hid-noevents-4.78.0.tgz",
+ "integrity": "sha512-CJPVR4wksq+apiXH2GnsttguBxmj9zdM2HjqZ3dHZN8SFW/9Xj3k+baS+pYoUISkECVxDrdfaW3Bd5dWv+jPUg==",
+ "optional": true,
+ "dependencies": {
+ "@ledgerhq/devices": "^4.78.0",
+ "@ledgerhq/errors": "^4.78.0",
+ "@ledgerhq/hw-transport": "^4.78.0",
+ "@ledgerhq/logs": "^4.72.0",
+ "node-hid": "^0.7.9"
+ }
+ },
+ "node_modules/@ledgerhq/hw-transport-u2f": {
+ "version": "4.24.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-u2f/-/hw-transport-u2f-4.24.0.tgz",
+ "integrity": "sha512-/gFjhkM0sJfZ7iUf8HoIkGufAWgPacrbb1LW0TvWnZwvsATVJ1BZJBtrr90Wo401PKsjVwYtFt3Ce4gOAUv9jQ==",
+ "dependencies": {
+ "@ledgerhq/hw-transport": "^4.24.0",
+ "u2f-api": "0.2.7"
+ }
+ },
+ "node_modules/@ledgerhq/hw-transport-webusb": {
+ "version": "5.49.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-webusb/-/hw-transport-webusb-5.49.0.tgz",
+ "integrity": "sha512-oWgaVdAmQ9lOUnq1dhmCBP9v1ghEV+YBh0nHi7JtdpuLBuGd9red1HXdg5INE2J10rxO/wra3OoHcJlQguR8ew==",
+ "optional": true,
+ "dependencies": {
+ "@ledgerhq/devices": "^5.49.0",
+ "@ledgerhq/errors": "^5.49.0",
+ "@ledgerhq/hw-transport": "^5.49.0",
+ "@ledgerhq/logs": "^5.49.0"
+ }
+ },
+ "node_modules/@ledgerhq/hw-transport-webusb/node_modules/@ledgerhq/devices": {
+ "version": "5.49.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/devices/-/devices-5.49.0.tgz",
+ "integrity": "sha512-14VSO+NeR/O8VSXXnlBsA0DAluzanJVEjHLDJubU5NZjEttXVF9gdQh1j10+MKW0f8H23IkdqwswVQIB9ZPomQ==",
+ "optional": true,
+ "dependencies": {
+ "@ledgerhq/errors": "^5.49.0",
+ "@ledgerhq/logs": "^5.49.0",
+ "rxjs": "^6.6.7",
+ "semver": "^7.3.5"
+ }
+ },
+ "node_modules/@ledgerhq/hw-transport-webusb/node_modules/@ledgerhq/errors": {
+ "version": "5.49.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/errors/-/errors-5.49.0.tgz",
+ "integrity": "sha512-+uhoSsAnzZiZ2CUk/dv4Uo8lrl0jn2izYJATSbC5aZFd0Yl7PWZ1SMHMkvPVEgQvWZcu4iQZ67rlKOtj5tUFWA==",
+ "optional": true
+ },
+ "node_modules/@ledgerhq/hw-transport-webusb/node_modules/@ledgerhq/hw-transport": {
+ "version": "5.49.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-5.49.0.tgz",
+ "integrity": "sha512-mfQNSxZ3cTXo+l6SEM+D92YaW46GkP1IiWo9OkHPnsq8y8IxSD6QJOEiAAZtvpGvV1eRqqrVyanoFRTuHcZjZA==",
+ "optional": true,
+ "dependencies": {
+ "@ledgerhq/devices": "^5.49.0",
+ "@ledgerhq/errors": "^5.49.0",
+ "events": "^3.3.0"
+ }
+ },
+ "node_modules/@ledgerhq/hw-transport-webusb/node_modules/@ledgerhq/logs": {
+ "version": "5.49.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/logs/-/logs-5.49.0.tgz",
+ "integrity": "sha512-Ynl2JzRwh8l9PoXrDNihXEicpVo6Ra2lYZoqSYfVH/v/2/TSa/JB9Qll8P85XFYkS3ouDTTbp1S5KViaTkqD5g==",
+ "optional": true
+ },
+ "node_modules/@ledgerhq/hw-transport-webusb/node_modules/lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "optional": true,
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@ledgerhq/hw-transport-webusb/node_modules/semver": {
+ "version": "7.3.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
+ "optional": true,
+ "dependencies": {
+ "lru-cache": "^6.0.0"
+ },
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@ledgerhq/hw-transport-webusb/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "optional": true
+ },
+ "node_modules/@ledgerhq/logs": {
+ "version": "4.72.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/logs/-/logs-4.72.0.tgz",
+ "integrity": "sha512-o+TYF8vBcyySRsb2kqBDv/KMeme8a2nwWoG+lAWzbDmWfb2/MrVWYCVYDYvjXdSoI/Cujqy1i0gIDrkdxa9chA=="
+ },
+ "node_modules/@multiformats/base-x": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@multiformats/base-x/-/base-x-4.0.1.tgz",
+ "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==",
+ "optional": true
+ },
+ "node_modules/@nodefactory/filsnap-adapter": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@nodefactory/filsnap-adapter/-/filsnap-adapter-0.2.2.tgz",
+ "integrity": "sha512-nbaYMwVopOXN2bWOdDY3il6gGL9qMuCmMN4WPuoxzJjSnAMJNqEeSe6MNNJ/fYBLipZcJfAtirNXRrFLFN+Tvw==",
+ "optional": true
+ },
+ "node_modules/@nodefactory/filsnap-types": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@nodefactory/filsnap-types/-/filsnap-types-0.2.2.tgz",
+ "integrity": "sha512-XT1tE2vrYF2D0tSNNekgjqKRpqPQn4W72eKul9dDCul/8ykouhqnVTyjFHYvBhlBWE0PK3nmG7i83QvhgGSiMw==",
+ "optional": true
+ },
+ "node_modules/@nodelib/fs.scandir": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz",
+ "integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==",
+ "optional": true,
+ "dependencies": {
+ "@nodelib/fs.stat": "2.0.4",
+ "run-parallel": "^1.1.9"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.stat": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz",
+ "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==",
+ "optional": true,
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.walk": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz",
+ "integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==",
+ "optional": true,
+ "dependencies": {
+ "@nodelib/fs.scandir": "2.1.4",
+ "fastq": "^1.6.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@protobufjs/aspromise": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz",
+ "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=",
+ "optional": true
+ },
+ "node_modules/@protobufjs/base64": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz",
+ "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==",
+ "optional": true
+ },
+ "node_modules/@protobufjs/codegen": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz",
+ "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==",
+ "optional": true
+ },
+ "node_modules/@protobufjs/eventemitter": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz",
+ "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=",
+ "optional": true
+ },
+ "node_modules/@protobufjs/fetch": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz",
+ "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=",
+ "optional": true,
+ "dependencies": {
+ "@protobufjs/aspromise": "^1.1.1",
+ "@protobufjs/inquire": "^1.1.0"
+ }
+ },
+ "node_modules/@protobufjs/float": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz",
+ "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=",
+ "optional": true
+ },
+ "node_modules/@protobufjs/inquire": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz",
+ "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=",
+ "optional": true
+ },
+ "node_modules/@protobufjs/path": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz",
+ "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=",
+ "optional": true
+ },
+ "node_modules/@protobufjs/pool": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz",
+ "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=",
+ "optional": true
+ },
+ "node_modules/@protobufjs/utf8": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz",
+ "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=",
+ "optional": true
+ },
+ "node_modules/@redux-saga/core": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@redux-saga/core/-/core-1.1.3.tgz",
+ "integrity": "sha512-8tInBftak8TPzE6X13ABmEtRJGjtK17w7VUs7qV17S8hCO5S3+aUTWZ/DBsBJPdE8Z5jOPwYALyvofgq1Ws+kg==",
+ "dependencies": {
+ "@babel/runtime": "^7.6.3",
+ "@redux-saga/deferred": "^1.1.2",
+ "@redux-saga/delay-p": "^1.1.2",
+ "@redux-saga/is": "^1.1.2",
+ "@redux-saga/symbols": "^1.1.2",
+ "@redux-saga/types": "^1.1.0",
+ "redux": "^4.0.4",
+ "typescript-tuple": "^2.2.1"
+ }
+ },
+ "node_modules/@redux-saga/core/node_modules/redux": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/redux/-/redux-4.0.5.tgz",
+ "integrity": "sha512-VSz1uMAH24DM6MF72vcojpYPtrTUu3ByVWfPL1nPfVRb5mZVTve5GnNCUV53QM/BZ66xfWrm0CTWoM+Xlz8V1w==",
+ "dependencies": {
+ "loose-envify": "^1.4.0",
+ "symbol-observable": "^1.2.0"
+ }
+ },
+ "node_modules/@redux-saga/core/node_modules/symbol-observable": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
+ "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/@redux-saga/deferred": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@redux-saga/deferred/-/deferred-1.1.2.tgz",
+ "integrity": "sha512-908rDLHFN2UUzt2jb4uOzj6afpjgJe3MjICaUNO3bvkV/kN/cNeI9PMr8BsFXB/MR8WTAZQq/PlTq8Kww3TBSQ=="
+ },
+ "node_modules/@redux-saga/delay-p": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@redux-saga/delay-p/-/delay-p-1.1.2.tgz",
+ "integrity": "sha512-ojc+1IoC6OP65Ts5+ZHbEYdrohmIw1j9P7HS9MOJezqMYtCDgpkoqB5enAAZrNtnbSL6gVCWPHaoaTY5KeO0/g==",
+ "dependencies": {
+ "@redux-saga/symbols": "^1.1.2"
+ }
+ },
+ "node_modules/@redux-saga/is": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@redux-saga/is/-/is-1.1.2.tgz",
+ "integrity": "sha512-OLbunKVsCVNTKEf2cH4TYyNbbPgvmZ52iaxBD4I1fTif4+MTXMa4/Z07L83zW/hTCXwpSZvXogqMqLfex2Tg6w==",
+ "dependencies": {
+ "@redux-saga/symbols": "^1.1.2",
+ "@redux-saga/types": "^1.1.0"
+ }
+ },
+ "node_modules/@redux-saga/symbols": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@redux-saga/symbols/-/symbols-1.1.2.tgz",
+ "integrity": "sha512-EfdGnF423glv3uMwLsGAtE6bg+R9MdqlHEzExnfagXPrIiuxwr3bdiAwz3gi+PsrQ3yBlaBpfGLtDG8rf3LgQQ=="
+ },
+ "node_modules/@redux-saga/types": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@redux-saga/types/-/types-1.1.0.tgz",
+ "integrity": "sha512-afmTuJrylUU/0OtqzaRkbyYFFNgCF73Bvel/sw90pvGrWIZ+vyoIJqA6eMSoA6+nb443kTmulmBtC9NerXboNg=="
+ },
+ "node_modules/@repeaterjs/repeater": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@repeaterjs/repeater/-/repeater-3.0.4.tgz",
+ "integrity": "sha512-AW8PKd6iX3vAZ0vA43nOUOnbq/X5ihgU+mSXXqunMkeQADGiqw/PY0JNeYtD5sr0PAy51YPgAPbDoeapv9r8WA==",
+ "optional": true
+ },
+ "node_modules/@resolver-engine/core": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/@resolver-engine/core/-/core-0.2.1.tgz",
+ "integrity": "sha512-nsLQHmPJ77QuifqsIvqjaF5B9aHnDzJjp73Q1z6apY3e9nqYrx4Dtowhpsf7Jwftg/XzVDEMQC+OzUBNTS+S1A==",
+ "dependencies": {
+ "debug": "^3.1.0",
+ "request": "^2.85.0"
+ }
+ },
+ "node_modules/@resolver-engine/fs": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/@resolver-engine/fs/-/fs-0.2.1.tgz",
+ "integrity": "sha512-7kJInM1Qo2LJcKyDhuYzh9ZWd+mal/fynfL9BNjWOiTcOpX+jNfqb/UmGUqros5pceBITlWGqS4lU709yHFUbg==",
+ "dependencies": {
+ "@resolver-engine/core": "^0.2.1",
+ "debug": "^3.1.0"
+ }
+ },
+ "node_modules/@resolver-engine/imports": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@resolver-engine/imports/-/imports-0.2.2.tgz",
+ "integrity": "sha512-u5/HUkvo8q34AA+hnxxqqXGfby5swnH0Myw91o3Sm2TETJlNKXibFGSKBavAH+wvWdBi4Z5gS2Odu0PowgVOUg==",
+ "dependencies": {
+ "@resolver-engine/core": "^0.2.1",
+ "debug": "^3.1.0",
+ "hosted-git-info": "^2.6.0"
+ }
+ },
+ "node_modules/@resolver-engine/imports-fs": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@resolver-engine/imports-fs/-/imports-fs-0.2.2.tgz",
+ "integrity": "sha512-gFCgMvCwyppjwq0UzIjde/WI+yDs3oatJhozG9xdjJdewwtd7LiF0T5i9lrHAUtqrQbqoFE4E+ZMRVHWpWHpKQ==",
+ "dependencies": {
+ "@resolver-engine/fs": "^0.2.1",
+ "@resolver-engine/imports": "^0.2.2",
+ "debug": "^3.1.0"
+ }
+ },
+ "node_modules/@sindresorhus/is": {
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
+ "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@szmarczak/http-timer": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz",
+ "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==",
+ "dependencies": {
+ "defer-to-connect": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@textile/buckets": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/@textile/buckets/-/buckets-6.0.5.tgz",
+ "integrity": "sha512-MJum/qLGPE13Ew0uhoNI4Wp2SdDCdmfp35JFEBHU4Uisna0PZ4lfOFXZVA/cVVgw5g94NOm1KS0FXQKu0x8prw==",
+ "optional": true,
+ "dependencies": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@repeaterjs/repeater": "^3.0.4",
+ "@textile/buckets-grpc": "2.6.5",
+ "@textile/context": "^0.11.1",
+ "@textile/crypto": "^4.1.1",
+ "@textile/grpc-authentication": "^3.3.4",
+ "@textile/grpc-connection": "^2.4.1",
+ "@textile/grpc-transport": "^0.4.0",
+ "@textile/hub-grpc": "2.6.5",
+ "@textile/hub-threads-client": "^5.3.4",
+ "@textile/security": "^0.8.1",
+ "@textile/threads-id": "^0.5.1",
+ "abort-controller": "^3.0.0",
+ "cids": "^1.1.4",
+ "it-drain": "^1.0.3",
+ "loglevel": "^1.6.8",
+ "paramap-it": "^0.1.1"
+ }
+ },
+ "node_modules/@textile/buckets-grpc": {
+ "version": "2.6.5",
+ "resolved": "https://registry.npmjs.org/@textile/buckets-grpc/-/buckets-grpc-2.6.5.tgz",
+ "integrity": "sha512-jySQPKJvqeyeVJZIx4BUlgi3MHxKvVpyV1NtoZXserItLbNNPURaFuCeLi7ujAXjGWIcMMJMbcFfSsetDVvrOQ==",
+ "optional": true,
+ "dependencies": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@types/google-protobuf": "^3.7.4",
+ "google-protobuf": "^3.13.0"
+ }
+ },
+ "node_modules/@textile/context": {
+ "version": "0.11.1",
+ "resolved": "https://registry.npmjs.org/@textile/context/-/context-0.11.1.tgz",
+ "integrity": "sha512-XP1cBT5OaJVt8LrTCzE/OffnmE4ImwDXiGG7kzU5gCRSx5ftafEwgOOjbQA3HRPl7nWW1YdBsiZf35xSM1KmoQ==",
+ "optional": true,
+ "dependencies": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@textile/security": "^0.8.1"
+ }
+ },
+ "node_modules/@textile/crypto": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/@textile/crypto/-/crypto-4.1.1.tgz",
+ "integrity": "sha512-n/SxZyNvAD4FEyfX1HXtyNDcK+stUYur0vgwIoi5NzT6jP6gwhFVzf8NI3TBNIP2rInCAuF3Qks8hWS+LWL/YA==",
+ "optional": true,
+ "dependencies": {
+ "@types/ed2curve": "^0.2.2",
+ "ed2curve": "^0.3.0",
+ "fastestsmallesttextencoderdecoder": "^1.0.22",
+ "multibase": "^3.1.0",
+ "tweetnacl": "^1.0.3"
+ }
+ },
+ "node_modules/@textile/crypto/node_modules/tweetnacl": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz",
+ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==",
+ "optional": true
+ },
+ "node_modules/@textile/grpc-authentication": {
+ "version": "3.3.4",
+ "resolved": "https://registry.npmjs.org/@textile/grpc-authentication/-/grpc-authentication-3.3.4.tgz",
+ "integrity": "sha512-E7pw+MDNu7oWFWiTqDuLZncei+GIwnlSXlRlrRUXITZrf9vBiY+QHKkDrhLyhBpaLGazqB0PERzOFx8a0BYlbw==",
+ "optional": true,
+ "dependencies": {
+ "@textile/context": "^0.11.1",
+ "@textile/crypto": "^4.1.1",
+ "@textile/grpc-connection": "^2.4.1",
+ "@textile/hub-threads-client": "^5.3.4",
+ "@textile/security": "^0.8.1"
+ }
+ },
+ "node_modules/@textile/grpc-connection": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/@textile/grpc-connection/-/grpc-connection-2.4.1.tgz",
+ "integrity": "sha512-8+y9PFcl9VBCludEpXvzputIis3lKYAzExdm8+zvtrr9uv0dCovIS0bu2GJoqU6DJkQSVBP9PA4V6T9THuQpjQ==",
+ "optional": true,
+ "dependencies": {
+ "@improbable-eng/grpc-web": "^0.12.0",
+ "@textile/context": "^0.11.1",
+ "@textile/grpc-transport": "^0.4.0"
+ }
+ },
+ "node_modules/@textile/grpc-connection/node_modules/@improbable-eng/grpc-web": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.12.0.tgz",
+ "integrity": "sha512-uJjgMPngreRTYPBuo6gswMj1gK39Wbqre/RgE0XnSDXJRg6ST7ZhuS53dFE6Vc2CX4jxgl+cO+0B3op8LA4Q0Q==",
+ "optional": true,
+ "dependencies": {
+ "browser-headers": "^0.4.0"
+ },
+ "peerDependencies": {
+ "google-protobuf": "^3.2.0"
+ }
+ },
+ "node_modules/@textile/grpc-powergate-client": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/@textile/grpc-powergate-client/-/grpc-powergate-client-2.4.0.tgz",
+ "integrity": "sha512-yDWHUKqHOO4Zs4dIYCY/2stQpabYOe+7EBARrn6VYXklXMQGBznOdOO3HsR8X335WOj8JHcxKvWKOW8J7cYNFw==",
+ "optional": true,
+ "dependencies": {
+ "@improbable-eng/grpc-web": "^0.14.0",
+ "@types/google-protobuf": "^3.7.4",
+ "google-protobuf": "^3.15.6"
+ }
+ },
+ "node_modules/@textile/grpc-powergate-client/node_modules/@improbable-eng/grpc-web": {
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.14.0.tgz",
+ "integrity": "sha512-ag1PTMWpBZKGi6GrEcZ4lkU5Qag23Xjo10BmnK9qyx4TMmSVcWmQ3rECirfQzm2uogrM9n1M6xfOpFsJP62ivA==",
+ "optional": true,
+ "dependencies": {
+ "browser-headers": "^0.4.1"
+ },
+ "peerDependencies": {
+ "google-protobuf": "^3.14.0"
+ }
+ },
+ "node_modules/@textile/grpc-transport": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/@textile/grpc-transport/-/grpc-transport-0.4.0.tgz",
+ "integrity": "sha512-OyHyv963Y0y1qlMkuIp7urWCKbCL0Tjn06ffFo+u82yy6G1YprjTQDE980dUGQMZfK1EF2/OTjqZb04PxHa5zQ==",
+ "optional": true,
+ "dependencies": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@types/ws": "^7.2.6",
+ "isomorphic-ws": "^4.0.1",
+ "loglevel": "^1.6.6",
+ "ws": "^7.2.1"
+ }
+ },
+ "node_modules/@textile/grpc-transport/node_modules/ws": {
+ "version": "7.4.5",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz",
+ "integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==",
+ "optional": true,
+ "engines": {
+ "node": ">=8.3.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": "^5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@textile/hub": {
+ "version": "6.1.2",
+ "resolved": "https://registry.npmjs.org/@textile/hub/-/hub-6.1.2.tgz",
+ "integrity": "sha512-BnmF1539+/939BmmHt+X7TzSrDgD3vkP5tBHZKksjppJn6q+6BJOPYdmWapt6S9YOTQAoCcYkkcr+xUdN8z3mA==",
+ "optional": true,
+ "dependencies": {
+ "@textile/buckets": "^6.0.5",
+ "@textile/crypto": "^4.1.1",
+ "@textile/grpc-authentication": "^3.3.4",
+ "@textile/hub-filecoin": "^2.0.5",
+ "@textile/hub-grpc": "2.6.5",
+ "@textile/hub-threads-client": "^5.3.4",
+ "@textile/security": "^0.8.1",
+ "@textile/threads-id": "^0.5.1",
+ "@textile/users": "^6.0.4",
+ "loglevel": "^1.6.8",
+ "multihashes": "3.1.2"
+ }
+ },
+ "node_modules/@textile/hub-filecoin": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@textile/hub-filecoin/-/hub-filecoin-2.0.5.tgz",
+ "integrity": "sha512-5qwm3aMeR5q6KBbY1tVagUynMDw/Irh6jijgtlv66kQ+CbV4TgQjLsIH14UQkgcAW5hj1CMfqPIabLaBXFtDlA==",
+ "optional": true,
+ "dependencies": {
+ "@improbable-eng/grpc-web": "^0.12.0",
+ "@textile/context": "^0.11.1",
+ "@textile/crypto": "^4.1.1",
+ "@textile/grpc-authentication": "^3.3.4",
+ "@textile/grpc-connection": "^2.4.1",
+ "@textile/grpc-powergate-client": "^2.3.0",
+ "@textile/hub-grpc": "2.6.5",
+ "@textile/security": "^0.8.1",
+ "event-iterator": "^2.0.0",
+ "loglevel": "^1.6.8"
+ }
+ },
+ "node_modules/@textile/hub-filecoin/node_modules/@improbable-eng/grpc-web": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.12.0.tgz",
+ "integrity": "sha512-uJjgMPngreRTYPBuo6gswMj1gK39Wbqre/RgE0XnSDXJRg6ST7ZhuS53dFE6Vc2CX4jxgl+cO+0B3op8LA4Q0Q==",
+ "optional": true,
+ "dependencies": {
+ "browser-headers": "^0.4.0"
+ },
+ "peerDependencies": {
+ "google-protobuf": "^3.2.0"
+ }
+ },
+ "node_modules/@textile/hub-grpc": {
+ "version": "2.6.5",
+ "resolved": "https://registry.npmjs.org/@textile/hub-grpc/-/hub-grpc-2.6.5.tgz",
+ "integrity": "sha512-BFjhkBOQD1CebGjP4Hys/6Z5OlzepZTbC11kUSuLG6mt4rb2JiDNw25/UUzylsJCkpyAusob2sttJ9GUh/lv+g==",
+ "optional": true,
+ "dependencies": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@types/google-protobuf": "^3.7.4",
+ "google-protobuf": "^3.13.0"
+ }
+ },
+ "node_modules/@textile/hub-threads-client": {
+ "version": "5.3.4",
+ "resolved": "https://registry.npmjs.org/@textile/hub-threads-client/-/hub-threads-client-5.3.4.tgz",
+ "integrity": "sha512-bKbpavWOg2bH9Zuf/aSmg7YOfKzx9yL7xmvPYo1FBaVcos8XeZvsN2gA80oFzTfm88e6xvotNNcRy7GktGDWIQ==",
+ "optional": true,
+ "dependencies": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@textile/context": "^0.11.1",
+ "@textile/hub-grpc": "2.6.5",
+ "@textile/security": "^0.8.1",
+ "@textile/threads-client": "^2.1.2",
+ "@textile/threads-id": "^0.5.1",
+ "@textile/users-grpc": "2.6.5",
+ "loglevel": "^1.7.0"
+ }
+ },
+ "node_modules/@textile/multiaddr": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/@textile/multiaddr/-/multiaddr-0.5.1.tgz",
+ "integrity": "sha512-i/lBZ9j+MgxqcjLl+4lbOCbw5dU3Vbn39aGKma8yBILLPbmCAWWUDGzk5+Rbcnk3giuPBM/nNhJLLSeKzK+rhA==",
+ "optional": true,
+ "dependencies": {
+ "@textile/threads-id": "^0.5.1",
+ "multiaddr": "^8.1.2",
+ "varint": "^6.0.0"
+ }
+ },
+ "node_modules/@textile/security": {
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/@textile/security/-/security-0.8.1.tgz",
+ "integrity": "sha512-FVoBRP7DAL+lh1+CyUQPE3ceG8HO3LMClTPYuNjW+2BAOR+KiKf5vFbeSpe29l6p+A9LF5/r2KWz7bN5cqCs8w==",
+ "optional": true,
+ "dependencies": {
+ "@consento/sync-randombytes": "^1.0.5",
+ "fast-sha256": "^1.3.0",
+ "fastestsmallesttextencoderdecoder": "^1.0.22",
+ "multibase": "^3.1.0"
+ }
+ },
+ "node_modules/@textile/threads-client": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/@textile/threads-client/-/threads-client-2.1.2.tgz",
+ "integrity": "sha512-N4ItF3hxKmdC3oA1dAENw9uA7Q89q86/foYiNaXLPq5KJ1B3IYP3GdXjxe56wkT6dRRniCIREkRnqDdwVpRtQA==",
+ "optional": true,
+ "dependencies": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@textile/context": "^0.11.1",
+ "@textile/crypto": "^4.1.1",
+ "@textile/grpc-transport": "^0.4.0",
+ "@textile/multiaddr": "^0.5.1",
+ "@textile/security": "^0.8.1",
+ "@textile/threads-client-grpc": "^1.0.2",
+ "@textile/threads-id": "^0.5.1",
+ "@types/to-json-schema": "^0.2.0",
+ "fastestsmallesttextencoderdecoder": "^1.0.22",
+ "to-json-schema": "^0.2.5"
+ }
+ },
+ "node_modules/@textile/threads-client-grpc": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@textile/threads-client-grpc/-/threads-client-grpc-1.0.2.tgz",
+ "integrity": "sha512-yrgdUb3VLGW18HKmbzAU8L7NElhnPYKWG9cHZG6EnV3ITS9zOiDydfVSNSkojEDfoFSel5x3eAUiOQbXUrkKng==",
+ "optional": true,
+ "dependencies": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@types/google-protobuf": "^3.7.3",
+ "google-protobuf": "^3.13.0"
+ }
+ },
+ "node_modules/@textile/threads-id": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/@textile/threads-id/-/threads-id-0.5.1.tgz",
+ "integrity": "sha512-Nyvp24RsHarLBT3JxEI5akshcKKXA4Yx851bAooReE5G/40cijMuxTeVK4hDM0HdTex4PZRYozpPRXIDFDA96Q==",
+ "optional": true,
+ "dependencies": {
+ "@consento/sync-randombytes": "^1.0.4",
+ "multibase": "^3.1.0",
+ "varint": "^6.0.0"
+ }
+ },
+ "node_modules/@textile/users": {
+ "version": "6.0.4",
+ "resolved": "https://registry.npmjs.org/@textile/users/-/users-6.0.4.tgz",
+ "integrity": "sha512-/aDwdcsvpW0QrUuXmRAAg41oGjGebwMUGK5czY0gcI/+Av6W8PicHJk4O9ft5ByfwXWzUMyz3ODWH45OYi0TVQ==",
+ "optional": true,
+ "dependencies": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@textile/buckets-grpc": "2.6.5",
+ "@textile/context": "^0.11.1",
+ "@textile/crypto": "^4.1.1",
+ "@textile/grpc-authentication": "^3.3.4",
+ "@textile/grpc-connection": "^2.4.1",
+ "@textile/grpc-transport": "^0.4.0",
+ "@textile/hub-grpc": "2.6.5",
+ "@textile/hub-threads-client": "^5.3.4",
+ "@textile/security": "^0.8.1",
+ "@textile/threads-id": "^0.5.1",
+ "@textile/users-grpc": "2.6.5",
+ "event-iterator": "^2.0.0",
+ "loglevel": "^1.7.0"
+ }
+ },
+ "node_modules/@textile/users-grpc": {
+ "version": "2.6.5",
+ "resolved": "https://registry.npmjs.org/@textile/users-grpc/-/users-grpc-2.6.5.tgz",
+ "integrity": "sha512-JMxkze3eyxyuxhbuMrqdbVTqp5wQmv1YoXAq1gJdAYYpcOX5S4ov6arI5NPy3weF3+KP3U+BX/HdR8dIvkFAcw==",
+ "optional": true,
+ "dependencies": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@types/google-protobuf": "^3.7.4",
+ "google-protobuf": "^3.13.0"
+ }
+ },
+ "node_modules/@truffle/abi-utils": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/@truffle/abi-utils/-/abi-utils-0.1.6.tgz",
+ "integrity": "sha512-A9bW5XHywPNHod8rsu4x4eyM4C6k3eMeyOCd47edhiA/e9kgAVp6J3QDzKoHS8nuJ2qiaq+jk5bLnAgNWAHYyQ==",
+ "dependencies": {
+ "change-case": "3.0.2",
+ "faker": "^5.3.1",
+ "fast-check": "^2.12.1"
+ }
+ },
+ "node_modules/@truffle/code-utils": {
+ "version": "1.2.25",
+ "resolved": "https://registry.npmjs.org/@truffle/code-utils/-/code-utils-1.2.25.tgz",
+ "integrity": "sha512-LsKFfsb+gAv44upI/iof1jLOBmXUoViFBbHwAwiec8n4wHreAQq7xd3t3q/A9MFLZfbKjDNdLya9jGQ6x7f3lQ==",
+ "dependencies": {
+ "cbor": "^5.1.0"
+ }
+ },
+ "node_modules/@truffle/codec": {
+ "version": "0.10.3",
+ "resolved": "https://registry.npmjs.org/@truffle/codec/-/codec-0.10.3.tgz",
+ "integrity": "sha512-0jSmXO6lBS4LwQQG+Qm2pb1euTZrsr23cYUvgWQlAhGQhCEtOmrOm0rXe/ONhISc010bjaWaQxCy6iV8+F9/xQ==",
+ "dependencies": {
+ "big.js": "^5.2.2",
+ "bn.js": "^5.1.3",
+ "cbor": "^5.1.0",
+ "debug": "^4.3.1",
+ "lodash.clonedeep": "^4.5.0",
+ "lodash.escaperegexp": "^4.1.2",
+ "lodash.partition": "^4.6.0",
+ "lodash.sum": "^4.0.2",
+ "semver": "^7.3.4",
+ "utf8": "^3.0.0",
+ "web3-utils": "1.3.5"
+ }
+ },
+ "node_modules/@truffle/codec/node_modules/bn.js": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw=="
+ },
+ "node_modules/@truffle/codec/node_modules/debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@truffle/codec/node_modules/lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@truffle/codec/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
+ },
+ "node_modules/@truffle/codec/node_modules/semver": {
+ "version": "7.3.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
+ "dependencies": {
+ "lru-cache": "^6.0.0"
+ },
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@truffle/codec/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
+ },
+ "node_modules/@truffle/config": {
+ "version": "1.2.37",
+ "resolved": "https://registry.npmjs.org/@truffle/config/-/config-1.2.37.tgz",
+ "integrity": "sha512-bvzDiX1oD2JJsCDJ9R+ZWVrP0E7LpRg5p9R1VeNwmlWdBpQ4ApmH/TLH3gobc5zI/KV8n/wxeF2UGjPx4JdoVQ==",
+ "optional": true,
+ "dependencies": {
+ "@truffle/error": "^0.0.12",
+ "@truffle/events": "^0.0.9",
+ "@truffle/provider": "^0.2.28",
+ "configstore": "^4.0.0",
+ "find-up": "^2.1.0",
+ "lodash.assignin": "^4.2.0",
+ "lodash.merge": "^4.6.2",
+ "module": "^1.2.5",
+ "original-require": "^1.0.1"
+ }
+ },
+ "node_modules/@truffle/config/node_modules/configstore": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/configstore/-/configstore-4.0.0.tgz",
+ "integrity": "sha512-CmquAXFBocrzaSM8mtGPMM/HiWmyIpr4CcJl/rgY2uCObZ/S7cKU0silxslqJejl+t/T9HS8E0PUNQD81JGUEQ==",
+ "optional": true,
+ "dependencies": {
+ "dot-prop": "^4.1.0",
+ "graceful-fs": "^4.1.2",
+ "make-dir": "^1.0.0",
+ "unique-string": "^1.0.0",
+ "write-file-atomic": "^2.0.0",
+ "xdg-basedir": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@truffle/config/node_modules/find-up": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
+ "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
+ "optional": true,
+ "dependencies": {
+ "locate-path": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@truffle/db": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/@truffle/db/-/db-0.5.7.tgz",
+ "integrity": "sha512-eRWTK0tXotu3MrKVOJAt0xgX7HqQ2VCL8hGFf2oIOpRylSqVj0eKhnISm5sLL5t0RoS7cwMFgldinQbPjY0W4A==",
+ "optional": true,
+ "dependencies": {
+ "@truffle/abi-utils": "^0.1.6",
+ "@truffle/code-utils": "^1.2.25",
+ "@truffle/config": "^1.2.37",
+ "apollo-server": "^2.18.2",
+ "debug": "^4.3.1",
+ "fs-extra": "^9.1.0",
+ "graphql": "^15.3.0",
+ "graphql-tag": "^2.11.0",
+ "graphql-tools": "^6.2.4",
+ "json-stable-stringify": "^1.0.1",
+ "jsondown": "^1.0.0",
+ "pascal-case": "^2.0.1",
+ "pluralize": "^8.0.0",
+ "pouchdb": "7.1.1",
+ "pouchdb-adapter-memory": "^7.1.1",
+ "pouchdb-adapter-node-websql": "^7.0.0",
+ "pouchdb-debug": "^7.1.1",
+ "pouchdb-find": "^7.0.0",
+ "web3-utils": "1.3.5"
+ }
+ },
+ "node_modules/@truffle/db/node_modules/debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "optional": true,
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@truffle/db/node_modules/fs-extra": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
+ "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",
+ "optional": true,
+ "dependencies": {
+ "at-least-node": "^1.0.0",
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@truffle/db/node_modules/jsonfile": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
+ "optional": true,
+ "dependencies": {
+ "universalify": "^2.0.0"
+ },
+ "optionalDependencies": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
+ "node_modules/@truffle/db/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "optional": true
+ },
+ "node_modules/@truffle/db/node_modules/pluralize": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz",
+ "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==",
+ "optional": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@truffle/debugger": {
+ "version": "8.0.21",
+ "resolved": "https://registry.npmjs.org/@truffle/debugger/-/debugger-8.0.21.tgz",
+ "integrity": "sha512-zRM2IcUBH5tmJ8y0T2tqNHLBKG2WpAvBBz++SGxCJp2fPsGCMyDlmVbfGL5Qr8e5UgynUOb9yRWhcjuuSR25cA==",
+ "dependencies": {
+ "@truffle/abi-utils": "^0.1.6",
+ "@truffle/codec": "^0.10.3",
+ "@truffle/source-map-utils": "^1.3.37",
+ "bn.js": "^5.1.3",
+ "debug": "^4.3.1",
+ "json-pointer": "^0.6.0",
+ "json-stable-stringify": "^1.0.1",
+ "lodash.flatten": "^4.4.0",
+ "lodash.merge": "^4.6.2",
+ "lodash.sum": "^4.0.2",
+ "lodash.zipwith": "^4.2.0",
+ "redux": "^3.7.2",
+ "redux-cli-logger": "^2.0.1",
+ "redux-saga": "1.0.0",
+ "remote-redux-devtools": "^0.5.12",
+ "reselect-tree": "^1.3.4",
+ "semver": "^7.3.4",
+ "web3": "1.3.5",
+ "web3-eth-abi": "1.3.5"
+ }
+ },
+ "node_modules/@truffle/debugger/node_modules/bn.js": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw=="
+ },
+ "node_modules/@truffle/debugger/node_modules/debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@truffle/debugger/node_modules/lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@truffle/debugger/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
+ },
+ "node_modules/@truffle/debugger/node_modules/semver": {
+ "version": "7.3.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
+ "dependencies": {
+ "lru-cache": "^6.0.0"
+ },
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@truffle/debugger/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
+ },
+ "node_modules/@truffle/error": {
+ "version": "0.0.12",
+ "resolved": "https://registry.npmjs.org/@truffle/error/-/error-0.0.12.tgz",
+ "integrity": "sha512-kZqqnPR9YDJG7KCDOcN1qH16Qs0oz1PzF0Y93AWdhXuL9S9HYo/RUUeqGKbPpRBEZldQUS8aa4EzfK08u5pu6g==",
+ "optional": true
+ },
+ "node_modules/@truffle/events": {
+ "version": "0.0.9",
+ "resolved": "https://registry.npmjs.org/@truffle/events/-/events-0.0.9.tgz",
+ "integrity": "sha512-o0rS8zkjCzg2vDJymSZyyq1eKdkRbxIFnsnYQl6Bc2StK89C/ZISenxrUe2fbdeq3L9Zq+ds1mSKH/MFK0Ejkg==",
+ "optional": true,
+ "dependencies": {
+ "emittery": "^0.4.1",
+ "ora": "^3.4.0"
+ }
+ },
+ "node_modules/@truffle/interface-adapter": {
+ "version": "0.4.21",
+ "resolved": "https://registry.npmjs.org/@truffle/interface-adapter/-/interface-adapter-0.4.21.tgz",
+ "integrity": "sha512-uGU9T0a1S1f1xiTrNksd9ba+55SyU9jaCLNauFGOtppWDmjHD7dorxncEyj7lM9dcKl+w8Y+wHy79bb/LG4XFQ==",
+ "optional": true,
+ "dependencies": {
+ "bn.js": "^5.1.3",
+ "ethers": "^4.0.32",
+ "web3": "1.3.5"
+ }
+ },
+ "node_modules/@truffle/interface-adapter/node_modules/bn.js": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==",
+ "optional": true
+ },
+ "node_modules/@truffle/preserve": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@truffle/preserve/-/preserve-0.2.0.tgz",
+ "integrity": "sha512-cm0afXOXRXwHl6kqTCCbR4w4bzEyFxmAjMalvOve8bCzUec+ZnEA53TEmOJyaUoKCPJl/wSbKZbsLZdqajpSLw==",
+ "optional": true,
+ "dependencies": {
+ "spinnies": "^0.5.1"
+ }
+ },
+ "node_modules/@truffle/preserve-fs": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@truffle/preserve-fs/-/preserve-fs-0.2.0.tgz",
+ "integrity": "sha512-1kLv0/RF6vXwP5utXABv0NeQDzgN5M8bzyM14uJfiJoQSAMtLiSp6L33a7CN+/vYkV14Xel4LMiPMTHXrdVsTA==",
+ "optional": true,
+ "dependencies": {
+ "@truffle/preserve": "^0.2.0"
+ }
+ },
+ "node_modules/@truffle/preserve-to-buckets": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@truffle/preserve-to-buckets/-/preserve-to-buckets-0.2.0.tgz",
+ "integrity": "sha512-xnvL6KPUbLcD2FYW+4f6dssQRfGF/UjJy3nKkZW5qNfCFMmaXkRohlPE/bPHjsitt7L9nNG6NLy55MszAJGc7Q==",
+ "optional": true,
+ "dependencies": {
+ "@textile/hub": "^6.0.2",
+ "@truffle/preserve": "^0.2.0",
+ "cids": "^1.1.5",
+ "ipfs-http-client": "^48.2.2",
+ "isomorphic-ws": "^4.0.1",
+ "iter-tools": "^7.0.2",
+ "ws": "^7.4.3"
+ }
+ },
+ "node_modules/@truffle/preserve-to-buckets/node_modules/ws": {
+ "version": "7.4.5",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz",
+ "integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==",
+ "optional": true,
+ "engines": {
+ "node": ">=8.3.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": "^5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@truffle/preserve-to-filecoin": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@truffle/preserve-to-filecoin/-/preserve-to-filecoin-0.2.0.tgz",
+ "integrity": "sha512-Da8/EQOio+HfwI+IMSqzSh3bjV/IE0rgC9j2yf7/t7DAxGhXnv3yiT8Wms6a7/LtkBE2n5Qb2SYCHHVCySwPKg==",
+ "optional": true,
+ "dependencies": {
+ "@truffle/preserve": "^0.2.0",
+ "cids": "^1.1.5",
+ "delay": "^5.0.0",
+ "filecoin.js": "^0.0.5-alpha",
+ "node-fetch": "^2.6.0"
+ }
+ },
+ "node_modules/@truffle/preserve-to-filecoin/node_modules/node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true,
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/@truffle/preserve-to-ipfs": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@truffle/preserve-to-ipfs/-/preserve-to-ipfs-0.2.0.tgz",
+ "integrity": "sha512-QuTyzOglZWHYkcX9Em5duvqJRJg6Gu//5LfDDaKghIgI5Iw0OpcOdpVk7yATPk85XeIFgRR8R8LR1SNMvZzhSA==",
+ "optional": true,
+ "dependencies": {
+ "@truffle/preserve": "^0.2.0",
+ "cids": "^1.1.5",
+ "ipfs-http-client": "^48.2.2",
+ "iter-tools": "^7.0.2"
+ }
+ },
+ "node_modules/@truffle/provider": {
+ "version": "0.2.28",
+ "resolved": "https://registry.npmjs.org/@truffle/provider/-/provider-0.2.28.tgz",
+ "integrity": "sha512-lowQkQPVSnn1jG3JIrp5iTDxkHZErjjjbLsvpI1kd8sYQ5LcGorgPQVsGlhM5BfYUQCeHLeFwwFb0ghx3hisKw==",
+ "optional": true,
+ "dependencies": {
+ "@truffle/error": "^0.0.12",
+ "@truffle/interface-adapter": "^0.4.21",
+ "web3": "1.3.5"
+ }
+ },
+ "node_modules/@truffle/source-map-utils": {
+ "version": "1.3.37",
+ "resolved": "https://registry.npmjs.org/@truffle/source-map-utils/-/source-map-utils-1.3.37.tgz",
+ "integrity": "sha512-COlYyx8b/5x9IR736NUQxQYb7tD4CprooCZzPOgVopitRWSmO862r53ov7FK5PPUHqkW1vNP71LOo3L0Crw2/w==",
+ "dependencies": {
+ "@truffle/code-utils": "^1.2.25",
+ "@truffle/codec": "^0.10.3",
+ "debug": "^4.3.1",
+ "json-pointer": "^0.6.0",
+ "node-interval-tree": "^1.3.3",
+ "web3-utils": "1.3.5"
+ }
+ },
+ "node_modules/@truffle/source-map-utils/node_modules/debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@truffle/source-map-utils/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
+ },
+ "node_modules/@types/accepts": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/@types/accepts/-/accepts-1.3.5.tgz",
+ "integrity": "sha512-jOdnI/3qTpHABjM5cx1Hc0sKsPoYCp+DP/GJRGtDlPd7fiV9oXGGIcjW/ZOxLIvjGz8MA+uMZI9metHlgqbgwQ==",
+ "optional": true,
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/bn.js": {
+ "version": "4.11.6",
+ "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz",
+ "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/body-parser": {
+ "version": "1.19.0",
+ "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.0.tgz",
+ "integrity": "sha512-W98JrE0j2K78swW4ukqMleo8R7h/pFETjM2DQ90MF6XK2i4LO4W3gQ71Lt4w3bfm2EvVSyWHplECvB5sK22yFQ==",
+ "optional": true,
+ "dependencies": {
+ "@types/connect": "*",
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/concat-stream": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@types/concat-stream/-/concat-stream-1.6.0.tgz",
+ "integrity": "sha1-OU2+C7X+5Gs42JZzXoto7yOQ0A0=",
+ "dev": true,
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/connect": {
+ "version": "3.4.34",
+ "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.34.tgz",
+ "integrity": "sha512-ePPA/JuI+X0vb+gSWlPKOY0NdNAie/rPUqX2GUPpbZwiKTkSPhjXWuee47E4MtE54QVzGCQMQkAL6JhV2E1+cQ==",
+ "optional": true,
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/content-disposition": {
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/@types/content-disposition/-/content-disposition-0.5.3.tgz",
+ "integrity": "sha512-P1bffQfhD3O4LW0ioENXUhZ9OIa0Zn+P7M+pWgkCKaT53wVLSq0mrKksCID/FGHpFhRSxRGhgrQmfhRuzwtKdg==",
+ "optional": true
+ },
+ "node_modules/@types/cookies": {
+ "version": "0.7.6",
+ "resolved": "https://registry.npmjs.org/@types/cookies/-/cookies-0.7.6.tgz",
+ "integrity": "sha512-FK4U5Qyn7/Sc5ih233OuHO0qAkOpEcD/eG6584yEiLKizTFRny86qHLe/rej3HFQrkBuUjF4whFliAdODbVN/w==",
+ "optional": true,
+ "dependencies": {
+ "@types/connect": "*",
+ "@types/express": "*",
+ "@types/keygrip": "*",
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/cors": {
+ "version": "2.8.10",
+ "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.10.tgz",
+ "integrity": "sha512-C7srjHiVG3Ey1nR6d511dtDkCEjxuN9W1HWAEjGq8kpcwmNM6JJkpC0xvabM7BXTG2wDq8Eu33iH9aQKa7IvLQ==",
+ "optional": true
+ },
+ "node_modules/@types/ed2curve": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@types/ed2curve/-/ed2curve-0.2.2.tgz",
+ "integrity": "sha512-G1sTX5xo91ydevQPINbL2nfgVAj/s1ZiqZxC8OCWduwu+edoNGUm5JXtTkg9F3LsBZbRI46/0HES4CPUE2wc9g==",
+ "optional": true,
+ "dependencies": {
+ "tweetnacl": "^1.0.0"
+ }
+ },
+ "node_modules/@types/ed2curve/node_modules/tweetnacl": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz",
+ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==",
+ "optional": true
+ },
+ "node_modules/@types/ethereum-protocol": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@types/ethereum-protocol/-/ethereum-protocol-1.0.1.tgz",
+ "integrity": "sha512-vxym5Cnkvms5yRwCDzuaavAtesRflY4oqYDULqQSghLmX5snurmDEz+rbUJbq2vDc4TBvji6dV+891N3VHQXhw==",
+ "dependencies": {
+ "bignumber.js": "7.2.1"
+ }
+ },
+ "node_modules/@types/ethereum-protocol/node_modules/bignumber.js": {
+ "version": "7.2.1",
+ "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-7.2.1.tgz",
+ "integrity": "sha512-S4XzBk5sMB+Rcb/LNcpzXr57VRTxgAvaAEDAl1AwRx27j00hT84O6OkteE7u8UB3NuaaygCRrEpqox4uDOrbdQ==",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/@types/express": {
+ "version": "4.17.11",
+ "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.11.tgz",
+ "integrity": "sha512-no+R6rW60JEc59977wIxreQVsIEOAYwgCqldrA/vkpCnbD7MqTefO97lmoBe4WE0F156bC4uLSP1XHDOySnChg==",
+ "optional": true,
+ "dependencies": {
+ "@types/body-parser": "*",
+ "@types/express-serve-static-core": "^4.17.18",
+ "@types/qs": "*",
+ "@types/serve-static": "*"
+ }
+ },
+ "node_modules/@types/express-serve-static-core": {
+ "version": "4.17.19",
+ "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.19.tgz",
+ "integrity": "sha512-DJOSHzX7pCiSElWaGR8kCprwibCB/3yW6vcT8VG3P0SJjnv19gnWG/AZMfM60Xj/YJIp/YCaDHyvzsFVeniARA==",
+ "optional": true,
+ "dependencies": {
+ "@types/node": "*",
+ "@types/qs": "*",
+ "@types/range-parser": "*"
+ }
+ },
+ "node_modules/@types/form-data": {
+ "version": "0.0.33",
+ "resolved": "https://registry.npmjs.org/@types/form-data/-/form-data-0.0.33.tgz",
+ "integrity": "sha1-yayFsqX9GENbjIXZ7LUObWyJP/g=",
+ "dev": true,
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/fs-capacitor": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@types/fs-capacitor/-/fs-capacitor-2.0.0.tgz",
+ "integrity": "sha512-FKVPOCFbhCvZxpVAMhdBdTfVfXUpsh15wFHgqOKxh9N9vzWZVuWCSijZ5T4U34XYNnuj2oduh6xcs1i+LPI+BQ==",
+ "optional": true,
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/google-protobuf": {
+ "version": "3.15.0",
+ "resolved": "https://registry.npmjs.org/@types/google-protobuf/-/google-protobuf-3.15.0.tgz",
+ "integrity": "sha512-IshlR1QWD9LYQRlYMfF8dG6PqxrZHddlWB8O5+HCGwH1nv2JQ887fMwRRlXOmUEFehvg+k1THx2h7RbqPUPkGA==",
+ "optional": true
+ },
+ "node_modules/@types/hdkey": {
+ "version": "0.7.1",
+ "resolved": "https://registry.npmjs.org/@types/hdkey/-/hdkey-0.7.1.tgz",
+ "integrity": "sha512-4Kkr06hq+R8a9EzVNqXGOY2x1xA7dhY6qlp6OvaZ+IJy1BCca1Cv126RD9X7CMJoXoLo8WvAizy8gQHpqW6K0Q==",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/http-assert": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/@types/http-assert/-/http-assert-1.5.1.tgz",
+ "integrity": "sha512-PGAK759pxyfXE78NbKxyfRcWYA/KwW17X290cNev/qAsn9eQIxkH4shoNBafH37wewhDG/0p1cHPbK6+SzZjWQ==",
+ "optional": true
+ },
+ "node_modules/@types/http-errors": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-1.8.0.tgz",
+ "integrity": "sha512-2aoSC4UUbHDj2uCsCxcG/vRMXey/m17bC7UwitVm5hn22nI8O8Y9iDpA76Orc+DWkQ4zZrOKEshCqR/jSuXAHA==",
+ "optional": true
+ },
+ "node_modules/@types/json-schema": {
+ "version": "7.0.7",
+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.7.tgz",
+ "integrity": "sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA==",
+ "optional": true
+ },
+ "node_modules/@types/keygrip": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@types/keygrip/-/keygrip-1.0.2.tgz",
+ "integrity": "sha512-GJhpTepz2udxGexqos8wgaBx4I/zWIDPh/KOGEwAqtuGDkOUJu5eFvwmdBX4AmB8Odsr+9pHCQqiAqDL/yKMKw==",
+ "optional": true
+ },
+ "node_modules/@types/koa": {
+ "version": "2.13.1",
+ "resolved": "https://registry.npmjs.org/@types/koa/-/koa-2.13.1.tgz",
+ "integrity": "sha512-Qbno7FWom9nNqu0yHZ6A0+RWt4mrYBhw3wpBAQ3+IuzGcLlfeYkzZrnMq5wsxulN2np8M4KKeUpTodsOsSad5Q==",
+ "optional": true,
+ "dependencies": {
+ "@types/accepts": "*",
+ "@types/content-disposition": "*",
+ "@types/cookies": "*",
+ "@types/http-assert": "*",
+ "@types/http-errors": "*",
+ "@types/keygrip": "*",
+ "@types/koa-compose": "*",
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/koa-compose": {
+ "version": "3.2.5",
+ "resolved": "https://registry.npmjs.org/@types/koa-compose/-/koa-compose-3.2.5.tgz",
+ "integrity": "sha512-B8nG/OoE1ORZqCkBVsup/AKcvjdgoHnfi4pZMn5UwAPCbhk/96xyv284eBYW8JlQbQ7zDmnpFr68I/40mFoIBQ==",
+ "optional": true,
+ "dependencies": {
+ "@types/koa": "*"
+ }
+ },
+ "node_modules/@types/long": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz",
+ "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==",
+ "optional": true
+ },
+ "node_modules/@types/mime": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz",
+ "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==",
+ "optional": true
+ },
+ "node_modules/@types/minimatch": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",
+ "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA=="
+ },
+ "node_modules/@types/node": {
+ "version": "10.14.4",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.4.tgz",
+ "integrity": "sha512-DT25xX/YgyPKiHFOpNuANIQIVvYEwCWXgK2jYYwqgaMrYE6+tq+DtmMwlD3drl6DJbUwtlIDnn0d7tIn/EbXBg=="
+ },
+ "node_modules/@types/node-fetch": {
+ "version": "2.5.7",
+ "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.5.7.tgz",
+ "integrity": "sha512-o2WVNf5UhWRkxlf6eq+jMZDu7kjgpgJfl4xVNlvryc95O/6F2ld8ztKX+qu+Rjyet93WAWm5LjeX9H5FGkODvw==",
+ "optional": true,
+ "dependencies": {
+ "@types/node": "*",
+ "form-data": "^3.0.0"
+ }
+ },
+ "node_modules/@types/node-fetch/node_modules/form-data": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz",
+ "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==",
+ "optional": true,
+ "dependencies": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.8",
+ "mime-types": "^2.1.12"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/@types/pbkdf2": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@types/pbkdf2/-/pbkdf2-3.1.0.tgz",
+ "integrity": "sha512-Cf63Rv7jCQ0LaL8tNXmEyqTHuIJxRdlS5vMh1mj5voN4+QFhVZnlZruezqpWYDiJ8UTzhP0VmeLXCmBk66YrMQ==",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/prop-types": {
+ "version": "15.7.3",
+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.3.tgz",
+ "integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw=="
+ },
+ "node_modules/@types/qs": {
+ "version": "6.5.3",
+ "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.5.3.tgz",
+ "integrity": "sha512-Jugo5V/1bS0fRhy2z8+cUAHEyWOATaz4rbyLVvcFs7+dXp5HfwpEwzF1Q11bB10ApUqHf+yTauxI0UXQDwGrbA==",
+ "devOptional": true
+ },
+ "node_modules/@types/range-parser": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.3.tgz",
+ "integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==",
+ "optional": true
+ },
+ "node_modules/@types/react": {
+ "version": "16.9.43",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.43.tgz",
+ "integrity": "sha512-PxshAFcnJqIWYpJbLPriClH53Z2WlJcVZE+NP2etUtWQs2s7yIMj3/LDKZT/5CHJ/F62iyjVCDu2H3jHEXIxSg==",
+ "dependencies": {
+ "@types/prop-types": "*",
+ "csstype": "^2.2.0"
+ }
+ },
+ "node_modules/@types/secp256k1": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@types/secp256k1/-/secp256k1-4.0.1.tgz",
+ "integrity": "sha512-+ZjSA8ELlOp8SlKi0YLB2tz9d5iPNEmOBd+8Rz21wTMdaXQIa9b6TEnD6l5qKOCypE7FSyPyck12qZJxSDNoog==",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/serve-static": {
+ "version": "1.13.9",
+ "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.9.tgz",
+ "integrity": "sha512-ZFqF6qa48XsPdjXV5Gsz0Zqmux2PerNd3a/ktL45mHpa19cuMi/cL8tcxdAx497yRh+QtYPuofjT9oWw9P7nkA==",
+ "optional": true,
+ "dependencies": {
+ "@types/mime": "^1",
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/solidity-parser-antlr": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/@types/solidity-parser-antlr/-/solidity-parser-antlr-0.2.3.tgz",
+ "integrity": "sha512-FoSyZT+1TTaofbEtGW1oC9wHND1YshvVeHerME/Jh6gIdHbBAWFW8A97YYqO/dpHcFjIwEPEepX0Efl2ckJgwA=="
+ },
+ "node_modules/@types/to-json-schema": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@types/to-json-schema/-/to-json-schema-0.2.0.tgz",
+ "integrity": "sha512-9fqRjNFSSxJ8dQrE4v8gThS5ftxdFj8Q0y8hAjaF+uN+saJRxLiJdtFaDd9sv3bhzwcB2oDJpT/1ZelHnexbLw==",
+ "optional": true,
+ "dependencies": {
+ "@types/json-schema": "*"
+ }
+ },
+ "node_modules/@types/web3-provider-engine": {
+ "version": "14.0.0",
+ "resolved": "https://registry.npmjs.org/@types/web3-provider-engine/-/web3-provider-engine-14.0.0.tgz",
+ "integrity": "sha512-yHr8mX2SoX3JNyfqdLXdO1UobsGhfiwSgtekbVxKLQrzD7vtpPkKbkIVsPFOhvekvNbPsCmDyeDCLkpeI9gSmA==",
+ "dependencies": {
+ "@types/ethereum-protocol": "*"
+ }
+ },
+ "node_modules/@types/websocket": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@types/websocket/-/websocket-1.0.2.tgz",
+ "integrity": "sha512-B5m9aq7cbbD/5/jThEr33nUY8WEfVi6A2YKCTOvw5Ldy7mtsOkqRvGjnzy6g7iMMDsgu7xREuCzqATLDLQVKcQ==",
+ "optional": true,
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/ws": {
+ "version": "7.4.1",
+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.1.tgz",
+ "integrity": "sha512-ISCK1iFnR+jYv7+jLNX0wDqesZ/5RAeY3wUx6QaphmocphU61h+b+PHjS18TF4WIPTu/MMzxIq2PHr32o2TS5Q==",
+ "optional": true,
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/yargs": {
+ "version": "11.1.5",
+ "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-11.1.5.tgz",
+ "integrity": "sha512-1jmXgoIyzxQSm33lYgEXvegtkhloHbed2I0QGlTN66U2F9/ExqJWSCSmaWC0IB/g1tW+IYSp+tDhcZBYB1ZGog=="
+ },
+ "node_modules/@types/zen-observable": {
+ "version": "0.8.2",
+ "resolved": "https://registry.npmjs.org/@types/zen-observable/-/zen-observable-0.8.2.tgz",
+ "integrity": "sha512-HrCIVMLjE1MOozVoD86622S7aunluLb2PJdPfb3nYiEtohm8mIB/vyv0Fd37AdeMFrTUQXEunw78YloMA3Qilg==",
+ "optional": true
+ },
+ "node_modules/@wry/context": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/@wry/context/-/context-0.6.0.tgz",
+ "integrity": "sha512-sAgendOXR8dM7stJw3FusRxFHF/ZinU0lffsA2YTyyIOfic86JX02qlPqPVqJNZJPAxFt+2EE8bvq6ZlS0Kf+Q==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@wry/context/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@wry/equality": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/@wry/equality/-/equality-0.4.0.tgz",
+ "integrity": "sha512-DxN/uawWfhRbgYE55zVCPOoe+jvsQ4m7PT1Wlxjyb/LCCLuU1UsucV2BbCxFAX8bjcSueFBbB5Qfj1Zfe8e7Fw==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@wry/equality/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@wry/trie": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/@wry/trie/-/trie-0.3.0.tgz",
+ "integrity": "sha512-Yw1akIogPhAT6XPYsRHlZZIS0tIGmAl9EYXHi2scf7LPKKqdqmow/Hu4kEqP2cJR3EjaU/9L0ZlAjFf3hFxmug==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@wry/trie/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/@zondax/filecoin-signing-tools": {
+ "version": "0.2.0",
+ "resolved": "git+ssh://git@github.com/Digital-MOB-Filecoin/filecoin-signing-tools-js.git#8f8e92157cac2556d35cab866779e9a8ea8a4e25",
+ "license": "Apache-2.0",
+ "optional": true,
+ "dependencies": {
+ "axios": "^0.20.0",
+ "base32-decode": "^1.0.0",
+ "base32-encode": "^1.1.1",
+ "bip32": "^2.0.5",
+ "bip39": "^3.0.2",
+ "blakejs": "^1.1.0",
+ "bn.js": "^5.1.2",
+ "ipld-dag-cbor": "^0.17.0",
+ "leb128": "0.0.5",
+ "secp256k1": "^4.0.1"
+ }
+ },
+ "node_modules/@zondax/filecoin-signing-tools/node_modules/@types/node": {
+ "version": "11.11.6",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz",
+ "integrity": "sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ==",
+ "optional": true
+ },
+ "node_modules/@zondax/filecoin-signing-tools/node_modules/bip39": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/bip39/-/bip39-3.0.3.tgz",
+ "integrity": "sha512-P0dKrz4g0V0BjXfx7d9QNkJ/Txcz/k+hM9TnjqjUaXtuOfAvxXSw2rJw8DX0e3ZPwnK/IgDxoRqf0bvoVCqbMg==",
+ "optional": true,
+ "dependencies": {
+ "@types/node": "11.11.6",
+ "create-hash": "^1.1.0",
+ "pbkdf2": "^3.0.9",
+ "randombytes": "^2.0.1"
+ }
+ },
+ "node_modules/@zondax/filecoin-signing-tools/node_modules/bn.js": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==",
+ "optional": true
+ },
+ "node_modules/@zondax/filecoin-signing-tools/node_modules/secp256k1": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.2.tgz",
+ "integrity": "sha512-UDar4sKvWAksIlfX3xIaQReADn+WFnHvbVujpcbr+9Sf/69odMwy2MUsz5CKLQgX9nsIyrjuxL2imVyoNHa3fg==",
+ "hasInstallScript": true,
+ "optional": true,
+ "dependencies": {
+ "elliptic": "^6.5.2",
+ "node-addon-api": "^2.0.0",
+ "node-gyp-build": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/@zxing/text-encoding": {
+ "version": "0.9.0",
+ "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz",
+ "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==",
+ "optional": true
+ },
+ "node_modules/101": {
+ "version": "1.6.3",
+ "resolved": "https://registry.npmjs.org/101/-/101-1.6.3.tgz",
+ "integrity": "sha512-4dmQ45yY0Dx24Qxp+zAsNLlMF6tteCyfVzgbulvSyC7tCyd3V8sW76sS0tHq8NpcbXfWTKasfyfzU1Kd86oKzw==",
+ "optional": true,
+ "dependencies": {
+ "clone": "^1.0.2",
+ "deep-eql": "^0.1.3",
+ "keypather": "^1.10.2"
+ }
+ },
+ "node_modules/101/node_modules/clone": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
+ "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/101/node_modules/deep-eql": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-0.1.3.tgz",
+ "integrity": "sha1-71WKyrjeJSBs1xOQbXTlaTDrafI=",
+ "optional": true,
+ "dependencies": {
+ "type-detect": "0.1.1"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/101/node_modules/type-detect": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-0.1.1.tgz",
+ "integrity": "sha1-C6XsKohWQORw6k6FBZcZANrFiCI=",
+ "optional": true,
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/abab": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz",
+ "integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4=",
+ "optional": true
+ },
+ "node_modules/abbrev": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
+ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
+ "devOptional": true
+ },
+ "node_modules/abi-decoder": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/abi-decoder/-/abi-decoder-2.2.0.tgz",
+ "integrity": "sha512-FVgkAvPRNa08E85Q+t52KlGto8XZeQITmCYdRIWHHth/t/pgdpAzZijy3LKUCBqmJjXnrosj4c6WGOB1q+KJ9w==",
+ "dev": true,
+ "dependencies": {
+ "web3-eth-abi": "^1.2.1",
+ "web3-utils": "^1.2.1"
+ }
+ },
+ "node_modules/abort-controller": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
+ "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==",
+ "optional": true,
+ "dependencies": {
+ "event-target-shim": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=6.5"
+ }
+ },
+ "node_modules/abortcontroller-polyfill": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.4.0.tgz",
+ "integrity": "sha512-3ZFfCRfDzx3GFjO6RAkYx81lPGpUS20ISxux9gLxuKnqafNcFQo59+IoZqpO2WvQlyc287B62HDnDdNYRmlvWA=="
+ },
+ "node_modules/abstract-leveldown": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-2.6.3.tgz",
+ "integrity": "sha512-2++wDf/DYqkPR3o5tbfdhF96EfMApo1GpPfzOsR/ZYXdkSmELlvOOEAl9iKkRsktMPHdGjO4rtkBpf2I7TiTeA==",
+ "dependencies": {
+ "xtend": "~4.0.0"
+ }
+ },
+ "node_modules/accepts": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
+ "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",
+ "dependencies": {
+ "mime-types": "~2.1.24",
+ "negotiator": "0.6.2"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/acorn": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.1.tgz",
+ "integrity": "sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg==",
+ "dev": true,
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/acorn-globals": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-1.0.9.tgz",
+ "integrity": "sha1-VbtemGkVB7dFedBRNBMhfDgMVM8=",
+ "optional": true,
+ "dependencies": {
+ "acorn": "^2.1.0"
+ }
+ },
+ "node_modules/acorn-globals/node_modules/acorn": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz",
+ "integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc=",
+ "optional": true,
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/acorn-jsx": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.2.tgz",
+ "integrity": "sha512-tiNTrP1MP0QrChmD2DdupCr6HWSFeKVw5d/dHTu4Y7rkAkRhU/Dt7dphAfIUyxtHpl/eBVip5uTNSpQJHylpAw==",
+ "dev": true
+ },
+ "node_modules/aes-js": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz",
+ "integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0="
+ },
+ "node_modules/agent-base": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz",
+ "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==",
+ "dependencies": {
+ "es6-promisify": "^5.0.0"
+ },
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
+ "node_modules/agentkeepalive": {
+ "version": "3.5.2",
+ "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-3.5.2.tgz",
+ "integrity": "sha512-e0L/HNe6qkQ7H19kTlRRqUibEAwDK5AFk6y3PtMsuut2VAH6+Q4xZml1tNDJD7kSAyqmbG/K08K5WEJYtUrSlQ==",
+ "dependencies": {
+ "humanize-ms": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
+ "node_modules/ajv": {
+ "version": "6.10.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz",
+ "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==",
+ "dependencies": {
+ "fast-deep-equal": "^2.0.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ }
+ },
+ "node_modules/amdefine": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz",
+ "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.4.2"
+ }
+ },
+ "node_modules/ansi-align": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-2.0.0.tgz",
+ "integrity": "sha1-w2rsy6VjuJzrVW82kPCx2eNUf38=",
+ "dev": true,
+ "dependencies": {
+ "string-width": "^2.0.0"
+ }
+ },
+ "node_modules/ansi-align/node_modules/ansi-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ansi-align/node_modules/is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ansi-align/node_modules/string-width": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
+ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
+ "dev": true,
+ "dependencies": {
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ansi-align/node_modules/strip-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ansi-colors": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",
+ "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ansi-escapes": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz",
+ "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ansi-regex": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ansicolors": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz",
+ "integrity": "sha1-ZlWX3oap/+Oqm/vmyuXG6kJrSXk=",
+ "dev": true
+ },
+ "node_modules/antlr4": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/antlr4/-/antlr4-4.7.1.tgz",
+ "integrity": "sha512-haHyTW7Y9joE5MVs37P2lNYfU2RWBLfcRDD8OWldcdZm5TiCE91B5Xl1oWSwiDUSd4rlExpt2pu1fksYQjRBYQ==",
+ "dev": true
+ },
+ "node_modules/any-signal": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-2.1.2.tgz",
+ "integrity": "sha512-B+rDnWasMi/eWcajPcCWSlYc7muXOrcYrqgyzcdKisl2H/WTlQ0gip1KyQfr0ZlxJdsuWCj/LWwQm7fhyhRfIQ==",
+ "optional": true,
+ "dependencies": {
+ "abort-controller": "^3.0.0",
+ "native-abort-controller": "^1.0.3"
+ }
+ },
+ "node_modules/any-signal/node_modules/native-abort-controller": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/native-abort-controller/-/native-abort-controller-1.0.3.tgz",
+ "integrity": "sha512-fd5LY5q06mHKZPD5FmMrn7Lkd2H018oBGKNOAdLpctBDEPFKsfJ1nX9ke+XRa8PEJJpjqrpQkGjq2IZ27QNmYA==",
+ "optional": true,
+ "peerDependencies": {
+ "abort-controller": "*"
+ }
+ },
+ "node_modules/anymatch": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",
+ "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",
+ "dev": true,
+ "dependencies": {
+ "micromatch": "^3.1.4",
+ "normalize-path": "^2.1.1"
+ }
+ },
+ "node_modules/anymatch/node_modules/normalize-path": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
+ "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
+ "dev": true,
+ "dependencies": {
+ "remove-trailing-separator": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/apollo-cache-control": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/apollo-cache-control/-/apollo-cache-control-0.12.0.tgz",
+ "integrity": "sha512-kClF5rfAm159Nboul1LxA+l58Tjz0M8L1GUknEMpZt0UHhILLAn3BfcG3ToX4TbNoR9M57kKMUcbPWLdy3Up7w==",
+ "optional": true,
+ "dependencies": {
+ "apollo-server-env": "^3.0.0",
+ "apollo-server-plugin-base": "^0.11.0"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependencies": {
+ "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/apollo-datasource": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/apollo-datasource/-/apollo-datasource-0.8.0.tgz",
+ "integrity": "sha512-gXgsGVLuejLc138z/2jUjPAzadDQxWbcLJyBgaQsg5BaXJNkv5uW/NjiSPk00cK51hyZrb0Xx8a+L+wPk2qIBA==",
+ "optional": true,
+ "dependencies": {
+ "apollo-server-caching": "^0.6.0",
+ "apollo-server-env": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/apollo-env": {
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/apollo-env/-/apollo-env-0.6.6.tgz",
+ "integrity": "sha512-hXI9PjJtzmD34XviBU+4sPMOxnifYrHVmxpjykqI/dUD2G3yTiuRaiQqwRwB2RCdwC1Ug/jBfoQ/NHDTnnjndQ==",
+ "optional": true,
+ "dependencies": {
+ "@types/node-fetch": "2.5.7",
+ "core-js": "^3.0.1",
+ "node-fetch": "^2.2.0",
+ "sha.js": "^2.4.11"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/apollo-env/node_modules/core-js": {
+ "version": "3.10.2",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.10.2.tgz",
+ "integrity": "sha512-W+2oVYeNghuBr3yTzZFQ5rfmjZtYB/Ubg87R5YOmlGrIb+Uw9f7qjUbhsj+/EkXhcV7eOD3jiM4+sgraX3FZUw==",
+ "hasInstallScript": true,
+ "optional": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/core-js"
+ }
+ },
+ "node_modules/apollo-env/node_modules/node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true,
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/apollo-graphql": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/apollo-graphql/-/apollo-graphql-0.6.1.tgz",
+ "integrity": "sha512-ZRXAV+k+hboCVS+FW86FW/QgnDR7gm/xMUwJPGXEbV53OLGuQQdIT0NCYK7AzzVkCfsbb7NJ3mmEclkZY9uuxQ==",
+ "optional": true,
+ "dependencies": {
+ "apollo-env": "^0.6.6",
+ "lodash.sortby": "^4.7.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "peerDependencies": {
+ "graphql": "^14.2.1 || ^15.0.0"
+ }
+ },
+ "node_modules/apollo-link": {
+ "version": "1.2.14",
+ "resolved": "https://registry.npmjs.org/apollo-link/-/apollo-link-1.2.14.tgz",
+ "integrity": "sha512-p67CMEFP7kOG1JZ0ZkYZwRDa369w5PIjtMjvrQd/HnIV8FRsHRqLqK+oAZQnFa1DDdZtOtHTi+aMIW6EatC2jg==",
+ "optional": true,
+ "dependencies": {
+ "apollo-utilities": "^1.3.0",
+ "ts-invariant": "^0.4.0",
+ "tslib": "^1.9.3",
+ "zen-observable-ts": "^0.8.21"
+ },
+ "peerDependencies": {
+ "graphql": "^0.11.3 || ^0.12.3 || ^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/apollo-reporting-protobuf": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/apollo-reporting-protobuf/-/apollo-reporting-protobuf-0.6.2.tgz",
+ "integrity": "sha512-WJTJxLM+MRHNUxt1RTl4zD0HrLdH44F2mDzMweBj1yHL0kSt8I1WwoiF/wiGVSpnG48LZrBegCaOJeuVbJTbtw==",
+ "optional": true,
+ "dependencies": {
+ "@apollo/protobufjs": "^1.0.3"
+ }
+ },
+ "node_modules/apollo-server": {
+ "version": "2.23.0",
+ "resolved": "https://registry.npmjs.org/apollo-server/-/apollo-server-2.23.0.tgz",
+ "integrity": "sha512-BS+8uAJV2qYLqu+y+KIQyfR3yN2muBtql6lvfwJh4fRgUo6HU5Cc3nTA9jHbgEWE/uiyEn4eqOv1kieHIQmH6w==",
+ "optional": true,
+ "dependencies": {
+ "apollo-server-core": "^2.23.0",
+ "apollo-server-express": "^2.23.0",
+ "express": "^4.0.0",
+ "graphql-subscriptions": "^1.0.0",
+ "graphql-tools": "^4.0.8",
+ "stoppable": "^1.1.0"
+ },
+ "peerDependencies": {
+ "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/apollo-server-caching": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/apollo-server-caching/-/apollo-server-caching-0.6.0.tgz",
+ "integrity": "sha512-SfjKaccrhRzUQ8TAke9FrYppp4pZV3Rp8KCs+4Ox3kGtbco68acRPJkiYYtSVc4idR8XNAUOOVfAEZVNHdZQKQ==",
+ "optional": true,
+ "dependencies": {
+ "lru-cache": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/apollo-server-caching/node_modules/lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "optional": true,
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/apollo-server-caching/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "optional": true
+ },
+ "node_modules/apollo-server-core": {
+ "version": "2.23.0",
+ "resolved": "https://registry.npmjs.org/apollo-server-core/-/apollo-server-core-2.23.0.tgz",
+ "integrity": "sha512-3/a4LPgRADc8CdT/nRh7W0CAqQv3Q4DJvakWQgKqGSqDEb/0u4IBynYjlQKuPBi4wwKdeK2Hb1wiQLl+zu4StQ==",
+ "optional": true,
+ "dependencies": {
+ "@apollographql/apollo-tools": "^0.4.3",
+ "@apollographql/graphql-playground-html": "1.6.27",
+ "@apollographql/graphql-upload-8-fork": "^8.1.3",
+ "@josephg/resolvable": "^1.0.0",
+ "@types/ws": "^7.0.0",
+ "apollo-cache-control": "^0.12.0",
+ "apollo-datasource": "^0.8.0",
+ "apollo-graphql": "^0.6.0",
+ "apollo-reporting-protobuf": "^0.6.2",
+ "apollo-server-caching": "^0.6.0",
+ "apollo-server-env": "^3.0.0",
+ "apollo-server-errors": "^2.5.0",
+ "apollo-server-plugin-base": "^0.11.0",
+ "apollo-server-types": "^0.7.0",
+ "apollo-tracing": "^0.13.0",
+ "async-retry": "^1.2.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "graphql-extensions": "^0.13.0",
+ "graphql-tag": "^2.11.0",
+ "graphql-tools": "^4.0.8",
+ "loglevel": "^1.6.7",
+ "lru-cache": "^6.0.0",
+ "sha.js": "^2.4.11",
+ "subscriptions-transport-ws": "^0.9.11",
+ "uuid": "^8.0.0",
+ "ws": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "peerDependencies": {
+ "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/apollo-server-core/node_modules/graphql-tools": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/graphql-tools/-/graphql-tools-4.0.8.tgz",
+ "integrity": "sha512-MW+ioleBrwhRjalKjYaLQbr+920pHBgy9vM/n47sswtns8+96sRn5M/G+J1eu7IMeKWiN/9p6tmwCHU7552VJg==",
+ "optional": true,
+ "dependencies": {
+ "apollo-link": "^1.2.14",
+ "apollo-utilities": "^1.0.1",
+ "deprecated-decorator": "^0.1.6",
+ "iterall": "^1.1.3",
+ "uuid": "^3.1.0"
+ },
+ "peerDependencies": {
+ "graphql": "^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/apollo-server-core/node_modules/graphql-tools/node_modules/uuid": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
+ "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
+ "optional": true,
+ "bin": {
+ "uuid": "bin/uuid"
+ }
+ },
+ "node_modules/apollo-server-core/node_modules/lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "optional": true,
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/apollo-server-core/node_modules/uuid": {
+ "version": "8.3.2",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
+ "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
+ "optional": true,
+ "bin": {
+ "uuid": "dist/bin/uuid"
+ }
+ },
+ "node_modules/apollo-server-core/node_modules/ws": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz",
+ "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==",
+ "optional": true,
+ "dependencies": {
+ "async-limiter": "~1.0.0"
+ }
+ },
+ "node_modules/apollo-server-core/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "optional": true
+ },
+ "node_modules/apollo-server-env": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/apollo-server-env/-/apollo-server-env-3.0.0.tgz",
+ "integrity": "sha512-tPSN+VttnPsoQAl/SBVUpGbLA97MXG990XIwq6YUnJyAixrrsjW1xYG7RlaOqetxm80y5mBZKLrRDiiSsW/vog==",
+ "optional": true,
+ "dependencies": {
+ "node-fetch": "^2.1.2",
+ "util.promisify": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/apollo-server-env/node_modules/node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true,
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/apollo-server-errors": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/apollo-server-errors/-/apollo-server-errors-2.5.0.tgz",
+ "integrity": "sha512-lO5oTjgiC3vlVg2RKr3RiXIIQ5pGXBFxYGGUkKDhTud3jMIhs+gel8L8zsEjKaKxkjHhCQAA/bcEfYiKkGQIvA==",
+ "optional": true,
+ "engines": {
+ "node": ">=6"
+ },
+ "peerDependencies": {
+ "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/apollo-server-express": {
+ "version": "2.23.0",
+ "resolved": "https://registry.npmjs.org/apollo-server-express/-/apollo-server-express-2.23.0.tgz",
+ "integrity": "sha512-tzil7c51ODH0rT1Bc5VMksdWzHrYGavdLtnDz4M0ePiTm18Gc81HD7X/4DPczorerEpfwwkf2YlADtPQfRSxlw==",
+ "optional": true,
+ "dependencies": {
+ "@apollographql/graphql-playground-html": "1.6.27",
+ "@types/accepts": "^1.3.5",
+ "@types/body-parser": "1.19.0",
+ "@types/cors": "2.8.10",
+ "@types/express": "4.17.11",
+ "@types/express-serve-static-core": "4.17.19",
+ "accepts": "^1.3.5",
+ "apollo-server-core": "^2.23.0",
+ "apollo-server-types": "^0.7.0",
+ "body-parser": "^1.18.3",
+ "cors": "^2.8.5",
+ "express": "^4.17.1",
+ "graphql-subscriptions": "^1.0.0",
+ "graphql-tools": "^4.0.8",
+ "parseurl": "^1.3.2",
+ "subscriptions-transport-ws": "^0.9.16",
+ "type-is": "^1.6.16"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "peerDependencies": {
+ "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/apollo-server-express/node_modules/graphql-tools": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/graphql-tools/-/graphql-tools-4.0.8.tgz",
+ "integrity": "sha512-MW+ioleBrwhRjalKjYaLQbr+920pHBgy9vM/n47sswtns8+96sRn5M/G+J1eu7IMeKWiN/9p6tmwCHU7552VJg==",
+ "optional": true,
+ "dependencies": {
+ "apollo-link": "^1.2.14",
+ "apollo-utilities": "^1.0.1",
+ "deprecated-decorator": "^0.1.6",
+ "iterall": "^1.1.3",
+ "uuid": "^3.1.0"
+ },
+ "peerDependencies": {
+ "graphql": "^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/apollo-server-plugin-base": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/apollo-server-plugin-base/-/apollo-server-plugin-base-0.11.0.tgz",
+ "integrity": "sha512-Du68x0XCyQ6EWlgoL9Z+1s8fJfXgY131QbKP7ao617StQPzwB0aGCwxBDfcMt1A75VXf4TkvV1rdUH5YeJFlhQ==",
+ "optional": true,
+ "dependencies": {
+ "apollo-server-types": "^0.7.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "peerDependencies": {
+ "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/apollo-server-types": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/apollo-server-types/-/apollo-server-types-0.7.0.tgz",
+ "integrity": "sha512-pJ6ri2N4xJ+e2PUUPHeCNpMDzHUagJyn0DDZGQmXDz6aoMlSd4B2KUvK81hHyHkw3wHk9clgcpfM9hKqbfZweA==",
+ "optional": true,
+ "dependencies": {
+ "apollo-reporting-protobuf": "^0.6.2",
+ "apollo-server-caching": "^0.6.0",
+ "apollo-server-env": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "peerDependencies": {
+ "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/apollo-server/node_modules/graphql-tools": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/graphql-tools/-/graphql-tools-4.0.8.tgz",
+ "integrity": "sha512-MW+ioleBrwhRjalKjYaLQbr+920pHBgy9vM/n47sswtns8+96sRn5M/G+J1eu7IMeKWiN/9p6tmwCHU7552VJg==",
+ "optional": true,
+ "dependencies": {
+ "apollo-link": "^1.2.14",
+ "apollo-utilities": "^1.0.1",
+ "deprecated-decorator": "^0.1.6",
+ "iterall": "^1.1.3",
+ "uuid": "^3.1.0"
+ },
+ "peerDependencies": {
+ "graphql": "^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/apollo-tracing": {
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.13.0.tgz",
+ "integrity": "sha512-28z4T+XfLQ6t696usU0nTFDxVN8BfF3o74d2p/zsT4eu1OuoyoDOEmVJqdInmVRpyTJK0tDEOjkIuDJJHZftog==",
+ "optional": true,
+ "dependencies": {
+ "apollo-server-env": "^3.0.0",
+ "apollo-server-plugin-base": "^0.11.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ },
+ "peerDependencies": {
+ "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/apollo-upload-client": {
+ "version": "14.1.2",
+ "resolved": "https://registry.npmjs.org/apollo-upload-client/-/apollo-upload-client-14.1.2.tgz",
+ "integrity": "sha512-ozaW+4tnVz1rpfwiQwG3RCdCcZ93RV/37ZQbRnObcQ9mjb+zur58sGDPVg9Ef3fiujLmiE/Fe9kdgvIMA3VOjA==",
+ "optional": true,
+ "dependencies": {
+ "@apollo/client": "^3.1.5",
+ "@babel/runtime": "^7.11.2",
+ "extract-files": "^9.0.0"
+ },
+ "engines": {
+ "node": "^10.17.0 || ^12.0.0 || >= 13.7.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jaydenseric"
+ },
+ "peerDependencies": {
+ "graphql": "14 - 15",
+ "subscriptions-transport-ws": "^0.9.0"
+ }
+ },
+ "node_modules/apollo-utilities": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/apollo-utilities/-/apollo-utilities-1.3.4.tgz",
+ "integrity": "sha512-pk2hiWrCXMAy2fRPwEyhvka+mqwzeP60Jr1tRYi5xru+3ko94HI9o6lK0CT33/w4RDlxWchmdhDCrvdr+pHCig==",
+ "optional": true,
+ "dependencies": {
+ "@wry/equality": "^0.1.2",
+ "fast-json-stable-stringify": "^2.0.0",
+ "ts-invariant": "^0.4.0",
+ "tslib": "^1.10.0"
+ },
+ "peerDependencies": {
+ "graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/apollo-utilities/node_modules/@wry/equality": {
+ "version": "0.1.11",
+ "resolved": "https://registry.npmjs.org/@wry/equality/-/equality-0.1.11.tgz",
+ "integrity": "sha512-mwEVBDUVODlsQQ5dfuLUS5/Tf7jqUKyhKYHmVi4fPB6bDMOfWvUPJmKgS1Z7Za/sOI3vzWt4+O7yCiL/70MogA==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^1.9.3"
+ }
+ },
+ "node_modules/apollo-utilities/node_modules/tslib": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",
+ "optional": true
+ },
+ "node_modules/app-module-path": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/app-module-path/-/app-module-path-2.2.0.tgz",
+ "integrity": "sha1-ZBqlXft9am8KgUHEucCqULbCTdU="
+ },
+ "node_modules/aproba": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",
+ "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw=="
+ },
+ "node_modules/are-we-there-yet": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz",
+ "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==",
+ "optional": true,
+ "dependencies": {
+ "delegates": "^1.0.0",
+ "readable-stream": "^2.0.6"
+ }
+ },
+ "node_modules/arg": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.1.tgz",
+ "integrity": "sha512-SlmP3fEA88MBv0PypnXZ8ZfJhwmDeIE3SP71j37AiXQBXYosPV0x6uISAaHYSlSVhmHOVkomen0tbGk6Anlebw==",
+ "dev": true
+ },
+ "node_modules/argparse": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
+ "dependencies": {
+ "sprintf-js": "~1.0.2"
+ }
+ },
+ "node_modules/argsarray": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/argsarray/-/argsarray-0.0.1.tgz",
+ "integrity": "sha1-bnIHtOzbObCviDA/pa4ivajfYcs=",
+ "optional": true
+ },
+ "node_modules/arr-diff": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz",
+ "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/arr-flatten": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",
+ "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==",
+ "devOptional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/arr-union": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz",
+ "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/array-filter": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-1.0.0.tgz",
+ "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM="
+ },
+ "node_modules/array-flatten": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
+ "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
+ },
+ "node_modules/array-includes": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz",
+ "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=",
+ "dev": true,
+ "dependencies": {
+ "define-properties": "^1.1.2",
+ "es-abstract": "^1.7.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/array-union": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
+ "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/array-unique": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
+ "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/array.prototype.map": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/array.prototype.map/-/array.prototype.map-1.0.3.tgz",
+ "integrity": "sha512-nNcb30v0wfDyIe26Yif3PcV1JXQp4zEeEfupG7L4SRjnD6HLbO5b2a7eVSba53bOx4YCHYMBHt+Fp4vYstneRA==",
+ "dependencies": {
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.1",
+ "es-array-method-boxes-properly": "^1.0.0",
+ "is-string": "^1.0.5"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/asap": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
+ "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=",
+ "devOptional": true
+ },
+ "node_modules/asn1": {
+ "version": "0.2.4",
+ "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
+ "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",
+ "dependencies": {
+ "safer-buffer": "~2.1.0"
+ }
+ },
+ "node_modules/asn1.js": {
+ "version": "5.4.1",
+ "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz",
+ "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==",
+ "dependencies": {
+ "bn.js": "^4.0.0",
+ "inherits": "^2.0.1",
+ "minimalistic-assert": "^1.0.0",
+ "safer-buffer": "^2.1.0"
+ }
+ },
+ "node_modules/assert-args": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/assert-args/-/assert-args-1.2.1.tgz",
+ "integrity": "sha1-QEEDoUUqMv53iYgR5U5ZCoqTc70=",
+ "optional": true,
+ "dependencies": {
+ "101": "^1.2.0",
+ "compound-subject": "0.0.1",
+ "debug": "^2.2.0",
+ "get-prototype-of": "0.0.0",
+ "is-capitalized": "^1.0.0",
+ "is-class": "0.0.4"
+ }
+ },
+ "node_modules/assert-args/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "optional": true,
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/assert-plus": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
+ "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/assertion-error": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz",
+ "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/assign-symbols": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",
+ "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/astral-regex": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz",
+ "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/async": {
+ "version": "1.5.2",
+ "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz",
+ "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo="
+ },
+ "node_modules/async-each": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.2.tgz",
+ "integrity": "sha512-6xrbvN0MOBKSJDdonmSSz2OwFSgxRaVtBDes26mj9KIGtDo+g9xosFRSC+i1gQh2oAN/tQ62AI/pGZGQjVOiRg==",
+ "dev": true
+ },
+ "node_modules/async-eventemitter": {
+ "version": "0.2.4",
+ "resolved": "https://registry.npmjs.org/async-eventemitter/-/async-eventemitter-0.2.4.tgz",
+ "integrity": "sha512-pd20BwL7Yt1zwDFy+8MX8F1+WCT8aQeKj0kQnTrH9WaeRETlRamVhD0JtRPmrV4GfOJ2F9CvdQkZeZhnh2TuHw==",
+ "dependencies": {
+ "async": "^2.4.0"
+ }
+ },
+ "node_modules/async-eventemitter/node_modules/async": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
+ "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
+ "dependencies": {
+ "lodash": "^4.17.14"
+ }
+ },
+ "node_modules/async-limiter": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz",
+ "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ=="
+ },
+ "node_modules/async-retry": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/async-retry/-/async-retry-1.3.1.tgz",
+ "integrity": "sha512-aiieFW/7h3hY0Bq5d+ktDBejxuwR78vRu9hDUdR8rNhSaQ29VzPL4AoIRG7D/c7tdenwOcKvgPM6tIxB3cB6HA==",
+ "optional": true,
+ "dependencies": {
+ "retry": "0.12.0"
+ }
+ },
+ "node_modules/async-retry/node_modules/retry": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz",
+ "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=",
+ "optional": true,
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/asynckit": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
+ "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
+ },
+ "node_modules/at-least-node": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
+ "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==",
+ "optional": true,
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
+ "node_modules/atob": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
+ "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",
+ "devOptional": true,
+ "bin": {
+ "atob": "bin/atob.js"
+ },
+ "engines": {
+ "node": ">= 4.5.0"
+ }
+ },
+ "node_modules/available-typed-arrays": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.2.tgz",
+ "integrity": "sha512-XWX3OX8Onv97LMk/ftVyBibpGwY5a8SmuxZPzeOxqmuEqUCOM9ZE+uIaD1VNJ5QnvU2UQusvmKbuM1FR8QWGfQ==",
+ "dependencies": {
+ "array-filter": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/aws-sign2": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
+ "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/aws4": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz",
+ "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ=="
+ },
+ "node_modules/axios": {
+ "version": "0.20.0",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-0.20.0.tgz",
+ "integrity": "sha512-ANA4rr2BDcmmAQLOKft2fufrtuvlqR+cXNNinUmvfeSNCOF98PZL+7M/v1zIdGo7OLjEA9J2gXJL+j4zGsl0bA==",
+ "deprecated": "Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410",
+ "optional": true,
+ "dependencies": {
+ "follow-redirects": "^1.10.0"
+ }
+ },
+ "node_modules/babel-code-frame": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz",
+ "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=",
+ "dependencies": {
+ "chalk": "^1.1.3",
+ "esutils": "^2.0.2",
+ "js-tokens": "^3.0.2"
+ }
+ },
+ "node_modules/babel-code-frame/node_modules/ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/babel-code-frame/node_modules/chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
+ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "dependencies": {
+ "ansi-styles": "^2.2.1",
+ "escape-string-regexp": "^1.0.2",
+ "has-ansi": "^2.0.0",
+ "strip-ansi": "^3.0.0",
+ "supports-color": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/babel-code-frame/node_modules/js-tokens": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
+ "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls="
+ },
+ "node_modules/babel-code-frame/node_modules/supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/babel-core": {
+ "version": "6.26.3",
+ "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz",
+ "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==",
+ "dependencies": {
+ "babel-code-frame": "^6.26.0",
+ "babel-generator": "^6.26.0",
+ "babel-helpers": "^6.24.1",
+ "babel-messages": "^6.23.0",
+ "babel-register": "^6.26.0",
+ "babel-runtime": "^6.26.0",
+ "babel-template": "^6.26.0",
+ "babel-traverse": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "babylon": "^6.18.0",
+ "convert-source-map": "^1.5.1",
+ "debug": "^2.6.9",
+ "json5": "^0.5.1",
+ "lodash": "^4.17.4",
+ "minimatch": "^3.0.4",
+ "path-is-absolute": "^1.0.1",
+ "private": "^0.1.8",
+ "slash": "^1.0.0",
+ "source-map": "^0.5.7"
+ }
+ },
+ "node_modules/babel-core/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/babel-generator": {
+ "version": "6.26.1",
+ "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz",
+ "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==",
+ "dependencies": {
+ "babel-messages": "^6.23.0",
+ "babel-runtime": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "detect-indent": "^4.0.0",
+ "jsesc": "^1.3.0",
+ "lodash": "^4.17.4",
+ "source-map": "^0.5.7",
+ "trim-right": "^1.0.1"
+ }
+ },
+ "node_modules/babel-generator/node_modules/jsesc": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz",
+ "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=",
+ "bin": {
+ "jsesc": "bin/jsesc"
+ }
+ },
+ "node_modules/babel-helper-builder-binary-assignment-operator-visitor": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz",
+ "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=",
+ "dependencies": {
+ "babel-helper-explode-assignable-expression": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-helper-call-delegate": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz",
+ "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=",
+ "dependencies": {
+ "babel-helper-hoist-variables": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-helper-define-map": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz",
+ "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=",
+ "dependencies": {
+ "babel-helper-function-name": "^6.24.1",
+ "babel-runtime": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "lodash": "^4.17.4"
+ }
+ },
+ "node_modules/babel-helper-explode-assignable-expression": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz",
+ "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-helper-function-name": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz",
+ "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=",
+ "dependencies": {
+ "babel-helper-get-function-arity": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-helper-get-function-arity": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz",
+ "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-helper-hoist-variables": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz",
+ "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-helper-optimise-call-expression": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz",
+ "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-helper-regex": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz",
+ "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=",
+ "dependencies": {
+ "babel-runtime": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "lodash": "^4.17.4"
+ }
+ },
+ "node_modules/babel-helper-remap-async-to-generator": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz",
+ "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=",
+ "dependencies": {
+ "babel-helper-function-name": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-helper-replace-supers": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz",
+ "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=",
+ "dependencies": {
+ "babel-helper-optimise-call-expression": "^6.24.1",
+ "babel-messages": "^6.23.0",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-helpers": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz",
+ "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1"
+ }
+ },
+ "node_modules/babel-messages": {
+ "version": "6.23.0",
+ "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz",
+ "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/babel-plugin-check-es2015-constants": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz",
+ "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/babel-plugin-dynamic-import-node": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz",
+ "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==",
+ "optional": true,
+ "dependencies": {
+ "object.assign": "^4.1.0"
+ }
+ },
+ "node_modules/babel-plugin-syntax-async-functions": {
+ "version": "6.13.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz",
+ "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU="
+ },
+ "node_modules/babel-plugin-syntax-exponentiation-operator": {
+ "version": "6.13.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz",
+ "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4="
+ },
+ "node_modules/babel-plugin-syntax-trailing-function-commas": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz",
+ "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM="
+ },
+ "node_modules/babel-plugin-transform-async-to-generator": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz",
+ "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=",
+ "dependencies": {
+ "babel-helper-remap-async-to-generator": "^6.24.1",
+ "babel-plugin-syntax-async-functions": "^6.8.0",
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-arrow-functions": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz",
+ "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-block-scoped-functions": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz",
+ "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-block-scoping": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz",
+ "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=",
+ "dependencies": {
+ "babel-runtime": "^6.26.0",
+ "babel-template": "^6.26.0",
+ "babel-traverse": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "lodash": "^4.17.4"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-classes": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz",
+ "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=",
+ "dependencies": {
+ "babel-helper-define-map": "^6.24.1",
+ "babel-helper-function-name": "^6.24.1",
+ "babel-helper-optimise-call-expression": "^6.24.1",
+ "babel-helper-replace-supers": "^6.24.1",
+ "babel-messages": "^6.23.0",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-computed-properties": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz",
+ "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-destructuring": {
+ "version": "6.23.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz",
+ "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-duplicate-keys": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz",
+ "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-for-of": {
+ "version": "6.23.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz",
+ "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-function-name": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz",
+ "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=",
+ "dependencies": {
+ "babel-helper-function-name": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-literals": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz",
+ "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-modules-amd": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz",
+ "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=",
+ "dependencies": {
+ "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-modules-commonjs": {
+ "version": "6.26.2",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz",
+ "integrity": "sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==",
+ "dependencies": {
+ "babel-plugin-transform-strict-mode": "^6.24.1",
+ "babel-runtime": "^6.26.0",
+ "babel-template": "^6.26.0",
+ "babel-types": "^6.26.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-modules-systemjs": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz",
+ "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=",
+ "dependencies": {
+ "babel-helper-hoist-variables": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-modules-umd": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz",
+ "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=",
+ "dependencies": {
+ "babel-plugin-transform-es2015-modules-amd": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-object-super": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz",
+ "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=",
+ "dependencies": {
+ "babel-helper-replace-supers": "^6.24.1",
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-parameters": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz",
+ "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=",
+ "dependencies": {
+ "babel-helper-call-delegate": "^6.24.1",
+ "babel-helper-get-function-arity": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-shorthand-properties": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz",
+ "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-spread": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz",
+ "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-sticky-regex": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz",
+ "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=",
+ "dependencies": {
+ "babel-helper-regex": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-template-literals": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz",
+ "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-typeof-symbol": {
+ "version": "6.23.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz",
+ "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-es2015-unicode-regex": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz",
+ "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=",
+ "dependencies": {
+ "babel-helper-regex": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "regexpu-core": "^2.0.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-exponentiation-operator": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz",
+ "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=",
+ "dependencies": {
+ "babel-helper-builder-binary-assignment-operator-visitor": "^6.24.1",
+ "babel-plugin-syntax-exponentiation-operator": "^6.8.0",
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-regenerator": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz",
+ "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=",
+ "dependencies": {
+ "regenerator-transform": "^0.10.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-strict-mode": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz",
+ "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/babel-preset-env": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz",
+ "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==",
+ "dependencies": {
+ "babel-plugin-check-es2015-constants": "^6.22.0",
+ "babel-plugin-syntax-trailing-function-commas": "^6.22.0",
+ "babel-plugin-transform-async-to-generator": "^6.22.0",
+ "babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
+ "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0",
+ "babel-plugin-transform-es2015-block-scoping": "^6.23.0",
+ "babel-plugin-transform-es2015-classes": "^6.23.0",
+ "babel-plugin-transform-es2015-computed-properties": "^6.22.0",
+ "babel-plugin-transform-es2015-destructuring": "^6.23.0",
+ "babel-plugin-transform-es2015-duplicate-keys": "^6.22.0",
+ "babel-plugin-transform-es2015-for-of": "^6.23.0",
+ "babel-plugin-transform-es2015-function-name": "^6.22.0",
+ "babel-plugin-transform-es2015-literals": "^6.22.0",
+ "babel-plugin-transform-es2015-modules-amd": "^6.22.0",
+ "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
+ "babel-plugin-transform-es2015-modules-systemjs": "^6.23.0",
+ "babel-plugin-transform-es2015-modules-umd": "^6.23.0",
+ "babel-plugin-transform-es2015-object-super": "^6.22.0",
+ "babel-plugin-transform-es2015-parameters": "^6.23.0",
+ "babel-plugin-transform-es2015-shorthand-properties": "^6.22.0",
+ "babel-plugin-transform-es2015-spread": "^6.22.0",
+ "babel-plugin-transform-es2015-sticky-regex": "^6.22.0",
+ "babel-plugin-transform-es2015-template-literals": "^6.22.0",
+ "babel-plugin-transform-es2015-typeof-symbol": "^6.23.0",
+ "babel-plugin-transform-es2015-unicode-regex": "^6.22.0",
+ "babel-plugin-transform-exponentiation-operator": "^6.22.0",
+ "babel-plugin-transform-regenerator": "^6.22.0",
+ "browserslist": "^3.2.6",
+ "invariant": "^2.2.2",
+ "semver": "^5.3.0"
+ }
+ },
+ "node_modules/babel-preset-fbjs": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/babel-preset-fbjs/-/babel-preset-fbjs-3.3.0.tgz",
+ "integrity": "sha512-7QTLTCd2gwB2qGoi5epSULMHugSVgpcVt5YAeiFO9ABLrutDQzKfGwzxgZHLpugq8qMdg/DhRZDZ5CLKxBkEbw==",
+ "optional": true,
+ "dependencies": {
+ "@babel/plugin-proposal-class-properties": "^7.0.0",
+ "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
+ "@babel/plugin-syntax-class-properties": "^7.0.0",
+ "@babel/plugin-syntax-flow": "^7.0.0",
+ "@babel/plugin-syntax-jsx": "^7.0.0",
+ "@babel/plugin-syntax-object-rest-spread": "^7.0.0",
+ "@babel/plugin-transform-arrow-functions": "^7.0.0",
+ "@babel/plugin-transform-block-scoped-functions": "^7.0.0",
+ "@babel/plugin-transform-block-scoping": "^7.0.0",
+ "@babel/plugin-transform-classes": "^7.0.0",
+ "@babel/plugin-transform-computed-properties": "^7.0.0",
+ "@babel/plugin-transform-destructuring": "^7.0.0",
+ "@babel/plugin-transform-flow-strip-types": "^7.0.0",
+ "@babel/plugin-transform-for-of": "^7.0.0",
+ "@babel/plugin-transform-function-name": "^7.0.0",
+ "@babel/plugin-transform-literals": "^7.0.0",
+ "@babel/plugin-transform-member-expression-literals": "^7.0.0",
+ "@babel/plugin-transform-modules-commonjs": "^7.0.0",
+ "@babel/plugin-transform-object-super": "^7.0.0",
+ "@babel/plugin-transform-parameters": "^7.0.0",
+ "@babel/plugin-transform-property-literals": "^7.0.0",
+ "@babel/plugin-transform-react-display-name": "^7.0.0",
+ "@babel/plugin-transform-react-jsx": "^7.0.0",
+ "@babel/plugin-transform-shorthand-properties": "^7.0.0",
+ "@babel/plugin-transform-spread": "^7.0.0",
+ "@babel/plugin-transform-template-literals": "^7.0.0",
+ "babel-plugin-syntax-trailing-function-commas": "^7.0.0-beta.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/babel-preset-fbjs/node_modules/babel-plugin-syntax-trailing-function-commas": {
+ "version": "7.0.0-beta.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-7.0.0-beta.0.tgz",
+ "integrity": "sha512-Xj9XuRuz3nTSbaTXWv3itLOcxyF4oPD8douBBmj7U9BBC6nEBYfyOJYQMf/8PJAFotC62UY5dFfIGEPr7WswzQ==",
+ "optional": true
+ },
+ "node_modules/babel-register": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz",
+ "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=",
+ "dependencies": {
+ "babel-core": "^6.26.0",
+ "babel-runtime": "^6.26.0",
+ "core-js": "^2.5.0",
+ "home-or-tmp": "^2.0.0",
+ "lodash": "^4.17.4",
+ "mkdirp": "^0.5.1",
+ "source-map-support": "^0.4.15"
+ }
+ },
+ "node_modules/babel-register/node_modules/source-map-support": {
+ "version": "0.4.18",
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz",
+ "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==",
+ "dependencies": {
+ "source-map": "^0.5.6"
+ }
+ },
+ "node_modules/babel-runtime": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
+ "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
+ "dependencies": {
+ "core-js": "^2.4.0",
+ "regenerator-runtime": "^0.11.0"
+ }
+ },
+ "node_modules/babel-template": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz",
+ "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=",
+ "dependencies": {
+ "babel-runtime": "^6.26.0",
+ "babel-traverse": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "babylon": "^6.18.0",
+ "lodash": "^4.17.4"
+ }
+ },
+ "node_modules/babel-traverse": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz",
+ "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=",
+ "dependencies": {
+ "babel-code-frame": "^6.26.0",
+ "babel-messages": "^6.23.0",
+ "babel-runtime": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "babylon": "^6.18.0",
+ "debug": "^2.6.8",
+ "globals": "^9.18.0",
+ "invariant": "^2.2.2",
+ "lodash": "^4.17.4"
+ }
+ },
+ "node_modules/babel-traverse/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/babel-traverse/node_modules/globals": {
+ "version": "9.18.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz",
+ "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/babel-types": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz",
+ "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=",
+ "dependencies": {
+ "babel-runtime": "^6.26.0",
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.4",
+ "to-fast-properties": "^1.0.3"
+ }
+ },
+ "node_modules/babelify": {
+ "version": "7.3.0",
+ "resolved": "https://registry.npmjs.org/babelify/-/babelify-7.3.0.tgz",
+ "integrity": "sha1-qlau3nBn/XvVSWZu4W3ChQh+iOU=",
+ "dependencies": {
+ "babel-core": "^6.0.14",
+ "object-assign": "^4.0.0"
+ }
+ },
+ "node_modules/babylon": {
+ "version": "6.18.0",
+ "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz",
+ "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==",
+ "bin": {
+ "babylon": "bin/babylon.js"
+ }
+ },
+ "node_modules/backo2": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz",
+ "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=",
+ "optional": true
+ },
+ "node_modules/backoff": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/backoff/-/backoff-2.5.0.tgz",
+ "integrity": "sha1-9hbtqdPktmuMp/ynn2lXIsX44m8=",
+ "dependencies": {
+ "precond": "0.2"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
+ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
+ },
+ "node_modules/base": {
+ "version": "0.11.2",
+ "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz",
+ "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==",
+ "dev": true,
+ "dependencies": {
+ "cache-base": "^1.0.1",
+ "class-utils": "^0.3.5",
+ "component-emitter": "^1.2.1",
+ "define-property": "^1.0.0",
+ "isobject": "^3.0.1",
+ "mixin-deep": "^1.2.0",
+ "pascalcase": "^0.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/base-x": {
+ "version": "3.0.8",
+ "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.8.tgz",
+ "integrity": "sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA==",
+ "dependencies": {
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "node_modules/base/node_modules/define-property": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
+ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
+ "dev": true,
+ "dependencies": {
+ "is-descriptor": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/base/node_modules/is-accessor-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
+ "dev": true,
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/base/node_modules/is-data-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
+ "dev": true,
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/base/node_modules/is-descriptor": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
+ "dev": true,
+ "dependencies": {
+ "is-accessor-descriptor": "^1.0.0",
+ "is-data-descriptor": "^1.0.0",
+ "kind-of": "^6.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/base32-decode": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/base32-decode/-/base32-decode-1.0.0.tgz",
+ "integrity": "sha512-KNWUX/R7wKenwE/G/qFMzGScOgVntOmbE27vvc6GrniDGYb6a5+qWcuoXl8WIOQL7q0TpK7nZDm1Y04Yi3Yn5g==",
+ "optional": true
+ },
+ "node_modules/base32-encode": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/base32-encode/-/base32-encode-1.2.0.tgz",
+ "integrity": "sha512-cHFU8XeRyx0GgmoWi5qHMCVRiqU6J3MHWxVgun7jggCBUpVzm1Ir7M9dYr2whjSNc3tFeXfQ/oZjQu/4u55h9A==",
+ "optional": true,
+ "dependencies": {
+ "to-data-view": "^1.1.0"
+ }
+ },
+ "node_modules/base64-js": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",
+ "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g=="
+ },
+ "node_modules/bcrypt-pbkdf": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
+ "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
+ "dependencies": {
+ "tweetnacl": "^0.14.3"
+ }
+ },
+ "node_modules/bech32": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.3.tgz",
+ "integrity": "sha512-yuVFUvrNcoJi0sv5phmqc6P+Fl1HjRDRNOOkHY2X/3LBy2bIGNSFx4fZ95HMaXHupuS7cZR15AsvtmCIF4UEyg==",
+ "optional": true
+ },
+ "node_modules/big.js": {
+ "version": "5.2.2",
+ "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
+ "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/bignumber.js": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz",
+ "integrity": "sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/binary-extensions": {
+ "version": "1.13.1",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",
+ "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/bindings": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
+ "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
+ "dependencies": {
+ "file-uri-to-path": "1.0.0"
+ }
+ },
+ "node_modules/bip32": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz",
+ "integrity": "sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA==",
+ "optional": true,
+ "dependencies": {
+ "@types/node": "10.12.18",
+ "bs58check": "^2.1.1",
+ "create-hash": "^1.2.0",
+ "create-hmac": "^1.1.7",
+ "tiny-secp256k1": "^1.1.3",
+ "typeforce": "^1.11.5",
+ "wif": "^2.0.6"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/bip32/node_modules/@types/node": {
+ "version": "10.12.18",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz",
+ "integrity": "sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ==",
+ "optional": true
+ },
+ "node_modules/bip39": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/bip39/-/bip39-2.6.0.tgz",
+ "integrity": "sha512-RrnQRG2EgEoqO24ea+Q/fftuPUZLmrEM3qNhhGsA3PbaXaCW791LTzPuVyx/VprXQcTbPJ3K3UeTna8ZnVl2sg==",
+ "dependencies": {
+ "create-hash": "^1.1.0",
+ "pbkdf2": "^3.0.9",
+ "randombytes": "^2.0.1",
+ "safe-buffer": "^5.0.1",
+ "unorm": "^1.3.3"
+ }
+ },
+ "node_modules/bip66": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz",
+ "integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=",
+ "dependencies": {
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "node_modules/bitcore-lib": {
+ "version": "8.25.8",
+ "resolved": "https://registry.npmjs.org/bitcore-lib/-/bitcore-lib-8.25.8.tgz",
+ "integrity": "sha512-vxNJ+DLAeC2V8iPa6dRvUbb/Nm3Vr/cXKhCKSIxj8YPU2tP0QiwEz2Lu9sbqhtsmIerS+F1eeHulzS21MpS2GQ==",
+ "optional": true,
+ "dependencies": {
+ "bech32": "=1.1.3",
+ "bn.js": "=4.11.8",
+ "bs58": "^4.0.1",
+ "buffer-compare": "=1.1.1",
+ "elliptic": "^6.5.3",
+ "inherits": "=2.0.1",
+ "lodash": "^4.17.20"
+ }
+ },
+ "node_modules/bitcore-lib/node_modules/bs58": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz",
+ "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=",
+ "optional": true,
+ "dependencies": {
+ "base-x": "^3.0.2"
+ }
+ },
+ "node_modules/bitcore-lib/node_modules/inherits": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
+ "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=",
+ "optional": true
+ },
+ "node_modules/bitcore-mnemonic": {
+ "version": "8.25.8",
+ "resolved": "https://registry.npmjs.org/bitcore-mnemonic/-/bitcore-mnemonic-8.25.8.tgz",
+ "integrity": "sha512-xViUIa9YiJ2UP5yNVAfFfsiCKB7ed+wJuPo6jz36GE91nPPxxNJ2LOMIVQMSYj89g77FsgQmAx/qj2g35G34WA==",
+ "optional": true,
+ "dependencies": {
+ "bitcore-lib": "^8.25.8",
+ "unorm": "^1.4.1"
+ },
+ "peerDependencies": {
+ "bitcore-lib": "^8.20.1"
+ }
+ },
+ "node_modules/bl": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/bl/-/bl-4.0.2.tgz",
+ "integrity": "sha512-j4OH8f6Qg2bGuWfRiltT2HYGx0e1QcBTrK9KAHNMwMZdQnDZFk0ZSYIpADjYCB3U12nicC5tVJwSIhwOWjb4RQ==",
+ "optional": true,
+ "dependencies": {
+ "buffer": "^5.5.0",
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.4.0"
+ }
+ },
+ "node_modules/bl/node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "node_modules/bl/node_modules/readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/blakejs": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.1.0.tgz",
+ "integrity": "sha1-ad+S75U6qIylGjLfarHFShVfx6U="
+ },
+ "node_modules/blob-to-it": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/blob-to-it/-/blob-to-it-1.0.2.tgz",
+ "integrity": "sha512-yD8tikfTlUGEOSHExz4vDCIQFLaBPXIL0KcxGQt9RbwMVXBEh+jokdJyStvTXPgWrdKfwgk7RX8GPsgrYzsyng==",
+ "optional": true,
+ "dependencies": {
+ "browser-readablestream-to-it": "^1.0.2"
+ }
+ },
+ "node_modules/bluebird": {
+ "version": "3.5.5",
+ "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.5.tgz",
+ "integrity": "sha512-5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w=="
+ },
+ "node_modules/bn.js": {
+ "version": "4.11.8",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",
+ "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA=="
+ },
+ "node_modules/body-parser": {
+ "version": "1.19.0",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",
+ "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==",
+ "dependencies": {
+ "bytes": "3.1.0",
+ "content-type": "~1.0.4",
+ "debug": "2.6.9",
+ "depd": "~1.1.2",
+ "http-errors": "1.7.2",
+ "iconv-lite": "0.4.24",
+ "on-finished": "~2.3.0",
+ "qs": "6.7.0",
+ "raw-body": "2.4.0",
+ "type-is": "~1.6.17"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/body-parser/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/body-parser/node_modules/http-errors": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
+ "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
+ "dependencies": {
+ "depd": "~1.1.2",
+ "inherits": "2.0.3",
+ "setprototypeof": "1.1.1",
+ "statuses": ">= 1.5.0 < 2",
+ "toidentifier": "1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/body-parser/node_modules/qs": {
+ "version": "6.7.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
+ "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/boolbase": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
+ "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24="
+ },
+ "node_modules/borc": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/borc/-/borc-2.1.2.tgz",
+ "integrity": "sha512-Sy9eoUi4OiKzq7VovMn246iTo17kzuyHJKomCfpWMlI6RpfN1gk95w7d7gH264nApVLg0HZfcpz62/g4VH1Y4w==",
+ "optional": true,
+ "dependencies": {
+ "bignumber.js": "^9.0.0",
+ "buffer": "^5.5.0",
+ "commander": "^2.15.0",
+ "ieee754": "^1.1.13",
+ "iso-url": "~0.4.7",
+ "json-text-sequence": "~0.1.0",
+ "readable-stream": "^3.6.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/borc/node_modules/iso-url": {
+ "version": "0.4.7",
+ "resolved": "https://registry.npmjs.org/iso-url/-/iso-url-0.4.7.tgz",
+ "integrity": "sha512-27fFRDnPAMnHGLq36bWTpKET+eiXct3ENlCcdcMdk+mjXrb2kw3mhBUg1B7ewAC0kVzlOPhADzQgz1SE6Tglog==",
+ "optional": true,
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/borc/node_modules/readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/boxen": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz",
+ "integrity": "sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw==",
+ "dev": true,
+ "dependencies": {
+ "ansi-align": "^2.0.0",
+ "camelcase": "^4.0.0",
+ "chalk": "^2.0.1",
+ "cli-boxes": "^1.0.0",
+ "string-width": "^2.0.0",
+ "term-size": "^1.2.0",
+ "widest-line": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/boxen/node_modules/ansi-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/boxen/node_modules/camelcase": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz",
+ "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/boxen/node_modules/is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/boxen/node_modules/string-width": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
+ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
+ "dev": true,
+ "dependencies": {
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/boxen/node_modules/strip-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/braces": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",
+ "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",
+ "dev": true,
+ "dependencies": {
+ "arr-flatten": "^1.1.0",
+ "array-unique": "^0.3.2",
+ "extend-shallow": "^2.0.1",
+ "fill-range": "^4.0.0",
+ "isobject": "^3.0.1",
+ "repeat-element": "^1.1.2",
+ "snapdragon": "^0.8.1",
+ "snapdragon-node": "^2.0.1",
+ "split-string": "^3.0.2",
+ "to-regex": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/braces/node_modules/extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "dev": true,
+ "dependencies": {
+ "is-extendable": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/brorand": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",
+ "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8="
+ },
+ "node_modules/browser-headers": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/browser-headers/-/browser-headers-0.4.1.tgz",
+ "integrity": "sha512-CA9hsySZVo9371qEHjHZtYxV2cFtVj5Wj/ZHi8ooEsrtm4vOnl9Y9HmyYWk9q+05d7K3rdoAE0j3MVEFVvtQtg==",
+ "optional": true
+ },
+ "node_modules/browser-readablestream-to-it": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/browser-readablestream-to-it/-/browser-readablestream-to-it-1.0.2.tgz",
+ "integrity": "sha512-lv4M2Z6RKJpyJijJzBQL5MNssS7i8yedl+QkhnLCyPtgNGNSXv1KthzUnye9NlRAtBAI80X6S9i+vK09Rzjcvg==",
+ "optional": true
+ },
+ "node_modules/browser-stdout": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz",
+ "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw=="
+ },
+ "node_modules/browserify-aes": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
+ "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",
+ "dependencies": {
+ "buffer-xor": "^1.0.3",
+ "cipher-base": "^1.0.0",
+ "create-hash": "^1.1.0",
+ "evp_bytestokey": "^1.0.3",
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "node_modules/browserify-cipher": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz",
+ "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==",
+ "dependencies": {
+ "browserify-aes": "^1.0.4",
+ "browserify-des": "^1.0.0",
+ "evp_bytestokey": "^1.0.0"
+ }
+ },
+ "node_modules/browserify-des": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz",
+ "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==",
+ "dependencies": {
+ "cipher-base": "^1.0.1",
+ "des.js": "^1.0.0",
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.1.2"
+ }
+ },
+ "node_modules/browserify-rsa": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz",
+ "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==",
+ "dependencies": {
+ "bn.js": "^5.0.0",
+ "randombytes": "^2.0.1"
+ }
+ },
+ "node_modules/browserify-rsa/node_modules/bn.js": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw=="
+ },
+ "node_modules/browserify-sign": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz",
+ "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==",
+ "dependencies": {
+ "bn.js": "^5.1.1",
+ "browserify-rsa": "^4.0.1",
+ "create-hash": "^1.2.0",
+ "create-hmac": "^1.1.7",
+ "elliptic": "^6.5.3",
+ "inherits": "^2.0.4",
+ "parse-asn1": "^5.1.5",
+ "readable-stream": "^3.6.0",
+ "safe-buffer": "^5.2.0"
+ }
+ },
+ "node_modules/browserify-sign/node_modules/bn.js": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw=="
+ },
+ "node_modules/browserify-sign/node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
+ },
+ "node_modules/browserify-sign/node_modules/readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/browserify-sign/node_modules/safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
+ },
+ "node_modules/browserslist": {
+ "version": "3.2.8",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz",
+ "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==",
+ "dependencies": {
+ "caniuse-lite": "^1.0.30000844",
+ "electron-to-chromium": "^1.3.47"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ }
+ },
+ "node_modules/bs58": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-2.0.1.tgz",
+ "integrity": "sha1-VZCNWPGYKrogCPob7Y+RmYopv40="
+ },
+ "node_modules/bs58check": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz",
+ "integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==",
+ "dependencies": {
+ "bs58": "^4.0.0",
+ "create-hash": "^1.1.0",
+ "safe-buffer": "^5.1.2"
+ }
+ },
+ "node_modules/bs58check/node_modules/bs58": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz",
+ "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=",
+ "dependencies": {
+ "base-x": "^3.0.2"
+ }
+ },
+ "node_modules/bser": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz",
+ "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==",
+ "optional": true,
+ "dependencies": {
+ "node-int64": "^0.4.0"
+ }
+ },
+ "node_modules/btoa-lite": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/btoa-lite/-/btoa-lite-1.0.0.tgz",
+ "integrity": "sha1-M3dm2hWAEhD92VbCLpxokaudAzc=",
+ "optional": true
+ },
+ "node_modules/buffer": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
+ "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "dependencies": {
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.1.13"
+ }
+ },
+ "node_modules/buffer-compare": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/buffer-compare/-/buffer-compare-1.1.1.tgz",
+ "integrity": "sha1-W+e+hTr4kZjR9N3AkNHWakiu9ZY=",
+ "optional": true
+ },
+ "node_modules/buffer-from": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
+ "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A=="
+ },
+ "node_modules/buffer-pipe": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/buffer-pipe/-/buffer-pipe-0.0.3.tgz",
+ "integrity": "sha512-GlxfuD/NrKvCNs0Ut+7b1IHjylfdegMBxQIlZHj7bObKVQBxB5S84gtm2yu1mQ8/sSggceWBDPY0cPXgvX2MuA==",
+ "optional": true,
+ "dependencies": {
+ "safe-buffer": "^5.1.2"
+ }
+ },
+ "node_modules/buffer-to-arraybuffer": {
+ "version": "0.0.5",
+ "resolved": "https://registry.npmjs.org/buffer-to-arraybuffer/-/buffer-to-arraybuffer-0.0.5.tgz",
+ "integrity": "sha1-YGSkD6dutDxyOrqe+PbhIW0QURo="
+ },
+ "node_modules/buffer-xor": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz",
+ "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk="
+ },
+ "node_modules/bufferutil": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.3.tgz",
+ "integrity": "sha512-yEYTwGndELGvfXsImMBLop58eaGW+YdONi1fNjTINSY98tmMmFijBG6WXgdkfuLNt4imzQNtIE+eBp1PVpMCSw==",
+ "hasInstallScript": true,
+ "dependencies": {
+ "node-gyp-build": "^4.2.0"
+ }
+ },
+ "node_modules/builtins": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz",
+ "integrity": "sha1-y5T662HIaWRR2zZTThQi+U8K7og="
+ },
+ "node_modules/busboy": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/busboy/-/busboy-0.3.1.tgz",
+ "integrity": "sha512-y7tTxhGKXcyBxRKAni+awqx8uqaJKrSFSNFSeRG5CsWNdmy2BIK+6VGWEW7TZnIO/533mtMEA4rOevQV815YJw==",
+ "optional": true,
+ "dependencies": {
+ "dicer": "0.3.0"
+ },
+ "engines": {
+ "node": ">=4.5.0"
+ }
+ },
+ "node_modules/bytes": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
+ "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/cacache": {
+ "version": "12.0.0",
+ "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.0.tgz",
+ "integrity": "sha512-0baf1FhCp16LhN+xDJsOrSiaPDCTD3JegZptVmLDoEbFcT5aT+BeFGt3wcDU3olCP5tpTCXU5sv0+TsKWT9WGQ==",
+ "dependencies": {
+ "bluebird": "^3.5.5",
+ "chownr": "^1.1.1",
+ "figgy-pudding": "^3.5.1",
+ "glob": "^7.1.4",
+ "graceful-fs": "^4.1.15",
+ "lru-cache": "^5.1.1",
+ "mississippi": "^3.0.0",
+ "mkdirp": "^0.5.1",
+ "move-concurrently": "^1.0.1",
+ "promise-inflight": "^1.0.1",
+ "rimraf": "^2.6.3",
+ "ssri": "^6.0.1",
+ "unique-filename": "^1.1.1",
+ "y18n": "^4.0.0"
+ }
+ },
+ "node_modules/cacache/node_modules/glob": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
+ "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/cacache/node_modules/lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "dependencies": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "node_modules/cacache/node_modules/y18n": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
+ "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w=="
+ },
+ "node_modules/cacache/node_modules/yallist": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",
+ "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A=="
+ },
+ "node_modules/cache-base": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
+ "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==",
+ "dev": true,
+ "dependencies": {
+ "collection-visit": "^1.0.0",
+ "component-emitter": "^1.2.1",
+ "get-value": "^2.0.6",
+ "has-value": "^1.0.0",
+ "isobject": "^3.0.1",
+ "set-value": "^2.0.0",
+ "to-object-path": "^0.3.0",
+ "union-value": "^1.0.0",
+ "unset-value": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/cacheable-request": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
+ "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==",
+ "dependencies": {
+ "clone-response": "^1.0.2",
+ "get-stream": "^5.1.0",
+ "http-cache-semantics": "^4.0.0",
+ "keyv": "^3.0.0",
+ "lowercase-keys": "^2.0.0",
+ "normalize-url": "^4.1.0",
+ "responselike": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/cacheable-request/node_modules/get-stream": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz",
+ "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==",
+ "dependencies": {
+ "pump": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/cacheable-request/node_modules/http-cache-semantics": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.0.3.tgz",
+ "integrity": "sha512-TcIMG3qeVLgDr1TEd2XvHaTnMPwYQUQMIBLy+5pLSDKYFc7UIqj39w8EGzZkaxoLv/l2K8HaI0t5AVA+YYgUew=="
+ },
+ "node_modules/cacheable-request/node_modules/lowercase-keys": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
+ "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/cacheable-request/node_modules/pump": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "node_modules/call-bind": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
+ "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
+ "dependencies": {
+ "function-bind": "^1.1.1",
+ "get-intrinsic": "^1.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/caller-callsite": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz",
+ "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=",
+ "dev": true,
+ "dependencies": {
+ "callsites": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/caller-callsite/node_modules/callsites": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz",
+ "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/caller-path": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz",
+ "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=",
+ "dev": true,
+ "dependencies": {
+ "caller-callsite": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/callsites": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/camel-case": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz",
+ "integrity": "sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M=",
+ "dependencies": {
+ "no-case": "^2.2.0",
+ "upper-case": "^1.1.1"
+ }
+ },
+ "node_modules/camelcase": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
+ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001214",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001214.tgz",
+ "integrity": "sha512-O2/SCpuaU3eASWVaesQirZv1MSjUNOvmugaD8zNSJqw6Vv5SGwoOpA9LJs3pNPfM745nxqPvfZY3MQKY4AKHYg=="
+ },
+ "node_modules/capture-stack-trace": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz",
+ "integrity": "sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/cardinal": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz",
+ "integrity": "sha1-fMEFXYItISlU0HsIXeolHMe8VQU=",
+ "dev": true,
+ "dependencies": {
+ "ansicolors": "~0.3.2",
+ "redeyed": "~2.1.0"
+ },
+ "bin": {
+ "cdl": "bin/cdl.js"
+ }
+ },
+ "node_modules/caseless": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
+ "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
+ },
+ "node_modules/cbor": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/cbor/-/cbor-5.2.0.tgz",
+ "integrity": "sha512-5IMhi9e1QU76ppa5/ajP1BmMWZ2FHkhAhjeVKQ/EFCgYSEaeVaoGtL7cxJskf9oCCk+XjzaIdc3IuU/dbA/o2A==",
+ "dependencies": {
+ "bignumber.js": "^9.0.1",
+ "nofilter": "^1.0.4"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/chai": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/chai/-/chai-4.2.0.tgz",
+ "integrity": "sha512-XQU3bhBukrOsQCuwZndwGcCVQHyZi53fQ6Ys1Fym7E4olpIqqZZhhoFJoaKVvV17lWQoXYwgWN2nF5crA8J2jw==",
+ "dependencies": {
+ "assertion-error": "^1.1.0",
+ "check-error": "^1.0.2",
+ "deep-eql": "^3.0.1",
+ "get-func-name": "^2.0.0",
+ "pathval": "^1.1.0",
+ "type-detect": "^4.0.5"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/chai-as-promised": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-7.1.1.tgz",
+ "integrity": "sha512-azL6xMoi+uxu6z4rhWQ1jbdUhOMhis2PvscD/xjLqNMkv3BPPp2JyyuTHOrf9BOosGpNQ11v6BKv/g57RXbiaA==",
+ "dependencies": {
+ "check-error": "^1.0.2"
+ }
+ },
+ "node_modules/chai-bignumber": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/chai-bignumber/-/chai-bignumber-3.0.0.tgz",
+ "integrity": "sha512-SubOtaSI2AILWTWe2j0c6i2yFT/f9J6UBjeVGDuwDiPLkF/U5+/eTWUE3sbCZ1KgcPF6UJsDVYbIxaYA097MQA=="
+ },
+ "node_modules/chai-bn": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/chai-bn/-/chai-bn-0.1.1.tgz",
+ "integrity": "sha512-e1npVXt3cQfZ6oQET9oP38vNj/4HeJ4ojeUpuC8YzhVbTJpIDqANVt7TKi7Dq9yKlHySk2FqbmiMih35iT4DYg==",
+ "dev": true
+ },
+ "node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/chalk/node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/chalk/node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/change-case": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/change-case/-/change-case-3.0.2.tgz",
+ "integrity": "sha512-Mww+SLF6MZ0U6kdg11algyKd5BARbyM4TbFBepwowYSR5ClfQGCGtxNXgykpN0uF/bstWeaGDT4JWaDh8zWAHA==",
+ "dependencies": {
+ "camel-case": "^3.0.0",
+ "constant-case": "^2.0.0",
+ "dot-case": "^2.1.0",
+ "header-case": "^1.0.0",
+ "is-lower-case": "^1.1.0",
+ "is-upper-case": "^1.1.0",
+ "lower-case": "^1.1.1",
+ "lower-case-first": "^1.0.0",
+ "no-case": "^2.3.2",
+ "param-case": "^2.1.0",
+ "pascal-case": "^2.0.0",
+ "path-case": "^2.1.0",
+ "sentence-case": "^2.1.0",
+ "snake-case": "^2.1.0",
+ "swap-case": "^1.1.0",
+ "title-case": "^2.1.0",
+ "upper-case": "^1.1.1",
+ "upper-case-first": "^1.1.0"
+ }
+ },
+ "node_modules/chardet": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
+ "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==",
+ "dev": true
+ },
+ "node_modules/charenc": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz",
+ "integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=",
+ "dev": true,
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/check-error": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz",
+ "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/checkpoint-store": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/checkpoint-store/-/checkpoint-store-1.1.0.tgz",
+ "integrity": "sha1-BOTLUWuRQziTWB5tRgGnjpVS6gY=",
+ "dependencies": {
+ "functional-red-black-tree": "^1.0.1"
+ }
+ },
+ "node_modules/cheerio": {
+ "version": "1.0.0-rc.2",
+ "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz",
+ "integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=",
+ "dependencies": {
+ "css-select": "~1.2.0",
+ "dom-serializer": "~0.1.0",
+ "entities": "~1.1.1",
+ "htmlparser2": "^3.9.1",
+ "lodash": "^4.15.0",
+ "parse5": "^3.0.1"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.5.tgz",
+ "integrity": "sha512-i0TprVWp+Kj4WRPtInjexJ8Q+BqTE909VpH8xVhXrJkoc5QC8VO9TryGOqTr+2hljzc1sC62t22h5tZePodM/A==",
+ "dev": true,
+ "dependencies": {
+ "anymatch": "^2.0.0",
+ "async-each": "^1.0.1",
+ "braces": "^2.3.2",
+ "glob-parent": "^3.1.0",
+ "inherits": "^2.0.3",
+ "is-binary-path": "^1.0.0",
+ "is-glob": "^4.0.0",
+ "normalize-path": "^3.0.0",
+ "path-is-absolute": "^1.0.0",
+ "readdirp": "^2.2.1",
+ "upath": "^1.1.1"
+ },
+ "optionalDependencies": {
+ "fsevents": "^1.2.7"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents": {
+ "version": "1.2.9",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.9.tgz",
+ "integrity": "sha512-oeyj2H3EjjonWcFjD5NvZNE9Rqe4UW+nQBU2HNeKw0koVLEFIhtyETyAakeAM3de7Z/SW5kcA+fZUait9EApnw==",
+ "bundleDependencies": [
+ "abbrev",
+ "ansi-regex",
+ "aproba",
+ "are-we-there-yet",
+ "balanced-match",
+ "brace-expansion",
+ "chownr",
+ "code-point-at",
+ "concat-map",
+ "console-control-strings",
+ "core-util-is",
+ "debug",
+ "deep-extend",
+ "delegates",
+ "detect-libc",
+ "fs-minipass",
+ "fs.realpath",
+ "gauge",
+ "glob",
+ "has-unicode",
+ "iconv-lite",
+ "ignore-walk",
+ "inflight",
+ "inherits",
+ "ini",
+ "is-fullwidth-code-point",
+ "isarray",
+ "minimatch",
+ "minimist",
+ "minipass",
+ "minizlib",
+ "mkdirp",
+ "ms",
+ "needle",
+ "node-pre-gyp",
+ "nopt",
+ "npm-bundled",
+ "npm-packlist",
+ "npmlog",
+ "number-is-nan",
+ "object-assign",
+ "once",
+ "os-homedir",
+ "os-tmpdir",
+ "osenv",
+ "path-is-absolute",
+ "process-nextick-args",
+ "rc",
+ "readable-stream",
+ "rimraf",
+ "safe-buffer",
+ "safer-buffer",
+ "sax",
+ "semver",
+ "set-blocking",
+ "signal-exit",
+ "string-width",
+ "string_decoder",
+ "strip-ansi",
+ "strip-json-comments",
+ "tar",
+ "util-deprecate",
+ "wide-align",
+ "wrappy",
+ "yallist"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "dependencies": {
+ "nan": "^2.12.1",
+ "node-pre-gyp": "^0.12.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/abbrev": {
+ "version": "1.1.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/ansi-regex": {
+ "version": "2.1.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/aproba": {
+ "version": "1.2.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/are-we-there-yet": {
+ "version": "1.1.5",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "delegates": "^1.0.0",
+ "readable-stream": "^2.0.6"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/balanced-match": {
+ "version": "1.0.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/chownr": {
+ "version": "1.1.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/code-point-at": {
+ "version": "1.1.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/concat-map": {
+ "version": "0.0.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/console-control-strings": {
+ "version": "1.1.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/core-util-is": {
+ "version": "1.0.2",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/debug": {
+ "version": "4.1.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/deep-extend": {
+ "version": "0.6.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/delegates": {
+ "version": "1.0.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/detect-libc": {
+ "version": "1.0.3",
+ "dev": true,
+ "inBundle": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "bin": {
+ "detect-libc": "bin/detect-libc.js"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/fs-minipass": {
+ "version": "1.2.5",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "minipass": "^2.2.1"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/fs.realpath": {
+ "version": "1.0.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/gauge": {
+ "version": "2.7.4",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "aproba": "^1.0.3",
+ "console-control-strings": "^1.0.0",
+ "has-unicode": "^2.0.0",
+ "object-assign": "^4.1.0",
+ "signal-exit": "^3.0.0",
+ "string-width": "^1.0.1",
+ "strip-ansi": "^3.0.1",
+ "wide-align": "^1.1.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/glob": {
+ "version": "7.1.3",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/has-unicode": {
+ "version": "2.0.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/iconv-lite": {
+ "version": "0.4.24",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/ignore-walk": {
+ "version": "3.0.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "minimatch": "^3.0.4"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/inflight": {
+ "version": "1.0.6",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "once": "^1.3.0",
+ "wrappy": "1"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/inherits": {
+ "version": "2.0.3",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/ini": {
+ "version": "1.3.5",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/is-fullwidth-code-point": {
+ "version": "1.0.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "number-is-nan": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/isarray": {
+ "version": "1.0.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/minimatch": {
+ "version": "3.0.4",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/minimist": {
+ "version": "0.0.8",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/minipass": {
+ "version": "2.3.5",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "safe-buffer": "^5.1.2",
+ "yallist": "^3.0.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/minizlib": {
+ "version": "1.2.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "minipass": "^2.2.1"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/mkdirp": {
+ "version": "0.5.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "minimist": "0.0.8"
+ },
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/ms": {
+ "version": "2.1.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/needle": {
+ "version": "2.3.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "debug": "^4.1.0",
+ "iconv-lite": "^0.4.4",
+ "sax": "^1.2.4"
+ },
+ "bin": {
+ "needle": "bin/needle"
+ },
+ "engines": {
+ "node": ">= 4.4.x"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/node-pre-gyp": {
+ "version": "0.12.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "BSD-3-Clause",
+ "optional": true,
+ "dependencies": {
+ "detect-libc": "^1.0.2",
+ "mkdirp": "^0.5.1",
+ "needle": "^2.2.1",
+ "nopt": "^4.0.1",
+ "npm-packlist": "^1.1.6",
+ "npmlog": "^4.0.2",
+ "rc": "^1.2.7",
+ "rimraf": "^2.6.1",
+ "semver": "^5.3.0",
+ "tar": "^4"
+ },
+ "bin": {
+ "node-pre-gyp": "bin/node-pre-gyp"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/nopt": {
+ "version": "4.0.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "abbrev": "1",
+ "osenv": "^0.1.4"
+ },
+ "bin": {
+ "nopt": "bin/nopt.js"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/npm-bundled": {
+ "version": "1.0.6",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/npm-packlist": {
+ "version": "1.4.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "ignore-walk": "^3.0.1",
+ "npm-bundled": "^1.0.1"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/npmlog": {
+ "version": "4.1.2",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "are-we-there-yet": "~1.1.2",
+ "console-control-strings": "~1.1.0",
+ "gauge": "~2.7.3",
+ "set-blocking": "~2.0.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/number-is-nan": {
+ "version": "1.0.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/object-assign": {
+ "version": "4.1.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/once": {
+ "version": "1.4.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/os-homedir": {
+ "version": "1.0.2",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/os-tmpdir": {
+ "version": "1.0.2",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/osenv": {
+ "version": "0.1.5",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "os-homedir": "^1.0.0",
+ "os-tmpdir": "^1.0.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/path-is-absolute": {
+ "version": "1.0.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/process-nextick-args": {
+ "version": "2.0.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/rc": {
+ "version": "1.2.8",
+ "dev": true,
+ "inBundle": true,
+ "license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
+ "optional": true,
+ "dependencies": {
+ "deep-extend": "^0.6.0",
+ "ini": "~1.3.0",
+ "minimist": "^1.2.0",
+ "strip-json-comments": "~2.0.1"
+ },
+ "bin": {
+ "rc": "cli.js"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/rc/node_modules/minimist": {
+ "version": "1.2.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/readable-stream": {
+ "version": "2.3.6",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.3",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
+ "util-deprecate": "~1.0.1"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/rimraf": {
+ "version": "2.6.3",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/safe-buffer": {
+ "version": "5.1.2",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/sax": {
+ "version": "1.2.4",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/semver": {
+ "version": "5.7.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "bin": {
+ "semver": "bin/semver"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/set-blocking": {
+ "version": "2.0.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/signal-exit": {
+ "version": "3.0.2",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/string_decoder": {
+ "version": "1.1.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "safe-buffer": "~5.1.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/string-width": {
+ "version": "1.0.2",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "code-point-at": "^1.0.0",
+ "is-fullwidth-code-point": "^1.0.0",
+ "strip-ansi": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/strip-ansi": {
+ "version": "3.0.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "ansi-regex": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/strip-json-comments": {
+ "version": "2.0.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/tar": {
+ "version": "4.4.8",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "chownr": "^1.1.1",
+ "fs-minipass": "^1.2.5",
+ "minipass": "^2.3.4",
+ "minizlib": "^1.1.1",
+ "mkdirp": "^0.5.0",
+ "safe-buffer": "^5.1.2",
+ "yallist": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=4.5"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/wide-align": {
+ "version": "1.1.3",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "string-width": "^1.0.2 || 2"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/wrappy": {
+ "version": "1.0.2",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/fsevents/node_modules/yallist": {
+ "version": "3.0.3",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/chownr": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz",
+ "integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g=="
+ },
+ "node_modules/ci-info": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz",
+ "integrity": "sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A==",
+ "dev": true
+ },
+ "node_modules/cids": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/cids/-/cids-1.1.6.tgz",
+ "integrity": "sha512-5P+Jas2bVpjiHibp/SOwKY+v7JhAjTChaAZN+vCIrsWXn/JZV0frX22Vp5zZgEyJRPco79pX+yNQ2S3LkRukHQ==",
+ "optional": true,
+ "dependencies": {
+ "multibase": "^4.0.1",
+ "multicodec": "^3.0.1",
+ "multihashes": "^4.0.1",
+ "uint8arrays": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=4.0.0",
+ "npm": ">=3.0.0"
+ }
+ },
+ "node_modules/cids/node_modules/multibase": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.4.tgz",
+ "integrity": "sha512-8/JmrdSGzlw6KTgAJCOqUBSGd1V6186i/X8dDCGy/lbCKrQ+1QB6f3HE+wPr7Tpdj4U3gutaj9jG2rNX6UpiJg==",
+ "optional": true,
+ "dependencies": {
+ "@multiformats/base-x": "^4.0.1"
+ },
+ "engines": {
+ "node": ">=12.0.0",
+ "npm": ">=6.0.0"
+ }
+ },
+ "node_modules/cids/node_modules/multihashes": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.2.tgz",
+ "integrity": "sha512-xpx++1iZr4ZQHjN1mcrXS6904R36LWLxX/CBifczjtmrtCXEX623DMWOF1eiNSg+pFpiZDFVBgou/4v6ayCHSQ==",
+ "optional": true,
+ "dependencies": {
+ "multibase": "^4.0.1",
+ "uint8arrays": "^2.1.3",
+ "varint": "^5.0.2"
+ },
+ "engines": {
+ "node": ">=12.0.0",
+ "npm": ">=6.0.0"
+ }
+ },
+ "node_modules/cids/node_modules/varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
+ },
+ "node_modules/cint": {
+ "version": "8.2.1",
+ "resolved": "https://registry.npmjs.org/cint/-/cint-8.2.1.tgz",
+ "integrity": "sha1-cDhrG0jidz0NYxZqVa/5TvRFahI="
+ },
+ "node_modules/cipher-base": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz",
+ "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==",
+ "dependencies": {
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "node_modules/circular-json": {
+ "version": "0.5.9",
+ "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.5.9.tgz",
+ "integrity": "sha512-4ivwqHpIFJZBuhN3g/pEcdbnGUywkBblloGbkglyloVjjR3uT6tieI89MVOfbP2tHX5sgb01FuLgAOzebNlJNQ==",
+ "deprecated": "CircularJSON is in maintenance only, flatted is its successor.",
+ "optional": true
+ },
+ "node_modules/class-is": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/class-is/-/class-is-1.1.0.tgz",
+ "integrity": "sha512-rhjH9AG1fvabIDoGRVH587413LPjTZgmDF9fOFCbFJQV4yuocX1mHxxvXI4g3cGwbVY9wAYIoKlg1N79frJKQw=="
+ },
+ "node_modules/class-utils": {
+ "version": "0.3.6",
+ "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
+ "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==",
+ "dev": true,
+ "dependencies": {
+ "arr-union": "^3.1.0",
+ "define-property": "^0.2.5",
+ "isobject": "^3.0.0",
+ "static-extend": "^0.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/class-utils/node_modules/define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "dev": true,
+ "dependencies": {
+ "is-descriptor": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/cli-boxes": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz",
+ "integrity": "sha1-T6kXw+WclKAEzWH47lCdplFocUM=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/cli-cursor": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",
+ "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=",
+ "devOptional": true,
+ "dependencies": {
+ "restore-cursor": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/cli-spinners": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.0.tgz",
+ "integrity": "sha512-t+4/y50K/+4xcCRosKkA7W4gTr1MySvLV0q+PxmG7FJ5g+66ChKurYjxBCjHggHH3HA5Hh9cy+lcUGWDqVH+4Q==",
+ "optional": true,
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-table": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.1.tgz",
+ "integrity": "sha1-9TsFJmqLGguTSz0IIebi3FkUriM=",
+ "dependencies": {
+ "colors": "1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.2.0"
+ }
+ },
+ "node_modules/cli-table/node_modules/colors": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz",
+ "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=",
+ "engines": {
+ "node": ">=0.1.90"
+ }
+ },
+ "node_modules/cli-table3": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.5.1.tgz",
+ "integrity": "sha512-7Qg2Jrep1S/+Q3EceiZtQcDPWxhAvBw+ERf1162v4sikJrvojMHFqXt8QIVha8UlH9rgU0BeWPytZ9/TzYqlUw==",
+ "dev": true,
+ "dependencies": {
+ "colors": "^1.1.2",
+ "object-assign": "^4.1.0",
+ "string-width": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/cli-table3/node_modules/ansi-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/cli-table3/node_modules/is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/cli-table3/node_modules/string-width": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
+ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
+ "dev": true,
+ "dependencies": {
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/cli-table3/node_modules/strip-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/cli-width": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz",
+ "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=",
+ "dev": true
+ },
+ "node_modules/cliui": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz",
+ "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==",
+ "dependencies": {
+ "string-width": "^2.1.1",
+ "strip-ansi": "^4.0.0",
+ "wrap-ansi": "^2.0.0"
+ }
+ },
+ "node_modules/cliui/node_modules/ansi-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/cliui/node_modules/is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/cliui/node_modules/string-width": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
+ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
+ "dependencies": {
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/cliui/node_modules/strip-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
+ "dependencies": {
+ "ansi-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/clone": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
+ "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=",
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/clone-buffer": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/clone-buffer/-/clone-buffer-1.0.0.tgz",
+ "integrity": "sha1-4+JbIHrE5wGvch4staFnksrD3Fg=",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/clone-response": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",
+ "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=",
+ "dependencies": {
+ "mimic-response": "^1.0.0"
+ }
+ },
+ "node_modules/clone-stats": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-0.0.1.tgz",
+ "integrity": "sha1-uI+UqCzzi4eR1YBG6kAprYjKmdE=",
+ "optional": true
+ },
+ "node_modules/code-point-at": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
+ "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/coinstring": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/coinstring/-/coinstring-2.3.0.tgz",
+ "integrity": "sha1-zbYzY6lhUCQEolr7gsLibV/2J6Q=",
+ "dependencies": {
+ "bs58": "^2.0.1",
+ "create-hash": "^1.1.1"
+ }
+ },
+ "node_modules/collection-visit": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz",
+ "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=",
+ "dev": true,
+ "dependencies": {
+ "map-visit": "^1.0.0",
+ "object-visit": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/color-logger": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/color-logger/-/color-logger-0.0.6.tgz",
+ "integrity": "sha1-5WJF7ymCJlcRDHy3WpzXhstp7Rs="
+ },
+ "node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
+ },
+ "node_modules/colorette": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz",
+ "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==",
+ "optional": true
+ },
+ "node_modules/colors": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/colors/-/colors-1.3.3.tgz",
+ "integrity": "sha512-mmGt/1pZqYRjMxB1axhTo16/snVZ5krrKkcmMeVKxzECMMXoCgnvTPp10QgHfcbQZw8Dq2jMNG6je4JlWU0gWg==",
+ "engines": {
+ "node": ">=0.1.90"
+ }
+ },
+ "node_modules/combined-stream": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
+ "dependencies": {
+ "delayed-stream": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/command-exists": {
+ "version": "1.2.9",
+ "resolved": "https://registry.npmjs.org/command-exists/-/command-exists-1.2.9.tgz",
+ "integrity": "sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w=="
+ },
+ "node_modules/commander": {
+ "version": "2.18.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.18.0.tgz",
+ "integrity": "sha512-6CYPa+JP2ftfRU2qkDK+UTVeQYosOg/2GbcjIcKPHfinyOLPVGXu/ovN86RP49Re5ndJK1N0kuiidFFuepc4ZQ==",
+ "devOptional": true
+ },
+ "node_modules/component-emitter": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",
+ "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY="
+ },
+ "node_modules/compound-subject": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/compound-subject/-/compound-subject-0.0.1.tgz",
+ "integrity": "sha1-JxVUaYoVrmCLHfyv0wt7oeqJLEs=",
+ "optional": true
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
+ },
+ "node_modules/concat-stream": {
+ "version": "1.6.2",
+ "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",
+ "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",
+ "engines": [
+ "node >= 0.8"
+ ],
+ "dependencies": {
+ "buffer-from": "^1.0.0",
+ "inherits": "^2.0.3",
+ "readable-stream": "^2.2.2",
+ "typedarray": "^0.0.6"
+ }
+ },
+ "node_modules/configstore": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/configstore/-/configstore-3.1.2.tgz",
+ "integrity": "sha512-vtv5HtGjcYUgFrXc6Kx747B83MRRVS5R1VTEQoXvuP+kMI+if6uywV0nDGoiydJRy4yk7h9od5Og0kxx4zUXmw==",
+ "dev": true,
+ "dependencies": {
+ "dot-prop": "^4.1.0",
+ "graceful-fs": "^4.1.2",
+ "make-dir": "^1.0.0",
+ "unique-string": "^1.0.0",
+ "write-file-atomic": "^2.0.0",
+ "xdg-basedir": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/confusing-browser-globals": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.8.tgz",
+ "integrity": "sha512-lI7asCibVJ6Qd3FGU7mu4sfG4try4LX3+GVS+Gv8UlrEf2AeW57piecapnog2UHZSbcX/P/1UDWVaTsblowlZg==",
+ "dev": true
+ },
+ "node_modules/console-control-strings": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
+ "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
+ "optional": true
+ },
+ "node_modules/constant-case": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/constant-case/-/constant-case-2.0.0.tgz",
+ "integrity": "sha1-QXV2TTidP6nI7NKRhu1gBSQ7akY=",
+ "dependencies": {
+ "snake-case": "^2.1.0",
+ "upper-case": "^1.1.1"
+ }
+ },
+ "node_modules/contains-path": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz",
+ "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/content-disposition": {
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",
+ "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==",
+ "dependencies": {
+ "safe-buffer": "5.1.2"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/content-hash": {
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/content-hash/-/content-hash-2.5.2.tgz",
+ "integrity": "sha512-FvIQKy0S1JaWV10sMsA7TRx8bpU+pqPkhbsfvOJAdjRXvYxEckAwQWGwtRjiaJfh+E0DvcWUGqcdjwMGFjsSdw==",
+ "dependencies": {
+ "cids": "^0.7.1",
+ "multicodec": "^0.5.5",
+ "multihashes": "^0.4.15"
+ }
+ },
+ "node_modules/content-hash/node_modules/cids": {
+ "version": "0.7.5",
+ "resolved": "https://registry.npmjs.org/cids/-/cids-0.7.5.tgz",
+ "integrity": "sha512-zT7mPeghoWAu+ppn8+BS1tQ5qGmbMfB4AregnQjA/qHY3GC1m1ptI9GkWNlgeu38r7CuRdXB47uY2XgAYt6QVA==",
+ "dependencies": {
+ "buffer": "^5.5.0",
+ "class-is": "^1.1.0",
+ "multibase": "~0.6.0",
+ "multicodec": "^1.0.0",
+ "multihashes": "~0.4.15"
+ },
+ "engines": {
+ "node": ">=4.0.0",
+ "npm": ">=3.0.0"
+ }
+ },
+ "node_modules/content-hash/node_modules/cids/node_modules/multicodec": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-1.0.4.tgz",
+ "integrity": "sha512-NDd7FeS3QamVtbgfvu5h7fd1IlbaC4EQ0/pgU4zqE2vdHCmBGsUa0TiM8/TdSeG6BMPC92OOCf8F1ocE/Wkrrg==",
+ "dependencies": {
+ "buffer": "^5.6.0",
+ "varint": "^5.0.0"
+ }
+ },
+ "node_modules/content-hash/node_modules/multibase": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-0.6.1.tgz",
+ "integrity": "sha512-pFfAwyTjbbQgNc3G7D48JkJxWtoJoBMaR4xQUOuB8RnCgRqaYmWNFeJTTvrJ2w51bjLq2zTby6Rqj9TQ9elSUw==",
+ "dependencies": {
+ "base-x": "^3.0.8",
+ "buffer": "^5.5.0"
+ }
+ },
+ "node_modules/content-hash/node_modules/multicodec": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-0.5.7.tgz",
+ "integrity": "sha512-PscoRxm3f+88fAtELwUnZxGDkduE2HD9Q6GHUOywQLjOGT/HAdhjLDYNZ1e7VR0s0TP0EwZ16LNUTFpoBGivOA==",
+ "deprecated": "stable api reached",
+ "dependencies": {
+ "varint": "^5.0.0"
+ }
+ },
+ "node_modules/content-hash/node_modules/multihashes": {
+ "version": "0.4.21",
+ "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-0.4.21.tgz",
+ "integrity": "sha512-uVSvmeCWf36pU2nB4/1kzYZjsXD9vofZKpgudqkceYY5g2aZZXJ5r9lxuzoRLl1OAp28XljXsEJ/X/85ZsKmKw==",
+ "dependencies": {
+ "buffer": "^5.5.0",
+ "multibase": "^0.7.0",
+ "varint": "^5.0.0"
+ }
+ },
+ "node_modules/content-hash/node_modules/multihashes/node_modules/multibase": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-0.7.0.tgz",
+ "integrity": "sha512-TW8q03O0f6PNFTQDvh3xxH03c8CjGaaYrjkl9UQPG6rz53TQzzxJVCIWVjzcbN/Q5Y53Zd0IBQBMVktVgNx4Fg==",
+ "dependencies": {
+ "base-x": "^3.0.8",
+ "buffer": "^5.5.0"
+ }
+ },
+ "node_modules/content-hash/node_modules/varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow=="
+ },
+ "node_modules/content-type": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
+ "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/convert-source-map": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz",
+ "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==",
+ "dependencies": {
+ "safe-buffer": "~5.1.1"
+ }
+ },
+ "node_modules/cookie": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
+ "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/cookie-signature": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
+ "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
+ },
+ "node_modules/cookiejar": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.2.tgz",
+ "integrity": "sha512-Mw+adcfzPxcPeI+0WlvRrr/3lGVO0bD75SxX6811cxSh1Wbxx7xZBGK1eVtDf6si8rg2lhnUjsVLMFMfbRIuwA=="
+ },
+ "node_modules/copy-concurrently": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz",
+ "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==",
+ "dependencies": {
+ "aproba": "^1.1.1",
+ "fs-write-stream-atomic": "^1.0.8",
+ "iferr": "^0.1.5",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.5.4",
+ "run-queue": "^1.0.0"
+ }
+ },
+ "node_modules/copy-descriptor": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",
+ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/core-js": {
+ "version": "2.6.11",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz",
+ "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=="
+ },
+ "node_modules/core-util-is": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
+ "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
+ },
+ "node_modules/cors": {
+ "version": "2.8.5",
+ "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz",
+ "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==",
+ "dependencies": {
+ "object-assign": "^4",
+ "vary": "^1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/cosmiconfig": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz",
+ "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==",
+ "dev": true,
+ "dependencies": {
+ "import-fresh": "^2.0.0",
+ "is-directory": "^0.3.1",
+ "js-yaml": "^3.13.1",
+ "parse-json": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/cosmiconfig/node_modules/import-fresh": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz",
+ "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=",
+ "dev": true,
+ "dependencies": {
+ "caller-path": "^2.0.0",
+ "resolve-from": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/cosmiconfig/node_modules/parse-json": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz",
+ "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=",
+ "dev": true,
+ "dependencies": {
+ "error-ex": "^1.3.1",
+ "json-parse-better-errors": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/create-ecdh": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz",
+ "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==",
+ "dependencies": {
+ "bn.js": "^4.1.0",
+ "elliptic": "^6.5.3"
+ }
+ },
+ "node_modules/create-error-class": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz",
+ "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=",
+ "dev": true,
+ "dependencies": {
+ "capture-stack-trace": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/create-hash": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz",
+ "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==",
+ "dependencies": {
+ "cipher-base": "^1.0.1",
+ "inherits": "^2.0.1",
+ "md5.js": "^1.3.4",
+ "ripemd160": "^2.0.1",
+ "sha.js": "^2.4.0"
+ }
+ },
+ "node_modules/create-hmac": {
+ "version": "1.1.7",
+ "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz",
+ "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==",
+ "dependencies": {
+ "cipher-base": "^1.0.3",
+ "create-hash": "^1.1.0",
+ "inherits": "^2.0.1",
+ "ripemd160": "^2.0.0",
+ "safe-buffer": "^5.0.1",
+ "sha.js": "^2.4.8"
+ }
+ },
+ "node_modules/cross-fetch": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-2.2.3.tgz",
+ "integrity": "sha512-PrWWNH3yL2NYIb/7WF/5vFG3DCQiXDOVf8k3ijatbrtnwNuhMWLC7YF7uqf53tbTFDzHIUD8oITw4Bxt8ST3Nw==",
+ "dependencies": {
+ "node-fetch": "2.1.2",
+ "whatwg-fetch": "2.0.4"
+ }
+ },
+ "node_modules/cross-fetch/node_modules/node-fetch": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.1.2.tgz",
+ "integrity": "sha1-q4hOjn5X44qUR1POxwb3iNF2i7U=",
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/cross-fetch/node_modules/whatwg-fetch": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz",
+ "integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng=="
+ },
+ "node_modules/cross-spawn": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz",
+ "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=",
+ "dependencies": {
+ "lru-cache": "^4.0.1",
+ "shebang-command": "^1.2.0",
+ "which": "^1.2.9"
+ }
+ },
+ "node_modules/crypt": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz",
+ "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=",
+ "dev": true,
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/crypto-browserify": {
+ "version": "3.12.0",
+ "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz",
+ "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==",
+ "dependencies": {
+ "browserify-cipher": "^1.0.0",
+ "browserify-sign": "^4.0.0",
+ "create-ecdh": "^4.0.0",
+ "create-hash": "^1.1.0",
+ "create-hmac": "^1.1.0",
+ "diffie-hellman": "^5.0.0",
+ "inherits": "^2.0.1",
+ "pbkdf2": "^3.0.3",
+ "public-encrypt": "^4.0.0",
+ "randombytes": "^2.0.0",
+ "randomfill": "^1.0.3"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/crypto-random-string": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz",
+ "integrity": "sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/css": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/css/-/css-2.2.4.tgz",
+ "integrity": "sha512-oUnjmWpy0niI3x/mPL8dVEI1l7MnG3+HHyRPHf+YFSbK+svOhXpmSOcDURUh2aOCgl2grzrOPt1nHLuCVFULLw==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "source-map": "^0.6.1",
+ "source-map-resolve": "^0.5.2",
+ "urix": "^0.1.0"
+ }
+ },
+ "node_modules/css-select": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz",
+ "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=",
+ "dependencies": {
+ "boolbase": "~1.0.0",
+ "css-what": "2.1",
+ "domutils": "1.5.1",
+ "nth-check": "~1.0.1"
+ }
+ },
+ "node_modules/css-what": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz",
+ "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/css/node_modules/source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/cssfilter": {
+ "version": "0.0.10",
+ "resolved": "https://registry.npmjs.org/cssfilter/-/cssfilter-0.0.10.tgz",
+ "integrity": "sha1-xtJnJjKi5cg+AT5oZKQs6N79IK4=",
+ "optional": true
+ },
+ "node_modules/cssom": {
+ "version": "0.3.8",
+ "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz",
+ "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==",
+ "optional": true
+ },
+ "node_modules/cssstyle": {
+ "version": "0.2.37",
+ "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-0.2.37.tgz",
+ "integrity": "sha1-VBCXI0yyUTyDzu06zdwn/yeYfVQ=",
+ "optional": true,
+ "dependencies": {
+ "cssom": "0.3.x"
+ }
+ },
+ "node_modules/csstype": {
+ "version": "2.6.11",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.11.tgz",
+ "integrity": "sha512-l8YyEC9NBkSm783PFTvh0FmJy7s5pFKrDp49ZL7zBGX3fWkO+N4EEyan1qqp8cwPLDcD0OSdyY6hAMoxp34JFw=="
+ },
+ "node_modules/cyclist": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-0.2.2.tgz",
+ "integrity": "sha1-GzN5LhHpFKL9bW7WRHRkRE5fpkA="
+ },
+ "node_modules/d": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",
+ "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",
+ "dependencies": {
+ "es5-ext": "^0.10.50",
+ "type": "^1.0.1"
+ }
+ },
+ "node_modules/dashdash": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
+ "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
+ "dependencies": {
+ "assert-plus": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/dataloader": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/dataloader/-/dataloader-2.0.0.tgz",
+ "integrity": "sha512-YzhyDAwA4TaQIhM5go+vCLmU0UikghC/t9DTQYZR2M/UvZ1MdOhPezSDZcjj9uqQJOMqjLcpWtyW2iNINdlatQ==",
+ "optional": true
+ },
+ "node_modules/debug": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
+ "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/debug-fabulous": {
+ "version": "0.0.4",
+ "resolved": "https://registry.npmjs.org/debug-fabulous/-/debug-fabulous-0.0.4.tgz",
+ "integrity": "sha1-+gccXYdIRoVCSAdCHKSxawsaB2M=",
+ "optional": true,
+ "dependencies": {
+ "debug": "2.X",
+ "lazy-debug-legacy": "0.0.X",
+ "object-assign": "4.1.0"
+ }
+ },
+ "node_modules/debug-fabulous/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "optional": true,
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/debug-fabulous/node_modules/object-assign": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.0.tgz",
+ "integrity": "sha1-ejs9DpgGPUP0wD8uiubNUahog6A=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/decamelize": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
+ "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/decode-uri-component": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz",
+ "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=",
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/decompress-response": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz",
+ "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=",
+ "dependencies": {
+ "mimic-response": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/deep-eql": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz",
+ "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==",
+ "dependencies": {
+ "type-detect": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=0.12"
+ }
+ },
+ "node_modules/deep-equal": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz",
+ "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==",
+ "dependencies": {
+ "is-arguments": "^1.0.4",
+ "is-date-object": "^1.0.1",
+ "is-regex": "^1.0.4",
+ "object-is": "^1.0.1",
+ "object-keys": "^1.1.1",
+ "regexp.prototype.flags": "^1.2.0"
+ }
+ },
+ "node_modules/deep-extend": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
+ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/deep-is": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz",
+ "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ="
+ },
+ "node_modules/defaults": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz",
+ "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=",
+ "optional": true,
+ "dependencies": {
+ "clone": "^1.0.2"
+ }
+ },
+ "node_modules/defaults/node_modules/clone": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
+ "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/defer-to-connect": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.0.2.tgz",
+ "integrity": "sha512-k09hcQcTDY+cwgiwa6PYKLm3jlagNzQ+RSvhjzESOGOx+MNOuXkxTfEvPrO1IOQ81tArCFYQgi631clB70RpQw=="
+ },
+ "node_modules/deferred-leveldown": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-1.2.2.tgz",
+ "integrity": "sha512-uukrWD2bguRtXilKt6cAWKyoXrTSMo5m7crUdLfWQmu8kIm88w3QZoUL+6nhpfKVmhHANER6Re3sKoNoZ3IKMA==",
+ "dependencies": {
+ "abstract-leveldown": "~2.6.0"
+ }
+ },
+ "node_modules/define-properties": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
+ "dependencies": {
+ "object-keys": "^1.0.12"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/define-property": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz",
+ "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==",
+ "dev": true,
+ "dependencies": {
+ "is-descriptor": "^1.0.2",
+ "isobject": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/define-property/node_modules/is-accessor-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
+ "dev": true,
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/define-property/node_modules/is-data-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
+ "dev": true,
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/define-property/node_modules/is-descriptor": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
+ "dev": true,
+ "dependencies": {
+ "is-accessor-descriptor": "^1.0.0",
+ "is-data-descriptor": "^1.0.0",
+ "kind-of": "^6.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/defined": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
+ "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM="
+ },
+ "node_modules/delay": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz",
+ "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==",
+ "optional": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/delayed-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
+ "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/delegates": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
+ "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=",
+ "optional": true
+ },
+ "node_modules/delimit-stream": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/delimit-stream/-/delimit-stream-0.1.0.tgz",
+ "integrity": "sha1-m4MZR3wOX4rrPONXrjBfwl6hzSs=",
+ "optional": true
+ },
+ "node_modules/depd": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
+ "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/deprecated-decorator": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/deprecated-decorator/-/deprecated-decorator-0.1.6.tgz",
+ "integrity": "sha1-AJZjF7ehL+kvPMgx91g68ym4bDc=",
+ "optional": true
+ },
+ "node_modules/des.js": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz",
+ "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==",
+ "dependencies": {
+ "inherits": "^2.0.1",
+ "minimalistic-assert": "^1.0.0"
+ }
+ },
+ "node_modules/destroy": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
+ "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
+ },
+ "node_modules/detect-indent": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz",
+ "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=",
+ "dependencies": {
+ "repeating": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/detect-libc": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz",
+ "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=",
+ "optional": true,
+ "bin": {
+ "detect-libc": "bin/detect-libc.js"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/detect-newline": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz",
+ "integrity": "sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/detect-node": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.3.tgz",
+ "integrity": "sha1-ogM8CcyOFY03dI+951B4Mr1s4Sc="
+ },
+ "node_modules/dicer": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/dicer/-/dicer-0.3.0.tgz",
+ "integrity": "sha512-MdceRRWqltEG2dZqO769g27N/3PXfcKl04VhYnBlo2YhH7zPi88VebsjTKclaOyiuMaGU72hTfw3VkUitGcVCA==",
+ "optional": true,
+ "dependencies": {
+ "streamsearch": "0.1.2"
+ },
+ "engines": {
+ "node": ">=4.5.0"
+ }
+ },
+ "node_modules/diff": {
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",
+ "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.3.1"
+ }
+ },
+ "node_modules/diffie-hellman": {
+ "version": "5.0.3",
+ "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",
+ "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==",
+ "dependencies": {
+ "bn.js": "^4.1.0",
+ "miller-rabin": "^4.0.0",
+ "randombytes": "^2.0.0"
+ }
+ },
+ "node_modules/dir-glob": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
+ "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
+ "optional": true,
+ "dependencies": {
+ "path-type": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/dir-glob/node_modules/path-type": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/dir-to-object": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/dir-to-object/-/dir-to-object-2.0.0.tgz",
+ "integrity": "sha512-sXs0JKIhymON7T1UZuO2Ud6VTNAx/VTBXIl4+3mjb2RgfOpt+hectX0x04YqPOPdkeOAKoJuKqwqnXXURNPNEA==",
+ "dev": true
+ },
+ "node_modules/dirty-chai": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/dirty-chai/-/dirty-chai-2.0.1.tgz",
+ "integrity": "sha512-ys79pWKvDMowIDEPC6Fig8d5THiC0DJ2gmTeGzVAoEH18J8OzLud0Jh7I9IWg3NSk8x2UocznUuFmfHCXYZx9w=="
+ },
+ "node_modules/dns-over-http-resolver": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/dns-over-http-resolver/-/dns-over-http-resolver-1.2.2.tgz",
+ "integrity": "sha512-4J7LoLl26mczU6LdWlhvNM51aWXHJmTz6iDUrGz1sqiAgNb6HzBc/huvkgqS6bYfbCzvlOKW/bGkugReliac0A==",
+ "optional": true,
+ "dependencies": {
+ "debug": "^4.2.0",
+ "native-fetch": "^3.0.0",
+ "receptacle": "^1.3.2"
+ }
+ },
+ "node_modules/dns-over-http-resolver/node_modules/debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "optional": true,
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/dns-over-http-resolver/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "optional": true
+ },
+ "node_modules/dns-over-http-resolver/node_modules/native-fetch": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/native-fetch/-/native-fetch-3.0.0.tgz",
+ "integrity": "sha512-G3Z7vx0IFb/FQ4JxvtqGABsOTIqRWvgQz6e+erkB+JJD6LrszQtMozEHI4EkmgZQvnGHrpLVzUWk7t4sJCIkVw==",
+ "optional": true,
+ "peerDependencies": {
+ "node-fetch": "*"
+ }
+ },
+ "node_modules/doctrine": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
+ "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
+ "dev": true,
+ "dependencies": {
+ "esutils": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/dom-serializer": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz",
+ "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==",
+ "dependencies": {
+ "domelementtype": "^1.3.0",
+ "entities": "^1.1.1"
+ }
+ },
+ "node_modules/dom-walk": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz",
+ "integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg="
+ },
+ "node_modules/domelementtype": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz",
+ "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w=="
+ },
+ "node_modules/domhandler": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz",
+ "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==",
+ "dependencies": {
+ "domelementtype": "1"
+ }
+ },
+ "node_modules/domutils": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz",
+ "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=",
+ "dependencies": {
+ "dom-serializer": "0",
+ "domelementtype": "1"
+ }
+ },
+ "node_modules/dot-case": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-2.1.1.tgz",
+ "integrity": "sha1-NNzzf1Co6TwrO8qLt/uRVcfaO+4=",
+ "dependencies": {
+ "no-case": "^2.2.0"
+ }
+ },
+ "node_modules/dot-prop": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz",
+ "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==",
+ "dependencies": {
+ "is-obj": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/dotignore": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/dotignore/-/dotignore-0.1.2.tgz",
+ "integrity": "sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw==",
+ "dependencies": {
+ "minimatch": "^3.0.4"
+ },
+ "bin": {
+ "ignored": "bin/ignored"
+ }
+ },
+ "node_modules/double-ended-queue": {
+ "version": "2.1.0-0",
+ "resolved": "https://registry.npmjs.org/double-ended-queue/-/double-ended-queue-2.1.0-0.tgz",
+ "integrity": "sha1-ED01J/0xUo9AGIEwyEHv3XgmTlw=",
+ "optional": true
+ },
+ "node_modules/drbg.js": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz",
+ "integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=",
+ "dependencies": {
+ "browserify-aes": "^1.0.6",
+ "create-hash": "^1.1.2",
+ "create-hmac": "^1.1.4"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/duplexer3": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz",
+ "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI="
+ },
+ "node_modules/duplexify": {
+ "version": "3.7.1",
+ "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz",
+ "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==",
+ "dependencies": {
+ "end-of-stream": "^1.0.0",
+ "inherits": "^2.0.1",
+ "readable-stream": "^2.0.0",
+ "stream-shift": "^1.0.0"
+ }
+ },
+ "node_modules/ecc-jsbn": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
+ "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
+ "dependencies": {
+ "jsbn": "~0.1.0",
+ "safer-buffer": "^2.1.0"
+ }
+ },
+ "node_modules/ed2curve": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/ed2curve/-/ed2curve-0.3.0.tgz",
+ "integrity": "sha512-8w2fmmq3hv9rCrcI7g9hms2pMunQr1JINfcjwR9tAyZqhtyaMN991lF/ZfHfr5tzZQ8c7y7aBgZbjfbd0fjFwQ==",
+ "optional": true,
+ "dependencies": {
+ "tweetnacl": "1.x.x"
+ }
+ },
+ "node_modules/ed2curve/node_modules/tweetnacl": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz",
+ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==",
+ "optional": true
+ },
+ "node_modules/ee-first": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
+ "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
+ },
+ "node_modules/electron-fetch": {
+ "version": "1.7.3",
+ "resolved": "https://registry.npmjs.org/electron-fetch/-/electron-fetch-1.7.3.tgz",
+ "integrity": "sha512-1AVMaxrHXTTMqd7EK0MGWusdqNr07Rpj8Th6bG4at0oNgIi/1LBwa9CjT/0Zy+M0k/tSJPS04nFxHj0SXDVgVw==",
+ "optional": true,
+ "dependencies": {
+ "encoding": "^0.1.13"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/electron-to-chromium": {
+ "version": "1.3.717",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.717.tgz",
+ "integrity": "sha512-OfzVPIqD1MkJ7fX+yTl2nKyOE4FReeVfMCzzxQS+Kp43hZYwHwThlGP+EGIZRXJsxCM7dqo8Y65NOX/HP12iXQ=="
+ },
+ "node_modules/elliptic": {
+ "version": "6.5.3",
+ "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz",
+ "integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==",
+ "dependencies": {
+ "bn.js": "^4.4.0",
+ "brorand": "^1.0.1",
+ "hash.js": "^1.0.0",
+ "hmac-drbg": "^1.0.0",
+ "inherits": "^2.0.1",
+ "minimalistic-assert": "^1.0.0",
+ "minimalistic-crypto-utils": "^1.0.0"
+ }
+ },
+ "node_modules/emittery": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.4.1.tgz",
+ "integrity": "sha512-r4eRSeStEGf6M5SKdrQhhLK5bOwOBxQhIE3YSTnZE3GpKiLfnnhE+tPtrJE79+eDJgm39BM6LSoI8SCx4HbwlQ==",
+ "optional": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/emoji-regex": {
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
+ "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA=="
+ },
+ "node_modules/encodeurl": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
+ "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/encoding": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz",
+ "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",
+ "dependencies": {
+ "iconv-lite": "^0.6.2"
+ }
+ },
+ "node_modules/encoding-down": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/encoding-down/-/encoding-down-6.3.0.tgz",
+ "integrity": "sha512-QKrV0iKR6MZVJV08QY0wp1e7vF6QbhnbQhb07bwpEyuz4uZiZgPlEGdkCROuFkUwdxlFaiPIhjyarH1ee/3vhw==",
+ "optional": true,
+ "dependencies": {
+ "abstract-leveldown": "^6.2.1",
+ "inherits": "^2.0.3",
+ "level-codec": "^9.0.0",
+ "level-errors": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/encoding-down/node_modules/abstract-leveldown": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.3.0.tgz",
+ "integrity": "sha512-TU5nlYgta8YrBMNpc9FwQzRbiXsj49gsALsXadbGHt9CROPzX5fB0rWDR5mtdpOOKa5XqRFpbj1QroPAoPzVjQ==",
+ "optional": true,
+ "dependencies": {
+ "buffer": "^5.5.0",
+ "immediate": "^3.2.3",
+ "level-concat-iterator": "~2.0.0",
+ "level-supports": "~1.0.0",
+ "xtend": "~4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/encoding-down/node_modules/level-codec": {
+ "version": "9.0.2",
+ "resolved": "https://registry.npmjs.org/level-codec/-/level-codec-9.0.2.tgz",
+ "integrity": "sha512-UyIwNb1lJBChJnGfjmO0OR+ezh2iVu1Kas3nvBS/BzGnx79dv6g7unpKIDNPMhfdTEGoc7mC8uAu51XEtX+FHQ==",
+ "optional": true,
+ "dependencies": {
+ "buffer": "^5.6.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/encoding-down/node_modules/level-errors": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-2.0.1.tgz",
+ "integrity": "sha512-UVprBJXite4gPS+3VznfgDSU8PTRuVX0NXwoWW50KLxd2yw4Y1t2JUR5In1itQnudZqRMT9DlAM3Q//9NCjCFw==",
+ "optional": true,
+ "dependencies": {
+ "errno": "~0.1.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/encoding/node_modules/iconv-lite": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz",
+ "integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/end-of-stream": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz",
+ "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==",
+ "dependencies": {
+ "once": "^1.4.0"
+ }
+ },
+ "node_modules/end-stream": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/end-stream/-/end-stream-0.1.0.tgz",
+ "integrity": "sha1-MgA/P0OKKwFDFoE3+PpumGbIHtU=",
+ "optional": true,
+ "dependencies": {
+ "write-stream": "~0.4.3"
+ }
+ },
+ "node_modules/entities": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz",
+ "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w=="
+ },
+ "node_modules/err-code": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/err-code/-/err-code-1.1.2.tgz",
+ "integrity": "sha1-BuARbTAo9q70gGhJ6w6mp0iuaWA="
+ },
+ "node_modules/errno": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz",
+ "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==",
+ "dependencies": {
+ "prr": "~1.0.1"
+ },
+ "bin": {
+ "errno": "cli.js"
+ }
+ },
+ "node_modules/error-ex": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
+ "devOptional": true,
+ "dependencies": {
+ "is-arrayish": "^0.2.1"
+ }
+ },
+ "node_modules/es-abstract": {
+ "version": "1.18.0",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0.tgz",
+ "integrity": "sha512-LJzK7MrQa8TS0ja2w3YNLzUgJCGPdPOV1yVvezjNnS89D+VR08+Szt2mz3YB2Dck/+w5tfIq/RoUAFqJJGM2yw==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "get-intrinsic": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.2",
+ "is-callable": "^1.2.3",
+ "is-negative-zero": "^2.0.1",
+ "is-regex": "^1.1.2",
+ "is-string": "^1.0.5",
+ "object-inspect": "^1.9.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.2",
+ "string.prototype.trimend": "^1.0.4",
+ "string.prototype.trimstart": "^1.0.4",
+ "unbox-primitive": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/es-abstract/node_modules/object-inspect": {
+ "version": "1.10.2",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.2.tgz",
+ "integrity": "sha512-gz58rdPpadwztRrPjZE9DZLOABUpTGdcANUgOwBFO1C+HZZhePoP83M65WGDmbpwFYJSWqavbl4SgDn4k8RYTA==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/es-abstract/node_modules/object.assign": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz",
+ "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==",
+ "dependencies": {
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3",
+ "has-symbols": "^1.0.1",
+ "object-keys": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/es-array-method-boxes-properly": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz",
+ "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA=="
+ },
+ "node_modules/es-get-iterator": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.2.tgz",
+ "integrity": "sha512-+DTO8GYwbMCwbywjimwZMHp8AuYXOS2JZFWoi2AlPOS3ebnII9w/NLpNZtA7A0YLaVDw+O7KFCeoIV7OPvM7hQ==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.1.0",
+ "has-symbols": "^1.0.1",
+ "is-arguments": "^1.1.0",
+ "is-map": "^2.0.2",
+ "is-set": "^2.0.2",
+ "is-string": "^1.0.5",
+ "isarray": "^2.0.5"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/es-get-iterator/node_modules/isarray": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw=="
+ },
+ "node_modules/es-to-primitive": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
+ "dependencies": {
+ "is-callable": "^1.1.4",
+ "is-date-object": "^1.0.1",
+ "is-symbol": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/es5-ext": {
+ "version": "0.10.53",
+ "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz",
+ "integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==",
+ "dependencies": {
+ "es6-iterator": "~2.0.3",
+ "es6-symbol": "~3.1.3",
+ "next-tick": "~1.0.0"
+ }
+ },
+ "node_modules/es6-denodeify": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/es6-denodeify/-/es6-denodeify-0.1.5.tgz",
+ "integrity": "sha1-MdTV/pxVA+ElRgQ5MQ4WoqPznB8=",
+ "optional": true
+ },
+ "node_modules/es6-iterator": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz",
+ "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=",
+ "dependencies": {
+ "d": "1",
+ "es5-ext": "^0.10.35",
+ "es6-symbol": "^3.1.1"
+ }
+ },
+ "node_modules/es6-promise": {
+ "version": "4.2.8",
+ "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz",
+ "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w=="
+ },
+ "node_modules/es6-promisify": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz",
+ "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=",
+ "dependencies": {
+ "es6-promise": "^4.0.3"
+ }
+ },
+ "node_modules/es6-symbol": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",
+ "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==",
+ "dependencies": {
+ "d": "^1.0.1",
+ "ext": "^1.1.2"
+ }
+ },
+ "node_modules/escalade": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
+ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
+ "optional": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/escape-html": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
+ "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg="
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/escodegen": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.8.1.tgz",
+ "integrity": "sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg=",
+ "dependencies": {
+ "esprima": "^2.7.1",
+ "estraverse": "^1.9.1",
+ "esutils": "^2.0.2",
+ "optionator": "^0.8.1"
+ },
+ "bin": {
+ "escodegen": "bin/escodegen.js",
+ "esgenerate": "bin/esgenerate.js"
+ },
+ "engines": {
+ "node": ">=0.12.0"
+ },
+ "optionalDependencies": {
+ "source-map": "~0.2.0"
+ }
+ },
+ "node_modules/escodegen/node_modules/source-map": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz",
+ "integrity": "sha1-2rc/vPwrqBm03gO9b26qSBZLP50=",
+ "optional": true,
+ "dependencies": {
+ "amdefine": ">=0.0.4"
+ },
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/esdoc": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/esdoc/-/esdoc-1.1.0.tgz",
+ "integrity": "sha512-vsUcp52XJkOWg9m1vDYplGZN2iDzvmjDL5M/Mp8qkoDG3p2s0yIQCIjKR5wfPBaM3eV14a6zhQNYiNTCVzPnxA==",
+ "dependencies": {
+ "babel-generator": "6.26.1",
+ "babel-traverse": "6.26.0",
+ "babylon": "6.18.0",
+ "cheerio": "1.0.0-rc.2",
+ "color-logger": "0.0.6",
+ "escape-html": "1.0.3",
+ "fs-extra": "5.0.0",
+ "ice-cap": "0.0.4",
+ "marked": "0.3.19",
+ "minimist": "1.2.0",
+ "taffydb": "2.7.3"
+ },
+ "bin": {
+ "esdoc": "out/src/ESDocCLI.js"
+ },
+ "engines": {
+ "node": ">= 6.0.0"
+ }
+ },
+ "node_modules/esdoc/node_modules/fs-extra": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-5.0.0.tgz",
+ "integrity": "sha512-66Pm4RYbjzdyeuqudYqhFiNBbCIuI9kgRqLPSHIlXHidW8NIQtVdkM1yeZ4lXwuhbTETv3EUGMNHAAw6hiundQ==",
+ "dependencies": {
+ "graceful-fs": "^4.1.2",
+ "jsonfile": "^4.0.0",
+ "universalify": "^0.1.0"
+ }
+ },
+ "node_modules/esdoc/node_modules/jsonfile": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
+ "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
+ "optionalDependencies": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
+ "node_modules/esdoc/node_modules/marked": {
+ "version": "0.3.19",
+ "resolved": "https://registry.npmjs.org/marked/-/marked-0.3.19.tgz",
+ "integrity": "sha512-ea2eGWOqNxPcXv8dyERdSr/6FmzvWwzjMxpfGB/sbMccXoct+xY+YukPD+QTUZwyvK7BZwcr4m21WBOW41pAkg==",
+ "bin": {
+ "marked": "bin/marked"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/esdoc/node_modules/minimist": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
+ "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
+ },
+ "node_modules/esdoc/node_modules/universalify": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
+ "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
+ "node_modules/eslint": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.3.0.tgz",
+ "integrity": "sha512-ZvZTKaqDue+N8Y9g0kp6UPZtS4FSY3qARxBs7p4f0H0iof381XHduqVerFWtK8DPtKmemqbqCFENWSQgPR/Gow==",
+ "dev": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.0.0",
+ "ajv": "^6.10.0",
+ "chalk": "^2.1.0",
+ "cross-spawn": "^6.0.5",
+ "debug": "^4.0.1",
+ "doctrine": "^3.0.0",
+ "eslint-scope": "^5.0.0",
+ "eslint-utils": "^1.4.2",
+ "eslint-visitor-keys": "^1.1.0",
+ "espree": "^6.1.1",
+ "esquery": "^1.0.1",
+ "esutils": "^2.0.2",
+ "file-entry-cache": "^5.0.1",
+ "functional-red-black-tree": "^1.0.1",
+ "glob-parent": "^5.0.0",
+ "globals": "^11.7.0",
+ "ignore": "^4.0.6",
+ "import-fresh": "^3.0.0",
+ "imurmurhash": "^0.1.4",
+ "inquirer": "^6.4.1",
+ "is-glob": "^4.0.0",
+ "js-yaml": "^3.13.1",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "levn": "^0.3.0",
+ "lodash": "^4.17.14",
+ "minimatch": "^3.0.4",
+ "mkdirp": "^0.5.1",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.8.2",
+ "progress": "^2.0.0",
+ "regexpp": "^2.0.1",
+ "semver": "^6.1.2",
+ "strip-ansi": "^5.2.0",
+ "strip-json-comments": "^3.0.1",
+ "table": "^5.2.3",
+ "text-table": "^0.2.0",
+ "v8-compile-cache": "^2.0.3"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^8.10.0 || ^10.13.0 || >=11.10.1"
+ }
+ },
+ "node_modules/eslint-config-airbnb-base": {
+ "version": "14.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.0.0.tgz",
+ "integrity": "sha512-2IDHobw97upExLmsebhtfoD3NAKhV4H0CJWP3Uprd/uk+cHuWYOczPVxQ8PxLFUAw7o3Th1RAU8u1DoUpr+cMA==",
+ "dev": true,
+ "dependencies": {
+ "confusing-browser-globals": "^1.0.7",
+ "object.assign": "^4.1.0",
+ "object.entries": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/eslint-config-prettier": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.2.0.tgz",
+ "integrity": "sha512-VLsgK/D+S/FEsda7Um1+N8FThec6LqE3vhcMyp8mlmto97y3fGf3DX7byJexGuOb1QY0Z/zz222U5t+xSfcZDQ==",
+ "dev": true,
+ "dependencies": {
+ "get-stdin": "^6.0.0"
+ },
+ "bin": {
+ "eslint-config-prettier-check": "bin/cli.js"
+ }
+ },
+ "node_modules/eslint-import-resolver-node": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz",
+ "integrity": "sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==",
+ "dev": true,
+ "dependencies": {
+ "debug": "^2.6.9",
+ "resolve": "^1.5.0"
+ }
+ },
+ "node_modules/eslint-import-resolver-node/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dev": true,
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/eslint-module-utils": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.4.1.tgz",
+ "integrity": "sha512-H6DOj+ejw7Tesdgbfs4jeS4YMFrT8uI8xwd1gtQqXssaR0EQ26L+2O/w6wkYFy2MymON0fTwHmXBvvfLNZVZEw==",
+ "dev": true,
+ "dependencies": {
+ "debug": "^2.6.8",
+ "pkg-dir": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/eslint-module-utils/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dev": true,
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/eslint-plugin-es": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-2.0.0.tgz",
+ "integrity": "sha512-f6fceVtg27BR02EYnBhgWLFQfK6bN4Ll0nQFrBHOlCsAyxeZkn0NHns5O0YZOPrV1B3ramd6cgFwaoFLcSkwEQ==",
+ "dev": true,
+ "dependencies": {
+ "eslint-utils": "^1.4.2",
+ "regexpp": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/eslint-plugin-es/node_modules/regexpp": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.0.0.tgz",
+ "integrity": "sha512-Z+hNr7RAVWxznLPuA7DIh8UNX1j9CDrUQxskw9IrBE1Dxue2lyXT+shqEIeLUjrokxIP8CMy1WkjgG3rTsd5/g==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/eslint-plugin-import": {
+ "version": "2.18.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz",
+ "integrity": "sha512-5ohpsHAiUBRNaBWAF08izwUGlbrJoJJ+W9/TBwsGoR1MnlgfwMIKrFeSjWbt6moabiXW9xNvtFz+97KHRfI4HQ==",
+ "dev": true,
+ "dependencies": {
+ "array-includes": "^3.0.3",
+ "contains-path": "^0.1.0",
+ "debug": "^2.6.9",
+ "doctrine": "1.5.0",
+ "eslint-import-resolver-node": "^0.3.2",
+ "eslint-module-utils": "^2.4.0",
+ "has": "^1.0.3",
+ "minimatch": "^3.0.4",
+ "object.values": "^1.1.0",
+ "read-pkg-up": "^2.0.0",
+ "resolve": "^1.11.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/eslint-plugin-import/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dev": true,
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/eslint-plugin-import/node_modules/doctrine": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz",
+ "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=",
+ "dev": true,
+ "dependencies": {
+ "esutils": "^2.0.2",
+ "isarray": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/eslint-plugin-node": {
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-10.0.0.tgz",
+ "integrity": "sha512-1CSyM/QCjs6PXaT18+zuAXsjXGIGo5Rw630rSKwokSs2jrYURQc4R5JZpoanNCqwNmepg+0eZ9L7YiRUJb8jiQ==",
+ "dev": true,
+ "dependencies": {
+ "eslint-plugin-es": "^2.0.0",
+ "eslint-utils": "^1.4.2",
+ "ignore": "^5.1.1",
+ "minimatch": "^3.0.4",
+ "resolve": "^1.10.1",
+ "semver": "^6.1.0"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/eslint-plugin-node/node_modules/ignore": {
+ "version": "5.1.4",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz",
+ "integrity": "sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A==",
+ "dev": true,
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/eslint-plugin-node/node_modules/semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/eslint-plugin-prettier": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.0.1.tgz",
+ "integrity": "sha512-/PMttrarPAY78PLvV3xfWibMOdMDl57hmlQ2XqFeA37wd+CJ7WSxV7txqjVPHi/AAFKd2lX0ZqfsOc/i5yFCSQ==",
+ "dev": true,
+ "dependencies": {
+ "prettier-linter-helpers": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/eslint-scope": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz",
+ "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==",
+ "dev": true,
+ "dependencies": {
+ "esrecurse": "^4.1.0",
+ "estraverse": "^4.1.1"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/eslint-scope/node_modules/estraverse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
+ "dev": true,
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/eslint-utils": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.2.tgz",
+ "integrity": "sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q==",
+ "dev": true,
+ "dependencies": {
+ "eslint-visitor-keys": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/eslint-visitor-keys": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz",
+ "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/eslint/node_modules/ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/eslint/node_modules/cross-spawn": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
+ "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
+ "dev": true,
+ "dependencies": {
+ "nice-try": "^1.0.4",
+ "path-key": "^2.0.1",
+ "semver": "^5.5.0",
+ "shebang-command": "^1.2.0",
+ "which": "^1.2.9"
+ },
+ "engines": {
+ "node": ">=4.8"
+ }
+ },
+ "node_modules/eslint/node_modules/cross-spawn/node_modules/semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver"
+ }
+ },
+ "node_modules/eslint/node_modules/debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "dev": true,
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/eslint/node_modules/eslint-visitor-keys": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz",
+ "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/eslint/node_modules/glob-parent": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.0.0.tgz",
+ "integrity": "sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg==",
+ "dev": true,
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/eslint/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true
+ },
+ "node_modules/eslint/node_modules/semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/eslint/node_modules/strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/eslint/node_modules/strip-json-comments": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz",
+ "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/espree": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-6.1.1.tgz",
+ "integrity": "sha512-EYbr8XZUhWbYCqQRW0duU5LxzL5bETN6AjKBGy1302qqzPaCH10QbRg3Wvco79Z8x9WbiE8HYB4e75xl6qUYvQ==",
+ "dev": true,
+ "dependencies": {
+ "acorn": "^7.0.0",
+ "acorn-jsx": "^5.0.2",
+ "eslint-visitor-keys": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/espree/node_modules/eslint-visitor-keys": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz",
+ "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/esprima": {
+ "version": "2.7.3",
+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz",
+ "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=",
+ "bin": {
+ "esparse": "bin/esparse.js",
+ "esvalidate": "bin/esvalidate.js"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/esprima-extract-comments": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/esprima-extract-comments/-/esprima-extract-comments-1.1.0.tgz",
+ "integrity": "sha512-sBQUnvJwpeE9QnPrxh7dpI/dp67erYG4WXEAreAMoelPRpMR7NWb4YtwRPn9b+H1uLQKl/qS8WYmyaljTpjIsw==",
+ "dev": true,
+ "dependencies": {
+ "esprima": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/esprima-extract-comments/node_modules/esprima": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
+ "dev": true,
+ "bin": {
+ "esparse": "bin/esparse.js",
+ "esvalidate": "bin/esvalidate.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/esquery": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz",
+ "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==",
+ "dev": true,
+ "dependencies": {
+ "estraverse": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/esquery/node_modules/estraverse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
+ "dev": true,
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/esrecurse": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz",
+ "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==",
+ "dev": true,
+ "dependencies": {
+ "estraverse": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/esrecurse/node_modules/estraverse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
+ "dev": true,
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estraverse": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.9.3.tgz",
+ "integrity": "sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/esutils": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz",
+ "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/etag": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
+ "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/eth-block-tracker": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/eth-block-tracker/-/eth-block-tracker-3.0.1.tgz",
+ "integrity": "sha512-WUVxWLuhMmsfenfZvFO5sbl1qFY2IqUlw/FPVmjjdElpqLsZtSG+wPe9Dz7W/sB6e80HgFKknOmKk2eNlznHug==",
+ "dependencies": {
+ "eth-query": "^2.1.0",
+ "ethereumjs-tx": "^1.3.3",
+ "ethereumjs-util": "^5.1.3",
+ "ethjs-util": "^0.1.3",
+ "json-rpc-engine": "^3.6.0",
+ "pify": "^2.3.0",
+ "tape": "^4.6.3"
+ }
+ },
+ "node_modules/eth-ens-namehash": {
+ "version": "2.0.8",
+ "resolved": "https://registry.npmjs.org/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz",
+ "integrity": "sha1-IprEbsqG1S4MmR58sq74P/D2i88=",
+ "dependencies": {
+ "idna-uts46-hx": "^2.3.1",
+ "js-sha3": "^0.5.7"
+ }
+ },
+ "node_modules/eth-ens-namehash/node_modules/js-sha3": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz",
+ "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc="
+ },
+ "node_modules/eth-gas-reporter": {
+ "version": "0.2.11",
+ "resolved": "https://registry.npmjs.org/eth-gas-reporter/-/eth-gas-reporter-0.2.11.tgz",
+ "integrity": "sha512-u/bvq9IiBASAaBQ9mIy5yrJeMQzCFFoGWLOx6kxRkmuSrEXANiYRoYjKxfmKy9DcpgSYXg5Uu7Zlj/j0ufMYoQ==",
+ "dev": true,
+ "dependencies": {
+ "abi-decoder": "^2.2.0",
+ "cli-table3": "^0.5.0",
+ "colors": "^1.1.2",
+ "ethers": "^4.0.28",
+ "fs-readdir-recursive": "^1.1.0",
+ "lodash": "^4.17.14",
+ "markdown-table": "^1.1.3",
+ "mocha": "^5.2.0",
+ "req-cwd": "^2.0.0",
+ "request": "^2.88.0",
+ "request-promise-native": "^1.0.5",
+ "sha1": "^1.1.1",
+ "solidity-parser-antlr": "^0.4.2",
+ "sync-request": "^6.0.0"
+ }
+ },
+ "node_modules/eth-json-rpc-infura": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/eth-json-rpc-infura/-/eth-json-rpc-infura-3.2.1.tgz",
+ "integrity": "sha512-W7zR4DZvyTn23Bxc0EWsq4XGDdD63+XPUCEhV2zQvQGavDVC4ZpFDK4k99qN7bd7/fjj37+rxmuBOBeIqCA5Mw==",
+ "dependencies": {
+ "cross-fetch": "^2.1.1",
+ "eth-json-rpc-middleware": "^1.5.0",
+ "json-rpc-engine": "^3.4.0",
+ "json-rpc-error": "^2.0.0"
+ }
+ },
+ "node_modules/eth-json-rpc-middleware": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/eth-json-rpc-middleware/-/eth-json-rpc-middleware-1.6.0.tgz",
+ "integrity": "sha512-tDVCTlrUvdqHKqivYMjtFZsdD7TtpNLBCfKAcOpaVs7orBMS/A8HWro6dIzNtTZIR05FAbJ3bioFOnZpuCew9Q==",
+ "dependencies": {
+ "async": "^2.5.0",
+ "eth-query": "^2.1.2",
+ "eth-tx-summary": "^3.1.2",
+ "ethereumjs-block": "^1.6.0",
+ "ethereumjs-tx": "^1.3.3",
+ "ethereumjs-util": "^5.1.2",
+ "ethereumjs-vm": "^2.1.0",
+ "fetch-ponyfill": "^4.0.0",
+ "json-rpc-engine": "^3.6.0",
+ "json-rpc-error": "^2.0.0",
+ "json-stable-stringify": "^1.0.1",
+ "promise-to-callback": "^1.0.0",
+ "tape": "^4.6.3"
+ }
+ },
+ "node_modules/eth-json-rpc-middleware/node_modules/async": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
+ "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
+ "dependencies": {
+ "lodash": "^4.17.14"
+ }
+ },
+ "node_modules/eth-lib": {
+ "version": "0.1.29",
+ "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.1.29.tgz",
+ "integrity": "sha512-bfttrr3/7gG4E02HoWTDUcDDslN003OlOoBxk9virpAZQ1ja/jDgwkWB8QfJF7ojuEowrqy+lzp9VcJG7/k5bQ==",
+ "dependencies": {
+ "bn.js": "^4.11.6",
+ "elliptic": "^6.4.0",
+ "nano-json-stream-parser": "^0.1.2",
+ "servify": "^0.1.12",
+ "ws": "^3.0.0",
+ "xhr-request-promise": "^0.1.2"
+ }
+ },
+ "node_modules/eth-lib/node_modules/ws": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz",
+ "integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==",
+ "dependencies": {
+ "async-limiter": "~1.0.0",
+ "safe-buffer": "~5.1.0",
+ "ultron": "~1.1.0"
+ }
+ },
+ "node_modules/eth-query": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/eth-query/-/eth-query-2.1.2.tgz",
+ "integrity": "sha1-1nQdkAAQa1FRDHLbktY2VFam2l4=",
+ "dependencies": {
+ "json-rpc-random-id": "^1.0.0",
+ "xtend": "^4.0.1"
+ }
+ },
+ "node_modules/eth-sig-util": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/eth-sig-util/-/eth-sig-util-1.4.2.tgz",
+ "integrity": "sha1-jZWCAsftuq6Dlwf7pvCf8ydgYhA=",
+ "dependencies": {
+ "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git",
+ "ethereumjs-util": "^5.1.1"
+ }
+ },
+ "node_modules/eth-tx-summary": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/eth-tx-summary/-/eth-tx-summary-3.2.4.tgz",
+ "integrity": "sha512-NtlDnaVZah146Rm8HMRUNMgIwG/ED4jiqk0TME9zFheMl1jOp6jL1m0NKGjJwehXQ6ZKCPr16MTr+qspKpEXNg==",
+ "dependencies": {
+ "async": "^2.1.2",
+ "clone": "^2.0.0",
+ "concat-stream": "^1.5.1",
+ "end-of-stream": "^1.1.0",
+ "eth-query": "^2.0.2",
+ "ethereumjs-block": "^1.4.1",
+ "ethereumjs-tx": "^1.1.1",
+ "ethereumjs-util": "^5.0.1",
+ "ethereumjs-vm": "^2.6.0",
+ "through2": "^2.0.3"
+ }
+ },
+ "node_modules/eth-tx-summary/node_modules/async": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
+ "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
+ "dependencies": {
+ "lodash": "^4.17.14"
+ }
+ },
+ "node_modules/ethereum-bloom-filters": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.9.tgz",
+ "integrity": "sha512-GiK/RQkAkcVaEdxKVkPcG07PQ5vD7v2MFSHgZmBJSfMzNRHimntdBithsHAT89tAXnIpzVDWt8iaCD1DvkaxGg==",
+ "dependencies": {
+ "js-sha3": "^0.8.0"
+ }
+ },
+ "node_modules/ethereum-bloom-filters/node_modules/js-sha3": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz",
+ "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q=="
+ },
+ "node_modules/ethereum-common": {
+ "version": "0.0.18",
+ "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.0.18.tgz",
+ "integrity": "sha1-L9w1dvIykDNYl26znaeDIT/5Uj8="
+ },
+ "node_modules/ethereum-cryptography": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz",
+ "integrity": "sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ==",
+ "dependencies": {
+ "@types/pbkdf2": "^3.0.0",
+ "@types/secp256k1": "^4.0.1",
+ "blakejs": "^1.1.0",
+ "browserify-aes": "^1.2.0",
+ "bs58check": "^2.1.2",
+ "create-hash": "^1.2.0",
+ "create-hmac": "^1.1.7",
+ "hash.js": "^1.1.7",
+ "keccak": "^3.0.0",
+ "pbkdf2": "^3.0.17",
+ "randombytes": "^2.1.0",
+ "safe-buffer": "^5.1.2",
+ "scrypt-js": "^3.0.0",
+ "secp256k1": "^4.0.1",
+ "setimmediate": "^1.0.5"
+ }
+ },
+ "node_modules/ethereum-cryptography/node_modules/keccak": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/keccak/-/keccak-3.0.1.tgz",
+ "integrity": "sha512-epq90L9jlFWCW7+pQa6JOnKn2Xgl2mtI664seYR6MHskvI9agt7AnDqmAlp9TqU4/caMYbA08Hi5DMZAl5zdkA==",
+ "dependencies": {
+ "node-addon-api": "^2.0.0",
+ "node-gyp-build": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/ethereum-cryptography/node_modules/scrypt-js": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz",
+ "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA=="
+ },
+ "node_modules/ethereum-cryptography/node_modules/secp256k1": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.2.tgz",
+ "integrity": "sha512-UDar4sKvWAksIlfX3xIaQReADn+WFnHvbVujpcbr+9Sf/69odMwy2MUsz5CKLQgX9nsIyrjuxL2imVyoNHa3fg==",
+ "dependencies": {
+ "elliptic": "^6.5.2",
+ "node-addon-api": "^2.0.0",
+ "node-gyp-build": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/ethereum-cryptography/node_modules/setimmediate": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
+ "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="
+ },
+ "node_modules/ethereum-types": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/ethereum-types/-/ethereum-types-3.2.0.tgz",
+ "integrity": "sha512-osxikvWF2CuHauo2jiBpGalLXbCj5xWm2WcNr+Z4sNTk7z6DArPNXwsgANu2bA+aAsqSSF4NgsNx8JS1d3xdOQ==",
+ "dependencies": {
+ "@types/node": "*",
+ "bignumber.js": "~9.0.0"
+ },
+ "engines": {
+ "node": ">=6.12"
+ }
+ },
+ "node_modules/ethereumjs-abi": {
+ "version": "0.6.8",
+ "resolved": "git+ssh://git@github.com/ethereumjs/ethereumjs-abi.git#1a27c59c15ab1e95ee8e5c4ed6ad814c49cc439e",
+ "license": "MIT",
+ "dependencies": {
+ "bn.js": "^4.11.8",
+ "ethereumjs-util": "^6.0.0"
+ }
+ },
+ "node_modules/ethereumjs-abi/node_modules/ethereumjs-util": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.1.0.tgz",
+ "integrity": "sha512-URESKMFbDeJxnAxPppnk2fN6Y3BIatn9fwn76Lm8bQlt+s52TpG8dN9M66MLPuRAiAOIqL3dfwqWJf0sd0fL0Q==",
+ "dependencies": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "0.1.6",
+ "keccak": "^1.0.2",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ethereumjs-account": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/ethereumjs-account/-/ethereumjs-account-2.0.5.tgz",
+ "integrity": "sha512-bgDojnXGjhMwo6eXQC0bY6UK2liSFUSMwwylOmQvZbSl/D7NXQ3+vrGO46ZeOgjGfxXmgIeVNDIiHw7fNZM4VA==",
+ "dependencies": {
+ "ethereumjs-util": "^5.0.0",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "node_modules/ethereumjs-block": {
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-1.7.1.tgz",
+ "integrity": "sha512-B+sSdtqm78fmKkBq78/QLKJbu/4Ts4P2KFISdgcuZUPDm9x+N7qgBPIIFUGbaakQh8bzuquiRVbdmvPKqbILRg==",
+ "dependencies": {
+ "async": "^2.0.1",
+ "ethereum-common": "0.2.0",
+ "ethereumjs-tx": "^1.2.2",
+ "ethereumjs-util": "^5.0.0",
+ "merkle-patricia-tree": "^2.1.2"
+ }
+ },
+ "node_modules/ethereumjs-block/node_modules/async": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
+ "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
+ "dependencies": {
+ "lodash": "^4.17.14"
+ }
+ },
+ "node_modules/ethereumjs-block/node_modules/ethereum-common": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.2.0.tgz",
+ "integrity": "sha512-XOnAR/3rntJgbCdGhqdaLIxDLWKLmsZOGhHdBKadEr6gEnJLH52k93Ou+TUdFaPN3hJc3isBZBal3U/XZ15abA=="
+ },
+ "node_modules/ethereumjs-common": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/ethereumjs-common/-/ethereumjs-common-1.5.1.tgz",
+ "integrity": "sha512-aVUPRLgmXORGXXEVkFYgPhr9TGtpBY2tGhZ9Uh0A3lIUzUDr1x6kQx33SbjPUkLkX3eniPQnIL/2psjkjrOfcQ=="
+ },
+ "node_modules/ethereumjs-tx": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-1.3.7.tgz",
+ "integrity": "sha512-wvLMxzt1RPhAQ9Yi3/HKZTn0FZYpnsmQdbKYfUUpi4j1SEIcbkd9tndVjcPrufY3V7j2IebOpC00Zp2P/Ay2kA==",
+ "dependencies": {
+ "ethereum-common": "^0.0.18",
+ "ethereumjs-util": "^5.0.0"
+ }
+ },
+ "node_modules/ethereumjs-util": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz",
+ "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==",
+ "dependencies": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "^0.1.3",
+ "keccak": "^1.0.2",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ethereumjs-vm": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-vm/-/ethereumjs-vm-2.6.0.tgz",
+ "integrity": "sha512-r/XIUik/ynGbxS3y+mvGnbOKnuLo40V5Mj1J25+HEO63aWYREIqvWeRO/hnROlMBE5WoniQmPmhiaN0ctiHaXw==",
+ "dependencies": {
+ "async": "^2.1.2",
+ "async-eventemitter": "^0.2.2",
+ "ethereumjs-account": "^2.0.3",
+ "ethereumjs-block": "~2.2.0",
+ "ethereumjs-common": "^1.1.0",
+ "ethereumjs-util": "^6.0.0",
+ "fake-merkle-patricia-tree": "^1.0.1",
+ "functional-red-black-tree": "^1.0.1",
+ "merkle-patricia-tree": "^2.3.2",
+ "rustbn.js": "~0.2.0",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "node_modules/ethereumjs-vm/node_modules/async": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
+ "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
+ "dependencies": {
+ "lodash": "^4.17.14"
+ }
+ },
+ "node_modules/ethereumjs-vm/node_modules/ethereumjs-block": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-2.2.2.tgz",
+ "integrity": "sha512-2p49ifhek3h2zeg/+da6XpdFR3GlqY3BIEiqxGF8j9aSRIgkb7M1Ky+yULBKJOu8PAZxfhsYA+HxUk2aCQp3vg==",
+ "dependencies": {
+ "async": "^2.0.1",
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-tx": "^2.1.1",
+ "ethereumjs-util": "^5.0.0",
+ "merkle-patricia-tree": "^2.1.2"
+ }
+ },
+ "node_modules/ethereumjs-vm/node_modules/ethereumjs-block/node_modules/ethereumjs-util": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.1.tgz",
+ "integrity": "sha512-v3kT+7zdyCm1HIqWlLNrHGqHGLpGYIhjeHxQjnDXjLT2FyGJDsd3LWMYUo7pAFRrk86CR3nUJfhC81CCoJNNGQ==",
+ "dependencies": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "elliptic": "^6.5.2",
+ "ethereum-cryptography": "^0.1.3",
+ "ethjs-util": "^0.1.3",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "node_modules/ethereumjs-vm/node_modules/ethereumjs-tx": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-2.1.2.tgz",
+ "integrity": "sha512-zZEK1onCeiORb0wyCXUvg94Ve5It/K6GD1K+26KfFKodiBiS6d9lfCXlUKGBBdQ+bv7Day+JK0tj1K+BeNFRAw==",
+ "dependencies": {
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-util": "^6.0.0"
+ }
+ },
+ "node_modules/ethereumjs-vm/node_modules/ethereumjs-util": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.1.tgz",
+ "integrity": "sha512-W2Ktez4L01Vexijrm5EB6w7dg4n/TgpoYU4avuT5T3Vmnw/eCRtiBrJfQYS/DCSvDIOLn2k57GcHdeBcgVxAqw==",
+ "dependencies": {
+ "@types/bn.js": "^4.11.3",
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "elliptic": "^6.5.2",
+ "ethereum-cryptography": "^0.1.3",
+ "ethjs-util": "0.1.6",
+ "rlp": "^2.2.3"
+ }
+ },
+ "node_modules/ethers": {
+ "version": "4.0.48",
+ "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.48.tgz",
+ "integrity": "sha512-sZD5K8H28dOrcidzx9f8KYh8083n5BexIO3+SbE4jK83L85FxtpXZBCQdXb8gkg+7sBqomcLhhkU7UHL+F7I2g==",
+ "dependencies": {
+ "aes-js": "3.0.0",
+ "bn.js": "^4.4.0",
+ "elliptic": "6.5.3",
+ "hash.js": "1.1.3",
+ "js-sha3": "0.5.7",
+ "scrypt-js": "2.0.4",
+ "setimmediate": "1.0.4",
+ "uuid": "2.0.1",
+ "xmlhttprequest": "1.8.0"
+ }
+ },
+ "node_modules/ethers/node_modules/hash.js": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz",
+ "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "minimalistic-assert": "^1.0.0"
+ }
+ },
+ "node_modules/ethers/node_modules/js-sha3": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz",
+ "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc="
+ },
+ "node_modules/ethers/node_modules/uuid": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz",
+ "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w="
+ },
+ "node_modules/ethjs-unit": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/ethjs-unit/-/ethjs-unit-0.1.6.tgz",
+ "integrity": "sha1-xmWSHkduh7ziqdWIpv4EBbLEFpk=",
+ "dependencies": {
+ "bn.js": "4.11.6",
+ "number-to-bn": "1.7.0"
+ },
+ "engines": {
+ "node": ">=6.5.0",
+ "npm": ">=3"
+ }
+ },
+ "node_modules/ethjs-unit/node_modules/bn.js": {
+ "version": "4.11.6",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz",
+ "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU="
+ },
+ "node_modules/ethjs-util": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/ethjs-util/-/ethjs-util-0.1.6.tgz",
+ "integrity": "sha512-CUnVOQq7gSpDHZVVrQW8ExxUETWrnrvXYvYz55wOU8Uj4VCgw56XC2B/fVqQN+f7gmrnRHSLVnFAwsCuNwji8w==",
+ "dependencies": {
+ "is-hex-prefixed": "1.0.0",
+ "strip-hex-prefix": "1.0.0"
+ },
+ "engines": {
+ "node": ">=6.5.0",
+ "npm": ">=3"
+ }
+ },
+ "node_modules/event-iterator": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/event-iterator/-/event-iterator-2.0.0.tgz",
+ "integrity": "sha512-KGft0ldl31BZVV//jj+IAIGCxkvvUkkON+ScH6zfoX+l+omX6001ggyRSpI0Io2Hlro0ThXotswCtfzS8UkIiQ==",
+ "optional": true
+ },
+ "node_modules/event-target-shim": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
+ "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==",
+ "optional": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/eventemitter3": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.2.tgz",
+ "integrity": "sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q=="
+ },
+ "node_modules/events": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
+ "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",
+ "engines": {
+ "node": ">=0.8.x"
+ }
+ },
+ "node_modules/eventsource": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-1.1.0.tgz",
+ "integrity": "sha512-VSJjT5oCNrFvCS6igjzPAt5hBzQ2qPBFIbJ03zLI9SE0mxwZpMw6BfJrbFHm1a141AavMEB8JHmBhWAd66PfCg==",
+ "optional": true,
+ "dependencies": {
+ "original": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/evp_bytestokey": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz",
+ "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==",
+ "dependencies": {
+ "md5.js": "^1.3.4",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "node_modules/execa": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz",
+ "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=",
+ "dependencies": {
+ "cross-spawn": "^5.0.1",
+ "get-stream": "^3.0.0",
+ "is-stream": "^1.1.0",
+ "npm-run-path": "^2.0.0",
+ "p-finally": "^1.0.0",
+ "signal-exit": "^3.0.0",
+ "strip-eof": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/expand-brackets": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",
+ "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=",
+ "dev": true,
+ "dependencies": {
+ "debug": "^2.3.3",
+ "define-property": "^0.2.5",
+ "extend-shallow": "^2.0.1",
+ "posix-character-classes": "^0.1.0",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/expand-brackets/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dev": true,
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/expand-brackets/node_modules/define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "dev": true,
+ "dependencies": {
+ "is-descriptor": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/expand-brackets/node_modules/extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "dev": true,
+ "dependencies": {
+ "is-extendable": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/expand-range": {
+ "version": "1.8.2",
+ "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz",
+ "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=",
+ "optional": true,
+ "dependencies": {
+ "fill-range": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/expand-range/node_modules/fill-range": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz",
+ "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==",
+ "optional": true,
+ "dependencies": {
+ "is-number": "^2.1.0",
+ "isobject": "^2.0.0",
+ "randomatic": "^3.0.0",
+ "repeat-element": "^1.1.2",
+ "repeat-string": "^1.5.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/expand-range/node_modules/is-number": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz",
+ "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=",
+ "optional": true,
+ "dependencies": {
+ "kind-of": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/expand-range/node_modules/isobject": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
+ "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",
+ "optional": true,
+ "dependencies": {
+ "isarray": "1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/expand-range/node_modules/kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "optional": true,
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/expand-template": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
+ "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==",
+ "optional": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/express": {
+ "version": "4.17.1",
+ "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz",
+ "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==",
+ "dependencies": {
+ "accepts": "~1.3.7",
+ "array-flatten": "1.1.1",
+ "body-parser": "1.19.0",
+ "content-disposition": "0.5.3",
+ "content-type": "~1.0.4",
+ "cookie": "0.4.0",
+ "cookie-signature": "1.0.6",
+ "debug": "2.6.9",
+ "depd": "~1.1.2",
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "etag": "~1.8.1",
+ "finalhandler": "~1.1.2",
+ "fresh": "0.5.2",
+ "merge-descriptors": "1.0.1",
+ "methods": "~1.1.2",
+ "on-finished": "~2.3.0",
+ "parseurl": "~1.3.3",
+ "path-to-regexp": "0.1.7",
+ "proxy-addr": "~2.0.5",
+ "qs": "6.7.0",
+ "range-parser": "~1.2.1",
+ "safe-buffer": "5.1.2",
+ "send": "0.17.1",
+ "serve-static": "1.14.1",
+ "setprototypeof": "1.1.1",
+ "statuses": "~1.5.0",
+ "type-is": "~1.6.18",
+ "utils-merge": "1.0.1",
+ "vary": "~1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.10.0"
+ }
+ },
+ "node_modules/express/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/express/node_modules/qs": {
+ "version": "6.7.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
+ "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/ext": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz",
+ "integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==",
+ "dependencies": {
+ "type": "^2.0.0"
+ }
+ },
+ "node_modules/ext/node_modules/type": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/type/-/type-2.5.0.tgz",
+ "integrity": "sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw=="
+ },
+ "node_modules/extend": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
+ },
+ "node_modules/extend-shallow": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz",
+ "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=",
+ "dev": true,
+ "dependencies": {
+ "assign-symbols": "^1.0.0",
+ "is-extendable": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/extend-shallow/node_modules/is-extendable": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
+ "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
+ "dev": true,
+ "dependencies": {
+ "is-plain-object": "^2.0.4"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/external-editor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz",
+ "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==",
+ "dev": true,
+ "dependencies": {
+ "chardet": "^0.7.0",
+ "iconv-lite": "^0.4.24",
+ "tmp": "^0.0.33"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/extglob": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",
+ "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==",
+ "dev": true,
+ "dependencies": {
+ "array-unique": "^0.3.2",
+ "define-property": "^1.0.0",
+ "expand-brackets": "^2.1.4",
+ "extend-shallow": "^2.0.1",
+ "fragment-cache": "^0.2.1",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/extglob/node_modules/define-property": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
+ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
+ "dev": true,
+ "dependencies": {
+ "is-descriptor": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/extglob/node_modules/extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "dev": true,
+ "dependencies": {
+ "is-extendable": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/extglob/node_modules/is-accessor-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
+ "dev": true,
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/extglob/node_modules/is-data-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
+ "dev": true,
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/extglob/node_modules/is-descriptor": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
+ "dev": true,
+ "dependencies": {
+ "is-accessor-descriptor": "^1.0.0",
+ "is-data-descriptor": "^1.0.0",
+ "kind-of": "^6.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/extract-comments": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/extract-comments/-/extract-comments-1.1.0.tgz",
+ "integrity": "sha512-dzbZV2AdSSVW/4E7Ti5hZdHWbA+Z80RJsJhr5uiL10oyjl/gy7/o+HI1HwK4/WSZhlq4SNKU3oUzXlM13Qx02Q==",
+ "dev": true,
+ "dependencies": {
+ "esprima-extract-comments": "^1.1.0",
+ "parse-code-context": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/extract-files": {
+ "version": "9.0.0",
+ "resolved": "https://registry.npmjs.org/extract-files/-/extract-files-9.0.0.tgz",
+ "integrity": "sha512-CvdFfHkC95B4bBBk36hcEmvdR2awOdhhVUYH6S/zrVj3477zven/fJMYg7121h4T1xHZC+tetUpubpAhxwI7hQ==",
+ "optional": true,
+ "engines": {
+ "node": "^10.17.0 || ^12.0.0 || >= 13.7.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jaydenseric"
+ }
+ },
+ "node_modules/extsprintf": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
+ "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=",
+ "engines": [
+ "node >=0.6.0"
+ ]
+ },
+ "node_modules/fake-merkle-patricia-tree": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/fake-merkle-patricia-tree/-/fake-merkle-patricia-tree-1.0.1.tgz",
+ "integrity": "sha1-S4w6z7Ugr635hgsfFM2M40As3dM=",
+ "dependencies": {
+ "checkpoint-store": "^1.1.0"
+ }
+ },
+ "node_modules/faker": {
+ "version": "5.5.3",
+ "resolved": "https://registry.npmjs.org/faker/-/faker-5.5.3.tgz",
+ "integrity": "sha512-wLTv2a28wjUyWkbnX7u/ABZBkUkIF2fCd73V6P2oFqEGEktDfzWx4UxrSqtPRw0xPRAcjeAOIiJWqZm3pP4u3g=="
+ },
+ "node_modules/fast-check": {
+ "version": "2.14.0",
+ "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-2.14.0.tgz",
+ "integrity": "sha512-4hm0ioyEVCwgjBLBqriwAFYu3/yc7pNH9fBfvzi6JRWRs4R3mwZwrr/d4MHbY0fTBJ0Uakg4TaMAAQ8Cnt2+KQ==",
+ "dependencies": {
+ "pure-rand": "^4.1.1"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/fast-check"
+ }
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
+ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk="
+ },
+ "node_modules/fast-diff": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz",
+ "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w=="
+ },
+ "node_modules/fast-fifo": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.0.0.tgz",
+ "integrity": "sha512-4VEXmjxLj7sbs8J//cn2qhRap50dGzF5n8fjay8mau+Jn4hxSeR3xPFwxMaQq/pDaq7+KQk0PAbC2+nWDkJrmQ==",
+ "optional": true
+ },
+ "node_modules/fast-future": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/fast-future/-/fast-future-1.0.2.tgz",
+ "integrity": "sha1-hDWpqqAteSSNF9cE52JZMB2ZKAo=",
+ "optional": true
+ },
+ "node_modules/fast-glob": {
+ "version": "3.2.5",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.5.tgz",
+ "integrity": "sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg==",
+ "optional": true,
+ "dependencies": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.0",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.2",
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/fast-glob/node_modules/braces": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "optional": true,
+ "dependencies": {
+ "fill-range": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/fast-glob/node_modules/fill-range": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "optional": true,
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/fast-glob/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "optional": true,
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/fast-glob/node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "optional": true,
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/fast-glob/node_modules/micromatch": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz",
+ "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==",
+ "optional": true,
+ "dependencies": {
+ "braces": "^3.0.1",
+ "picomatch": "^2.2.3"
+ },
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/fast-glob/node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "optional": true,
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/fast-json-stable-stringify": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz",
+ "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I="
+ },
+ "node_modules/fast-levenshtein": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
+ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc="
+ },
+ "node_modules/fast-sha256": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/fast-sha256/-/fast-sha256-1.3.0.tgz",
+ "integrity": "sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==",
+ "optional": true
+ },
+ "node_modules/fastestsmallesttextencoderdecoder": {
+ "version": "1.0.22",
+ "resolved": "https://registry.npmjs.org/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz",
+ "integrity": "sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw==",
+ "optional": true
+ },
+ "node_modules/fastq": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz",
+ "integrity": "sha512-7Eczs8gIPDrVzT+EksYBcupqMyxSHXXrHOLRRxU2/DicV8789MRBRR8+Hc2uWzUupOs4YS4JzBmBxjjCVBxD/g==",
+ "optional": true,
+ "dependencies": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "node_modules/fb-watchman": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz",
+ "integrity": "sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==",
+ "optional": true,
+ "dependencies": {
+ "bser": "2.1.1"
+ }
+ },
+ "node_modules/fbjs": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-3.0.0.tgz",
+ "integrity": "sha512-dJd4PiDOFuhe7vk4F80Mba83Vr2QuK86FoxtgPmzBqEJahncp+13YCmfoa53KHCo6OnlXLG7eeMWPfB5CrpVKg==",
+ "optional": true,
+ "dependencies": {
+ "cross-fetch": "^3.0.4",
+ "fbjs-css-vars": "^1.0.0",
+ "loose-envify": "^1.0.0",
+ "object-assign": "^4.1.0",
+ "promise": "^7.1.1",
+ "setimmediate": "^1.0.5",
+ "ua-parser-js": "^0.7.18"
+ }
+ },
+ "node_modules/fbjs-css-vars": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/fbjs-css-vars/-/fbjs-css-vars-1.0.2.tgz",
+ "integrity": "sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==",
+ "optional": true
+ },
+ "node_modules/fbjs/node_modules/cross-fetch": {
+ "version": "3.1.4",
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz",
+ "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==",
+ "optional": true,
+ "dependencies": {
+ "node-fetch": "2.6.1"
+ }
+ },
+ "node_modules/fbjs/node_modules/node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true,
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/fbjs/node_modules/promise": {
+ "version": "7.3.1",
+ "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz",
+ "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==",
+ "optional": true,
+ "dependencies": {
+ "asap": "~2.0.3"
+ }
+ },
+ "node_modules/fbjs/node_modules/setimmediate": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
+ "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=",
+ "optional": true
+ },
+ "node_modules/fetch-cookie": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/fetch-cookie/-/fetch-cookie-0.7.0.tgz",
+ "integrity": "sha512-Mm5pGlT3agW6t71xVM7vMZPIvI7T4FaTuFW4jari6dVzYHFDb3WZZsGpN22r/o3XMdkM0E7sPd1EGeyVbH2Tgg==",
+ "optional": true,
+ "dependencies": {
+ "es6-denodeify": "^0.1.1",
+ "tough-cookie": "^2.3.1"
+ }
+ },
+ "node_modules/fetch-ponyfill": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/fetch-ponyfill/-/fetch-ponyfill-4.1.0.tgz",
+ "integrity": "sha1-rjzl9zLGReq4fkroeTQUcJsjmJM=",
+ "dependencies": {
+ "node-fetch": "~1.7.1"
+ }
+ },
+ "node_modules/figgy-pudding": {
+ "version": "3.5.1",
+ "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz",
+ "integrity": "sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w=="
+ },
+ "node_modules/figures": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
+ "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=",
+ "dev": true,
+ "dependencies": {
+ "escape-string-regexp": "^1.0.5"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/file-entry-cache": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz",
+ "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==",
+ "dev": true,
+ "dependencies": {
+ "flat-cache": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/file-uri-to-path": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
+ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw=="
+ },
+ "node_modules/filecoin.js": {
+ "version": "0.0.5-alpha",
+ "resolved": "https://registry.npmjs.org/filecoin.js/-/filecoin.js-0.0.5-alpha.tgz",
+ "integrity": "sha512-xPrB86vDnTPfmvtN/rJSrhl4M77694ruOgNXd0+5gP67mgmCDhStLCqcr+zHIDRgDpraf7rY+ELbwjXZcQNdpQ==",
+ "optional": true,
+ "dependencies": {
+ "@ledgerhq/hw-transport-webusb": "^5.22.0",
+ "@nodefactory/filsnap-adapter": "^0.2.1",
+ "@nodefactory/filsnap-types": "^0.2.1",
+ "@zondax/filecoin-signing-tools": "github:Digital-MOB-Filecoin/filecoin-signing-tools-js",
+ "bignumber.js": "^9.0.0",
+ "bitcore-lib": "^8.22.2",
+ "bitcore-mnemonic": "^8.22.2",
+ "btoa-lite": "^1.0.0",
+ "events": "^3.2.0",
+ "isomorphic-ws": "^4.0.1",
+ "node-fetch": "^2.6.0",
+ "rpc-websockets": "^5.3.1",
+ "scrypt-async": "^2.0.1",
+ "tweetnacl": "^1.0.3",
+ "tweetnacl-util": "^0.15.1",
+ "websocket": "^1.0.31",
+ "ws": "^7.3.1"
+ }
+ },
+ "node_modules/filecoin.js/node_modules/node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true,
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/filecoin.js/node_modules/tweetnacl": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz",
+ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==",
+ "optional": true
+ },
+ "node_modules/filecoin.js/node_modules/ws": {
+ "version": "7.4.5",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz",
+ "integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==",
+ "optional": true,
+ "engines": {
+ "node": ">=8.3.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": "^5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/filename-regex": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz",
+ "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/fill-range": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
+ "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",
+ "dev": true,
+ "dependencies": {
+ "extend-shallow": "^2.0.1",
+ "is-number": "^3.0.0",
+ "repeat-string": "^1.6.1",
+ "to-regex-range": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/fill-range/node_modules/extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "dev": true,
+ "dependencies": {
+ "is-extendable": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/finalhandler": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",
+ "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==",
+ "dependencies": {
+ "debug": "2.6.9",
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "on-finished": "~2.3.0",
+ "parseurl": "~1.3.3",
+ "statuses": "~1.5.0",
+ "unpipe": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/finalhandler/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/find-up": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
+ "dependencies": {
+ "locate-path": "^5.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/find-up/node_modules/locate-path": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
+ "dependencies": {
+ "p-locate": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/find-up/node_modules/p-limit": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",
+ "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",
+ "dependencies": {
+ "p-try": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/find-up/node_modules/p-locate": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
+ "dependencies": {
+ "p-limit": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/find-up/node_modules/p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/first-chunk-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/first-chunk-stream/-/first-chunk-stream-1.0.0.tgz",
+ "integrity": "sha1-Wb+1DNkF9g18OUzT2ayqtOatk04=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/flat": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/flat/-/flat-4.1.1.tgz",
+ "integrity": "sha512-FmTtBsHskrU6FJ2VxCnsDb84wu9zhmO3cUX2kGFb5tuwhfXxGciiT0oRY+cck35QmG+NmGh5eLz6lLCpWTqwpA==",
+ "dependencies": {
+ "is-buffer": "~2.0.3"
+ },
+ "bin": {
+ "flat": "cli.js"
+ }
+ },
+ "node_modules/flat-cache": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz",
+ "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==",
+ "dev": true,
+ "dependencies": {
+ "flatted": "^2.0.0",
+ "rimraf": "2.6.3",
+ "write": "1.0.3"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/flat/node_modules/is-buffer": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz",
+ "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/flatted": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz",
+ "integrity": "sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==",
+ "dev": true
+ },
+ "node_modules/flush-write-stream": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz",
+ "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "readable-stream": "^2.3.6"
+ }
+ },
+ "node_modules/follow-redirects": {
+ "version": "1.13.3",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.3.tgz",
+ "integrity": "sha512-DUgl6+HDzB0iEptNQEXLx/KhTmDb8tZUHSeLqpnjpknR70H0nC2t9N73BK6fN4hOvJ84pKlIQVQ4k5FFlBedKA==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/RubenVerborgh"
+ }
+ ],
+ "optional": true,
+ "engines": {
+ "node": ">=4.0"
+ },
+ "peerDependenciesMeta": {
+ "debug": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/for-each": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
+ "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==",
+ "dependencies": {
+ "is-callable": "^1.1.3"
+ }
+ },
+ "node_modules/for-in": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
+ "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=",
+ "devOptional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/for-own": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz",
+ "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=",
+ "optional": true,
+ "dependencies": {
+ "for-in": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/foreach": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz",
+ "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k="
+ },
+ "node_modules/forever-agent": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
+ "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/form-data": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
+ "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
+ "dependencies": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.6",
+ "mime-types": "^2.1.12"
+ },
+ "engines": {
+ "node": ">= 0.12"
+ }
+ },
+ "node_modules/forwarded": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
+ "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/fragment-cache": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",
+ "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=",
+ "dev": true,
+ "dependencies": {
+ "map-cache": "^0.2.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/fresh": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
+ "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/from2": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz",
+ "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=",
+ "dependencies": {
+ "inherits": "^2.0.1",
+ "readable-stream": "^2.0.0"
+ }
+ },
+ "node_modules/fs-capacitor": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/fs-capacitor/-/fs-capacitor-2.0.4.tgz",
+ "integrity": "sha512-8S4f4WsCryNw2mJJchi46YgB6CR5Ze+4L1h8ewl9tEpL4SJ3ZO+c/bS4BWhB8bK+O3TMqhuZarTitd0S0eh2pA==",
+ "optional": true,
+ "engines": {
+ "node": ">=8.5"
+ }
+ },
+ "node_modules/fs-constants": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
+ "optional": true
+ },
+ "node_modules/fs-extra": {
+ "version": "0.30.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz",
+ "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=",
+ "dependencies": {
+ "graceful-fs": "^4.1.2",
+ "jsonfile": "^2.1.0",
+ "klaw": "^1.0.0",
+ "path-is-absolute": "^1.0.0",
+ "rimraf": "^2.2.8"
+ }
+ },
+ "node_modules/fs-minipass": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.6.tgz",
+ "integrity": "sha512-crhvyXcMejjv3Z5d2Fa9sf5xLYVCF5O1c71QxbVnbLsmYMBEvDAftewesN/HhY03YRoA7zOMxjNGrF5svGaaeQ==",
+ "dependencies": {
+ "minipass": "^2.2.1"
+ }
+ },
+ "node_modules/fs-readdir-recursive": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz",
+ "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==",
+ "dev": true
+ },
+ "node_modules/fs-write-stream-atomic": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz",
+ "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=",
+ "dependencies": {
+ "graceful-fs": "^4.1.2",
+ "iferr": "^0.1.5",
+ "imurmurhash": "^0.1.4",
+ "readable-stream": "1 || 2"
+ }
+ },
+ "node_modules/fs.realpath": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
+ },
+ "node_modules/fsevents": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz",
+ "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
+ },
+ "node_modules/functional-red-black-tree": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
+ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc="
+ },
+ "node_modules/ganache-core": {
+ "version": "2.10.2",
+ "resolved": "https://registry.npmjs.org/ganache-core/-/ganache-core-2.10.2.tgz",
+ "integrity": "sha512-4XEO0VsqQ1+OW7Za5fQs9/Kk7o8M0T1sRfFSF8h9NeJ2ABaqMO5waqxf567ZMcSkRKaTjUucBSz83xNfZv1HDg==",
+ "dependencies": {
+ "abstract-leveldown": "3.0.0",
+ "async": "2.6.2",
+ "bip39": "2.5.0",
+ "cachedown": "1.0.0",
+ "clone": "2.1.2",
+ "debug": "3.2.6",
+ "encoding-down": "5.0.4",
+ "eth-sig-util": "2.3.0",
+ "ethereumjs-abi": "0.6.7",
+ "ethereumjs-account": "3.0.0",
+ "ethereumjs-block": "2.2.2",
+ "ethereumjs-common": "1.5.0",
+ "ethereumjs-tx": "2.1.2",
+ "ethereumjs-util": "6.2.0",
+ "ethereumjs-vm": "4.1.3",
+ "heap": "0.2.6",
+ "level-sublevel": "6.6.4",
+ "levelup": "3.1.1",
+ "lodash": "4.17.14",
+ "merkle-patricia-tree": "2.3.2",
+ "seedrandom": "3.0.1",
+ "source-map-support": "0.5.12",
+ "tmp": "0.1.0",
+ "web3": "1.2.4",
+ "web3-provider-engine": "14.2.1",
+ "websocket": "1.0.29"
+ },
+ "engines": {
+ "node": ">=8.9.0"
+ },
+ "optionalDependencies": {
+ "ethereumjs-wallet": "0.6.3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/@sindresorhus/is": {
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
+ "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/@szmarczak/http-timer": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz",
+ "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==",
+ "dependencies": {
+ "defer-to-connect": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/@types/bignumber.js": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/@types/bignumber.js/-/bignumber.js-5.0.0.tgz",
+ "integrity": "sha512-0DH7aPGCClywOFaxxjE6UwpN2kQYe9LwuDQMv+zYA97j5GkOMo8e66LYT+a8JYU7jfmUFRZLa9KycxHDsKXJCA==",
+ "dependencies": {
+ "bignumber.js": "*"
+ }
+ },
+ "node_modules/ganache-core/node_modules/@types/bn.js": {
+ "version": "4.11.6",
+ "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz",
+ "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/ganache-core/node_modules/@types/node": {
+ "version": "13.5.2",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-13.5.2.tgz",
+ "integrity": "sha512-Fr6a47c84PRLfd7M7u3/hEknyUdQrrBA6VoPmkze0tcflhU5UnpWEX2kn12ktA/lb+MNHSqFlSiPHIHsaErTPA=="
+ },
+ "node_modules/ganache-core/node_modules/@web3-js/scrypt-shim": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/@web3-js/scrypt-shim/-/scrypt-shim-0.1.0.tgz",
+ "integrity": "sha512-ZtZeWCc/s0nMcdx/+rZwY1EcuRdemOK9ag21ty9UsHkFxsNb/AaoucUz0iPuyGe0Ku+PFuRmWZG7Z7462p9xPw==",
+ "dependencies": {
+ "scryptsy": "^2.1.0",
+ "semver": "^6.3.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/@web3-js/scrypt-shim/node_modules/scryptsy": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-2.1.0.tgz",
+ "integrity": "sha512-1CdSqHQowJBnMAFyPEBRfqag/YP9OF394FV+4YREIJX4ljD7OxvQRDayyoyyCk+senRjSkP6VnUNQmVQqB6g7w=="
+ },
+ "node_modules/ganache-core/node_modules/@web3-js/scrypt-shim/node_modules/semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/ganache-core/node_modules/@web3-js/websocket": {
+ "version": "1.0.30",
+ "resolved": "https://registry.npmjs.org/@web3-js/websocket/-/websocket-1.0.30.tgz",
+ "integrity": "sha512-fDwrD47MiDrzcJdSeTLF75aCcxVVt8B1N74rA+vh2XCAvFy4tEWJjtnUtj2QG7/zlQ6g9cQ88bZFBxwd9/FmtA==",
+ "dependencies": {
+ "debug": "^2.2.0",
+ "es5-ext": "^0.10.50",
+ "nan": "^2.14.0",
+ "typedarray-to-buffer": "^3.1.5",
+ "yaeti": "^0.0.6"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/@web3-js/websocket/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/@web3-js/websocket/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ },
+ "node_modules/ganache-core/node_modules/@web3-js/websocket/node_modules/nan": {
+ "version": "2.14.0",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
+ "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg=="
+ },
+ "node_modules/ganache-core/node_modules/abstract-leveldown": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-3.0.0.tgz",
+ "integrity": "sha512-KUWx9UWGQD12zsmLNj64/pndaz4iJh/Pj7nopgkfDG6RlCcbMZvT6+9l7dchK4idog2Is8VdC/PvNbFuFmalIQ==",
+ "dependencies": {
+ "xtend": "~4.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/aes-js": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz",
+ "integrity": "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/ajv": {
+ "version": "6.11.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.11.0.tgz",
+ "integrity": "sha512-nCprB/0syFYy9fVYU1ox1l2KN8S9I+tziH8D4zdZuLT3N6RMlGSGt5FSTpAiHB/Whv8Qs1cWHma1aMKZyaHRKA==",
+ "dependencies": {
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ansi-colors": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-1.1.0.tgz",
+ "integrity": "sha512-SFKX67auSNoVR38N3L+nvsPjOE0bybKTYbkf5tRvushrAPQ9V75huw0ZxBkKVeRU9kqH3d6HA4xTckbwZ4ixmA==",
+ "dependencies": {
+ "ansi-wrap": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ansi-gray": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-gray/-/ansi-gray-0.1.1.tgz",
+ "integrity": "sha1-KWLPVOyXksSFEKPetSRDaGHvclE=",
+ "dependencies": {
+ "ansi-wrap": "0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ansi-regex": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ansi-wrap": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-wrap/-/ansi-wrap-0.1.0.tgz",
+ "integrity": "sha1-qCJQ3bABXponyoLoLqYDu/pF768=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/any-promise": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
+ "integrity": "sha1-q8av7tzqUugJzcA3au0845Y10X8="
+ },
+ "node_modules/ganache-core/node_modules/anymatch": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",
+ "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",
+ "dependencies": {
+ "micromatch": "^3.1.4",
+ "normalize-path": "^2.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/append-buffer": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/append-buffer/-/append-buffer-1.0.2.tgz",
+ "integrity": "sha1-2CIM9GYIFSXv6lBhTz3mUU36WPE=",
+ "dependencies": {
+ "buffer-equal": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/archy": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz",
+ "integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA="
+ },
+ "node_modules/ganache-core/node_modules/arr-diff": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz",
+ "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/arr-filter": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/arr-filter/-/arr-filter-1.1.2.tgz",
+ "integrity": "sha1-Q/3d0JHo7xGqTEXZzcGOLf8XEe4=",
+ "dependencies": {
+ "make-iterator": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/arr-flatten": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",
+ "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/arr-map": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/arr-map/-/arr-map-2.0.2.tgz",
+ "integrity": "sha1-Onc0X/wc814qkYJWAfnljy4kysQ=",
+ "dependencies": {
+ "make-iterator": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/arr-union": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz",
+ "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/array-each": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/array-each/-/array-each-1.0.1.tgz",
+ "integrity": "sha1-p5SvDAWrF1KEbudTofIRoFugxE8=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/array-initial": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/array-initial/-/array-initial-1.1.0.tgz",
+ "integrity": "sha1-L6dLJnOTccOUe9enrcc74zSz15U=",
+ "dependencies": {
+ "array-slice": "^1.0.0",
+ "is-number": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/array-initial/node_modules/is-number": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz",
+ "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/array-last": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/array-last/-/array-last-1.3.0.tgz",
+ "integrity": "sha512-eOCut5rXlI6aCOS7Z7kCplKRKyiFQ6dHFBem4PwlwKeNFk2/XxTrhRh5T9PyaEWGy/NHTZWbY+nsZlNFJu9rYg==",
+ "dependencies": {
+ "is-number": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/array-last/node_modules/is-number": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz",
+ "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/array-slice": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-1.1.0.tgz",
+ "integrity": "sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/array-sort": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/array-sort/-/array-sort-1.0.0.tgz",
+ "integrity": "sha512-ihLeJkonmdiAsD7vpgN3CRcx2J2S0TiYW+IS/5zHBI7mKUq3ySvBdzzBfD236ubDBQFiiyG3SWCPc+msQ9KoYg==",
+ "dependencies": {
+ "default-compare": "^1.0.0",
+ "get-value": "^2.0.6",
+ "kind-of": "^5.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/array-sort/node_modules/kind-of": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz",
+ "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/array-unique": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
+ "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/asn1": {
+ "version": "0.2.4",
+ "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
+ "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",
+ "dependencies": {
+ "safer-buffer": "~2.1.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/assert-plus": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
+ "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/ganache-core/node_modules/assign-symbols": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",
+ "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/async": {
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/async/-/async-2.6.2.tgz",
+ "integrity": "sha512-H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg==",
+ "dependencies": {
+ "lodash": "^4.17.11"
+ }
+ },
+ "node_modules/ganache-core/node_modules/async-done": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/async-done/-/async-done-1.3.2.tgz",
+ "integrity": "sha512-uYkTP8dw2og1tu1nmza1n1CMW0qb8gWWlwqMmLb7MhBVs4BXrFziT6HXUd+/RlRA/i4H9AkofYloUbs1fwMqlw==",
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.2",
+ "process-nextick-args": "^2.0.0",
+ "stream-exhaust": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/async-each": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz",
+ "integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ=="
+ },
+ "node_modules/ganache-core/node_modules/async-eventemitter": {
+ "version": "0.2.4",
+ "resolved": "https://registry.npmjs.org/async-eventemitter/-/async-eventemitter-0.2.4.tgz",
+ "integrity": "sha512-pd20BwL7Yt1zwDFy+8MX8F1+WCT8aQeKj0kQnTrH9WaeRETlRamVhD0JtRPmrV4GfOJ2F9CvdQkZeZhnh2TuHw==",
+ "dependencies": {
+ "async": "^2.4.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/async-limiter": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz",
+ "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ=="
+ },
+ "node_modules/ganache-core/node_modules/async-settle": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/async-settle/-/async-settle-1.0.0.tgz",
+ "integrity": "sha1-HQqRS7Aldb7IqPOnTlCA9yssDGs=",
+ "dependencies": {
+ "async-done": "^1.2.2"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/asynckit": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
+ "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
+ },
+ "node_modules/ganache-core/node_modules/atob": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
+ "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",
+ "bin": {
+ "atob": "bin/atob.js"
+ },
+ "engines": {
+ "node": ">= 4.5.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/aws-sign2": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
+ "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/ganache-core/node_modules/aws4": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.9.1.tgz",
+ "integrity": "sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug=="
+ },
+ "node_modules/ganache-core/node_modules/babel-code-frame": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz",
+ "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=",
+ "dependencies": {
+ "chalk": "^1.1.3",
+ "esutils": "^2.0.2",
+ "js-tokens": "^3.0.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-core": {
+ "version": "6.26.3",
+ "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz",
+ "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==",
+ "dependencies": {
+ "babel-code-frame": "^6.26.0",
+ "babel-generator": "^6.26.0",
+ "babel-helpers": "^6.24.1",
+ "babel-messages": "^6.23.0",
+ "babel-register": "^6.26.0",
+ "babel-runtime": "^6.26.0",
+ "babel-template": "^6.26.0",
+ "babel-traverse": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "babylon": "^6.18.0",
+ "convert-source-map": "^1.5.1",
+ "debug": "^2.6.9",
+ "json5": "^0.5.1",
+ "lodash": "^4.17.4",
+ "minimatch": "^3.0.4",
+ "path-is-absolute": "^1.0.1",
+ "private": "^0.1.8",
+ "slash": "^1.0.0",
+ "source-map": "^0.5.7"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-core/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-core/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ },
+ "node_modules/ganache-core/node_modules/babel-core/node_modules/source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-generator": {
+ "version": "6.26.1",
+ "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz",
+ "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==",
+ "dependencies": {
+ "babel-messages": "^6.23.0",
+ "babel-runtime": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "detect-indent": "^4.0.0",
+ "jsesc": "^1.3.0",
+ "lodash": "^4.17.4",
+ "source-map": "^0.5.7",
+ "trim-right": "^1.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-generator/node_modules/jsesc": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz",
+ "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=",
+ "bin": {
+ "jsesc": "bin/jsesc"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-generator/node_modules/source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-helper-builder-binary-assignment-operator-visitor": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz",
+ "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=",
+ "dependencies": {
+ "babel-helper-explode-assignable-expression": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-helper-call-delegate": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz",
+ "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=",
+ "dependencies": {
+ "babel-helper-hoist-variables": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-helper-define-map": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz",
+ "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=",
+ "dependencies": {
+ "babel-helper-function-name": "^6.24.1",
+ "babel-runtime": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "lodash": "^4.17.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-helper-explode-assignable-expression": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz",
+ "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-helper-function-name": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz",
+ "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=",
+ "dependencies": {
+ "babel-helper-get-function-arity": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-helper-get-function-arity": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz",
+ "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-helper-hoist-variables": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz",
+ "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-helper-optimise-call-expression": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz",
+ "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-helper-regex": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz",
+ "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=",
+ "dependencies": {
+ "babel-runtime": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "lodash": "^4.17.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-helper-remap-async-to-generator": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz",
+ "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=",
+ "dependencies": {
+ "babel-helper-function-name": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-helper-replace-supers": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz",
+ "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=",
+ "dependencies": {
+ "babel-helper-optimise-call-expression": "^6.24.1",
+ "babel-messages": "^6.23.0",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-helpers": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz",
+ "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-messages": {
+ "version": "6.23.0",
+ "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz",
+ "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-check-es2015-constants": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz",
+ "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-syntax-async-functions": {
+ "version": "6.13.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz",
+ "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU="
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-syntax-exponentiation-operator": {
+ "version": "6.13.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz",
+ "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4="
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-syntax-trailing-function-commas": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz",
+ "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM="
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-async-to-generator": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz",
+ "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=",
+ "dependencies": {
+ "babel-helper-remap-async-to-generator": "^6.24.1",
+ "babel-plugin-syntax-async-functions": "^6.8.0",
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-arrow-functions": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz",
+ "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-block-scoped-functions": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz",
+ "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-block-scoping": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz",
+ "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=",
+ "dependencies": {
+ "babel-runtime": "^6.26.0",
+ "babel-template": "^6.26.0",
+ "babel-traverse": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "lodash": "^4.17.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-classes": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz",
+ "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=",
+ "dependencies": {
+ "babel-helper-define-map": "^6.24.1",
+ "babel-helper-function-name": "^6.24.1",
+ "babel-helper-optimise-call-expression": "^6.24.1",
+ "babel-helper-replace-supers": "^6.24.1",
+ "babel-messages": "^6.23.0",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-computed-properties": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz",
+ "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-destructuring": {
+ "version": "6.23.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz",
+ "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-duplicate-keys": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz",
+ "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-for-of": {
+ "version": "6.23.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz",
+ "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-function-name": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz",
+ "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=",
+ "dependencies": {
+ "babel-helper-function-name": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-literals": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz",
+ "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-modules-amd": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz",
+ "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=",
+ "dependencies": {
+ "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-modules-commonjs": {
+ "version": "6.26.2",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz",
+ "integrity": "sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==",
+ "dependencies": {
+ "babel-plugin-transform-strict-mode": "^6.24.1",
+ "babel-runtime": "^6.26.0",
+ "babel-template": "^6.26.0",
+ "babel-types": "^6.26.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-modules-systemjs": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz",
+ "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=",
+ "dependencies": {
+ "babel-helper-hoist-variables": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-modules-umd": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz",
+ "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=",
+ "dependencies": {
+ "babel-plugin-transform-es2015-modules-amd": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-object-super": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz",
+ "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=",
+ "dependencies": {
+ "babel-helper-replace-supers": "^6.24.1",
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-parameters": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz",
+ "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=",
+ "dependencies": {
+ "babel-helper-call-delegate": "^6.24.1",
+ "babel-helper-get-function-arity": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-shorthand-properties": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz",
+ "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-spread": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz",
+ "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-sticky-regex": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz",
+ "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=",
+ "dependencies": {
+ "babel-helper-regex": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-template-literals": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz",
+ "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-typeof-symbol": {
+ "version": "6.23.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz",
+ "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-unicode-regex": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz",
+ "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=",
+ "dependencies": {
+ "babel-helper-regex": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "regexpu-core": "^2.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-exponentiation-operator": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz",
+ "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=",
+ "dependencies": {
+ "babel-helper-builder-binary-assignment-operator-visitor": "^6.24.1",
+ "babel-plugin-syntax-exponentiation-operator": "^6.8.0",
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-regenerator": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz",
+ "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=",
+ "dependencies": {
+ "regenerator-transform": "^0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-plugin-transform-strict-mode": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz",
+ "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=",
+ "dependencies": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-preset-env": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz",
+ "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==",
+ "dependencies": {
+ "babel-plugin-check-es2015-constants": "^6.22.0",
+ "babel-plugin-syntax-trailing-function-commas": "^6.22.0",
+ "babel-plugin-transform-async-to-generator": "^6.22.0",
+ "babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
+ "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0",
+ "babel-plugin-transform-es2015-block-scoping": "^6.23.0",
+ "babel-plugin-transform-es2015-classes": "^6.23.0",
+ "babel-plugin-transform-es2015-computed-properties": "^6.22.0",
+ "babel-plugin-transform-es2015-destructuring": "^6.23.0",
+ "babel-plugin-transform-es2015-duplicate-keys": "^6.22.0",
+ "babel-plugin-transform-es2015-for-of": "^6.23.0",
+ "babel-plugin-transform-es2015-function-name": "^6.22.0",
+ "babel-plugin-transform-es2015-literals": "^6.22.0",
+ "babel-plugin-transform-es2015-modules-amd": "^6.22.0",
+ "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
+ "babel-plugin-transform-es2015-modules-systemjs": "^6.23.0",
+ "babel-plugin-transform-es2015-modules-umd": "^6.23.0",
+ "babel-plugin-transform-es2015-object-super": "^6.22.0",
+ "babel-plugin-transform-es2015-parameters": "^6.23.0",
+ "babel-plugin-transform-es2015-shorthand-properties": "^6.22.0",
+ "babel-plugin-transform-es2015-spread": "^6.22.0",
+ "babel-plugin-transform-es2015-sticky-regex": "^6.22.0",
+ "babel-plugin-transform-es2015-template-literals": "^6.22.0",
+ "babel-plugin-transform-es2015-typeof-symbol": "^6.23.0",
+ "babel-plugin-transform-es2015-unicode-regex": "^6.22.0",
+ "babel-plugin-transform-exponentiation-operator": "^6.22.0",
+ "babel-plugin-transform-regenerator": "^6.22.0",
+ "browserslist": "^3.2.6",
+ "invariant": "^2.2.2",
+ "semver": "^5.3.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-preset-env/node_modules/semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "bin": {
+ "semver": "bin/semver"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-register": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz",
+ "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=",
+ "dependencies": {
+ "babel-core": "^6.26.0",
+ "babel-runtime": "^6.26.0",
+ "core-js": "^2.5.0",
+ "home-or-tmp": "^2.0.0",
+ "lodash": "^4.17.4",
+ "mkdirp": "^0.5.1",
+ "source-map-support": "^0.4.15"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-register/node_modules/mkdirp": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
+ "dependencies": {
+ "minimist": "0.0.8"
+ },
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-register/node_modules/source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-register/node_modules/source-map-support": {
+ "version": "0.4.18",
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz",
+ "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==",
+ "dependencies": {
+ "source-map": "^0.5.6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-runtime": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
+ "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
+ "dependencies": {
+ "core-js": "^2.4.0",
+ "regenerator-runtime": "^0.11.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-template": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz",
+ "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=",
+ "dependencies": {
+ "babel-runtime": "^6.26.0",
+ "babel-traverse": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "babylon": "^6.18.0",
+ "lodash": "^4.17.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-traverse": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz",
+ "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=",
+ "dependencies": {
+ "babel-code-frame": "^6.26.0",
+ "babel-messages": "^6.23.0",
+ "babel-runtime": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "babylon": "^6.18.0",
+ "debug": "^2.6.8",
+ "globals": "^9.18.0",
+ "invariant": "^2.2.2",
+ "lodash": "^4.17.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-traverse/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babel-traverse/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ },
+ "node_modules/ganache-core/node_modules/babel-types": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz",
+ "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=",
+ "dependencies": {
+ "babel-runtime": "^6.26.0",
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.4",
+ "to-fast-properties": "^1.0.3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babelify": {
+ "version": "7.3.0",
+ "resolved": "https://registry.npmjs.org/babelify/-/babelify-7.3.0.tgz",
+ "integrity": "sha1-qlau3nBn/XvVSWZu4W3ChQh+iOU=",
+ "dependencies": {
+ "babel-core": "^6.0.14",
+ "object-assign": "^4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/babylon": {
+ "version": "6.18.0",
+ "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz",
+ "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==",
+ "bin": {
+ "babylon": "bin/babylon.js"
+ }
+ },
+ "node_modules/ganache-core/node_modules/bach": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/bach/-/bach-1.2.0.tgz",
+ "integrity": "sha1-Szzpa/JxNPeaG0FKUcFONMO9mIA=",
+ "dependencies": {
+ "arr-filter": "^1.1.1",
+ "arr-flatten": "^1.0.1",
+ "arr-map": "^2.0.0",
+ "array-each": "^1.0.0",
+ "array-initial": "^1.0.0",
+ "array-last": "^1.1.1",
+ "async-done": "^1.2.2",
+ "async-settle": "^1.0.0",
+ "now-and-later": "^2.0.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/backoff": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/backoff/-/backoff-2.5.0.tgz",
+ "integrity": "sha1-9hbtqdPktmuMp/ynn2lXIsX44m8=",
+ "dependencies": {
+ "precond": "0.2"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/balanced-match": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
+ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
+ },
+ "node_modules/ganache-core/node_modules/base": {
+ "version": "0.11.2",
+ "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz",
+ "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==",
+ "dependencies": {
+ "cache-base": "^1.0.1",
+ "class-utils": "^0.3.5",
+ "component-emitter": "^1.2.1",
+ "define-property": "^1.0.0",
+ "isobject": "^3.0.1",
+ "mixin-deep": "^1.2.0",
+ "pascalcase": "^0.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/base-x": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.7.tgz",
+ "integrity": "sha512-zAKJGuQPihXW22fkrfOclUUZXM2g92z5GzlSMHxhO6r6Qj+Nm0ccaGNBzDZojzwOMkpjAv4J0fOv1U4go+a4iw==",
+ "optional": true,
+ "dependencies": {
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/base/node_modules/define-property": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
+ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
+ "dependencies": {
+ "is-descriptor": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/base/node_modules/is-accessor-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/base/node_modules/is-data-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/base/node_modules/is-descriptor": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
+ "dependencies": {
+ "is-accessor-descriptor": "^1.0.0",
+ "is-data-descriptor": "^1.0.0",
+ "kind-of": "^6.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/bcrypt-pbkdf": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
+ "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
+ "dependencies": {
+ "tweetnacl": "^0.14.3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/bcrypt-pbkdf/node_modules/tweetnacl": {
+ "version": "0.14.5",
+ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
+ "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
+ },
+ "node_modules/ganache-core/node_modules/binary-extensions": {
+ "version": "1.13.1",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",
+ "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/bindings": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
+ "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
+ "dependencies": {
+ "file-uri-to-path": "1.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/bip39": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/bip39/-/bip39-2.5.0.tgz",
+ "integrity": "sha512-xwIx/8JKoT2+IPJpFEfXoWdYwP7UVAoUxxLNfGCfVowaJE7yg1Y5B1BVPqlUNsBq5/nGwmFkwRJ8xDW4sX8OdA==",
+ "dependencies": {
+ "create-hash": "^1.1.0",
+ "pbkdf2": "^3.0.9",
+ "randombytes": "^2.0.1",
+ "safe-buffer": "^5.0.1",
+ "unorm": "^1.3.3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/bip66": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz",
+ "integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=",
+ "dependencies": {
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/bl": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz",
+ "integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==",
+ "dependencies": {
+ "readable-stream": "^2.3.5",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/bluebird": {
+ "version": "3.7.2",
+ "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
+ "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg=="
+ },
+ "node_modules/ganache-core/node_modules/bn.js": {
+ "version": "4.11.8",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",
+ "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA=="
+ },
+ "node_modules/ganache-core/node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/braces": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",
+ "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",
+ "dependencies": {
+ "arr-flatten": "^1.1.0",
+ "array-unique": "^0.3.2",
+ "extend-shallow": "^2.0.1",
+ "fill-range": "^4.0.0",
+ "isobject": "^3.0.1",
+ "repeat-element": "^1.1.2",
+ "snapdragon": "^0.8.1",
+ "snapdragon-node": "^2.0.1",
+ "split-string": "^3.0.2",
+ "to-regex": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/braces/node_modules/extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "dependencies": {
+ "is-extendable": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/brorand": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",
+ "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8="
+ },
+ "node_modules/ganache-core/node_modules/browserify-aes": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
+ "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",
+ "dependencies": {
+ "buffer-xor": "^1.0.3",
+ "cipher-base": "^1.0.0",
+ "create-hash": "^1.1.0",
+ "evp_bytestokey": "^1.0.3",
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/browserify-sha3": {
+ "version": "0.0.4",
+ "resolved": "https://registry.npmjs.org/browserify-sha3/-/browserify-sha3-0.0.4.tgz",
+ "integrity": "sha1-CGxHuMgjFsnUcCLCYYWVRXbdjiY=",
+ "dependencies": {
+ "js-sha3": "^0.6.1",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/browserslist": {
+ "version": "3.2.8",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz",
+ "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==",
+ "dependencies": {
+ "caniuse-lite": "^1.0.30000844",
+ "electron-to-chromium": "^1.3.47"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ }
+ },
+ "node_modules/ganache-core/node_modules/bs58": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz",
+ "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=",
+ "optional": true,
+ "dependencies": {
+ "base-x": "^3.0.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/bs58check": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz",
+ "integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==",
+ "optional": true,
+ "dependencies": {
+ "bs58": "^4.0.0",
+ "create-hash": "^1.1.0",
+ "safe-buffer": "^5.1.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/buffer-alloc": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz",
+ "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==",
+ "dependencies": {
+ "buffer-alloc-unsafe": "^1.1.0",
+ "buffer-fill": "^1.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/buffer-alloc-unsafe": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz",
+ "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg=="
+ },
+ "node_modules/ganache-core/node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
+ "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/ganache-core/node_modules/buffer-equal": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/buffer-equal/-/buffer-equal-1.0.0.tgz",
+ "integrity": "sha1-WWFrSYME1Var1GaWayLu2j7KX74=",
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/buffer-fill": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz",
+ "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw="
+ },
+ "node_modules/ganache-core/node_modules/buffer-from": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
+ "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A=="
+ },
+ "node_modules/ganache-core/node_modules/buffer-xor": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz",
+ "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk="
+ },
+ "node_modules/ganache-core/node_modules/bytewise": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/bytewise/-/bytewise-1.1.0.tgz",
+ "integrity": "sha1-HRPL/3F65xWAlKqIGzXQgbOHJT4=",
+ "dependencies": {
+ "bytewise-core": "^1.2.2",
+ "typewise": "^1.0.3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/bytewise-core": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/bytewise-core/-/bytewise-core-1.2.3.tgz",
+ "integrity": "sha1-P7QQx+kVWOsasiqCg0V3qmvWHUI=",
+ "dependencies": {
+ "typewise-core": "^1.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/cache-base": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
+ "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==",
+ "dependencies": {
+ "collection-visit": "^1.0.0",
+ "component-emitter": "^1.2.1",
+ "get-value": "^2.0.6",
+ "has-value": "^1.0.0",
+ "isobject": "^3.0.1",
+ "set-value": "^2.0.0",
+ "to-object-path": "^0.3.0",
+ "union-value": "^1.0.0",
+ "unset-value": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/cacheable-request": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
+ "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==",
+ "dependencies": {
+ "clone-response": "^1.0.2",
+ "get-stream": "^5.1.0",
+ "http-cache-semantics": "^4.0.0",
+ "keyv": "^3.0.0",
+ "lowercase-keys": "^2.0.0",
+ "normalize-url": "^4.1.0",
+ "responselike": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ganache-core/node_modules/cacheable-request/node_modules/get-stream": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz",
+ "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==",
+ "dependencies": {
+ "pump": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ganache-core/node_modules/cacheable-request/node_modules/lowercase-keys": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
+ "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ganache-core/node_modules/cachedown": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/cachedown/-/cachedown-1.0.0.tgz",
+ "integrity": "sha1-1D8DbkUQaWsxJG19sx6/D3rDLRU=",
+ "dependencies": {
+ "abstract-leveldown": "^2.4.1",
+ "lru-cache": "^3.2.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/cachedown/node_modules/abstract-leveldown": {
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-2.7.2.tgz",
+ "integrity": "sha512-+OVvxH2rHVEhWLdbudP6p0+dNMXu8JA1CbhP19T8paTYAcX7oJ4OVjT+ZUVpv7mITxXHqDMej+GdqXBmXkw09w==",
+ "dependencies": {
+ "xtend": "~4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/camelcase": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",
+ "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/caseless": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
+ "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
+ },
+ "node_modules/ganache-core/node_modules/chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
+ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "dependencies": {
+ "ansi-styles": "^2.2.1",
+ "escape-string-regexp": "^1.0.2",
+ "has-ansi": "^2.0.0",
+ "strip-ansi": "^3.0.0",
+ "supports-color": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/checkpoint-store": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/checkpoint-store/-/checkpoint-store-1.1.0.tgz",
+ "integrity": "sha1-BOTLUWuRQziTWB5tRgGnjpVS6gY=",
+ "dependencies": {
+ "functional-red-black-tree": "^1.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/chokidar": {
+ "version": "2.1.8",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz",
+ "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==",
+ "dependencies": {
+ "anymatch": "^2.0.0",
+ "async-each": "^1.0.1",
+ "braces": "^2.3.2",
+ "glob-parent": "^3.1.0",
+ "inherits": "^2.0.3",
+ "is-binary-path": "^1.0.0",
+ "is-glob": "^4.0.0",
+ "normalize-path": "^3.0.0",
+ "path-is-absolute": "^1.0.0",
+ "readdirp": "^2.2.1",
+ "upath": "^1.1.1"
+ },
+ "optionalDependencies": {
+ "fsevents": "^1.2.7"
+ }
+ },
+ "node_modules/ganache-core/node_modules/chokidar/node_modules/normalize-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/chownr": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.3.tgz",
+ "integrity": "sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw=="
+ },
+ "node_modules/ganache-core/node_modules/cipher-base": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz",
+ "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==",
+ "dependencies": {
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/class-utils": {
+ "version": "0.3.6",
+ "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
+ "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==",
+ "dependencies": {
+ "arr-union": "^3.1.0",
+ "define-property": "^0.2.5",
+ "isobject": "^3.0.0",
+ "static-extend": "^0.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/class-utils/node_modules/define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "dependencies": {
+ "is-descriptor": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/cliui": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz",
+ "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=",
+ "dependencies": {
+ "string-width": "^1.0.1",
+ "strip-ansi": "^3.0.1",
+ "wrap-ansi": "^2.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/clone": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
+ "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=",
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/ganache-core/node_modules/clone-response": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",
+ "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=",
+ "dependencies": {
+ "mimic-response": "^1.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/clone-stats": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-1.0.0.tgz",
+ "integrity": "sha1-s3gt/4u1R04Yuba/D9/ngvh3doA="
+ },
+ "node_modules/ganache-core/node_modules/cloneable-readable": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/cloneable-readable/-/cloneable-readable-1.1.3.tgz",
+ "integrity": "sha512-2EF8zTQOxYq70Y4XKtorQupqF0m49MBz2/yf5Bj+MHjvpG3Hy7sImifnqD6UA+TKYxeSV+u6qqQPawN5UvnpKQ==",
+ "dependencies": {
+ "inherits": "^2.0.1",
+ "process-nextick-args": "^2.0.0",
+ "readable-stream": "^2.3.5"
+ }
+ },
+ "node_modules/ganache-core/node_modules/code-point-at": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
+ "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/coinstring": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/coinstring/-/coinstring-2.3.0.tgz",
+ "integrity": "sha1-zbYzY6lhUCQEolr7gsLibV/2J6Q=",
+ "optional": true,
+ "dependencies": {
+ "bs58": "^2.0.1",
+ "create-hash": "^1.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/coinstring/node_modules/bs58": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-2.0.1.tgz",
+ "integrity": "sha1-VZCNWPGYKrogCPob7Y+RmYopv40=",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/collection-map": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/collection-map/-/collection-map-1.0.0.tgz",
+ "integrity": "sha1-rqDwb40mx4DCt1SUOFVEsiVa8Yw=",
+ "dependencies": {
+ "arr-map": "^2.0.2",
+ "for-own": "^1.0.0",
+ "make-iterator": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/collection-visit": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz",
+ "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=",
+ "dependencies": {
+ "map-visit": "^1.0.0",
+ "object-visit": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/color-support": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz",
+ "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==",
+ "bin": {
+ "color-support": "bin.js"
+ }
+ },
+ "node_modules/ganache-core/node_modules/commander": {
+ "version": "2.8.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz",
+ "integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=",
+ "dependencies": {
+ "graceful-readlink": ">= 1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.6.x"
+ }
+ },
+ "node_modules/ganache-core/node_modules/component-emitter": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",
+ "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg=="
+ },
+ "node_modules/ganache-core/node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
+ },
+ "node_modules/ganache-core/node_modules/concat-stream": {
+ "version": "1.6.2",
+ "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",
+ "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",
+ "engines": [
+ "node >= 0.8"
+ ],
+ "dependencies": {
+ "buffer-from": "^1.0.0",
+ "inherits": "^2.0.3",
+ "readable-stream": "^2.2.2",
+ "typedarray": "^0.0.6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/convert-source-map": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz",
+ "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==",
+ "dependencies": {
+ "safe-buffer": "~5.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/convert-source-map/node_modules/safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
+ },
+ "node_modules/ganache-core/node_modules/copy-descriptor": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",
+ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/copy-props": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/copy-props/-/copy-props-2.0.4.tgz",
+ "integrity": "sha512-7cjuUME+p+S3HZlbllgsn2CDwS+5eCCX16qBgNC4jgSTf49qR1VKy/Zhl400m0IQXl/bPGEVqncgUUMjrr4s8A==",
+ "dependencies": {
+ "each-props": "^1.3.0",
+ "is-plain-object": "^2.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/core-js": {
+ "version": "2.6.11",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz",
+ "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=="
+ },
+ "node_modules/ganache-core/node_modules/core-js-pure": {
+ "version": "3.6.4",
+ "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.6.4.tgz",
+ "integrity": "sha512-epIhRLkXdgv32xIUFaaAry2wdxZYBi6bgM7cB136dzzXXa+dFyRLTZeLUJxnd8ShrmyVXBub63n2NHo2JAt8Cw=="
+ },
+ "node_modules/ganache-core/node_modules/core-util-is": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
+ "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
+ },
+ "node_modules/ganache-core/node_modules/create-hash": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz",
+ "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==",
+ "dependencies": {
+ "cipher-base": "^1.0.1",
+ "inherits": "^2.0.1",
+ "md5.js": "^1.3.4",
+ "ripemd160": "^2.0.1",
+ "sha.js": "^2.4.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/create-hmac": {
+ "version": "1.1.7",
+ "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz",
+ "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==",
+ "dependencies": {
+ "cipher-base": "^1.0.3",
+ "create-hash": "^1.1.0",
+ "inherits": "^2.0.1",
+ "ripemd160": "^2.0.0",
+ "safe-buffer": "^5.0.1",
+ "sha.js": "^2.4.8"
+ }
+ },
+ "node_modules/ganache-core/node_modules/cross-fetch": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-2.2.3.tgz",
+ "integrity": "sha512-PrWWNH3yL2NYIb/7WF/5vFG3DCQiXDOVf8k3ijatbrtnwNuhMWLC7YF7uqf53tbTFDzHIUD8oITw4Bxt8ST3Nw==",
+ "dependencies": {
+ "node-fetch": "2.1.2",
+ "whatwg-fetch": "2.0.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/dashdash": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
+ "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
+ "dependencies": {
+ "assert-plus": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/debug": {
+ "version": "3.2.6",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",
+ "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/decamelize": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
+ "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/decode-uri-component": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz",
+ "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=",
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/decompress": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/decompress/-/decompress-4.2.0.tgz",
+ "integrity": "sha1-eu3YVCflqS2s/lVnSnxQXpbQH50=",
+ "dependencies": {
+ "decompress-tar": "^4.0.0",
+ "decompress-tarbz2": "^4.0.0",
+ "decompress-targz": "^4.0.0",
+ "decompress-unzip": "^4.0.1",
+ "graceful-fs": "^4.1.10",
+ "make-dir": "^1.0.0",
+ "pify": "^2.3.0",
+ "strip-dirs": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/decompress-response": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz",
+ "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=",
+ "dependencies": {
+ "mimic-response": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/decompress-tar": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/decompress-tar/-/decompress-tar-4.1.1.tgz",
+ "integrity": "sha512-JdJMaCrGpB5fESVyxwpCx4Jdj2AagLmv3y58Qy4GE6HMVjWz1FeVQk1Ct4Kye7PftcdOo/7U7UKzYBJgqnGeUQ==",
+ "dependencies": {
+ "file-type": "^5.2.0",
+ "is-stream": "^1.1.0",
+ "tar-stream": "^1.5.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/decompress-tarbz2": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/decompress-tarbz2/-/decompress-tarbz2-4.1.1.tgz",
+ "integrity": "sha512-s88xLzf1r81ICXLAVQVzaN6ZmX4A6U4z2nMbOwobxkLoIIfjVMBg7TeguTUXkKeXni795B6y5rnvDw7rxhAq9A==",
+ "dependencies": {
+ "decompress-tar": "^4.1.0",
+ "file-type": "^6.1.0",
+ "is-stream": "^1.1.0",
+ "seek-bzip": "^1.0.5",
+ "unbzip2-stream": "^1.0.9"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/decompress-tarbz2/node_modules/file-type": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/file-type/-/file-type-6.2.0.tgz",
+ "integrity": "sha512-YPcTBDV+2Tm0VqjybVd32MHdlEGAtuxS3VAYsumFokDSMG+ROT5wawGlnHDoz7bfMcMDt9hxuXvXwoKUx2fkOg==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/decompress-targz": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/decompress-targz/-/decompress-targz-4.1.1.tgz",
+ "integrity": "sha512-4z81Znfr6chWnRDNfFNqLwPvm4db3WuZkqV+UgXQzSngG3CEKdBkw5jrv3axjjL96glyiiKjsxJG3X6WBZwX3w==",
+ "dependencies": {
+ "decompress-tar": "^4.1.1",
+ "file-type": "^5.2.0",
+ "is-stream": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/decompress-unzip": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/decompress-unzip/-/decompress-unzip-4.0.1.tgz",
+ "integrity": "sha1-3qrM39FK6vhVePczroIQ+bSEj2k=",
+ "dependencies": {
+ "file-type": "^3.8.0",
+ "get-stream": "^2.2.0",
+ "pify": "^2.3.0",
+ "yauzl": "^2.4.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/decompress-unzip/node_modules/file-type": {
+ "version": "3.9.0",
+ "resolved": "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz",
+ "integrity": "sha1-JXoHg4TR24CHvESdEH1SpSZyuek=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/decompress-unzip/node_modules/get-stream": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-2.3.1.tgz",
+ "integrity": "sha1-Xzj5PzRgCWZu4BUKBUFn+Rvdld4=",
+ "dependencies": {
+ "object-assign": "^4.0.1",
+ "pinkie-promise": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/decompress-unzip/node_modules/pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/decompress/node_modules/pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/deep-equal": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz",
+ "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==",
+ "dependencies": {
+ "is-arguments": "^1.0.4",
+ "is-date-object": "^1.0.1",
+ "is-regex": "^1.0.4",
+ "object-is": "^1.0.1",
+ "object-keys": "^1.1.1",
+ "regexp.prototype.flags": "^1.2.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/deep-equal/node_modules/object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/default-compare": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/default-compare/-/default-compare-1.0.0.tgz",
+ "integrity": "sha512-QWfXlM0EkAbqOCbD/6HjdwT19j7WCkMyiRhWilc4H9/5h/RzTF9gv5LYh1+CmDV5d1rki6KAWLtQale0xt20eQ==",
+ "dependencies": {
+ "kind-of": "^5.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/default-compare/node_modules/kind-of": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz",
+ "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/default-resolution": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/default-resolution/-/default-resolution-2.0.0.tgz",
+ "integrity": "sha1-vLgrqnKtebQmp2cy8aga1t8m1oQ=",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/defer-to-connect": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz",
+ "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ=="
+ },
+ "node_modules/ganache-core/node_modules/deferred-leveldown": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-1.2.2.tgz",
+ "integrity": "sha512-uukrWD2bguRtXilKt6cAWKyoXrTSMo5m7crUdLfWQmu8kIm88w3QZoUL+6nhpfKVmhHANER6Re3sKoNoZ3IKMA==",
+ "dependencies": {
+ "abstract-leveldown": "~2.6.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/deferred-leveldown/node_modules/abstract-leveldown": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-2.6.3.tgz",
+ "integrity": "sha512-2++wDf/DYqkPR3o5tbfdhF96EfMApo1GpPfzOsR/ZYXdkSmELlvOOEAl9iKkRsktMPHdGjO4rtkBpf2I7TiTeA==",
+ "dependencies": {
+ "xtend": "~4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/define-properties": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
+ "dependencies": {
+ "object-keys": "^1.0.12"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/define-properties/node_modules/object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/define-property": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz",
+ "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==",
+ "dependencies": {
+ "is-descriptor": "^1.0.2",
+ "isobject": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/define-property/node_modules/is-accessor-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/define-property/node_modules/is-data-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/define-property/node_modules/is-descriptor": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
+ "dependencies": {
+ "is-accessor-descriptor": "^1.0.0",
+ "is-data-descriptor": "^1.0.0",
+ "kind-of": "^6.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/defined": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
+ "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM="
+ },
+ "node_modules/ganache-core/node_modules/detect-file": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz",
+ "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/detect-indent": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz",
+ "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=",
+ "dependencies": {
+ "repeating": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/dom-walk": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz",
+ "integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg="
+ },
+ "node_modules/ganache-core/node_modules/dotignore": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/dotignore/-/dotignore-0.1.2.tgz",
+ "integrity": "sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw==",
+ "dependencies": {
+ "minimatch": "^3.0.4"
+ },
+ "bin": {
+ "ignored": "bin/ignored"
+ }
+ },
+ "node_modules/ganache-core/node_modules/drbg.js": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz",
+ "integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=",
+ "dependencies": {
+ "browserify-aes": "^1.0.6",
+ "create-hash": "^1.1.2",
+ "create-hmac": "^1.1.4"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/duplexer3": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz",
+ "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI="
+ },
+ "node_modules/ganache-core/node_modules/duplexify": {
+ "version": "3.7.1",
+ "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz",
+ "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==",
+ "dependencies": {
+ "end-of-stream": "^1.0.0",
+ "inherits": "^2.0.1",
+ "readable-stream": "^2.0.0",
+ "stream-shift": "^1.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/each-props": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/each-props/-/each-props-1.3.2.tgz",
+ "integrity": "sha512-vV0Hem3zAGkJAyU7JSjixeU66rwdynTAa1vofCrSA5fEln+m67Az9CcnkVD776/fsN/UjIWmBDoNRS6t6G9RfA==",
+ "dependencies": {
+ "is-plain-object": "^2.0.1",
+ "object.defaults": "^1.1.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ecc-jsbn": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
+ "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
+ "dependencies": {
+ "jsbn": "~0.1.0",
+ "safer-buffer": "^2.1.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/encoding-down": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/encoding-down/-/encoding-down-5.0.4.tgz",
+ "integrity": "sha512-8CIZLDcSKxgzT+zX8ZVfgNbu8Md2wq/iqa1Y7zyVR18QBEAc0Nmzuvj/N5ykSKpfGzjM8qxbaFntLPwnVoUhZw==",
+ "dependencies": {
+ "abstract-leveldown": "^5.0.0",
+ "inherits": "^2.0.3",
+ "level-codec": "^9.0.0",
+ "level-errors": "^2.0.0",
+ "xtend": "^4.0.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/encoding-down/node_modules/abstract-leveldown": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-5.0.0.tgz",
+ "integrity": "sha512-5mU5P1gXtsMIXg65/rsYGsi93+MlogXZ9FA8JnwKurHQg64bfXwGYVdVdijNTVNOlAsuIiOwHdvFFD5JqCJQ7A==",
+ "dependencies": {
+ "xtend": "~4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/end-of-stream": {
+ "version": "1.4.4",
+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
+ "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
+ "dependencies": {
+ "once": "^1.4.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/errno": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz",
+ "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==",
+ "dependencies": {
+ "prr": "~1.0.1"
+ },
+ "bin": {
+ "errno": "cli.js"
+ }
+ },
+ "node_modules/ganache-core/node_modules/error-ex": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
+ "dependencies": {
+ "is-arrayish": "^0.2.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/es6-weak-map": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz",
+ "integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==",
+ "dependencies": {
+ "d": "1",
+ "es5-ext": "^0.10.46",
+ "es6-iterator": "^2.0.3",
+ "es6-symbol": "^3.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/esutils": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-block-tracker": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/eth-block-tracker/-/eth-block-tracker-3.0.1.tgz",
+ "integrity": "sha512-WUVxWLuhMmsfenfZvFO5sbl1qFY2IqUlw/FPVmjjdElpqLsZtSG+wPe9Dz7W/sB6e80HgFKknOmKk2eNlznHug==",
+ "dependencies": {
+ "eth-query": "^2.1.0",
+ "ethereumjs-tx": "^1.3.3",
+ "ethereumjs-util": "^5.1.3",
+ "ethjs-util": "^0.1.3",
+ "json-rpc-engine": "^3.6.0",
+ "pify": "^2.3.0",
+ "tape": "^4.6.3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-block-tracker/node_modules/ethereumjs-tx": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-1.3.7.tgz",
+ "integrity": "sha512-wvLMxzt1RPhAQ9Yi3/HKZTn0FZYpnsmQdbKYfUUpi4j1SEIcbkd9tndVjcPrufY3V7j2IebOpC00Zp2P/Ay2kA==",
+ "dependencies": {
+ "ethereum-common": "^0.0.18",
+ "ethereumjs-util": "^5.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-block-tracker/node_modules/ethereumjs-util": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz",
+ "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==",
+ "dependencies": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "^0.1.3",
+ "keccak": "^1.0.2",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-block-tracker/node_modules/pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-infura": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/eth-json-rpc-infura/-/eth-json-rpc-infura-3.2.1.tgz",
+ "integrity": "sha512-W7zR4DZvyTn23Bxc0EWsq4XGDdD63+XPUCEhV2zQvQGavDVC4ZpFDK4k99qN7bd7/fjj37+rxmuBOBeIqCA5Mw==",
+ "dependencies": {
+ "cross-fetch": "^2.1.1",
+ "eth-json-rpc-middleware": "^1.5.0",
+ "json-rpc-engine": "^3.4.0",
+ "json-rpc-error": "^2.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-middleware": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/eth-json-rpc-middleware/-/eth-json-rpc-middleware-1.6.0.tgz",
+ "integrity": "sha512-tDVCTlrUvdqHKqivYMjtFZsdD7TtpNLBCfKAcOpaVs7orBMS/A8HWro6dIzNtTZIR05FAbJ3bioFOnZpuCew9Q==",
+ "dependencies": {
+ "async": "^2.5.0",
+ "eth-query": "^2.1.2",
+ "eth-tx-summary": "^3.1.2",
+ "ethereumjs-block": "^1.6.0",
+ "ethereumjs-tx": "^1.3.3",
+ "ethereumjs-util": "^5.1.2",
+ "ethereumjs-vm": "^2.1.0",
+ "fetch-ponyfill": "^4.0.0",
+ "json-rpc-engine": "^3.6.0",
+ "json-rpc-error": "^2.0.0",
+ "json-stable-stringify": "^1.0.1",
+ "promise-to-callback": "^1.0.0",
+ "tape": "^4.6.3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereum-common": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.2.0.tgz",
+ "integrity": "sha512-XOnAR/3rntJgbCdGhqdaLIxDLWKLmsZOGhHdBKadEr6gEnJLH52k93Ou+TUdFaPN3hJc3isBZBal3U/XZ15abA=="
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-account": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/ethereumjs-account/-/ethereumjs-account-2.0.5.tgz",
+ "integrity": "sha512-bgDojnXGjhMwo6eXQC0bY6UK2liSFUSMwwylOmQvZbSl/D7NXQ3+vrGO46ZeOgjGfxXmgIeVNDIiHw7fNZM4VA==",
+ "dependencies": {
+ "ethereumjs-util": "^5.0.0",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-block": {
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-1.7.1.tgz",
+ "integrity": "sha512-B+sSdtqm78fmKkBq78/QLKJbu/4Ts4P2KFISdgcuZUPDm9x+N7qgBPIIFUGbaakQh8bzuquiRVbdmvPKqbILRg==",
+ "dependencies": {
+ "async": "^2.0.1",
+ "ethereum-common": "0.2.0",
+ "ethereumjs-tx": "^1.2.2",
+ "ethereumjs-util": "^5.0.0",
+ "merkle-patricia-tree": "^2.1.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-tx": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-1.3.7.tgz",
+ "integrity": "sha512-wvLMxzt1RPhAQ9Yi3/HKZTn0FZYpnsmQdbKYfUUpi4j1SEIcbkd9tndVjcPrufY3V7j2IebOpC00Zp2P/Ay2kA==",
+ "dependencies": {
+ "ethereum-common": "^0.0.18",
+ "ethereumjs-util": "^5.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-tx/node_modules/ethereum-common": {
+ "version": "0.0.18",
+ "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.0.18.tgz",
+ "integrity": "sha1-L9w1dvIykDNYl26znaeDIT/5Uj8="
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-util": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz",
+ "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==",
+ "dependencies": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "^0.1.3",
+ "keccak": "^1.0.2",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-vm": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-vm/-/ethereumjs-vm-2.6.0.tgz",
+ "integrity": "sha512-r/XIUik/ynGbxS3y+mvGnbOKnuLo40V5Mj1J25+HEO63aWYREIqvWeRO/hnROlMBE5WoniQmPmhiaN0ctiHaXw==",
+ "dependencies": {
+ "async": "^2.1.2",
+ "async-eventemitter": "^0.2.2",
+ "ethereumjs-account": "^2.0.3",
+ "ethereumjs-block": "~2.2.0",
+ "ethereumjs-common": "^1.1.0",
+ "ethereumjs-util": "^6.0.0",
+ "fake-merkle-patricia-tree": "^1.0.1",
+ "functional-red-black-tree": "^1.0.1",
+ "merkle-patricia-tree": "^2.3.2",
+ "rustbn.js": "~0.2.0",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-vm/node_modules/ethereumjs-block": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-2.2.2.tgz",
+ "integrity": "sha512-2p49ifhek3h2zeg/+da6XpdFR3GlqY3BIEiqxGF8j9aSRIgkb7M1Ky+yULBKJOu8PAZxfhsYA+HxUk2aCQp3vg==",
+ "dependencies": {
+ "async": "^2.0.1",
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-tx": "^2.1.1",
+ "ethereumjs-util": "^5.0.0",
+ "merkle-patricia-tree": "^2.1.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-vm/node_modules/ethereumjs-block/node_modules/ethereumjs-util": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz",
+ "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==",
+ "dependencies": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "^0.1.3",
+ "keccak": "^1.0.2",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-vm/node_modules/ethereumjs-block/node_modules/keccak": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/keccak/-/keccak-1.4.0.tgz",
+ "integrity": "sha512-eZVaCpblK5formjPjeTBik7TAg+pqnDrMHIffSvi9Lh7PQgM1+hSzakUeZFCk9DVVG0dacZJuaz2ntwlzZUIBw==",
+ "dependencies": {
+ "bindings": "^1.2.1",
+ "inherits": "^2.0.3",
+ "nan": "^2.2.1",
+ "safe-buffer": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-vm/node_modules/ethereumjs-tx": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-2.1.2.tgz",
+ "integrity": "sha512-zZEK1onCeiORb0wyCXUvg94Ve5It/K6GD1K+26KfFKodiBiS6d9lfCXlUKGBBdQ+bv7Day+JK0tj1K+BeNFRAw==",
+ "dependencies": {
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-util": "^6.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-vm/node_modules/ethereumjs-util": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.0.tgz",
+ "integrity": "sha512-vb0XN9J2QGdZGIEKG2vXM+kUdEivUfU6Wmi5y0cg+LRhDYKnXIZ/Lz7XjFbHRR9VIKq2lVGLzGBkA++y2nOdOQ==",
+ "dependencies": {
+ "@types/bn.js": "^4.11.3",
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "0.1.6",
+ "keccak": "^2.0.0",
+ "rlp": "^2.2.3",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-vm/node_modules/keccak": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/keccak/-/keccak-2.1.0.tgz",
+ "integrity": "sha512-m1wbJRTo+gWbctZWay9i26v5fFnYkOn7D5PCxJ3fZUGUEb49dE1Pm4BREUYCt/aoO6di7jeoGmhvqN9Nzylm3Q==",
+ "dependencies": {
+ "bindings": "^1.5.0",
+ "inherits": "^2.0.4",
+ "nan": "^2.14.0",
+ "safe-buffer": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=5.12.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/nan": {
+ "version": "2.14.0",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
+ "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg=="
+ },
+ "node_modules/ganache-core/node_modules/eth-query": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/eth-query/-/eth-query-2.1.2.tgz",
+ "integrity": "sha1-1nQdkAAQa1FRDHLbktY2VFam2l4=",
+ "dependencies": {
+ "json-rpc-random-id": "^1.0.0",
+ "xtend": "^4.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-sig-util": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/eth-sig-util/-/eth-sig-util-2.3.0.tgz",
+ "integrity": "sha512-ugD1AvaggvKaZDgnS19W5qOfepjGc7qHrt7TrAaL54gJw9SHvgIXJ3r2xOMW30RWJZNP+1GlTOy5oye7yXA4xA==",
+ "dependencies": {
+ "buffer": "^5.2.1",
+ "elliptic": "^6.4.0",
+ "ethereumjs-abi": "0.6.5",
+ "ethereumjs-util": "^5.1.1",
+ "tweetnacl": "^1.0.0",
+ "tweetnacl-util": "^0.15.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-sig-util/node_modules/ethereumjs-abi": {
+ "version": "0.6.5",
+ "resolved": "https://registry.npmjs.org/ethereumjs-abi/-/ethereumjs-abi-0.6.5.tgz",
+ "integrity": "sha1-WmN+8Wq0NHP6cqKa2QhxQFs/UkE=",
+ "dependencies": {
+ "bn.js": "^4.10.0",
+ "ethereumjs-util": "^4.3.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-sig-util/node_modules/ethereumjs-abi/node_modules/ethereumjs-util": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-4.5.0.tgz",
+ "integrity": "sha1-PpQosxfuvaPXJg2FT93alUsfG8Y=",
+ "dependencies": {
+ "bn.js": "^4.8.0",
+ "create-hash": "^1.1.2",
+ "keccakjs": "^0.2.0",
+ "rlp": "^2.0.0",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-sig-util/node_modules/ethereumjs-util": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz",
+ "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==",
+ "dependencies": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "^0.1.3",
+ "keccak": "^1.0.2",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-tx-summary": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/eth-tx-summary/-/eth-tx-summary-3.2.4.tgz",
+ "integrity": "sha512-NtlDnaVZah146Rm8HMRUNMgIwG/ED4jiqk0TME9zFheMl1jOp6jL1m0NKGjJwehXQ6ZKCPr16MTr+qspKpEXNg==",
+ "dependencies": {
+ "async": "^2.1.2",
+ "clone": "^2.0.0",
+ "concat-stream": "^1.5.1",
+ "end-of-stream": "^1.1.0",
+ "eth-query": "^2.0.2",
+ "ethereumjs-block": "^1.4.1",
+ "ethereumjs-tx": "^1.1.1",
+ "ethereumjs-util": "^5.0.1",
+ "ethereumjs-vm": "^2.6.0",
+ "through2": "^2.0.3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereum-common": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.2.0.tgz",
+ "integrity": "sha512-XOnAR/3rntJgbCdGhqdaLIxDLWKLmsZOGhHdBKadEr6gEnJLH52k93Ou+TUdFaPN3hJc3isBZBal3U/XZ15abA=="
+ },
+ "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-account": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/ethereumjs-account/-/ethereumjs-account-2.0.5.tgz",
+ "integrity": "sha512-bgDojnXGjhMwo6eXQC0bY6UK2liSFUSMwwylOmQvZbSl/D7NXQ3+vrGO46ZeOgjGfxXmgIeVNDIiHw7fNZM4VA==",
+ "dependencies": {
+ "ethereumjs-util": "^5.0.0",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-block": {
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-1.7.1.tgz",
+ "integrity": "sha512-B+sSdtqm78fmKkBq78/QLKJbu/4Ts4P2KFISdgcuZUPDm9x+N7qgBPIIFUGbaakQh8bzuquiRVbdmvPKqbILRg==",
+ "dependencies": {
+ "async": "^2.0.1",
+ "ethereum-common": "0.2.0",
+ "ethereumjs-tx": "^1.2.2",
+ "ethereumjs-util": "^5.0.0",
+ "merkle-patricia-tree": "^2.1.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-tx": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-1.3.7.tgz",
+ "integrity": "sha512-wvLMxzt1RPhAQ9Yi3/HKZTn0FZYpnsmQdbKYfUUpi4j1SEIcbkd9tndVjcPrufY3V7j2IebOpC00Zp2P/Ay2kA==",
+ "dependencies": {
+ "ethereum-common": "^0.0.18",
+ "ethereumjs-util": "^5.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-tx/node_modules/ethereum-common": {
+ "version": "0.0.18",
+ "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.0.18.tgz",
+ "integrity": "sha1-L9w1dvIykDNYl26znaeDIT/5Uj8="
+ },
+ "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-util": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz",
+ "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==",
+ "dependencies": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "^0.1.3",
+ "keccak": "^1.0.2",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-vm": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-vm/-/ethereumjs-vm-2.6.0.tgz",
+ "integrity": "sha512-r/XIUik/ynGbxS3y+mvGnbOKnuLo40V5Mj1J25+HEO63aWYREIqvWeRO/hnROlMBE5WoniQmPmhiaN0ctiHaXw==",
+ "dependencies": {
+ "async": "^2.1.2",
+ "async-eventemitter": "^0.2.2",
+ "ethereumjs-account": "^2.0.3",
+ "ethereumjs-block": "~2.2.0",
+ "ethereumjs-common": "^1.1.0",
+ "ethereumjs-util": "^6.0.0",
+ "fake-merkle-patricia-tree": "^1.0.1",
+ "functional-red-black-tree": "^1.0.1",
+ "merkle-patricia-tree": "^2.3.2",
+ "rustbn.js": "~0.2.0",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-vm/node_modules/ethereumjs-block": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-2.2.2.tgz",
+ "integrity": "sha512-2p49ifhek3h2zeg/+da6XpdFR3GlqY3BIEiqxGF8j9aSRIgkb7M1Ky+yULBKJOu8PAZxfhsYA+HxUk2aCQp3vg==",
+ "dependencies": {
+ "async": "^2.0.1",
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-tx": "^2.1.1",
+ "ethereumjs-util": "^5.0.0",
+ "merkle-patricia-tree": "^2.1.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-vm/node_modules/ethereumjs-block/node_modules/ethereumjs-util": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz",
+ "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==",
+ "dependencies": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "^0.1.3",
+ "keccak": "^1.0.2",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-vm/node_modules/ethereumjs-block/node_modules/keccak": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/keccak/-/keccak-1.4.0.tgz",
+ "integrity": "sha512-eZVaCpblK5formjPjeTBik7TAg+pqnDrMHIffSvi9Lh7PQgM1+hSzakUeZFCk9DVVG0dacZJuaz2ntwlzZUIBw==",
+ "dependencies": {
+ "bindings": "^1.2.1",
+ "inherits": "^2.0.3",
+ "nan": "^2.2.1",
+ "safe-buffer": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-vm/node_modules/ethereumjs-tx": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-2.1.2.tgz",
+ "integrity": "sha512-zZEK1onCeiORb0wyCXUvg94Ve5It/K6GD1K+26KfFKodiBiS6d9lfCXlUKGBBdQ+bv7Day+JK0tj1K+BeNFRAw==",
+ "dependencies": {
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-util": "^6.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-vm/node_modules/ethereumjs-util": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.0.tgz",
+ "integrity": "sha512-vb0XN9J2QGdZGIEKG2vXM+kUdEivUfU6Wmi5y0cg+LRhDYKnXIZ/Lz7XjFbHRR9VIKq2lVGLzGBkA++y2nOdOQ==",
+ "dependencies": {
+ "@types/bn.js": "^4.11.3",
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "0.1.6",
+ "keccak": "^2.0.0",
+ "rlp": "^2.2.3",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-vm/node_modules/keccak": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/keccak/-/keccak-2.1.0.tgz",
+ "integrity": "sha512-m1wbJRTo+gWbctZWay9i26v5fFnYkOn7D5PCxJ3fZUGUEb49dE1Pm4BREUYCt/aoO6di7jeoGmhvqN9Nzylm3Q==",
+ "dependencies": {
+ "bindings": "^1.5.0",
+ "inherits": "^2.0.4",
+ "nan": "^2.14.0",
+ "safe-buffer": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=5.12.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/nan": {
+ "version": "2.14.0",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
+ "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg=="
+ },
+ "node_modules/ganache-core/node_modules/ethashjs": {
+ "version": "0.0.7",
+ "resolved": "https://registry.npmjs.org/ethashjs/-/ethashjs-0.0.7.tgz",
+ "integrity": "sha1-ML/kGWcmaQoMWdO4Jy5w1NDDS64=",
+ "dependencies": {
+ "async": "^1.4.2",
+ "buffer-xor": "^1.0.3",
+ "ethereumjs-util": "^4.0.1",
+ "miller-rabin": "^4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethashjs/node_modules/async": {
+ "version": "1.5.2",
+ "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz",
+ "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo="
+ },
+ "node_modules/ganache-core/node_modules/ethashjs/node_modules/ethereumjs-util": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-4.5.0.tgz",
+ "integrity": "sha1-PpQosxfuvaPXJg2FT93alUsfG8Y=",
+ "dependencies": {
+ "bn.js": "^4.8.0",
+ "create-hash": "^1.1.2",
+ "keccakjs": "^0.2.0",
+ "rlp": "^2.0.0",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethereum-common": {
+ "version": "0.0.18",
+ "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.0.18.tgz",
+ "integrity": "sha1-L9w1dvIykDNYl26znaeDIT/5Uj8="
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-abi": {
+ "version": "0.6.7",
+ "resolved": "https://registry.npmjs.org/ethereumjs-abi/-/ethereumjs-abi-0.6.7.tgz",
+ "integrity": "sha512-EMLOA8ICO5yAaXDhjVEfYjsJIXYutY8ufTE93eEKwsVtp2usQreKwsDTJ9zvam3omYqNuffr8IONIqb2uUslGQ==",
+ "dependencies": {
+ "bn.js": "^4.11.8",
+ "ethereumjs-util": "^6.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-account": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-account/-/ethereumjs-account-3.0.0.tgz",
+ "integrity": "sha512-WP6BdscjiiPkQfF9PVfMcwx/rDvfZTjFKY0Uwc09zSQr9JfIVH87dYIJu0gNhBhpmovV4yq295fdllS925fnBA==",
+ "dependencies": {
+ "ethereumjs-util": "^6.0.0",
+ "rlp": "^2.2.1",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-block": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-2.2.2.tgz",
+ "integrity": "sha512-2p49ifhek3h2zeg/+da6XpdFR3GlqY3BIEiqxGF8j9aSRIgkb7M1Ky+yULBKJOu8PAZxfhsYA+HxUk2aCQp3vg==",
+ "dependencies": {
+ "async": "^2.0.1",
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-tx": "^2.1.1",
+ "ethereumjs-util": "^5.0.0",
+ "merkle-patricia-tree": "^2.1.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/ethereumjs-util": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz",
+ "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==",
+ "dependencies": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "^0.1.3",
+ "keccak": "^1.0.2",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-blockchain": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/ethereumjs-blockchain/-/ethereumjs-blockchain-4.0.3.tgz",
+ "integrity": "sha512-0nJWbyA+Gu0ZKZr/cywMtB/77aS/4lOVsIKbgUN2sFQYscXO5rPbUfrEe7G2Zhjp86/a0VqLllemDSTHvx3vZA==",
+ "dependencies": {
+ "async": "^2.6.1",
+ "ethashjs": "~0.0.7",
+ "ethereumjs-block": "~2.2.2",
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-util": "~6.1.0",
+ "flow-stoplight": "^1.0.0",
+ "level-mem": "^3.0.1",
+ "lru-cache": "^5.1.1",
+ "rlp": "^2.2.2",
+ "semaphore": "^1.1.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-blockchain/node_modules/ethereumjs-util": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.1.0.tgz",
+ "integrity": "sha512-URESKMFbDeJxnAxPppnk2fN6Y3BIatn9fwn76Lm8bQlt+s52TpG8dN9M66MLPuRAiAOIqL3dfwqWJf0sd0fL0Q==",
+ "dependencies": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "0.1.6",
+ "keccak": "^1.0.2",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-blockchain/node_modules/lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "dependencies": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-common": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-common/-/ethereumjs-common-1.5.0.tgz",
+ "integrity": "sha512-SZOjgK1356hIY7MRj3/ma5qtfr/4B5BL+G4rP/XSMYr2z1H5el4RX5GReYCKmQmYI/nSBmRnwrZ17IfHuG0viQ=="
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-tx": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-2.1.2.tgz",
+ "integrity": "sha512-zZEK1onCeiORb0wyCXUvg94Ve5It/K6GD1K+26KfFKodiBiS6d9lfCXlUKGBBdQ+bv7Day+JK0tj1K+BeNFRAw==",
+ "dependencies": {
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-util": "^6.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-util": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.0.tgz",
+ "integrity": "sha512-vb0XN9J2QGdZGIEKG2vXM+kUdEivUfU6Wmi5y0cg+LRhDYKnXIZ/Lz7XjFbHRR9VIKq2lVGLzGBkA++y2nOdOQ==",
+ "dependencies": {
+ "@types/bn.js": "^4.11.3",
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "0.1.6",
+ "keccak": "^2.0.0",
+ "rlp": "^2.2.3",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-util/node_modules/keccak": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/keccak/-/keccak-2.1.0.tgz",
+ "integrity": "sha512-m1wbJRTo+gWbctZWay9i26v5fFnYkOn7D5PCxJ3fZUGUEb49dE1Pm4BREUYCt/aoO6di7jeoGmhvqN9Nzylm3Q==",
+ "dependencies": {
+ "bindings": "^1.5.0",
+ "inherits": "^2.0.4",
+ "nan": "^2.14.0",
+ "safe-buffer": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=5.12.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-util/node_modules/nan": {
+ "version": "2.14.0",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
+ "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg=="
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-vm": {
+ "version": "4.1.3",
+ "resolved": "https://registry.npmjs.org/ethereumjs-vm/-/ethereumjs-vm-4.1.3.tgz",
+ "integrity": "sha512-RTrD0y7My4O6Qr1P2ZIsMfD6RzL6kU/RhBZ0a5XrPzAeR61crBS7or66ohDrvxDI/rDBxMi+6SnsELih6fzalw==",
+ "dependencies": {
+ "async": "^2.1.2",
+ "async-eventemitter": "^0.2.2",
+ "core-js-pure": "^3.0.1",
+ "ethereumjs-account": "^3.0.0",
+ "ethereumjs-block": "^2.2.2",
+ "ethereumjs-blockchain": "^4.0.3",
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-tx": "^2.1.2",
+ "ethereumjs-util": "^6.2.0",
+ "fake-merkle-patricia-tree": "^1.0.1",
+ "functional-red-black-tree": "^1.0.1",
+ "merkle-patricia-tree": "^2.3.2",
+ "rustbn.js": "~0.2.0",
+ "safe-buffer": "^5.1.1",
+ "util.promisify": "^1.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/ethereumjs-util": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.0.tgz",
+ "integrity": "sha512-vb0XN9J2QGdZGIEKG2vXM+kUdEivUfU6Wmi5y0cg+LRhDYKnXIZ/Lz7XjFbHRR9VIKq2lVGLzGBkA++y2nOdOQ==",
+ "dependencies": {
+ "@types/bn.js": "^4.11.3",
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "0.1.6",
+ "keccak": "^2.0.0",
+ "rlp": "^2.2.3",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/keccak": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/keccak/-/keccak-2.1.0.tgz",
+ "integrity": "sha512-m1wbJRTo+gWbctZWay9i26v5fFnYkOn7D5PCxJ3fZUGUEb49dE1Pm4BREUYCt/aoO6di7jeoGmhvqN9Nzylm3Q==",
+ "dependencies": {
+ "bindings": "^1.5.0",
+ "inherits": "^2.0.4",
+ "nan": "^2.14.0",
+ "safe-buffer": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=5.12.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/nan": {
+ "version": "2.14.0",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
+ "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg=="
+ },
+ "node_modules/ganache-core/node_modules/ethereumjs-wallet": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/ethereumjs-wallet/-/ethereumjs-wallet-0.6.3.tgz",
+ "integrity": "sha512-qiXPiZOsStem+Dj/CQHbn5qex+FVkuPmGH7SvSnA9F3tdRDt8dLMyvIj3+U05QzVZNPYh4HXEdnzoYI4dZkr9w==",
+ "optional": true,
+ "dependencies": {
+ "aes-js": "^3.1.1",
+ "bs58check": "^2.1.2",
+ "ethereumjs-util": "^6.0.0",
+ "hdkey": "^1.1.0",
+ "randombytes": "^2.0.6",
+ "safe-buffer": "^5.1.2",
+ "scrypt.js": "^0.3.0",
+ "utf8": "^3.0.0",
+ "uuid": "^3.3.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethjs-unit": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/ethjs-unit/-/ethjs-unit-0.1.6.tgz",
+ "integrity": "sha1-xmWSHkduh7ziqdWIpv4EBbLEFpk=",
+ "dependencies": {
+ "bn.js": "4.11.6",
+ "number-to-bn": "1.7.0"
+ },
+ "engines": {
+ "node": ">=6.5.0",
+ "npm": ">=3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ethjs-unit/node_modules/bn.js": {
+ "version": "4.11.6",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz",
+ "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU="
+ },
+ "node_modules/ganache-core/node_modules/ethjs-util": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/ethjs-util/-/ethjs-util-0.1.6.tgz",
+ "integrity": "sha512-CUnVOQq7gSpDHZVVrQW8ExxUETWrnrvXYvYz55wOU8Uj4VCgw56XC2B/fVqQN+f7gmrnRHSLVnFAwsCuNwji8w==",
+ "dependencies": {
+ "is-hex-prefixed": "1.0.0",
+ "strip-hex-prefix": "1.0.0"
+ },
+ "engines": {
+ "node": ">=6.5.0",
+ "npm": ">=3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/evp_bytestokey": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz",
+ "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==",
+ "dependencies": {
+ "md5.js": "^1.3.4",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/expand-brackets": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",
+ "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=",
+ "dependencies": {
+ "debug": "^2.3.3",
+ "define-property": "^0.2.5",
+ "extend-shallow": "^2.0.1",
+ "posix-character-classes": "^0.1.0",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/expand-brackets/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/expand-brackets/node_modules/define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "dependencies": {
+ "is-descriptor": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/expand-brackets/node_modules/extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "dependencies": {
+ "is-extendable": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/expand-brackets/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ },
+ "node_modules/ganache-core/node_modules/expand-tilde": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz",
+ "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=",
+ "dependencies": {
+ "homedir-polyfill": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/extend": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
+ },
+ "node_modules/ganache-core/node_modules/extend-shallow": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz",
+ "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=",
+ "dependencies": {
+ "assign-symbols": "^1.0.0",
+ "is-extendable": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/extend-shallow/node_modules/is-extendable": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
+ "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
+ "dependencies": {
+ "is-plain-object": "^2.0.4"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/extglob": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",
+ "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==",
+ "dependencies": {
+ "array-unique": "^0.3.2",
+ "define-property": "^1.0.0",
+ "expand-brackets": "^2.1.4",
+ "extend-shallow": "^2.0.1",
+ "fragment-cache": "^0.2.1",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/extglob/node_modules/define-property": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
+ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
+ "dependencies": {
+ "is-descriptor": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/extglob/node_modules/extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "dependencies": {
+ "is-extendable": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/extglob/node_modules/is-accessor-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/extglob/node_modules/is-data-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/extglob/node_modules/is-descriptor": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
+ "dependencies": {
+ "is-accessor-descriptor": "^1.0.0",
+ "is-data-descriptor": "^1.0.0",
+ "kind-of": "^6.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/extsprintf": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
+ "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=",
+ "engines": [
+ "node >=0.6.0"
+ ]
+ },
+ "node_modules/ganache-core/node_modules/fake-merkle-patricia-tree": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/fake-merkle-patricia-tree/-/fake-merkle-patricia-tree-1.0.1.tgz",
+ "integrity": "sha1-S4w6z7Ugr635hgsfFM2M40As3dM=",
+ "dependencies": {
+ "checkpoint-store": "^1.1.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fancy-log": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.3.3.tgz",
+ "integrity": "sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw==",
+ "dependencies": {
+ "ansi-gray": "^0.1.1",
+ "color-support": "^1.1.3",
+ "parse-node-version": "^1.0.0",
+ "time-stamp": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fast-deep-equal": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz",
+ "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA=="
+ },
+ "node_modules/ganache-core/node_modules/fast-json-stable-stringify": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
+ },
+ "node_modules/ganache-core/node_modules/fd-slicer": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
+ "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=",
+ "dependencies": {
+ "pend": "~1.2.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fetch-ponyfill": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/fetch-ponyfill/-/fetch-ponyfill-4.1.0.tgz",
+ "integrity": "sha1-rjzl9zLGReq4fkroeTQUcJsjmJM=",
+ "dependencies": {
+ "node-fetch": "~1.7.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fetch-ponyfill/node_modules/node-fetch": {
+ "version": "1.7.3",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",
+ "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==",
+ "dependencies": {
+ "encoding": "^0.1.11",
+ "is-stream": "^1.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/file-type": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/file-type/-/file-type-5.2.0.tgz",
+ "integrity": "sha1-LdvqfHP/42No365J3DOMBYwritY=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/file-uri-to-path": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
+ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw=="
+ },
+ "node_modules/ganache-core/node_modules/fill-range": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
+ "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",
+ "dependencies": {
+ "extend-shallow": "^2.0.1",
+ "is-number": "^3.0.0",
+ "repeat-string": "^1.6.1",
+ "to-regex-range": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fill-range/node_modules/extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "dependencies": {
+ "is-extendable": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/find-up": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
+ "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",
+ "dependencies": {
+ "path-exists": "^2.0.0",
+ "pinkie-promise": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/findup-sync": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-3.0.0.tgz",
+ "integrity": "sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg==",
+ "dependencies": {
+ "detect-file": "^1.0.0",
+ "is-glob": "^4.0.0",
+ "micromatch": "^3.0.4",
+ "resolve-dir": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fined": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/fined/-/fined-1.2.0.tgz",
+ "integrity": "sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng==",
+ "dependencies": {
+ "expand-tilde": "^2.0.2",
+ "is-plain-object": "^2.0.3",
+ "object.defaults": "^1.1.0",
+ "object.pick": "^1.2.0",
+ "parse-filepath": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/flagged-respawn": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-1.0.1.tgz",
+ "integrity": "sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q==",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/flow-stoplight": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/flow-stoplight/-/flow-stoplight-1.0.0.tgz",
+ "integrity": "sha1-SiksW8/4s5+mzAyxqFPYbyfu/3s="
+ },
+ "node_modules/ganache-core/node_modules/flush-write-stream": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz",
+ "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "readable-stream": "^2.3.6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/for-each": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
+ "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==",
+ "dependencies": {
+ "is-callable": "^1.1.3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/for-in": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
+ "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/for-own": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz",
+ "integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=",
+ "dependencies": {
+ "for-in": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/forever-agent": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
+ "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/ganache-core/node_modules/form-data": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
+ "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
+ "dependencies": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.6",
+ "mime-types": "^2.1.12"
+ },
+ "engines": {
+ "node": ">= 0.12"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fragment-cache": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",
+ "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=",
+ "dependencies": {
+ "map-cache": "^0.2.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fs-constants": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="
+ },
+ "node_modules/ganache-core/node_modules/fs-extra": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz",
+ "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==",
+ "dependencies": {
+ "graceful-fs": "^4.1.2",
+ "jsonfile": "^4.0.0",
+ "universalify": "^0.1.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fs-minipass": {
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz",
+ "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==",
+ "dependencies": {
+ "minipass": "^2.6.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fs-mkdirp-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs-mkdirp-stream/-/fs-mkdirp-stream-1.0.0.tgz",
+ "integrity": "sha1-C3gV/DIBxqaeFNuYzgmMFpNSWes=",
+ "dependencies": {
+ "graceful-fs": "^4.1.11",
+ "through2": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fs.realpath": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
+ },
+ "node_modules/ganache-core/node_modules/fsevents": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.11.tgz",
+ "integrity": "sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw==",
+ "bundleDependencies": [
+ "abbrev",
+ "ansi-regex",
+ "aproba",
+ "are-we-there-yet",
+ "balanced-match",
+ "brace-expansion",
+ "chownr",
+ "code-point-at",
+ "concat-map",
+ "console-control-strings",
+ "core-util-is",
+ "debug",
+ "deep-extend",
+ "delegates",
+ "detect-libc",
+ "fs-minipass",
+ "fs.realpath",
+ "gauge",
+ "glob",
+ "has-unicode",
+ "iconv-lite",
+ "ignore-walk",
+ "inflight",
+ "inherits",
+ "ini",
+ "is-fullwidth-code-point",
+ "isarray",
+ "minimatch",
+ "minimist",
+ "minipass",
+ "minizlib",
+ "mkdirp",
+ "ms",
+ "needle",
+ "node-pre-gyp",
+ "nopt",
+ "npm-bundled",
+ "npm-normalize-package-bin",
+ "npm-packlist",
+ "npmlog",
+ "number-is-nan",
+ "object-assign",
+ "once",
+ "os-homedir",
+ "os-tmpdir",
+ "osenv",
+ "path-is-absolute",
+ "process-nextick-args",
+ "rc",
+ "readable-stream",
+ "rimraf",
+ "safe-buffer",
+ "safer-buffer",
+ "sax",
+ "semver",
+ "set-blocking",
+ "signal-exit",
+ "string-width",
+ "string_decoder",
+ "strip-ansi",
+ "strip-json-comments",
+ "tar",
+ "util-deprecate",
+ "wide-align",
+ "wrappy",
+ "yallist"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "dependencies": {
+ "bindings": "^1.5.0",
+ "nan": "^2.12.1",
+ "node-pre-gyp": "*"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/abbrev": {
+ "version": "1.1.1",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/ansi-regex": {
+ "version": "2.1.1",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/aproba": {
+ "version": "1.2.0",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/are-we-there-yet": {
+ "version": "1.1.5",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "delegates": "^1.0.0",
+ "readable-stream": "^2.0.6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/balanced-match": {
+ "version": "1.0.0",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/chownr": {
+ "version": "1.1.3",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/code-point-at": {
+ "version": "1.1.0",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/concat-map": {
+ "version": "0.0.1",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/console-control-strings": {
+ "version": "1.1.0",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/core-util-is": {
+ "version": "1.0.2",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/debug": {
+ "version": "3.2.6",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/deep-extend": {
+ "version": "0.6.0",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/delegates": {
+ "version": "1.0.0",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/detect-libc": {
+ "version": "1.0.3",
+ "inBundle": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "bin": {
+ "detect-libc": "bin/detect-libc.js"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/fs-minipass": {
+ "version": "1.2.7",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "minipass": "^2.6.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/fs.realpath": {
+ "version": "1.0.0",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/gauge": {
+ "version": "2.7.4",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "aproba": "^1.0.3",
+ "console-control-strings": "^1.0.0",
+ "has-unicode": "^2.0.0",
+ "object-assign": "^4.1.0",
+ "signal-exit": "^3.0.0",
+ "string-width": "^1.0.1",
+ "strip-ansi": "^3.0.1",
+ "wide-align": "^1.1.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/glob": {
+ "version": "7.1.6",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/has-unicode": {
+ "version": "2.0.1",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/iconv-lite": {
+ "version": "0.4.24",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/ignore-walk": {
+ "version": "3.0.3",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "minimatch": "^3.0.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/inflight": {
+ "version": "1.0.6",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "once": "^1.3.0",
+ "wrappy": "1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/inherits": {
+ "version": "2.0.4",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/ini": {
+ "version": "1.3.5",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/is-fullwidth-code-point": {
+ "version": "1.0.0",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "number-is-nan": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/isarray": {
+ "version": "1.0.0",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/minimatch": {
+ "version": "3.0.4",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/minimist": {
+ "version": "0.0.8",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/minipass": {
+ "version": "2.9.0",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "safe-buffer": "^5.1.2",
+ "yallist": "^3.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/minizlib": {
+ "version": "1.3.3",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "minipass": "^2.9.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/mkdirp": {
+ "version": "0.5.1",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "minimist": "0.0.8"
+ },
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/ms": {
+ "version": "2.1.2",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/needle": {
+ "version": "2.4.0",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "debug": "^3.2.6",
+ "iconv-lite": "^0.4.4",
+ "sax": "^1.2.4"
+ },
+ "bin": {
+ "needle": "bin/needle"
+ },
+ "engines": {
+ "node": ">= 4.4.x"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/node-pre-gyp": {
+ "version": "0.14.0",
+ "inBundle": true,
+ "license": "BSD-3-Clause",
+ "optional": true,
+ "dependencies": {
+ "detect-libc": "^1.0.2",
+ "mkdirp": "^0.5.1",
+ "needle": "^2.2.1",
+ "nopt": "^4.0.1",
+ "npm-packlist": "^1.1.6",
+ "npmlog": "^4.0.2",
+ "rc": "^1.2.7",
+ "rimraf": "^2.6.1",
+ "semver": "^5.3.0",
+ "tar": "^4.4.2"
+ },
+ "bin": {
+ "node-pre-gyp": "bin/node-pre-gyp"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/nopt": {
+ "version": "4.0.1",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "abbrev": "1",
+ "osenv": "^0.1.4"
+ },
+ "bin": {
+ "nopt": "bin/nopt.js"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/npm-bundled": {
+ "version": "1.1.1",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "npm-normalize-package-bin": "^1.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/npm-normalize-package-bin": {
+ "version": "1.0.1",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/npm-packlist": {
+ "version": "1.4.7",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "ignore-walk": "^3.0.1",
+ "npm-bundled": "^1.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/npmlog": {
+ "version": "4.1.2",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "are-we-there-yet": "~1.1.2",
+ "console-control-strings": "~1.1.0",
+ "gauge": "~2.7.3",
+ "set-blocking": "~2.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/number-is-nan": {
+ "version": "1.0.1",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/object-assign": {
+ "version": "4.1.1",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/once": {
+ "version": "1.4.0",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/os-homedir": {
+ "version": "1.0.2",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/os-tmpdir": {
+ "version": "1.0.2",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/osenv": {
+ "version": "0.1.5",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "os-homedir": "^1.0.0",
+ "os-tmpdir": "^1.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/path-is-absolute": {
+ "version": "1.0.1",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/process-nextick-args": {
+ "version": "2.0.1",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/rc": {
+ "version": "1.2.8",
+ "inBundle": true,
+ "license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
+ "optional": true,
+ "dependencies": {
+ "deep-extend": "^0.6.0",
+ "ini": "~1.3.0",
+ "minimist": "^1.2.0",
+ "strip-json-comments": "~2.0.1"
+ },
+ "bin": {
+ "rc": "cli.js"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/rc/node_modules/minimist": {
+ "version": "1.2.0",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/readable-stream": {
+ "version": "2.3.6",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.3",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
+ "util-deprecate": "~1.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/rimraf": {
+ "version": "2.7.1",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/safe-buffer": {
+ "version": "5.1.2",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/sax": {
+ "version": "1.2.4",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/semver": {
+ "version": "5.7.1",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "bin": {
+ "semver": "bin/semver"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/set-blocking": {
+ "version": "2.0.0",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/signal-exit": {
+ "version": "3.0.2",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/string_decoder": {
+ "version": "1.1.1",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "safe-buffer": "~5.1.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/string-width": {
+ "version": "1.0.2",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "code-point-at": "^1.0.0",
+ "is-fullwidth-code-point": "^1.0.0",
+ "strip-ansi": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/strip-ansi": {
+ "version": "3.0.1",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "ansi-regex": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/strip-json-comments": {
+ "version": "2.0.1",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/tar": {
+ "version": "4.4.13",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "chownr": "^1.1.1",
+ "fs-minipass": "^1.2.5",
+ "minipass": "^2.8.6",
+ "minizlib": "^1.2.1",
+ "mkdirp": "^0.5.0",
+ "safe-buffer": "^5.1.2",
+ "yallist": "^3.0.3"
+ },
+ "engines": {
+ "node": ">=4.5"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/wide-align": {
+ "version": "1.1.3",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "string-width": "^1.0.2 || 2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/wrappy": {
+ "version": "1.0.2",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/fsevents/node_modules/yallist": {
+ "version": "3.1.1",
+ "inBundle": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/ganache-core/node_modules/function-bind": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
+ },
+ "node_modules/ganache-core/node_modules/functional-red-black-tree": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
+ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc="
+ },
+ "node_modules/ganache-core/node_modules/get-caller-file": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz",
+ "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w=="
+ },
+ "node_modules/ganache-core/node_modules/get-stream": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
+ "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
+ "dependencies": {
+ "pump": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/get-value": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz",
+ "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/getpass": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
+ "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
+ "dependencies": {
+ "assert-plus": "^1.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/glob": {
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/ganache-core/node_modules/glob-parent": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz",
+ "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=",
+ "dependencies": {
+ "is-glob": "^3.1.0",
+ "path-dirname": "^1.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/glob-parent/node_modules/is-glob": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",
+ "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",
+ "dependencies": {
+ "is-extglob": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/glob-stream": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-6.1.0.tgz",
+ "integrity": "sha1-cEXJlBOz65SIjYOrRtC0BMx73eQ=",
+ "dependencies": {
+ "extend": "^3.0.0",
+ "glob": "^7.1.1",
+ "glob-parent": "^3.1.0",
+ "is-negated-glob": "^1.0.0",
+ "ordered-read-streams": "^1.0.0",
+ "pumpify": "^1.3.5",
+ "readable-stream": "^2.1.5",
+ "remove-trailing-separator": "^1.0.1",
+ "to-absolute-glob": "^2.0.0",
+ "unique-stream": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/glob-watcher": {
+ "version": "5.0.3",
+ "resolved": "https://registry.npmjs.org/glob-watcher/-/glob-watcher-5.0.3.tgz",
+ "integrity": "sha512-8tWsULNEPHKQ2MR4zXuzSmqbdyV5PtwwCaWSGQ1WwHsJ07ilNeN1JB8ntxhckbnpSHaf9dXFUHzIWvm1I13dsg==",
+ "dependencies": {
+ "anymatch": "^2.0.0",
+ "async-done": "^1.2.0",
+ "chokidar": "^2.0.0",
+ "is-negated-glob": "^1.0.0",
+ "just-debounce": "^1.0.0",
+ "object.defaults": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/global": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/global/-/global-4.3.2.tgz",
+ "integrity": "sha1-52mJJopsdMOJCLEwWxD8DjlOnQ8=",
+ "dependencies": {
+ "min-document": "^2.19.0",
+ "process": "~0.5.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/global-modules": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz",
+ "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==",
+ "dependencies": {
+ "global-prefix": "^1.0.1",
+ "is-windows": "^1.0.1",
+ "resolve-dir": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/global-prefix": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz",
+ "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=",
+ "dependencies": {
+ "expand-tilde": "^2.0.2",
+ "homedir-polyfill": "^1.0.1",
+ "ini": "^1.3.4",
+ "is-windows": "^1.0.1",
+ "which": "^1.2.14"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/globals": {
+ "version": "9.18.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz",
+ "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/glogg": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/glogg/-/glogg-1.0.2.tgz",
+ "integrity": "sha512-5mwUoSuBk44Y4EshyiqcH95ZntbDdTQqA3QYSrxmzj28Ai0vXBGMH1ApSANH14j2sIRtqCEyg6PfsuP7ElOEDA==",
+ "dependencies": {
+ "sparkles": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/got": {
+ "version": "9.6.0",
+ "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz",
+ "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==",
+ "dependencies": {
+ "@sindresorhus/is": "^0.14.0",
+ "@szmarczak/http-timer": "^1.1.2",
+ "cacheable-request": "^6.0.0",
+ "decompress-response": "^3.3.0",
+ "duplexer3": "^0.1.4",
+ "get-stream": "^4.1.0",
+ "lowercase-keys": "^1.0.1",
+ "mimic-response": "^1.0.1",
+ "p-cancelable": "^1.0.0",
+ "to-readable-stream": "^1.0.0",
+ "url-parse-lax": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/graceful-readlink": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz",
+ "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU="
+ },
+ "node_modules/ganache-core/node_modules/gulp": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/gulp/-/gulp-4.0.2.tgz",
+ "integrity": "sha512-dvEs27SCZt2ibF29xYgmnwwCYZxdxhQ/+LFWlbAW8y7jt68L/65402Lz3+CKy0Ov4rOs+NERmDq7YlZaDqUIfA==",
+ "dependencies": {
+ "glob-watcher": "^5.0.3",
+ "gulp-cli": "^2.2.0",
+ "undertaker": "^1.2.1",
+ "vinyl-fs": "^3.0.0"
+ },
+ "bin": {
+ "gulp": "bin/gulp.js"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/gulp/node_modules/gulp-cli": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/gulp-cli/-/gulp-cli-2.2.0.tgz",
+ "integrity": "sha512-rGs3bVYHdyJpLqR0TUBnlcZ1O5O++Zs4bA0ajm+zr3WFCfiSLjGwoCBqFs18wzN+ZxahT9DkOK5nDf26iDsWjA==",
+ "dependencies": {
+ "ansi-colors": "^1.0.1",
+ "archy": "^1.0.0",
+ "array-sort": "^1.0.0",
+ "color-support": "^1.1.3",
+ "concat-stream": "^1.6.0",
+ "copy-props": "^2.0.1",
+ "fancy-log": "^1.3.2",
+ "gulplog": "^1.0.0",
+ "interpret": "^1.1.0",
+ "isobject": "^3.0.1",
+ "liftoff": "^3.1.0",
+ "matchdep": "^2.0.0",
+ "mute-stdout": "^1.0.0",
+ "pretty-hrtime": "^1.0.0",
+ "replace-homedir": "^1.0.0",
+ "semver-greatest-satisfied-range": "^1.1.0",
+ "v8flags": "^3.0.1",
+ "yargs": "^7.1.0"
+ },
+ "bin": {
+ "gulp": "bin/gulp.js"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/gulplog": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/gulplog/-/gulplog-1.0.0.tgz",
+ "integrity": "sha1-4oxNRdBey77YGDY86PnFkmIp/+U=",
+ "dependencies": {
+ "glogg": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/har-schema": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
+ "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/har-validator": {
+ "version": "5.1.3",
+ "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz",
+ "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==",
+ "dependencies": {
+ "ajv": "^6.5.5",
+ "har-schema": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/has": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
+ "dependencies": {
+ "function-bind": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/has-ansi": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
+ "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",
+ "dependencies": {
+ "ansi-regex": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/has-value": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz",
+ "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=",
+ "dependencies": {
+ "get-value": "^2.0.6",
+ "has-values": "^1.0.0",
+ "isobject": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/has-values": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz",
+ "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=",
+ "dependencies": {
+ "is-number": "^3.0.0",
+ "kind-of": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/has-values/node_modules/kind-of": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",
+ "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=",
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/hash-base": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz",
+ "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=",
+ "dependencies": {
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/hdkey": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/hdkey/-/hdkey-1.1.1.tgz",
+ "integrity": "sha512-DvHZ5OuavsfWs5yfVJZestsnc3wzPvLWNk6c2nRUfo6X+OtxypGt20vDDf7Ba+MJzjL3KS1og2nw2eBbLCOUTA==",
+ "optional": true,
+ "dependencies": {
+ "coinstring": "^2.0.0",
+ "safe-buffer": "^5.1.1",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/heap": {
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/heap/-/heap-0.2.6.tgz",
+ "integrity": "sha1-CH4fELBGky/IWU3Z5tN4r8nR5aw="
+ },
+ "node_modules/ganache-core/node_modules/home-or-tmp": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz",
+ "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=",
+ "dependencies": {
+ "os-homedir": "^1.0.0",
+ "os-tmpdir": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/homedir-polyfill": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz",
+ "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==",
+ "dependencies": {
+ "parse-passwd": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/hosted-git-info": {
+ "version": "2.8.5",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz",
+ "integrity": "sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg=="
+ },
+ "node_modules/ganache-core/node_modules/http-cache-semantics": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.0.3.tgz",
+ "integrity": "sha512-TcIMG3qeVLgDr1TEd2XvHaTnMPwYQUQMIBLy+5pLSDKYFc7UIqj39w8EGzZkaxoLv/l2K8HaI0t5AVA+YYgUew=="
+ },
+ "node_modules/ganache-core/node_modules/http-signature": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
+ "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
+ "dependencies": {
+ "assert-plus": "^1.0.0",
+ "jsprim": "^1.2.2",
+ "sshpk": "^1.7.0"
+ },
+ "engines": {
+ "node": ">=0.8",
+ "npm": ">=1.3.7"
+ }
+ },
+ "node_modules/ganache-core/node_modules/immediate": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.2.3.tgz",
+ "integrity": "sha1-0UD6j2FGWb1lQSMwl92qwlzdmRw="
+ },
+ "node_modules/ganache-core/node_modules/inflight": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
+ "dependencies": {
+ "once": "^1.3.0",
+ "wrappy": "1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
+ },
+ "node_modules/ganache-core/node_modules/ini": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",
+ "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/ganache-core/node_modules/interpret": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz",
+ "integrity": "sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw==",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/invariant": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
+ "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",
+ "dependencies": {
+ "loose-envify": "^1.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/invert-kv": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz",
+ "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-absolute": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz",
+ "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==",
+ "dependencies": {
+ "is-relative": "^1.0.0",
+ "is-windows": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-accessor-descriptor": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",
+ "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=",
+ "dependencies": {
+ "kind-of": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-accessor-descriptor/node_modules/kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-arrayish": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
+ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0="
+ },
+ "node_modules/ganache-core/node_modules/is-binary-path": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz",
+ "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=",
+ "dependencies": {
+ "binary-extensions": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-buffer": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
+ "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
+ },
+ "node_modules/ganache-core/node_modules/is-data-descriptor": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",
+ "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=",
+ "dependencies": {
+ "kind-of": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-data-descriptor/node_modules/kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-date-object": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz",
+ "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-descriptor": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz",
+ "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==",
+ "dependencies": {
+ "is-accessor-descriptor": "^0.1.6",
+ "is-data-descriptor": "^0.1.4",
+ "kind-of": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-descriptor/node_modules/kind-of": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz",
+ "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-extendable": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
+ "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-finite": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz",
+ "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=",
+ "dependencies": {
+ "number-is-nan": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-fn": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-fn/-/is-fn-1.0.0.tgz",
+ "integrity": "sha1-lUPV3nvPWwiiLsiiC65uKG1RDYw=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-fullwidth-code-point": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
+ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
+ "dependencies": {
+ "number-is-nan": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-function": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-function/-/is-function-1.0.1.tgz",
+ "integrity": "sha1-Es+5i2W1fdPRk6MSH19uL0N2ArU="
+ },
+ "node_modules/ganache-core/node_modules/is-glob": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
+ "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-hex-prefixed": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz",
+ "integrity": "sha1-fY035q135dEnFIkTxXPggtd39VQ=",
+ "engines": {
+ "node": ">=6.5.0",
+ "npm": ">=3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-natural-number": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/is-natural-number/-/is-natural-number-4.0.1.tgz",
+ "integrity": "sha1-q5124dtM7VHjXeDHLr7PCfc0zeg="
+ },
+ "node_modules/ganache-core/node_modules/is-negated-glob": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-negated-glob/-/is-negated-glob-1.0.0.tgz",
+ "integrity": "sha1-aRC8pdqMleeEtXUbl2z1oQ/uNtI=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-number": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
+ "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",
+ "dependencies": {
+ "kind-of": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-number/node_modules/kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-plain-obj": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz",
+ "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-plain-object": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
+ "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",
+ "dependencies": {
+ "isobject": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-regex": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
+ "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
+ "dependencies": {
+ "has": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-relative": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz",
+ "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==",
+ "dependencies": {
+ "is-unc-path": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-retry-allowed": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz",
+ "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-stream": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
+ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-typedarray": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
+ "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
+ },
+ "node_modules/ganache-core/node_modules/is-unc-path": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz",
+ "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==",
+ "dependencies": {
+ "unc-path-regex": "^0.1.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-valid-glob": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-valid-glob/-/is-valid-glob-1.0.0.tgz",
+ "integrity": "sha1-Kb8+/3Ab4tTTFdusw5vDn+j2Aao=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/is-windows": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
+ "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/isarray": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
+ "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8="
+ },
+ "node_modules/ganache-core/node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA="
+ },
+ "node_modules/ganache-core/node_modules/isobject": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
+ "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/isstream": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
+ "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
+ },
+ "node_modules/ganache-core/node_modules/js-sha3": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.6.1.tgz",
+ "integrity": "sha1-W4n3enR3Z5h39YxKB1JAk0sflcA="
+ },
+ "node_modules/ganache-core/node_modules/js-tokens": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
+ "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls="
+ },
+ "node_modules/ganache-core/node_modules/jsbn": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
+ "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="
+ },
+ "node_modules/ganache-core/node_modules/jsesc": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
+ "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",
+ "bin": {
+ "jsesc": "bin/jsesc"
+ }
+ },
+ "node_modules/ganache-core/node_modules/json-buffer": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",
+ "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg="
+ },
+ "node_modules/ganache-core/node_modules/json-rpc-engine": {
+ "version": "3.8.0",
+ "resolved": "https://registry.npmjs.org/json-rpc-engine/-/json-rpc-engine-3.8.0.tgz",
+ "integrity": "sha512-6QNcvm2gFuuK4TKU1uwfH0Qd/cOSb9c1lls0gbnIhciktIUQJwz6NQNAW4B1KiGPenv7IKu97V222Yo1bNhGuA==",
+ "dependencies": {
+ "async": "^2.0.1",
+ "babel-preset-env": "^1.7.0",
+ "babelify": "^7.3.0",
+ "json-rpc-error": "^2.0.0",
+ "promise-to-callback": "^1.0.0",
+ "safe-event-emitter": "^1.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/json-rpc-error": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/json-rpc-error/-/json-rpc-error-2.0.0.tgz",
+ "integrity": "sha1-p6+cICg4tekFxyUOVH8a/3cligI=",
+ "dependencies": {
+ "inherits": "^2.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/json-rpc-random-id": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-rpc-random-id/-/json-rpc-random-id-1.0.1.tgz",
+ "integrity": "sha1-uknZat7RRE27jaPSA3SKy7zeyMg="
+ },
+ "node_modules/ganache-core/node_modules/json-schema": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
+ "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
+ },
+ "node_modules/ganache-core/node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
+ },
+ "node_modules/ganache-core/node_modules/json-stable-stringify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz",
+ "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=",
+ "dependencies": {
+ "jsonify": "~0.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/json-stringify-safe": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
+ "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
+ },
+ "node_modules/ganache-core/node_modules/json5": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
+ "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=",
+ "bin": {
+ "json5": "lib/cli.js"
+ }
+ },
+ "node_modules/ganache-core/node_modules/jsonfile": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
+ "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
+ "dependencies": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/jsonify": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz",
+ "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM="
+ },
+ "node_modules/ganache-core/node_modules/jsprim": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
+ "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",
+ "engines": [
+ "node >=0.6.0"
+ ],
+ "dependencies": {
+ "assert-plus": "1.0.0",
+ "extsprintf": "1.3.0",
+ "json-schema": "0.2.3",
+ "verror": "1.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/just-debounce": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/just-debounce/-/just-debounce-1.0.0.tgz",
+ "integrity": "sha1-h/zPrv/AtozRnVX2cilD+SnqNeo="
+ },
+ "node_modules/ganache-core/node_modules/keccak": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/keccak/-/keccak-1.4.0.tgz",
+ "integrity": "sha512-eZVaCpblK5formjPjeTBik7TAg+pqnDrMHIffSvi9Lh7PQgM1+hSzakUeZFCk9DVVG0dacZJuaz2ntwlzZUIBw==",
+ "dependencies": {
+ "bindings": "^1.2.1",
+ "inherits": "^2.0.3",
+ "nan": "^2.2.1",
+ "safe-buffer": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/keccakjs": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/keccakjs/-/keccakjs-0.2.3.tgz",
+ "integrity": "sha512-BjLkNDcfaZ6l8HBG9tH0tpmDv3sS2mA7FNQxFHpCdzP3Gb2MVruXBSuoM66SnVxKJpAr5dKGdkHD+bDokt8fTg==",
+ "dependencies": {
+ "browserify-sha3": "^0.0.4",
+ "sha3": "^1.2.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/keyv": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz",
+ "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==",
+ "dependencies": {
+ "json-buffer": "3.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/kind-of": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
+ "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/last-run": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/last-run/-/last-run-1.1.1.tgz",
+ "integrity": "sha1-RblpQsF7HHnHchmCWbqUO+v4yls=",
+ "dependencies": {
+ "default-resolution": "^2.0.0",
+ "es6-weak-map": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/lcid": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz",
+ "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=",
+ "dependencies": {
+ "invert-kv": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/lead": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/lead/-/lead-1.0.0.tgz",
+ "integrity": "sha1-bxT5mje+Op3XhPVJVpDlkDRm7kI=",
+ "dependencies": {
+ "flush-write-stream": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/level-codec": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/level-codec/-/level-codec-9.0.1.tgz",
+ "integrity": "sha512-ajFP0kJ+nyq4i6kptSM+mAvJKLOg1X5FiFPtLG9M5gCEZyBmgDi3FkDrvlMkEzrUn1cWxtvVmrvoS4ASyO/q+Q==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/level-errors": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-2.0.1.tgz",
+ "integrity": "sha512-UVprBJXite4gPS+3VznfgDSU8PTRuVX0NXwoWW50KLxd2yw4Y1t2JUR5In1itQnudZqRMT9DlAM3Q//9NCjCFw==",
+ "dependencies": {
+ "errno": "~0.1.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/level-iterator-stream": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-1.3.1.tgz",
+ "integrity": "sha1-5Dt4sagUPm+pek9IXrjqUwNS8u0=",
+ "dependencies": {
+ "inherits": "^2.0.1",
+ "level-errors": "^1.0.3",
+ "readable-stream": "^1.0.33",
+ "xtend": "^4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/level-iterator-stream/node_modules/level-errors": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-1.1.2.tgz",
+ "integrity": "sha512-Sw/IJwWbPKF5Ai4Wz60B52yj0zYeqzObLh8k1Tk88jVmD51cJSKWSYpRyhVIvFzZdvsPqlH5wfhp/yxdsaQH4w==",
+ "dependencies": {
+ "errno": "~0.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/level-iterator-stream/node_modules/readable-stream": {
+ "version": "1.1.14",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
+ "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "0.0.1",
+ "string_decoder": "~0.10.x"
+ }
+ },
+ "node_modules/ganache-core/node_modules/level-mem": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/level-mem/-/level-mem-3.0.1.tgz",
+ "integrity": "sha512-LbtfK9+3Ug1UmvvhR2DqLqXiPW1OJ5jEh0a3m9ZgAipiwpSxGj/qaVVy54RG5vAQN1nCuXqjvprCuKSCxcJHBg==",
+ "dependencies": {
+ "level-packager": "~4.0.0",
+ "memdown": "~3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/level-mem/node_modules/abstract-leveldown": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-5.0.0.tgz",
+ "integrity": "sha512-5mU5P1gXtsMIXg65/rsYGsi93+MlogXZ9FA8JnwKurHQg64bfXwGYVdVdijNTVNOlAsuIiOwHdvFFD5JqCJQ7A==",
+ "dependencies": {
+ "xtend": "~4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/level-mem/node_modules/memdown": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/memdown/-/memdown-3.0.0.tgz",
+ "integrity": "sha512-tbV02LfZMWLcHcq4tw++NuqMO+FZX8tNJEiD2aNRm48ZZusVg5N8NART+dmBkepJVye986oixErf7jfXboMGMA==",
+ "dependencies": {
+ "abstract-leveldown": "~5.0.0",
+ "functional-red-black-tree": "~1.0.1",
+ "immediate": "~3.2.3",
+ "inherits": "~2.0.1",
+ "ltgt": "~2.2.0",
+ "safe-buffer": "~5.1.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/level-mem/node_modules/safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
+ },
+ "node_modules/ganache-core/node_modules/level-packager": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/level-packager/-/level-packager-4.0.1.tgz",
+ "integrity": "sha512-svCRKfYLn9/4CoFfi+d8krOtrp6RoX8+xm0Na5cgXMqSyRru0AnDYdLl+YI8u1FyS6gGZ94ILLZDE5dh2but3Q==",
+ "dependencies": {
+ "encoding-down": "~5.0.0",
+ "levelup": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/level-post": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/level-post/-/level-post-1.0.7.tgz",
+ "integrity": "sha512-PWYqG4Q00asOrLhX7BejSajByB4EmG2GaKHfj3h5UmmZ2duciXLPGYWIjBzLECFWUGOZWlm5B20h/n3Gs3HKew==",
+ "dependencies": {
+ "ltgt": "^2.1.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/level-sublevel": {
+ "version": "6.6.4",
+ "resolved": "https://registry.npmjs.org/level-sublevel/-/level-sublevel-6.6.4.tgz",
+ "integrity": "sha512-pcCrTUOiO48+Kp6F1+UAzF/OtWqLcQVTVF39HLdZ3RO8XBoXt+XVPKZO1vVr1aUoxHZA9OtD2e1v7G+3S5KFDA==",
+ "dependencies": {
+ "bytewise": "~1.1.0",
+ "level-codec": "^9.0.0",
+ "level-errors": "^2.0.0",
+ "level-iterator-stream": "^2.0.3",
+ "ltgt": "~2.1.1",
+ "pull-defer": "^0.2.2",
+ "pull-level": "^2.0.3",
+ "pull-stream": "^3.6.8",
+ "typewiselite": "~1.0.0",
+ "xtend": "~4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/level-sublevel/node_modules/level-iterator-stream": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-2.0.3.tgz",
+ "integrity": "sha512-I6Heg70nfF+e5Y3/qfthJFexhRw/Gi3bIymCoXAlijZdAcLaPuWSJs3KXyTYf23ID6g0o2QF62Yh+grOXY3Rig==",
+ "dependencies": {
+ "inherits": "^2.0.1",
+ "readable-stream": "^2.0.5",
+ "xtend": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/level-sublevel/node_modules/ltgt": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ltgt/-/ltgt-2.1.3.tgz",
+ "integrity": "sha1-EIUaBtmWS5cReEQcI8nlJpjuzjQ="
+ },
+ "node_modules/ganache-core/node_modules/level-ws": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/level-ws/-/level-ws-0.0.0.tgz",
+ "integrity": "sha1-Ny5RIXeSSgBCSwtDrvK7QkltIos=",
+ "dependencies": {
+ "readable-stream": "~1.0.15",
+ "xtend": "~2.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/level-ws/node_modules/readable-stream": {
+ "version": "1.0.34",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "0.0.1",
+ "string_decoder": "~0.10.x"
+ }
+ },
+ "node_modules/ganache-core/node_modules/level-ws/node_modules/xtend": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz",
+ "integrity": "sha1-bv7MKk2tjmlixJAbM3znuoe10os=",
+ "dependencies": {
+ "object-keys": "~0.4.0"
+ },
+ "engines": {
+ "node": ">=0.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/levelup": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/levelup/-/levelup-3.1.1.tgz",
+ "integrity": "sha512-9N10xRkUU4dShSRRFTBdNaBxofz+PGaIZO962ckboJZiNmLuhVT6FZ6ZKAsICKfUBO76ySaYU6fJWX/jnj3Lcg==",
+ "dependencies": {
+ "deferred-leveldown": "~4.0.0",
+ "level-errors": "~2.0.0",
+ "level-iterator-stream": "~3.0.0",
+ "xtend": "~4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/levelup/node_modules/abstract-leveldown": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-5.0.0.tgz",
+ "integrity": "sha512-5mU5P1gXtsMIXg65/rsYGsi93+MlogXZ9FA8JnwKurHQg64bfXwGYVdVdijNTVNOlAsuIiOwHdvFFD5JqCJQ7A==",
+ "dependencies": {
+ "xtend": "~4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/levelup/node_modules/deferred-leveldown": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-4.0.2.tgz",
+ "integrity": "sha512-5fMC8ek8alH16QiV0lTCis610D1Zt1+LA4MS4d63JgS32lrCjTFDUFz2ao09/j2I4Bqb5jL4FZYwu7Jz0XO1ww==",
+ "dependencies": {
+ "abstract-leveldown": "~5.0.0",
+ "inherits": "^2.0.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/levelup/node_modules/level-iterator-stream": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-3.0.1.tgz",
+ "integrity": "sha512-nEIQvxEED9yRThxvOrq8Aqziy4EGzrxSZK+QzEFAVuJvQ8glfyZ96GB6BoI4sBbLfjMXm2w4vu3Tkcm9obcY0g==",
+ "dependencies": {
+ "inherits": "^2.0.1",
+ "readable-stream": "^2.3.6",
+ "xtend": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/liftoff": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-3.1.0.tgz",
+ "integrity": "sha512-DlIPlJUkCV0Ips2zf2pJP0unEoT1kwYhiiPUGF3s/jtxTCjziNLoiVVh+jqWOWeFi6mmwQ5fNxvAUyPad4Dfog==",
+ "dependencies": {
+ "extend": "^3.0.0",
+ "findup-sync": "^3.0.0",
+ "fined": "^1.0.1",
+ "flagged-respawn": "^1.0.0",
+ "is-plain-object": "^2.0.4",
+ "object.map": "^1.0.0",
+ "rechoir": "^0.6.2",
+ "resolve": "^1.1.7"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/ganache-core/node_modules/load-json-file": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
+ "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
+ "dependencies": {
+ "graceful-fs": "^4.1.2",
+ "parse-json": "^2.2.0",
+ "pify": "^2.0.0",
+ "pinkie-promise": "^2.0.0",
+ "strip-bom": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/load-json-file/node_modules/pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/lodash": {
+ "version": "4.17.14",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.14.tgz",
+ "integrity": "sha512-mmKYbW3GLuJeX+iGP+Y7Gp1AiGHGbXHCOh/jZmrawMmsE7MS4znI3RL2FsjbqOyMayHInjOeykW7PEajUk1/xw=="
+ },
+ "node_modules/ganache-core/node_modules/looper": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/looper/-/looper-2.0.0.tgz",
+ "integrity": "sha1-Zs0Md0rz1P7axTeU90LbVtqPCew="
+ },
+ "node_modules/ganache-core/node_modules/loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "dependencies": {
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ },
+ "bin": {
+ "loose-envify": "cli.js"
+ }
+ },
+ "node_modules/ganache-core/node_modules/lowercase-keys": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
+ "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/lru-cache": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-3.2.0.tgz",
+ "integrity": "sha1-cXibO39Tmb7IVl3aOKow0qCX7+4=",
+ "dependencies": {
+ "pseudomap": "^1.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ltgt": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ltgt/-/ltgt-2.2.1.tgz",
+ "integrity": "sha1-81ypHEk/e3PaDgdJUwTxezH4fuU="
+ },
+ "node_modules/ganache-core/node_modules/make-dir": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz",
+ "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==",
+ "dependencies": {
+ "pify": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/make-dir/node_modules/pify": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
+ "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/make-iterator": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/make-iterator/-/make-iterator-1.0.1.tgz",
+ "integrity": "sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw==",
+ "dependencies": {
+ "kind-of": "^6.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/map-cache": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",
+ "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/map-visit": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",
+ "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=",
+ "dependencies": {
+ "object-visit": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/matchdep": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/matchdep/-/matchdep-2.0.0.tgz",
+ "integrity": "sha1-xvNINKDY28OzfCfui7yyfHd1WC4=",
+ "dependencies": {
+ "findup-sync": "^2.0.0",
+ "micromatch": "^3.0.4",
+ "resolve": "^1.4.0",
+ "stack-trace": "0.0.10"
+ },
+ "engines": {
+ "node": ">= 0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/matchdep/node_modules/findup-sync": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-2.0.0.tgz",
+ "integrity": "sha1-kyaxSIwi0aYIhlCoaQGy2akKLLw=",
+ "dependencies": {
+ "detect-file": "^1.0.0",
+ "is-glob": "^3.1.0",
+ "micromatch": "^3.0.4",
+ "resolve-dir": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/matchdep/node_modules/is-glob": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",
+ "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",
+ "dependencies": {
+ "is-extglob": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/md5.js": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz",
+ "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==",
+ "dependencies": {
+ "hash-base": "^3.0.0",
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.1.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/merkle-patricia-tree": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/merkle-patricia-tree/-/merkle-patricia-tree-2.3.2.tgz",
+ "integrity": "sha512-81PW5m8oz/pz3GvsAwbauj7Y00rqm81Tzad77tHBwU7pIAtN+TJnMSOJhxBKflSVYhptMMb9RskhqHqrSm1V+g==",
+ "dependencies": {
+ "async": "^1.4.2",
+ "ethereumjs-util": "^5.0.0",
+ "level-ws": "0.0.0",
+ "levelup": "^1.2.1",
+ "memdown": "^1.0.0",
+ "readable-stream": "^2.0.0",
+ "rlp": "^2.0.0",
+ "semaphore": ">=1.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/abstract-leveldown": {
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-2.7.2.tgz",
+ "integrity": "sha512-+OVvxH2rHVEhWLdbudP6p0+dNMXu8JA1CbhP19T8paTYAcX7oJ4OVjT+ZUVpv7mITxXHqDMej+GdqXBmXkw09w==",
+ "dependencies": {
+ "xtend": "~4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/async": {
+ "version": "1.5.2",
+ "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz",
+ "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo="
+ },
+ "node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/ethereumjs-util": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz",
+ "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==",
+ "dependencies": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "^0.1.3",
+ "keccak": "^1.0.2",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/level-codec": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/level-codec/-/level-codec-7.0.1.tgz",
+ "integrity": "sha512-Ua/R9B9r3RasXdRmOtd+t9TCOEIIlts+TN/7XTT2unhDaL6sJn83S3rUyljbr6lVtw49N3/yA0HHjpV6Kzb2aQ=="
+ },
+ "node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/level-errors": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-1.0.5.tgz",
+ "integrity": "sha512-/cLUpQduF6bNrWuAC4pwtUKA5t669pCsCi2XbmojG2tFeOr9j6ShtdDCtFFQO1DRt+EVZhx9gPzP9G2bUaG4ig==",
+ "dependencies": {
+ "errno": "~0.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/levelup": {
+ "version": "1.3.9",
+ "resolved": "https://registry.npmjs.org/levelup/-/levelup-1.3.9.tgz",
+ "integrity": "sha512-VVGHfKIlmw8w1XqpGOAGwq6sZm2WwWLmlDcULkKWQXEA5EopA8OBNJ2Ck2v6bdk8HeEZSbCSEgzXadyQFm76sQ==",
+ "dependencies": {
+ "deferred-leveldown": "~1.2.1",
+ "level-codec": "~7.0.0",
+ "level-errors": "~1.0.3",
+ "level-iterator-stream": "~1.3.0",
+ "prr": "~1.0.1",
+ "semver": "~5.4.1",
+ "xtend": "~4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/memdown": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/memdown/-/memdown-1.4.1.tgz",
+ "integrity": "sha1-tOThkhdGZP+65BNhqlAPMRnv4hU=",
+ "dependencies": {
+ "abstract-leveldown": "~2.7.1",
+ "functional-red-black-tree": "^1.0.1",
+ "immediate": "^3.2.3",
+ "inherits": "~2.0.1",
+ "ltgt": "~2.2.0",
+ "safe-buffer": "~5.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/memdown/node_modules/safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
+ },
+ "node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/semver": {
+ "version": "5.4.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.4.1.tgz",
+ "integrity": "sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg==",
+ "bin": {
+ "semver": "bin/semver"
+ }
+ },
+ "node_modules/ganache-core/node_modules/micromatch": {
+ "version": "3.1.10",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
+ "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",
+ "dependencies": {
+ "arr-diff": "^4.0.0",
+ "array-unique": "^0.3.2",
+ "braces": "^2.3.1",
+ "define-property": "^2.0.2",
+ "extend-shallow": "^3.0.2",
+ "extglob": "^2.0.4",
+ "fragment-cache": "^0.2.1",
+ "kind-of": "^6.0.2",
+ "nanomatch": "^1.2.9",
+ "object.pick": "^1.3.0",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/mimic-response": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
+ "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/min-document": {
+ "version": "2.19.0",
+ "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz",
+ "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=",
+ "dependencies": {
+ "dom-walk": "^0.1.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/minimalistic-assert": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",
+ "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A=="
+ },
+ "node_modules/ganache-core/node_modules/minimatch": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
+ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/ganache-core/node_modules/minimist": {
+ "version": "0.0.8",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0="
+ },
+ "node_modules/ganache-core/node_modules/minipass": {
+ "version": "2.9.0",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz",
+ "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==",
+ "dependencies": {
+ "safe-buffer": "^5.1.2",
+ "yallist": "^3.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/minizlib": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz",
+ "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==",
+ "dependencies": {
+ "minipass": "^2.9.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/mixin-deep": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz",
+ "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==",
+ "dependencies": {
+ "for-in": "^1.0.2",
+ "is-extendable": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/mixin-deep/node_modules/is-extendable": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
+ "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
+ "dependencies": {
+ "is-plain-object": "^2.0.4"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
+ },
+ "node_modules/ganache-core/node_modules/mute-stdout": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/mute-stdout/-/mute-stdout-1.0.1.tgz",
+ "integrity": "sha512-kDcwXR4PS7caBpuRYYBUz9iVixUk3anO3f5OYFiIPwK/20vCzKCHyKoulbiDY1S53zD2bxUpxN/IJ+TnXjfvxg==",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/nan": {
+ "version": "2.13.2",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.13.2.tgz",
+ "integrity": "sha512-TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw=="
+ },
+ "node_modules/ganache-core/node_modules/nanomatch": {
+ "version": "1.2.13",
+ "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
+ "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==",
+ "dependencies": {
+ "arr-diff": "^4.0.0",
+ "array-unique": "^0.3.2",
+ "define-property": "^2.0.2",
+ "extend-shallow": "^3.0.2",
+ "fragment-cache": "^0.2.1",
+ "is-windows": "^1.0.2",
+ "kind-of": "^6.0.2",
+ "object.pick": "^1.3.0",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/node-fetch": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.1.2.tgz",
+ "integrity": "sha1-q4hOjn5X44qUR1POxwb3iNF2i7U=",
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/normalize-package-data": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
+ "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
+ "dependencies": {
+ "hosted-git-info": "^2.1.4",
+ "resolve": "^1.10.0",
+ "semver": "2 || 3 || 4 || 5",
+ "validate-npm-package-license": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/normalize-package-data/node_modules/semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "bin": {
+ "semver": "bin/semver"
+ }
+ },
+ "node_modules/ganache-core/node_modules/normalize-path": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
+ "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
+ "dependencies": {
+ "remove-trailing-separator": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/normalize-url": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz",
+ "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ganache-core/node_modules/now-and-later": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/now-and-later/-/now-and-later-2.0.1.tgz",
+ "integrity": "sha512-KGvQ0cB70AQfg107Xvs/Fbu+dGmZoTRJp2TaPwcwQm3/7PteUyN2BCgk8KBMPGBUXZdVwyWS8fDCGFygBm19UQ==",
+ "dependencies": {
+ "once": "^1.3.2"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/number-is-nan": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
+ "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/number-to-bn": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/number-to-bn/-/number-to-bn-1.7.0.tgz",
+ "integrity": "sha1-uzYjWS9+X54AMLGXe9QaDFP+HqA=",
+ "dependencies": {
+ "bn.js": "4.11.6",
+ "strip-hex-prefix": "1.0.0"
+ },
+ "engines": {
+ "node": ">=6.5.0",
+ "npm": ">=3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/number-to-bn/node_modules/bn.js": {
+ "version": "4.11.6",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz",
+ "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU="
+ },
+ "node_modules/ganache-core/node_modules/oauth-sign": {
+ "version": "0.9.0",
+ "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
+ "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/ganache-core/node_modules/object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/object-copy": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz",
+ "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=",
+ "dependencies": {
+ "copy-descriptor": "^0.1.0",
+ "define-property": "^0.2.5",
+ "kind-of": "^3.0.3"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/object-copy/node_modules/define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "dependencies": {
+ "is-descriptor": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/object-copy/node_modules/kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/object-inspect": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz",
+ "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw=="
+ },
+ "node_modules/ganache-core/node_modules/object-is": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.0.2.tgz",
+ "integrity": "sha512-Epah+btZd5wrrfjkJZq1AOB9O6OxUQto45hzFd7lXGrpHPGE0W1k+426yrZV+k6NJOzLNNW/nVsmZdIWsAqoOQ==",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/object-keys": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-0.4.0.tgz",
+ "integrity": "sha1-KKaq50KN0sOpLz2V8hM13SBOAzY="
+ },
+ "node_modules/ganache-core/node_modules/object-visit": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz",
+ "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=",
+ "dependencies": {
+ "isobject": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/object.assign": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",
+ "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",
+ "dependencies": {
+ "define-properties": "^1.1.2",
+ "function-bind": "^1.1.1",
+ "has-symbols": "^1.0.0",
+ "object-keys": "^1.0.11"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/object.assign/node_modules/object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/object.defaults": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/object.defaults/-/object.defaults-1.1.0.tgz",
+ "integrity": "sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8=",
+ "dependencies": {
+ "array-each": "^1.0.1",
+ "array-slice": "^1.0.0",
+ "for-own": "^1.0.0",
+ "isobject": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/object.map": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/object.map/-/object.map-1.0.1.tgz",
+ "integrity": "sha1-z4Plncj8wK1fQlDh94s7gb2AHTc=",
+ "dependencies": {
+ "for-own": "^1.0.0",
+ "make-iterator": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/object.pick": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
+ "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=",
+ "dependencies": {
+ "isobject": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/object.reduce": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/object.reduce/-/object.reduce-1.0.1.tgz",
+ "integrity": "sha1-b+NI8qx/oPlcpiEiZZkJaCW7A60=",
+ "dependencies": {
+ "for-own": "^1.0.0",
+ "make-iterator": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/oboe": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/oboe/-/oboe-2.1.4.tgz",
+ "integrity": "sha1-IMiM2wwVNxuwQRklfU/dNLCqSfY=",
+ "dependencies": {
+ "http-https": "^1.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ordered-read-streams": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/ordered-read-streams/-/ordered-read-streams-1.0.1.tgz",
+ "integrity": "sha1-d8DLN8QVJdZBZtmQ/61+xqDhNj4=",
+ "dependencies": {
+ "readable-stream": "^2.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/os-homedir": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
+ "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/os-locale": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
+ "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",
+ "dependencies": {
+ "lcid": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/os-tmpdir": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
+ "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/p-cancelable": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
+ "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/parse-filepath": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/parse-filepath/-/parse-filepath-1.0.2.tgz",
+ "integrity": "sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE=",
+ "dependencies": {
+ "is-absolute": "^1.0.0",
+ "map-cache": "^0.2.0",
+ "path-root": "^0.1.1"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/ganache-core/node_modules/parse-headers": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.3.tgz",
+ "integrity": "sha512-QhhZ+DCCit2Coi2vmAKbq5RGTRcQUOE2+REgv8vdyu7MnYx2eZztegqtTx99TZ86GTIwqiy3+4nQTWZ2tgmdCA=="
+ },
+ "node_modules/ganache-core/node_modules/parse-json": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
+ "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
+ "dependencies": {
+ "error-ex": "^1.2.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/parse-node-version": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz",
+ "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/parse-passwd": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz",
+ "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/pascalcase": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",
+ "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/path-dirname": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz",
+ "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA="
+ },
+ "node_modules/ganache-core/node_modules/path-exists": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
+ "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
+ "dependencies": {
+ "pinkie-promise": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/path-is-absolute": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/path-parse": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
+ "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
+ },
+ "node_modules/ganache-core/node_modules/path-root": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/path-root/-/path-root-0.1.1.tgz",
+ "integrity": "sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc=",
+ "dependencies": {
+ "path-root-regex": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/path-root-regex": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz",
+ "integrity": "sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/path-type": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
+ "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=",
+ "dependencies": {
+ "graceful-fs": "^4.1.2",
+ "pify": "^2.0.0",
+ "pinkie-promise": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/path-type/node_modules/pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/pbkdf2": {
+ "version": "3.0.17",
+ "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz",
+ "integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==",
+ "dependencies": {
+ "create-hash": "^1.1.2",
+ "create-hmac": "^1.1.4",
+ "ripemd160": "^2.0.1",
+ "safe-buffer": "^5.0.1",
+ "sha.js": "^2.4.8"
+ },
+ "engines": {
+ "node": ">=0.12"
+ }
+ },
+ "node_modules/ganache-core/node_modules/pend": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
+ "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA="
+ },
+ "node_modules/ganache-core/node_modules/performance-now": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
+ "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
+ },
+ "node_modules/ganache-core/node_modules/posix-character-classes": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",
+ "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/precond": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/precond/-/precond-0.2.3.tgz",
+ "integrity": "sha1-qpWRvKokkj8eD0hJ0kD0fvwQdaw=",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/prepend-http": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
+ "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/pretty-hrtime": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz",
+ "integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/ganache-core/node_modules/private": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz",
+ "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/process": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/process/-/process-0.5.2.tgz",
+ "integrity": "sha1-FjjYqONML0QKkduVq5rrZ3/Bhc8=",
+ "engines": {
+ "node": ">= 0.6.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/process-nextick-args": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
+ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
+ },
+ "node_modules/ganache-core/node_modules/promise-to-callback": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/promise-to-callback/-/promise-to-callback-1.0.0.tgz",
+ "integrity": "sha1-XSp0kBC/tn2WNZj805YHRqaP7vc=",
+ "dependencies": {
+ "is-fn": "^1.0.0",
+ "set-immediate-shim": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/prr": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz",
+ "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY="
+ },
+ "node_modules/ganache-core/node_modules/pseudomap": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
+ "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM="
+ },
+ "node_modules/ganache-core/node_modules/psl": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/psl/-/psl-1.7.0.tgz",
+ "integrity": "sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ=="
+ },
+ "node_modules/ganache-core/node_modules/pull-cat": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/pull-cat/-/pull-cat-1.1.11.tgz",
+ "integrity": "sha1-tkLdElXaN2pwa220+pYvX9t0wxs="
+ },
+ "node_modules/ganache-core/node_modules/pull-defer": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/pull-defer/-/pull-defer-0.2.3.tgz",
+ "integrity": "sha512-/An3KE7mVjZCqNhZsr22k1Tx8MACnUnHZZNPSJ0S62td8JtYr/AiRG42Vz7Syu31SoTLUzVIe61jtT/pNdjVYA=="
+ },
+ "node_modules/ganache-core/node_modules/pull-level": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/pull-level/-/pull-level-2.0.4.tgz",
+ "integrity": "sha512-fW6pljDeUThpq5KXwKbRG3X7Ogk3vc75d5OQU/TvXXui65ykm+Bn+fiktg+MOx2jJ85cd+sheufPL+rw9QSVZg==",
+ "dependencies": {
+ "level-post": "^1.0.7",
+ "pull-cat": "^1.1.9",
+ "pull-live": "^1.0.1",
+ "pull-pushable": "^2.0.0",
+ "pull-stream": "^3.4.0",
+ "pull-window": "^2.1.4",
+ "stream-to-pull-stream": "^1.7.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/pull-live": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/pull-live/-/pull-live-1.0.1.tgz",
+ "integrity": "sha1-pOzuAeMwFV6RJLu89HYfIbOPUfU=",
+ "dependencies": {
+ "pull-cat": "^1.1.9",
+ "pull-stream": "^3.4.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/pull-pushable": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/pull-pushable/-/pull-pushable-2.2.0.tgz",
+ "integrity": "sha1-Xy867UethpGfAbEqLpnW8b13ZYE="
+ },
+ "node_modules/ganache-core/node_modules/pull-stream": {
+ "version": "3.6.14",
+ "resolved": "https://registry.npmjs.org/pull-stream/-/pull-stream-3.6.14.tgz",
+ "integrity": "sha512-KIqdvpqHHaTUA2mCYcLG1ibEbu/LCKoJZsBWyv9lSYtPkJPBq8m3Hxa103xHi6D2thj5YXa0TqK3L3GUkwgnew=="
+ },
+ "node_modules/ganache-core/node_modules/pull-window": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/pull-window/-/pull-window-2.1.4.tgz",
+ "integrity": "sha1-/DuG/uvRkgx64pdpHiP3BfiFUvA=",
+ "dependencies": {
+ "looper": "^2.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/pump": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/pumpify": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz",
+ "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==",
+ "dependencies": {
+ "duplexify": "^3.6.0",
+ "inherits": "^2.0.3",
+ "pump": "^2.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/pumpify/node_modules/pump": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz",
+ "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==",
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/punycode": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
+ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/randombytes": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",
+ "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==",
+ "dependencies": {
+ "safe-buffer": "^5.1.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/read-pkg": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
+ "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=",
+ "dependencies": {
+ "load-json-file": "^1.0.0",
+ "normalize-package-data": "^2.3.2",
+ "path-type": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/read-pkg-up": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",
+ "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=",
+ "dependencies": {
+ "find-up": "^1.0.0",
+ "read-pkg": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/readable-stream": {
+ "version": "2.3.7",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
+ "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.3",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
+ "util-deprecate": "~1.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/readable-stream/node_modules/isarray": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
+ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
+ },
+ "node_modules/ganache-core/node_modules/readable-stream/node_modules/safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
+ },
+ "node_modules/ganache-core/node_modules/readable-stream/node_modules/string_decoder": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
+ "dependencies": {
+ "safe-buffer": "~5.1.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/readdirp": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz",
+ "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==",
+ "dependencies": {
+ "graceful-fs": "^4.1.11",
+ "micromatch": "^3.1.10",
+ "readable-stream": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/rechoir": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz",
+ "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=",
+ "dependencies": {
+ "resolve": "^1.1.6"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/regenerate": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz",
+ "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg=="
+ },
+ "node_modules/ganache-core/node_modules/regenerator-runtime": {
+ "version": "0.11.1",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
+ "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
+ },
+ "node_modules/ganache-core/node_modules/regenerator-transform": {
+ "version": "0.10.1",
+ "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz",
+ "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==",
+ "dependencies": {
+ "babel-runtime": "^6.18.0",
+ "babel-types": "^6.19.0",
+ "private": "^0.1.6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/regex-not": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",
+ "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",
+ "dependencies": {
+ "extend-shallow": "^3.0.2",
+ "safe-regex": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/regexp.prototype.flags": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz",
+ "integrity": "sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ==",
+ "dependencies": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.0-next.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/regexpu-core": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz",
+ "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=",
+ "dependencies": {
+ "regenerate": "^1.2.1",
+ "regjsgen": "^0.2.0",
+ "regjsparser": "^0.1.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/regjsgen": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz",
+ "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc="
+ },
+ "node_modules/ganache-core/node_modules/regjsparser": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz",
+ "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=",
+ "dependencies": {
+ "jsesc": "~0.5.0"
+ },
+ "bin": {
+ "regjsparser": "bin/parser"
+ }
+ },
+ "node_modules/ganache-core/node_modules/remove-bom-buffer": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/remove-bom-buffer/-/remove-bom-buffer-3.0.0.tgz",
+ "integrity": "sha512-8v2rWhaakv18qcvNeli2mZ/TMTL2nEyAKRvzo1WtnZBl15SHyEhrCu2/xKlJyUFKHiHgfXIyuY6g2dObJJycXQ==",
+ "dependencies": {
+ "is-buffer": "^1.1.5",
+ "is-utf8": "^0.2.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/remove-bom-stream": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/remove-bom-stream/-/remove-bom-stream-1.2.0.tgz",
+ "integrity": "sha1-BfGlk/FuQuH7kOv1nejlaVJflSM=",
+ "dependencies": {
+ "remove-bom-buffer": "^3.0.0",
+ "safe-buffer": "^5.1.0",
+ "through2": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/remove-trailing-separator": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
+ "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8="
+ },
+ "node_modules/ganache-core/node_modules/repeat-element": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz",
+ "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/repeat-string": {
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
+ "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=",
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/repeating": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",
+ "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",
+ "dependencies": {
+ "is-finite": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/replace-ext": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz",
+ "integrity": "sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs=",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/replace-homedir": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/replace-homedir/-/replace-homedir-1.0.0.tgz",
+ "integrity": "sha1-6H9tUTuSjd6AgmDBK+f+xv9ueYw=",
+ "dependencies": {
+ "homedir-polyfill": "^1.0.1",
+ "is-absolute": "^1.0.0",
+ "remove-trailing-separator": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/request": {
+ "version": "2.88.0",
+ "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz",
+ "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==",
+ "dependencies": {
+ "aws-sign2": "~0.7.0",
+ "aws4": "^1.8.0",
+ "caseless": "~0.12.0",
+ "combined-stream": "~1.0.6",
+ "extend": "~3.0.2",
+ "forever-agent": "~0.6.1",
+ "form-data": "~2.3.2",
+ "har-validator": "~5.1.0",
+ "http-signature": "~1.2.0",
+ "is-typedarray": "~1.0.0",
+ "isstream": "~0.1.2",
+ "json-stringify-safe": "~5.0.1",
+ "mime-types": "~2.1.19",
+ "oauth-sign": "~0.9.0",
+ "performance-now": "^2.1.0",
+ "qs": "~6.5.2",
+ "safe-buffer": "^5.1.2",
+ "tough-cookie": "~2.4.3",
+ "tunnel-agent": "^0.6.0",
+ "uuid": "^3.3.2"
+ },
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/request/node_modules/qs": {
+ "version": "6.5.2",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
+ "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/require-directory": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
+ "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/require-main-filename": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz",
+ "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE="
+ },
+ "node_modules/ganache-core/node_modules/resolve": {
+ "version": "1.14.2",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.14.2.tgz",
+ "integrity": "sha512-EjlOBLBO1kxsUxsKjLt7TAECyKW6fOh1VRkykQkKGzcBbjjPIxBqGh0jf7GJ3k/f5mxMqW3htMD3WdTUVtW8HQ==",
+ "dependencies": {
+ "path-parse": "^1.0.6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/resolve-dir": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz",
+ "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=",
+ "dependencies": {
+ "expand-tilde": "^2.0.0",
+ "global-modules": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/resolve-options": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/resolve-options/-/resolve-options-1.1.0.tgz",
+ "integrity": "sha1-MrueOcBtZzONyTeMDW1gdFZq0TE=",
+ "dependencies": {
+ "value-or-function": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/resolve-url": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",
+ "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo="
+ },
+ "node_modules/ganache-core/node_modules/responselike": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
+ "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=",
+ "dependencies": {
+ "lowercase-keys": "^1.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/resumer": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz",
+ "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=",
+ "dependencies": {
+ "through": "~2.3.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ret": {
+ "version": "0.1.15",
+ "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
+ "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==",
+ "engines": {
+ "node": ">=0.12"
+ }
+ },
+ "node_modules/ganache-core/node_modules/rimraf": {
+ "version": "2.7.1",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz",
+ "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==",
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
+ "node_modules/ganache-core/node_modules/ripemd160": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz",
+ "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==",
+ "dependencies": {
+ "hash-base": "^3.0.0",
+ "inherits": "^2.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/rlp": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.4.tgz",
+ "integrity": "sha512-fdq2yYCWpAQBhwkZv+Z8o/Z4sPmYm1CUq6P7n6lVTOdb949CnqA0sndXal5C1NleSVSZm6q5F3iEbauyVln/iw==",
+ "dependencies": {
+ "bn.js": "^4.11.1"
+ },
+ "bin": {
+ "rlp": "bin/rlp"
+ }
+ },
+ "node_modules/ganache-core/node_modules/rustbn.js": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/rustbn.js/-/rustbn.js-0.2.0.tgz",
+ "integrity": "sha512-4VlvkRUuCJvr2J6Y0ImW7NvTCriMi7ErOAqWk1y69vAdoNIzCF3yPmgeNzx+RQTLEDFq5sHfscn1MwHxP9hNfA=="
+ },
+ "node_modules/ganache-core/node_modules/safe-buffer": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz",
+ "integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg=="
+ },
+ "node_modules/ganache-core/node_modules/safe-event-emitter": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/safe-event-emitter/-/safe-event-emitter-1.0.1.tgz",
+ "integrity": "sha512-e1wFe99A91XYYxoQbcq2ZJUWurxEyP8vfz7A7vuUe1s95q8r5ebraVaA1BukYJcpM6V16ugWoD9vngi8Ccu5fg==",
+ "dependencies": {
+ "events": "^3.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/safe-regex": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",
+ "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=",
+ "dependencies": {
+ "ret": "~0.1.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
+ },
+ "node_modules/ganache-core/node_modules/scrypt": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/scrypt/-/scrypt-6.0.3.tgz",
+ "integrity": "sha1-BOAUpWgrU/pQwtXM4WfXGcBthw0=",
+ "optional": true,
+ "dependencies": {
+ "nan": "^2.0.8"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/scrypt-js": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-2.0.3.tgz",
+ "integrity": "sha1-uwBAvgMEPamgEqLOqfyfhSz8h9Q="
+ },
+ "node_modules/ganache-core/node_modules/scrypt.js": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/scrypt.js/-/scrypt.js-0.3.0.tgz",
+ "integrity": "sha512-42LTc1nyFsyv/o0gcHtDztrn+aqpkaCNt5Qh7ATBZfhEZU7IC/0oT/qbBH+uRNoAPvs2fwiOId68FDEoSRA8/A==",
+ "optional": true,
+ "dependencies": {
+ "scrypt": "^6.0.2",
+ "scryptsy": "^1.2.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/scryptsy": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-1.2.1.tgz",
+ "integrity": "sha1-oyJfpLJST4AnAHYeKFW987LZIWM=",
+ "optional": true,
+ "dependencies": {
+ "pbkdf2": "^3.0.3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/secp256k1": {
+ "version": "3.8.0",
+ "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.8.0.tgz",
+ "integrity": "sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw==",
+ "dependencies": {
+ "bindings": "^1.5.0",
+ "bip66": "^1.1.5",
+ "bn.js": "^4.11.8",
+ "create-hash": "^1.2.0",
+ "drbg.js": "^1.0.1",
+ "elliptic": "^6.5.2",
+ "nan": "^2.14.0",
+ "safe-buffer": "^5.1.2"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/secp256k1/node_modules/nan": {
+ "version": "2.14.0",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
+ "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg=="
+ },
+ "node_modules/ganache-core/node_modules/seedrandom": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/seedrandom/-/seedrandom-3.0.1.tgz",
+ "integrity": "sha512-1/02Y/rUeU1CJBAGLebiC5Lbo5FnB22gQbIFFYTLkwvp1xdABZJH1sn4ZT1MzXmPpzv+Rf/Lu2NcsLJiK4rcDg=="
+ },
+ "node_modules/ganache-core/node_modules/seek-bzip": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.5.tgz",
+ "integrity": "sha1-z+kXyz0nS8/6x5J1ivUxc+sfq9w=",
+ "dependencies": {
+ "commander": "~2.8.1"
+ },
+ "bin": {
+ "seek-bunzip": "bin/seek-bunzip",
+ "seek-table": "bin/seek-bzip-table"
+ }
+ },
+ "node_modules/ganache-core/node_modules/semaphore": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/semaphore/-/semaphore-1.1.0.tgz",
+ "integrity": "sha512-O4OZEaNtkMd/K0i6js9SL+gqy0ZCBMgUvlSqHKi4IBdjhe7wB8pwztUk1BbZ1fmrvpwFrPbHzqd2w5pTcJH6LA==",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/semver-greatest-satisfied-range": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/semver-greatest-satisfied-range/-/semver-greatest-satisfied-range-1.1.0.tgz",
+ "integrity": "sha1-E+jCZYq5aRywzXEJMkAoDTb3els=",
+ "dependencies": {
+ "sver-compat": "^1.5.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/set-blocking": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
+ "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc="
+ },
+ "node_modules/ganache-core/node_modules/set-immediate-shim": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz",
+ "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/set-value": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz",
+ "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==",
+ "dependencies": {
+ "extend-shallow": "^2.0.1",
+ "is-extendable": "^0.1.1",
+ "is-plain-object": "^2.0.3",
+ "split-string": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/set-value/node_modules/extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "dependencies": {
+ "is-extendable": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/setimmediate": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
+ "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="
+ },
+ "node_modules/ganache-core/node_modules/sha.js": {
+ "version": "2.4.11",
+ "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",
+ "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==",
+ "dependencies": {
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.0.1"
+ },
+ "bin": {
+ "sha.js": "bin.js"
+ }
+ },
+ "node_modules/ganache-core/node_modules/sha3": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/sha3/-/sha3-1.2.6.tgz",
+ "integrity": "sha512-KgLGmJGrmNB4JWVsAV11Yk6KbvsAiygWJc7t5IebWva/0NukNrjJqhtKhzy3Eiv2AKuGvhZZt7dt1mDo7HkoiQ==",
+ "dependencies": {
+ "nan": "2.13.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/slash": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
+ "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/snapdragon": {
+ "version": "0.8.2",
+ "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",
+ "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==",
+ "dependencies": {
+ "base": "^0.11.1",
+ "debug": "^2.2.0",
+ "define-property": "^0.2.5",
+ "extend-shallow": "^2.0.1",
+ "map-cache": "^0.2.2",
+ "source-map": "^0.5.6",
+ "source-map-resolve": "^0.5.0",
+ "use": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/snapdragon-node": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz",
+ "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==",
+ "dependencies": {
+ "define-property": "^1.0.0",
+ "isobject": "^3.0.0",
+ "snapdragon-util": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/snapdragon-node/node_modules/define-property": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
+ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
+ "dependencies": {
+ "is-descriptor": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/snapdragon-node/node_modules/is-accessor-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/snapdragon-node/node_modules/is-data-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/snapdragon-node/node_modules/is-descriptor": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
+ "dependencies": {
+ "is-accessor-descriptor": "^1.0.0",
+ "is-data-descriptor": "^1.0.0",
+ "kind-of": "^6.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/snapdragon-util": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz",
+ "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==",
+ "dependencies": {
+ "kind-of": "^3.2.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/snapdragon-util/node_modules/kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/snapdragon/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/snapdragon/node_modules/define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "dependencies": {
+ "is-descriptor": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/snapdragon/node_modules/extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "dependencies": {
+ "is-extendable": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/snapdragon/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ },
+ "node_modules/ganache-core/node_modules/snapdragon/node_modules/source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/source-map-resolve": {
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz",
+ "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==",
+ "dependencies": {
+ "atob": "^2.1.2",
+ "decode-uri-component": "^0.2.0",
+ "resolve-url": "^0.2.1",
+ "source-map-url": "^0.4.0",
+ "urix": "^0.1.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/source-map-support": {
+ "version": "0.5.12",
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.12.tgz",
+ "integrity": "sha512-4h2Pbvyy15EE02G+JOZpUCmqWJuqrs+sEkzewTm++BPi7Hvn/HwcqLAcNxYAyI0x13CpPPn+kMjl+hplXMHITQ==",
+ "dependencies": {
+ "buffer-from": "^1.0.0",
+ "source-map": "^0.6.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/source-map-url": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz",
+ "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM="
+ },
+ "node_modules/ganache-core/node_modules/sparkles": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/sparkles/-/sparkles-1.0.1.tgz",
+ "integrity": "sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw==",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/spdx-correct": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz",
+ "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==",
+ "dependencies": {
+ "spdx-expression-parse": "^3.0.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/spdx-exceptions": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz",
+ "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA=="
+ },
+ "node_modules/ganache-core/node_modules/spdx-expression-parse": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz",
+ "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==",
+ "dependencies": {
+ "spdx-exceptions": "^2.1.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/spdx-license-ids": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz",
+ "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q=="
+ },
+ "node_modules/ganache-core/node_modules/split-string": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",
+ "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==",
+ "dependencies": {
+ "extend-shallow": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/sshpk": {
+ "version": "1.16.1",
+ "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz",
+ "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==",
+ "dependencies": {
+ "asn1": "~0.2.3",
+ "assert-plus": "^1.0.0",
+ "bcrypt-pbkdf": "^1.0.0",
+ "dashdash": "^1.12.0",
+ "ecc-jsbn": "~0.1.1",
+ "getpass": "^0.1.1",
+ "jsbn": "~0.1.0",
+ "safer-buffer": "^2.0.2",
+ "tweetnacl": "~0.14.0"
+ },
+ "bin": {
+ "sshpk-conv": "bin/sshpk-conv",
+ "sshpk-sign": "bin/sshpk-sign",
+ "sshpk-verify": "bin/sshpk-verify"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/sshpk/node_modules/tweetnacl": {
+ "version": "0.14.5",
+ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
+ "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
+ },
+ "node_modules/ganache-core/node_modules/stack-trace": {
+ "version": "0.0.10",
+ "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz",
+ "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/ganache-core/node_modules/static-extend": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",
+ "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=",
+ "dependencies": {
+ "define-property": "^0.2.5",
+ "object-copy": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/static-extend/node_modules/define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "dependencies": {
+ "is-descriptor": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/stream-exhaust": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/stream-exhaust/-/stream-exhaust-1.0.2.tgz",
+ "integrity": "sha512-b/qaq/GlBK5xaq1yrK9/zFcyRSTNxmcZwFLGSTG0mXgZl/4Z6GgiyYOXOvY7N3eEvFRAG1bkDRz5EPGSvPYQlw=="
+ },
+ "node_modules/ganache-core/node_modules/stream-shift": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz",
+ "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ=="
+ },
+ "node_modules/ganache-core/node_modules/stream-to-pull-stream": {
+ "version": "1.7.3",
+ "resolved": "https://registry.npmjs.org/stream-to-pull-stream/-/stream-to-pull-stream-1.7.3.tgz",
+ "integrity": "sha512-6sNyqJpr5dIOQdgNy/xcDWwDuzAsAwVzhzrWlAPAQ7Lkjx/rv0wgvxEyKwTq6FmNd5rjTrELt/CLmaSw7crMGg==",
+ "dependencies": {
+ "looper": "^3.0.0",
+ "pull-stream": "^3.2.3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/stream-to-pull-stream/node_modules/looper": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/looper/-/looper-3.0.0.tgz",
+ "integrity": "sha1-LvpUw7HLq6m5Su4uWRSwvlf7t0k="
+ },
+ "node_modules/ganache-core/node_modules/string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
+ },
+ "node_modules/ganache-core/node_modules/string-width": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
+ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
+ "dependencies": {
+ "code-point-at": "^1.0.0",
+ "is-fullwidth-code-point": "^1.0.0",
+ "strip-ansi": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/string.prototype.trim": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.1.tgz",
+ "integrity": "sha512-MjGFEeqixw47dAMFMtgUro/I0+wNqZB5GKXGt1fFr24u3TzDXCPu7J9Buppzoe3r/LqkSDLDDJzE15RGWDGAVw==",
+ "dependencies": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.0-next.1",
+ "function-bind": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/strip-ansi": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
+ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
+ "dependencies": {
+ "ansi-regex": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/strip-bom": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
+ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
+ "dependencies": {
+ "is-utf8": "^0.2.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/strip-dirs": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/strip-dirs/-/strip-dirs-2.1.0.tgz",
+ "integrity": "sha512-JOCxOeKLm2CAS73y/U4ZeZPTkE+gNVCzKt7Eox84Iej1LT/2pTWYpZKJuxwQpvX1LiZb1xokNR7RLfuBAa7T3g==",
+ "dependencies": {
+ "is-natural-number": "^4.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/strip-hex-prefix": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz",
+ "integrity": "sha1-DF8VX+8RUTczd96du1iNoFUA428=",
+ "dependencies": {
+ "is-hex-prefixed": "1.0.0"
+ },
+ "engines": {
+ "node": ">=6.5.0",
+ "npm": ">=3"
+ }
+ },
+ "node_modules/ganache-core/node_modules/supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/sver-compat": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/sver-compat/-/sver-compat-1.5.0.tgz",
+ "integrity": "sha1-PPh9/rTQe0o/FIJ7wYaz/QxkXNg=",
+ "dependencies": {
+ "es6-iterator": "^2.0.1",
+ "es6-symbol": "^3.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/swarm-js": {
+ "version": "0.1.39",
+ "resolved": "https://registry.npmjs.org/swarm-js/-/swarm-js-0.1.39.tgz",
+ "integrity": "sha512-QLMqL2rzF6n5s50BptyD6Oi0R1aWlJC5Y17SRIVXRj6OR1DRIPM7nepvrxxkjA1zNzFz6mUOMjfeqeDaWB7OOg==",
+ "dependencies": {
+ "bluebird": "^3.5.0",
+ "buffer": "^5.0.5",
+ "decompress": "^4.0.0",
+ "eth-lib": "^0.1.26",
+ "fs-extra": "^4.0.2",
+ "got": "^7.1.0",
+ "mime-types": "^2.1.16",
+ "mkdirp-promise": "^5.0.1",
+ "mock-fs": "^4.1.0",
+ "setimmediate": "^1.0.5",
+ "tar": "^4.0.2",
+ "xhr-request-promise": "^0.1.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/swarm-js/node_modules/get-stream": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",
+ "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/swarm-js/node_modules/got": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/got/-/got-7.1.0.tgz",
+ "integrity": "sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw==",
+ "dependencies": {
+ "decompress-response": "^3.2.0",
+ "duplexer3": "^0.1.4",
+ "get-stream": "^3.0.0",
+ "is-plain-obj": "^1.1.0",
+ "is-retry-allowed": "^1.0.0",
+ "is-stream": "^1.0.0",
+ "isurl": "^1.0.0-alpha5",
+ "lowercase-keys": "^1.0.0",
+ "p-cancelable": "^0.3.0",
+ "p-timeout": "^1.1.1",
+ "safe-buffer": "^5.0.1",
+ "timed-out": "^4.0.0",
+ "url-parse-lax": "^1.0.0",
+ "url-to-options": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/swarm-js/node_modules/p-cancelable": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.3.0.tgz",
+ "integrity": "sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/swarm-js/node_modules/prepend-http": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz",
+ "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/swarm-js/node_modules/url-parse-lax": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz",
+ "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=",
+ "dependencies": {
+ "prepend-http": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/tape": {
+ "version": "4.13.0",
+ "resolved": "https://registry.npmjs.org/tape/-/tape-4.13.0.tgz",
+ "integrity": "sha512-J/hvA+GJnuWJ0Sj8Z0dmu3JgMNU+MmusvkCT7+SN4/2TklW18FNCp/UuHIEhPZwHfy4sXfKYgC7kypKg4umbOw==",
+ "dependencies": {
+ "deep-equal": "~1.1.1",
+ "defined": "~1.0.0",
+ "dotignore": "~0.1.2",
+ "for-each": "~0.3.3",
+ "function-bind": "~1.1.1",
+ "glob": "~7.1.6",
+ "has": "~1.0.3",
+ "inherits": "~2.0.4",
+ "is-regex": "~1.0.5",
+ "minimist": "~1.2.0",
+ "object-inspect": "~1.7.0",
+ "resolve": "~1.14.2",
+ "resumer": "~0.0.0",
+ "string.prototype.trim": "~1.2.1",
+ "through": "~2.3.8"
+ },
+ "bin": {
+ "tape": "bin/tape"
+ }
+ },
+ "node_modules/ganache-core/node_modules/tape/node_modules/minimist": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
+ "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
+ },
+ "node_modules/ganache-core/node_modules/tar": {
+ "version": "4.4.13",
+ "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz",
+ "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==",
+ "dependencies": {
+ "chownr": "^1.1.1",
+ "fs-minipass": "^1.2.5",
+ "minipass": "^2.8.6",
+ "minizlib": "^1.2.1",
+ "mkdirp": "^0.5.0",
+ "safe-buffer": "^5.1.2",
+ "yallist": "^3.0.3"
+ },
+ "engines": {
+ "node": ">=4.5"
+ }
+ },
+ "node_modules/ganache-core/node_modules/tar-stream": {
+ "version": "1.6.2",
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.2.tgz",
+ "integrity": "sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A==",
+ "dependencies": {
+ "bl": "^1.0.0",
+ "buffer-alloc": "^1.2.0",
+ "end-of-stream": "^1.0.0",
+ "fs-constants": "^1.0.0",
+ "readable-stream": "^2.3.0",
+ "to-buffer": "^1.1.1",
+ "xtend": "^4.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/tar/node_modules/mkdirp": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
+ "dependencies": {
+ "minimist": "0.0.8"
+ },
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ }
+ },
+ "node_modules/ganache-core/node_modules/through": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
+ "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU="
+ },
+ "node_modules/ganache-core/node_modules/through2": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz",
+ "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==",
+ "dependencies": {
+ "readable-stream": "~2.3.6",
+ "xtend": "~4.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/time-stamp": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-1.1.0.tgz",
+ "integrity": "sha1-dkpaEa9QVhkhsTPztE5hhofg9cM=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/timed-out": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz",
+ "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/tmp": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.1.0.tgz",
+ "integrity": "sha512-J7Z2K08jbGcdA1kkQpJSqLF6T0tdQqpR2pnSUXsIchbPdTI9v3e85cLW0d6WDhwuAleOV71j2xWs8qMPfK7nKw==",
+ "dependencies": {
+ "rimraf": "^2.6.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/to-absolute-glob": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-2.0.2.tgz",
+ "integrity": "sha1-GGX0PZ50sIItufFFt4z/fQ98hJs=",
+ "dependencies": {
+ "is-absolute": "^1.0.0",
+ "is-negated-glob": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/to-buffer": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz",
+ "integrity": "sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg=="
+ },
+ "node_modules/ganache-core/node_modules/to-fast-properties": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz",
+ "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/to-object-path": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",
+ "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=",
+ "dependencies": {
+ "kind-of": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/to-object-path/node_modules/kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/to-readable-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz",
+ "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ganache-core/node_modules/to-regex": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz",
+ "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==",
+ "dependencies": {
+ "define-property": "^2.0.2",
+ "extend-shallow": "^3.0.2",
+ "regex-not": "^1.0.2",
+ "safe-regex": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/to-regex-range": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",
+ "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",
+ "dependencies": {
+ "is-number": "^3.0.0",
+ "repeat-string": "^1.6.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/to-through": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/to-through/-/to-through-2.0.0.tgz",
+ "integrity": "sha1-/JKtq6ByZHvAtn1rA2ZKoZUJOvY=",
+ "dependencies": {
+ "through2": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/tough-cookie": {
+ "version": "2.4.3",
+ "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz",
+ "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==",
+ "dependencies": {
+ "psl": "^1.1.24",
+ "punycode": "^1.4.1"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/ganache-core/node_modules/tough-cookie/node_modules/punycode": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
+ "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="
+ },
+ "node_modules/ganache-core/node_modules/trim-right": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz",
+ "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/tunnel-agent": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
+ "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
+ "dependencies": {
+ "safe-buffer": "^5.0.1"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/ganache-core/node_modules/tweetnacl": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.2.tgz",
+ "integrity": "sha512-+8aPRjmXgf1VqvyxSlBUzKzeYqVS9Ai8vZ28g+mL7dNQl1jlUTCMDZnvNQdAS1xTywMkIXwJsfipsR/6s2+syw=="
+ },
+ "node_modules/ganache-core/node_modules/typedarray": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
+ "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c="
+ },
+ "node_modules/ganache-core/node_modules/typewise": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/typewise/-/typewise-1.0.3.tgz",
+ "integrity": "sha1-EGeTZUCvl5N8xdz5kiSG6fooRlE=",
+ "dependencies": {
+ "typewise-core": "^1.2.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/typewise-core": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/typewise-core/-/typewise-core-1.2.0.tgz",
+ "integrity": "sha1-l+uRgFx/VdL5QXSPpQ0xXZke8ZU="
+ },
+ "node_modules/ganache-core/node_modules/typewiselite": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/typewiselite/-/typewiselite-1.0.0.tgz",
+ "integrity": "sha1-yIgvobsQksBgBal/NO9chQjjZk4="
+ },
+ "node_modules/ganache-core/node_modules/unbzip2-stream": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.3.3.tgz",
+ "integrity": "sha512-fUlAF7U9Ah1Q6EieQ4x4zLNejrRvDWUYmxXUpN3uziFYCHapjWFaCAnreY9bGgxzaMCFAPPpYNng57CypwJVhg==",
+ "dependencies": {
+ "buffer": "^5.2.1",
+ "through": "^2.3.8"
+ }
+ },
+ "node_modules/ganache-core/node_modules/unc-path-regex": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz",
+ "integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/undertaker": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/undertaker/-/undertaker-1.2.1.tgz",
+ "integrity": "sha512-71WxIzDkgYk9ZS+spIB8iZXchFhAdEo2YU8xYqBYJ39DIUIqziK78ftm26eecoIY49X0J2MLhG4hr18Yp6/CMA==",
+ "dependencies": {
+ "arr-flatten": "^1.0.1",
+ "arr-map": "^2.0.0",
+ "bach": "^1.0.0",
+ "collection-map": "^1.0.0",
+ "es6-weak-map": "^2.0.1",
+ "last-run": "^1.1.0",
+ "object.defaults": "^1.0.0",
+ "object.reduce": "^1.0.0",
+ "undertaker-registry": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/undertaker-registry": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/undertaker-registry/-/undertaker-registry-1.0.1.tgz",
+ "integrity": "sha1-XkvaMI5KiirlhPm5pDWaSZglzFA=",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/union-value": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",
+ "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==",
+ "dependencies": {
+ "arr-union": "^3.1.0",
+ "get-value": "^2.0.6",
+ "is-extendable": "^0.1.1",
+ "set-value": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/universalify": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
+ "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/unorm": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz",
+ "integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==",
+ "engines": {
+ "node": ">= 0.4.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/unset-value": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",
+ "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=",
+ "dependencies": {
+ "has-value": "^0.3.1",
+ "isobject": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/unset-value/node_modules/has-value": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz",
+ "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=",
+ "dependencies": {
+ "get-value": "^2.0.3",
+ "has-values": "^0.1.4",
+ "isobject": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/unset-value/node_modules/has-value/node_modules/isobject": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
+ "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",
+ "dependencies": {
+ "isarray": "1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/unset-value/node_modules/has-values": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz",
+ "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/unset-value/node_modules/isarray": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
+ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
+ },
+ "node_modules/ganache-core/node_modules/upath": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz",
+ "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==",
+ "engines": {
+ "node": ">=4",
+ "yarn": "*"
+ }
+ },
+ "node_modules/ganache-core/node_modules/uri-js": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
+ "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
+ "dependencies": {
+ "punycode": "^2.1.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/urix": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",
+ "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI="
+ },
+ "node_modules/ganache-core/node_modules/url-parse-lax": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz",
+ "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=",
+ "dependencies": {
+ "prepend-http": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ganache-core/node_modules/use": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
+ "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
+ },
+ "node_modules/ganache-core/node_modules/uuid": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
+ "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
+ "bin": {
+ "uuid": "bin/uuid"
+ }
+ },
+ "node_modules/ganache-core/node_modules/v8flags": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.1.3.tgz",
+ "integrity": "sha512-amh9CCg3ZxkzQ48Mhcb8iX7xpAfYJgePHxWMQCBWECpOSqJUXgY26ncA61UTV0BkPqfhcy6mzwCIoP4ygxpW8w==",
+ "dependencies": {
+ "homedir-polyfill": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/validate-npm-package-license": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
+ "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
+ "dependencies": {
+ "spdx-correct": "^3.0.0",
+ "spdx-expression-parse": "^3.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/value-or-function": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/value-or-function/-/value-or-function-3.0.0.tgz",
+ "integrity": "sha1-HCQ6ULWVwb5Up1S/7OhWO5/42BM=",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/verror": {
+ "version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
+ "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
+ "engines": [
+ "node >=0.6.0"
+ ],
+ "dependencies": {
+ "assert-plus": "^1.0.0",
+ "core-util-is": "1.0.2",
+ "extsprintf": "^1.2.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/vinyl": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-2.2.0.tgz",
+ "integrity": "sha512-MBH+yP0kC/GQ5GwBqrTPTzEfiiLjta7hTtvQtbxBgTeSXsmKQRQecjibMbxIXzVT3Y9KJK+drOz1/k+vsu8Nkg==",
+ "dependencies": {
+ "clone": "^2.1.1",
+ "clone-buffer": "^1.0.0",
+ "clone-stats": "^1.0.0",
+ "cloneable-readable": "^1.0.0",
+ "remove-trailing-separator": "^1.0.1",
+ "replace-ext": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/vinyl-fs": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-3.0.3.tgz",
+ "integrity": "sha512-vIu34EkyNyJxmP0jscNzWBSygh7VWhqun6RmqVfXePrOwi9lhvRs//dOaGOTRUQr4tx7/zd26Tk5WeSVZitgng==",
+ "dependencies": {
+ "fs-mkdirp-stream": "^1.0.0",
+ "glob-stream": "^6.1.0",
+ "graceful-fs": "^4.0.0",
+ "is-valid-glob": "^1.0.0",
+ "lazystream": "^1.0.0",
+ "lead": "^1.0.0",
+ "object.assign": "^4.0.4",
+ "pumpify": "^1.3.5",
+ "readable-stream": "^2.3.3",
+ "remove-bom-buffer": "^3.0.0",
+ "remove-bom-stream": "^1.2.0",
+ "resolve-options": "^1.1.0",
+ "through2": "^2.0.0",
+ "to-through": "^2.0.0",
+ "value-or-function": "^3.0.0",
+ "vinyl": "^2.0.0",
+ "vinyl-sourcemap": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/vinyl-sourcemap": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-1.1.0.tgz",
+ "integrity": "sha1-kqgAWTo4cDqM2xHYswCtS+Y7PhY=",
+ "dependencies": {
+ "append-buffer": "^1.0.2",
+ "convert-source-map": "^1.5.0",
+ "graceful-fs": "^4.1.6",
+ "normalize-path": "^2.1.1",
+ "now-and-later": "^2.0.0",
+ "remove-bom-buffer": "^3.0.0",
+ "vinyl": "^2.0.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3/-/web3-1.2.4.tgz",
+ "integrity": "sha512-xPXGe+w0x0t88Wj+s/dmAdASr3O9wmA9mpZRtixGZxmBexAF0MjfqYM+MS4tVl5s11hMTN3AZb8cDD4VLfC57A==",
+ "dependencies": {
+ "@types/node": "^12.6.1",
+ "web3-bzz": "1.2.4",
+ "web3-core": "1.2.4",
+ "web3-eth": "1.2.4",
+ "web3-eth-personal": "1.2.4",
+ "web3-net": "1.2.4",
+ "web3-shh": "1.2.4",
+ "web3-utils": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-bzz": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.2.4.tgz",
+ "integrity": "sha512-MqhAo/+0iQSMBtt3/QI1rU83uvF08sYq8r25+OUZ+4VtihnYsmkkca+rdU0QbRyrXY2/yGIpI46PFdh0khD53A==",
+ "dependencies": {
+ "@types/node": "^10.12.18",
+ "got": "9.6.0",
+ "swarm-js": "0.1.39",
+ "underscore": "1.9.1"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-bzz/node_modules/@types/node": {
+ "version": "10.17.14",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.14.tgz",
+ "integrity": "sha512-G0UmX5uKEmW+ZAhmZ6PLTQ5eu/VPaT+d/tdLd5IFsKRPcbe6lPxocBtcYBFSaLaCW8O60AX90e91Nsp8lVHCNw=="
+ },
+ "node_modules/ganache-core/node_modules/web3-core": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.2.4.tgz",
+ "integrity": "sha512-CHc27sMuET2cs1IKrkz7xzmTdMfZpYswe7f0HcuyneTwS1yTlTnHyqjAaTy0ZygAb/x4iaVox+Gvr4oSAqSI+A==",
+ "dependencies": {
+ "@types/bignumber.js": "^5.0.0",
+ "@types/bn.js": "^4.11.4",
+ "@types/node": "^12.6.1",
+ "web3-core-helpers": "1.2.4",
+ "web3-core-method": "1.2.4",
+ "web3-core-requestmanager": "1.2.4",
+ "web3-utils": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-core-helpers": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.2.4.tgz",
+ "integrity": "sha512-U7wbsK8IbZvF3B7S+QMSNP0tni/6VipnJkB0tZVEpHEIV2WWeBHYmZDnULWcsS/x/jn9yKhJlXIxWGsEAMkjiw==",
+ "dependencies": {
+ "underscore": "1.9.1",
+ "web3-eth-iban": "1.2.4",
+ "web3-utils": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-core-method": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.2.4.tgz",
+ "integrity": "sha512-8p9kpL7di2qOVPWgcM08kb+yKom0rxRCMv6m/K+H+yLSxev9TgMbCgMSbPWAHlyiF3SJHw7APFKahK5Z+8XT5A==",
+ "dependencies": {
+ "underscore": "1.9.1",
+ "web3-core-helpers": "1.2.4",
+ "web3-core-promievent": "1.2.4",
+ "web3-core-subscriptions": "1.2.4",
+ "web3-utils": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-core-promievent": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.2.4.tgz",
+ "integrity": "sha512-gEUlm27DewUsfUgC3T8AxkKi8Ecx+e+ZCaunB7X4Qk3i9F4C+5PSMGguolrShZ7Zb6717k79Y86f3A00O0VAZw==",
+ "dependencies": {
+ "any-promise": "1.3.0",
+ "eventemitter3": "3.1.2"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-core-requestmanager": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.2.4.tgz",
+ "integrity": "sha512-eZJDjyNTDtmSmzd3S488nR/SMJtNnn/GuwxnMh3AzYCqG3ZMfOylqTad2eYJPvc2PM5/Gj1wAMQcRpwOjjLuPg==",
+ "dependencies": {
+ "underscore": "1.9.1",
+ "web3-core-helpers": "1.2.4",
+ "web3-providers-http": "1.2.4",
+ "web3-providers-ipc": "1.2.4",
+ "web3-providers-ws": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-core-subscriptions": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.2.4.tgz",
+ "integrity": "sha512-3D607J2M8ymY9V+/WZq4MLlBulwCkwEjjC2U+cXqgVO1rCyVqbxZNCmHyNYHjDDCxSEbks9Ju5xqJxDSxnyXEw==",
+ "dependencies": {
+ "eventemitter3": "3.1.2",
+ "underscore": "1.9.1",
+ "web3-core-helpers": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-core/node_modules/@types/node": {
+ "version": "12.12.26",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz",
+ "integrity": "sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA=="
+ },
+ "node_modules/ganache-core/node_modules/web3-eth": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.2.4.tgz",
+ "integrity": "sha512-+j+kbfmZsbc3+KJpvHM16j1xRFHe2jBAniMo1BHKc3lho6A8Sn9Buyut6odubguX2AxoRArCdIDCkT9hjUERpA==",
+ "dependencies": {
+ "underscore": "1.9.1",
+ "web3-core": "1.2.4",
+ "web3-core-helpers": "1.2.4",
+ "web3-core-method": "1.2.4",
+ "web3-core-subscriptions": "1.2.4",
+ "web3-eth-abi": "1.2.4",
+ "web3-eth-accounts": "1.2.4",
+ "web3-eth-contract": "1.2.4",
+ "web3-eth-ens": "1.2.4",
+ "web3-eth-iban": "1.2.4",
+ "web3-eth-personal": "1.2.4",
+ "web3-net": "1.2.4",
+ "web3-utils": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-abi": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.2.4.tgz",
+ "integrity": "sha512-8eLIY4xZKoU3DSVu1pORluAw9Ru0/v4CGdw5so31nn+7fR8zgHMgwbFe0aOqWQ5VU42PzMMXeIJwt4AEi2buFg==",
+ "dependencies": {
+ "ethers": "4.0.0-beta.3",
+ "underscore": "1.9.1",
+ "web3-utils": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-abi/node_modules/@types/node": {
+ "version": "10.17.14",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.14.tgz",
+ "integrity": "sha512-G0UmX5uKEmW+ZAhmZ6PLTQ5eu/VPaT+d/tdLd5IFsKRPcbe6lPxocBtcYBFSaLaCW8O60AX90e91Nsp8lVHCNw=="
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-abi/node_modules/aes-js": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz",
+ "integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0="
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-abi/node_modules/elliptic": {
+ "version": "6.3.3",
+ "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.3.3.tgz",
+ "integrity": "sha1-VILZZG1UvLif19mU/J4ulWiHbj8=",
+ "dependencies": {
+ "bn.js": "^4.4.0",
+ "brorand": "^1.0.1",
+ "hash.js": "^1.0.0",
+ "inherits": "^2.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-abi/node_modules/ethers": {
+ "version": "4.0.0-beta.3",
+ "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.0-beta.3.tgz",
+ "integrity": "sha512-YYPogooSknTwvHg3+Mv71gM/3Wcrx+ZpCzarBj3mqs9njjRkrOo2/eufzhHloOCo3JSoNI4TQJJ6yU5ABm3Uog==",
+ "dependencies": {
+ "@types/node": "^10.3.2",
+ "aes-js": "3.0.0",
+ "bn.js": "^4.4.0",
+ "elliptic": "6.3.3",
+ "hash.js": "1.1.3",
+ "js-sha3": "0.5.7",
+ "scrypt-js": "2.0.3",
+ "setimmediate": "1.0.4",
+ "uuid": "2.0.1",
+ "xmlhttprequest": "1.8.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-abi/node_modules/hash.js": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz",
+ "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "minimalistic-assert": "^1.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-abi/node_modules/js-sha3": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz",
+ "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc="
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-abi/node_modules/setimmediate": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.4.tgz",
+ "integrity": "sha1-IOgd5iLUoCWIzgyNqJc8vPHTE48="
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-abi/node_modules/uuid": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz",
+ "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w="
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-accounts": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.2.4.tgz",
+ "integrity": "sha512-04LzT/UtWmRFmi4hHRewP5Zz43fWhuHiK5XimP86sUQodk/ByOkXQ3RoXyGXFMNoRxdcAeRNxSfA2DpIBc9xUw==",
+ "dependencies": {
+ "@web3-js/scrypt-shim": "^0.1.0",
+ "any-promise": "1.3.0",
+ "crypto-browserify": "3.12.0",
+ "eth-lib": "0.2.7",
+ "ethereumjs-common": "^1.3.2",
+ "ethereumjs-tx": "^2.1.1",
+ "underscore": "1.9.1",
+ "uuid": "3.3.2",
+ "web3-core": "1.2.4",
+ "web3-core-helpers": "1.2.4",
+ "web3-core-method": "1.2.4",
+ "web3-utils": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-accounts/node_modules/eth-lib": {
+ "version": "0.2.7",
+ "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.7.tgz",
+ "integrity": "sha1-L5Pxex4jrsN1nNSj/iDBKGo/wco=",
+ "dependencies": {
+ "bn.js": "^4.11.6",
+ "elliptic": "^6.4.0",
+ "xhr-request-promise": "^0.1.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-accounts/node_modules/uuid": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
+ "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==",
+ "bin": {
+ "uuid": "bin/uuid"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-contract": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.2.4.tgz",
+ "integrity": "sha512-b/9zC0qjVetEYnzRA1oZ8gF1OSSUkwSYi5LGr4GeckLkzXP7osEnp9lkO/AQcE4GpG+l+STnKPnASXJGZPgBRQ==",
+ "dependencies": {
+ "@types/bn.js": "^4.11.4",
+ "underscore": "1.9.1",
+ "web3-core": "1.2.4",
+ "web3-core-helpers": "1.2.4",
+ "web3-core-method": "1.2.4",
+ "web3-core-promievent": "1.2.4",
+ "web3-core-subscriptions": "1.2.4",
+ "web3-eth-abi": "1.2.4",
+ "web3-utils": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-ens": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-eth-ens/-/web3-eth-ens-1.2.4.tgz",
+ "integrity": "sha512-g8+JxnZlhdsCzCS38Zm6R/ngXhXzvc3h7bXlxgKU4coTzLLoMpgOAEz71GxyIJinWTFbLXk/WjNY0dazi9NwVw==",
+ "dependencies": {
+ "eth-ens-namehash": "2.0.8",
+ "underscore": "1.9.1",
+ "web3-core": "1.2.4",
+ "web3-core-helpers": "1.2.4",
+ "web3-core-promievent": "1.2.4",
+ "web3-eth-abi": "1.2.4",
+ "web3-eth-contract": "1.2.4",
+ "web3-utils": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-iban": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.2.4.tgz",
+ "integrity": "sha512-D9HIyctru/FLRpXakRwmwdjb5bWU2O6UE/3AXvRm6DCOf2e+7Ve11qQrPtaubHfpdW3KWjDKvlxV9iaFv/oTMQ==",
+ "dependencies": {
+ "bn.js": "4.11.8",
+ "web3-utils": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-personal": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.2.4.tgz",
+ "integrity": "sha512-5Russ7ZECwHaZXcN3DLuLS7390Vzgrzepl4D87SD6Sn1DHsCZtvfdPIYwoTmKNp69LG3mORl7U23Ga5YxqkICw==",
+ "dependencies": {
+ "@types/node": "^12.6.1",
+ "web3-core": "1.2.4",
+ "web3-core-helpers": "1.2.4",
+ "web3-core-method": "1.2.4",
+ "web3-net": "1.2.4",
+ "web3-utils": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-eth-personal/node_modules/@types/node": {
+ "version": "12.12.26",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz",
+ "integrity": "sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA=="
+ },
+ "node_modules/ganache-core/node_modules/web3-net": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.2.4.tgz",
+ "integrity": "sha512-wKOsqhyXWPSYTGbp7ofVvni17yfRptpqoUdp3SC8RAhDmGkX6irsiT9pON79m6b3HUHfLoBilFQyt/fTUZOf7A==",
+ "dependencies": {
+ "web3-core": "1.2.4",
+ "web3-core-method": "1.2.4",
+ "web3-utils": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine": {
+ "version": "14.2.1",
+ "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-14.2.1.tgz",
+ "integrity": "sha512-iSv31h2qXkr9vrL6UZDm4leZMc32SjWJFGOp/D92JXfcEboCqraZyuExDkpxKw8ziTufXieNM7LSXNHzszYdJw==",
+ "dependencies": {
+ "async": "^2.5.0",
+ "backoff": "^2.5.0",
+ "clone": "^2.0.0",
+ "cross-fetch": "^2.1.0",
+ "eth-block-tracker": "^3.0.0",
+ "eth-json-rpc-infura": "^3.1.0",
+ "eth-sig-util": "^1.4.2",
+ "ethereumjs-block": "^1.2.2",
+ "ethereumjs-tx": "^1.2.0",
+ "ethereumjs-util": "^5.1.5",
+ "ethereumjs-vm": "^2.3.4",
+ "json-rpc-error": "^2.0.0",
+ "json-stable-stringify": "^1.0.1",
+ "promise-to-callback": "^1.0.0",
+ "readable-stream": "^2.2.9",
+ "request": "^2.85.0",
+ "semaphore": "^1.0.3",
+ "ws": "^5.1.1",
+ "xhr": "^2.2.0",
+ "xtend": "^4.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/eth-sig-util": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/eth-sig-util/-/eth-sig-util-1.4.2.tgz",
+ "integrity": "sha1-jZWCAsftuq6Dlwf7pvCf8ydgYhA=",
+ "dependencies": {
+ "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git",
+ "ethereumjs-util": "^5.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereum-common": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.2.0.tgz",
+ "integrity": "sha512-XOnAR/3rntJgbCdGhqdaLIxDLWKLmsZOGhHdBKadEr6gEnJLH52k93Ou+TUdFaPN3hJc3isBZBal3U/XZ15abA=="
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-abi": {
+ "resolved": "git+ssh://git@github.com/ethereumjs/ethereumjs-abi.git#1cfbb13862f90f0b391d8a699544d5fe4dfb8c7b",
+ "dependencies": {
+ "bn.js": "^4.11.8",
+ "ethereumjs-util": "^6.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-abi/node_modules/ethereumjs-util": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.0.tgz",
+ "integrity": "sha512-vb0XN9J2QGdZGIEKG2vXM+kUdEivUfU6Wmi5y0cg+LRhDYKnXIZ/Lz7XjFbHRR9VIKq2lVGLzGBkA++y2nOdOQ==",
+ "dependencies": {
+ "@types/bn.js": "^4.11.3",
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "0.1.6",
+ "keccak": "^2.0.0",
+ "rlp": "^2.2.3",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-account": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/ethereumjs-account/-/ethereumjs-account-2.0.5.tgz",
+ "integrity": "sha512-bgDojnXGjhMwo6eXQC0bY6UK2liSFUSMwwylOmQvZbSl/D7NXQ3+vrGO46ZeOgjGfxXmgIeVNDIiHw7fNZM4VA==",
+ "dependencies": {
+ "ethereumjs-util": "^5.0.0",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-block": {
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-1.7.1.tgz",
+ "integrity": "sha512-B+sSdtqm78fmKkBq78/QLKJbu/4Ts4P2KFISdgcuZUPDm9x+N7qgBPIIFUGbaakQh8bzuquiRVbdmvPKqbILRg==",
+ "dependencies": {
+ "async": "^2.0.1",
+ "ethereum-common": "0.2.0",
+ "ethereumjs-tx": "^1.2.2",
+ "ethereumjs-util": "^5.0.0",
+ "merkle-patricia-tree": "^2.1.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-tx": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-1.3.7.tgz",
+ "integrity": "sha512-wvLMxzt1RPhAQ9Yi3/HKZTn0FZYpnsmQdbKYfUUpi4j1SEIcbkd9tndVjcPrufY3V7j2IebOpC00Zp2P/Ay2kA==",
+ "dependencies": {
+ "ethereum-common": "^0.0.18",
+ "ethereumjs-util": "^5.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-tx/node_modules/ethereum-common": {
+ "version": "0.0.18",
+ "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.0.18.tgz",
+ "integrity": "sha1-L9w1dvIykDNYl26znaeDIT/5Uj8="
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-util": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz",
+ "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==",
+ "dependencies": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "^0.1.3",
+ "keccak": "^1.0.2",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-util/node_modules/keccak": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/keccak/-/keccak-1.4.0.tgz",
+ "integrity": "sha512-eZVaCpblK5formjPjeTBik7TAg+pqnDrMHIffSvi9Lh7PQgM1+hSzakUeZFCk9DVVG0dacZJuaz2ntwlzZUIBw==",
+ "dependencies": {
+ "bindings": "^1.2.1",
+ "inherits": "^2.0.3",
+ "nan": "^2.2.1",
+ "safe-buffer": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-vm": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-vm/-/ethereumjs-vm-2.6.0.tgz",
+ "integrity": "sha512-r/XIUik/ynGbxS3y+mvGnbOKnuLo40V5Mj1J25+HEO63aWYREIqvWeRO/hnROlMBE5WoniQmPmhiaN0ctiHaXw==",
+ "dependencies": {
+ "async": "^2.1.2",
+ "async-eventemitter": "^0.2.2",
+ "ethereumjs-account": "^2.0.3",
+ "ethereumjs-block": "~2.2.0",
+ "ethereumjs-common": "^1.1.0",
+ "ethereumjs-util": "^6.0.0",
+ "fake-merkle-patricia-tree": "^1.0.1",
+ "functional-red-black-tree": "^1.0.1",
+ "merkle-patricia-tree": "^2.3.2",
+ "rustbn.js": "~0.2.0",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-vm/node_modules/ethereumjs-block": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-2.2.2.tgz",
+ "integrity": "sha512-2p49ifhek3h2zeg/+da6XpdFR3GlqY3BIEiqxGF8j9aSRIgkb7M1Ky+yULBKJOu8PAZxfhsYA+HxUk2aCQp3vg==",
+ "dependencies": {
+ "async": "^2.0.1",
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-tx": "^2.1.1",
+ "ethereumjs-util": "^5.0.0",
+ "merkle-patricia-tree": "^2.1.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-vm/node_modules/ethereumjs-block/node_modules/ethereumjs-util": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz",
+ "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==",
+ "dependencies": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "^0.1.3",
+ "keccak": "^1.0.2",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-vm/node_modules/ethereumjs-block/node_modules/keccak": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/keccak/-/keccak-1.4.0.tgz",
+ "integrity": "sha512-eZVaCpblK5formjPjeTBik7TAg+pqnDrMHIffSvi9Lh7PQgM1+hSzakUeZFCk9DVVG0dacZJuaz2ntwlzZUIBw==",
+ "dependencies": {
+ "bindings": "^1.2.1",
+ "inherits": "^2.0.3",
+ "nan": "^2.2.1",
+ "safe-buffer": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-vm/node_modules/ethereumjs-tx": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-2.1.2.tgz",
+ "integrity": "sha512-zZEK1onCeiORb0wyCXUvg94Ve5It/K6GD1K+26KfFKodiBiS6d9lfCXlUKGBBdQ+bv7Day+JK0tj1K+BeNFRAw==",
+ "dependencies": {
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-util": "^6.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-vm/node_modules/ethereumjs-util": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.0.tgz",
+ "integrity": "sha512-vb0XN9J2QGdZGIEKG2vXM+kUdEivUfU6Wmi5y0cg+LRhDYKnXIZ/Lz7XjFbHRR9VIKq2lVGLzGBkA++y2nOdOQ==",
+ "dependencies": {
+ "@types/bn.js": "^4.11.3",
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "0.1.6",
+ "keccak": "^2.0.0",
+ "rlp": "^2.2.3",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/keccak": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/keccak/-/keccak-2.1.0.tgz",
+ "integrity": "sha512-m1wbJRTo+gWbctZWay9i26v5fFnYkOn7D5PCxJ3fZUGUEb49dE1Pm4BREUYCt/aoO6di7jeoGmhvqN9Nzylm3Q==",
+ "dependencies": {
+ "bindings": "^1.5.0",
+ "inherits": "^2.0.4",
+ "nan": "^2.14.0",
+ "safe-buffer": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=5.12.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/nan": {
+ "version": "2.14.0",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
+ "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg=="
+ },
+ "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ws": {
+ "version": "5.2.2",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz",
+ "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==",
+ "dependencies": {
+ "async-limiter": "~1.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-providers-http": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.2.4.tgz",
+ "integrity": "sha512-dzVCkRrR/cqlIrcrWNiPt9gyt0AZTE0J+MfAu9rR6CyIgtnm1wFUVVGaxYRxuTGQRO4Dlo49gtoGwaGcyxqiTw==",
+ "dependencies": {
+ "web3-core-helpers": "1.2.4",
+ "xhr2-cookies": "1.1.0"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-providers-ipc": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.2.4.tgz",
+ "integrity": "sha512-8J3Dguffin51gckTaNrO3oMBo7g+j0UNk6hXmdmQMMNEtrYqw4ctT6t06YOf9GgtOMjSAc1YEh3LPrvgIsR7og==",
+ "dependencies": {
+ "oboe": "2.1.4",
+ "underscore": "1.9.1",
+ "web3-core-helpers": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-providers-ws": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.2.4.tgz",
+ "integrity": "sha512-F/vQpDzeK+++oeeNROl1IVTufFCwCR2hpWe5yRXN0ApLwHqXrMI7UwQNdJ9iyibcWjJf/ECbauEEQ8CHgE+MYQ==",
+ "dependencies": {
+ "@web3-js/websocket": "^1.0.29",
+ "underscore": "1.9.1",
+ "web3-core-helpers": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-shh": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.2.4.tgz",
+ "integrity": "sha512-z+9SCw0dE+69Z/Hv8809XDbLj7lTfEv9Sgu8eKEIdGntZf4v7ewj5rzN5bZZSz8aCvfK7Y6ovz1PBAu4QzS4IQ==",
+ "dependencies": {
+ "web3-core": "1.2.4",
+ "web3-core-method": "1.2.4",
+ "web3-core-subscriptions": "1.2.4",
+ "web3-net": "1.2.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-utils": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.2.4.tgz",
+ "integrity": "sha512-+S86Ip+jqfIPQWvw2N/xBQq5JNqCO0dyvukGdJm8fEWHZbckT4WxSpHbx+9KLEWY4H4x9pUwnoRkK87pYyHfgQ==",
+ "dependencies": {
+ "bn.js": "4.11.8",
+ "eth-lib": "0.2.7",
+ "ethereum-bloom-filters": "^1.0.6",
+ "ethjs-unit": "0.1.6",
+ "number-to-bn": "1.7.0",
+ "randombytes": "^2.1.0",
+ "underscore": "1.9.1",
+ "utf8": "3.0.0"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3-utils/node_modules/eth-lib": {
+ "version": "0.2.7",
+ "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.7.tgz",
+ "integrity": "sha1-L5Pxex4jrsN1nNSj/iDBKGo/wco=",
+ "dependencies": {
+ "bn.js": "^4.11.6",
+ "elliptic": "^6.4.0",
+ "xhr-request-promise": "^0.1.2"
+ }
+ },
+ "node_modules/ganache-core/node_modules/web3/node_modules/@types/node": {
+ "version": "12.12.26",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz",
+ "integrity": "sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA=="
+ },
+ "node_modules/ganache-core/node_modules/websocket": {
+ "version": "1.0.29",
+ "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.29.tgz",
+ "integrity": "sha512-WhU8jKXC8sTh6ocLSqpZRlOKMNYGwUvjA5+XcIgIk/G3JCaDfkZUr0zA19sVSxJ0TEvm0i5IBzr54RZC4vzW7g==",
+ "dependencies": {
+ "debug": "^2.2.0",
+ "gulp": "^4.0.2",
+ "nan": "^2.11.0",
+ "typedarray-to-buffer": "^3.1.5",
+ "yaeti": "^0.0.6"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/websocket/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/websocket/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ },
+ "node_modules/ganache-core/node_modules/whatwg-fetch": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz",
+ "integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng=="
+ },
+ "node_modules/ganache-core/node_modules/which": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
+ "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "which": "bin/which"
+ }
+ },
+ "node_modules/ganache-core/node_modules/which-module": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz",
+ "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8="
+ },
+ "node_modules/ganache-core/node_modules/wrap-ansi": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
+ "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",
+ "dependencies": {
+ "string-width": "^1.0.1",
+ "strip-ansi": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
+ },
+ "node_modules/ganache-core/node_modules/xhr": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/xhr/-/xhr-2.5.0.tgz",
+ "integrity": "sha512-4nlO/14t3BNUZRXIXfXe+3N6w3s1KoxcJUUURctd64BLRe67E4gRwp4PjywtDY72fXpZ1y6Ch0VZQRY/gMPzzQ==",
+ "dependencies": {
+ "global": "~4.3.0",
+ "is-function": "^1.0.1",
+ "parse-headers": "^2.0.0",
+ "xtend": "^4.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/xmlhttprequest": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz",
+ "integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw=",
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/y18n": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
+ "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE="
+ },
+ "node_modules/ganache-core/node_modules/yallist": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
+ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="
+ },
+ "node_modules/ganache-core/node_modules/yargs": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz",
+ "integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=",
+ "dependencies": {
+ "camelcase": "^3.0.0",
+ "cliui": "^3.2.0",
+ "decamelize": "^1.1.1",
+ "get-caller-file": "^1.0.1",
+ "os-locale": "^1.4.0",
+ "read-pkg-up": "^1.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^1.0.1",
+ "set-blocking": "^2.0.0",
+ "string-width": "^1.0.2",
+ "which-module": "^1.0.0",
+ "y18n": "^3.2.1",
+ "yargs-parser": "^5.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/yargs-parser": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz",
+ "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=",
+ "dependencies": {
+ "camelcase": "^3.0.0"
+ }
+ },
+ "node_modules/ganache-core/node_modules/yauzl": {
+ "version": "2.10.0",
+ "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
+ "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=",
+ "dependencies": {
+ "buffer-crc32": "~0.2.3",
+ "fd-slicer": "~1.1.0"
+ }
+ },
+ "node_modules/gauge": {
+ "version": "2.7.4",
+ "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",
+ "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
+ "optional": true,
+ "dependencies": {
+ "aproba": "^1.0.3",
+ "console-control-strings": "^1.0.0",
+ "has-unicode": "^2.0.0",
+ "object-assign": "^4.1.0",
+ "signal-exit": "^3.0.0",
+ "string-width": "^1.0.1",
+ "strip-ansi": "^3.0.1",
+ "wide-align": "^1.1.0"
+ }
+ },
+ "node_modules/genfun": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/genfun/-/genfun-5.0.0.tgz",
+ "integrity": "sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA=="
+ },
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "optional": true,
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/get-caller-file": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz",
+ "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w=="
+ },
+ "node_modules/get-func-name": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz",
+ "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/get-intrinsic": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz",
+ "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==",
+ "dependencies": {
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-iterator": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/get-iterator/-/get-iterator-1.0.2.tgz",
+ "integrity": "sha512-v+dm9bNVfOYsY1OrhaCrmyOcYoSeVvbt+hHZ0Au+T+p1y+0Uyj9aMaGIeUTT6xdpRbWzDeYKvfOslPhggQMcsg==",
+ "optional": true
+ },
+ "node_modules/get-params": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/get-params/-/get-params-0.1.2.tgz",
+ "integrity": "sha1-uuDfq6WIoMYNeDTA2Nwv9g7u8v4="
+ },
+ "node_modules/get-port": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz",
+ "integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/get-prototype-of": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/get-prototype-of/-/get-prototype-of-0.0.0.tgz",
+ "integrity": "sha1-mHcr0QcW0W3rSzIlFsRp78oorEQ=",
+ "optional": true
+ },
+ "node_modules/get-stdin": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz",
+ "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/get-stream": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",
+ "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/get-value": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz",
+ "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/getpass": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
+ "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
+ "dependencies": {
+ "assert-plus": "^1.0.0"
+ }
+ },
+ "node_modules/github-from-package": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz",
+ "integrity": "sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4=",
+ "optional": true
+ },
+ "node_modules/glob": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
+ "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/glob-base": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz",
+ "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=",
+ "optional": true,
+ "dependencies": {
+ "glob-parent": "^2.0.0",
+ "is-glob": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/glob-base/node_modules/glob-parent": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz",
+ "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=",
+ "optional": true,
+ "dependencies": {
+ "is-glob": "^2.0.0"
+ }
+ },
+ "node_modules/glob-base/node_modules/is-extglob": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
+ "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/glob-base/node_modules/is-glob": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
+ "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
+ "optional": true,
+ "dependencies": {
+ "is-extglob": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz",
+ "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=",
+ "devOptional": true,
+ "dependencies": {
+ "is-glob": "^3.1.0",
+ "path-dirname": "^1.0.0"
+ }
+ },
+ "node_modules/glob-parent/node_modules/is-glob": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",
+ "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",
+ "devOptional": true,
+ "dependencies": {
+ "is-extglob": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/glob-stream": {
+ "version": "5.3.5",
+ "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-5.3.5.tgz",
+ "integrity": "sha1-pVZlqajM3EGRWofHAeMtTgFvrSI=",
+ "optional": true,
+ "dependencies": {
+ "extend": "^3.0.0",
+ "glob": "^5.0.3",
+ "glob-parent": "^3.0.0",
+ "micromatch": "^2.3.7",
+ "ordered-read-streams": "^0.3.0",
+ "through2": "^0.6.0",
+ "to-absolute-glob": "^0.1.1",
+ "unique-stream": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/glob-stream/node_modules/arr-diff": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz",
+ "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=",
+ "optional": true,
+ "dependencies": {
+ "arr-flatten": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/glob-stream/node_modules/array-unique": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz",
+ "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/glob-stream/node_modules/braces": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz",
+ "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=",
+ "optional": true,
+ "dependencies": {
+ "expand-range": "^1.8.1",
+ "preserve": "^0.2.0",
+ "repeat-element": "^1.1.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/glob-stream/node_modules/expand-brackets": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz",
+ "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=",
+ "optional": true,
+ "dependencies": {
+ "is-posix-bracket": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/glob-stream/node_modules/extglob": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz",
+ "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=",
+ "optional": true,
+ "dependencies": {
+ "is-extglob": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/glob-stream/node_modules/glob": {
+ "version": "5.0.15",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz",
+ "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=",
+ "optional": true,
+ "dependencies": {
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "2 || 3",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/glob-stream/node_modules/is-extglob": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
+ "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/glob-stream/node_modules/is-glob": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
+ "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
+ "optional": true,
+ "dependencies": {
+ "is-extglob": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/glob-stream/node_modules/isarray": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
+ "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
+ "optional": true
+ },
+ "node_modules/glob-stream/node_modules/kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "optional": true,
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/glob-stream/node_modules/micromatch": {
+ "version": "2.3.11",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz",
+ "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=",
+ "optional": true,
+ "dependencies": {
+ "arr-diff": "^2.0.0",
+ "array-unique": "^0.2.1",
+ "braces": "^1.8.2",
+ "expand-brackets": "^0.1.4",
+ "extglob": "^0.3.1",
+ "filename-regex": "^2.0.0",
+ "is-extglob": "^1.0.0",
+ "is-glob": "^2.0.1",
+ "kind-of": "^3.0.2",
+ "normalize-path": "^2.0.1",
+ "object.omit": "^2.0.0",
+ "parse-glob": "^3.0.4",
+ "regex-cache": "^0.4.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/glob-stream/node_modules/normalize-path": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
+ "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
+ "optional": true,
+ "dependencies": {
+ "remove-trailing-separator": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/glob-stream/node_modules/readable-stream": {
+ "version": "1.0.34",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
+ "optional": true,
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "0.0.1",
+ "string_decoder": "~0.10.x"
+ }
+ },
+ "node_modules/glob-stream/node_modules/string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
+ "optional": true
+ },
+ "node_modules/glob-stream/node_modules/through2": {
+ "version": "0.6.5",
+ "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz",
+ "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=",
+ "optional": true,
+ "dependencies": {
+ "readable-stream": ">=1.0.33-1 <1.1.0-0",
+ "xtend": ">=4.0.0 <4.1.0-0"
+ }
+ },
+ "node_modules/global": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/global/-/global-4.3.2.tgz",
+ "integrity": "sha1-52mJJopsdMOJCLEwWxD8DjlOnQ8=",
+ "dependencies": {
+ "min-document": "^2.19.0",
+ "process": "~0.5.1"
+ }
+ },
+ "node_modules/global-dirs": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz",
+ "integrity": "sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU=",
+ "dependencies": {
+ "ini": "^1.3.4"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/globals": {
+ "version": "11.12.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "devOptional": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/globalthis": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.2.tgz",
+ "integrity": "sha512-ZQnSFO1la8P7auIOQECnm0sSuoMeaSq0EEdXMBFF2QJO4uNcwbyhSgG3MruWNbFTqCLmxVwGOl7LZ9kASvHdeQ==",
+ "optional": true,
+ "dependencies": {
+ "define-properties": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/globby": {
+ "version": "11.0.3",
+ "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.3.tgz",
+ "integrity": "sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg==",
+ "optional": true,
+ "dependencies": {
+ "array-union": "^2.1.0",
+ "dir-glob": "^3.0.1",
+ "fast-glob": "^3.1.1",
+ "ignore": "^5.1.4",
+ "merge2": "^1.3.0",
+ "slash": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/globby/node_modules/ignore": {
+ "version": "5.1.8",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz",
+ "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==",
+ "optional": true,
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/globby/node_modules/slash": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
+ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/google-protobuf": {
+ "version": "3.15.8",
+ "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.15.8.tgz",
+ "integrity": "sha512-2jtfdqTaSxk0cuBJBtTTWsot4WtR9RVr2rXg7x7OoqiuOKopPrwXpM1G4dXIkLcUNRh3RKzz76C8IOkksZSeOw==",
+ "optional": true
+ },
+ "node_modules/got": {
+ "version": "6.7.1",
+ "resolved": "https://registry.npmjs.org/got/-/got-6.7.1.tgz",
+ "integrity": "sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA=",
+ "dev": true,
+ "dependencies": {
+ "create-error-class": "^3.0.0",
+ "duplexer3": "^0.1.4",
+ "get-stream": "^3.0.0",
+ "is-redirect": "^1.0.0",
+ "is-retry-allowed": "^1.0.0",
+ "is-stream": "^1.0.0",
+ "lowercase-keys": "^1.0.0",
+ "safe-buffer": "^5.0.1",
+ "timed-out": "^4.0.0",
+ "unzip-response": "^2.0.1",
+ "url-parse-lax": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/graceful-fs": {
+ "version": "4.2.6",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz",
+ "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ=="
+ },
+ "node_modules/graphql": {
+ "version": "15.5.0",
+ "resolved": "https://registry.npmjs.org/graphql/-/graphql-15.5.0.tgz",
+ "integrity": "sha512-OmaM7y0kaK31NKG31q4YbD2beNYa6jBBKtMFT6gLYJljHLJr42IqJ8KX08u3Li/0ifzTU5HjmoOOrwa5BRLeDA==",
+ "optional": true,
+ "engines": {
+ "node": ">= 10.x"
+ }
+ },
+ "node_modules/graphql-extensions": {
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/graphql-extensions/-/graphql-extensions-0.13.0.tgz",
+ "integrity": "sha512-Bb7E97nvfX4gtrIdZ/i5YFlqOd6MGzrw8ED+t4wQVraYje6NQ+8P8MHMOV2WZLfbW8zsNTx8NdnnlbsdH5siag==",
+ "optional": true,
+ "dependencies": {
+ "@apollographql/apollo-tools": "^0.4.3",
+ "apollo-server-env": "^3.0.0",
+ "apollo-server-types": "^0.7.0"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependencies": {
+ "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/graphql-subscriptions": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/graphql-subscriptions/-/graphql-subscriptions-1.2.1.tgz",
+ "integrity": "sha512-95yD/tKi24q8xYa7Q9rhQN16AYj5wPbrb8tmHGM3WRc9EBmWrG/0kkMl+tQG8wcEuE9ibR4zyOM31p5Sdr2v4g==",
+ "optional": true,
+ "dependencies": {
+ "iterall": "^1.3.0"
+ },
+ "peerDependencies": {
+ "graphql": "^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/graphql-tag": {
+ "version": "2.12.3",
+ "resolved": "https://registry.npmjs.org/graphql-tag/-/graphql-tag-2.12.3.tgz",
+ "integrity": "sha512-5wJMjSvj30yzdciEuk9dPuUBUR56AqDi3xncoYQl1i42pGdSqOJrJsdb/rz5BDoy+qoGvQwABcBeF0xXY3TrKw==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/graphql-tag/node_modules/tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ },
+ "node_modules/graphql-tools": {
+ "version": "6.2.6",
+ "resolved": "https://registry.npmjs.org/graphql-tools/-/graphql-tools-6.2.6.tgz",
+ "integrity": "sha512-OyhSvK5ALVVD6bFiWjAqv2+lRyvjIRfb6Br5Tkjrv++rxnXDodPH/zhMbDGRw+W3SD5ioGEEz84yO48iPiN7jA==",
+ "optional": true,
+ "dependencies": {
+ "@graphql-tools/batch-delegate": "^6.2.6",
+ "@graphql-tools/code-file-loader": "^6.2.4",
+ "@graphql-tools/delegate": "^6.2.4",
+ "@graphql-tools/git-loader": "^6.2.4",
+ "@graphql-tools/github-loader": "^6.2.4",
+ "@graphql-tools/graphql-file-loader": "^6.2.4",
+ "@graphql-tools/graphql-tag-pluck": "^6.2.4",
+ "@graphql-tools/import": "^6.2.4",
+ "@graphql-tools/json-file-loader": "^6.2.4",
+ "@graphql-tools/links": "^6.2.4",
+ "@graphql-tools/load": "^6.2.4",
+ "@graphql-tools/load-files": "^6.2.4",
+ "@graphql-tools/merge": "^6.2.4",
+ "@graphql-tools/mock": "^6.2.4",
+ "@graphql-tools/module-loader": "^6.2.4",
+ "@graphql-tools/relay-operation-optimizer": "^6.2.4",
+ "@graphql-tools/resolvers-composition": "^6.2.4",
+ "@graphql-tools/schema": "^6.2.4",
+ "@graphql-tools/stitch": "^6.2.4",
+ "@graphql-tools/url-loader": "^6.2.4",
+ "@graphql-tools/utils": "^6.2.4",
+ "@graphql-tools/wrap": "^6.2.4",
+ "tslib": "~2.0.1"
+ },
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/graphql-tools/node_modules/tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ },
+ "node_modules/graphql-upload": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/graphql-upload/-/graphql-upload-11.0.0.tgz",
+ "integrity": "sha512-zsrDtu5gCbQFDWsNa5bMB4nf1LpKX9KDgh+f8oL1288ijV4RxeckhVozAjqjXAfRpxOHD1xOESsh6zq8SjdgjA==",
+ "optional": true,
+ "dependencies": {
+ "busboy": "^0.3.1",
+ "fs-capacitor": "^6.1.0",
+ "http-errors": "^1.7.3",
+ "isobject": "^4.0.0",
+ "object-path": "^0.11.4"
+ },
+ "engines": {
+ "node": "^10.13.0 || ^12.0.0 || >= 13.7.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jaydenseric"
+ },
+ "peerDependencies": {
+ "graphql": "0.13.1 - 15"
+ }
+ },
+ "node_modules/graphql-upload/node_modules/fs-capacitor": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/fs-capacitor/-/fs-capacitor-6.2.0.tgz",
+ "integrity": "sha512-nKcE1UduoSKX27NSZlg879LdQc94OtbOsEmKMN2MBNudXREvijRKx2GEBsTMTfws+BrbkJoEuynbGSVRSpauvw==",
+ "optional": true,
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/graphql-upload/node_modules/isobject": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz",
+ "integrity": "sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/graphql-ws": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/graphql-ws/-/graphql-ws-4.2.2.tgz",
+ "integrity": "sha512-b6TLtWLAmKunD72muL9EeItRGpio9+V3Cx4zJsBkRA+3wxzTWXDvQr9/3qSwJ3D/2abz0ys2KHTM6lB1uH7KIQ==",
+ "optional": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "graphql": ">=0.11 <=15"
+ }
+ },
+ "node_modules/growl": {
+ "version": "1.10.5",
+ "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz",
+ "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==",
+ "engines": {
+ "node": ">=4.x"
+ }
+ },
+ "node_modules/gulp-sourcemaps": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/gulp-sourcemaps/-/gulp-sourcemaps-1.12.1.tgz",
+ "integrity": "sha1-tDfR89mAzyboEYSCNxjOFa5ll7Y=",
+ "optional": true,
+ "dependencies": {
+ "@gulp-sourcemaps/map-sources": "1.X",
+ "acorn": "4.X",
+ "convert-source-map": "1.X",
+ "css": "2.X",
+ "debug-fabulous": "0.0.X",
+ "detect-newline": "2.X",
+ "graceful-fs": "4.X",
+ "source-map": "~0.6.0",
+ "strip-bom": "2.X",
+ "through2": "2.X",
+ "vinyl": "1.X"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/gulp-sourcemaps/node_modules/acorn": {
+ "version": "4.0.13",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz",
+ "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=",
+ "optional": true,
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/gulp-sourcemaps/node_modules/source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/gulp-sourcemaps/node_modules/strip-bom": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
+ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
+ "optional": true,
+ "dependencies": {
+ "is-utf8": "^0.2.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/handlebars": {
+ "version": "4.5.3",
+ "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz",
+ "integrity": "sha512-3yPecJoJHK/4c6aZhSvxOyG4vJKDshV36VHp0iVCDVh7o9w2vwi3NSnL2MMPj3YdduqaBcu7cGbggJQM0br9xA==",
+ "dependencies": {
+ "neo-async": "^2.6.0",
+ "optimist": "^0.6.1",
+ "source-map": "^0.6.1"
+ },
+ "bin": {
+ "handlebars": "bin/handlebars"
+ },
+ "engines": {
+ "node": ">=0.4.7"
+ },
+ "optionalDependencies": {
+ "uglify-js": "^3.1.4"
+ }
+ },
+ "node_modules/handlebars/node_modules/source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/har-schema": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
+ "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/har-validator": {
+ "version": "5.1.3",
+ "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz",
+ "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==",
+ "dependencies": {
+ "ajv": "^6.5.5",
+ "har-schema": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/has": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
+ "dependencies": {
+ "function-bind": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4.0"
+ }
+ },
+ "node_modules/has-ansi": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
+ "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",
+ "dependencies": {
+ "ansi-regex": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/has-bigints": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz",
+ "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-flag": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",
+ "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/has-symbol-support-x": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz",
+ "integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw==",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/has-symbols": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz",
+ "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-to-string-tag-x": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz",
+ "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==",
+ "dependencies": {
+ "has-symbol-support-x": "^1.4.1"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/has-unicode": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
+ "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=",
+ "optional": true
+ },
+ "node_modules/has-value": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz",
+ "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=",
+ "dev": true,
+ "dependencies": {
+ "get-value": "^2.0.6",
+ "has-values": "^1.0.0",
+ "isobject": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/has-values": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz",
+ "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=",
+ "dev": true,
+ "dependencies": {
+ "is-number": "^3.0.0",
+ "kind-of": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/has-values/node_modules/kind-of": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",
+ "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=",
+ "dev": true,
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/has-yarn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz",
+ "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/hash-base": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz",
+ "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=",
+ "dependencies": {
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/hash.js": {
+ "version": "1.1.7",
+ "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz",
+ "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "minimalistic-assert": "^1.0.1"
+ }
+ },
+ "node_modules/hdkey": {
+ "version": "0.7.1",
+ "resolved": "https://registry.npmjs.org/hdkey/-/hdkey-0.7.1.tgz",
+ "integrity": "sha1-yu5L6BqneSHpCbjSKN0PKayu5jI=",
+ "dependencies": {
+ "coinstring": "^2.0.0",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "node_modules/he": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz",
+ "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=",
+ "dev": true,
+ "bin": {
+ "he": "bin/he"
+ }
+ },
+ "node_modules/header-case": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/header-case/-/header-case-1.0.1.tgz",
+ "integrity": "sha1-lTWXMZfBRLCWE81l0xfvGZY70C0=",
+ "dependencies": {
+ "no-case": "^2.2.0",
+ "upper-case": "^1.1.3"
+ }
+ },
+ "node_modules/hmac-drbg": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz",
+ "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=",
+ "dependencies": {
+ "hash.js": "^1.0.3",
+ "minimalistic-assert": "^1.0.0",
+ "minimalistic-crypto-utils": "^1.0.1"
+ }
+ },
+ "node_modules/hoist-non-react-statics": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
+ "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
+ "optional": true,
+ "dependencies": {
+ "react-is": "^16.7.0"
+ }
+ },
+ "node_modules/home-or-tmp": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz",
+ "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=",
+ "dependencies": {
+ "os-homedir": "^1.0.0",
+ "os-tmpdir": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/hosted-git-info": {
+ "version": "2.7.1",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz",
+ "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w=="
+ },
+ "node_modules/htmlparser2": {
+ "version": "3.10.1",
+ "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz",
+ "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==",
+ "dependencies": {
+ "domelementtype": "^1.3.1",
+ "domhandler": "^2.3.0",
+ "domutils": "^1.5.1",
+ "entities": "^1.1.1",
+ "inherits": "^2.0.1",
+ "readable-stream": "^3.1.1"
+ }
+ },
+ "node_modules/htmlparser2/node_modules/readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/http-basic": {
+ "version": "8.1.3",
+ "resolved": "https://registry.npmjs.org/http-basic/-/http-basic-8.1.3.tgz",
+ "integrity": "sha512-/EcDMwJZh3mABI2NhGfHOGOeOZITqfkEO4p/xK+l3NpyncIHUQBoMvCSF/b5GqvKtySC2srL/GGG3+EtlqlmCw==",
+ "dev": true,
+ "dependencies": {
+ "caseless": "^0.12.0",
+ "concat-stream": "^1.6.2",
+ "http-response-object": "^3.0.1",
+ "parse-cache-control": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/http-cache-semantics": {
+ "version": "3.8.1",
+ "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz",
+ "integrity": "sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w=="
+ },
+ "node_modules/http-errors": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.0.tgz",
+ "integrity": "sha512-4I8r0C5JDhT5VkvI47QktDW75rNlGVsUf/8hzjCC/wkWI/jdTRmBb9aI7erSG82r1bjKY3F6k28WnsVxB1C73A==",
+ "optional": true,
+ "dependencies": {
+ "depd": "~1.1.2",
+ "inherits": "2.0.4",
+ "setprototypeof": "1.2.0",
+ "statuses": ">= 1.5.0 < 2",
+ "toidentifier": "1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/http-errors/node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "node_modules/http-errors/node_modules/setprototypeof": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
+ "optional": true
+ },
+ "node_modules/http-https": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/http-https/-/http-https-1.0.0.tgz",
+ "integrity": "sha1-L5CN1fHbQGjAWM1ubUzjkskTOJs="
+ },
+ "node_modules/http-proxy-agent": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz",
+ "integrity": "sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg==",
+ "dependencies": {
+ "agent-base": "4",
+ "debug": "3.1.0"
+ },
+ "engines": {
+ "node": ">= 4.5.0"
+ }
+ },
+ "node_modules/http-response-object": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/http-response-object/-/http-response-object-3.0.2.tgz",
+ "integrity": "sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==",
+ "dev": true,
+ "dependencies": {
+ "@types/node": "^10.0.3"
+ }
+ },
+ "node_modules/http-signature": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
+ "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
+ "dependencies": {
+ "assert-plus": "^1.0.0",
+ "jsprim": "^1.2.2",
+ "sshpk": "^1.7.0"
+ },
+ "engines": {
+ "node": ">=0.8",
+ "npm": ">=1.3.7"
+ }
+ },
+ "node_modules/https-proxy-agent": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz",
+ "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==",
+ "dependencies": {
+ "agent-base": "^4.3.0",
+ "debug": "^3.1.0"
+ },
+ "engines": {
+ "node": ">= 4.5.0"
+ }
+ },
+ "node_modules/humanize-ms": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz",
+ "integrity": "sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=",
+ "dependencies": {
+ "ms": "^2.0.0"
+ }
+ },
+ "node_modules/ice-cap": {
+ "version": "0.0.4",
+ "resolved": "https://registry.npmjs.org/ice-cap/-/ice-cap-0.0.4.tgz",
+ "integrity": "sha1-im0xq0ysjUtW3k+pRt8zUlYbbhg=",
+ "dependencies": {
+ "cheerio": "0.20.0",
+ "color-logger": "0.0.3"
+ }
+ },
+ "node_modules/ice-cap/node_modules/cheerio": {
+ "version": "0.20.0",
+ "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.20.0.tgz",
+ "integrity": "sha1-XHEPK6uVZTJyhCugHG6mGzVF7DU=",
+ "dependencies": {
+ "css-select": "~1.2.0",
+ "dom-serializer": "~0.1.0",
+ "entities": "~1.1.1",
+ "htmlparser2": "~3.8.1",
+ "lodash": "^4.1.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ },
+ "optionalDependencies": {
+ "jsdom": "^7.0.2"
+ }
+ },
+ "node_modules/ice-cap/node_modules/color-logger": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/color-logger/-/color-logger-0.0.3.tgz",
+ "integrity": "sha1-2bIt0dlz4Waxi/MT+fSBu6TfIBg="
+ },
+ "node_modules/ice-cap/node_modules/domhandler": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.3.0.tgz",
+ "integrity": "sha1-LeWaCCLVAn+r/28DLCsloqir5zg=",
+ "dependencies": {
+ "domelementtype": "1"
+ }
+ },
+ "node_modules/ice-cap/node_modules/htmlparser2": {
+ "version": "3.8.3",
+ "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz",
+ "integrity": "sha1-mWwosZFRaovoZQGn15dX5ccMEGg=",
+ "dependencies": {
+ "domelementtype": "1",
+ "domhandler": "2.3",
+ "domutils": "1.5",
+ "entities": "1.0",
+ "readable-stream": "1.1"
+ }
+ },
+ "node_modules/ice-cap/node_modules/htmlparser2/node_modules/entities": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-1.0.0.tgz",
+ "integrity": "sha1-sph6o4ITR/zeZCsk/fyeT7cSvyY="
+ },
+ "node_modules/ice-cap/node_modules/isarray": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
+ "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8="
+ },
+ "node_modules/ice-cap/node_modules/readable-stream": {
+ "version": "1.1.14",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
+ "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "0.0.1",
+ "string_decoder": "~0.10.x"
+ }
+ },
+ "node_modules/ice-cap/node_modules/string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
+ },
+ "node_modules/iconv-lite": {
+ "version": "0.4.24",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/idna-uts46-hx": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz",
+ "integrity": "sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA==",
+ "dependencies": {
+ "punycode": "2.1.0"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/idna-uts46-hx/node_modules/punycode": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.0.tgz",
+ "integrity": "sha1-X4Y+3Im5bbCQdLrXlHvwkFbKTn0=",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ieee754": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
+ },
+ "node_modules/iferr": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz",
+ "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE="
+ },
+ "node_modules/ignore": {
+ "version": "4.0.6",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
+ "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
+ "dev": true,
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/ignore-by-default": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz",
+ "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=",
+ "dev": true
+ },
+ "node_modules/ignore-walk": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz",
+ "integrity": "sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ==",
+ "dependencies": {
+ "minimatch": "^3.0.4"
+ }
+ },
+ "node_modules/immediate": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.3.0.tgz",
+ "integrity": "sha512-HR7EVodfFUdQCTIeySw+WDRFJlPcLOJbXfwwZ7Oom6tjsvZ3bOkCDJHehQC3nxJrv7+f9XecwazynjU8e4Vw3Q=="
+ },
+ "node_modules/immutable": {
+ "version": "3.7.6",
+ "resolved": "https://registry.npmjs.org/immutable/-/immutable-3.7.6.tgz",
+ "integrity": "sha1-E7TTyxK++hVIKib+Gy665kAHHks=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/import-fresh": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.1.0.tgz",
+ "integrity": "sha512-PpuksHKGt8rXfWEr9m9EHIpgyyaltBy8+eF6GJM0QCAxMgxCfucMF3mjecK2QsJr0amJW7gTqh5/wht0z2UhEQ==",
+ "dev": true,
+ "dependencies": {
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/import-fresh/node_modules/resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/import-from": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/import-from/-/import-from-3.0.0.tgz",
+ "integrity": "sha512-CiuXOFFSzkU5x/CR0+z7T91Iht4CXgfCxVOFRhh2Zyhg5wOpWvvDLQUsWl+gcN+QscYBjez8hDCt85O7RLDttQ==",
+ "optional": true,
+ "dependencies": {
+ "resolve-from": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/import-from/node_modules/resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/import-lazy": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz",
+ "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=",
+ "engines": {
+ "node": ">=0.8.19"
+ }
+ },
+ "node_modules/inflight": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
+ "dependencies": {
+ "once": "^1.3.0",
+ "wrappy": "1"
+ }
+ },
+ "node_modules/inherits": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
+ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
+ },
+ "node_modules/ini": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",
+ "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/inquirer": {
+ "version": "6.5.2",
+ "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz",
+ "integrity": "sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-escapes": "^3.2.0",
+ "chalk": "^2.4.2",
+ "cli-cursor": "^2.1.0",
+ "cli-width": "^2.0.0",
+ "external-editor": "^3.0.3",
+ "figures": "^2.0.0",
+ "lodash": "^4.17.12",
+ "mute-stream": "0.0.7",
+ "run-async": "^2.2.0",
+ "rxjs": "^6.4.0",
+ "string-width": "^2.1.0",
+ "strip-ansi": "^5.1.0",
+ "through": "^2.3.6"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/inquirer/node_modules/ansi-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/inquirer/node_modules/is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/inquirer/node_modules/string-width": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
+ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
+ "dev": true,
+ "dependencies": {
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/inquirer/node_modules/string-width/node_modules/strip-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/inquirer/node_modules/strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/inquirer/node_modules/strip-ansi/node_modules/ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/invariant": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
+ "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",
+ "dependencies": {
+ "loose-envify": "^1.0.0"
+ }
+ },
+ "node_modules/invert-kv": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz",
+ "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ip": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz",
+ "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo="
+ },
+ "node_modules/ip-regex": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.3.0.tgz",
+ "integrity": "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ipaddr.js": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
+ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/ipfs-core-types": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/ipfs-core-types/-/ipfs-core-types-0.2.1.tgz",
+ "integrity": "sha512-q93+93qSybku6woZaajE9mCrHeVoMzNtZ7S5m/zx0+xHRhnoLlg8QNnGGsb5/+uFQt/RiBArsIw/Q61K9Jwkzw==",
+ "optional": true,
+ "dependencies": {
+ "cids": "^1.1.5",
+ "multiaddr": "^8.0.0",
+ "peer-id": "^0.14.1"
+ }
+ },
+ "node_modules/ipfs-core-utils": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/ipfs-core-utils/-/ipfs-core-utils-0.6.1.tgz",
+ "integrity": "sha512-UFIklwE3CFcsNIhYFDuz0qB7E2QtdFauRfc76kskgiqhGWcjqqiDeND5zBCrAy0u8UMaDqAbFl02f/mIq1yKXw==",
+ "optional": true,
+ "dependencies": {
+ "any-signal": "^2.0.0",
+ "blob-to-it": "^1.0.1",
+ "browser-readablestream-to-it": "^1.0.1",
+ "cids": "^1.1.5",
+ "err-code": "^2.0.3",
+ "ipfs-core-types": "^0.2.1",
+ "ipfs-utils": "^5.0.0",
+ "it-all": "^1.0.4",
+ "it-map": "^1.0.4",
+ "it-peekable": "^1.0.1",
+ "multiaddr": "^8.0.0",
+ "multiaddr-to-uri": "^6.0.0",
+ "parse-duration": "^0.4.4",
+ "timeout-abort-controller": "^1.1.1",
+ "uint8arrays": "^1.1.0"
+ }
+ },
+ "node_modules/ipfs-core-utils/node_modules/err-code": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz",
+ "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==",
+ "optional": true
+ },
+ "node_modules/ipfs-core-utils/node_modules/uint8arrays": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz",
+ "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==",
+ "optional": true,
+ "dependencies": {
+ "multibase": "^3.0.0",
+ "web-encoding": "^1.0.2"
+ }
+ },
+ "node_modules/ipfs-http-client": {
+ "version": "48.2.2",
+ "resolved": "https://registry.npmjs.org/ipfs-http-client/-/ipfs-http-client-48.2.2.tgz",
+ "integrity": "sha512-f3ppfWe913SJLvunm0UgqdA1dxVZSGQJPaEVJtqgjxPa5x0fPDiBDdo60g2MgkW1W6bhF9RGlxvHHIE9sv/tdg==",
+ "optional": true,
+ "dependencies": {
+ "any-signal": "^2.0.0",
+ "bignumber.js": "^9.0.0",
+ "cids": "^1.1.5",
+ "debug": "^4.1.1",
+ "form-data": "^3.0.0",
+ "ipfs-core-types": "^0.2.1",
+ "ipfs-core-utils": "^0.6.1",
+ "ipfs-utils": "^5.0.0",
+ "ipld-block": "^0.11.0",
+ "ipld-dag-cbor": "^0.17.0",
+ "ipld-dag-pb": "^0.20.0",
+ "ipld-raw": "^6.0.0",
+ "it-last": "^1.0.4",
+ "it-map": "^1.0.4",
+ "it-tar": "^1.2.2",
+ "it-to-stream": "^0.1.2",
+ "merge-options": "^2.0.0",
+ "multiaddr": "^8.0.0",
+ "multibase": "^3.0.0",
+ "multicodec": "^2.0.1",
+ "multihashes": "^3.0.1",
+ "nanoid": "^3.1.12",
+ "native-abort-controller": "~0.0.3",
+ "parse-duration": "^0.4.4",
+ "stream-to-it": "^0.2.2",
+ "uint8arrays": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=10.3.0",
+ "npm": ">=3.0.0"
+ }
+ },
+ "node_modules/ipfs-http-client/node_modules/debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "optional": true,
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/ipfs-http-client/node_modules/form-data": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz",
+ "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==",
+ "optional": true,
+ "dependencies": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.8",
+ "mime-types": "^2.1.12"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/ipfs-http-client/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "optional": true
+ },
+ "node_modules/ipfs-http-client/node_modules/multicodec": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-2.1.3.tgz",
+ "integrity": "sha512-0tOH2Gtio39uO41o+2xl9UhRkCWxU5ZmZSbFCh/OjGzkWJI8e6lkN/s4Mj1YfyWoBod+2+S3W+6wO6nhkwN8pA==",
+ "optional": true,
+ "dependencies": {
+ "uint8arrays": "1.1.0",
+ "varint": "^6.0.0"
+ }
+ },
+ "node_modules/ipfs-http-client/node_modules/uint8arrays": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz",
+ "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==",
+ "optional": true,
+ "dependencies": {
+ "multibase": "^3.0.0",
+ "web-encoding": "^1.0.2"
+ }
+ },
+ "node_modules/ipfs-utils": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ipfs-utils/-/ipfs-utils-5.0.1.tgz",
+ "integrity": "sha512-28KZPgO4Uf5duT2ORLAYfboUp98iUshDD7yRAfbNxNAR8Dtidfn6o20rZfoXnkri2zKBVIPlJkuCPmPJB+6erg==",
+ "optional": true,
+ "dependencies": {
+ "abort-controller": "^3.0.0",
+ "any-signal": "^2.1.0",
+ "buffer": "^6.0.1",
+ "electron-fetch": "^1.7.2",
+ "err-code": "^2.0.0",
+ "fs-extra": "^9.0.1",
+ "is-electron": "^2.2.0",
+ "iso-url": "^1.0.0",
+ "it-glob": "0.0.10",
+ "it-to-stream": "^0.1.2",
+ "merge-options": "^2.0.0",
+ "nanoid": "^3.1.3",
+ "native-abort-controller": "0.0.3",
+ "native-fetch": "^2.0.0",
+ "node-fetch": "^2.6.0",
+ "stream-to-it": "^0.2.0"
+ }
+ },
+ "node_modules/ipfs-utils/node_modules/buffer": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",
+ "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "optional": true,
+ "dependencies": {
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.2.1"
+ }
+ },
+ "node_modules/ipfs-utils/node_modules/err-code": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz",
+ "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==",
+ "optional": true
+ },
+ "node_modules/ipfs-utils/node_modules/fs-extra": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
+ "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",
+ "optional": true,
+ "dependencies": {
+ "at-least-node": "^1.0.0",
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/ipfs-utils/node_modules/jsonfile": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
+ "optional": true,
+ "dependencies": {
+ "universalify": "^2.0.0"
+ },
+ "optionalDependencies": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
+ "node_modules/ipfs-utils/node_modules/node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true,
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/ipld-block": {
+ "version": "0.11.1",
+ "resolved": "https://registry.npmjs.org/ipld-block/-/ipld-block-0.11.1.tgz",
+ "integrity": "sha512-sDqqLqD5qh4QzGq6ssxLHUCnH4emCf/8F8IwjQM2cjEEIEHMUj57XhNYgmGbemdYPznUhffxFGEHsruh5+HQRw==",
+ "optional": true,
+ "dependencies": {
+ "cids": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=6.0.0",
+ "npm": ">=3.0.0"
+ }
+ },
+ "node_modules/ipld-dag-cbor": {
+ "version": "0.17.1",
+ "resolved": "https://registry.npmjs.org/ipld-dag-cbor/-/ipld-dag-cbor-0.17.1.tgz",
+ "integrity": "sha512-Bakj/cnxQBdscORyf4LRHxQJQfoaY8KWc7PWROQgX+aw5FCzBt8ga0VM/59K+ABOznsqNvyLR/wz/oYImOpXJw==",
+ "optional": true,
+ "dependencies": {
+ "borc": "^2.1.2",
+ "cids": "^1.0.0",
+ "is-circular": "^1.0.2",
+ "multicodec": "^3.0.1",
+ "multihashing-async": "^2.0.0",
+ "uint8arrays": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0.0",
+ "npm": ">=3.0.0"
+ }
+ },
+ "node_modules/ipld-dag-pb": {
+ "version": "0.20.0",
+ "resolved": "https://registry.npmjs.org/ipld-dag-pb/-/ipld-dag-pb-0.20.0.tgz",
+ "integrity": "sha512-zfM0EdaolqNjAxIrtpuGKvXxWk5YtH9jKinBuQGTcngOsWFQhyybGCTJHGNGGtRjHNJi2hz5Udy/8pzv4kcKyg==",
+ "optional": true,
+ "dependencies": {
+ "cids": "^1.0.0",
+ "class-is": "^1.1.0",
+ "multicodec": "^2.0.0",
+ "multihashing-async": "^2.0.0",
+ "protons": "^2.0.0",
+ "reset": "^0.1.0",
+ "run": "^1.4.0",
+ "stable": "^0.1.8",
+ "uint8arrays": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=6.0.0",
+ "npm": ">=3.0.0"
+ }
+ },
+ "node_modules/ipld-dag-pb/node_modules/multicodec": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-2.1.3.tgz",
+ "integrity": "sha512-0tOH2Gtio39uO41o+2xl9UhRkCWxU5ZmZSbFCh/OjGzkWJI8e6lkN/s4Mj1YfyWoBod+2+S3W+6wO6nhkwN8pA==",
+ "optional": true,
+ "dependencies": {
+ "uint8arrays": "1.1.0",
+ "varint": "^6.0.0"
+ }
+ },
+ "node_modules/ipld-dag-pb/node_modules/uint8arrays": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz",
+ "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==",
+ "optional": true,
+ "dependencies": {
+ "multibase": "^3.0.0",
+ "web-encoding": "^1.0.2"
+ }
+ },
+ "node_modules/ipld-raw": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/ipld-raw/-/ipld-raw-6.0.0.tgz",
+ "integrity": "sha512-UK7fjncAzs59iu/o2kwYtb8jgTtW6B+cNWIiNpAJkfRwqoMk1xD/6i25ktzwe4qO8gQgoR9RxA5ibC23nq8BLg==",
+ "optional": true,
+ "dependencies": {
+ "cids": "^1.0.0",
+ "multicodec": "^2.0.0",
+ "multihashing-async": "^2.0.0"
+ }
+ },
+ "node_modules/ipld-raw/node_modules/multicodec": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-2.1.3.tgz",
+ "integrity": "sha512-0tOH2Gtio39uO41o+2xl9UhRkCWxU5ZmZSbFCh/OjGzkWJI8e6lkN/s4Mj1YfyWoBod+2+S3W+6wO6nhkwN8pA==",
+ "optional": true,
+ "dependencies": {
+ "uint8arrays": "1.1.0",
+ "varint": "^6.0.0"
+ }
+ },
+ "node_modules/ipld-raw/node_modules/uint8arrays": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz",
+ "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==",
+ "optional": true,
+ "dependencies": {
+ "multibase": "^3.0.0",
+ "web-encoding": "^1.0.2"
+ }
+ },
+ "node_modules/is-accessor-descriptor": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",
+ "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=",
+ "dev": true,
+ "dependencies": {
+ "kind-of": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-accessor-descriptor/node_modules/kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "dev": true,
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-arguments": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.0.tgz",
+ "integrity": "sha512-1Ij4lOMPl/xB5kBDn7I+b2ttPMKa8szhEIrXDuXQD/oe3HJLTLhqhgGspwgyGd6MOywBUqVvYicF72lkgDnIHg==",
+ "dependencies": {
+ "call-bind": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-arrayish": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
+ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=",
+ "devOptional": true
+ },
+ "node_modules/is-bigint": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.1.tgz",
+ "integrity": "sha512-J0ELF4yHFxHy0cmSxZuheDOz2luOdVvqjwmEcj8H/L1JHeuEDSDbeRP+Dk9kFVk5RTFzbucJ2Kb9F7ixY2QaCg==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-binary-path": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz",
+ "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=",
+ "dev": true,
+ "dependencies": {
+ "binary-extensions": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-boolean-object": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.0.tgz",
+ "integrity": "sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA==",
+ "dependencies": {
+ "call-bind": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-buffer": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
+ "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
+ "devOptional": true
+ },
+ "node_modules/is-callable": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz",
+ "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-capitalized": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-capitalized/-/is-capitalized-1.0.0.tgz",
+ "integrity": "sha1-TIRktNkdPk7rRIid0s2PGwrEwTY=",
+ "optional": true
+ },
+ "node_modules/is-ci": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz",
+ "integrity": "sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg==",
+ "dev": true,
+ "dependencies": {
+ "ci-info": "^1.5.0"
+ },
+ "bin": {
+ "is-ci": "bin.js"
+ }
+ },
+ "node_modules/is-circular": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-circular/-/is-circular-1.0.2.tgz",
+ "integrity": "sha512-YttjnrswnUYRVJvxCvu8z+PGMUSzC2JttP0OEXezlAEdp3EXzhf7IZ3j0gRAybJBQupedIZFhY61Tga6E0qASA==",
+ "optional": true
+ },
+ "node_modules/is-class": {
+ "version": "0.0.4",
+ "resolved": "https://registry.npmjs.org/is-class/-/is-class-0.0.4.tgz",
+ "integrity": "sha1-4FdFFwW7NOOePjNZjJOpg3KWtzY=",
+ "optional": true
+ },
+ "node_modules/is-core-module": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz",
+ "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==",
+ "dependencies": {
+ "has": "^1.0.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-data-descriptor": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",
+ "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=",
+ "dev": true,
+ "dependencies": {
+ "kind-of": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-data-descriptor/node_modules/kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "dev": true,
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-date-object": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz",
+ "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/is-descriptor": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz",
+ "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==",
+ "dev": true,
+ "dependencies": {
+ "is-accessor-descriptor": "^0.1.6",
+ "is-data-descriptor": "^0.1.4",
+ "kind-of": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-descriptor/node_modules/kind-of": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz",
+ "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-directory": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz",
+ "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-dotfile": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz",
+ "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-electron": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-electron/-/is-electron-2.2.0.tgz",
+ "integrity": "sha512-SpMppC2XR3YdxSzczXReBjqs2zGscWQpBIKqwXYBFic0ERaxNVgwLCHwOLZeESfdJQjX0RDvrJ1lBXX2ij+G1Q==",
+ "optional": true
+ },
+ "node_modules/is-equal-shallow": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz",
+ "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=",
+ "optional": true,
+ "dependencies": {
+ "is-primitive": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-extendable": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
+ "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=",
+ "devOptional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-finite": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz",
+ "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-fn": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-fn/-/is-fn-1.0.0.tgz",
+ "integrity": "sha1-lUPV3nvPWwiiLsiiC65uKG1RDYw=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-fullwidth-code-point": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
+ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
+ "dependencies": {
+ "number-is-nan": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-function": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-function/-/is-function-1.0.1.tgz",
+ "integrity": "sha1-Es+5i2W1fdPRk6MSH19uL0N2ArU="
+ },
+ "node_modules/is-generator-function": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.8.tgz",
+ "integrity": "sha512-2Omr/twNtufVZFr1GhxjOMFPAj2sjc/dKaIqBhvo4qciXfJmITGH6ZGd8eZYNHza8t1y0e01AuqRhJwfWp26WQ==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
+ "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-hex-prefixed": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz",
+ "integrity": "sha1-fY035q135dEnFIkTxXPggtd39VQ=",
+ "engines": {
+ "node": ">=6.5.0",
+ "npm": ">=3"
+ }
+ },
+ "node_modules/is-installed-globally": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.1.0.tgz",
+ "integrity": "sha1-Df2Y9akRFxbdU13aZJL2e/PSWoA=",
+ "dependencies": {
+ "global-dirs": "^0.1.0",
+ "is-path-inside": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/is-ip": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/is-ip/-/is-ip-3.1.0.tgz",
+ "integrity": "sha512-35vd5necO7IitFPjd/YBeqwWnyDWbuLH9ZXQdMfDA8TEo7pv5X8yfrvVO3xbJbLUlERCMvf6X0hTUamQxCYJ9Q==",
+ "optional": true,
+ "dependencies": {
+ "ip-regex": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-lower-case": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/is-lower-case/-/is-lower-case-1.1.3.tgz",
+ "integrity": "sha1-fhR75HaNxGbbO/shzGCzHmrWk5M=",
+ "dependencies": {
+ "lower-case": "^1.1.0"
+ }
+ },
+ "node_modules/is-map": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz",
+ "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-negative-zero": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz",
+ "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-npm": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz",
+ "integrity": "sha1-8vtjpl5JBbQGyGBydloaTceTufQ=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-number": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
+ "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",
+ "dev": true,
+ "dependencies": {
+ "kind-of": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-number-object": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.4.tgz",
+ "integrity": "sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-number/node_modules/kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "dev": true,
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-obj": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
+ "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-object": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-object/-/is-object-1.0.2.tgz",
+ "integrity": "sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-path-inside": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz",
+ "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=",
+ "dependencies": {
+ "path-is-inside": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-plain-obj": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz",
+ "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-plain-object": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
+ "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",
+ "dev": true,
+ "dependencies": {
+ "isobject": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-posix-bracket": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz",
+ "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-primitive": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz",
+ "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-promise": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz",
+ "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=",
+ "dev": true
+ },
+ "node_modules/is-redirect": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz",
+ "integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-regex": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.2.tgz",
+ "integrity": "sha512-axvdhb5pdhEVThqJzYXwMlVuZwC+FF2DpcOhTS+y/8jVq4trxyPgfcwIxIKiyeuLlSQYKkmUaPQJ8ZE4yNKXDg==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "has-symbols": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-retry-allowed": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz",
+ "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-set": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz",
+ "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-stream": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
+ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-string": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz",
+ "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-symbol": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
+ "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
+ "dependencies": {
+ "has-symbols": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-typed-array": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.5.tgz",
+ "integrity": "sha512-S+GRDgJlR3PyEbsX/Fobd9cqpZBuvUS+8asRqYDMLCb2qMzt1oz5m5oxQCxOgUDxiWsOVNi4yaF+/uvdlHlYug==",
+ "dependencies": {
+ "available-typed-arrays": "^1.0.2",
+ "call-bind": "^1.0.2",
+ "es-abstract": "^1.18.0-next.2",
+ "foreach": "^2.0.5",
+ "has-symbols": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-typedarray": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
+ "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
+ },
+ "node_modules/is-upper-case": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/is-upper-case/-/is-upper-case-1.1.2.tgz",
+ "integrity": "sha1-jQsfp+eTOh5YSDYA7H2WYcuvdW8=",
+ "dependencies": {
+ "upper-case": "^1.1.0"
+ }
+ },
+ "node_modules/is-utf8": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz",
+ "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI="
+ },
+ "node_modules/is-valid-glob": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/is-valid-glob/-/is-valid-glob-0.3.0.tgz",
+ "integrity": "sha1-1LVcafUYhvm2XHDWwmItN+KfSP4=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-windows": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
+ "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-yarn-global": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz",
+ "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw=="
+ },
+ "node_modules/isarray": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
+ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA="
+ },
+ "node_modules/iso-constants": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/iso-constants/-/iso-constants-0.1.2.tgz",
+ "integrity": "sha512-OTCM5ZCQsHBCI4Wdu4tSxvDIkmDHd5EwJDps5mKqnQnWJSKlnwMs3EDZ4n3Fh1tmkWkDlyd2vCDbEYuPbyrUNQ==",
+ "hasInstallScript": true,
+ "optional": true,
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/iso-random-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/iso-random-stream/-/iso-random-stream-2.0.0.tgz",
+ "integrity": "sha512-lGuIu104KfBV9ubYTSaE3GeAr6I69iggXxBHbTBc5u/XKlwlWl0LCytnkIZissaKqvxablwRD9B3ktVnmIUnEg==",
+ "optional": true,
+ "dependencies": {
+ "events": "^3.3.0",
+ "readable-stream": "^3.4.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/iso-random-stream/node_modules/readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/iso-url": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/iso-url/-/iso-url-1.1.5.tgz",
+ "integrity": "sha512-+3JqoKdBTGmyv9vOkS6b9iHhvK34UajfTibrH/1HOK8TI7K2VsM0qOCd+aJdWKtSOA8g3PqZfcwDmnR0p3klqQ==",
+ "optional": true,
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/isobject": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
+ "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/isomorphic-fetch": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz",
+ "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=",
+ "dependencies": {
+ "node-fetch": "^1.0.1",
+ "whatwg-fetch": ">=0.10.0"
+ }
+ },
+ "node_modules/isomorphic-ws": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz",
+ "integrity": "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==",
+ "optional": true,
+ "peerDependencies": {
+ "ws": "*"
+ }
+ },
+ "node_modules/isstream": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
+ "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
+ },
+ "node_modules/istanbul": {
+ "version": "0.4.5",
+ "resolved": "https://registry.npmjs.org/istanbul/-/istanbul-0.4.5.tgz",
+ "integrity": "sha1-ZcfXPUxNqE1POsMQuRj7C4Azczs=",
+ "dependencies": {
+ "abbrev": "1.0.x",
+ "async": "1.x",
+ "escodegen": "1.8.x",
+ "esprima": "2.7.x",
+ "glob": "^5.0.15",
+ "handlebars": "^4.0.1",
+ "js-yaml": "3.x",
+ "mkdirp": "0.5.x",
+ "nopt": "3.x",
+ "once": "1.x",
+ "resolve": "1.1.x",
+ "supports-color": "^3.1.0",
+ "which": "^1.1.1",
+ "wordwrap": "^1.0.0"
+ },
+ "bin": {
+ "istanbul": "lib/cli.js"
+ }
+ },
+ "node_modules/istanbul/node_modules/abbrev": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz",
+ "integrity": "sha1-kbR5JYinc4wl813W9jdSovh3YTU="
+ },
+ "node_modules/istanbul/node_modules/glob": {
+ "version": "5.0.15",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz",
+ "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=",
+ "dependencies": {
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "2 || 3",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/istanbul/node_modules/has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/istanbul/node_modules/nopt": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",
+ "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=",
+ "dependencies": {
+ "abbrev": "1"
+ },
+ "bin": {
+ "nopt": "bin/nopt.js"
+ }
+ },
+ "node_modules/istanbul/node_modules/resolve": {
+ "version": "1.1.7",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz",
+ "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs="
+ },
+ "node_modules/istanbul/node_modules/supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dependencies": {
+ "has-flag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/isurl": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz",
+ "integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==",
+ "dependencies": {
+ "has-to-string-tag-x": "^1.2.0",
+ "is-object": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/it-all": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/it-all/-/it-all-1.0.5.tgz",
+ "integrity": "sha512-ygD4kA4vp8fi+Y+NBgEKt6W06xSbv6Ub/0V8d1r3uCyJ9Izwa1UspkIOlqY9fOee0Z1w3WRo1+VWyAU4DgtufA==",
+ "optional": true
+ },
+ "node_modules/it-concat": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/it-concat/-/it-concat-1.0.3.tgz",
+ "integrity": "sha512-sjeZQ1BWQ9U/W2oI09kZgUyvSWzQahTkOkLIsnEPgyqZFaF9ME5gV6An4nMjlyhXKWQMKEakQU8oRHs2SdmeyA==",
+ "optional": true,
+ "dependencies": {
+ "bl": "^4.0.0"
+ }
+ },
+ "node_modules/it-drain": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/it-drain/-/it-drain-1.0.4.tgz",
+ "integrity": "sha512-coB7mcyZ4lWBQKoQGJuqM+P94pvpn2T3KY27vcVWPqeB1WmoysRC76VZnzAqrBWzpWcoEJMjZ+fsMBslxNaWfQ==",
+ "optional": true
+ },
+ "node_modules/it-glob": {
+ "version": "0.0.10",
+ "resolved": "https://registry.npmjs.org/it-glob/-/it-glob-0.0.10.tgz",
+ "integrity": "sha512-p1PR15djgPV7pxdLOW9j4WcJdla8+91rJdUU2hU2Jm68vkxpIEXK55VHBeH8Lvqh2vqLtM83t8q4BuJxue6niA==",
+ "optional": true,
+ "dependencies": {
+ "fs-extra": "^9.0.1",
+ "minimatch": "^3.0.4"
+ }
+ },
+ "node_modules/it-glob/node_modules/fs-extra": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
+ "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",
+ "optional": true,
+ "dependencies": {
+ "at-least-node": "^1.0.0",
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/it-glob/node_modules/jsonfile": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
+ "optional": true,
+ "dependencies": {
+ "universalify": "^2.0.0"
+ },
+ "optionalDependencies": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
+ "node_modules/it-last": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/it-last/-/it-last-1.0.5.tgz",
+ "integrity": "sha512-PV/2S4zg5g6dkVuKfgrQfN2rUN4wdTI1FzyAvU+i8RV96syut40pa2s9Dut5X7SkjwA3P0tOhLABLdnOJ0Y/4Q==",
+ "optional": true
+ },
+ "node_modules/it-map": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/it-map/-/it-map-1.0.5.tgz",
+ "integrity": "sha512-EElupuWhHVStUgUY+OfTJIS2MZed96lDrAXzJUuqiiqLnIKoBRqtX1ZG2oR0bGDsSppmz83MtzCeKLZ9TVAUxQ==",
+ "optional": true
+ },
+ "node_modules/it-peekable": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/it-peekable/-/it-peekable-1.0.2.tgz",
+ "integrity": "sha512-LRPLu94RLm+lxLZbChuc9iCXrKCOu1obWqxfaKhF00yIp30VGkl741b5P60U+rdBxuZD/Gt1bnmakernv7bVFg==",
+ "optional": true
+ },
+ "node_modules/it-reader": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/it-reader/-/it-reader-2.1.0.tgz",
+ "integrity": "sha512-hSysqWTO9Tlwc5EGjVf8JYZzw0D2FsxD/g+eNNWrez9zODxWt6QlN6JAMmycK72Mv4jHEKEXoyzUN4FYGmJaZw==",
+ "optional": true,
+ "dependencies": {
+ "bl": "^4.0.0"
+ }
+ },
+ "node_modules/it-tar": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/it-tar/-/it-tar-1.2.2.tgz",
+ "integrity": "sha512-M8V4a9I+x/vwXTjqvixcEZbQZHjwDIb8iUQ+D4M2QbhAdNs3WKVSl+45u5/F2XFx6jYMFOGzMVlKNK/uONgNIA==",
+ "optional": true,
+ "dependencies": {
+ "bl": "^4.0.0",
+ "buffer": "^5.4.3",
+ "iso-constants": "^0.1.2",
+ "it-concat": "^1.0.0",
+ "it-reader": "^2.0.0",
+ "p-defer": "^3.0.0"
+ }
+ },
+ "node_modules/it-to-stream": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/it-to-stream/-/it-to-stream-0.1.2.tgz",
+ "integrity": "sha512-DTB5TJRZG3untmZehcaFN0kGWl2bNv7tnJRgQHAO9QEt8jfvVRrebZtnD5NZd4SCj4WVPjl0LSrugNWE/UaZRQ==",
+ "optional": true,
+ "dependencies": {
+ "buffer": "^5.6.0",
+ "fast-fifo": "^1.0.0",
+ "get-iterator": "^1.0.2",
+ "p-defer": "^3.0.0",
+ "p-fifo": "^1.0.0",
+ "readable-stream": "^3.6.0"
+ }
+ },
+ "node_modules/it-to-stream/node_modules/readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/iter-tools": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/iter-tools/-/iter-tools-7.1.2.tgz",
+ "integrity": "sha512-pIXrFK1Mnm27janeYar6M1uhHE7eVPLZwo0FC2JxRLM41nJu0lACwQMam9L0ws8EOZl+mn6Vvq/QqObls53l3w==",
+ "optional": true,
+ "dependencies": {
+ "@babel/runtime": "^7.12.1"
+ }
+ },
+ "node_modules/iterall": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/iterall/-/iterall-1.3.0.tgz",
+ "integrity": "sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg==",
+ "optional": true
+ },
+ "node_modules/iterate-iterator": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/iterate-iterator/-/iterate-iterator-1.0.1.tgz",
+ "integrity": "sha512-3Q6tudGN05kbkDQDI4CqjaBf4qf85w6W6GnuZDtUVYwKgtC1q8yxYX7CZed7N+tLzQqS6roujWvszf13T+n9aw=="
+ },
+ "node_modules/iterate-value": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/iterate-value/-/iterate-value-1.0.2.tgz",
+ "integrity": "sha512-A6fMAio4D2ot2r/TYzr4yUWrmwNdsN5xL7+HUiyACE4DXm+q8HtPcnFTp+NnW3k4N05tZ7FVYFFb2CR13NxyHQ==",
+ "dependencies": {
+ "es-get-iterator": "^1.0.2",
+ "iterate-iterator": "^1.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/jju": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/jju/-/jju-1.4.0.tgz",
+ "integrity": "sha1-o6vicYryQaKykE+EpiWXDzia4yo="
+ },
+ "node_modules/js-sha3": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.7.0.tgz",
+ "integrity": "sha512-Wpks3yBDm0UcL5qlVhwW9Jr9n9i4FfeWBFOOXP5puDS/SiudJGhw7DPyBqn3487qD4F0lsC0q3zxink37f7zeA=="
+ },
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
+ },
+ "node_modules/js-yaml": {
+ "version": "3.14.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz",
+ "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==",
+ "dependencies": {
+ "argparse": "^1.0.7",
+ "esprima": "^4.0.0"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/js-yaml/node_modules/esprima": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
+ "bin": {
+ "esparse": "bin/esparse.js",
+ "esvalidate": "bin/esvalidate.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/jsan": {
+ "version": "3.1.13",
+ "resolved": "https://registry.npmjs.org/jsan/-/jsan-3.1.13.tgz",
+ "integrity": "sha512-9kGpCsGHifmw6oJet+y8HaCl14y7qgAsxVdV3pCHDySNR3BfDC30zgkssd7x5LRVAT22dnpbe9JdzzmXZnq9/g=="
+ },
+ "node_modules/jsbn": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
+ "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="
+ },
+ "node_modules/jsdom": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-7.2.2.tgz",
+ "integrity": "sha1-QLQCdwwr2iNGkJa+6Rq2deOx/G4=",
+ "optional": true,
+ "dependencies": {
+ "abab": "^1.0.0",
+ "acorn": "^2.4.0",
+ "acorn-globals": "^1.0.4",
+ "cssom": ">= 0.3.0 < 0.4.0",
+ "cssstyle": ">= 0.2.29 < 0.3.0",
+ "escodegen": "^1.6.1",
+ "nwmatcher": ">= 1.3.7 < 2.0.0",
+ "parse5": "^1.5.1",
+ "request": "^2.55.0",
+ "sax": "^1.1.4",
+ "symbol-tree": ">= 3.1.0 < 4.0.0",
+ "tough-cookie": "^2.2.0",
+ "webidl-conversions": "^2.0.0",
+ "whatwg-url-compat": "~0.6.5",
+ "xml-name-validator": ">= 2.0.1 < 3.0.0"
+ }
+ },
+ "node_modules/jsdom/node_modules/acorn": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz",
+ "integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc=",
+ "optional": true,
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/jsdom/node_modules/parse5": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/parse5/-/parse5-1.5.1.tgz",
+ "integrity": "sha1-m387DeMr543CQBsXVzzK8Pb1nZQ=",
+ "optional": true
+ },
+ "node_modules/jsesc": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
+ "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",
+ "bin": {
+ "jsesc": "bin/jsesc"
+ }
+ },
+ "node_modules/json-buffer": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",
+ "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg="
+ },
+ "node_modules/json-parse-better-errors": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",
+ "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw=="
+ },
+ "node_modules/json-parse-helpfulerror": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/json-parse-helpfulerror/-/json-parse-helpfulerror-1.0.3.tgz",
+ "integrity": "sha1-E/FM4C7tTpgSl7ZOueO5MuLdE9w=",
+ "dependencies": {
+ "jju": "^1.1.0"
+ }
+ },
+ "node_modules/json-pointer": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/json-pointer/-/json-pointer-0.6.1.tgz",
+ "integrity": "sha512-3OvjqKdCBvH41DLpV4iSt6v2XhZXV1bPB4OROuknvUXI7ZQNofieCPkmE26stEJ9zdQuvIxDHCuYhfgxFAAs+Q==",
+ "dependencies": {
+ "foreach": "^2.0.4"
+ }
+ },
+ "node_modules/json-rpc-engine": {
+ "version": "3.8.0",
+ "resolved": "https://registry.npmjs.org/json-rpc-engine/-/json-rpc-engine-3.8.0.tgz",
+ "integrity": "sha512-6QNcvm2gFuuK4TKU1uwfH0Qd/cOSb9c1lls0gbnIhciktIUQJwz6NQNAW4B1KiGPenv7IKu97V222Yo1bNhGuA==",
+ "dependencies": {
+ "async": "^2.0.1",
+ "babel-preset-env": "^1.7.0",
+ "babelify": "^7.3.0",
+ "json-rpc-error": "^2.0.0",
+ "promise-to-callback": "^1.0.0",
+ "safe-event-emitter": "^1.0.1"
+ }
+ },
+ "node_modules/json-rpc-engine/node_modules/async": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
+ "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
+ "dependencies": {
+ "lodash": "^4.17.14"
+ }
+ },
+ "node_modules/json-rpc-error": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/json-rpc-error/-/json-rpc-error-2.0.0.tgz",
+ "integrity": "sha1-p6+cICg4tekFxyUOVH8a/3cligI=",
+ "dependencies": {
+ "inherits": "^2.0.1"
+ }
+ },
+ "node_modules/json-rpc-random-id": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-rpc-random-id/-/json-rpc-random-id-1.0.1.tgz",
+ "integrity": "sha1-uknZat7RRE27jaPSA3SKy7zeyMg="
+ },
+ "node_modules/json-schema": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
+ "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
+ },
+ "node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
+ },
+ "node_modules/json-stable-stringify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz",
+ "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=",
+ "dependencies": {
+ "jsonify": "~0.0.0"
+ }
+ },
+ "node_modules/json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
+ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE="
+ },
+ "node_modules/json-stringify-safe": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
+ "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
+ },
+ "node_modules/json-text-sequence": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/json-text-sequence/-/json-text-sequence-0.1.1.tgz",
+ "integrity": "sha1-py8hfcSvxGKf/1/rME3BvVGi89I=",
+ "optional": true,
+ "dependencies": {
+ "delimit-stream": "0.1.0"
+ }
+ },
+ "node_modules/json5": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
+ "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=",
+ "bin": {
+ "json5": "lib/cli.js"
+ }
+ },
+ "node_modules/jsondown": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/jsondown/-/jsondown-1.0.0.tgz",
+ "integrity": "sha512-p6XxPaq59aXwcdDQV3ISMA5xk+1z6fJuctcwwSdR9iQgbYOcIrnknNrhcMGG+0FaUfKHGkdDpQNaZrovfBoyOw==",
+ "optional": true,
+ "dependencies": {
+ "memdown": "1.4.1",
+ "mkdirp": "0.5.1"
+ },
+ "peerDependencies": {
+ "abstract-leveldown": "*"
+ }
+ },
+ "node_modules/jsonfile": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz",
+ "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=",
+ "dependencies": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
+ "node_modules/jsonify": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz",
+ "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM="
+ },
+ "node_modules/jsonparse": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz",
+ "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=",
+ "engines": [
+ "node >= 0.2.0"
+ ]
+ },
+ "node_modules/jsonschema": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.2.6.tgz",
+ "integrity": "sha512-SqhURKZG07JyKKeo/ir24QnS4/BV7a6gQy93bUSe4lUdNp0QNpIz2c9elWJQ9dpc5cQYY6cvCzgRwy0MQCLyqA==",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/JSONStream": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz",
+ "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==",
+ "dependencies": {
+ "jsonparse": "^1.2.0",
+ "through": ">=2.2.7 <3"
+ },
+ "bin": {
+ "JSONStream": "bin.js"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/jsprim": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
+ "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",
+ "engines": [
+ "node >=0.6.0"
+ ],
+ "dependencies": {
+ "assert-plus": "1.0.0",
+ "extsprintf": "1.3.0",
+ "json-schema": "0.2.3",
+ "verror": "1.10.0"
+ }
+ },
+ "node_modules/keccak": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/keccak/-/keccak-1.4.0.tgz",
+ "integrity": "sha512-eZVaCpblK5formjPjeTBik7TAg+pqnDrMHIffSvi9Lh7PQgM1+hSzakUeZFCk9DVVG0dacZJuaz2ntwlzZUIBw==",
+ "dependencies": {
+ "bindings": "^1.2.1",
+ "inherits": "^2.0.3",
+ "nan": "^2.2.1",
+ "safe-buffer": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/keypair": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/keypair/-/keypair-1.0.3.tgz",
+ "integrity": "sha512-0wjZ2z/SfZZq01+3/8jYLd8aEShSa+aat1zyPGQY3IuKoEAp6DJGvu2zt6snELrQU9jbCkIlCyNOD7RdQbHhkQ==",
+ "optional": true
+ },
+ "node_modules/keypather": {
+ "version": "1.10.2",
+ "resolved": "https://registry.npmjs.org/keypather/-/keypather-1.10.2.tgz",
+ "integrity": "sha1-4ESWMtSz5RbyHMAUznxWRP3c5hQ=",
+ "optional": true,
+ "dependencies": {
+ "101": "^1.0.0"
+ }
+ },
+ "node_modules/keyv": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz",
+ "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==",
+ "dependencies": {
+ "json-buffer": "3.0.0"
+ }
+ },
+ "node_modules/kind-of": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",
+ "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==",
+ "devOptional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/klaw": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz",
+ "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=",
+ "dependencies": {
+ "graceful-fs": "^4.1.9"
+ }
+ },
+ "node_modules/kleur": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
+ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/latest-version": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-3.1.0.tgz",
+ "integrity": "sha1-ogU4P+oyKzO1rjsYq+4NwvNW7hU=",
+ "dev": true,
+ "dependencies": {
+ "package-json": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/lazy-debug-legacy": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/lazy-debug-legacy/-/lazy-debug-legacy-0.0.1.tgz",
+ "integrity": "sha1-U3cWwHduTPeePtG2IfdljCkRsbE=",
+ "optional": true,
+ "peerDependencies": {
+ "debug": "*"
+ }
+ },
+ "node_modules/lazystream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.0.tgz",
+ "integrity": "sha1-9plf4PggOS9hOWvolGJAe7dxaOQ=",
+ "dependencies": {
+ "readable-stream": "^2.0.5"
+ },
+ "engines": {
+ "node": ">= 0.6.3"
+ }
+ },
+ "node_modules/lcid": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz",
+ "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=",
+ "dependencies": {
+ "invert-kv": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/leb128": {
+ "version": "0.0.5",
+ "resolved": "https://registry.npmjs.org/leb128/-/leb128-0.0.5.tgz",
+ "integrity": "sha512-elbNtfmu3GndZbesVF6+iQAfVjOXW9bM/aax9WwMlABZW+oK9sbAZEXoewaPHmL34sxa8kVwWsru8cNE/yn2gg==",
+ "optional": true,
+ "dependencies": {
+ "bn.js": "^5.0.0",
+ "buffer-pipe": "0.0.3"
+ }
+ },
+ "node_modules/leb128/node_modules/bn.js": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==",
+ "optional": true
+ },
+ "node_modules/level": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/level/-/level-5.0.1.tgz",
+ "integrity": "sha512-wcak5OQeA4rURGacqS62R/xNHjCYnJSQDBOlm4KNUGJVE9bWv2B04TclqReYejN+oD65PzD4FsqeWoI5wNC5Lg==",
+ "hasInstallScript": true,
+ "optional": true,
+ "dependencies": {
+ "level-js": "^4.0.0",
+ "level-packager": "^5.0.0",
+ "leveldown": "^5.0.0",
+ "opencollective-postinstall": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8.6.0"
+ }
+ },
+ "node_modules/level-codec": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/level-codec/-/level-codec-7.0.1.tgz",
+ "integrity": "sha512-Ua/R9B9r3RasXdRmOtd+t9TCOEIIlts+TN/7XTT2unhDaL6sJn83S3rUyljbr6lVtw49N3/yA0HHjpV6Kzb2aQ=="
+ },
+ "node_modules/level-concat-iterator": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/level-concat-iterator/-/level-concat-iterator-2.0.1.tgz",
+ "integrity": "sha512-OTKKOqeav2QWcERMJR7IS9CUo1sHnke2C0gkSmcR7QuEtFNLLzHQAvnMw8ykvEcv0Qtkg0p7FOwP1v9e5Smdcw==",
+ "optional": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/level-errors": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-1.0.5.tgz",
+ "integrity": "sha512-/cLUpQduF6bNrWuAC4pwtUKA5t669pCsCi2XbmojG2tFeOr9j6ShtdDCtFFQO1DRt+EVZhx9gPzP9G2bUaG4ig==",
+ "dependencies": {
+ "errno": "~0.1.1"
+ }
+ },
+ "node_modules/level-iterator-stream": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-1.3.1.tgz",
+ "integrity": "sha1-5Dt4sagUPm+pek9IXrjqUwNS8u0=",
+ "dependencies": {
+ "inherits": "^2.0.1",
+ "level-errors": "^1.0.3",
+ "readable-stream": "^1.0.33",
+ "xtend": "^4.0.0"
+ }
+ },
+ "node_modules/level-iterator-stream/node_modules/isarray": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
+ "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8="
+ },
+ "node_modules/level-iterator-stream/node_modules/readable-stream": {
+ "version": "1.1.14",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
+ "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "0.0.1",
+ "string_decoder": "~0.10.x"
+ }
+ },
+ "node_modules/level-iterator-stream/node_modules/string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
+ },
+ "node_modules/level-js": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/level-js/-/level-js-4.0.2.tgz",
+ "integrity": "sha512-PeGjZsyMG4O89KHiez1zoMJxStnkM+oBIqgACjoo5PJqFiSUUm3GNod/KcbqN5ktyZa8jkG7I1T0P2u6HN9lIg==",
+ "optional": true,
+ "dependencies": {
+ "abstract-leveldown": "~6.0.1",
+ "immediate": "~3.2.3",
+ "inherits": "^2.0.3",
+ "ltgt": "^2.1.2",
+ "typedarray-to-buffer": "~3.1.5"
+ }
+ },
+ "node_modules/level-js/node_modules/abstract-leveldown": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.0.3.tgz",
+ "integrity": "sha512-jzewKKpZbaYUa6HTThnrl+GrJhzjEAeuc7hTVpZdzg7kupXZFoqQDFwyOwLNbmJKJlmzw8yiipMPkDiuKkT06Q==",
+ "optional": true,
+ "dependencies": {
+ "level-concat-iterator": "~2.0.0",
+ "xtend": "~4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/level-js/node_modules/immediate": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.2.3.tgz",
+ "integrity": "sha1-0UD6j2FGWb1lQSMwl92qwlzdmRw=",
+ "optional": true
+ },
+ "node_modules/level-packager": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/level-packager/-/level-packager-5.1.1.tgz",
+ "integrity": "sha512-HMwMaQPlTC1IlcwT3+swhqf/NUO+ZhXVz6TY1zZIIZlIR0YSn8GtAAWmIvKjNY16ZkEg/JcpAuQskxsXqC0yOQ==",
+ "optional": true,
+ "dependencies": {
+ "encoding-down": "^6.3.0",
+ "levelup": "^4.3.2"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/level-packager/node_modules/abstract-leveldown": {
+ "version": "6.2.3",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.2.3.tgz",
+ "integrity": "sha512-BsLm5vFMRUrrLeCcRc+G0t2qOaTzpoJQLOubq2XM72eNpjF5UdU5o/5NvlNhx95XHcAvcl8OMXr4mlg/fRgUXQ==",
+ "optional": true,
+ "dependencies": {
+ "buffer": "^5.5.0",
+ "immediate": "^3.2.3",
+ "level-concat-iterator": "~2.0.0",
+ "level-supports": "~1.0.0",
+ "xtend": "~4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/level-packager/node_modules/deferred-leveldown": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-5.3.0.tgz",
+ "integrity": "sha512-a59VOT+oDy7vtAbLRCZwWgxu2BaCfd5Hk7wxJd48ei7I+nsg8Orlb9CLG0PMZienk9BSUKgeAqkO2+Lw+1+Ukw==",
+ "optional": true,
+ "dependencies": {
+ "abstract-leveldown": "~6.2.1",
+ "inherits": "^2.0.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/level-packager/node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "node_modules/level-packager/node_modules/level-errors": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-2.0.1.tgz",
+ "integrity": "sha512-UVprBJXite4gPS+3VznfgDSU8PTRuVX0NXwoWW50KLxd2yw4Y1t2JUR5In1itQnudZqRMT9DlAM3Q//9NCjCFw==",
+ "optional": true,
+ "dependencies": {
+ "errno": "~0.1.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/level-packager/node_modules/level-iterator-stream": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-4.0.2.tgz",
+ "integrity": "sha512-ZSthfEqzGSOMWoUGhTXdX9jv26d32XJuHz/5YnuHZzH6wldfWMOVwI9TBtKcya4BKTyTt3XVA0A3cF3q5CY30Q==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.4.0",
+ "xtend": "^4.0.2"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/level-packager/node_modules/levelup": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/levelup/-/levelup-4.4.0.tgz",
+ "integrity": "sha512-94++VFO3qN95cM/d6eBXvd894oJE0w3cInq9USsyQzzoJxmiYzPAocNcuGCPGGjoXqDVJcr3C1jzt1TSjyaiLQ==",
+ "optional": true,
+ "dependencies": {
+ "deferred-leveldown": "~5.3.0",
+ "level-errors": "~2.0.0",
+ "level-iterator-stream": "~4.0.0",
+ "level-supports": "~1.0.0",
+ "xtend": "~4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/level-packager/node_modules/readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/level-supports": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/level-supports/-/level-supports-1.0.1.tgz",
+ "integrity": "sha512-rXM7GYnW8gsl1vedTJIbzOrRv85c/2uCMpiiCzO2fndd06U/kUXEEU9evYn4zFggBOg36IsBW8LzqIpETwwQzg==",
+ "optional": true,
+ "dependencies": {
+ "xtend": "^4.0.2"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/level-write-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/level-write-stream/-/level-write-stream-1.0.0.tgz",
+ "integrity": "sha1-P3+7Z5pVE3wP6zA97nZuEu4Twdw=",
+ "optional": true,
+ "dependencies": {
+ "end-stream": "~0.1.0"
+ }
+ },
+ "node_modules/level-ws": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/level-ws/-/level-ws-0.0.0.tgz",
+ "integrity": "sha1-Ny5RIXeSSgBCSwtDrvK7QkltIos=",
+ "dependencies": {
+ "readable-stream": "~1.0.15",
+ "xtend": "~2.1.1"
+ }
+ },
+ "node_modules/level-ws/node_modules/isarray": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
+ "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8="
+ },
+ "node_modules/level-ws/node_modules/object-keys": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-0.4.0.tgz",
+ "integrity": "sha1-KKaq50KN0sOpLz2V8hM13SBOAzY="
+ },
+ "node_modules/level-ws/node_modules/readable-stream": {
+ "version": "1.0.34",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "0.0.1",
+ "string_decoder": "~0.10.x"
+ }
+ },
+ "node_modules/level-ws/node_modules/string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
+ },
+ "node_modules/level-ws/node_modules/xtend": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz",
+ "integrity": "sha1-bv7MKk2tjmlixJAbM3znuoe10os=",
+ "dependencies": {
+ "object-keys": "~0.4.0"
+ },
+ "engines": {
+ "node": ">=0.4"
+ }
+ },
+ "node_modules/leveldown": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/leveldown/-/leveldown-5.0.2.tgz",
+ "integrity": "sha512-Ib6ygFYBleS8x2gh3C1AkVsdrUShqXpe6jSTnZ6sRycEXKhqVf+xOSkhgSnjidpPzyv0d95LJVFrYQ4NuXAqHA==",
+ "hasInstallScript": true,
+ "optional": true,
+ "dependencies": {
+ "abstract-leveldown": "~6.0.0",
+ "fast-future": "~1.0.2",
+ "napi-macros": "~1.8.1",
+ "node-gyp-build": "~3.8.0"
+ },
+ "engines": {
+ "node": ">=8.6.0"
+ }
+ },
+ "node_modules/leveldown/node_modules/abstract-leveldown": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.0.3.tgz",
+ "integrity": "sha512-jzewKKpZbaYUa6HTThnrl+GrJhzjEAeuc7hTVpZdzg7kupXZFoqQDFwyOwLNbmJKJlmzw8yiipMPkDiuKkT06Q==",
+ "optional": true,
+ "dependencies": {
+ "level-concat-iterator": "~2.0.0",
+ "xtend": "~4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/leveldown/node_modules/node-gyp-build": {
+ "version": "3.8.0",
+ "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.8.0.tgz",
+ "integrity": "sha512-bYbpIHyRqZ7sVWXxGpz8QIRug5JZc/hzZH4GbdT9HTZi6WmKCZ8GLvP8OZ9TTiIBvwPFKgtGrlWQSXDAvYdsPw==",
+ "optional": true,
+ "bin": {
+ "node-gyp-build": "bin.js",
+ "node-gyp-build-optional": "optional.js",
+ "node-gyp-build-test": "build-test.js"
+ }
+ },
+ "node_modules/levelup": {
+ "version": "1.3.9",
+ "resolved": "https://registry.npmjs.org/levelup/-/levelup-1.3.9.tgz",
+ "integrity": "sha512-VVGHfKIlmw8w1XqpGOAGwq6sZm2WwWLmlDcULkKWQXEA5EopA8OBNJ2Ck2v6bdk8HeEZSbCSEgzXadyQFm76sQ==",
+ "dependencies": {
+ "deferred-leveldown": "~1.2.1",
+ "level-codec": "~7.0.0",
+ "level-errors": "~1.0.3",
+ "level-iterator-stream": "~1.3.0",
+ "prr": "~1.0.1",
+ "semver": "~5.4.1",
+ "xtend": "~4.0.0"
+ }
+ },
+ "node_modules/levelup/node_modules/semver": {
+ "version": "5.4.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.4.1.tgz",
+ "integrity": "sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg==",
+ "bin": {
+ "semver": "bin/semver"
+ }
+ },
+ "node_modules/levn": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
+ "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=",
+ "dependencies": {
+ "prelude-ls": "~1.1.2",
+ "type-check": "~0.3.2"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/libnpmconfig": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/libnpmconfig/-/libnpmconfig-1.2.1.tgz",
+ "integrity": "sha512-9esX8rTQAHqarx6qeZqmGQKBNZR5OIbl/Ayr0qQDy3oXja2iFVQQI81R6GZ2a02bSNZ9p3YOGX1O6HHCb1X7kA==",
+ "dependencies": {
+ "figgy-pudding": "^3.5.1",
+ "find-up": "^3.0.0",
+ "ini": "^1.3.5"
+ }
+ },
+ "node_modules/libnpmconfig/node_modules/find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "dependencies": {
+ "locate-path": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/libnpmconfig/node_modules/locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "dependencies": {
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/libnpmconfig/node_modules/p-limit": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",
+ "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",
+ "dependencies": {
+ "p-try": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/libnpmconfig/node_modules/p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "dependencies": {
+ "p-limit": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/libnpmconfig/node_modules/p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/libnpmconfig/node_modules/path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/libp2p-crypto": {
+ "version": "0.19.4",
+ "resolved": "https://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.19.4.tgz",
+ "integrity": "sha512-8iUwiNlU/sFEtXQpxaehmXUQ5Fw6r52H7NH0d8ZSb8nKBbO6r8y8ft6f1to8A81SrFOVd4/zsjEzokpedDvRgw==",
+ "optional": true,
+ "dependencies": {
+ "err-code": "^3.0.1",
+ "is-typedarray": "^1.0.0",
+ "iso-random-stream": "^2.0.0",
+ "keypair": "^1.0.1",
+ "multibase": "^4.0.3",
+ "multicodec": "^3.0.1",
+ "multihashes": "^4.0.2",
+ "multihashing-async": "^2.1.2",
+ "node-forge": "^0.10.0",
+ "pem-jwk": "^2.0.0",
+ "protobufjs": "^6.10.2",
+ "secp256k1": "^4.0.0",
+ "uint8arrays": "^2.1.4",
+ "ursa-optional": "^0.10.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/libp2p-crypto/node_modules/err-code": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/err-code/-/err-code-3.0.1.tgz",
+ "integrity": "sha512-GiaH0KJUewYok+eeY05IIgjtAe4Yltygk9Wqp1V5yVWLdhf0hYZchRjNIT9bb0mSwRcIusT3cx7PJUf3zEIfUA==",
+ "optional": true
+ },
+ "node_modules/libp2p-crypto/node_modules/multibase": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.4.tgz",
+ "integrity": "sha512-8/JmrdSGzlw6KTgAJCOqUBSGd1V6186i/X8dDCGy/lbCKrQ+1QB6f3HE+wPr7Tpdj4U3gutaj9jG2rNX6UpiJg==",
+ "optional": true,
+ "dependencies": {
+ "@multiformats/base-x": "^4.0.1"
+ },
+ "engines": {
+ "node": ">=12.0.0",
+ "npm": ">=6.0.0"
+ }
+ },
+ "node_modules/libp2p-crypto/node_modules/multihashes": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.2.tgz",
+ "integrity": "sha512-xpx++1iZr4ZQHjN1mcrXS6904R36LWLxX/CBifczjtmrtCXEX623DMWOF1eiNSg+pFpiZDFVBgou/4v6ayCHSQ==",
+ "optional": true,
+ "dependencies": {
+ "multibase": "^4.0.1",
+ "uint8arrays": "^2.1.3",
+ "varint": "^5.0.2"
+ },
+ "engines": {
+ "node": ">=12.0.0",
+ "npm": ">=6.0.0"
+ }
+ },
+ "node_modules/libp2p-crypto/node_modules/secp256k1": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.2.tgz",
+ "integrity": "sha512-UDar4sKvWAksIlfX3xIaQReADn+WFnHvbVujpcbr+9Sf/69odMwy2MUsz5CKLQgX9nsIyrjuxL2imVyoNHa3fg==",
+ "hasInstallScript": true,
+ "optional": true,
+ "dependencies": {
+ "elliptic": "^6.5.2",
+ "node-addon-api": "^2.0.0",
+ "node-gyp-build": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/libp2p-crypto/node_modules/varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
+ },
+ "node_modules/linked-list": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/linked-list/-/linked-list-0.1.0.tgz",
+ "integrity": "sha1-eYsP+X0bkqT9CEgPVa6k6dSdN78="
+ },
+ "node_modules/load-json-file": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
+ "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=",
+ "dev": true,
+ "dependencies": {
+ "graceful-fs": "^4.1.2",
+ "parse-json": "^2.2.0",
+ "pify": "^2.0.0",
+ "strip-bom": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/locate-path": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz",
+ "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=",
+ "dependencies": {
+ "p-locate": "^2.0.0",
+ "path-exists": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/locate-path/node_modules/path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/lodash": {
+ "version": "4.17.21",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
+ },
+ "node_modules/lodash-es": {
+ "version": "4.17.21",
+ "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz",
+ "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw=="
+ },
+ "node_modules/lodash._reinterpolate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz",
+ "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=",
+ "optional": true
+ },
+ "node_modules/lodash.assign": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz",
+ "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=",
+ "optional": true
+ },
+ "node_modules/lodash.assignin": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/lodash.assignin/-/lodash.assignin-4.2.0.tgz",
+ "integrity": "sha1-uo31+4QesKPoBEIysOJjqNxqKKI=",
+ "optional": true
+ },
+ "node_modules/lodash.assigninwith": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/lodash.assigninwith/-/lodash.assigninwith-4.2.0.tgz",
+ "integrity": "sha1-rwLJhDKshtk9ppW0voAUAZcXNq8=",
+ "optional": true
+ },
+ "node_modules/lodash.clonedeep": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
+ "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8="
+ },
+ "node_modules/lodash.escaperegexp": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz",
+ "integrity": "sha1-ZHYsSGGAglGKw99Mz11YhtriA0c="
+ },
+ "node_modules/lodash.flatten": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz",
+ "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8="
+ },
+ "node_modules/lodash.isequal": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz",
+ "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=",
+ "optional": true
+ },
+ "node_modules/lodash.keys": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-4.2.0.tgz",
+ "integrity": "sha1-oIYCrBLk+4P5H8H7ejYKTZujUgU=",
+ "optional": true
+ },
+ "node_modules/lodash.merge": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="
+ },
+ "node_modules/lodash.omit": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz",
+ "integrity": "sha1-brGa5aHuHdnfC5aeZs4Lf6MLXmA=",
+ "optional": true
+ },
+ "node_modules/lodash.partition": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/lodash.partition/-/lodash.partition-4.6.0.tgz",
+ "integrity": "sha1-o45GtzRp4EILDaEhLmbUFL42S6Q="
+ },
+ "node_modules/lodash.rest": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/lodash.rest/-/lodash.rest-4.0.5.tgz",
+ "integrity": "sha1-lU73UEkmIDjJbR/Jiyj9r58Hcqo=",
+ "optional": true
+ },
+ "node_modules/lodash.sortby": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz",
+ "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=",
+ "optional": true
+ },
+ "node_modules/lodash.sum": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/lodash.sum/-/lodash.sum-4.0.2.tgz",
+ "integrity": "sha1-rZDjl5ZdgD1PH/eqWy0Bl/O0Y3s="
+ },
+ "node_modules/lodash.template": {
+ "version": "4.2.4",
+ "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.2.4.tgz",
+ "integrity": "sha1-0FPBno50442WW/T7SV2A8Qnn96Q=",
+ "optional": true,
+ "dependencies": {
+ "lodash._reinterpolate": "~3.0.0",
+ "lodash.assigninwith": "^4.0.0",
+ "lodash.keys": "^4.0.0",
+ "lodash.rest": "^4.0.0",
+ "lodash.templatesettings": "^4.0.0",
+ "lodash.tostring": "^4.0.0"
+ }
+ },
+ "node_modules/lodash.templatesettings": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz",
+ "integrity": "sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==",
+ "optional": true,
+ "dependencies": {
+ "lodash._reinterpolate": "^3.0.0"
+ }
+ },
+ "node_modules/lodash.toarray": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/lodash.toarray/-/lodash.toarray-4.4.0.tgz",
+ "integrity": "sha1-JMS/zWsvuji/0FlNsRedjptlZWE=",
+ "dev": true
+ },
+ "node_modules/lodash.tostring": {
+ "version": "4.1.4",
+ "resolved": "https://registry.npmjs.org/lodash.tostring/-/lodash.tostring-4.1.4.tgz",
+ "integrity": "sha1-Vgwn0fjq3eA8LM4Zj+9cAx2CmPs=",
+ "optional": true
+ },
+ "node_modules/lodash.values": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/lodash.values/-/lodash.values-4.3.0.tgz",
+ "integrity": "sha1-o6bCsOvsxcLLocF+bmIP6BtT00c="
+ },
+ "node_modules/lodash.without": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/lodash.without/-/lodash.without-4.4.0.tgz",
+ "integrity": "sha1-PNRXSgC2e643OpS3SHcmQFB7eqw=",
+ "optional": true
+ },
+ "node_modules/lodash.xor": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/lodash.xor/-/lodash.xor-4.5.0.tgz",
+ "integrity": "sha1-TUjtfpgJWwYyWCunFNP/iuj7HbY=",
+ "optional": true
+ },
+ "node_modules/lodash.zipwith": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/lodash.zipwith/-/lodash.zipwith-4.2.0.tgz",
+ "integrity": "sha1-r6zwP9LzhK8p4mPDxr2juA4/Uf0="
+ },
+ "node_modules/log-symbols": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz",
+ "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==",
+ "optional": true,
+ "dependencies": {
+ "chalk": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/loglevel": {
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.7.1.tgz",
+ "integrity": "sha512-Hesni4s5UkWkwCGJMQGAh71PaLUmKFM60dHvq0zi/vDhhrzuk+4GgNbTXJ12YYQJn6ZKBDNIjYcuQGKudvqrIw==",
+ "engines": {
+ "node": ">= 0.6.0"
+ },
+ "funding": {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/loglevel"
+ }
+ },
+ "node_modules/long": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz",
+ "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==",
+ "optional": true
+ },
+ "node_modules/loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "dependencies": {
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ },
+ "bin": {
+ "loose-envify": "cli.js"
+ }
+ },
+ "node_modules/lower-case": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz",
+ "integrity": "sha1-miyr0bno4K6ZOkv31YdcOcQujqw="
+ },
+ "node_modules/lower-case-first": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case-first/-/lower-case-first-1.0.2.tgz",
+ "integrity": "sha1-5dp8JvKacHO+AtUrrJmA5ZIq36E=",
+ "dependencies": {
+ "lower-case": "^1.1.2"
+ }
+ },
+ "node_modules/lowercase-keys": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
+ "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/lru-cache": {
+ "version": "4.1.5",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",
+ "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==",
+ "dependencies": {
+ "pseudomap": "^1.0.2",
+ "yallist": "^2.1.2"
+ }
+ },
+ "node_modules/ltgt": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ltgt/-/ltgt-2.2.1.tgz",
+ "integrity": "sha1-81ypHEk/e3PaDgdJUwTxezH4fuU="
+ },
+ "node_modules/make-dir": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz",
+ "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==",
+ "dependencies": {
+ "pify": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/make-dir/node_modules/pify": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
+ "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/make-error": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.5.tgz",
+ "integrity": "sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g==",
+ "dev": true
+ },
+ "node_modules/make-fetch-happen": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-5.0.0.tgz",
+ "integrity": "sha512-nFr/vpL1Jc60etMVKeaLOqfGjMMb3tAHFVJWxHOFCFS04Zmd7kGlMxo0l1tzfhoQje0/UPnd0X8OeGUiXXnfPA==",
+ "dependencies": {
+ "agentkeepalive": "^3.4.1",
+ "cacache": "^12.0.0",
+ "http-cache-semantics": "^3.8.1",
+ "http-proxy-agent": "^2.1.0",
+ "https-proxy-agent": "^2.2.1",
+ "lru-cache": "^5.1.1",
+ "mississippi": "^3.0.0",
+ "node-fetch-npm": "^2.0.2",
+ "promise-retry": "^1.1.1",
+ "socks-proxy-agent": "^4.0.0",
+ "ssri": "^6.0.0"
+ }
+ },
+ "node_modules/make-fetch-happen/node_modules/lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "dependencies": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "node_modules/make-fetch-happen/node_modules/yallist": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",
+ "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A=="
+ },
+ "node_modules/map-cache": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",
+ "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/map-stream": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.0.6.tgz",
+ "integrity": "sha1-0u9OuBGihkTHqJiZhcacL91JaCc=",
+ "optional": true
+ },
+ "node_modules/map-visit": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",
+ "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=",
+ "dev": true,
+ "dependencies": {
+ "object-visit": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/markdown-table": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-1.1.3.tgz",
+ "integrity": "sha512-1RUZVgQlpJSPWYbFSpmudq5nHY1doEIv89gBtF0s4gW1GF2XorxcA/70M5vq7rLv0a6mhOUccRsqkwhwLCIQ2Q==",
+ "dev": true
+ },
+ "node_modules/marked": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz",
+ "integrity": "sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==",
+ "dev": true,
+ "bin": {
+ "marked": "bin/marked"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/marked-terminal": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/marked-terminal/-/marked-terminal-3.3.0.tgz",
+ "integrity": "sha512-+IUQJ5VlZoAFsM5MHNT7g3RHSkA3eETqhRCdXv4niUMAKHQ7lb1yvAcuGPmm4soxhmtX13u4Li6ZToXtvSEH+A==",
+ "dev": true,
+ "dependencies": {
+ "ansi-escapes": "^3.1.0",
+ "cardinal": "^2.1.1",
+ "chalk": "^2.4.1",
+ "cli-table": "^0.3.1",
+ "node-emoji": "^1.4.1",
+ "supports-hyperlinks": "^1.0.1"
+ }
+ },
+ "node_modules/math-random": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz",
+ "integrity": "sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==",
+ "optional": true
+ },
+ "node_modules/md5.js": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz",
+ "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==",
+ "dependencies": {
+ "hash-base": "^3.0.0",
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.1.2"
+ }
+ },
+ "node_modules/media-typer": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
+ "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mem": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz",
+ "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=",
+ "dependencies": {
+ "mimic-fn": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/memdown": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/memdown/-/memdown-1.4.1.tgz",
+ "integrity": "sha1-tOThkhdGZP+65BNhqlAPMRnv4hU=",
+ "dependencies": {
+ "abstract-leveldown": "~2.7.1",
+ "functional-red-black-tree": "^1.0.1",
+ "immediate": "^3.2.3",
+ "inherits": "~2.0.1",
+ "ltgt": "~2.2.0",
+ "safe-buffer": "~5.1.1"
+ }
+ },
+ "node_modules/memdown/node_modules/abstract-leveldown": {
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-2.7.2.tgz",
+ "integrity": "sha512-+OVvxH2rHVEhWLdbudP6p0+dNMXu8JA1CbhP19T8paTYAcX7oJ4OVjT+ZUVpv7mITxXHqDMej+GdqXBmXkw09w==",
+ "dependencies": {
+ "xtend": "~4.0.0"
+ }
+ },
+ "node_modules/memorystream": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz",
+ "integrity": "sha1-htcJCzDORV1j+64S3aUaR93K+bI=",
+ "engines": {
+ "node": ">= 0.10.0"
+ }
+ },
+ "node_modules/merge-descriptors": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
+ "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E="
+ },
+ "node_modules/merge-options": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-options/-/merge-options-2.0.0.tgz",
+ "integrity": "sha512-S7xYIeWHl2ZUKF7SDeBhGg6rfv5bKxVBdk95s/I7wVF8d+hjLSztJ/B271cnUiF6CAFduEQ5Zn3HYwAjT16DlQ==",
+ "optional": true,
+ "dependencies": {
+ "is-plain-obj": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/merge-stream": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-1.0.1.tgz",
+ "integrity": "sha1-QEEgLVCKNCugAXQAjfDCUbjBNeE=",
+ "optional": true,
+ "dependencies": {
+ "readable-stream": "^2.0.1"
+ }
+ },
+ "node_modules/merge2": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
+ "optional": true,
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/merkle-patricia-tree": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/merkle-patricia-tree/-/merkle-patricia-tree-2.3.2.tgz",
+ "integrity": "sha512-81PW5m8oz/pz3GvsAwbauj7Y00rqm81Tzad77tHBwU7pIAtN+TJnMSOJhxBKflSVYhptMMb9RskhqHqrSm1V+g==",
+ "dependencies": {
+ "async": "^1.4.2",
+ "ethereumjs-util": "^5.0.0",
+ "level-ws": "0.0.0",
+ "levelup": "^1.2.1",
+ "memdown": "^1.0.0",
+ "readable-stream": "^2.0.0",
+ "rlp": "^2.0.0",
+ "semaphore": ">=1.0.1"
+ }
+ },
+ "node_modules/methods": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
+ "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/micromatch": {
+ "version": "3.1.10",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
+ "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",
+ "dev": true,
+ "dependencies": {
+ "arr-diff": "^4.0.0",
+ "array-unique": "^0.3.2",
+ "braces": "^2.3.1",
+ "define-property": "^2.0.2",
+ "extend-shallow": "^3.0.2",
+ "extglob": "^2.0.4",
+ "fragment-cache": "^0.2.1",
+ "kind-of": "^6.0.2",
+ "nanomatch": "^1.2.9",
+ "object.pick": "^1.3.0",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/miller-rabin": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz",
+ "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==",
+ "dependencies": {
+ "bn.js": "^4.0.0",
+ "brorand": "^1.0.1"
+ },
+ "bin": {
+ "miller-rabin": "bin/miller-rabin"
+ }
+ },
+ "node_modules/mime": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
+ "bin": {
+ "mime": "cli.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/mime-db": {
+ "version": "1.47.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz",
+ "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mime-types": {
+ "version": "2.1.30",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz",
+ "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==",
+ "dependencies": {
+ "mime-db": "1.47.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mimic-fn": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
+ "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/mimic-response": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
+ "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/min-document": {
+ "version": "2.19.0",
+ "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz",
+ "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=",
+ "dependencies": {
+ "dom-walk": "^0.1.0"
+ }
+ },
+ "node_modules/minimalistic-assert": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",
+ "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A=="
+ },
+ "node_modules/minimalistic-crypto-utils": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz",
+ "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo="
+ },
+ "node_modules/minimatch": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
+ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/minimist": {
+ "version": "0.0.8",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0="
+ },
+ "node_modules/minipass": {
+ "version": "2.3.5",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz",
+ "integrity": "sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA==",
+ "dependencies": {
+ "safe-buffer": "^5.1.2",
+ "yallist": "^3.0.0"
+ }
+ },
+ "node_modules/minipass/node_modules/yallist": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",
+ "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A=="
+ },
+ "node_modules/minizlib": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.2.1.tgz",
+ "integrity": "sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA==",
+ "dependencies": {
+ "minipass": "^2.2.1"
+ }
+ },
+ "node_modules/mississippi": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz",
+ "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==",
+ "dependencies": {
+ "concat-stream": "^1.5.0",
+ "duplexify": "^3.4.2",
+ "end-of-stream": "^1.1.0",
+ "flush-write-stream": "^1.0.0",
+ "from2": "^2.1.0",
+ "parallel-transform": "^1.1.0",
+ "pump": "^3.0.0",
+ "pumpify": "^1.3.3",
+ "stream-each": "^1.1.0",
+ "through2": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/mississippi/node_modules/pump": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "node_modules/mixin-deep": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz",
+ "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==",
+ "dev": true,
+ "dependencies": {
+ "for-in": "^1.0.2",
+ "is-extendable": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/mixin-deep/node_modules/is-extendable": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
+ "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
+ "dev": true,
+ "dependencies": {
+ "is-plain-object": "^2.0.4"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/mkdirp": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
+ "dependencies": {
+ "minimist": "0.0.8"
+ },
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ }
+ },
+ "node_modules/mkdirp-classic": {
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
+ "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==",
+ "optional": true
+ },
+ "node_modules/mkdirp-promise": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz",
+ "integrity": "sha1-6bj2jlUsaKnBcTuEiD96HdA5uKE=",
+ "deprecated": "This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.",
+ "dependencies": {
+ "mkdirp": "*"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/mocha": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz",
+ "integrity": "sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==",
+ "dev": true,
+ "dependencies": {
+ "browser-stdout": "1.3.1",
+ "commander": "2.15.1",
+ "debug": "3.1.0",
+ "diff": "3.5.0",
+ "escape-string-regexp": "1.0.5",
+ "glob": "7.1.2",
+ "growl": "1.10.5",
+ "he": "1.1.1",
+ "minimatch": "3.0.4",
+ "mkdirp": "0.5.1",
+ "supports-color": "5.4.0"
+ },
+ "bin": {
+ "_mocha": "bin/_mocha",
+ "mocha": "bin/mocha"
+ },
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
+ "node_modules/mocha/node_modules/commander": {
+ "version": "2.15.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz",
+ "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==",
+ "dev": true
+ },
+ "node_modules/mock-fs": {
+ "version": "4.13.0",
+ "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-4.13.0.tgz",
+ "integrity": "sha512-DD0vOdofJdoaRNtnWcrXe6RQbpHkPPmtqGq14uRX0F8ZKJ5nv89CVTYl/BZdppDxBDaV0hl75htg3abpEWlPZA=="
+ },
+ "node_modules/module": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/module/-/module-1.2.5.tgz",
+ "integrity": "sha1-tQPrBs3BNHP1aBhCaXTN5+xZvxU=",
+ "optional": true,
+ "dependencies": {
+ "chalk": "1.1.3",
+ "concat-stream": "1.5.1",
+ "lodash.template": "4.2.4",
+ "map-stream": "0.0.6",
+ "tildify": "1.2.0",
+ "vinyl-fs": "2.4.3",
+ "yargs": "4.6.0"
+ },
+ "bin": {
+ "module": "dist/cli.js"
+ }
+ },
+ "node_modules/module/node_modules/ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/module/node_modules/camelcase": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",
+ "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/module/node_modules/chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
+ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "optional": true,
+ "dependencies": {
+ "ansi-styles": "^2.2.1",
+ "escape-string-regexp": "^1.0.2",
+ "has-ansi": "^2.0.0",
+ "strip-ansi": "^3.0.0",
+ "supports-color": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/module/node_modules/cliui": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz",
+ "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=",
+ "optional": true,
+ "dependencies": {
+ "string-width": "^1.0.1",
+ "strip-ansi": "^3.0.1",
+ "wrap-ansi": "^2.0.0"
+ }
+ },
+ "node_modules/module/node_modules/concat-stream": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.5.1.tgz",
+ "integrity": "sha1-87gKz54fSOOHXAaItBtsMWAu6hw=",
+ "engines": [
+ "node >= 0.8"
+ ],
+ "optional": true,
+ "dependencies": {
+ "inherits": "~2.0.1",
+ "readable-stream": "~2.0.0",
+ "typedarray": "~0.0.5"
+ }
+ },
+ "node_modules/module/node_modules/find-up": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
+ "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",
+ "optional": true,
+ "dependencies": {
+ "path-exists": "^2.0.0",
+ "pinkie-promise": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/module/node_modules/load-json-file": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
+ "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
+ "optional": true,
+ "dependencies": {
+ "graceful-fs": "^4.1.2",
+ "parse-json": "^2.2.0",
+ "pify": "^2.0.0",
+ "pinkie-promise": "^2.0.0",
+ "strip-bom": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/module/node_modules/os-locale": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
+ "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",
+ "optional": true,
+ "dependencies": {
+ "lcid": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/module/node_modules/path-exists": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
+ "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
+ "optional": true,
+ "dependencies": {
+ "pinkie-promise": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/module/node_modules/path-type": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
+ "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=",
+ "optional": true,
+ "dependencies": {
+ "graceful-fs": "^4.1.2",
+ "pify": "^2.0.0",
+ "pinkie-promise": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/module/node_modules/process-nextick-args": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz",
+ "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=",
+ "optional": true
+ },
+ "node_modules/module/node_modules/read-pkg": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
+ "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=",
+ "optional": true,
+ "dependencies": {
+ "load-json-file": "^1.0.0",
+ "normalize-package-data": "^2.3.2",
+ "path-type": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/module/node_modules/read-pkg-up": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",
+ "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=",
+ "optional": true,
+ "dependencies": {
+ "find-up": "^1.0.0",
+ "read-pkg": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/module/node_modules/readable-stream": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz",
+ "integrity": "sha1-j5A0HmilPMySh4jaz80Rs265t44=",
+ "optional": true,
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~1.0.6",
+ "string_decoder": "~0.10.x",
+ "util-deprecate": "~1.0.1"
+ }
+ },
+ "node_modules/module/node_modules/string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
+ "optional": true
+ },
+ "node_modules/module/node_modules/strip-bom": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
+ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
+ "optional": true,
+ "dependencies": {
+ "is-utf8": "^0.2.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/module/node_modules/supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/module/node_modules/yargs": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-4.6.0.tgz",
+ "integrity": "sha1-y0BQwBWb+2u2ScD0r1UFJqhGGdw=",
+ "optional": true,
+ "dependencies": {
+ "camelcase": "^2.0.1",
+ "cliui": "^3.2.0",
+ "decamelize": "^1.1.1",
+ "lodash.assign": "^4.0.3",
+ "os-locale": "^1.4.0",
+ "pkg-conf": "^1.1.2",
+ "read-pkg-up": "^1.0.1",
+ "require-main-filename": "^1.0.1",
+ "string-width": "^1.0.1",
+ "window-size": "^0.2.0",
+ "y18n": "^3.2.1",
+ "yargs-parser": "^2.4.0"
+ }
+ },
+ "node_modules/module/node_modules/yargs-parser": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-2.4.1.tgz",
+ "integrity": "sha1-hVaN488VD/SfpRgl8DqMiA3cxcQ=",
+ "optional": true,
+ "dependencies": {
+ "camelcase": "^3.0.0",
+ "lodash.assign": "^4.0.6"
+ }
+ },
+ "node_modules/module/node_modules/yargs-parser/node_modules/camelcase": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",
+ "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/move-concurrently": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz",
+ "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=",
+ "dependencies": {
+ "aproba": "^1.1.1",
+ "copy-concurrently": "^1.0.0",
+ "fs-write-stream-atomic": "^1.0.8",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.5.4",
+ "run-queue": "^1.0.3"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ },
+ "node_modules/multiaddr": {
+ "version": "8.1.2",
+ "resolved": "https://registry.npmjs.org/multiaddr/-/multiaddr-8.1.2.tgz",
+ "integrity": "sha512-r13IzW8+Sv9zab9Gt8RPMIN2WkptIPq99EpAzg4IbJ/zTELhiEwXWr9bAmEatSCI4j/LSA6ESJzvz95JZ+ZYXQ==",
+ "optional": true,
+ "dependencies": {
+ "cids": "^1.0.0",
+ "class-is": "^1.1.0",
+ "dns-over-http-resolver": "^1.0.0",
+ "err-code": "^2.0.3",
+ "is-ip": "^3.1.0",
+ "multibase": "^3.0.0",
+ "uint8arrays": "^1.1.0",
+ "varint": "^5.0.0"
+ }
+ },
+ "node_modules/multiaddr-to-uri": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/multiaddr-to-uri/-/multiaddr-to-uri-6.0.0.tgz",
+ "integrity": "sha512-OjpkVHOXEmIKMO8WChzzQ7aZQcSQX8squxmvtDbRpy7/QNmJ3Z7jv6qyD74C28QtaeNie8O8ngW2AkeiMmKP7A==",
+ "optional": true,
+ "dependencies": {
+ "multiaddr": "^8.0.0"
+ }
+ },
+ "node_modules/multiaddr/node_modules/err-code": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz",
+ "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==",
+ "optional": true
+ },
+ "node_modules/multiaddr/node_modules/uint8arrays": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz",
+ "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==",
+ "optional": true,
+ "dependencies": {
+ "multibase": "^3.0.0",
+ "web-encoding": "^1.0.2"
+ }
+ },
+ "node_modules/multiaddr/node_modules/varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
+ },
+ "node_modules/multibase": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-3.1.2.tgz",
+ "integrity": "sha512-bpklWHs70LO3smJUHOjcnzGceJJvn9ui0Vau6Za0B/GBepaXswmW8Ufea0uD9pROf/qCQ4N4lZ3sf3U+SNf0tw==",
+ "optional": true,
+ "dependencies": {
+ "@multiformats/base-x": "^4.0.1",
+ "web-encoding": "^1.0.6"
+ },
+ "engines": {
+ "node": ">=10.0.0",
+ "npm": ">=6.0.0"
+ }
+ },
+ "node_modules/multicodec": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-3.0.1.tgz",
+ "integrity": "sha512-Y6j3wiPojvkF/z6KFIGt84KdJdP2oILEdzc/3YbD3qQ3EerhqtYlfsZTPPNVoCCxNZZdzIpCKrdYFSav17sIrQ==",
+ "optional": true,
+ "dependencies": {
+ "uint8arrays": "^2.1.3",
+ "varint": "^5.0.2"
+ }
+ },
+ "node_modules/multicodec/node_modules/varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
+ },
+ "node_modules/multihashes": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-3.1.2.tgz",
+ "integrity": "sha512-AP4IoV/YzkNrfbQKZE3OMPibrmy350OmCd6cJkwyM8oExaXIlOY4UnOOVSQtAEuq/LR01XfXKCESidzZvSwHCQ==",
+ "optional": true,
+ "dependencies": {
+ "multibase": "^3.1.0",
+ "uint8arrays": "^2.0.5",
+ "varint": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10.0.0",
+ "npm": ">=6.0.0"
+ }
+ },
+ "node_modules/multihashing-async": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-2.1.2.tgz",
+ "integrity": "sha512-FTPNnWWxwIK5dXXmTFhySSF8Fkdqf7vzqpV09+RWsmfUhrsL/b3Arg3+bRrBnXTtjxm3JRGI3wSAtQHL0QCxhQ==",
+ "optional": true,
+ "dependencies": {
+ "blakejs": "^1.1.0",
+ "err-code": "^3.0.0",
+ "js-sha3": "^0.8.0",
+ "multihashes": "^4.0.1",
+ "murmurhash3js-revisited": "^3.0.0",
+ "uint8arrays": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=12.0.0",
+ "npm": ">=6.0.0"
+ }
+ },
+ "node_modules/multihashing-async/node_modules/err-code": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/err-code/-/err-code-3.0.1.tgz",
+ "integrity": "sha512-GiaH0KJUewYok+eeY05IIgjtAe4Yltygk9Wqp1V5yVWLdhf0hYZchRjNIT9bb0mSwRcIusT3cx7PJUf3zEIfUA==",
+ "optional": true
+ },
+ "node_modules/multihashing-async/node_modules/js-sha3": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz",
+ "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==",
+ "optional": true
+ },
+ "node_modules/multihashing-async/node_modules/multibase": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.4.tgz",
+ "integrity": "sha512-8/JmrdSGzlw6KTgAJCOqUBSGd1V6186i/X8dDCGy/lbCKrQ+1QB6f3HE+wPr7Tpdj4U3gutaj9jG2rNX6UpiJg==",
+ "optional": true,
+ "dependencies": {
+ "@multiformats/base-x": "^4.0.1"
+ },
+ "engines": {
+ "node": ">=12.0.0",
+ "npm": ">=6.0.0"
+ }
+ },
+ "node_modules/multihashing-async/node_modules/multihashes": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.2.tgz",
+ "integrity": "sha512-xpx++1iZr4ZQHjN1mcrXS6904R36LWLxX/CBifczjtmrtCXEX623DMWOF1eiNSg+pFpiZDFVBgou/4v6ayCHSQ==",
+ "optional": true,
+ "dependencies": {
+ "multibase": "^4.0.1",
+ "uint8arrays": "^2.1.3",
+ "varint": "^5.0.2"
+ },
+ "engines": {
+ "node": ">=12.0.0",
+ "npm": ">=6.0.0"
+ }
+ },
+ "node_modules/multihashing-async/node_modules/varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
+ },
+ "node_modules/murmurhash3js-revisited": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/murmurhash3js-revisited/-/murmurhash3js-revisited-3.0.0.tgz",
+ "integrity": "sha512-/sF3ee6zvScXMb1XFJ8gDsSnY+X8PbOyjIuBhtgis10W2Jx4ZjIhikUCIF9c4gpJxVnQIsPAFrSwTCuAjicP6g==",
+ "optional": true,
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/mute-stream": {
+ "version": "0.0.7",
+ "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz",
+ "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=",
+ "dev": true
+ },
+ "node_modules/nan": {
+ "version": "2.14.2",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz",
+ "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ=="
+ },
+ "node_modules/nano-json-stream-parser": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/nano-json-stream-parser/-/nano-json-stream-parser-0.1.2.tgz",
+ "integrity": "sha1-DMj20OK2IrR5xA1JnEbWS3Vcb18="
+ },
+ "node_modules/nanoid": {
+ "version": "3.1.22",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.22.tgz",
+ "integrity": "sha512-/2ZUaJX2ANuLtTvqTlgqBQNJoQO398KyJgZloL0PZkC0dpysjncRUPsFe3DUPzz/y3h+u7C46np8RMuvF3jsSQ==",
+ "optional": true,
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/nanomatch": {
+ "version": "1.2.13",
+ "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
+ "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==",
+ "dev": true,
+ "dependencies": {
+ "arr-diff": "^4.0.0",
+ "array-unique": "^0.3.2",
+ "define-property": "^2.0.2",
+ "extend-shallow": "^3.0.2",
+ "fragment-cache": "^0.2.1",
+ "is-windows": "^1.0.2",
+ "kind-of": "^6.0.2",
+ "object.pick": "^1.3.0",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/napi-build-utils": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz",
+ "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==",
+ "optional": true
+ },
+ "node_modules/napi-macros": {
+ "version": "1.8.2",
+ "resolved": "https://registry.npmjs.org/napi-macros/-/napi-macros-1.8.2.tgz",
+ "integrity": "sha512-Tr0DNY4RzTaBG2W2m3l7ZtFuJChTH6VZhXVhkGGjF/4cZTt+i8GcM9ozD+30Lmr4mDoZ5Xx34t2o4GJqYWDGcg==",
+ "optional": true
+ },
+ "node_modules/native-abort-controller": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/native-abort-controller/-/native-abort-controller-0.0.3.tgz",
+ "integrity": "sha512-YIxU5nWqSHG1Xbu3eOu3pdFRD882ivQpIcu6AiPVe2oSVoRbfYW63DVkZm3g1gHiMtZSvZzF6THSzTGEBYl8YA==",
+ "optional": true,
+ "dependencies": {
+ "globalthis": "^1.0.1"
+ },
+ "peerDependencies": {
+ "abort-controller": "*"
+ }
+ },
+ "node_modules/native-fetch": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/native-fetch/-/native-fetch-2.0.1.tgz",
+ "integrity": "sha512-gv4Bea+ga9QdXINurpkEqun3ap3vnB+WYoe4c8ddqUYEH7B2h6iD39RF8uVN7OwmSfMY3RDxkvBnoI4e2/vLXQ==",
+ "optional": true,
+ "dependencies": {
+ "globalthis": "^1.0.1"
+ },
+ "peerDependencies": {
+ "node-fetch": "*"
+ }
+ },
+ "node_modules/natural-compare": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
+ "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
+ "dev": true
+ },
+ "node_modules/needle": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/needle/-/needle-2.6.0.tgz",
+ "integrity": "sha512-KKYdza4heMsEfSWD7VPUIz3zX2XDwOyX2d+geb4vrERZMT5RMU6ujjaD+I5Yr54uZxQ2w6XRTAhHBbSCyovZBg==",
+ "optional": true,
+ "dependencies": {
+ "debug": "^3.2.6",
+ "iconv-lite": "^0.4.4",
+ "sax": "^1.2.4"
+ },
+ "bin": {
+ "needle": "bin/needle"
+ },
+ "engines": {
+ "node": ">= 4.4.x"
+ }
+ },
+ "node_modules/needle/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "optional": true,
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/needle/node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "optional": true
+ },
+ "node_modules/negotiator": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
+ "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/neo-async": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz",
+ "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw=="
+ },
+ "node_modules/nested-error-stacks": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/nested-error-stacks/-/nested-error-stacks-2.0.1.tgz",
+ "integrity": "sha512-SrQrok4CATudVzBS7coSz26QRSmlK9TzzoFbeKfcPBUFPjcQM9Rqvr/DlJkOrwI/0KcgvMub1n1g5Jt9EgRn4A=="
+ },
+ "node_modules/next-tick": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz",
+ "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw="
+ },
+ "node_modules/nice-try": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
+ "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
+ "dev": true
+ },
+ "node_modules/no-case": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz",
+ "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==",
+ "dependencies": {
+ "lower-case": "^1.1.1"
+ }
+ },
+ "node_modules/node-abi": {
+ "version": "2.18.0",
+ "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.18.0.tgz",
+ "integrity": "sha512-yi05ZoiuNNEbyT/xXfSySZE+yVnQW6fxPZuFbLyS1s6b5Kw3HzV2PHOM4XR+nsjzkHxByK+2Wg+yCQbe35l8dw==",
+ "optional": true,
+ "dependencies": {
+ "semver": "^5.4.1"
+ }
+ },
+ "node_modules/node-addon-api": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz",
+ "integrity": "sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA=="
+ },
+ "node_modules/node-alias": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/node-alias/-/node-alias-1.0.4.tgz",
+ "integrity": "sha1-HxuRa1a56iQcATX5fO1pQPVW8pI=",
+ "dependencies": {
+ "chalk": "^1.1.1",
+ "lodash": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/node-alias/node_modules/ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/node-alias/node_modules/chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
+ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "dependencies": {
+ "ansi-styles": "^2.2.1",
+ "escape-string-regexp": "^1.0.2",
+ "has-ansi": "^2.0.0",
+ "strip-ansi": "^3.0.0",
+ "supports-color": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/node-alias/node_modules/supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/node-emoji": {
+ "version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.10.0.tgz",
+ "integrity": "sha512-Yt3384If5H6BYGVHiHwTL+99OzJKHhgp82S8/dktEK73T26BazdgZ4JZh92xSVtGNJvz9UbXdNAc5hcrXV42vw==",
+ "dev": true,
+ "dependencies": {
+ "lodash.toarray": "^4.4.0"
+ }
+ },
+ "node_modules/node-fetch": {
+ "version": "1.7.3",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",
+ "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==",
+ "dependencies": {
+ "encoding": "^0.1.11",
+ "is-stream": "^1.0.1"
+ }
+ },
+ "node_modules/node-fetch-npm": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz",
+ "integrity": "sha512-nJIxm1QmAj4v3nfCvEeCrYSoVwXyxLnaPBK5W1W5DGEJwjlKuC2VEUycGw5oxk+4zZahRrB84PUJJgEmhFTDFw==",
+ "dependencies": {
+ "encoding": "^0.1.11",
+ "json-parse-better-errors": "^1.0.0",
+ "safe-buffer": "^5.1.1"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/node-forge": {
+ "version": "0.10.0",
+ "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz",
+ "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==",
+ "optional": true,
+ "engines": {
+ "node": ">= 6.0.0"
+ }
+ },
+ "node_modules/node-gyp-build": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.3.tgz",
+ "integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg==",
+ "bin": {
+ "node-gyp-build": "bin.js",
+ "node-gyp-build-optional": "optional.js",
+ "node-gyp-build-test": "build-test.js"
+ }
+ },
+ "node_modules/node-hid": {
+ "version": "0.7.9",
+ "resolved": "https://registry.npmjs.org/node-hid/-/node-hid-0.7.9.tgz",
+ "integrity": "sha512-vJnonTqmq3frCyTumJqG4g2IZcny3ynkfmbfDfQ90P3ZhRzcWYS/Um1ux6HFmAxmkaQnrZqIYHcGpL7kdqY8jA==",
+ "optional": true,
+ "dependencies": {
+ "bindings": "^1.5.0",
+ "nan": "^2.13.2",
+ "prebuild-install": "^5.3.0"
+ },
+ "bin": {
+ "hid-showdevices": "src/show-devices.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/node-int64": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
+ "integrity": "sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=",
+ "optional": true
+ },
+ "node_modules/node-interval-tree": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/node-interval-tree/-/node-interval-tree-1.3.3.tgz",
+ "integrity": "sha512-K9vk96HdTK5fEipJwxSvIIqwTqr4e3HRJeJrNxBSeVMNSC/JWARRaX7etOLOuTmrRMeOI/K5TCJu3aWIwZiNTw==",
+ "dependencies": {
+ "shallowequal": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 7.6.0"
+ }
+ },
+ "node_modules/node-pre-gyp": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.11.0.tgz",
+ "integrity": "sha512-TwWAOZb0j7e9eGaf9esRx3ZcLaE5tQ2lvYy1pb5IAaG1a2e2Kv5Lms1Y4hpj+ciXJRofIxxlt5haeQ/2ANeE0Q==",
+ "deprecated": "Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future",
+ "optional": true,
+ "dependencies": {
+ "detect-libc": "^1.0.2",
+ "mkdirp": "^0.5.1",
+ "needle": "^2.2.1",
+ "nopt": "^4.0.1",
+ "npm-packlist": "^1.1.6",
+ "npmlog": "^4.0.2",
+ "rc": "^1.2.7",
+ "rimraf": "^2.6.1",
+ "semver": "^5.3.0",
+ "tar": "^4"
+ },
+ "bin": {
+ "node-pre-gyp": "bin/node-pre-gyp"
+ }
+ },
+ "node_modules/node-pre-gyp/node_modules/nopt": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz",
+ "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==",
+ "optional": true,
+ "dependencies": {
+ "abbrev": "1",
+ "osenv": "^0.1.4"
+ },
+ "bin": {
+ "nopt": "bin/nopt.js"
+ }
+ },
+ "node_modules/node-releases": {
+ "version": "1.1.71",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.71.tgz",
+ "integrity": "sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==",
+ "optional": true
+ },
+ "node_modules/nodemon": {
+ "version": "1.18.10",
+ "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-1.18.10.tgz",
+ "integrity": "sha512-we51yBb1TfEvZamFchRgcfLbVYgg0xlGbyXmOtbBzDwxwgewYS/YbZ5tnlnsH51+AoSTTsT3A2E/FloUbtH8cQ==",
+ "dev": true,
+ "dependencies": {
+ "chokidar": "^2.1.0",
+ "debug": "^3.1.0",
+ "ignore-by-default": "^1.0.1",
+ "minimatch": "^3.0.4",
+ "pstree.remy": "^1.1.6",
+ "semver": "^5.5.0",
+ "supports-color": "^5.2.0",
+ "touch": "^3.1.0",
+ "undefsafe": "^2.0.2",
+ "update-notifier": "^2.5.0"
+ },
+ "bin": {
+ "nodemon": "bin/nodemon.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/nodemon/node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/nodemon/node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dev": true,
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/nofilter": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-1.0.4.tgz",
+ "integrity": "sha512-N8lidFp+fCz+TD51+haYdbDGrcBWwuHX40F5+z0qkUjMJ5Tp+rdSuAkMJ9N9eoolDlEVTf6u5icM+cNKkKW2mA==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/noop-fn": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/noop-fn/-/noop-fn-1.0.0.tgz",
+ "integrity": "sha1-XzPUfxPSFQ35PgywNmmemC94/78=",
+ "optional": true
+ },
+ "node_modules/noop-logger": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/noop-logger/-/noop-logger-0.1.1.tgz",
+ "integrity": "sha1-lKKxYzxPExdVMAfYlm/Q6EG2pMI=",
+ "optional": true
+ },
+ "node_modules/nopt": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz",
+ "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=",
+ "dev": true,
+ "dependencies": {
+ "abbrev": "1"
+ },
+ "bin": {
+ "nopt": "bin/nopt.js"
+ }
+ },
+ "node_modules/normalize-package-data": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
+ "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
+ "dependencies": {
+ "hosted-git-info": "^2.1.4",
+ "resolve": "^1.10.0",
+ "semver": "2 || 3 || 4 || 5",
+ "validate-npm-package-license": "^3.0.1"
+ }
+ },
+ "node_modules/normalize-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/normalize-url": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.3.0.tgz",
+ "integrity": "sha512-0NLtR71o4k6GLP+mr6Ty34c5GA6CMoEsncKJxvQd8NzPxaHRJNnb5gZE8R1XF4CPIS7QPHLJ74IFszwtNVAHVQ==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/npm-bundled": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.6.tgz",
+ "integrity": "sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g=="
+ },
+ "node_modules/npm-check-updates": {
+ "version": "3.1.20",
+ "resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-3.1.20.tgz",
+ "integrity": "sha512-mc9BAoOYSTwP/IvoA+ofdkWSipwRvhgC0qop1PvlMZojgzi7N/dykdxOIWrw0OlZPnEKvXkKFEuPk97LrvXE1A==",
+ "dependencies": {
+ "chalk": "^2.4.2",
+ "cint": "^8.2.1",
+ "cli-table": "^0.3.1",
+ "commander": "^2.20.0",
+ "fast-diff": "^1.2.0",
+ "find-up": "4.1.0",
+ "get-stdin": "^7.0.0",
+ "json-parse-helpfulerror": "^1.0.3",
+ "libnpmconfig": "^1.2.1",
+ "lodash": "^4.17.13",
+ "node-alias": "^1.0.4",
+ "pacote": "^9.5.1",
+ "progress": "^2.0.3",
+ "prompts": "^2.1.0",
+ "rc-config-loader": "^2.0.4",
+ "requireg": "^0.2.2",
+ "semver": "^6.2.0",
+ "semver-utils": "^1.1.4",
+ "spawn-please": "^0.3.0",
+ "update-notifier": "^3.0.1"
+ },
+ "bin": {
+ "ncu": "bin/ncu",
+ "npm-check-updates": "bin/npm-check-updates"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/ansi-align": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz",
+ "integrity": "sha512-ZpClVKqXN3RGBmKibdfWzqCY4lnjEuoNzU5T0oEFpfd/z5qJHVarukridD4juLO2FXMiwUQxr9WqQtaYa8XRYw==",
+ "dependencies": {
+ "string-width": "^3.0.0"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/boxen": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/boxen/-/boxen-3.2.0.tgz",
+ "integrity": "sha512-cU4J/+NodM3IHdSL2yN8bqYqnmlBTidDR4RC7nJs61ZmtGz8VZzM3HLQX0zY5mrSmPtR3xWwsq2jOUQqFZN8+A==",
+ "dependencies": {
+ "ansi-align": "^3.0.0",
+ "camelcase": "^5.3.1",
+ "chalk": "^2.4.2",
+ "cli-boxes": "^2.2.0",
+ "string-width": "^3.0.0",
+ "term-size": "^1.2.0",
+ "type-fest": "^0.3.0",
+ "widest-line": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/ci-info": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz",
+ "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ=="
+ },
+ "node_modules/npm-check-updates/node_modules/cli-boxes": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.0.tgz",
+ "integrity": "sha512-gpaBrMAizVEANOpfZp/EEUixTXDyGt7DFzdK5hU+UbWt/J0lB0w20ncZj59Z9a93xHb9u12zF5BS6i9RKbtg4w==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/commander": {
+ "version": "2.20.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz",
+ "integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ=="
+ },
+ "node_modules/npm-check-updates/node_modules/configstore": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/configstore/-/configstore-4.0.0.tgz",
+ "integrity": "sha512-CmquAXFBocrzaSM8mtGPMM/HiWmyIpr4CcJl/rgY2uCObZ/S7cKU0silxslqJejl+t/T9HS8E0PUNQD81JGUEQ==",
+ "dependencies": {
+ "dot-prop": "^4.1.0",
+ "graceful-fs": "^4.1.2",
+ "make-dir": "^1.0.0",
+ "unique-string": "^1.0.0",
+ "write-file-atomic": "^2.0.0",
+ "xdg-basedir": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/get-stdin": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz",
+ "integrity": "sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/get-stream": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
+ "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
+ "dependencies": {
+ "pump": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/got": {
+ "version": "9.6.0",
+ "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz",
+ "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==",
+ "dependencies": {
+ "@sindresorhus/is": "^0.14.0",
+ "@szmarczak/http-timer": "^1.1.2",
+ "cacheable-request": "^6.0.0",
+ "decompress-response": "^3.3.0",
+ "duplexer3": "^0.1.4",
+ "get-stream": "^4.1.0",
+ "lowercase-keys": "^1.0.1",
+ "mimic-response": "^1.0.1",
+ "p-cancelable": "^1.0.0",
+ "to-readable-stream": "^1.0.0",
+ "url-parse-lax": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/is-ci": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz",
+ "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==",
+ "dependencies": {
+ "ci-info": "^2.0.0"
+ },
+ "bin": {
+ "is-ci": "bin.js"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/is-npm": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-3.0.0.tgz",
+ "integrity": "sha512-wsigDr1Kkschp2opC4G3yA6r9EgVA6NjRpWzIi9axXqeIaAATPRJc4uLujXe3Nd9uO8KoDyA4MD6aZSeXTADhA==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/latest-version": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz",
+ "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==",
+ "dependencies": {
+ "package-json": "^6.3.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/package-json": {
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.4.0.tgz",
+ "integrity": "sha512-bd1T8OBG7hcvMd9c/udgv6u5v9wISP3Oyl9Cm7Weop8EFwrtcQDnS2sb6zhwqus2WslSr5wSTIPiTTpxxmPm7Q==",
+ "dependencies": {
+ "got": "^9.6.0",
+ "registry-auth-token": "^3.4.0",
+ "registry-url": "^5.0.0",
+ "semver": "^6.1.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/prepend-http": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
+ "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/pump": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/registry-url": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz",
+ "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==",
+ "dependencies": {
+ "rc": "^1.2.8"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/semver": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.2.0.tgz",
+ "integrity": "sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A==",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/string-width": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
+ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
+ "dependencies": {
+ "emoji-regex": "^7.0.1",
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "dependencies": {
+ "ansi-regex": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/update-notifier": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-3.0.1.tgz",
+ "integrity": "sha512-grrmrB6Zb8DUiyDIaeRTBCkgISYUgETNe7NglEbVsrLWXeESnlCSP50WfRSj/GmzMPl6Uchj24S/p80nP/ZQrQ==",
+ "dependencies": {
+ "boxen": "^3.0.0",
+ "chalk": "^2.0.1",
+ "configstore": "^4.0.0",
+ "has-yarn": "^2.1.0",
+ "import-lazy": "^2.1.0",
+ "is-ci": "^2.0.0",
+ "is-installed-globally": "^0.1.0",
+ "is-npm": "^3.0.0",
+ "is-yarn-global": "^0.3.0",
+ "latest-version": "^5.0.0",
+ "semver-diff": "^2.0.0",
+ "xdg-basedir": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/npm-check-updates/node_modules/url-parse-lax": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz",
+ "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=",
+ "dependencies": {
+ "prepend-http": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/npm-package-arg": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-6.1.0.tgz",
+ "integrity": "sha512-zYbhP2k9DbJhA0Z3HKUePUgdB1x7MfIfKssC+WLPFMKTBZKpZh5m13PgexJjCq6KW7j17r0jHWcCpxEqnnncSA==",
+ "dependencies": {
+ "hosted-git-info": "^2.6.0",
+ "osenv": "^0.1.5",
+ "semver": "^5.5.0",
+ "validate-npm-package-name": "^3.0.0"
+ }
+ },
+ "node_modules/npm-packlist": {
+ "version": "1.4.4",
+ "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.4.tgz",
+ "integrity": "sha512-zTLo8UcVYtDU3gdeaFu2Xu0n0EvelfHDGuqtNIn5RO7yQj4H1TqNdBc/yZjxnWA0PVB8D3Woyp0i5B43JwQ6Vw==",
+ "dependencies": {
+ "ignore-walk": "^3.0.1",
+ "npm-bundled": "^1.0.1"
+ }
+ },
+ "node_modules/npm-pick-manifest": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-2.2.3.tgz",
+ "integrity": "sha512-+IluBC5K201+gRU85vFlUwX3PFShZAbAgDNp2ewJdWMVSppdo/Zih0ul2Ecky/X7b51J7LrrUAP+XOmOCvYZqA==",
+ "dependencies": {
+ "figgy-pudding": "^3.5.1",
+ "npm-package-arg": "^6.0.0",
+ "semver": "^5.4.1"
+ }
+ },
+ "node_modules/npm-registry-fetch": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-4.0.5.tgz",
+ "integrity": "sha512-yQ0/U4fYpCCqmueB2g8sc+89ckQ3eXpmU4+Yi2j5o/r0WkKvE2+Y0tK3DEILAtn2UaQTkjTHxIXe2/CSdit+/Q==",
+ "dependencies": {
+ "bluebird": "^3.5.1",
+ "figgy-pudding": "^3.4.1",
+ "JSONStream": "^1.3.4",
+ "lru-cache": "^5.1.1",
+ "make-fetch-happen": "^5.0.0",
+ "npm-package-arg": "^6.1.0",
+ "safe-buffer": "^5.2.0"
+ }
+ },
+ "node_modules/npm-registry-fetch/node_modules/lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "dependencies": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "node_modules/npm-registry-fetch/node_modules/safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
+ },
+ "node_modules/npm-registry-fetch/node_modules/yallist": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
+ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="
+ },
+ "node_modules/npm-run-path": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
+ "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=",
+ "dependencies": {
+ "path-key": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/npmlog": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz",
+ "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",
+ "optional": true,
+ "dependencies": {
+ "are-we-there-yet": "~1.1.2",
+ "console-control-strings": "~1.1.0",
+ "gauge": "~2.7.3",
+ "set-blocking": "~2.0.0"
+ }
+ },
+ "node_modules/nth-check": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",
+ "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==",
+ "dependencies": {
+ "boolbase": "~1.0.0"
+ }
+ },
+ "node_modules/nullthrows": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/nullthrows/-/nullthrows-1.1.1.tgz",
+ "integrity": "sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==",
+ "optional": true
+ },
+ "node_modules/number-is-nan": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
+ "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/number-to-bn": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/number-to-bn/-/number-to-bn-1.7.0.tgz",
+ "integrity": "sha1-uzYjWS9+X54AMLGXe9QaDFP+HqA=",
+ "dependencies": {
+ "bn.js": "4.11.6",
+ "strip-hex-prefix": "1.0.0"
+ },
+ "engines": {
+ "node": ">=6.5.0",
+ "npm": ">=3"
+ }
+ },
+ "node_modules/number-to-bn/node_modules/bn.js": {
+ "version": "4.11.6",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz",
+ "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU="
+ },
+ "node_modules/nwmatcher": {
+ "version": "1.4.4",
+ "resolved": "https://registry.npmjs.org/nwmatcher/-/nwmatcher-1.4.4.tgz",
+ "integrity": "sha512-3iuY4N5dhgMpCUrOVnuAdGrgxVqV2cJpM+XNccjR2DKOB1RUP0aA+wGXEiNziG/UKboFyGBIoKOaNlJxx8bciQ==",
+ "optional": true
+ },
+ "node_modules/oauth-sign": {
+ "version": "0.9.0",
+ "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
+ "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object-copy": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz",
+ "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=",
+ "dev": true,
+ "dependencies": {
+ "copy-descriptor": "^0.1.0",
+ "define-property": "^0.2.5",
+ "kind-of": "^3.0.3"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object-copy/node_modules/define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "dev": true,
+ "dependencies": {
+ "is-descriptor": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object-copy/node_modules/kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "dev": true,
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object-inspect": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz",
+ "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw=="
+ },
+ "node_modules/object-is": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.2.tgz",
+ "integrity": "sha512-5lHCz+0uufF6wZ7CRFWJN3hp8Jqblpgve06U5CMQ3f//6iDjPr2PEo9MWCjEssDsa+UZEL4PkFpr+BMop6aKzQ==",
+ "dependencies": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.5"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object-path": {
+ "version": "0.11.5",
+ "resolved": "https://registry.npmjs.org/object-path/-/object-path-0.11.5.tgz",
+ "integrity": "sha512-jgSbThcoR/s+XumvGMTMf81QVBmah+/Q7K7YduKeKVWL7N111unR2d6pZZarSk6kY/caeNxUDyxOvMWyzoU2eg==",
+ "optional": true,
+ "engines": {
+ "node": ">= 10.12.0"
+ }
+ },
+ "node_modules/object-visit": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz",
+ "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=",
+ "dev": true,
+ "dependencies": {
+ "isobject": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object.assign": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",
+ "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",
+ "dependencies": {
+ "define-properties": "^1.1.2",
+ "function-bind": "^1.1.1",
+ "has-symbols": "^1.0.0",
+ "object-keys": "^1.0.11"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object.entries": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.0.tgz",
+ "integrity": "sha512-l+H6EQ8qzGRxbkHOd5I/aHRhHDKoQXQ8g0BYt4uSweQU1/J6dZUOyWh9a2Vky35YCKjzmgxOzta2hH6kf9HuXA==",
+ "dev": true,
+ "dependencies": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.12.0",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object.getownpropertydescriptors": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.2.tgz",
+ "integrity": "sha512-WtxeKSzfBjlzL+F9b7M7hewDzMwy+C8NRssHd1YrNlzHzIDrXcXiNOMrezdAEM4UXixgV+vvnyBeN7Rygl2ttQ==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.2"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.omit": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz",
+ "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=",
+ "optional": true,
+ "dependencies": {
+ "for-own": "^0.1.4",
+ "is-extendable": "^0.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object.pick": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
+ "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=",
+ "dev": true,
+ "dependencies": {
+ "isobject": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object.values": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.0.tgz",
+ "integrity": "sha512-8mf0nKLAoFX6VlNVdhGj31SVYpaNFtUnuoOXWyFEstsWRgU837AK+JYM0iAxwkSzGRbwn8cbFmgbyxj1j4VbXg==",
+ "dev": true,
+ "dependencies": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.12.0",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/oboe": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/oboe/-/oboe-2.1.5.tgz",
+ "integrity": "sha1-VVQoTFQ6ImbXo48X4HOCH73jk80=",
+ "dependencies": {
+ "http-https": "^1.0.0"
+ }
+ },
+ "node_modules/on-finished": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
+ "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
+ "dependencies": {
+ "ee-first": "1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/onetime": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
+ "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",
+ "devOptional": true,
+ "dependencies": {
+ "mimic-fn": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/opencollective-postinstall": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz",
+ "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==",
+ "optional": true,
+ "bin": {
+ "opencollective-postinstall": "index.js"
+ }
+ },
+ "node_modules/openzeppelin-solidity": {
+ "version": "1.12.0",
+ "resolved": "https://registry.npmjs.org/openzeppelin-solidity/-/openzeppelin-solidity-1.12.0.tgz",
+ "integrity": "sha512-WlorzMXIIurugiSdw121RVD5qA3EfSI7GybTn+/Du0mPNgairjt29NpVTAaH8eLjAeAwlw46y7uQKy0NYem/gA=="
+ },
+ "node_modules/optimism": {
+ "version": "0.15.0",
+ "resolved": "https://registry.npmjs.org/optimism/-/optimism-0.15.0.tgz",
+ "integrity": "sha512-KLKl3Kb7hH++s9ewRcBhmfpXgXF0xQ+JZ3xQFuPjnoT6ib2TDmYyVkKENmGxivsN2G3VRxpXuauCkB4GYOhtPw==",
+ "optional": true,
+ "dependencies": {
+ "@wry/context": "^0.6.0",
+ "@wry/trie": "^0.3.0"
+ }
+ },
+ "node_modules/optimist": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
+ "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
+ "dependencies": {
+ "minimist": "~0.0.1",
+ "wordwrap": "~0.0.2"
+ }
+ },
+ "node_modules/optimist/node_modules/wordwrap": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
+ "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=",
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/optionator": {
+ "version": "0.8.2",
+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz",
+ "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=",
+ "dependencies": {
+ "deep-is": "~0.1.3",
+ "fast-levenshtein": "~2.0.4",
+ "levn": "~0.3.0",
+ "prelude-ls": "~1.1.2",
+ "type-check": "~0.3.2",
+ "wordwrap": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/ora": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/ora/-/ora-3.4.0.tgz",
+ "integrity": "sha512-eNwHudNbO1folBP3JsZ19v9azXWtQZjICdr3Q0TDPIaeBQ3mXLrh54wM+er0+hSp+dWKf+Z8KM58CYzEyIYxYg==",
+ "optional": true,
+ "dependencies": {
+ "chalk": "^2.4.2",
+ "cli-cursor": "^2.1.0",
+ "cli-spinners": "^2.0.0",
+ "log-symbols": "^2.2.0",
+ "strip-ansi": "^5.2.0",
+ "wcwidth": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ora/node_modules/ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "optional": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ora/node_modules/strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "optional": true,
+ "dependencies": {
+ "ansi-regex": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ordered-read-streams": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/ordered-read-streams/-/ordered-read-streams-0.3.0.tgz",
+ "integrity": "sha1-cTfmmzKYuzQiR6G77jiByA4v14s=",
+ "optional": true,
+ "dependencies": {
+ "is-stream": "^1.0.1",
+ "readable-stream": "^2.0.1"
+ }
+ },
+ "node_modules/original": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz",
+ "integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==",
+ "optional": true,
+ "dependencies": {
+ "url-parse": "^1.4.3"
+ }
+ },
+ "node_modules/original-require": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/original-require/-/original-require-1.0.1.tgz",
+ "integrity": "sha1-DxMEcVhM0zURxew4yNWSE/msXiA="
+ },
+ "node_modules/os-homedir": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
+ "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/os-locale": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz",
+ "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==",
+ "dependencies": {
+ "execa": "^0.7.0",
+ "lcid": "^1.0.0",
+ "mem": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/os-tmpdir": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
+ "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/osenv": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
+ "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
+ "dependencies": {
+ "os-homedir": "^1.0.0",
+ "os-tmpdir": "^1.0.0"
+ }
+ },
+ "node_modules/p-cancelable": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
+ "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/p-defer": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-3.0.0.tgz",
+ "integrity": "sha512-ugZxsxmtTln604yeYd29EGrNhazN2lywetzpKhfmQjW/VJmhpDmWbiX+h0zL8V91R0UXkhb3KtPmyq9PZw3aYw==",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/p-fifo": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/p-fifo/-/p-fifo-1.0.0.tgz",
+ "integrity": "sha512-IjoCxXW48tqdtDFz6fqo5q1UfFVjjVZe8TC1QRflvNUJtNfCUhxOUw6MOVZhDPjqhSzc26xKdugsO17gmzd5+A==",
+ "optional": true,
+ "dependencies": {
+ "fast-fifo": "^1.0.0",
+ "p-defer": "^3.0.0"
+ }
+ },
+ "node_modules/p-finally": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
+ "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/p-limit": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
+ "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
+ "dependencies": {
+ "p-try": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz",
+ "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
+ "dependencies": {
+ "p-limit": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/p-timeout": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-1.2.1.tgz",
+ "integrity": "sha1-XrOzU7f86Z8QGhA4iAuwVOu+o4Y=",
+ "dependencies": {
+ "p-finally": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/p-try": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",
+ "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/package-json": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz",
+ "integrity": "sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0=",
+ "dev": true,
+ "dependencies": {
+ "got": "^6.7.1",
+ "registry-auth-token": "^3.0.1",
+ "registry-url": "^3.0.3",
+ "semver": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/pacote": {
+ "version": "9.5.4",
+ "resolved": "https://registry.npmjs.org/pacote/-/pacote-9.5.4.tgz",
+ "integrity": "sha512-nWr0ari6E+apbdoN0hToTKZElO5h4y8DGFa2pyNA5GQIdcP0imC96bA0bbPw1gpeguVIiUgHHaAlq/6xfPp8Qw==",
+ "dependencies": {
+ "bluebird": "^3.5.3",
+ "cacache": "^12.0.0",
+ "figgy-pudding": "^3.5.1",
+ "get-stream": "^4.1.0",
+ "glob": "^7.1.3",
+ "lru-cache": "^5.1.1",
+ "make-fetch-happen": "^5.0.0",
+ "minimatch": "^3.0.4",
+ "minipass": "^2.3.5",
+ "mississippi": "^3.0.0",
+ "mkdirp": "^0.5.1",
+ "normalize-package-data": "^2.4.0",
+ "npm-package-arg": "^6.1.0",
+ "npm-packlist": "^1.1.12",
+ "npm-pick-manifest": "^2.2.3",
+ "npm-registry-fetch": "^4.0.0",
+ "osenv": "^0.1.5",
+ "promise-inflight": "^1.0.1",
+ "promise-retry": "^1.1.1",
+ "protoduck": "^5.0.1",
+ "rimraf": "^2.6.2",
+ "safe-buffer": "^5.1.2",
+ "semver": "^5.6.0",
+ "ssri": "^6.0.1",
+ "tar": "^4.4.8",
+ "unique-filename": "^1.1.1",
+ "which": "^1.3.1"
+ }
+ },
+ "node_modules/pacote/node_modules/get-stream": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
+ "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
+ "dependencies": {
+ "pump": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pacote/node_modules/glob": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
+ "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/pacote/node_modules/lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "dependencies": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "node_modules/pacote/node_modules/pump": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "node_modules/pacote/node_modules/yallist": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",
+ "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A=="
+ },
+ "node_modules/parallel-transform": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.1.0.tgz",
+ "integrity": "sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY=",
+ "dependencies": {
+ "cyclist": "~0.2.2",
+ "inherits": "^2.0.3",
+ "readable-stream": "^2.1.5"
+ }
+ },
+ "node_modules/param-case": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz",
+ "integrity": "sha1-35T9jPZTHs915r75oIWPvHK+Ikc=",
+ "dependencies": {
+ "no-case": "^2.2.0"
+ }
+ },
+ "node_modules/paramap-it": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/paramap-it/-/paramap-it-0.1.1.tgz",
+ "integrity": "sha512-3uZmCAN3xCw7Am/4ikGzjjR59aNMJVXGSU7CjG2Z6DfOAdhnLdCOd0S0m1sTkN4ov9QhlE3/jkzyu953hq0uwQ==",
+ "optional": true,
+ "dependencies": {
+ "event-iterator": "^1.0.0"
+ }
+ },
+ "node_modules/paramap-it/node_modules/event-iterator": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/event-iterator/-/event-iterator-1.2.0.tgz",
+ "integrity": "sha512-Daq7YUl0Mv1i4QEgzGQlz0jrx7hUFNyLGbiF+Ap7NCMCjDLCCnolyj6s0TAc6HmrBziO5rNVHsPwGMp7KdRPvw==",
+ "optional": true
+ },
+ "node_modules/parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "dev": true,
+ "dependencies": {
+ "callsites": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/parse-asn1": {
+ "version": "5.1.6",
+ "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz",
+ "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==",
+ "dependencies": {
+ "asn1.js": "^5.2.0",
+ "browserify-aes": "^1.0.0",
+ "evp_bytestokey": "^1.0.0",
+ "pbkdf2": "^3.0.3",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "node_modules/parse-cache-control": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz",
+ "integrity": "sha1-juqz5U+laSD+Fro493+iGqzC104=",
+ "dev": true
+ },
+ "node_modules/parse-code-context": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/parse-code-context/-/parse-code-context-1.0.0.tgz",
+ "integrity": "sha512-OZQaqKaQnR21iqhlnPfVisFjBWjhnMl5J9MgbP8xC+EwoVqbXrq78lp+9Zb3ahmLzrIX5Us/qbvBnaS3hkH6OA==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/parse-duration": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/parse-duration/-/parse-duration-0.4.4.tgz",
+ "integrity": "sha512-KbAJuYGUhZkB9gotDiKLnZ7Z3VTacK3fgwmDdB6ZVDtJbMBT6MfLga0WJaYpPDu0mzqT0NgHtHDt5PY4l0nidg==",
+ "optional": true
+ },
+ "node_modules/parse-glob": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz",
+ "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=",
+ "optional": true,
+ "dependencies": {
+ "glob-base": "^0.3.0",
+ "is-dotfile": "^1.0.0",
+ "is-extglob": "^1.0.0",
+ "is-glob": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/parse-glob/node_modules/is-extglob": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
+ "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/parse-glob/node_modules/is-glob": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
+ "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
+ "optional": true,
+ "dependencies": {
+ "is-extglob": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/parse-headers": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.2.tgz",
+ "integrity": "sha512-/LypJhzFmyBIDYP9aDVgeyEb5sQfbfY5mnDq4hVhlQ69js87wXfmEI5V3xI6vvXasqebp0oCytYFLxsBVfCzSg==",
+ "dependencies": {
+ "for-each": "^0.3.3",
+ "string.prototype.trim": "^1.1.2"
+ }
+ },
+ "node_modules/parse-json": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
+ "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
+ "devOptional": true,
+ "dependencies": {
+ "error-ex": "^1.2.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/parse5": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz",
+ "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/parseurl": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/pascal-case": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-2.0.1.tgz",
+ "integrity": "sha1-LVeNNFX2YNpl7KGO+VtODekSdh4=",
+ "dependencies": {
+ "camel-case": "^3.0.0",
+ "upper-case-first": "^1.1.0"
+ }
+ },
+ "node_modules/pascalcase": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",
+ "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/path-case": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/path-case/-/path-case-2.1.1.tgz",
+ "integrity": "sha1-lLgDfDctP+KQbkZbtF4l0ibo7qU=",
+ "dependencies": {
+ "no-case": "^2.2.0"
+ }
+ },
+ "node_modules/path-dirname": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz",
+ "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=",
+ "devOptional": true
+ },
+ "node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-is-absolute": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/path-is-inside": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz",
+ "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM="
+ },
+ "node_modules/path-key": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
+ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/path-parse": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
+ "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
+ },
+ "node_modules/path-to-regexp": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
+ "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
+ },
+ "node_modules/path-type": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz",
+ "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=",
+ "dev": true,
+ "dependencies": {
+ "pify": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/pathval": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.0.tgz",
+ "integrity": "sha1-uULm1L3mUwBe9rcTYd74cn0GReA=",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/pbkdf2": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz",
+ "integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==",
+ "dependencies": {
+ "create-hash": "^1.1.2",
+ "create-hmac": "^1.1.4",
+ "ripemd160": "^2.0.1",
+ "safe-buffer": "^5.0.1",
+ "sha.js": "^2.4.8"
+ },
+ "engines": {
+ "node": ">=0.12"
+ }
+ },
+ "node_modules/peer-id": {
+ "version": "0.14.8",
+ "resolved": "https://registry.npmjs.org/peer-id/-/peer-id-0.14.8.tgz",
+ "integrity": "sha512-GpuLpob/9FrEFvyZrKKsISEkaBYsON2u0WtiawLHj1ii6ewkoeRiSDFLyIefYhw0jGvQoeoZS05jaT52X7Bvig==",
+ "optional": true,
+ "dependencies": {
+ "cids": "^1.1.5",
+ "class-is": "^1.1.0",
+ "libp2p-crypto": "^0.19.0",
+ "minimist": "^1.2.5",
+ "multihashes": "^4.0.2",
+ "protobufjs": "^6.10.2",
+ "uint8arrays": "^2.0.5"
+ },
+ "bin": {
+ "peer-id": "src/bin.js"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/peer-id/node_modules/minimist": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
+ "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
+ "optional": true
+ },
+ "node_modules/peer-id/node_modules/multibase": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.4.tgz",
+ "integrity": "sha512-8/JmrdSGzlw6KTgAJCOqUBSGd1V6186i/X8dDCGy/lbCKrQ+1QB6f3HE+wPr7Tpdj4U3gutaj9jG2rNX6UpiJg==",
+ "optional": true,
+ "dependencies": {
+ "@multiformats/base-x": "^4.0.1"
+ },
+ "engines": {
+ "node": ">=12.0.0",
+ "npm": ">=6.0.0"
+ }
+ },
+ "node_modules/peer-id/node_modules/multihashes": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.2.tgz",
+ "integrity": "sha512-xpx++1iZr4ZQHjN1mcrXS6904R36LWLxX/CBifczjtmrtCXEX623DMWOF1eiNSg+pFpiZDFVBgou/4v6ayCHSQ==",
+ "optional": true,
+ "dependencies": {
+ "multibase": "^4.0.1",
+ "uint8arrays": "^2.1.3",
+ "varint": "^5.0.2"
+ },
+ "engines": {
+ "node": ">=12.0.0",
+ "npm": ">=6.0.0"
+ }
+ },
+ "node_modules/peer-id/node_modules/varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
+ },
+ "node_modules/pem-jwk": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/pem-jwk/-/pem-jwk-2.0.0.tgz",
+ "integrity": "sha512-rFxu7rVoHgQ5H9YsP50dDWf0rHjreVA2z0yPiWr5WdH/UHb29hKtF7h6l8vNd1cbYR1t0QL+JKhW55a2ZV4KtA==",
+ "optional": true,
+ "dependencies": {
+ "asn1.js": "^5.0.1"
+ },
+ "bin": {
+ "pem-jwk": "bin/pem-jwk.js"
+ },
+ "engines": {
+ "node": ">=5.10.0"
+ }
+ },
+ "node_modules/performance-now": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
+ "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
+ },
+ "node_modules/picomatch": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz",
+ "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/pinkie": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",
+ "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/pinkie-promise": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",
+ "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=",
+ "dependencies": {
+ "pinkie": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/pkg-conf": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-1.1.3.tgz",
+ "integrity": "sha1-N45W1v0T6Iv7b0ol33qD+qvduls=",
+ "optional": true,
+ "dependencies": {
+ "find-up": "^1.0.0",
+ "load-json-file": "^1.1.0",
+ "object-assign": "^4.0.1",
+ "symbol": "^0.2.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/pkg-conf/node_modules/find-up": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
+ "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",
+ "optional": true,
+ "dependencies": {
+ "path-exists": "^2.0.0",
+ "pinkie-promise": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/pkg-conf/node_modules/load-json-file": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
+ "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
+ "optional": true,
+ "dependencies": {
+ "graceful-fs": "^4.1.2",
+ "parse-json": "^2.2.0",
+ "pify": "^2.0.0",
+ "pinkie-promise": "^2.0.0",
+ "strip-bom": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/pkg-conf/node_modules/path-exists": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
+ "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
+ "optional": true,
+ "dependencies": {
+ "pinkie-promise": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/pkg-conf/node_modules/strip-bom": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
+ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
+ "optional": true,
+ "dependencies": {
+ "is-utf8": "^0.2.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/pkg-dir": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz",
+ "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=",
+ "dev": true,
+ "dependencies": {
+ "find-up": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/pkg-dir/node_modules/find-up": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
+ "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
+ "dev": true,
+ "dependencies": {
+ "locate-path": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/pluralize": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz",
+ "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/popper.js": {
+ "version": "1.14.3",
+ "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.14.3.tgz",
+ "integrity": "sha1-FDj5jQRqz3tNeM1QK/QYrGTU8JU="
+ },
+ "node_modules/posix-character-classes": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",
+ "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/pouchdb": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/pouchdb/-/pouchdb-7.1.1.tgz",
+ "integrity": "sha512-8bXWclixNJZqokvxGHRsG19zehSJiaZaz4dVYlhXhhUctz7gMcNTElHjPBzBdZlKKvt9aFDndmXN1VVE53Co8g==",
+ "optional": true,
+ "dependencies": {
+ "argsarray": "0.0.1",
+ "buffer-from": "1.1.0",
+ "clone-buffer": "1.0.0",
+ "double-ended-queue": "2.1.0-0",
+ "fetch-cookie": "0.7.0",
+ "immediate": "3.0.6",
+ "inherits": "2.0.3",
+ "level": "5.0.1",
+ "level-codec": "9.0.1",
+ "level-write-stream": "1.0.0",
+ "leveldown": "5.0.2",
+ "levelup": "4.0.2",
+ "ltgt": "2.2.1",
+ "node-fetch": "2.4.1",
+ "readable-stream": "1.0.33",
+ "spark-md5": "3.0.0",
+ "through2": "3.0.1",
+ "uuid": "3.2.1",
+ "vuvuzela": "1.0.3"
+ }
+ },
+ "node_modules/pouchdb-abstract-mapreduce": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-abstract-mapreduce/-/pouchdb-abstract-mapreduce-7.2.2.tgz",
+ "integrity": "sha512-7HWN/2yV2JkwMnGnlp84lGvFtnm0Q55NiBUdbBcaT810+clCGKvhssBCrXnmwShD1SXTwT83aszsgiSfW+SnBA==",
+ "optional": true,
+ "dependencies": {
+ "pouchdb-binary-utils": "7.2.2",
+ "pouchdb-collate": "7.2.2",
+ "pouchdb-collections": "7.2.2",
+ "pouchdb-errors": "7.2.2",
+ "pouchdb-fetch": "7.2.2",
+ "pouchdb-mapreduce-utils": "7.2.2",
+ "pouchdb-md5": "7.2.2",
+ "pouchdb-utils": "7.2.2"
+ }
+ },
+ "node_modules/pouchdb-adapter-leveldb-core": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-adapter-leveldb-core/-/pouchdb-adapter-leveldb-core-7.2.2.tgz",
+ "integrity": "sha512-K9UGf1Ivwe87mjrMqN+1D07tO/DfU7ariVDrGffuOjvl+3BcvUF25IWrxsBObd4iPOYCH7NVQWRpojhBgxULtQ==",
+ "optional": true,
+ "dependencies": {
+ "argsarray": "0.0.1",
+ "buffer-from": "1.1.1",
+ "double-ended-queue": "2.1.0-0",
+ "levelup": "4.4.0",
+ "pouchdb-adapter-utils": "7.2.2",
+ "pouchdb-binary-utils": "7.2.2",
+ "pouchdb-collections": "7.2.2",
+ "pouchdb-errors": "7.2.2",
+ "pouchdb-json": "7.2.2",
+ "pouchdb-md5": "7.2.2",
+ "pouchdb-merge": "7.2.2",
+ "pouchdb-utils": "7.2.2",
+ "sublevel-pouchdb": "7.2.2",
+ "through2": "3.0.2"
+ }
+ },
+ "node_modules/pouchdb-adapter-leveldb-core/node_modules/abstract-leveldown": {
+ "version": "6.2.3",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.2.3.tgz",
+ "integrity": "sha512-BsLm5vFMRUrrLeCcRc+G0t2qOaTzpoJQLOubq2XM72eNpjF5UdU5o/5NvlNhx95XHcAvcl8OMXr4mlg/fRgUXQ==",
+ "optional": true,
+ "dependencies": {
+ "buffer": "^5.5.0",
+ "immediate": "^3.2.3",
+ "level-concat-iterator": "~2.0.0",
+ "level-supports": "~1.0.0",
+ "xtend": "~4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pouchdb-adapter-leveldb-core/node_modules/deferred-leveldown": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-5.3.0.tgz",
+ "integrity": "sha512-a59VOT+oDy7vtAbLRCZwWgxu2BaCfd5Hk7wxJd48ei7I+nsg8Orlb9CLG0PMZienk9BSUKgeAqkO2+Lw+1+Ukw==",
+ "optional": true,
+ "dependencies": {
+ "abstract-leveldown": "~6.2.1",
+ "inherits": "^2.0.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pouchdb-adapter-leveldb-core/node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "node_modules/pouchdb-adapter-leveldb-core/node_modules/level-errors": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-2.0.1.tgz",
+ "integrity": "sha512-UVprBJXite4gPS+3VznfgDSU8PTRuVX0NXwoWW50KLxd2yw4Y1t2JUR5In1itQnudZqRMT9DlAM3Q//9NCjCFw==",
+ "optional": true,
+ "dependencies": {
+ "errno": "~0.1.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pouchdb-adapter-leveldb-core/node_modules/level-iterator-stream": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-4.0.2.tgz",
+ "integrity": "sha512-ZSthfEqzGSOMWoUGhTXdX9jv26d32XJuHz/5YnuHZzH6wldfWMOVwI9TBtKcya4BKTyTt3XVA0A3cF3q5CY30Q==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.4.0",
+ "xtend": "^4.0.2"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pouchdb-adapter-leveldb-core/node_modules/levelup": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/levelup/-/levelup-4.4.0.tgz",
+ "integrity": "sha512-94++VFO3qN95cM/d6eBXvd894oJE0w3cInq9USsyQzzoJxmiYzPAocNcuGCPGGjoXqDVJcr3C1jzt1TSjyaiLQ==",
+ "optional": true,
+ "dependencies": {
+ "deferred-leveldown": "~5.3.0",
+ "level-errors": "~2.0.0",
+ "level-iterator-stream": "~4.0.0",
+ "level-supports": "~1.0.0",
+ "xtend": "~4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pouchdb-adapter-leveldb-core/node_modules/readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/pouchdb-adapter-leveldb-core/node_modules/through2": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz",
+ "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "^2.0.4",
+ "readable-stream": "2 || 3"
+ }
+ },
+ "node_modules/pouchdb-adapter-memory": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-adapter-memory/-/pouchdb-adapter-memory-7.2.2.tgz",
+ "integrity": "sha512-9o+zdItPEq7rIrxdkUxgsLNaZkDJAGEqqoYgeYdrHidOCZnlhxhX3g7/R/HcpDKC513iEPqJWDJQSfeT6nVKkw==",
+ "optional": true,
+ "dependencies": {
+ "memdown": "1.4.1",
+ "pouchdb-adapter-leveldb-core": "7.2.2",
+ "pouchdb-utils": "7.2.2"
+ }
+ },
+ "node_modules/pouchdb-adapter-node-websql": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-adapter-node-websql/-/pouchdb-adapter-node-websql-7.0.0.tgz",
+ "integrity": "sha512-fNaOMO8bvMrRTSfmH4RSLSpgnKahRcCA7Z0jg732PwRbGvvMdGbreZwvKPPD1fg2tm2ZwwiXWK2G3+oXyoqZYw==",
+ "optional": true,
+ "dependencies": {
+ "pouchdb-adapter-websql-core": "7.0.0",
+ "pouchdb-utils": "7.0.0",
+ "websql": "1.0.0"
+ }
+ },
+ "node_modules/pouchdb-adapter-node-websql/node_modules/buffer-from": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.0.tgz",
+ "integrity": "sha512-c5mRlguI/Pe2dSZmpER62rSCu0ryKmWddzRYsuXc50U2/g8jMOulc31VZMa4mYx31U5xsmSOpDCgH88Vl9cDGQ==",
+ "optional": true
+ },
+ "node_modules/pouchdb-adapter-node-websql/node_modules/immediate": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
+ "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=",
+ "optional": true
+ },
+ "node_modules/pouchdb-adapter-node-websql/node_modules/pouchdb-binary-utils": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-binary-utils/-/pouchdb-binary-utils-7.0.0.tgz",
+ "integrity": "sha512-yUktdOPIPvOVouCjJN3uop+bCcpdPwePrLm9eUAZNgEYnUFu0njdx7Q0WRsZ7UJ6l75HinL5ZHk4bnvEt86FLw==",
+ "optional": true,
+ "dependencies": {
+ "buffer-from": "1.1.0"
+ }
+ },
+ "node_modules/pouchdb-adapter-node-websql/node_modules/pouchdb-collections": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-collections/-/pouchdb-collections-7.0.0.tgz",
+ "integrity": "sha512-DaoUr/vU24Q3gM6ghj0va9j/oBanPwkbhkvnqSyC3Dm5dgf5pculNxueLF9PKMo3ycApoWzHMh6N2N8KJbDU2Q==",
+ "optional": true
+ },
+ "node_modules/pouchdb-adapter-node-websql/node_modules/pouchdb-errors": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-errors/-/pouchdb-errors-7.0.0.tgz",
+ "integrity": "sha512-dTusY8nnTw4HIztCrNl7AoGgwvS1bVf/3/97hDaGc4ytn72V9/4dK8kTqlimi3UpaurohYRnqac0SGXYP8vgXA==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "2.0.3"
+ }
+ },
+ "node_modules/pouchdb-adapter-node-websql/node_modules/pouchdb-md5": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-md5/-/pouchdb-md5-7.0.0.tgz",
+ "integrity": "sha512-yaSJKhLA3QlgloKUQeb2hLdT3KmUmPfoYdryfwHZuPTpXIRKTnMQTR9qCIRUszc0ruBpDe53DRslCgNUhAyTNQ==",
+ "optional": true,
+ "dependencies": {
+ "pouchdb-binary-utils": "7.0.0",
+ "spark-md5": "3.0.0"
+ }
+ },
+ "node_modules/pouchdb-adapter-node-websql/node_modules/pouchdb-utils": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-utils/-/pouchdb-utils-7.0.0.tgz",
+ "integrity": "sha512-1bnoX1KdZYHv9wicDIFdO0PLiVIMzNDUBUZ/yOJZ+6LW6niQCB8aCv09ZztmKfSQcU5nnN3fe656tScBgP6dOQ==",
+ "optional": true,
+ "dependencies": {
+ "argsarray": "0.0.1",
+ "clone-buffer": "1.0.0",
+ "immediate": "3.0.6",
+ "inherits": "2.0.3",
+ "pouchdb-collections": "7.0.0",
+ "pouchdb-errors": "7.0.0",
+ "pouchdb-md5": "7.0.0",
+ "uuid": "3.2.1"
+ }
+ },
+ "node_modules/pouchdb-adapter-node-websql/node_modules/uuid": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz",
+ "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==",
+ "optional": true,
+ "bin": {
+ "uuid": "bin/uuid"
+ }
+ },
+ "node_modules/pouchdb-adapter-utils": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-adapter-utils/-/pouchdb-adapter-utils-7.2.2.tgz",
+ "integrity": "sha512-2CzZkTyTyHZkr3ePiWFMTiD5+56lnembMjaTl8ohwegM0+hYhRyJux0biAZafVxgIL4gnCUC4w2xf6WVztzKdg==",
+ "optional": true,
+ "dependencies": {
+ "pouchdb-binary-utils": "7.2.2",
+ "pouchdb-collections": "7.2.2",
+ "pouchdb-errors": "7.2.2",
+ "pouchdb-md5": "7.2.2",
+ "pouchdb-merge": "7.2.2",
+ "pouchdb-utils": "7.2.2"
+ }
+ },
+ "node_modules/pouchdb-adapter-websql-core": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-adapter-websql-core/-/pouchdb-adapter-websql-core-7.0.0.tgz",
+ "integrity": "sha512-NyMaH0bl20SdJdOCzd+fwXo8JZ15a48/MAwMcIbXzsRHE4DjFNlRcWAcjUP6uN4Ezc+Gx+r2tkBBMf71mIz1Aw==",
+ "optional": true,
+ "dependencies": {
+ "pouchdb-adapter-utils": "7.0.0",
+ "pouchdb-binary-utils": "7.0.0",
+ "pouchdb-collections": "7.0.0",
+ "pouchdb-errors": "7.0.0",
+ "pouchdb-json": "7.0.0",
+ "pouchdb-merge": "7.0.0",
+ "pouchdb-utils": "7.0.0"
+ }
+ },
+ "node_modules/pouchdb-adapter-websql-core/node_modules/buffer-from": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.0.tgz",
+ "integrity": "sha512-c5mRlguI/Pe2dSZmpER62rSCu0ryKmWddzRYsuXc50U2/g8jMOulc31VZMa4mYx31U5xsmSOpDCgH88Vl9cDGQ==",
+ "optional": true
+ },
+ "node_modules/pouchdb-adapter-websql-core/node_modules/immediate": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
+ "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=",
+ "optional": true
+ },
+ "node_modules/pouchdb-adapter-websql-core/node_modules/pouchdb-adapter-utils": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-adapter-utils/-/pouchdb-adapter-utils-7.0.0.tgz",
+ "integrity": "sha512-UWKPC6jkz6mHUzZefrU7P5X8ZGvBC8LSNZ7BIp0hWvJE6c20cnpDwedTVDpZORcCbVJpDmFOHBYnOqEIblPtbA==",
+ "optional": true,
+ "dependencies": {
+ "pouchdb-binary-utils": "7.0.0",
+ "pouchdb-collections": "7.0.0",
+ "pouchdb-errors": "7.0.0",
+ "pouchdb-md5": "7.0.0",
+ "pouchdb-merge": "7.0.0",
+ "pouchdb-utils": "7.0.0"
+ }
+ },
+ "node_modules/pouchdb-adapter-websql-core/node_modules/pouchdb-binary-utils": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-binary-utils/-/pouchdb-binary-utils-7.0.0.tgz",
+ "integrity": "sha512-yUktdOPIPvOVouCjJN3uop+bCcpdPwePrLm9eUAZNgEYnUFu0njdx7Q0WRsZ7UJ6l75HinL5ZHk4bnvEt86FLw==",
+ "optional": true,
+ "dependencies": {
+ "buffer-from": "1.1.0"
+ }
+ },
+ "node_modules/pouchdb-adapter-websql-core/node_modules/pouchdb-collections": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-collections/-/pouchdb-collections-7.0.0.tgz",
+ "integrity": "sha512-DaoUr/vU24Q3gM6ghj0va9j/oBanPwkbhkvnqSyC3Dm5dgf5pculNxueLF9PKMo3ycApoWzHMh6N2N8KJbDU2Q==",
+ "optional": true
+ },
+ "node_modules/pouchdb-adapter-websql-core/node_modules/pouchdb-errors": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-errors/-/pouchdb-errors-7.0.0.tgz",
+ "integrity": "sha512-dTusY8nnTw4HIztCrNl7AoGgwvS1bVf/3/97hDaGc4ytn72V9/4dK8kTqlimi3UpaurohYRnqac0SGXYP8vgXA==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "2.0.3"
+ }
+ },
+ "node_modules/pouchdb-adapter-websql-core/node_modules/pouchdb-json": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-json/-/pouchdb-json-7.0.0.tgz",
+ "integrity": "sha512-w0bNRu/7VmmCrFWMYAm62n30wvJJUT2SokyzeTyj3hRohj4GFwTRg1mSZ+iAmxgRKOFE8nzZstLG/WAB4Ymjew==",
+ "optional": true,
+ "dependencies": {
+ "vuvuzela": "1.0.3"
+ }
+ },
+ "node_modules/pouchdb-adapter-websql-core/node_modules/pouchdb-md5": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-md5/-/pouchdb-md5-7.0.0.tgz",
+ "integrity": "sha512-yaSJKhLA3QlgloKUQeb2hLdT3KmUmPfoYdryfwHZuPTpXIRKTnMQTR9qCIRUszc0ruBpDe53DRslCgNUhAyTNQ==",
+ "optional": true,
+ "dependencies": {
+ "pouchdb-binary-utils": "7.0.0",
+ "spark-md5": "3.0.0"
+ }
+ },
+ "node_modules/pouchdb-adapter-websql-core/node_modules/pouchdb-merge": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-merge/-/pouchdb-merge-7.0.0.tgz",
+ "integrity": "sha512-tci5u6NpznQhGcPv4ho1h0miky9rs+ds/T9zQ9meQeDZbUojXNaX1Jxsb0uYEQQ+HMqdcQs3Akdl0/u0mgwPGg==",
+ "optional": true
+ },
+ "node_modules/pouchdb-adapter-websql-core/node_modules/pouchdb-utils": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-utils/-/pouchdb-utils-7.0.0.tgz",
+ "integrity": "sha512-1bnoX1KdZYHv9wicDIFdO0PLiVIMzNDUBUZ/yOJZ+6LW6niQCB8aCv09ZztmKfSQcU5nnN3fe656tScBgP6dOQ==",
+ "optional": true,
+ "dependencies": {
+ "argsarray": "0.0.1",
+ "clone-buffer": "1.0.0",
+ "immediate": "3.0.6",
+ "inherits": "2.0.3",
+ "pouchdb-collections": "7.0.0",
+ "pouchdb-errors": "7.0.0",
+ "pouchdb-md5": "7.0.0",
+ "uuid": "3.2.1"
+ }
+ },
+ "node_modules/pouchdb-adapter-websql-core/node_modules/uuid": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz",
+ "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==",
+ "optional": true,
+ "bin": {
+ "uuid": "bin/uuid"
+ }
+ },
+ "node_modules/pouchdb-binary-utils": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-binary-utils/-/pouchdb-binary-utils-7.2.2.tgz",
+ "integrity": "sha512-shacxlmyHbUrNfE6FGYpfyAJx7Q0m91lDdEAaPoKZM3SzAmbtB1i+OaDNtYFztXjJl16yeudkDb3xOeokVL3Qw==",
+ "optional": true,
+ "dependencies": {
+ "buffer-from": "1.1.1"
+ }
+ },
+ "node_modules/pouchdb-collate": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-collate/-/pouchdb-collate-7.2.2.tgz",
+ "integrity": "sha512-/SMY9GGasslknivWlCVwXMRMnQ8myKHs4WryQ5535nq1Wj/ehpqWloMwxEQGvZE1Sda3LOm7/5HwLTcB8Our+w==",
+ "optional": true
+ },
+ "node_modules/pouchdb-collections": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-collections/-/pouchdb-collections-7.2.2.tgz",
+ "integrity": "sha512-6O9zyAYlp3UdtfneiMYuOCWdUCQNo2bgdjvNsMSacQX+3g8WvIoFQCYJjZZCpTttQGb+MHeRMr8m2U95lhJTew==",
+ "optional": true
+ },
+ "node_modules/pouchdb-debug": {
+ "version": "7.2.1",
+ "resolved": "https://registry.npmjs.org/pouchdb-debug/-/pouchdb-debug-7.2.1.tgz",
+ "integrity": "sha512-eP3ht/AKavLF2RjTzBM6S9gaI2/apcW6xvaKRQhEdOfiANqerFuksFqHCal3aikVQuDO+cB/cw+a4RyJn/glBw==",
+ "optional": true,
+ "dependencies": {
+ "debug": "3.1.0"
+ }
+ },
+ "node_modules/pouchdb-errors": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-errors/-/pouchdb-errors-7.2.2.tgz",
+ "integrity": "sha512-6GQsiWc+7uPfgEHeavG+7wuzH3JZW29Dnrvz8eVbDFE50kVFxNDVm3EkYHskvo5isG7/IkOx7PV7RPTA3keG3g==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "2.0.4"
+ }
+ },
+ "node_modules/pouchdb-errors/node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "node_modules/pouchdb-fetch": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-fetch/-/pouchdb-fetch-7.2.2.tgz",
+ "integrity": "sha512-lUHmaG6U3zjdMkh8Vob9GvEiRGwJfXKE02aZfjiVQgew+9SLkuOxNw3y2q4d1B6mBd273y1k2Lm0IAziRNxQnA==",
+ "optional": true,
+ "dependencies": {
+ "abort-controller": "3.0.0",
+ "fetch-cookie": "0.10.1",
+ "node-fetch": "2.6.0"
+ }
+ },
+ "node_modules/pouchdb-fetch/node_modules/fetch-cookie": {
+ "version": "0.10.1",
+ "resolved": "https://registry.npmjs.org/fetch-cookie/-/fetch-cookie-0.10.1.tgz",
+ "integrity": "sha512-beB+VEd4cNeVG1PY+ee74+PkuCQnik78pgLi5Ah/7qdUfov8IctU0vLUbBT8/10Ma5GMBeI4wtxhGrEfKNYs2g==",
+ "optional": true,
+ "dependencies": {
+ "tough-cookie": "^2.3.3 || ^3.0.1 || ^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/pouchdb-fetch/node_modules/node-fetch": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
+ "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==",
+ "optional": true,
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/pouchdb-find": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-find/-/pouchdb-find-7.2.2.tgz",
+ "integrity": "sha512-BmFeFVQ0kHmDehvJxNZl9OmIztCjPlZlVSdpijuFbk/Fi1EFPU1BAv3kLC+6DhZuOqU/BCoaUBY9sn66pPY2ag==",
+ "optional": true,
+ "dependencies": {
+ "pouchdb-abstract-mapreduce": "7.2.2",
+ "pouchdb-collate": "7.2.2",
+ "pouchdb-errors": "7.2.2",
+ "pouchdb-fetch": "7.2.2",
+ "pouchdb-md5": "7.2.2",
+ "pouchdb-selector-core": "7.2.2",
+ "pouchdb-utils": "7.2.2"
+ }
+ },
+ "node_modules/pouchdb-json": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-json/-/pouchdb-json-7.2.2.tgz",
+ "integrity": "sha512-3b2S2ynN+aoB7aCNyDZc/4c0IAdx/ir3nsHB+/RrKE9cM3QkQYbnnE3r/RvOD1Xvr6ji/KOCBie+Pz/6sxoaug==",
+ "optional": true,
+ "dependencies": {
+ "vuvuzela": "1.0.3"
+ }
+ },
+ "node_modules/pouchdb-mapreduce-utils": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-mapreduce-utils/-/pouchdb-mapreduce-utils-7.2.2.tgz",
+ "integrity": "sha512-rAllb73hIkU8rU2LJNbzlcj91KuulpwQu804/F6xF3fhZKC/4JQMClahk+N/+VATkpmLxp1zWmvmgdlwVU4HtQ==",
+ "optional": true,
+ "dependencies": {
+ "argsarray": "0.0.1",
+ "inherits": "2.0.4",
+ "pouchdb-collections": "7.2.2",
+ "pouchdb-utils": "7.2.2"
+ }
+ },
+ "node_modules/pouchdb-mapreduce-utils/node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "node_modules/pouchdb-md5": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-md5/-/pouchdb-md5-7.2.2.tgz",
+ "integrity": "sha512-c/RvLp2oSh8PLAWU5vFBnp6ejJABIdKqboZwRRUrWcfGDf+oyX8RgmJFlYlzMMOh4XQLUT1IoaDV8cwlsuryZw==",
+ "optional": true,
+ "dependencies": {
+ "pouchdb-binary-utils": "7.2.2",
+ "spark-md5": "3.0.1"
+ }
+ },
+ "node_modules/pouchdb-md5/node_modules/spark-md5": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/spark-md5/-/spark-md5-3.0.1.tgz",
+ "integrity": "sha512-0tF3AGSD1ppQeuffsLDIOWlKUd3lS92tFxcsrh5Pe3ZphhnoK+oXIBTzOAThZCiuINZLvpiLH/1VS1/ANEJVig==",
+ "optional": true
+ },
+ "node_modules/pouchdb-merge": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-merge/-/pouchdb-merge-7.2.2.tgz",
+ "integrity": "sha512-6yzKJfjIchBaS7Tusuk8280WJdESzFfQ0sb4jeMUNnrqs4Cx3b0DIEOYTRRD9EJDM+je7D3AZZ4AT0tFw8gb4A==",
+ "optional": true
+ },
+ "node_modules/pouchdb-selector-core": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-selector-core/-/pouchdb-selector-core-7.2.2.tgz",
+ "integrity": "sha512-XYKCNv9oiNmSXV5+CgR9pkEkTFqxQGWplnVhO3W9P154H08lU0ZoNH02+uf+NjZ2kjse7Q1fxV4r401LEcGMMg==",
+ "optional": true,
+ "dependencies": {
+ "pouchdb-collate": "7.2.2",
+ "pouchdb-utils": "7.2.2"
+ }
+ },
+ "node_modules/pouchdb-utils": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-utils/-/pouchdb-utils-7.2.2.tgz",
+ "integrity": "sha512-XmeM5ioB4KCfyB2MGZXu1Bb2xkElNwF1qG+zVFbQsKQij0zvepdOUfGuWvLRHxTOmt4muIuSOmWZObZa3NOgzQ==",
+ "optional": true,
+ "dependencies": {
+ "argsarray": "0.0.1",
+ "clone-buffer": "1.0.0",
+ "immediate": "3.3.0",
+ "inherits": "2.0.4",
+ "pouchdb-collections": "7.2.2",
+ "pouchdb-errors": "7.2.2",
+ "pouchdb-md5": "7.2.2",
+ "uuid": "8.1.0"
+ }
+ },
+ "node_modules/pouchdb-utils/node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "node_modules/pouchdb-utils/node_modules/uuid": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.1.0.tgz",
+ "integrity": "sha512-CI18flHDznR0lq54xBycOVmphdCYnQLKn8abKn7PXUiKUGdEd+/l9LWNJmugXel4hXq7S+RMNl34ecyC9TntWg==",
+ "optional": true,
+ "bin": {
+ "uuid": "dist/bin/uuid"
+ }
+ },
+ "node_modules/pouchdb/node_modules/abstract-leveldown": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.0.3.tgz",
+ "integrity": "sha512-jzewKKpZbaYUa6HTThnrl+GrJhzjEAeuc7hTVpZdzg7kupXZFoqQDFwyOwLNbmJKJlmzw8yiipMPkDiuKkT06Q==",
+ "optional": true,
+ "dependencies": {
+ "level-concat-iterator": "~2.0.0",
+ "xtend": "~4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pouchdb/node_modules/buffer-from": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.0.tgz",
+ "integrity": "sha512-c5mRlguI/Pe2dSZmpER62rSCu0ryKmWddzRYsuXc50U2/g8jMOulc31VZMa4mYx31U5xsmSOpDCgH88Vl9cDGQ==",
+ "optional": true
+ },
+ "node_modules/pouchdb/node_modules/deferred-leveldown": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-5.0.1.tgz",
+ "integrity": "sha512-BXohsvTedWOLkj2n/TY+yqVlrCWa2Zs8LSxh3uCAgFOru7/pjxKyZAexGa1j83BaKloER4PqUyQ9rGPJLt9bqA==",
+ "optional": true,
+ "dependencies": {
+ "abstract-leveldown": "~6.0.0",
+ "inherits": "^2.0.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pouchdb/node_modules/immediate": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
+ "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=",
+ "optional": true
+ },
+ "node_modules/pouchdb/node_modules/isarray": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
+ "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
+ "optional": true
+ },
+ "node_modules/pouchdb/node_modules/level-codec": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/level-codec/-/level-codec-9.0.1.tgz",
+ "integrity": "sha512-ajFP0kJ+nyq4i6kptSM+mAvJKLOg1X5FiFPtLG9M5gCEZyBmgDi3FkDrvlMkEzrUn1cWxtvVmrvoS4ASyO/q+Q==",
+ "optional": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pouchdb/node_modules/level-errors": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-2.0.1.tgz",
+ "integrity": "sha512-UVprBJXite4gPS+3VznfgDSU8PTRuVX0NXwoWW50KLxd2yw4Y1t2JUR5In1itQnudZqRMT9DlAM3Q//9NCjCFw==",
+ "optional": true,
+ "dependencies": {
+ "errno": "~0.1.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pouchdb/node_modules/level-iterator-stream": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-4.0.2.tgz",
+ "integrity": "sha512-ZSthfEqzGSOMWoUGhTXdX9jv26d32XJuHz/5YnuHZzH6wldfWMOVwI9TBtKcya4BKTyTt3XVA0A3cF3q5CY30Q==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.4.0",
+ "xtend": "^4.0.2"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pouchdb/node_modules/level-iterator-stream/node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "node_modules/pouchdb/node_modules/level-iterator-stream/node_modules/readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/pouchdb/node_modules/levelup": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/levelup/-/levelup-4.0.2.tgz",
+ "integrity": "sha512-cx9PmLENwbGA3svWBEbeO2HazpOSOYSXH4VA+ahVpYyurvD+SDSfURl29VBY2qgyk+Vfy2dJd71SBRckj/EZVA==",
+ "optional": true,
+ "dependencies": {
+ "deferred-leveldown": "~5.0.0",
+ "level-errors": "~2.0.0",
+ "level-iterator-stream": "~4.0.0",
+ "xtend": "~4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pouchdb/node_modules/node-fetch": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.4.1.tgz",
+ "integrity": "sha512-P9UbpFK87NyqBZzUuDBDz4f6Yiys8xm8j7ACDbi6usvFm6KItklQUKjeoqTrYS/S1k6I8oaOC2YLLDr/gg26Mw==",
+ "optional": true,
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/pouchdb/node_modules/readable-stream": {
+ "version": "1.0.33",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.33.tgz",
+ "integrity": "sha1-OjYN1mwbHX/UcFOJhg7aHQ9hEmw=",
+ "optional": true,
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "0.0.1",
+ "string_decoder": "~0.10.x"
+ }
+ },
+ "node_modules/pouchdb/node_modules/readable-stream/node_modules/string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
+ "optional": true
+ },
+ "node_modules/pouchdb/node_modules/through2": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.1.tgz",
+ "integrity": "sha512-M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww==",
+ "optional": true,
+ "dependencies": {
+ "readable-stream": "2 || 3"
+ }
+ },
+ "node_modules/pouchdb/node_modules/through2/node_modules/readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/pouchdb/node_modules/uuid": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz",
+ "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==",
+ "optional": true,
+ "bin": {
+ "uuid": "bin/uuid"
+ }
+ },
+ "node_modules/prebuild-install": {
+ "version": "5.3.5",
+ "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-5.3.5.tgz",
+ "integrity": "sha512-YmMO7dph9CYKi5IR/BzjOJlRzpxGGVo1EsLSUZ0mt/Mq0HWZIHOKHHcHdT69yG54C9m6i45GpItwRHpk0Py7Uw==",
+ "optional": true,
+ "dependencies": {
+ "detect-libc": "^1.0.3",
+ "expand-template": "^2.0.3",
+ "github-from-package": "0.0.0",
+ "minimist": "^1.2.3",
+ "mkdirp": "^0.5.1",
+ "napi-build-utils": "^1.0.1",
+ "node-abi": "^2.7.0",
+ "noop-logger": "^0.1.1",
+ "npmlog": "^4.0.1",
+ "pump": "^3.0.0",
+ "rc": "^1.2.7",
+ "simple-get": "^3.0.3",
+ "tar-fs": "^2.0.0",
+ "tunnel-agent": "^0.6.0",
+ "which-pm-runs": "^1.0.0"
+ },
+ "bin": {
+ "prebuild-install": "bin.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/prebuild-install/node_modules/decompress-response": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-4.2.1.tgz",
+ "integrity": "sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw==",
+ "optional": true,
+ "dependencies": {
+ "mimic-response": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/prebuild-install/node_modules/mimic-response": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-2.1.0.tgz",
+ "integrity": "sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/prebuild-install/node_modules/minimist": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
+ "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
+ "optional": true
+ },
+ "node_modules/prebuild-install/node_modules/pump": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "optional": true,
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "node_modules/prebuild-install/node_modules/simple-get": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-3.1.0.tgz",
+ "integrity": "sha512-bCR6cP+aTdScaQCnQKbPKtJOKDp/hj9EDLJo3Nw4y1QksqaovlW/bnptB6/c1e+qmNIDHRK+oXFDdEqBT8WzUA==",
+ "optional": true,
+ "dependencies": {
+ "decompress-response": "^4.2.0",
+ "once": "^1.3.1",
+ "simple-concat": "^1.0.0"
+ }
+ },
+ "node_modules/precond": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/precond/-/precond-0.2.3.tgz",
+ "integrity": "sha1-qpWRvKokkj8eD0hJ0kD0fvwQdaw=",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/prelude-ls": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
+ "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/prepend-http": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz",
+ "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/preserve": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz",
+ "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/prettier": {
+ "version": "1.18.2",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.18.2.tgz",
+ "integrity": "sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==",
+ "dev": true,
+ "bin": {
+ "prettier": "bin-prettier.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/prettier-linter-helpers": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz",
+ "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==",
+ "dev": true,
+ "dependencies": {
+ "fast-diff": "^1.1.2"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/prettier-plugin-solidity": {
+ "version": "1.0.0-alpha.32",
+ "resolved": "https://registry.npmjs.org/prettier-plugin-solidity/-/prettier-plugin-solidity-1.0.0-alpha.32.tgz",
+ "integrity": "sha512-3gwIeiHyYUzPw9uLGrRTdYNd/3lmF8hUJtl7Dxygx6zHQ4NLP+uKE79MeCg49THFkLBcyJ+jYK1Wsk5fp+i2mA==",
+ "dev": true,
+ "dependencies": {
+ "dir-to-object": "^2.0.0",
+ "emoji-regex": "^8.0.0",
+ "escape-string-regexp": "^2.0.0",
+ "extract-comments": "^1.1.0",
+ "prettier": "^1.15.3",
+ "semver": "^6.3.0",
+ "solidity-parser-antlr": "^0.4.11",
+ "string-width": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/prettier-plugin-solidity/node_modules/ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/prettier-plugin-solidity/node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "dev": true
+ },
+ "node_modules/prettier-plugin-solidity/node_modules/escape-string-regexp": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
+ "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/prettier-plugin-solidity/node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/prettier-plugin-solidity/node_modules/semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/prettier-plugin-solidity/node_modules/solidity-parser-antlr": {
+ "version": "0.4.11",
+ "resolved": "https://registry.npmjs.org/solidity-parser-antlr/-/solidity-parser-antlr-0.4.11.tgz",
+ "integrity": "sha512-4jtxasNGmyC0midtjH/lTFPZYvTTUMy6agYcF+HoMnzW8+cqo3piFrINb4ZCzpPW+7tTVFCGa5ubP34zOzeuMg==",
+ "dev": true
+ },
+ "node_modules/prettier-plugin-solidity/node_modules/string-width": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.1.0.tgz",
+ "integrity": "sha512-NrX+1dVVh+6Y9dnQ19pR0pP4FiEIlUvdTGn8pw6CKTNq5sgib2nIhmUNT5TAmhWmvKr3WcxBcP3E8nWezuipuQ==",
+ "dev": true,
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/prettier-plugin-solidity/node_modules/strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/private": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz",
+ "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/process": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/process/-/process-0.5.2.tgz",
+ "integrity": "sha1-FjjYqONML0QKkduVq5rrZ3/Bhc8=",
+ "engines": {
+ "node": ">= 0.6.0"
+ }
+ },
+ "node_modules/process-nextick-args": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
+ "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw=="
+ },
+ "node_modules/progress": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
+ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/promise": {
+ "version": "8.0.3",
+ "resolved": "https://registry.npmjs.org/promise/-/promise-8.0.3.tgz",
+ "integrity": "sha512-HeRDUL1RJiLhyA0/grn+PTShlBAcLuh/1BJGtrvjwbvRDCTLLMEz9rOGCV+R3vHY4MixIuoMEd9Yq/XvsTPcjw==",
+ "dev": true,
+ "dependencies": {
+ "asap": "~2.0.6"
+ }
+ },
+ "node_modules/promise-inflight": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz",
+ "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM="
+ },
+ "node_modules/promise-retry": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-1.1.1.tgz",
+ "integrity": "sha1-ZznpaOMFHaIM5kl/srUPaRHfPW0=",
+ "dependencies": {
+ "err-code": "^1.0.0",
+ "retry": "^0.10.0"
+ },
+ "engines": {
+ "node": ">=0.12"
+ }
+ },
+ "node_modules/promise-to-callback": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/promise-to-callback/-/promise-to-callback-1.0.0.tgz",
+ "integrity": "sha1-XSp0kBC/tn2WNZj805YHRqaP7vc=",
+ "dependencies": {
+ "is-fn": "^1.0.0",
+ "set-immediate-shim": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/promise.allsettled": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/promise.allsettled/-/promise.allsettled-1.0.2.tgz",
+ "integrity": "sha512-UpcYW5S1RaNKT6pd+s9jp9K9rlQge1UXKskec0j6Mmuq7UJCvlS2J2/s/yuPN8ehftf9HXMxWlKiPbGGUzpoRg==",
+ "dependencies": {
+ "array.prototype.map": "^1.0.1",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.0-next.1",
+ "function-bind": "^1.1.1",
+ "iterate-value": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/prompts": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.1.0.tgz",
+ "integrity": "sha512-+x5TozgqYdOwWsQFZizE/Tra3fKvAoy037kOyU6cgz84n8f6zxngLOV4O32kTwt9FcLCxAqw0P/c8rOr9y+Gfg==",
+ "dependencies": {
+ "kleur": "^3.0.2",
+ "sisteransi": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/prop-types": {
+ "version": "15.7.2",
+ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz",
+ "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==",
+ "optional": true,
+ "dependencies": {
+ "loose-envify": "^1.4.0",
+ "object-assign": "^4.1.1",
+ "react-is": "^16.8.1"
+ }
+ },
+ "node_modules/protobufjs": {
+ "version": "6.10.2",
+ "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.2.tgz",
+ "integrity": "sha512-27yj+04uF6ya9l+qfpH187aqEzfCF4+Uit0I9ZBQVqK09hk/SQzKa2MUqUpXaVa7LOFRg1TSSr3lVxGOk6c0SQ==",
+ "hasInstallScript": true,
+ "optional": true,
+ "dependencies": {
+ "@protobufjs/aspromise": "^1.1.2",
+ "@protobufjs/base64": "^1.1.2",
+ "@protobufjs/codegen": "^2.0.4",
+ "@protobufjs/eventemitter": "^1.1.0",
+ "@protobufjs/fetch": "^1.1.0",
+ "@protobufjs/float": "^1.0.2",
+ "@protobufjs/inquire": "^1.1.0",
+ "@protobufjs/path": "^1.1.2",
+ "@protobufjs/pool": "^1.1.0",
+ "@protobufjs/utf8": "^1.1.0",
+ "@types/long": "^4.0.1",
+ "@types/node": "^13.7.0",
+ "long": "^4.0.0"
+ },
+ "bin": {
+ "pbjs": "bin/pbjs",
+ "pbts": "bin/pbts"
+ }
+ },
+ "node_modules/protobufjs/node_modules/@types/node": {
+ "version": "13.13.50",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.50.tgz",
+ "integrity": "sha512-y7kkh+hX/0jZNxMyBR/6asG0QMSaPSzgeVK63dhWHl4QAXCQB8lExXmzLL6SzmOgKHydtawpMnNhlDbv7DXPEA==",
+ "optional": true
+ },
+ "node_modules/protocol-buffers-schema": {
+ "version": "3.5.1",
+ "resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.5.1.tgz",
+ "integrity": "sha512-YVCvdhxWNDP8/nJDyXLuM+UFsuPk4+1PB7WGPVDzm3HTHbzFLxQYeW2iZpS4mmnXrQJGBzt230t/BbEb7PrQaw==",
+ "optional": true
+ },
+ "node_modules/protoduck": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/protoduck/-/protoduck-5.0.1.tgz",
+ "integrity": "sha512-WxoCeDCoCBY55BMvj4cAEjdVUFGRWed9ZxPlqTKYyw1nDDTQ4pqmnIMAGfJlg7Dx35uB/M+PHJPTmGOvaCaPTg==",
+ "dependencies": {
+ "genfun": "^5.0.0"
+ }
+ },
+ "node_modules/protons": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/protons/-/protons-2.0.1.tgz",
+ "integrity": "sha512-FlmPorLEeCEDPu+uIn0Qardgiy5XqVA4IyNTz9wb9c0e2U7BEXdRcIbx64r09o4Abtf+4B7mkTtMbsIXMxZzKw==",
+ "optional": true,
+ "dependencies": {
+ "protocol-buffers-schema": "^3.3.1",
+ "signed-varint": "^2.0.1",
+ "uint8arrays": "^2.1.3",
+ "varint": "^5.0.0"
+ }
+ },
+ "node_modules/protons/node_modules/varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
+ },
+ "node_modules/proxy-addr": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz",
+ "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==",
+ "dependencies": {
+ "forwarded": "~0.1.2",
+ "ipaddr.js": "1.9.1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/prr": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz",
+ "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY="
+ },
+ "node_modules/pseudomap": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
+ "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM="
+ },
+ "node_modules/psl": {
+ "version": "1.1.31",
+ "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.31.tgz",
+ "integrity": "sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw=="
+ },
+ "node_modules/pstree.remy": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.6.tgz",
+ "integrity": "sha512-NdF35+QsqD7EgNEI5mkI/X+UwaxVEbQaz9f4IooEmMUv6ZPmlTQYGjBPJGgrlzNdjSvIy4MWMg6Q6vCgBO2K+w==",
+ "dev": true
+ },
+ "node_modules/public-encrypt": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz",
+ "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==",
+ "dependencies": {
+ "bn.js": "^4.1.0",
+ "browserify-rsa": "^4.0.0",
+ "create-hash": "^1.1.0",
+ "parse-asn1": "^5.0.0",
+ "randombytes": "^2.0.1",
+ "safe-buffer": "^5.1.2"
+ }
+ },
+ "node_modules/pump": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz",
+ "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==",
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "node_modules/pumpify": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz",
+ "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==",
+ "dependencies": {
+ "duplexify": "^3.6.0",
+ "inherits": "^2.0.3",
+ "pump": "^2.0.0"
+ }
+ },
+ "node_modules/punycode": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
+ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pure-rand": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-4.1.2.tgz",
+ "integrity": "sha512-uLzZpQWfroIqyFWmX/pl0OL2JHJdoU3dbh0dvZ25fChHFJJi56J5oQZhW6QgbT2Llwh1upki84LnTwlZvsungA==",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/fast-check"
+ }
+ },
+ "node_modules/qs": {
+ "version": "6.5.2",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
+ "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/query-string": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz",
+ "integrity": "sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==",
+ "dependencies": {
+ "decode-uri-component": "^0.2.0",
+ "object-assign": "^4.1.0",
+ "strict-uri-encode": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/querystring": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.1.tgz",
+ "integrity": "sha512-wkvS7mL/JMugcup3/rMitHmd9ecIGd2lhFhK9N3UUQ450h66d1r3Y9nvXzQAW1Lq+wyx61k/1pfKS5KuKiyEbg==",
+ "engines": {
+ "node": ">=0.4.x"
+ }
+ },
+ "node_modules/querystringify": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
+ "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==",
+ "optional": true
+ },
+ "node_modules/queue-microtask": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "optional": true
+ },
+ "node_modules/randomatic": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz",
+ "integrity": "sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==",
+ "optional": true,
+ "dependencies": {
+ "is-number": "^4.0.0",
+ "kind-of": "^6.0.0",
+ "math-random": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.10.0"
+ }
+ },
+ "node_modules/randomatic/node_modules/is-number": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz",
+ "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/randombytes": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",
+ "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==",
+ "dependencies": {
+ "safe-buffer": "^5.1.0"
+ }
+ },
+ "node_modules/randomfill": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz",
+ "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==",
+ "dependencies": {
+ "randombytes": "^2.0.5",
+ "safe-buffer": "^5.1.0"
+ }
+ },
+ "node_modules/range-parser": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/raw-body": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz",
+ "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==",
+ "dependencies": {
+ "bytes": "3.1.0",
+ "http-errors": "1.7.2",
+ "iconv-lite": "0.4.24",
+ "unpipe": "1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/raw-body/node_modules/http-errors": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
+ "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
+ "dependencies": {
+ "depd": "~1.1.2",
+ "inherits": "2.0.3",
+ "setprototypeof": "1.1.1",
+ "statuses": ">= 1.5.0 < 2",
+ "toidentifier": "1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/rc": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
+ "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
+ "dependencies": {
+ "deep-extend": "^0.6.0",
+ "ini": "~1.3.0",
+ "minimist": "^1.2.0",
+ "strip-json-comments": "~2.0.1"
+ },
+ "bin": {
+ "rc": "cli.js"
+ }
+ },
+ "node_modules/rc-config-loader": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/rc-config-loader/-/rc-config-loader-2.0.4.tgz",
+ "integrity": "sha512-k06UzRbYDWgF4Mc/YrsZsmzSpDLuHoThJxep+vq5H09hiX8rbA5Ue/Ra0dwWm5MQvWYW4YBXgA186inNxuxidQ==",
+ "dependencies": {
+ "debug": "^4.1.1",
+ "js-yaml": "^3.12.0",
+ "json5": "^2.1.0",
+ "object-assign": "^4.1.0",
+ "object-keys": "^1.0.12",
+ "path-exists": "^3.0.0",
+ "require-from-string": "^2.0.2"
+ }
+ },
+ "node_modules/rc-config-loader/node_modules/debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/rc-config-loader/node_modules/json5": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.0.tgz",
+ "integrity": "sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ==",
+ "dependencies": {
+ "minimist": "^1.2.0"
+ },
+ "bin": {
+ "json5": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/rc-config-loader/node_modules/minimist": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
+ "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
+ },
+ "node_modules/rc-config-loader/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
+ },
+ "node_modules/rc-config-loader/node_modules/path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/rc/node_modules/minimist": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
+ "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
+ },
+ "node_modules/react-is": {
+ "version": "16.13.1",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
+ "optional": true
+ },
+ "node_modules/read-pkg": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz",
+ "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=",
+ "dev": true,
+ "dependencies": {
+ "load-json-file": "^2.0.0",
+ "normalize-package-data": "^2.3.2",
+ "path-type": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/read-pkg-up": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz",
+ "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=",
+ "dev": true,
+ "dependencies": {
+ "find-up": "^2.0.0",
+ "read-pkg": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/read-pkg-up/node_modules/find-up": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
+ "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
+ "dev": true,
+ "dependencies": {
+ "locate-path": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/readable-stream": {
+ "version": "2.3.6",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.3",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
+ "util-deprecate": "~1.0.1"
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz",
+ "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==",
+ "dev": true,
+ "dependencies": {
+ "graceful-fs": "^4.1.11",
+ "micromatch": "^3.1.10",
+ "readable-stream": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/receptacle": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/receptacle/-/receptacle-1.3.2.tgz",
+ "integrity": "sha512-HrsFvqZZheusncQRiEE7GatOAETrARKV/lnfYicIm8lbvp/JQOdADOfhjBd2DajvoszEyxSM6RlAAIZgEoeu/A==",
+ "optional": true,
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/receptacle/node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "optional": true
+ },
+ "node_modules/redeyed": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz",
+ "integrity": "sha1-iYS1gV2ZyyIEacme7v/jiRPmzAs=",
+ "dev": true,
+ "dependencies": {
+ "esprima": "~4.0.0"
+ }
+ },
+ "node_modules/redeyed/node_modules/esprima": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
+ "dev": true,
+ "bin": {
+ "esparse": "bin/esparse.js",
+ "esvalidate": "bin/esvalidate.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/redux": {
+ "version": "3.7.2",
+ "resolved": "https://registry.npmjs.org/redux/-/redux-3.7.2.tgz",
+ "integrity": "sha512-pNqnf9q1hI5HHZRBkj3bAngGZW/JMCmexDlOxw4XagXY2o1327nHH54LoTjiPJ0gizoqPDRqWyX/00g0hD6w+A==",
+ "dependencies": {
+ "lodash": "^4.2.1",
+ "lodash-es": "^4.2.1",
+ "loose-envify": "^1.1.0",
+ "symbol-observable": "^1.0.3"
+ }
+ },
+ "node_modules/redux-cli-logger": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/redux-cli-logger/-/redux-cli-logger-2.1.0.tgz",
+ "integrity": "sha512-75mVsggAJRSykWy2qxdGI7osocDWvc3RCMeN93hlvS/FxgdRww12NaXslez+W6gBOrSJKO7W16V0IzuISSfCxg==",
+ "dependencies": {
+ "colors": "^1.1.2"
+ }
+ },
+ "node_modules/redux-devtools-core": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/redux-devtools-core/-/redux-devtools-core-0.2.1.tgz",
+ "integrity": "sha512-RAGOxtUFdr/1USAvxrWd+Gq/Euzgw7quCZlO5TgFpDfG7rB5tMhZUrNyBjpzgzL2yMk0eHnPYIGm7NkIfRzHxQ==",
+ "deprecated": "Package moved to @redux-devtools/app.",
+ "dependencies": {
+ "get-params": "^0.1.2",
+ "jsan": "^3.1.13",
+ "lodash": "^4.17.11",
+ "nanoid": "^2.0.0",
+ "remotedev-serialize": "^0.1.8"
+ }
+ },
+ "node_modules/redux-devtools-core/node_modules/nanoid": {
+ "version": "2.1.11",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-2.1.11.tgz",
+ "integrity": "sha512-s/snB+WGm6uwi0WjsZdaVcuf3KJXlfGl2LcxgwkEwJF0D/BWzVWAZW/XY4bFaiR7s0Jk3FPvlnepg1H1b1UwlA=="
+ },
+ "node_modules/redux-devtools-instrument": {
+ "version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/redux-devtools-instrument/-/redux-devtools-instrument-1.10.0.tgz",
+ "integrity": "sha512-X8JRBCzX2ADSMp+iiV7YQ8uoTNyEm0VPFPd4T854coz6lvRiBrFSqAr9YAS2n8Kzxx8CJQotR0QF9wsMM+3DvA==",
+ "deprecated": "Package moved to @redux-devtools/instrument.",
+ "dependencies": {
+ "lodash": "^4.17.19",
+ "symbol-observable": "^1.2.0"
+ },
+ "peerDependencies": {
+ "redux": "^3.4.0 || ^4.0.0"
+ }
+ },
+ "node_modules/redux-devtools-instrument/node_modules/symbol-observable": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
+ "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/redux-saga": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/redux-saga/-/redux-saga-1.0.0.tgz",
+ "integrity": "sha512-GvJWs/SzMvEQgeaw6sRMXnS2FghlvEGsHiEtTLpJqc/FHF3I5EE/B+Hq5lyHZ8LSoT2r/X/46uWvkdCnK9WgHA==",
+ "dependencies": {
+ "@redux-saga/core": "^1.0.0"
+ }
+ },
+ "node_modules/redux/node_modules/symbol-observable": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
+ "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/regenerate": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.1.tgz",
+ "integrity": "sha512-j2+C8+NtXQgEKWk49MMP5P/u2GhnahTtVkRIHr5R5lVRlbKvmQ+oS+A5aLKWp2ma5VkT8sh6v+v4hbH0YHR66A=="
+ },
+ "node_modules/regenerator-runtime": {
+ "version": "0.11.1",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
+ "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
+ },
+ "node_modules/regenerator-transform": {
+ "version": "0.10.1",
+ "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz",
+ "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==",
+ "dependencies": {
+ "babel-runtime": "^6.18.0",
+ "babel-types": "^6.19.0",
+ "private": "^0.1.6"
+ }
+ },
+ "node_modules/regex-cache": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz",
+ "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==",
+ "optional": true,
+ "dependencies": {
+ "is-equal-shallow": "^0.1.3"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/regex-not": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",
+ "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",
+ "dev": true,
+ "dependencies": {
+ "extend-shallow": "^3.0.2",
+ "safe-regex": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/regexp.prototype.flags": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz",
+ "integrity": "sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ==",
+ "dependencies": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.0-next.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/regexpp": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz",
+ "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.5.0"
+ }
+ },
+ "node_modules/regexpu-core": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz",
+ "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=",
+ "dependencies": {
+ "regenerate": "^1.2.1",
+ "regjsgen": "^0.2.0",
+ "regjsparser": "^0.1.4"
+ }
+ },
+ "node_modules/registry-auth-token": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.4.0.tgz",
+ "integrity": "sha512-4LM6Fw8eBQdwMYcES4yTnn2TqIasbXuwDx3um+QRs7S55aMKCBKBxvPXl2RiUjHwuJLTyYfxSpmfSAjQpcuP+A==",
+ "dependencies": {
+ "rc": "^1.1.6",
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "node_modules/registry-url": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz",
+ "integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=",
+ "dev": true,
+ "dependencies": {
+ "rc": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/regjsgen": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz",
+ "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc="
+ },
+ "node_modules/regjsparser": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz",
+ "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=",
+ "dependencies": {
+ "jsesc": "~0.5.0"
+ },
+ "bin": {
+ "regjsparser": "bin/parser"
+ }
+ },
+ "node_modules/relay-compiler": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/relay-compiler/-/relay-compiler-10.1.0.tgz",
+ "integrity": "sha512-HPqc3N3tNgEgUH5+lTr5lnLbgnsZMt+MRiyS0uAVNhuPY2It0X1ZJG+9qdA3L9IqKFUNwVn6zTO7RArjMZbARQ==",
+ "optional": true,
+ "dependencies": {
+ "@babel/core": "^7.0.0",
+ "@babel/generator": "^7.5.0",
+ "@babel/parser": "^7.0.0",
+ "@babel/runtime": "^7.0.0",
+ "@babel/traverse": "^7.0.0",
+ "@babel/types": "^7.0.0",
+ "babel-preset-fbjs": "^3.3.0",
+ "chalk": "^4.0.0",
+ "fb-watchman": "^2.0.0",
+ "fbjs": "^3.0.0",
+ "glob": "^7.1.1",
+ "immutable": "~3.7.6",
+ "nullthrows": "^1.1.1",
+ "relay-runtime": "10.1.0",
+ "signedsource": "^1.0.0",
+ "yargs": "^15.3.1"
+ },
+ "bin": {
+ "relay-compiler": "bin/relay-compiler"
+ },
+ "peerDependencies": {
+ "graphql": "^15.0.0"
+ }
+ },
+ "node_modules/relay-compiler/node_modules/ansi-regex": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
+ "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/relay-compiler/node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "optional": true,
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/relay-compiler/node_modules/chalk": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
+ "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
+ "optional": true,
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/relay-compiler/node_modules/cliui": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
+ "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
+ "optional": true,
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.0",
+ "wrap-ansi": "^6.2.0"
+ }
+ },
+ "node_modules/relay-compiler/node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "optional": true,
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/relay-compiler/node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "optional": true
+ },
+ "node_modules/relay-compiler/node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "optional": true
+ },
+ "node_modules/relay-compiler/node_modules/get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
+ "optional": true,
+ "engines": {
+ "node": "6.* || 8.* || >= 10.*"
+ }
+ },
+ "node_modules/relay-compiler/node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/relay-compiler/node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/relay-compiler/node_modules/require-main-filename": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
+ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
+ "optional": true
+ },
+ "node_modules/relay-compiler/node_modules/string-width": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz",
+ "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==",
+ "optional": true,
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/relay-compiler/node_modules/strip-ansi": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
+ "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
+ "optional": true,
+ "dependencies": {
+ "ansi-regex": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/relay-compiler/node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "optional": true,
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/relay-compiler/node_modules/wrap-ansi": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
+ "optional": true,
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/relay-compiler/node_modules/y18n": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
+ "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
+ "optional": true
+ },
+ "node_modules/relay-compiler/node_modules/yargs": {
+ "version": "15.4.1",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
+ "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
+ "optional": true,
+ "dependencies": {
+ "cliui": "^6.0.0",
+ "decamelize": "^1.2.0",
+ "find-up": "^4.1.0",
+ "get-caller-file": "^2.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^2.0.0",
+ "set-blocking": "^2.0.0",
+ "string-width": "^4.2.0",
+ "which-module": "^2.0.0",
+ "y18n": "^4.0.0",
+ "yargs-parser": "^18.1.2"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/relay-compiler/node_modules/yargs-parser": {
+ "version": "18.1.3",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
+ "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
+ "optional": true,
+ "dependencies": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/relay-runtime": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/relay-runtime/-/relay-runtime-10.1.0.tgz",
+ "integrity": "sha512-bxznLnQ1ST6APN/cFi7l0FpjbZVchWQjjhj9mAuJBuUqNNCh9uV+UTRhpQF7Q8ycsPp19LHTpVyGhYb0ustuRQ==",
+ "optional": true,
+ "dependencies": {
+ "@babel/runtime": "^7.0.0",
+ "fbjs": "^3.0.0"
+ }
+ },
+ "node_modules/remote-redux-devtools": {
+ "version": "0.5.16",
+ "resolved": "https://registry.npmjs.org/remote-redux-devtools/-/remote-redux-devtools-0.5.16.tgz",
+ "integrity": "sha512-xZ2D1VRIWzat5nsvcraT6fKEX9Cfi+HbQBCwzNnUAM8Uicm/anOc60XGalcaDPrVmLug7nhDl2nimEa3bL3K9w==",
+ "dependencies": {
+ "jsan": "^3.1.13",
+ "querystring": "^0.2.0",
+ "redux-devtools-core": "^0.2.1",
+ "redux-devtools-instrument": "^1.9.4",
+ "rn-host-detect": "^1.1.5",
+ "socketcluster-client": "^14.2.1"
+ }
+ },
+ "node_modules/remotedev-serialize": {
+ "version": "0.1.9",
+ "resolved": "https://registry.npmjs.org/remotedev-serialize/-/remotedev-serialize-0.1.9.tgz",
+ "integrity": "sha512-5tFdZg9mSaAWTv6xmQ7HtHjKMLSFQFExEZOtJe10PLsv1wb7cy7kYHtBvTYRro27/3fRGEcQBRNKSaixOpb69w==",
+ "deprecated": "Package moved to @redux-devtools/serialize.",
+ "dependencies": {
+ "jsan": "^3.1.13"
+ }
+ },
+ "node_modules/remove-trailing-separator": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
+ "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=",
+ "devOptional": true
+ },
+ "node_modules/repeat-element": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz",
+ "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==",
+ "devOptional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/repeat-string": {
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
+ "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=",
+ "devOptional": true,
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/repeating": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",
+ "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",
+ "dependencies": {
+ "is-finite": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/replace-ext": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-0.0.1.tgz",
+ "integrity": "sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ=",
+ "optional": true,
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/req-cwd": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/req-cwd/-/req-cwd-2.0.0.tgz",
+ "integrity": "sha1-1AgrTURZgDZkD7c93qAe1T20nrw=",
+ "dev": true,
+ "dependencies": {
+ "req-from": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/req-from": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/req-from/-/req-from-2.0.0.tgz",
+ "integrity": "sha1-10GI5H+TeW9Kpx327jWuaJ8+DnA=",
+ "dev": true,
+ "dependencies": {
+ "resolve-from": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/request": {
+ "version": "2.88.0",
+ "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz",
+ "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==",
+ "dependencies": {
+ "aws-sign2": "~0.7.0",
+ "aws4": "^1.8.0",
+ "caseless": "~0.12.0",
+ "combined-stream": "~1.0.6",
+ "extend": "~3.0.2",
+ "forever-agent": "~0.6.1",
+ "form-data": "~2.3.2",
+ "har-validator": "~5.1.0",
+ "http-signature": "~1.2.0",
+ "is-typedarray": "~1.0.0",
+ "isstream": "~0.1.2",
+ "json-stringify-safe": "~5.0.1",
+ "mime-types": "~2.1.19",
+ "oauth-sign": "~0.9.0",
+ "performance-now": "^2.1.0",
+ "qs": "~6.5.2",
+ "safe-buffer": "^5.1.2",
+ "tough-cookie": "~2.4.3",
+ "tunnel-agent": "^0.6.0",
+ "uuid": "^3.3.2"
+ },
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/request-promise": {
+ "version": "4.2.4",
+ "resolved": "https://registry.npmjs.org/request-promise/-/request-promise-4.2.4.tgz",
+ "integrity": "sha512-8wgMrvE546PzbR5WbYxUQogUnUDfM0S7QIFZMID+J73vdFARkFy+HElj4T+MWYhpXwlLp0EQ8Zoj8xUA0he4Vg==",
+ "dev": true,
+ "dependencies": {
+ "bluebird": "^3.5.0",
+ "request-promise-core": "1.1.2",
+ "stealthy-require": "^1.1.1",
+ "tough-cookie": "^2.3.3"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/request-promise-core": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.2.tgz",
+ "integrity": "sha512-UHYyq1MO8GsefGEt7EprS8UrXsm1TxEvFUX1IMTuSLU2Rh7fTIdFtl8xD7JiEYiWU2dl+NYAjCTksTehQUxPag==",
+ "dev": true,
+ "dependencies": {
+ "lodash": "^4.17.11"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/request-promise-native": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.7.tgz",
+ "integrity": "sha512-rIMnbBdgNViL37nZ1b3L/VfPOpSi0TqVDQPAvO6U14lMzOLrt5nilxCQqtDKhZeDiW0/hkCXGoQjhgJd/tCh6w==",
+ "dev": true,
+ "dependencies": {
+ "request-promise-core": "1.1.2",
+ "stealthy-require": "^1.1.1",
+ "tough-cookie": "^2.3.3"
+ },
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/require-directory": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
+ "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/require-from-string": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
+ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/require-main-filename": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz",
+ "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE="
+ },
+ "node_modules/requireg": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/requireg/-/requireg-0.2.2.tgz",
+ "integrity": "sha512-nYzyjnFcPNGR3lx9lwPPPnuQxv6JWEZd2Ci0u9opN7N5zUEPIhY/GbL3vMGOr2UXwEg9WwSyV9X9Y/kLFgPsOg==",
+ "dependencies": {
+ "nested-error-stacks": "~2.0.1",
+ "rc": "~1.2.7",
+ "resolve": "~1.7.1"
+ },
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
+ "node_modules/requireg/node_modules/resolve": {
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.7.1.tgz",
+ "integrity": "sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw==",
+ "dependencies": {
+ "path-parse": "^1.0.5"
+ }
+ },
+ "node_modules/requires-port": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
+ "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=",
+ "optional": true
+ },
+ "node_modules/reselect": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/reselect/-/reselect-4.0.0.tgz",
+ "integrity": "sha512-qUgANli03jjAyGlnbYVAV5vvnOmJnODyABz51RdBN7M4WaVu8mecZWgyQNkG8Yqe3KRGRt0l4K4B3XVEULC4CA=="
+ },
+ "node_modules/reselect-tree": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/reselect-tree/-/reselect-tree-1.3.4.tgz",
+ "integrity": "sha512-1OgNq1IStyJFqIqOoD3k3Ge4SsYCMP9W88VQOfvgyLniVKLfvbYO1Vrl92SyEK5021MkoBX6tWb381VxTDyPBQ==",
+ "dependencies": {
+ "debug": "^3.1.0",
+ "esdoc": "^1.0.4",
+ "json-pointer": "^0.6.0",
+ "reselect": "^4.0.0",
+ "source-map-support": "^0.5.3"
+ }
+ },
+ "node_modules/reset": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/reset/-/reset-0.1.0.tgz",
+ "integrity": "sha1-n8cxQXGZWubLC35YsGznUir0uvs=",
+ "optional": true,
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/resolve": {
+ "version": "1.20.0",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz",
+ "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==",
+ "dependencies": {
+ "is-core-module": "^2.2.0",
+ "path-parse": "^1.0.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz",
+ "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/resolve-url": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",
+ "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=",
+ "devOptional": true
+ },
+ "node_modules/responselike": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
+ "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=",
+ "dependencies": {
+ "lowercase-keys": "^1.0.0"
+ }
+ },
+ "node_modules/restore-cursor": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
+ "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=",
+ "devOptional": true,
+ "dependencies": {
+ "onetime": "^2.0.0",
+ "signal-exit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/resumer": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz",
+ "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=",
+ "dependencies": {
+ "through": "~2.3.4"
+ }
+ },
+ "node_modules/ret": {
+ "version": "0.1.15",
+ "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
+ "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.12"
+ }
+ },
+ "node_modules/retimer": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/retimer/-/retimer-2.0.0.tgz",
+ "integrity": "sha512-KLXY85WkEq2V2bKex/LOO1ViXVn2KGYe4PYysAdYdjmraYIUsVkXu8O4am+8+5UbaaGl1qho4aqAAPHNQ4GSbg==",
+ "optional": true
+ },
+ "node_modules/retry": {
+ "version": "0.10.1",
+ "resolved": "https://registry.npmjs.org/retry/-/retry-0.10.1.tgz",
+ "integrity": "sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q=",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/reusify": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
+ "optional": true,
+ "engines": {
+ "iojs": ">=1.0.0",
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/rimraf": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
+ "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
+ "node_modules/rimraf/node_modules/glob": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
+ "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/ripemd160": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz",
+ "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==",
+ "dependencies": {
+ "hash-base": "^3.0.0",
+ "inherits": "^2.0.1"
+ }
+ },
+ "node_modules/rlp": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.3.tgz",
+ "integrity": "sha512-l6YVrI7+d2vpW6D6rS05x2Xrmq8oW7v3pieZOJKBEdjuTF4Kz/iwk55Zyh1Zaz+KOB2kC8+2jZlp2u9L4tTzCQ==",
+ "dependencies": {
+ "bn.js": "^4.11.1",
+ "safe-buffer": "^5.1.1"
+ },
+ "bin": {
+ "rlp": "bin/rlp"
+ }
+ },
+ "node_modules/rn-host-detect": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/rn-host-detect/-/rn-host-detect-1.2.0.tgz",
+ "integrity": "sha512-btNg5kzHcjZZ7t7mvvV/4wNJ9e3MPgrWivkRgWURzXL0JJ0pwWlU4zrbmdlz3HHzHOxhBhHB4D+/dbMFfu4/4A=="
+ },
+ "node_modules/rpc-websockets": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-5.3.1.tgz",
+ "integrity": "sha512-rIxEl1BbXRlIA9ON7EmY/2GUM7RLMy8zrUPTiLPFiYnYOz0I3PXfCmDDrge5vt4pW4oIcAXBDvgZuJ1jlY5+VA==",
+ "optional": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "assert-args": "^1.2.1",
+ "babel-runtime": "^6.26.0",
+ "circular-json": "^0.5.9",
+ "eventemitter3": "^3.1.2",
+ "uuid": "^3.4.0",
+ "ws": "^5.2.2"
+ },
+ "funding": {
+ "type": "paypal",
+ "url": "https://paypal.me/kozjak"
+ }
+ },
+ "node_modules/rpc-websockets/node_modules/uuid": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
+ "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
+ "optional": true,
+ "bin": {
+ "uuid": "bin/uuid"
+ }
+ },
+ "node_modules/run": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/run/-/run-1.4.0.tgz",
+ "integrity": "sha1-4X2ekEOrL+F3dsspnhI3848LT/o=",
+ "optional": true,
+ "dependencies": {
+ "minimatch": "*"
+ },
+ "bin": {
+ "runjs": "cli.js"
+ },
+ "engines": {
+ "node": ">=v0.9.0"
+ }
+ },
+ "node_modules/run-async": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz",
+ "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=",
+ "dev": true,
+ "dependencies": {
+ "is-promise": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/run-parallel": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "optional": true,
+ "dependencies": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
+ "node_modules/run-queue": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz",
+ "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=",
+ "dependencies": {
+ "aproba": "^1.1.1"
+ }
+ },
+ "node_modules/rustbn.js": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/rustbn.js/-/rustbn.js-0.2.0.tgz",
+ "integrity": "sha512-4VlvkRUuCJvr2J6Y0ImW7NvTCriMi7ErOAqWk1y69vAdoNIzCF3yPmgeNzx+RQTLEDFq5sHfscn1MwHxP9hNfA=="
+ },
+ "node_modules/rxjs": {
+ "version": "6.6.7",
+ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz",
+ "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==",
+ "dependencies": {
+ "tslib": "^1.9.0"
+ },
+ "engines": {
+ "npm": ">=2.0.0"
+ }
+ },
+ "node_modules/safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
+ },
+ "node_modules/safe-event-emitter": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/safe-event-emitter/-/safe-event-emitter-1.0.1.tgz",
+ "integrity": "sha512-e1wFe99A91XYYxoQbcq2ZJUWurxEyP8vfz7A7vuUe1s95q8r5ebraVaA1BukYJcpM6V16ugWoD9vngi8Ccu5fg==",
+ "dependencies": {
+ "events": "^3.0.0"
+ }
+ },
+ "node_modules/safe-regex": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",
+ "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=",
+ "dev": true,
+ "dependencies": {
+ "ret": "~0.1.10"
+ }
+ },
+ "node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
+ },
+ "node_modules/sax": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
+ "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==",
+ "optional": true
+ },
+ "node_modules/sc-channel": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/sc-channel/-/sc-channel-1.2.0.tgz",
+ "integrity": "sha512-M3gdq8PlKg0zWJSisWqAsMmTVxYRTpVRqw4CWAdKBgAfVKumFcTjoCV0hYu7lgUXccCtCD8Wk9VkkE+IXCxmZA==",
+ "dependencies": {
+ "component-emitter": "1.2.1"
+ }
+ },
+ "node_modules/sc-errors": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/sc-errors/-/sc-errors-2.0.1.tgz",
+ "integrity": "sha512-JoVhq3Ud+3Ujv2SIG7W0XtjRHsrNgl6iXuHHsh0s+Kdt5NwI6N2EGAZD4iteitdDv68ENBkpjtSvN597/wxPSQ=="
+ },
+ "node_modules/sc-formatter": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/sc-formatter/-/sc-formatter-3.0.2.tgz",
+ "integrity": "sha512-9PbqYBpCq+OoEeRQ3QfFIGE6qwjjBcd2j7UjgDlhnZbtSnuGgHdcRklPKYGuYFH82V/dwd+AIpu8XvA1zqTd+A=="
+ },
+ "node_modules/scrypt-async": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/scrypt-async/-/scrypt-async-2.0.1.tgz",
+ "integrity": "sha512-wHR032jldwZNy7Tzrfu7RccOgGf8r5hyDMSP2uV6DpLiBUsR8JsDcx/in73o2UGVVrH5ivRFdNsFPcjtl3LErQ==",
+ "optional": true
+ },
+ "node_modules/scrypt-js": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-2.0.4.tgz",
+ "integrity": "sha512-4KsaGcPnuhtCZQCxFxN3GVYIhKFPTdLd8PLC552XwbMndtD0cjRFAhDuuydXQ0h08ZfPgzqe6EKHozpuH74iDw=="
+ },
+ "node_modules/secp256k1": {
+ "version": "3.7.1",
+ "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.7.1.tgz",
+ "integrity": "sha512-1cf8sbnRreXrQFdH6qsg2H71Xw91fCCS9Yp021GnUNJzWJS/py96fS4lHbnTnouLp08Xj6jBoBB6V78Tdbdu5g==",
+ "dependencies": {
+ "bindings": "^1.5.0",
+ "bip66": "^1.1.5",
+ "bn.js": "^4.11.8",
+ "create-hash": "^1.2.0",
+ "drbg.js": "^1.0.1",
+ "elliptic": "^6.4.1",
+ "nan": "^2.14.0",
+ "safe-buffer": "^5.1.2"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/seedrandom": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/seedrandom/-/seedrandom-3.0.5.tgz",
+ "integrity": "sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg==",
+ "optional": true
+ },
+ "node_modules/semaphore": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/semaphore/-/semaphore-1.1.0.tgz",
+ "integrity": "sha512-O4OZEaNtkMd/K0i6js9SL+gqy0ZCBMgUvlSqHKi4IBdjhe7wB8pwztUk1BbZ1fmrvpwFrPbHzqd2w5pTcJH6LA==",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/semaphore-async-await": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/semaphore-async-await/-/semaphore-async-await-1.5.1.tgz",
+ "integrity": "sha1-hXvvXjZEYBykuVcLh+nfXKEpdPo=",
+ "engines": {
+ "node": ">=4.1"
+ }
+ },
+ "node_modules/semver": {
+ "version": "5.7.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz",
+ "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==",
+ "bin": {
+ "semver": "bin/semver"
+ }
+ },
+ "node_modules/semver-diff": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-2.1.0.tgz",
+ "integrity": "sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY=",
+ "dependencies": {
+ "semver": "^5.0.3"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/semver-utils": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/semver-utils/-/semver-utils-1.1.4.tgz",
+ "integrity": "sha512-EjnoLE5OGmDAVV/8YDoN5KiajNadjzIp9BAHOhYeQHt7j0UWxjmgsx4YD48wp4Ue1Qogq38F1GNUJNqF1kKKxA=="
+ },
+ "node_modules/send": {
+ "version": "0.17.1",
+ "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz",
+ "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==",
+ "dependencies": {
+ "debug": "2.6.9",
+ "depd": "~1.1.2",
+ "destroy": "~1.0.4",
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "etag": "~1.8.1",
+ "fresh": "0.5.2",
+ "http-errors": "~1.7.2",
+ "mime": "1.6.0",
+ "ms": "2.1.1",
+ "on-finished": "~2.3.0",
+ "range-parser": "~1.2.1",
+ "statuses": "~1.5.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/send/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/send/node_modules/debug/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ },
+ "node_modules/send/node_modules/http-errors": {
+ "version": "1.7.3",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz",
+ "integrity": "sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw==",
+ "dependencies": {
+ "depd": "~1.1.2",
+ "inherits": "2.0.4",
+ "setprototypeof": "1.1.1",
+ "statuses": ">= 1.5.0 < 2",
+ "toidentifier": "1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/send/node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
+ },
+ "node_modules/send/node_modules/ms": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
+ "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg=="
+ },
+ "node_modules/sentence-case": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/sentence-case/-/sentence-case-2.1.1.tgz",
+ "integrity": "sha1-H24t2jnBaL+S0T+G1KkYkz9mftQ=",
+ "dependencies": {
+ "no-case": "^2.2.0",
+ "upper-case-first": "^1.1.2"
+ }
+ },
+ "node_modules/serialize-javascript": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz",
+ "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==",
+ "dependencies": {
+ "randombytes": "^2.1.0"
+ }
+ },
+ "node_modules/serve-static": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
+ "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==",
+ "dependencies": {
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "parseurl": "~1.3.3",
+ "send": "0.17.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/servify": {
+ "version": "0.1.12",
+ "resolved": "https://registry.npmjs.org/servify/-/servify-0.1.12.tgz",
+ "integrity": "sha512-/xE6GvsKKqyo1BAY+KxOWXcLpPsUUyji7Qg3bVD7hh1eRze5bR1uYiuDA/k3Gof1s9BTzQZEJK8sNcNGFIzeWw==",
+ "dependencies": {
+ "body-parser": "^1.16.0",
+ "cors": "^2.8.1",
+ "express": "^4.14.0",
+ "request": "^2.79.0",
+ "xhr": "^2.3.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/set-blocking": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
+ "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc="
+ },
+ "node_modules/set-immediate-shim": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz",
+ "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/set-value": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz",
+ "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==",
+ "dev": true,
+ "dependencies": {
+ "extend-shallow": "^2.0.1",
+ "is-extendable": "^0.1.1",
+ "is-plain-object": "^2.0.3",
+ "split-string": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/set-value/node_modules/extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "dev": true,
+ "dependencies": {
+ "is-extendable": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/setimmediate": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.4.tgz",
+ "integrity": "sha1-IOgd5iLUoCWIzgyNqJc8vPHTE48="
+ },
+ "node_modules/setprototypeof": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
+ "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw=="
+ },
+ "node_modules/sha.js": {
+ "version": "2.4.11",
+ "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",
+ "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==",
+ "dependencies": {
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.0.1"
+ },
+ "bin": {
+ "sha.js": "bin.js"
+ }
+ },
+ "node_modules/sha1": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/sha1/-/sha1-1.1.1.tgz",
+ "integrity": "sha1-rdqnqTFo85PxnrKxUJFhjicA+Eg=",
+ "dev": true,
+ "dependencies": {
+ "charenc": ">= 0.0.1",
+ "crypt": ">= 0.0.1"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/shallowequal": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz",
+ "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ=="
+ },
+ "node_modules/shebang-command": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
+ "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=",
+ "dependencies": {
+ "shebang-regex": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
+ "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/signal-exit": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
+ "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0="
+ },
+ "node_modules/signed-varint": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/signed-varint/-/signed-varint-2.0.1.tgz",
+ "integrity": "sha1-UKmYnafJjCxh2tEZvJdHDvhSgSk=",
+ "optional": true,
+ "dependencies": {
+ "varint": "~5.0.0"
+ }
+ },
+ "node_modules/signed-varint/node_modules/varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
+ },
+ "node_modules/signedsource": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/signedsource/-/signedsource-1.0.0.tgz",
+ "integrity": "sha1-HdrOSYF5j5O9gzlzgD2A1S6TrWo=",
+ "optional": true
+ },
+ "node_modules/simple-concat": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.0.tgz",
+ "integrity": "sha1-c0TLuLbib7J9ZrL8hvn21Zl1IcY="
+ },
+ "node_modules/simple-get": {
+ "version": "2.8.1",
+ "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-2.8.1.tgz",
+ "integrity": "sha512-lSSHRSw3mQNUGPAYRqo7xy9dhKmxFXIjLjp4KHpf99GEH2VH7C3AM+Qfx6du6jhfUi6Vm7XnbEVEf7Wb6N8jRw==",
+ "dependencies": {
+ "decompress-response": "^3.3.0",
+ "once": "^1.3.1",
+ "simple-concat": "^1.0.0"
+ }
+ },
+ "node_modules/sisteransi": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.2.tgz",
+ "integrity": "sha512-ZcYcZcT69nSLAR2oLN2JwNmLkJEKGooFMCdvOkFrToUt/WfcRWqhIg4P4KwY4dmLbuyXIx4o4YmPsvMRJYJd/w=="
+ },
+ "node_modules/slash": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
+ "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/slice-ansi": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz",
+ "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^3.2.0",
+ "astral-regex": "^1.0.0",
+ "is-fullwidth-code-point": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/slice-ansi/node_modules/is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/smart-buffer": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.0.2.tgz",
+ "integrity": "sha512-JDhEpTKzXusOqXZ0BUIdH+CjFdO/CR3tLlf5CN34IypI+xMmXW1uB16OOY8z3cICbJlDAVJzNbwBhNO0wt9OAw==",
+ "engines": {
+ "node": ">= 4.0.0",
+ "npm": ">= 3.0.0"
+ }
+ },
+ "node_modules/snake-case": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/snake-case/-/snake-case-2.1.0.tgz",
+ "integrity": "sha1-Qb2xtz8w7GagTU4srRt2OH1NbZ8=",
+ "dependencies": {
+ "no-case": "^2.2.0"
+ }
+ },
+ "node_modules/snapdragon": {
+ "version": "0.8.2",
+ "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",
+ "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==",
+ "dev": true,
+ "dependencies": {
+ "base": "^0.11.1",
+ "debug": "^2.2.0",
+ "define-property": "^0.2.5",
+ "extend-shallow": "^2.0.1",
+ "map-cache": "^0.2.2",
+ "source-map": "^0.5.6",
+ "source-map-resolve": "^0.5.0",
+ "use": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/snapdragon-node": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz",
+ "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==",
+ "dev": true,
+ "dependencies": {
+ "define-property": "^1.0.0",
+ "isobject": "^3.0.0",
+ "snapdragon-util": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/snapdragon-node/node_modules/define-property": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
+ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
+ "dev": true,
+ "dependencies": {
+ "is-descriptor": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/snapdragon-node/node_modules/is-accessor-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
+ "dev": true,
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/snapdragon-node/node_modules/is-data-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
+ "dev": true,
+ "dependencies": {
+ "kind-of": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/snapdragon-node/node_modules/is-descriptor": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
+ "dev": true,
+ "dependencies": {
+ "is-accessor-descriptor": "^1.0.0",
+ "is-data-descriptor": "^1.0.0",
+ "kind-of": "^6.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/snapdragon-util": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz",
+ "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==",
+ "dev": true,
+ "dependencies": {
+ "kind-of": "^3.2.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/snapdragon-util/node_modules/kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "dev": true,
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/snapdragon/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dev": true,
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/snapdragon/node_modules/define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "dev": true,
+ "dependencies": {
+ "is-descriptor": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/snapdragon/node_modules/extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "dev": true,
+ "dependencies": {
+ "is-extendable": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/socketcluster-client": {
+ "version": "14.3.1",
+ "resolved": "https://registry.npmjs.org/socketcluster-client/-/socketcluster-client-14.3.1.tgz",
+ "integrity": "sha512-Sd/T0K/9UlqTfz+HUuFq90dshA5OBJPQbdkRzGtcKIOm52fkdsBTt0FYpiuzzxv5VrU7PWpRm6KIfNXyPwlLpw==",
+ "dependencies": {
+ "buffer": "^5.2.1",
+ "clone": "2.1.1",
+ "component-emitter": "1.2.1",
+ "linked-list": "0.1.0",
+ "querystring": "0.2.0",
+ "sc-channel": "^1.2.0",
+ "sc-errors": "^2.0.1",
+ "sc-formatter": "^3.0.1",
+ "uuid": "3.2.1",
+ "ws": "7.1.0"
+ }
+ },
+ "node_modules/socketcluster-client/node_modules/clone": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.1.tgz",
+ "integrity": "sha1-0hfR6WERjjrJpLi7oyhVU79kfNs=",
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/socketcluster-client/node_modules/querystring": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",
+ "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=",
+ "engines": {
+ "node": ">=0.4.x"
+ }
+ },
+ "node_modules/socketcluster-client/node_modules/uuid": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz",
+ "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==",
+ "bin": {
+ "uuid": "bin/uuid"
+ }
+ },
+ "node_modules/socketcluster-client/node_modules/ws": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.1.0.tgz",
+ "integrity": "sha512-Swie2C4fs7CkwlHu1glMePLYJJsWjzhl1vm3ZaLplD0h7OMkZyZ6kLTB/OagiU923bZrPFXuDTeEqaEN4NWG4g==",
+ "dependencies": {
+ "async-limiter": "^1.0.0"
+ }
+ },
+ "node_modules/socks": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/socks/-/socks-2.3.2.tgz",
+ "integrity": "sha512-pCpjxQgOByDHLlNqlnh/mNSAxIUkyBBuwwhTcV+enZGbDaClPvHdvm6uvOwZfFJkam7cGhBNbb4JxiP8UZkRvQ==",
+ "dependencies": {
+ "ip": "^1.1.5",
+ "smart-buffer": "4.0.2"
+ },
+ "engines": {
+ "node": ">= 6.0.0",
+ "npm": ">= 3.0.0"
+ }
+ },
+ "node_modules/socks-proxy-agent": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz",
+ "integrity": "sha512-NT6syHhI9LmuEMSK6Kd2V7gNv5KFZoLE7V5udWmn0de+3Mkj3UMA/AJPLyeNUVmElCurSHtUdM3ETpR3z770Wg==",
+ "dependencies": {
+ "agent-base": "~4.2.1",
+ "socks": "~2.3.2"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/socks-proxy-agent/node_modules/agent-base": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.2.1.tgz",
+ "integrity": "sha512-JVwXMr9nHYTUXsBFKUqhJwvlcYU/blreOEUkhNR2eXZIvwd+c+o5V4MgDPKWnMS/56awN3TRzIP+KoPn+roQtg==",
+ "dependencies": {
+ "es6-promisify": "^5.0.0"
+ },
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
+ "node_modules/solc": {
+ "version": "0.5.17",
+ "resolved": "https://registry.npmjs.org/solc/-/solc-0.5.17.tgz",
+ "integrity": "sha512-qpX+PGaU0Q3c6lh2vDzMoIbhv6bIrecI4bYsx+xUs01xsGFnY6Nr0L8y/QMyutTnrHN6Lb/Yl672ZVRqxka96w==",
+ "dependencies": {
+ "command-exists": "^1.2.8",
+ "commander": "3.0.2",
+ "fs-extra": "^0.30.0",
+ "js-sha3": "0.8.0",
+ "memorystream": "^0.3.1",
+ "require-from-string": "^2.0.0",
+ "semver": "^5.5.0",
+ "tmp": "0.0.33"
+ },
+ "bin": {
+ "solcjs": "solcjs"
+ }
+ },
+ "node_modules/solc/node_modules/commander": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz",
+ "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow=="
+ },
+ "node_modules/solc/node_modules/js-sha3": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz",
+ "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q=="
+ },
+ "node_modules/solhint": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/solhint/-/solhint-2.2.0.tgz",
+ "integrity": "sha512-KNi9qGu17XNV75q9eFftrWIpDVHbejyZ5vaDuNQwet0e9+k8Xw0BdckyVUjYRfFQXAQA3nBTafxUVUtkM4cfIA==",
+ "dev": true,
+ "dependencies": {
+ "ajv": "^6.6.1",
+ "antlr4": "4.7.1",
+ "chalk": "^2.4.2",
+ "commander": "2.18.0",
+ "cosmiconfig": "^5.0.7",
+ "eslint": "^5.6.0",
+ "fast-diff": "^1.1.2",
+ "glob": "^7.1.3",
+ "ignore": "^4.0.6",
+ "js-yaml": "^3.12.0",
+ "lodash": "^4.17.11",
+ "prettier": "^1.14.3",
+ "semver": "^6.0.0"
+ },
+ "bin": {
+ "solhint": "solhint.js"
+ }
+ },
+ "node_modules/solhint-plugin-prettier": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/solhint-plugin-prettier/-/solhint-plugin-prettier-0.0.3.tgz",
+ "integrity": "sha512-kdg1c7d5/X/RKTBS9AskwAKOZLpFhwUBelwjrUq43EQXOLd2HR81WvENZWcVNmzewiPTEOoZo3CqqE/Hy/84WQ==",
+ "dev": true,
+ "dependencies": {
+ "prettier-linter-helpers": "^1.0.0"
+ }
+ },
+ "node_modules/solhint/node_modules/acorn": {
+ "version": "6.4.1",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz",
+ "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==",
+ "dev": true,
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/solhint/node_modules/ansi-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/solhint/node_modules/cross-spawn": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
+ "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
+ "dev": true,
+ "dependencies": {
+ "nice-try": "^1.0.4",
+ "path-key": "^2.0.1",
+ "semver": "^5.5.0",
+ "shebang-command": "^1.2.0",
+ "which": "^1.2.9"
+ },
+ "engines": {
+ "node": ">=4.8"
+ }
+ },
+ "node_modules/solhint/node_modules/cross-spawn/node_modules/semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver"
+ }
+ },
+ "node_modules/solhint/node_modules/debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "dev": true,
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/solhint/node_modules/eslint": {
+ "version": "5.16.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.16.0.tgz",
+ "integrity": "sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.0.0",
+ "ajv": "^6.9.1",
+ "chalk": "^2.1.0",
+ "cross-spawn": "^6.0.5",
+ "debug": "^4.0.1",
+ "doctrine": "^3.0.0",
+ "eslint-scope": "^4.0.3",
+ "eslint-utils": "^1.3.1",
+ "eslint-visitor-keys": "^1.0.0",
+ "espree": "^5.0.1",
+ "esquery": "^1.0.1",
+ "esutils": "^2.0.2",
+ "file-entry-cache": "^5.0.1",
+ "functional-red-black-tree": "^1.0.1",
+ "glob": "^7.1.2",
+ "globals": "^11.7.0",
+ "ignore": "^4.0.6",
+ "import-fresh": "^3.0.0",
+ "imurmurhash": "^0.1.4",
+ "inquirer": "^6.2.2",
+ "js-yaml": "^3.13.0",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "levn": "^0.3.0",
+ "lodash": "^4.17.11",
+ "minimatch": "^3.0.4",
+ "mkdirp": "^0.5.1",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.8.2",
+ "path-is-inside": "^1.0.2",
+ "progress": "^2.0.0",
+ "regexpp": "^2.0.1",
+ "semver": "^5.5.1",
+ "strip-ansi": "^4.0.0",
+ "strip-json-comments": "^2.0.1",
+ "table": "^5.2.3",
+ "text-table": "^0.2.0"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^6.14.0 || ^8.10.0 || >=9.10.0"
+ }
+ },
+ "node_modules/solhint/node_modules/eslint-scope": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz",
+ "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==",
+ "dev": true,
+ "dependencies": {
+ "esrecurse": "^4.1.0",
+ "estraverse": "^4.1.1"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/solhint/node_modules/eslint/node_modules/semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver"
+ }
+ },
+ "node_modules/solhint/node_modules/espree": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz",
+ "integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==",
+ "dev": true,
+ "dependencies": {
+ "acorn": "^6.0.7",
+ "acorn-jsx": "^5.0.0",
+ "eslint-visitor-keys": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/solhint/node_modules/estraverse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
+ "dev": true,
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/solhint/node_modules/glob": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
+ "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
+ "dev": true,
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/solhint/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true
+ },
+ "node_modules/solhint/node_modules/semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/solhint/node_modules/strip-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/solidity-parser-antlr": {
+ "version": "0.4.8",
+ "resolved": "https://registry.npmjs.org/solidity-parser-antlr/-/solidity-parser-antlr-0.4.8.tgz",
+ "integrity": "sha512-HkAAvzLfw2OPmkuGLcy8M5yVaO4PWagmV4t7DSKYi3pXQZG7TPQ2dWl1c0QTp56snX08FeKsBAsPhXY43yjZUQ==",
+ "dependencies": {
+ "npm-check-updates": "^3.1.11"
+ }
+ },
+ "node_modules/source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/source-map-resolve": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz",
+ "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==",
+ "devOptional": true,
+ "dependencies": {
+ "atob": "^2.1.1",
+ "decode-uri-component": "^0.2.0",
+ "resolve-url": "^0.2.1",
+ "source-map-url": "^0.4.0",
+ "urix": "^0.1.0"
+ }
+ },
+ "node_modules/source-map-support": {
+ "version": "0.5.12",
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.12.tgz",
+ "integrity": "sha512-4h2Pbvyy15EE02G+JOZpUCmqWJuqrs+sEkzewTm++BPi7Hvn/HwcqLAcNxYAyI0x13CpPPn+kMjl+hplXMHITQ==",
+ "dependencies": {
+ "buffer-from": "^1.0.0",
+ "source-map": "^0.6.0"
+ }
+ },
+ "node_modules/source-map-support/node_modules/source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/source-map-url": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz",
+ "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=",
+ "devOptional": true
+ },
+ "node_modules/spark-md5": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/spark-md5/-/spark-md5-3.0.0.tgz",
+ "integrity": "sha1-NyIifFTi+vJLHcbZM8wUTm9xv+8=",
+ "optional": true
+ },
+ "node_modules/spawn-please": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/spawn-please/-/spawn-please-0.3.0.tgz",
+ "integrity": "sha1-2zOOxM/2Orxp8dDgjO6euL69nRE=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/spdx-correct": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz",
+ "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==",
+ "dependencies": {
+ "spdx-expression-parse": "^3.0.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "node_modules/spdx-exceptions": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz",
+ "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA=="
+ },
+ "node_modules/spdx-expression-parse": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz",
+ "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==",
+ "dependencies": {
+ "spdx-exceptions": "^2.1.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "node_modules/spdx-license-ids": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.3.tgz",
+ "integrity": "sha512-uBIcIl3Ih6Phe3XHK1NqboJLdGfwr1UN3k6wSD1dZpmPsIkb8AGNbZYJ1fOBk834+Gxy8rpfDxrS6XLEMZMY2g=="
+ },
+ "node_modules/spinnies": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/spinnies/-/spinnies-0.5.1.tgz",
+ "integrity": "sha512-WpjSXv9NQz0nU3yCT9TFEOfpFrXADY9C5fG6eAJqixLhvTX1jP3w92Y8IE5oafIe42nlF9otjhllnXN/QCaB3A==",
+ "optional": true,
+ "dependencies": {
+ "chalk": "^2.4.2",
+ "cli-cursor": "^3.0.0",
+ "strip-ansi": "^5.2.0"
+ }
+ },
+ "node_modules/spinnies/node_modules/ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "optional": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/spinnies/node_modules/cli-cursor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
+ "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==",
+ "optional": true,
+ "dependencies": {
+ "restore-cursor": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/spinnies/node_modules/mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "optional": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/spinnies/node_modules/onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "optional": true,
+ "dependencies": {
+ "mimic-fn": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/spinnies/node_modules/restore-cursor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
+ "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",
+ "optional": true,
+ "dependencies": {
+ "onetime": "^5.1.0",
+ "signal-exit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/spinnies/node_modules/strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "optional": true,
+ "dependencies": {
+ "ansi-regex": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/split-string": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",
+ "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==",
+ "dev": true,
+ "dependencies": {
+ "extend-shallow": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/sprintf-js": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
+ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw="
+ },
+ "node_modules/sqlite3": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/sqlite3/-/sqlite3-4.2.0.tgz",
+ "integrity": "sha512-roEOz41hxui2Q7uYnWsjMOTry6TcNUNmp8audCx18gF10P2NknwdpF+E+HKvz/F2NvPKGGBF4NGc+ZPQ+AABwg==",
+ "hasInstallScript": true,
+ "optional": true,
+ "dependencies": {
+ "nan": "^2.12.1",
+ "node-pre-gyp": "^0.11.0"
+ }
+ },
+ "node_modules/sse-z": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/sse-z/-/sse-z-0.3.0.tgz",
+ "integrity": "sha512-jfcXynl9oAOS9YJ7iqS2JMUEHOlvrRAD+54CENiWnc4xsuVLQVSgmwf7cwOTcBd/uq3XkQKBGojgvEtVXcJ/8w==",
+ "optional": true
+ },
+ "node_modules/sshpk": {
+ "version": "1.16.1",
+ "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz",
+ "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==",
+ "dependencies": {
+ "asn1": "~0.2.3",
+ "assert-plus": "^1.0.0",
+ "bcrypt-pbkdf": "^1.0.0",
+ "dashdash": "^1.12.0",
+ "ecc-jsbn": "~0.1.1",
+ "getpass": "^0.1.1",
+ "jsbn": "~0.1.0",
+ "safer-buffer": "^2.0.2",
+ "tweetnacl": "~0.14.0"
+ },
+ "bin": {
+ "sshpk-conv": "bin/sshpk-conv",
+ "sshpk-sign": "bin/sshpk-sign",
+ "sshpk-verify": "bin/sshpk-verify"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ssri": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz",
+ "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==",
+ "dependencies": {
+ "figgy-pudding": "^3.5.1"
+ }
+ },
+ "node_modules/stable": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz",
+ "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==",
+ "optional": true
+ },
+ "node_modules/static-extend": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",
+ "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=",
+ "dev": true,
+ "dependencies": {
+ "define-property": "^0.2.5",
+ "object-copy": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/static-extend/node_modules/define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "dev": true,
+ "dependencies": {
+ "is-descriptor": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/statuses": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
+ "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/stealthy-require": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz",
+ "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/stoppable": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/stoppable/-/stoppable-1.1.0.tgz",
+ "integrity": "sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==",
+ "optional": true,
+ "engines": {
+ "node": ">=4",
+ "npm": ">=6"
+ }
+ },
+ "node_modules/stream-each": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz",
+ "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==",
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "stream-shift": "^1.0.0"
+ }
+ },
+ "node_modules/stream-shift": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz",
+ "integrity": "sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI="
+ },
+ "node_modules/stream-to-it": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/stream-to-it/-/stream-to-it-0.2.3.tgz",
+ "integrity": "sha512-xaK9EjPtLox5rrC7YLSBXSanTtUJN/lzJlMFvy9VaROmnyvy0U/X6m2uMhXPJRn3g3M9uOSIzTszW7BPiWSg9w==",
+ "optional": true,
+ "dependencies": {
+ "get-iterator": "^1.0.2"
+ }
+ },
+ "node_modules/streamsearch": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-0.1.2.tgz",
+ "integrity": "sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/strict-uri-encode": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz",
+ "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/string_decoder": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
+ "dependencies": {
+ "safe-buffer": "~5.1.0"
+ }
+ },
+ "node_modules/string-width": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
+ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
+ "dependencies": {
+ "code-point-at": "^1.0.0",
+ "is-fullwidth-code-point": "^1.0.0",
+ "strip-ansi": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/string.prototype.trim": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz",
+ "integrity": "sha1-0E3iyJ4Tf019IG8Ia17S+ua+jOo=",
+ "dependencies": {
+ "define-properties": "^1.1.2",
+ "es-abstract": "^1.5.0",
+ "function-bind": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/string.prototype.trimstart": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz",
+ "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/strip-ansi": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
+ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
+ "dependencies": {
+ "ansi-regex": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/strip-bom": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
+ "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/strip-bom-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom-stream/-/strip-bom-stream-1.0.0.tgz",
+ "integrity": "sha1-5xRDmFd9Uaa+0PoZlPoF9D/ZiO4=",
+ "optional": true,
+ "dependencies": {
+ "first-chunk-stream": "^1.0.0",
+ "strip-bom": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/strip-bom-stream/node_modules/strip-bom": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
+ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
+ "optional": true,
+ "dependencies": {
+ "is-utf8": "^0.2.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/strip-eof": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
+ "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/strip-hex-prefix": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz",
+ "integrity": "sha1-DF8VX+8RUTczd96du1iNoFUA428=",
+ "dependencies": {
+ "is-hex-prefixed": "1.0.0"
+ },
+ "engines": {
+ "node": ">=6.5.0",
+ "npm": ">=3"
+ }
+ },
+ "node_modules/strip-json-comments": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
+ "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/sublevel-pouchdb": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/sublevel-pouchdb/-/sublevel-pouchdb-7.2.2.tgz",
+ "integrity": "sha512-y5uYgwKDgXVyPZceTDGWsSFAhpSddY29l9PJbXqMJLfREdPmQTY8InpatohlEfCXX7s1LGcrfYAhxPFZaJOLnQ==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "2.0.4",
+ "level-codec": "9.0.2",
+ "ltgt": "2.2.1",
+ "readable-stream": "1.1.14"
+ }
+ },
+ "node_modules/sublevel-pouchdb/node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "node_modules/sublevel-pouchdb/node_modules/isarray": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
+ "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
+ "optional": true
+ },
+ "node_modules/sublevel-pouchdb/node_modules/level-codec": {
+ "version": "9.0.2",
+ "resolved": "https://registry.npmjs.org/level-codec/-/level-codec-9.0.2.tgz",
+ "integrity": "sha512-UyIwNb1lJBChJnGfjmO0OR+ezh2iVu1Kas3nvBS/BzGnx79dv6g7unpKIDNPMhfdTEGoc7mC8uAu51XEtX+FHQ==",
+ "optional": true,
+ "dependencies": {
+ "buffer": "^5.6.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/sublevel-pouchdb/node_modules/readable-stream": {
+ "version": "1.1.14",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
+ "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
+ "optional": true,
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "0.0.1",
+ "string_decoder": "~0.10.x"
+ }
+ },
+ "node_modules/sublevel-pouchdb/node_modules/string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
+ "optional": true
+ },
+ "node_modules/subscriptions-transport-ws": {
+ "version": "0.9.18",
+ "resolved": "https://registry.npmjs.org/subscriptions-transport-ws/-/subscriptions-transport-ws-0.9.18.tgz",
+ "integrity": "sha512-tztzcBTNoEbuErsVQpTN2xUNN/efAZXyCyL5m3x4t6SKrEiTL2N8SaKWBFWM4u56pL79ULif3zjyeq+oV+nOaA==",
+ "optional": true,
+ "dependencies": {
+ "backo2": "^1.0.2",
+ "eventemitter3": "^3.1.0",
+ "iterall": "^1.2.1",
+ "symbol-observable": "^1.0.4",
+ "ws": "^5.2.0"
+ },
+ "peerDependencies": {
+ "graphql": ">=0.10.0"
+ }
+ },
+ "node_modules/subscriptions-transport-ws/node_modules/symbol-observable": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
+ "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "5.4.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz",
+ "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==",
+ "dev": true,
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/supports-color/node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/supports-hyperlinks": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-1.0.1.tgz",
+ "integrity": "sha512-HHi5kVSefKaJkGYXbDuKbUGRVxqnWGn3J2e39CYcNJEfWciGq2zYtOhXLTlvrOZW1QU7VX67w7fMmWafHX9Pfw==",
+ "dev": true,
+ "dependencies": {
+ "has-flag": "^2.0.0",
+ "supports-color": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/swap-case": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/swap-case/-/swap-case-1.1.2.tgz",
+ "integrity": "sha1-w5IDpFhzhfrTyFCgvRvK+ggZdOM=",
+ "dependencies": {
+ "lower-case": "^1.1.1",
+ "upper-case": "^1.1.1"
+ }
+ },
+ "node_modules/swarm-js": {
+ "version": "0.1.40",
+ "resolved": "https://registry.npmjs.org/swarm-js/-/swarm-js-0.1.40.tgz",
+ "integrity": "sha512-yqiOCEoA4/IShXkY3WKwP5PvZhmoOOD8clsKA7EEcRILMkTEYHCQ21HDCAcVpmIxZq4LyZvWeRJ6quIyHk1caA==",
+ "dependencies": {
+ "bluebird": "^3.5.0",
+ "buffer": "^5.0.5",
+ "eth-lib": "^0.1.26",
+ "fs-extra": "^4.0.2",
+ "got": "^7.1.0",
+ "mime-types": "^2.1.16",
+ "mkdirp-promise": "^5.0.1",
+ "mock-fs": "^4.1.0",
+ "setimmediate": "^1.0.5",
+ "tar": "^4.0.2",
+ "xhr-request": "^1.0.1"
+ }
+ },
+ "node_modules/swarm-js/node_modules/fs-extra": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz",
+ "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==",
+ "dependencies": {
+ "graceful-fs": "^4.1.2",
+ "jsonfile": "^4.0.0",
+ "universalify": "^0.1.0"
+ }
+ },
+ "node_modules/swarm-js/node_modules/got": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/got/-/got-7.1.0.tgz",
+ "integrity": "sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw==",
+ "dependencies": {
+ "decompress-response": "^3.2.0",
+ "duplexer3": "^0.1.4",
+ "get-stream": "^3.0.0",
+ "is-plain-obj": "^1.1.0",
+ "is-retry-allowed": "^1.0.0",
+ "is-stream": "^1.0.0",
+ "isurl": "^1.0.0-alpha5",
+ "lowercase-keys": "^1.0.0",
+ "p-cancelable": "^0.3.0",
+ "p-timeout": "^1.1.1",
+ "safe-buffer": "^5.0.1",
+ "timed-out": "^4.0.0",
+ "url-parse-lax": "^1.0.0",
+ "url-to-options": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/swarm-js/node_modules/is-plain-obj": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz",
+ "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/swarm-js/node_modules/jsonfile": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
+ "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
+ "optionalDependencies": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
+ "node_modules/swarm-js/node_modules/p-cancelable": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.3.0.tgz",
+ "integrity": "sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/swarm-js/node_modules/setimmediate": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
+ "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="
+ },
+ "node_modules/swarm-js/node_modules/universalify": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
+ "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
+ "node_modules/symbol": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/symbol/-/symbol-0.2.3.tgz",
+ "integrity": "sha1-O5hzuKkB5Hxu/iFSajrDcu8ou8c=",
+ "optional": true
+ },
+ "node_modules/symbol-observable": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz",
+ "integrity": "sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA==",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/symbol-tree": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
+ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==",
+ "optional": true
+ },
+ "node_modules/sync-fetch": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/sync-fetch/-/sync-fetch-0.3.0.tgz",
+ "integrity": "sha512-dJp4qg+x4JwSEW1HibAuMi0IIrBI3wuQr2GimmqB7OXR50wmwzfdusG+p39R9w3R6aFtZ2mzvxvWKQ3Bd/vx3g==",
+ "optional": true,
+ "dependencies": {
+ "buffer": "^5.7.0",
+ "node-fetch": "^2.6.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/sync-fetch/node_modules/node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true,
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/sync-request": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/sync-request/-/sync-request-6.1.0.tgz",
+ "integrity": "sha512-8fjNkrNlNCrVc/av+Jn+xxqfCjYaBoHqCsDz6mt030UMxJGr+GSfCV1dQt2gRtlL63+VPidwDVLr7V2OcTSdRw==",
+ "dev": true,
+ "dependencies": {
+ "http-response-object": "^3.0.1",
+ "sync-rpc": "^1.2.1",
+ "then-request": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/sync-rpc": {
+ "version": "1.3.6",
+ "resolved": "https://registry.npmjs.org/sync-rpc/-/sync-rpc-1.3.6.tgz",
+ "integrity": "sha512-J8jTXuZzRlvU7HemDgHi3pGnh/rkoqR/OZSjhTyyZrEkkYQbk7Z33AXp37mkPfPpfdOuj7Ex3H/TJM1z48uPQw==",
+ "dev": true,
+ "dependencies": {
+ "get-port": "^3.1.0"
+ }
+ },
+ "node_modules/table": {
+ "version": "5.4.6",
+ "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz",
+ "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==",
+ "dev": true,
+ "dependencies": {
+ "ajv": "^6.10.2",
+ "lodash": "^4.17.14",
+ "slice-ansi": "^2.1.0",
+ "string-width": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/table/node_modules/ajv": {
+ "version": "6.10.2",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz",
+ "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==",
+ "dev": true,
+ "dependencies": {
+ "fast-deep-equal": "^2.0.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ }
+ },
+ "node_modules/table/node_modules/ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/table/node_modules/is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/table/node_modules/string-width": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
+ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
+ "dev": true,
+ "dependencies": {
+ "emoji-regex": "^7.0.1",
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/table/node_modules/strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/taffydb": {
+ "version": "2.7.3",
+ "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.3.tgz",
+ "integrity": "sha1-KtNxaWKUmPylvIQkMJbTzeDsOjQ="
+ },
+ "node_modules/tape": {
+ "version": "4.13.3",
+ "resolved": "https://registry.npmjs.org/tape/-/tape-4.13.3.tgz",
+ "integrity": "sha512-0/Y20PwRIUkQcTCSi4AASs+OANZZwqPKaipGCEwp10dQMipVvSZwUUCi01Y/OklIGyHKFhIcjock+DKnBfLAFw==",
+ "dependencies": {
+ "deep-equal": "~1.1.1",
+ "defined": "~1.0.0",
+ "dotignore": "~0.1.2",
+ "for-each": "~0.3.3",
+ "function-bind": "~1.1.1",
+ "glob": "~7.1.6",
+ "has": "~1.0.3",
+ "inherits": "~2.0.4",
+ "is-regex": "~1.0.5",
+ "minimist": "~1.2.5",
+ "object-inspect": "~1.7.0",
+ "resolve": "~1.17.0",
+ "resumer": "~0.0.0",
+ "string.prototype.trim": "~1.2.1",
+ "through": "~2.3.8"
+ },
+ "bin": {
+ "tape": "bin/tape"
+ }
+ },
+ "node_modules/tape/node_modules/glob": {
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/tape/node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
+ },
+ "node_modules/tape/node_modules/is-regex": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
+ "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
+ "dependencies": {
+ "has": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/tape/node_modules/minimist": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
+ "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
+ },
+ "node_modules/tape/node_modules/resolve": {
+ "version": "1.17.0",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz",
+ "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==",
+ "dependencies": {
+ "path-parse": "^1.0.6"
+ }
+ },
+ "node_modules/tape/node_modules/string.prototype.trim": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.1.tgz",
+ "integrity": "sha512-MjGFEeqixw47dAMFMtgUro/I0+wNqZB5GKXGt1fFr24u3TzDXCPu7J9Buppzoe3r/LqkSDLDDJzE15RGWDGAVw==",
+ "dependencies": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.0-next.1",
+ "function-bind": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/tar": {
+ "version": "4.4.10",
+ "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.10.tgz",
+ "integrity": "sha512-g2SVs5QIxvo6OLp0GudTqEf05maawKUxXru104iaayWA09551tFCTI8f1Asb4lPfkBr91k07iL4c11XO3/b0tA==",
+ "dependencies": {
+ "chownr": "^1.1.1",
+ "fs-minipass": "^1.2.5",
+ "minipass": "^2.3.5",
+ "minizlib": "^1.2.1",
+ "mkdirp": "^0.5.0",
+ "safe-buffer": "^5.1.2",
+ "yallist": "^3.0.3"
+ },
+ "engines": {
+ "node": ">=4.5"
+ }
+ },
+ "node_modules/tar-fs": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.0.tgz",
+ "integrity": "sha512-9uW5iDvrIMCVpvasdFHW0wJPez0K4JnMZtsuIeDI7HyMGJNxmDZDOCQROr7lXyS+iL/QMpj07qcjGYTSdRFXUg==",
+ "optional": true,
+ "dependencies": {
+ "chownr": "^1.1.1",
+ "mkdirp-classic": "^0.5.2",
+ "pump": "^3.0.0",
+ "tar-stream": "^2.0.0"
+ }
+ },
+ "node_modules/tar-fs/node_modules/pump": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "optional": true,
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "node_modules/tar-stream": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.1.3.tgz",
+ "integrity": "sha512-Z9yri56Dih8IaK8gncVPx4Wqt86NDmQTSh49XLZgjWpGZL9GK9HKParS2scqHCC4w6X9Gh2jwaU45V47XTKwVA==",
+ "optional": true,
+ "dependencies": {
+ "bl": "^4.0.1",
+ "end-of-stream": "^1.4.1",
+ "fs-constants": "^1.0.0",
+ "inherits": "^2.0.3",
+ "readable-stream": "^3.1.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/tar-stream/node_modules/readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/tar/node_modules/yallist": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",
+ "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A=="
+ },
+ "node_modules/term-size": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz",
+ "integrity": "sha1-RYuDiH8oj8Vtb/+/rSYuJmOO+mk=",
+ "dependencies": {
+ "execa": "^0.7.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/text-table": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
+ "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=",
+ "dev": true
+ },
+ "node_modules/then-request": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/then-request/-/then-request-6.0.2.tgz",
+ "integrity": "sha512-3ZBiG7JvP3wbDzA9iNY5zJQcHL4jn/0BWtXIkagfz7QgOL/LqjCEOBQuJNZfu0XYnv5JhKh+cDxCPM4ILrqruA==",
+ "dev": true,
+ "dependencies": {
+ "@types/concat-stream": "^1.6.0",
+ "@types/form-data": "0.0.33",
+ "@types/node": "^8.0.0",
+ "@types/qs": "^6.2.31",
+ "caseless": "~0.12.0",
+ "concat-stream": "^1.6.0",
+ "form-data": "^2.2.0",
+ "http-basic": "^8.1.1",
+ "http-response-object": "^3.0.1",
+ "promise": "^8.0.0",
+ "qs": "^6.4.0"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/then-request/node_modules/@types/node": {
+ "version": "8.10.53",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.53.tgz",
+ "integrity": "sha512-aOmXdv1a1/vYUn1OT1CED8ftbkmmYbKhKGSyMDeJiidLvKRKvZUQOdXwG/wcNY7T1Qb0XTlVdiYjIq00U7pLrQ==",
+ "dev": true
+ },
+ "node_modules/through": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
+ "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU="
+ },
+ "node_modules/through2": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz",
+ "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==",
+ "dependencies": {
+ "readable-stream": "~2.3.6",
+ "xtend": "~4.0.1"
+ }
+ },
+ "node_modules/through2-filter": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-2.0.0.tgz",
+ "integrity": "sha1-YLxVoNrLdghdsfna6Zq0P4PWIuw=",
+ "optional": true,
+ "dependencies": {
+ "through2": "~2.0.0",
+ "xtend": "~4.0.0"
+ }
+ },
+ "node_modules/tildify": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/tildify/-/tildify-1.2.0.tgz",
+ "integrity": "sha1-3OwD9V3Km3qj5bBPIYF+tW5jWIo=",
+ "optional": true,
+ "dependencies": {
+ "os-homedir": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/timed-out": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz",
+ "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/timeout-abort-controller": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/timeout-abort-controller/-/timeout-abort-controller-1.1.1.tgz",
+ "integrity": "sha512-BsF9i3NAJag6T0ZEjki9j654zoafI2X6ayuNd6Tp8+Ul6Tr5s4jo973qFeiWrRSweqvskC+AHDKUmIW4b7pdhQ==",
+ "optional": true,
+ "dependencies": {
+ "abort-controller": "^3.0.0",
+ "retimer": "^2.0.0"
+ }
+ },
+ "node_modules/tiny-queue": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/tiny-queue/-/tiny-queue-0.2.1.tgz",
+ "integrity": "sha1-JaZ/LG4lOyypQZd7XvdELvl6YEY=",
+ "optional": true
+ },
+ "node_modules/tiny-secp256k1": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz",
+ "integrity": "sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA==",
+ "hasInstallScript": true,
+ "optional": true,
+ "dependencies": {
+ "bindings": "^1.3.0",
+ "bn.js": "^4.11.8",
+ "create-hmac": "^1.1.7",
+ "elliptic": "^6.4.0",
+ "nan": "^2.13.2"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/title-case": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/title-case/-/title-case-2.1.1.tgz",
+ "integrity": "sha1-PhJyFtpY0rxb7PE3q5Ha46fNj6o=",
+ "dependencies": {
+ "no-case": "^2.2.0",
+ "upper-case": "^1.0.3"
+ }
+ },
+ "node_modules/tmp": {
+ "version": "0.0.33",
+ "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
+ "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
+ "dependencies": {
+ "os-tmpdir": "~1.0.2"
+ },
+ "engines": {
+ "node": ">=0.6.0"
+ }
+ },
+ "node_modules/to-absolute-glob": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz",
+ "integrity": "sha1-HN+kcqnvUMI57maZm2YsoOs5k38=",
+ "optional": true,
+ "dependencies": {
+ "extend-shallow": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/to-absolute-glob/node_modules/extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "optional": true,
+ "dependencies": {
+ "is-extendable": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/to-data-view": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/to-data-view/-/to-data-view-1.1.0.tgz",
+ "integrity": "sha512-1eAdufMg6mwgmlojAx3QeMnzB/BTVp7Tbndi3U7ftcT2zCZadjxkkmLmd97zmaxWi+sgGcgWrokmpEoy0Dn0vQ==",
+ "optional": true
+ },
+ "node_modules/to-fast-properties": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz",
+ "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/to-json-schema": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/to-json-schema/-/to-json-schema-0.2.5.tgz",
+ "integrity": "sha512-jP1ievOee8pec3tV9ncxLSS48Bnw7DIybgy112rhMCEhf3K4uyVNZZHr03iQQBzbV5v5Hos+dlZRRyk6YSMNDw==",
+ "optional": true,
+ "dependencies": {
+ "lodash.isequal": "^4.5.0",
+ "lodash.keys": "^4.2.0",
+ "lodash.merge": "^4.6.2",
+ "lodash.omit": "^4.5.0",
+ "lodash.without": "^4.4.0",
+ "lodash.xor": "^4.5.0"
+ }
+ },
+ "node_modules/to-object-path": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",
+ "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=",
+ "dev": true,
+ "dependencies": {
+ "kind-of": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/to-object-path/node_modules/kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "dev": true,
+ "dependencies": {
+ "is-buffer": "^1.1.5"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/to-readable-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz",
+ "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/to-regex": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz",
+ "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==",
+ "dev": true,
+ "dependencies": {
+ "define-property": "^2.0.2",
+ "extend-shallow": "^3.0.2",
+ "regex-not": "^1.0.2",
+ "safe-regex": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/to-regex-range": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",
+ "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",
+ "dev": true,
+ "dependencies": {
+ "is-number": "^3.0.0",
+ "repeat-string": "^1.6.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/toidentifier": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
+ "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/touch": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz",
+ "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==",
+ "dev": true,
+ "dependencies": {
+ "nopt": "~1.0.10"
+ },
+ "bin": {
+ "nodetouch": "bin/nodetouch.js"
+ }
+ },
+ "node_modules/tough-cookie": {
+ "version": "2.4.3",
+ "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz",
+ "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==",
+ "dependencies": {
+ "psl": "^1.1.24",
+ "punycode": "^1.4.1"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/tough-cookie/node_modules/punycode": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
+ "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="
+ },
+ "node_modules/tr46": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
+ "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=",
+ "optional": true
+ },
+ "node_modules/trim-right": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz",
+ "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/truffle": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/truffle/-/truffle-5.3.2.tgz",
+ "integrity": "sha512-2fqx5x9eO71HB9VF7/XEqj+PwlJqYC4Z/3BtfL5gJmXqBXVfr3/zvpmgPcpmOlkqmA9ZmkVGnqSS93uUnSxq+g==",
+ "hasInstallScript": true,
+ "dependencies": {
+ "@truffle/debugger": "^8.0.21",
+ "app-module-path": "^2.2.0",
+ "mocha": "8.1.2",
+ "original-require": "^1.0.1"
+ },
+ "bin": {
+ "truffle": "build/cli.bundled.js"
+ },
+ "optionalDependencies": {
+ "@truffle/db": "^0.5.7",
+ "@truffle/preserve-fs": "^0.2.0",
+ "@truffle/preserve-to-buckets": "^0.2.0",
+ "@truffle/preserve-to-filecoin": "^0.2.0",
+ "@truffle/preserve-to-ipfs": "^0.2.0"
+ }
+ },
+ "node_modules/truffle-flattener": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/truffle-flattener/-/truffle-flattener-1.4.2.tgz",
+ "integrity": "sha512-7qUIzaW8a4vI4nui14wsytht2oaqvqnZ1Iet2wRq2T0bCJ0wb6HByMKQhZKpU46R+n5BMTY4K5n+0ITyeNlmuQ==",
+ "dependencies": {
+ "@resolver-engine/imports-fs": "^0.2.2",
+ "find-up": "^2.1.0",
+ "mkdirp": "^0.5.1",
+ "solidity-parser-antlr": "^0.4.11",
+ "tsort": "0.0.1"
+ },
+ "bin": {
+ "truffle-flattener": "index.js"
+ }
+ },
+ "node_modules/truffle-flattener/node_modules/find-up": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
+ "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
+ "dependencies": {
+ "locate-path": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/truffle-flattener/node_modules/solidity-parser-antlr": {
+ "version": "0.4.11",
+ "resolved": "https://registry.npmjs.org/solidity-parser-antlr/-/solidity-parser-antlr-0.4.11.tgz",
+ "integrity": "sha512-4jtxasNGmyC0midtjH/lTFPZYvTTUMy6agYcF+HoMnzW8+cqo3piFrINb4ZCzpPW+7tTVFCGa5ubP34zOzeuMg=="
+ },
+ "node_modules/truffle/node_modules/ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/truffle/node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/truffle/node_modules/anymatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",
+ "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
+ "dependencies": {
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/truffle/node_modules/binary-extensions": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
+ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/truffle/node_modules/braces": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "dependencies": {
+ "fill-range": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/truffle/node_modules/chalk": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
+ "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/truffle/node_modules/chokidar": {
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.2.tgz",
+ "integrity": "sha512-IZHaDeBeI+sZJRX7lGcXsdzgvZqKv6sECqsbErJA4mHWfpRrD8B97kSFN4cQz6nGBGiuFia1MKR4d6c1o8Cv7A==",
+ "dependencies": {
+ "anymatch": "~3.1.1",
+ "braces": "~3.0.2",
+ "glob-parent": "~5.1.0",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.4.0"
+ },
+ "engines": {
+ "node": ">= 8.10.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.1.2"
+ }
+ },
+ "node_modules/truffle/node_modules/cliui": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
+ "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==",
+ "dependencies": {
+ "string-width": "^3.1.0",
+ "strip-ansi": "^5.2.0",
+ "wrap-ansi": "^5.1.0"
+ }
+ },
+ "node_modules/truffle/node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/truffle/node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
+ },
+ "node_modules/truffle/node_modules/debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "deprecated": "Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)",
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/truffle/node_modules/diff": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
+ "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
+ "engines": {
+ "node": ">=0.3.1"
+ }
+ },
+ "node_modules/truffle/node_modules/escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/truffle/node_modules/fill-range": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/truffle/node_modules/find-up": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
+ "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
+ "dependencies": {
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/truffle/node_modules/get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
+ "engines": {
+ "node": "6.* || 8.* || >= 10.*"
+ }
+ },
+ "node_modules/truffle/node_modules/glob": {
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/truffle/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/truffle/node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/truffle/node_modules/he": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
+ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
+ "bin": {
+ "he": "bin/he"
+ }
+ },
+ "node_modules/truffle/node_modules/is-binary-path": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "dependencies": {
+ "binary-extensions": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/truffle/node_modules/is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/truffle/node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/truffle/node_modules/locate-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/truffle/node_modules/log-symbols": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz",
+ "integrity": "sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA==",
+ "dependencies": {
+ "chalk": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/truffle/node_modules/mocha": {
+ "version": "8.1.2",
+ "resolved": "https://registry.npmjs.org/mocha/-/mocha-8.1.2.tgz",
+ "integrity": "sha512-I8FRAcuACNMLQn3lS4qeWLxXqLvGf6r2CaLstDpZmMUUSmvW6Cnm1AuHxgbc7ctZVRcfwspCRbDHymPsi3dkJw==",
+ "dependencies": {
+ "ansi-colors": "4.1.1",
+ "browser-stdout": "1.3.1",
+ "chokidar": "3.4.2",
+ "debug": "4.1.1",
+ "diff": "4.0.2",
+ "escape-string-regexp": "4.0.0",
+ "find-up": "5.0.0",
+ "glob": "7.1.6",
+ "growl": "1.10.5",
+ "he": "1.2.0",
+ "js-yaml": "3.14.0",
+ "log-symbols": "4.0.0",
+ "minimatch": "3.0.4",
+ "ms": "2.1.2",
+ "object.assign": "4.1.0",
+ "promise.allsettled": "1.0.2",
+ "serialize-javascript": "4.0.0",
+ "strip-json-comments": "3.0.1",
+ "supports-color": "7.1.0",
+ "which": "2.0.2",
+ "wide-align": "1.1.3",
+ "workerpool": "6.0.0",
+ "yargs": "13.3.2",
+ "yargs-parser": "13.1.2",
+ "yargs-unparser": "1.6.1"
+ },
+ "bin": {
+ "_mocha": "bin/_mocha",
+ "mocha": "bin/mocha"
+ },
+ "engines": {
+ "node": ">= 10.12.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mochajs"
+ }
+ },
+ "node_modules/truffle/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
+ },
+ "node_modules/truffle/node_modules/p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/truffle/node_modules/p-locate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/truffle/node_modules/p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/truffle/node_modules/readdirp": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz",
+ "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==",
+ "dependencies": {
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/truffle/node_modules/require-main-filename": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
+ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
+ },
+ "node_modules/truffle/node_modules/string-width": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
+ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
+ "dependencies": {
+ "emoji-regex": "^7.0.1",
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/truffle/node_modules/strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "dependencies": {
+ "ansi-regex": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/truffle/node_modules/strip-json-comments": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz",
+ "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/truffle/node_modules/supports-color": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
+ "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/truffle/node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/truffle/node_modules/which": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/truffle/node_modules/wrap-ansi": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
+ "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
+ "dependencies": {
+ "ansi-styles": "^3.2.0",
+ "string-width": "^3.0.0",
+ "strip-ansi": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/truffle/node_modules/wrap-ansi/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/truffle/node_modules/wrap-ansi/node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/truffle/node_modules/wrap-ansi/node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
+ },
+ "node_modules/truffle/node_modules/y18n": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
+ "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
+ },
+ "node_modules/truffle/node_modules/yargs": {
+ "version": "13.3.2",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz",
+ "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==",
+ "dependencies": {
+ "cliui": "^5.0.0",
+ "find-up": "^3.0.0",
+ "get-caller-file": "^2.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^2.0.0",
+ "set-blocking": "^2.0.0",
+ "string-width": "^3.0.0",
+ "which-module": "^2.0.0",
+ "y18n": "^4.0.0",
+ "yargs-parser": "^13.1.2"
+ }
+ },
+ "node_modules/truffle/node_modules/yargs-parser": {
+ "version": "13.1.2",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz",
+ "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==",
+ "dependencies": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ }
+ },
+ "node_modules/truffle/node_modules/yargs/node_modules/find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "dependencies": {
+ "locate-path": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/truffle/node_modules/yargs/node_modules/locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "dependencies": {
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/truffle/node_modules/yargs/node_modules/p-limit": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "dependencies": {
+ "p-try": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/truffle/node_modules/yargs/node_modules/p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "dependencies": {
+ "p-limit": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/truffle/node_modules/yargs/node_modules/path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ts-essentials": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/ts-essentials/-/ts-essentials-1.0.4.tgz",
+ "integrity": "sha512-q3N1xS4vZpRouhYHDPwO0bDW3EZ6SK9CrrDHxi/D6BPReSjpVgWIOpLS2o0gSBZm+7q/wyKp6RVM1AeeW7uyfQ==",
+ "dev": true
+ },
+ "node_modules/ts-invariant": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/ts-invariant/-/ts-invariant-0.4.4.tgz",
+ "integrity": "sha512-uEtWkFM/sdZvRNNDL3Ehu4WVpwaulhwQszV8mrtcdeE8nN00BV9mAmQ88RkrBhFgl9gMgvjJLAQcZbnPXI9mlA==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^1.9.3"
+ }
+ },
+ "node_modules/ts-node": {
+ "version": "8.3.0",
+ "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-8.3.0.tgz",
+ "integrity": "sha512-dyNS/RqyVTDcmNM4NIBAeDMpsAdaQ+ojdf0GOLqE6nwJOgzEkdRNzJywhDfwnuvB10oa6NLVG1rUJQCpRN7qoQ==",
+ "dev": true,
+ "dependencies": {
+ "arg": "^4.1.0",
+ "diff": "^4.0.1",
+ "make-error": "^1.1.1",
+ "source-map-support": "^0.5.6",
+ "yn": "^3.0.0"
+ },
+ "bin": {
+ "ts-node": "dist/bin.js"
+ },
+ "engines": {
+ "node": ">=4.2.0"
+ }
+ },
+ "node_modules/ts-node/node_modules/diff": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.1.tgz",
+ "integrity": "sha512-s2+XdvhPCOF01LRQBC8hf4vhbVmI2CGS5aZnxLJlT5FtdhPCDFq80q++zK2KlrVorVDdL5BOGZ/VfLrVtYNF+Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.3.1"
+ }
+ },
+ "node_modules/tslib": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz",
+ "integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ=="
+ },
+ "node_modules/tsort": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/tsort/-/tsort-0.0.1.tgz",
+ "integrity": "sha1-4igPXoF/i/QnVlf9D5rr1E9aJ4Y="
+ },
+ "node_modules/tunnel-agent": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
+ "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
+ "dependencies": {
+ "safe-buffer": "^5.0.1"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/tweetnacl": {
+ "version": "0.14.5",
+ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
+ "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
+ },
+ "node_modules/tweetnacl-util": {
+ "version": "0.15.1",
+ "resolved": "https://registry.npmjs.org/tweetnacl-util/-/tweetnacl-util-0.15.1.tgz",
+ "integrity": "sha512-RKJBIj8lySrShN4w6i/BonWp2Z/uxwC3h4y7xsRrpP59ZboCd0GpEVsOnMDYLMmKBpYhb5TgHzZXy7wTfYFBRw=="
+ },
+ "node_modules/type": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
+ "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg=="
+ },
+ "node_modules/type-check": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
+ "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=",
+ "dependencies": {
+ "prelude-ls": "~1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/type-detect": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
+ "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/type-fest": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz",
+ "integrity": "sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/type-is": {
+ "version": "1.6.18",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
+ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
+ "dependencies": {
+ "media-typer": "0.3.0",
+ "mime-types": "~2.1.24"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/typedarray": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
+ "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c="
+ },
+ "node_modules/typedarray-to-buffer": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz",
+ "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==",
+ "dependencies": {
+ "is-typedarray": "^1.0.0"
+ }
+ },
+ "node_modules/typeforce": {
+ "version": "1.18.0",
+ "resolved": "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz",
+ "integrity": "sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g==",
+ "optional": true
+ },
+ "node_modules/typescript-compare": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/typescript-compare/-/typescript-compare-0.0.2.tgz",
+ "integrity": "sha512-8ja4j7pMHkfLJQO2/8tut7ub+J3Lw2S3061eJLFQcvs3tsmJKp8KG5NtpLn7KcY2w08edF74BSVN7qJS0U6oHA==",
+ "dependencies": {
+ "typescript-logic": "^0.0.0"
+ }
+ },
+ "node_modules/typescript-logic": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/typescript-logic/-/typescript-logic-0.0.0.tgz",
+ "integrity": "sha512-zXFars5LUkI3zP492ls0VskH3TtdeHCqu0i7/duGt60i5IGPIpAHE/DWo5FqJ6EjQ15YKXrt+AETjv60Dat34Q=="
+ },
+ "node_modules/typescript-tuple": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/typescript-tuple/-/typescript-tuple-2.2.1.tgz",
+ "integrity": "sha512-Zcr0lbt8z5ZdEzERHAMAniTiIKerFCMgd7yjq1fPnDJ43et/k9twIFQMUYff9k5oXcsQ0WpvFcgzK2ZKASoW6Q==",
+ "dependencies": {
+ "typescript-compare": "^0.0.2"
+ }
+ },
+ "node_modules/u2f-api": {
+ "version": "0.2.7",
+ "resolved": "https://registry.npmjs.org/u2f-api/-/u2f-api-0.2.7.tgz",
+ "integrity": "sha512-fqLNg8vpvLOD5J/z4B6wpPg4Lvowz1nJ9xdHcCzdUPKcFE/qNCceV2gNZxSJd5vhAZemHr/K/hbzVA0zxB5mkg=="
+ },
+ "node_modules/ua-parser-js": {
+ "version": "0.7.28",
+ "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.28.tgz",
+ "integrity": "sha512-6Gurc1n//gjp9eQNXjD9O3M/sMwVtN5S8Lv9bvOYBfKfDNiIIhqiyi01vMBO45u4zkDE420w/e0se7Vs+sIg+g==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/ua-parser-js"
+ },
+ {
+ "type": "paypal",
+ "url": "https://paypal.me/faisalman"
+ }
+ ],
+ "optional": true,
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/uglify-js": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.0.tgz",
+ "integrity": "sha512-W+jrUHJr3DXKhrsS7NUVxn3zqMOFn0hL/Ei6v0anCIMoKC93TjcflTagwIHLW7SfMFfiQuktQyFVCFHGUE0+yg==",
+ "optional": true,
+ "dependencies": {
+ "commander": "~2.20.0",
+ "source-map": "~0.6.1"
+ },
+ "bin": {
+ "uglifyjs": "bin/uglifyjs"
+ },
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/uglify-js/node_modules/commander": {
+ "version": "2.20.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz",
+ "integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==",
+ "optional": true
+ },
+ "node_modules/uglify-js/node_modules/source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/uint8arrays": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-2.1.5.tgz",
+ "integrity": "sha512-CSR7AO+4AHUeSOnZ/NBNCElDeWfRh9bXtOck27083kc7SznmmHIhNEkEOCQOn0wvrIMjS3IH0TNLR16vuc46mA==",
+ "optional": true,
+ "dependencies": {
+ "multibase": "^4.0.1"
+ }
+ },
+ "node_modules/uint8arrays/node_modules/multibase": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.4.tgz",
+ "integrity": "sha512-8/JmrdSGzlw6KTgAJCOqUBSGd1V6186i/X8dDCGy/lbCKrQ+1QB6f3HE+wPr7Tpdj4U3gutaj9jG2rNX6UpiJg==",
+ "optional": true,
+ "dependencies": {
+ "@multiformats/base-x": "^4.0.1"
+ },
+ "engines": {
+ "node": ">=12.0.0",
+ "npm": ">=6.0.0"
+ }
+ },
+ "node_modules/ultron": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz",
+ "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og=="
+ },
+ "node_modules/unbox-primitive": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz",
+ "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==",
+ "dependencies": {
+ "function-bind": "^1.1.1",
+ "has-bigints": "^1.0.1",
+ "has-symbols": "^1.0.2",
+ "which-boxed-primitive": "^1.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/undefsafe": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.2.tgz",
+ "integrity": "sha1-Il9rngM3Zj4Njnz9aG/Cg2zKznY=",
+ "dev": true,
+ "dependencies": {
+ "debug": "^2.2.0"
+ }
+ },
+ "node_modules/undefsafe/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dev": true,
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/underscore": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz",
+ "integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg=="
+ },
+ "node_modules/union-value": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",
+ "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==",
+ "dev": true,
+ "dependencies": {
+ "arr-union": "^3.1.0",
+ "get-value": "^2.0.6",
+ "is-extendable": "^0.1.1",
+ "set-value": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/unique-filename": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz",
+ "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==",
+ "dependencies": {
+ "unique-slug": "^2.0.0"
+ }
+ },
+ "node_modules/unique-slug": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz",
+ "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==",
+ "dependencies": {
+ "imurmurhash": "^0.1.4"
+ }
+ },
+ "node_modules/unique-stream": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.3.1.tgz",
+ "integrity": "sha512-2nY4TnBE70yoxHkDli7DMazpWiP7xMdCYqU2nBRO0UB+ZpEkGsSija7MvmvnZFUeC+mrgiUfcHSr3LmRFIg4+A==",
+ "dependencies": {
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "through2-filter": "^3.0.0"
+ }
+ },
+ "node_modules/unique-stream/node_modules/through2-filter": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-3.0.0.tgz",
+ "integrity": "sha512-jaRjI2WxN3W1V8/FMZ9HKIBXixtiqs3SQSX4/YGIiP3gL6djW48VoZq9tDqeCWs3MT8YY5wb/zli8VW8snY1CA==",
+ "dependencies": {
+ "through2": "~2.0.0",
+ "xtend": "~4.0.0"
+ }
+ },
+ "node_modules/unique-string": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-1.0.0.tgz",
+ "integrity": "sha1-nhBXzKhRq7kzmPizOuGHuZyuwRo=",
+ "dependencies": {
+ "crypto-random-string": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/universalify": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
+ "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
+ "optional": true,
+ "engines": {
+ "node": ">= 10.0.0"
+ }
+ },
+ "node_modules/unixify": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unixify/-/unixify-1.0.0.tgz",
+ "integrity": "sha1-OmQcjC/7zk2mg6XHDwOkYpQMIJA=",
+ "optional": true,
+ "dependencies": {
+ "normalize-path": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/unixify/node_modules/normalize-path": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
+ "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
+ "optional": true,
+ "dependencies": {
+ "remove-trailing-separator": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/unorm": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz",
+ "integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==",
+ "engines": {
+ "node": ">= 0.4.0"
+ }
+ },
+ "node_modules/unpipe": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
+ "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/unset-value": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",
+ "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=",
+ "dev": true,
+ "dependencies": {
+ "has-value": "^0.3.1",
+ "isobject": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/unset-value/node_modules/has-value": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz",
+ "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=",
+ "dev": true,
+ "dependencies": {
+ "get-value": "^2.0.3",
+ "has-values": "^0.1.4",
+ "isobject": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/unset-value/node_modules/has-value/node_modules/isobject": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
+ "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",
+ "dev": true,
+ "dependencies": {
+ "isarray": "1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/unset-value/node_modules/has-values": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz",
+ "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/unzip-response": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz",
+ "integrity": "sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/upath": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/upath/-/upath-1.1.2.tgz",
+ "integrity": "sha512-kXpym8nmDmlCBr7nKdIx8P2jNBa+pBpIUFRnKJ4dr8htyYGJFokkr2ZvERRtUN+9SY+JqXouNgUPtv6JQva/2Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=4",
+ "yarn": "*"
+ }
+ },
+ "node_modules/update-notifier": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-2.5.0.tgz",
+ "integrity": "sha512-gwMdhgJHGuj/+wHJJs9e6PcCszpxR1b236igrOkUofGhqJuG+amlIKwApH1IW1WWl7ovZxsX49lMBWLxSdm5Dw==",
+ "dev": true,
+ "dependencies": {
+ "boxen": "^1.2.1",
+ "chalk": "^2.0.1",
+ "configstore": "^3.0.0",
+ "import-lazy": "^2.1.0",
+ "is-ci": "^1.0.10",
+ "is-installed-globally": "^0.1.0",
+ "is-npm": "^1.0.0",
+ "latest-version": "^3.0.0",
+ "semver-diff": "^2.0.0",
+ "xdg-basedir": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/upper-case": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz",
+ "integrity": "sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg="
+ },
+ "node_modules/upper-case-first": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/upper-case-first/-/upper-case-first-1.1.2.tgz",
+ "integrity": "sha1-XXm+3P8UQZUY/S7bCgUHybaFkRU=",
+ "dependencies": {
+ "upper-case": "^1.1.1"
+ }
+ },
+ "node_modules/uri-js": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
+ "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
+ "dependencies": {
+ "punycode": "^2.1.0"
+ }
+ },
+ "node_modules/urix": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",
+ "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=",
+ "devOptional": true
+ },
+ "node_modules/url-join": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz",
+ "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==",
+ "dev": true
+ },
+ "node_modules/url-parse": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.1.tgz",
+ "integrity": "sha512-HOfCOUJt7iSYzEx/UqgtwKRMC6EU91NFhsCHMv9oM03VJcVo2Qrp8T8kI9D7amFf1cu+/3CEhgb3rF9zL7k85Q==",
+ "optional": true,
+ "dependencies": {
+ "querystringify": "^2.1.1",
+ "requires-port": "^1.0.0"
+ }
+ },
+ "node_modules/url-parse-lax": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz",
+ "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=",
+ "dependencies": {
+ "prepend-http": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/url-set-query": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/url-set-query/-/url-set-query-1.0.0.tgz",
+ "integrity": "sha1-AW6M/Xwg7gXK/neV6JK9BwL6ozk="
+ },
+ "node_modules/url-to-options": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz",
+ "integrity": "sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k=",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/ursa-optional": {
+ "version": "0.10.2",
+ "resolved": "https://registry.npmjs.org/ursa-optional/-/ursa-optional-0.10.2.tgz",
+ "integrity": "sha512-TKdwuLboBn7M34RcvVTuQyhvrA8gYKapuVdm0nBP0mnBc7oECOfUQZrY91cefL3/nm64ZyrejSRrhTVdX7NG/A==",
+ "hasInstallScript": true,
+ "optional": true,
+ "dependencies": {
+ "bindings": "^1.5.0",
+ "nan": "^2.14.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/usb": {
+ "version": "1.6.3",
+ "resolved": "https://registry.npmjs.org/usb/-/usb-1.6.3.tgz",
+ "integrity": "sha512-23KYMjaWydACd8wgGKMQ4MNwFspAT6Xeim4/9Onqe5Rz/nMb4TM/WHL+qPT0KNFxzNKzAs63n1xQWGEtgaQ2uw==",
+ "optional": true,
+ "dependencies": {
+ "bindings": "^1.4.0",
+ "nan": "2.13.2",
+ "prebuild-install": "^5.3.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/usb/node_modules/nan": {
+ "version": "2.13.2",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.13.2.tgz",
+ "integrity": "sha512-TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw==",
+ "optional": true
+ },
+ "node_modules/use": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
+ "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/utf-8-validate": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.4.tgz",
+ "integrity": "sha512-MEF05cPSq3AwJ2C7B7sHAA6i53vONoZbMGX8My5auEVm6W+dJ2Jd/TZPyGJ5CH42V2XtbI5FD28HeHeqlPzZ3Q==",
+ "hasInstallScript": true,
+ "dependencies": {
+ "node-gyp-build": "^4.2.0"
+ }
+ },
+ "node_modules/utf8": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/utf8/-/utf8-3.0.0.tgz",
+ "integrity": "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ=="
+ },
+ "node_modules/util": {
+ "version": "0.12.3",
+ "resolved": "https://registry.npmjs.org/util/-/util-0.12.3.tgz",
+ "integrity": "sha512-I8XkoQwE+fPQEhy9v012V+TSdH2kp9ts29i20TaaDUXsg7x/onePbhFJUExBfv/2ay1ZOp/Vsm3nDlmnFGSAog==",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "is-arguments": "^1.0.4",
+ "is-generator-function": "^1.0.7",
+ "is-typed-array": "^1.1.3",
+ "safe-buffer": "^5.1.2",
+ "which-typed-array": "^1.1.2"
+ }
+ },
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
+ },
+ "node_modules/util.promisify": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.1.1.tgz",
+ "integrity": "sha512-/s3UsZUrIfa6xDhr7zZhnE9SLQ5RIXyYfiVnMMyMDzOc8WhWN4Nbh36H842OyurKbCDAesZOJaVyvmSl6fhGQw==",
+ "dependencies": {
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3",
+ "for-each": "^0.3.3",
+ "has-symbols": "^1.0.1",
+ "object.getownpropertydescriptors": "^2.1.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/utils-merge": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
+ "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=",
+ "engines": {
+ "node": ">= 0.4.0"
+ }
+ },
+ "node_modules/uuid": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
+ "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==",
+ "bin": {
+ "uuid": "bin/uuid"
+ }
+ },
+ "node_modules/v8-compile-cache": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz",
+ "integrity": "sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==",
+ "dev": true
+ },
+ "node_modules/vali-date": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/vali-date/-/vali-date-1.0.0.tgz",
+ "integrity": "sha1-G5BKWWCfsyjvB4E4Qgk09rhnCaY=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/valid-url": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/valid-url/-/valid-url-1.0.9.tgz",
+ "integrity": "sha1-HBRHm0DxOXp1eC8RXkCGRHQzogA="
+ },
+ "node_modules/validate-npm-package-license": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
+ "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
+ "dependencies": {
+ "spdx-correct": "^3.0.0",
+ "spdx-expression-parse": "^3.0.0"
+ }
+ },
+ "node_modules/validate-npm-package-name": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz",
+ "integrity": "sha1-X6kS2B630MdK/BQN5zF/DKffQ34=",
+ "dependencies": {
+ "builtins": "^1.0.3"
+ }
+ },
+ "node_modules/varint": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-6.0.0.tgz",
+ "integrity": "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==",
+ "optional": true
+ },
+ "node_modules/vary": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
+ "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/verror": {
+ "version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
+ "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
+ "engines": [
+ "node >=0.6.0"
+ ],
+ "dependencies": {
+ "assert-plus": "^1.0.0",
+ "core-util-is": "1.0.2",
+ "extsprintf": "^1.2.0"
+ }
+ },
+ "node_modules/vinyl": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-1.2.0.tgz",
+ "integrity": "sha1-XIgDbPVl5d8FVYv8kR+GVt8hiIQ=",
+ "optional": true,
+ "dependencies": {
+ "clone": "^1.0.0",
+ "clone-stats": "^0.0.1",
+ "replace-ext": "0.0.1"
+ },
+ "engines": {
+ "node": ">= 0.9"
+ }
+ },
+ "node_modules/vinyl-fs": {
+ "version": "2.4.3",
+ "resolved": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-2.4.3.tgz",
+ "integrity": "sha1-PZflYuv91LZpId6nBia4S96dLQc=",
+ "optional": true,
+ "dependencies": {
+ "duplexify": "^3.2.0",
+ "glob-stream": "^5.3.2",
+ "graceful-fs": "^4.0.0",
+ "gulp-sourcemaps": "^1.5.2",
+ "is-valid-glob": "^0.3.0",
+ "lazystream": "^1.0.0",
+ "lodash.isequal": "^4.0.0",
+ "merge-stream": "^1.0.0",
+ "mkdirp": "^0.5.0",
+ "object-assign": "^4.0.0",
+ "readable-stream": "^2.0.4",
+ "strip-bom": "^2.0.0",
+ "strip-bom-stream": "^1.0.0",
+ "through2": "^2.0.0",
+ "through2-filter": "^2.0.0",
+ "vali-date": "^1.0.0",
+ "vinyl": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/vinyl-fs/node_modules/strip-bom": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
+ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
+ "optional": true,
+ "dependencies": {
+ "is-utf8": "^0.2.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/vinyl/node_modules/clone": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
+ "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=",
+ "optional": true,
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/vuvuzela": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/vuvuzela/-/vuvuzela-1.0.3.tgz",
+ "integrity": "sha1-O+FF5YJxxzylUnndhR8SpoIRSws=",
+ "optional": true
+ },
+ "node_modules/wcwidth": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz",
+ "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=",
+ "optional": true,
+ "dependencies": {
+ "defaults": "^1.0.3"
+ }
+ },
+ "node_modules/web-encoding": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/web-encoding/-/web-encoding-1.1.4.tgz",
+ "integrity": "sha512-EJn3rQ/blHgaOTG8XvxGsZXTCyw9p1RAaDI/L0W3jjJRvW25F8uRshacU4h49wc9Fj0JlKU+oyOKm40HDAj75w==",
+ "optional": true,
+ "dependencies": {
+ "util": "^0.12.3"
+ },
+ "optionalDependencies": {
+ "@zxing/text-encoding": "0.9.0"
+ }
+ },
+ "node_modules/web3": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3/-/web3-1.3.5.tgz",
+ "integrity": "sha512-UyQW/MT5EIGBrXPCh/FDIaD7RtJTn5/rJUNw2FOglp0qoXnCQHNKvntiR1ylztk05fYxIF6UgsC76IrazlKJjw==",
+ "hasInstallScript": true,
+ "dependencies": {
+ "web3-bzz": "1.3.5",
+ "web3-core": "1.3.5",
+ "web3-eth": "1.3.5",
+ "web3-eth-personal": "1.3.5",
+ "web3-net": "1.3.5",
+ "web3-shh": "1.3.5",
+ "web3-utils": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-bzz": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.3.5.tgz",
+ "integrity": "sha512-XiEUAbB1uKm/agqfwBsCW8fbw+sma85TfwuDpdcy591vinVk0S9TfWgLxro6v1KJ6nSELySIbKGbAJbh2GSyxw==",
+ "hasInstallScript": true,
+ "dependencies": {
+ "@types/node": "^12.12.6",
+ "got": "9.6.0",
+ "swarm-js": "^0.1.40",
+ "underscore": "1.9.1"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-bzz/node_modules/@types/node": {
+ "version": "12.20.10",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.10.tgz",
+ "integrity": "sha512-TxCmnSSppKBBOzYzPR2BR25YlX5Oay8z2XGwFBInuA/Co0V9xJhLlW4kjbxKtgeNo3NOMbQP1A5Rc03y+XecPw=="
+ },
+ "node_modules/web3-bzz/node_modules/get-stream": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
+ "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
+ "dependencies": {
+ "pump": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/web3-bzz/node_modules/got": {
+ "version": "9.6.0",
+ "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz",
+ "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==",
+ "dependencies": {
+ "@sindresorhus/is": "^0.14.0",
+ "@szmarczak/http-timer": "^1.1.2",
+ "cacheable-request": "^6.0.0",
+ "decompress-response": "^3.3.0",
+ "duplexer3": "^0.1.4",
+ "get-stream": "^4.1.0",
+ "lowercase-keys": "^1.0.1",
+ "mimic-response": "^1.0.1",
+ "p-cancelable": "^1.0.0",
+ "to-readable-stream": "^1.0.0",
+ "url-parse-lax": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/web3-bzz/node_modules/prepend-http": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
+ "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/web3-bzz/node_modules/pump": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "node_modules/web3-bzz/node_modules/url-parse-lax": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz",
+ "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=",
+ "dependencies": {
+ "prepend-http": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/web3-core": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.3.5.tgz",
+ "integrity": "sha512-VQjTvnGTqJwDwjKEHSApea3RmgtFGLDSJ6bqrOyHROYNyTyKYjFQ/drG9zs3rjDkND9mgh8foI1ty37Qua3QCQ==",
+ "dependencies": {
+ "@types/bn.js": "^4.11.5",
+ "@types/node": "^12.12.6",
+ "bignumber.js": "^9.0.0",
+ "web3-core-helpers": "1.3.5",
+ "web3-core-method": "1.3.5",
+ "web3-core-requestmanager": "1.3.5",
+ "web3-utils": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-core-helpers": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.3.5.tgz",
+ "integrity": "sha512-HYh3ix5FjysgT0jyzD8s/X5ym0b4BGU7I2QtuBiydMnE0mQEWy7GcT9XKpTySA8FTOHHIAQYvQS07DN/ky3UzA==",
+ "dependencies": {
+ "underscore": "1.9.1",
+ "web3-eth-iban": "1.3.5",
+ "web3-utils": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-core-method": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.3.5.tgz",
+ "integrity": "sha512-hCbmgQ+At6OTuaNGAdjXMsCr4eUCmp9yGKSuaB5HdkNVDpqFso4HHjVxcjNrTyJp3OZnyjKBzQzK1ZWLpLl84Q==",
+ "dependencies": {
+ "@ethersproject/transactions": "^5.0.0-beta.135",
+ "underscore": "1.9.1",
+ "web3-core-helpers": "1.3.5",
+ "web3-core-promievent": "1.3.5",
+ "web3-core-subscriptions": "1.3.5",
+ "web3-utils": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-core-promievent": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.3.5.tgz",
+ "integrity": "sha512-K0j8x3ZJr0eAyNvyUCxOUsSTd4hco0/9nxxlyOuijcsa6YV8l9NL6eqhniWbSyxCJT8ka5Mb7yAiUZe69EDLBQ==",
+ "dependencies": {
+ "eventemitter3": "4.0.4"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-core-promievent/node_modules/eventemitter3": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.4.tgz",
+ "integrity": "sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ=="
+ },
+ "node_modules/web3-core-requestmanager": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.3.5.tgz",
+ "integrity": "sha512-9l294U3Ga8qmvv8E37BqjQREfMs+kFnkU3PY28g9DZGYzKvl3V1dgDYqxyrOBdCFhc7rNSpHdgC4PrVHjouspg==",
+ "dependencies": {
+ "underscore": "1.9.1",
+ "util": "^0.12.0",
+ "web3-core-helpers": "1.3.5",
+ "web3-providers-http": "1.3.5",
+ "web3-providers-ipc": "1.3.5",
+ "web3-providers-ws": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-core-subscriptions": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.3.5.tgz",
+ "integrity": "sha512-6mtXdaEB1V1zKLqYBq7RF2W75AK5ZJNGpW6QYC7Zvbku7zq1ZlgaUkJo88JKMWJ7etfaHaYqQ/7VveHk5sQynA==",
+ "dependencies": {
+ "eventemitter3": "4.0.4",
+ "underscore": "1.9.1",
+ "web3-core-helpers": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-core-subscriptions/node_modules/eventemitter3": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.4.tgz",
+ "integrity": "sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ=="
+ },
+ "node_modules/web3-core/node_modules/@types/node": {
+ "version": "12.20.10",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.10.tgz",
+ "integrity": "sha512-TxCmnSSppKBBOzYzPR2BR25YlX5Oay8z2XGwFBInuA/Co0V9xJhLlW4kjbxKtgeNo3NOMbQP1A5Rc03y+XecPw=="
+ },
+ "node_modules/web3-eth": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.3.5.tgz",
+ "integrity": "sha512-5qqDPMMD+D0xRqOV2ePU2G7/uQmhn0FgCEhFzKDMHrssDQJyQLW/VgfA0NLn64lWnuUrGnQStGvNxrWf7MgsfA==",
+ "dependencies": {
+ "underscore": "1.9.1",
+ "web3-core": "1.3.5",
+ "web3-core-helpers": "1.3.5",
+ "web3-core-method": "1.3.5",
+ "web3-core-subscriptions": "1.3.5",
+ "web3-eth-abi": "1.3.5",
+ "web3-eth-accounts": "1.3.5",
+ "web3-eth-contract": "1.3.5",
+ "web3-eth-ens": "1.3.5",
+ "web3-eth-iban": "1.3.5",
+ "web3-eth-personal": "1.3.5",
+ "web3-net": "1.3.5",
+ "web3-utils": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-eth-abi": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.3.5.tgz",
+ "integrity": "sha512-bkbG2v/mOW5DH6rF/SEgqunusjYoEi2IBw+fkmD3rzWDaEY7+/i1xY94AeO257d06QMgld75GtV/N+aEs7A6vQ==",
+ "dependencies": {
+ "@ethersproject/abi": "5.0.7",
+ "underscore": "1.9.1",
+ "web3-utils": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-eth-accounts": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.3.5.tgz",
+ "integrity": "sha512-r3WOR21rgm6Cd6OFnifr3Tizdm5K+g2TsSOPySwX4FrgLrYDL6ck4zr5VXUPz+llpSExb/JztpE8pqEHr3U2NA==",
+ "dependencies": {
+ "crypto-browserify": "3.12.0",
+ "eth-lib": "0.2.8",
+ "ethereumjs-common": "^1.3.2",
+ "ethereumjs-tx": "^2.1.1",
+ "scrypt-js": "^3.0.1",
+ "underscore": "1.9.1",
+ "uuid": "3.3.2",
+ "web3-core": "1.3.5",
+ "web3-core-helpers": "1.3.5",
+ "web3-core-method": "1.3.5",
+ "web3-utils": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-eth-accounts/node_modules/eth-lib": {
+ "version": "0.2.8",
+ "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.8.tgz",
+ "integrity": "sha512-ArJ7x1WcWOlSpzdoTBX8vkwlkSQ85CjjifSZtV4co64vWxSV8geWfPI9x4SVYu3DSxnX4yWFVTtGL+j9DUFLNw==",
+ "dependencies": {
+ "bn.js": "^4.11.6",
+ "elliptic": "^6.4.0",
+ "xhr-request-promise": "^0.1.2"
+ }
+ },
+ "node_modules/web3-eth-accounts/node_modules/ethereumjs-tx": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-2.1.2.tgz",
+ "integrity": "sha512-zZEK1onCeiORb0wyCXUvg94Ve5It/K6GD1K+26KfFKodiBiS6d9lfCXlUKGBBdQ+bv7Day+JK0tj1K+BeNFRAw==",
+ "dependencies": {
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-util": "^6.0.0"
+ }
+ },
+ "node_modules/web3-eth-accounts/node_modules/ethereumjs-util": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.1.tgz",
+ "integrity": "sha512-W2Ktez4L01Vexijrm5EB6w7dg4n/TgpoYU4avuT5T3Vmnw/eCRtiBrJfQYS/DCSvDIOLn2k57GcHdeBcgVxAqw==",
+ "dependencies": {
+ "@types/bn.js": "^4.11.3",
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "elliptic": "^6.5.2",
+ "ethereum-cryptography": "^0.1.3",
+ "ethjs-util": "0.1.6",
+ "rlp": "^2.2.3"
+ }
+ },
+ "node_modules/web3-eth-accounts/node_modules/scrypt-js": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz",
+ "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA=="
+ },
+ "node_modules/web3-eth-contract": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.3.5.tgz",
+ "integrity": "sha512-WfGVeQquN3D7Qm+KEIN9EI7yrm/fL2V9Y4+YhDWiKA/ns1pX1LYcEWojTOnBXCnPF3tcvoKKL+KBxXg1iKm38A==",
+ "dependencies": {
+ "@types/bn.js": "^4.11.5",
+ "underscore": "1.9.1",
+ "web3-core": "1.3.5",
+ "web3-core-helpers": "1.3.5",
+ "web3-core-method": "1.3.5",
+ "web3-core-promievent": "1.3.5",
+ "web3-core-subscriptions": "1.3.5",
+ "web3-eth-abi": "1.3.5",
+ "web3-utils": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-eth-ens": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-eth-ens/-/web3-eth-ens-1.3.5.tgz",
+ "integrity": "sha512-5bkpFTXV18CvaVP8kCbLZZm2r1TWUv9AsXH+80yz8bTZulUGvXsBMRfK6e5nfEr2Yv59xlIXCFoalmmySI9EJw==",
+ "dependencies": {
+ "content-hash": "^2.5.2",
+ "eth-ens-namehash": "2.0.8",
+ "underscore": "1.9.1",
+ "web3-core": "1.3.5",
+ "web3-core-helpers": "1.3.5",
+ "web3-core-promievent": "1.3.5",
+ "web3-eth-abi": "1.3.5",
+ "web3-eth-contract": "1.3.5",
+ "web3-utils": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-eth-iban": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.3.5.tgz",
+ "integrity": "sha512-x+BI/d2Vt0J1cKK8eFd4W0f1TDjgEOYCwiViTb28lLE+tqrgyPqWDA+l6UlKYLF/yMFX3Dym4ofcCOtgcn4q4g==",
+ "dependencies": {
+ "bn.js": "^4.11.9",
+ "web3-utils": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-eth-iban/node_modules/bn.js": {
+ "version": "4.12.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",
+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="
+ },
+ "node_modules/web3-eth-personal": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.3.5.tgz",
+ "integrity": "sha512-xELQHNZ8p3VoO1582ghCaq+Bx7pSkOOalc6/ACOCGtHDMelqgVejrmSIZGScYl+k0HzngmQAzURZWQocaoGM1g==",
+ "dependencies": {
+ "@types/node": "^12.12.6",
+ "web3-core": "1.3.5",
+ "web3-core-helpers": "1.3.5",
+ "web3-core-method": "1.3.5",
+ "web3-net": "1.3.5",
+ "web3-utils": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-eth-personal/node_modules/@types/node": {
+ "version": "12.20.10",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.10.tgz",
+ "integrity": "sha512-TxCmnSSppKBBOzYzPR2BR25YlX5Oay8z2XGwFBInuA/Co0V9xJhLlW4kjbxKtgeNo3NOMbQP1A5Rc03y+XecPw=="
+ },
+ "node_modules/web3-net": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.3.5.tgz",
+ "integrity": "sha512-usbFbuUpKK8s7jPLGoUzi/WpNnefGFPTj948aJv8BZ04UQA4L/XS5NNkkhk358zNMmhGfEFW8wrWy+0Oy0njtA==",
+ "dependencies": {
+ "web3-core": "1.3.5",
+ "web3-core-method": "1.3.5",
+ "web3-utils": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-provider-engine": {
+ "version": "14.0.6",
+ "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-14.0.6.tgz",
+ "integrity": "sha512-tr5cGSyxfSC/JqiUpBlJtfZpwQf1yAA8L/zy1C6fDFm0ntR974pobJ4v4676atpZne4Ze5VFy3kPPahHe9gQiQ==",
+ "dependencies": {
+ "async": "^2.5.0",
+ "backoff": "^2.5.0",
+ "clone": "^2.0.0",
+ "cross-fetch": "^2.1.0",
+ "eth-block-tracker": "^3.0.0",
+ "eth-json-rpc-infura": "^3.1.0",
+ "eth-sig-util": "^1.4.2",
+ "ethereumjs-block": "^1.2.2",
+ "ethereumjs-tx": "^1.2.0",
+ "ethereumjs-util": "^5.1.5",
+ "ethereumjs-vm": "^2.3.4",
+ "json-rpc-error": "^2.0.0",
+ "json-stable-stringify": "^1.0.1",
+ "promise-to-callback": "^1.0.0",
+ "readable-stream": "^2.2.9",
+ "request": "^2.67.0",
+ "semaphore": "^1.0.3",
+ "tape": "^4.4.0",
+ "ws": "^5.1.1",
+ "xhr": "^2.2.0",
+ "xtend": "^4.0.1"
+ }
+ },
+ "node_modules/web3-provider-engine/node_modules/async": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
+ "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
+ "dependencies": {
+ "lodash": "^4.17.14"
+ }
+ },
+ "node_modules/web3-providers-http": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.3.5.tgz",
+ "integrity": "sha512-ZQOmceFjcajEZdiuqciXjijwIYWNmEJ1oxMtbrwB2eGxHRCMXEH2xGRUZuhOFNF88yQC/VXVi14yvYg5ZlFJlA==",
+ "dependencies": {
+ "web3-core-helpers": "1.3.5",
+ "xhr2-cookies": "1.1.0"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-providers-ipc": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.3.5.tgz",
+ "integrity": "sha512-cbZOeb/sALiHjzMolJjIyHla/J5wdL2JKUtRO66Nh/uLALBCpU8JUgzNvpAdJ1ae3+A33+EdFStdzuDYHKtQew==",
+ "dependencies": {
+ "oboe": "2.1.5",
+ "underscore": "1.9.1",
+ "web3-core-helpers": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-providers-ws": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.3.5.tgz",
+ "integrity": "sha512-zeZ4LMvKhYaJBDCqA//Bzgp4r/T0tNq5U/xvN0axA4YflzF7yqlsbzGwCkcZYDbrUaK3Ltl2uOmvwjbWALOZ1A==",
+ "dependencies": {
+ "eventemitter3": "4.0.4",
+ "underscore": "1.9.1",
+ "web3-core-helpers": "1.3.5",
+ "websocket": "^1.0.32"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-providers-ws/node_modules/eventemitter3": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.4.tgz",
+ "integrity": "sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ=="
+ },
+ "node_modules/web3-shh": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.3.5.tgz",
+ "integrity": "sha512-aRwzCduXvuGVslLL/Y15VcOHa70Qr2kxZI7UwOzQVhaaOdxuRRvo3AK/cmyln1Tsd54/n93Yk8I3qg5I2+6alw==",
+ "hasInstallScript": true,
+ "dependencies": {
+ "web3-core": "1.3.5",
+ "web3-core-method": "1.3.5",
+ "web3-core-subscriptions": "1.3.5",
+ "web3-net": "1.3.5"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-utils": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.3.5.tgz",
+ "integrity": "sha512-5apMRm8ElYjI/92GHqijmaLC+s+d5lgjpjHft+rJSs/dsnX8I8tQreqev0dmU+wzU+2EEe4Sx9a/OwGWHhQv3A==",
+ "dependencies": {
+ "bn.js": "^4.11.9",
+ "eth-lib": "0.2.8",
+ "ethereum-bloom-filters": "^1.0.6",
+ "ethjs-unit": "0.1.6",
+ "number-to-bn": "1.7.0",
+ "randombytes": "^2.1.0",
+ "underscore": "1.9.1",
+ "utf8": "3.0.0"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/web3-utils/node_modules/bn.js": {
+ "version": "4.12.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",
+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="
+ },
+ "node_modules/web3-utils/node_modules/eth-lib": {
+ "version": "0.2.8",
+ "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.8.tgz",
+ "integrity": "sha512-ArJ7x1WcWOlSpzdoTBX8vkwlkSQ85CjjifSZtV4co64vWxSV8geWfPI9x4SVYu3DSxnX4yWFVTtGL+j9DUFLNw==",
+ "dependencies": {
+ "bn.js": "^4.11.6",
+ "elliptic": "^6.4.0",
+ "xhr-request-promise": "^0.1.2"
+ }
+ },
+ "node_modules/webidl-conversions": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-2.0.1.tgz",
+ "integrity": "sha1-O/glj30xjHRDw28uFpQCoaZwNQY=",
+ "optional": true
+ },
+ "node_modules/websocket": {
+ "version": "1.0.34",
+ "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.34.tgz",
+ "integrity": "sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ==",
+ "dependencies": {
+ "bufferutil": "^4.0.1",
+ "debug": "^2.2.0",
+ "es5-ext": "^0.10.50",
+ "typedarray-to-buffer": "^3.1.5",
+ "utf-8-validate": "^5.0.2",
+ "yaeti": "^0.0.6"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/websocket/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/websql": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/websql/-/websql-1.0.0.tgz",
+ "integrity": "sha512-7iZ+u28Ljw5hCnMiq0BCOeSYf0vCFQe/ORY0HgscTiKjQed8WqugpBUggJ2NTnB9fahn1kEnPRX2jf8Px5PhJw==",
+ "optional": true,
+ "dependencies": {
+ "argsarray": "^0.0.1",
+ "immediate": "^3.2.2",
+ "noop-fn": "^1.0.0",
+ "sqlite3": "^4.0.0",
+ "tiny-queue": "^0.2.1"
+ }
+ },
+ "node_modules/whatwg-fetch": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.2.0.tgz",
+ "integrity": "sha512-SdGPoQMMnzVYThUbSrEvqTlkvC1Ux27NehaJ/GUHBfNrh5Mjg+1/uRyFMwVnxO2MrikMWvWAqUGgQOfVU4hT7w=="
+ },
+ "node_modules/whatwg-url-compat": {
+ "version": "0.6.5",
+ "resolved": "https://registry.npmjs.org/whatwg-url-compat/-/whatwg-url-compat-0.6.5.tgz",
+ "integrity": "sha1-AImBEa9om7CXVBzVpFymyHmERb8=",
+ "optional": true,
+ "dependencies": {
+ "tr46": "~0.0.1"
+ }
+ },
+ "node_modules/which": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
+ "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "which": "bin/which"
+ }
+ },
+ "node_modules/which-boxed-primitive": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",
+ "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==",
+ "dependencies": {
+ "is-bigint": "^1.0.1",
+ "is-boolean-object": "^1.1.0",
+ "is-number-object": "^1.0.4",
+ "is-string": "^1.0.5",
+ "is-symbol": "^1.0.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/which-module": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
+ "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho="
+ },
+ "node_modules/which-pm-runs": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz",
+ "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=",
+ "optional": true
+ },
+ "node_modules/which-typed-array": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.4.tgz",
+ "integrity": "sha512-49E0SpUe90cjpoc7BOJwyPHRqSAd12c10Qm2amdEZrJPCY2NDxaW01zHITrem+rnETY3dwrbH3UUrUwagfCYDA==",
+ "dependencies": {
+ "available-typed-arrays": "^1.0.2",
+ "call-bind": "^1.0.0",
+ "es-abstract": "^1.18.0-next.1",
+ "foreach": "^2.0.5",
+ "function-bind": "^1.1.1",
+ "has-symbols": "^1.0.1",
+ "is-typed-array": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/wide-align": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz",
+ "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==",
+ "dependencies": {
+ "string-width": "^1.0.2 || 2"
+ }
+ },
+ "node_modules/widest-line": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.1.tgz",
+ "integrity": "sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA==",
+ "dependencies": {
+ "string-width": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/widest-line/node_modules/ansi-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/widest-line/node_modules/is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/widest-line/node_modules/string-width": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
+ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
+ "dependencies": {
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/widest-line/node_modules/strip-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
+ "dependencies": {
+ "ansi-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/wif": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz",
+ "integrity": "sha1-CNP1IFbGZnkplyb63g1DKudLRwQ=",
+ "optional": true,
+ "dependencies": {
+ "bs58check": "<3.0.0"
+ }
+ },
+ "node_modules/window-size": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.2.0.tgz",
+ "integrity": "sha1-tDFbtCFKPXBY6+7okuE/ok2YsHU=",
+ "optional": true,
+ "bin": {
+ "window-size": "cli.js"
+ },
+ "engines": {
+ "node": ">= 0.10.0"
+ }
+ },
+ "node_modules/wordwrap": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
+ "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus="
+ },
+ "node_modules/workerpool": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.0.0.tgz",
+ "integrity": "sha512-fU2OcNA/GVAJLLyKUoHkAgIhKb0JoCpSjLC/G2vYKxUjVmQwGbRVeoPJ1a8U4pnVofz4AQV5Y/NEw8oKqxEBtA=="
+ },
+ "node_modules/wrap-ansi": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
+ "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",
+ "dependencies": {
+ "string-width": "^1.0.1",
+ "strip-ansi": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
+ },
+ "node_modules/write": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz",
+ "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==",
+ "dev": true,
+ "dependencies": {
+ "mkdirp": "^0.5.1"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/write-file-atomic": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.2.tgz",
+ "integrity": "sha512-s0b6vB3xIVRLWywa6X9TOMA7k9zio0TMOsl9ZnDkliA/cfJlpHXAscj0gbHVJiTdIuAYpIyqS5GW91fqm6gG5g==",
+ "dependencies": {
+ "graceful-fs": "^4.1.11",
+ "imurmurhash": "^0.1.4",
+ "signal-exit": "^3.0.2"
+ }
+ },
+ "node_modules/write-stream": {
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/write-stream/-/write-stream-0.4.3.tgz",
+ "integrity": "sha1-g8yMA0fQr2BXqThitOOuAd5cgcE=",
+ "optional": true,
+ "dependencies": {
+ "readable-stream": "~0.0.2"
+ }
+ },
+ "node_modules/write-stream/node_modules/readable-stream": {
+ "version": "0.0.4",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-0.0.4.tgz",
+ "integrity": "sha1-8y124/uGM0SlSNeZIwBxc2ZbO40=",
+ "optional": true
+ },
+ "node_modules/ws": {
+ "version": "5.2.2",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz",
+ "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==",
+ "dependencies": {
+ "async-limiter": "~1.0.0"
+ }
+ },
+ "node_modules/xdg-basedir": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-3.0.0.tgz",
+ "integrity": "sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/xhr": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/xhr/-/xhr-2.5.0.tgz",
+ "integrity": "sha512-4nlO/14t3BNUZRXIXfXe+3N6w3s1KoxcJUUURctd64BLRe67E4gRwp4PjywtDY72fXpZ1y6Ch0VZQRY/gMPzzQ==",
+ "dependencies": {
+ "global": "~4.3.0",
+ "is-function": "^1.0.1",
+ "parse-headers": "^2.0.0",
+ "xtend": "^4.0.0"
+ }
+ },
+ "node_modules/xhr-request": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/xhr-request/-/xhr-request-1.1.0.tgz",
+ "integrity": "sha512-Y7qzEaR3FDtL3fP30k9wO/e+FBnBByZeybKOhASsGP30NIkRAAkKD/sCnLvgEfAIEC1rcmK7YG8f4oEnIrrWzA==",
+ "dependencies": {
+ "buffer-to-arraybuffer": "^0.0.5",
+ "object-assign": "^4.1.1",
+ "query-string": "^5.0.1",
+ "simple-get": "^2.7.0",
+ "timed-out": "^4.0.1",
+ "url-set-query": "^1.0.0",
+ "xhr": "^2.0.4"
+ }
+ },
+ "node_modules/xhr-request-promise": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/xhr-request-promise/-/xhr-request-promise-0.1.3.tgz",
+ "integrity": "sha512-YUBytBsuwgitWtdRzXDDkWAXzhdGB8bYm0sSzMPZT7Z2MBjMSTHFsyCT1yCRATY+XC69DUrQraRAEgcoCRaIPg==",
+ "dependencies": {
+ "xhr-request": "^1.1.0"
+ }
+ },
+ "node_modules/xhr2-cookies": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/xhr2-cookies/-/xhr2-cookies-1.1.0.tgz",
+ "integrity": "sha1-fXdEnQmZGX8VXLc7I99yUF7YnUg=",
+ "dependencies": {
+ "cookiejar": "^2.1.1"
+ }
+ },
+ "node_modules/xml-name-validator": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-2.0.1.tgz",
+ "integrity": "sha1-TYuPHszTQZqjYgYb7O9RXh5VljU=",
+ "optional": true
+ },
+ "node_modules/xmlhttprequest": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz",
+ "integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw=",
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/xss": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/xss/-/xss-1.0.8.tgz",
+ "integrity": "sha512-3MgPdaXV8rfQ/pNn16Eio6VXYPTkqwa0vc7GkiymmY/DqR1SE/7VPAAVZz1GJsJFrllMYO3RHfEaiUGjab6TNw==",
+ "optional": true,
+ "dependencies": {
+ "commander": "^2.20.3",
+ "cssfilter": "0.0.10"
+ },
+ "bin": {
+ "xss": "bin/xss"
+ },
+ "engines": {
+ "node": ">= 0.10.0"
+ }
+ },
+ "node_modules/xss/node_modules/commander": {
+ "version": "2.20.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
+ "optional": true
+ },
+ "node_modules/xtend": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
+ "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",
+ "engines": {
+ "node": ">=0.4"
+ }
+ },
+ "node_modules/y18n": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
+ "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE="
+ },
+ "node_modules/yaeti": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz",
+ "integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=",
+ "engines": {
+ "node": ">=0.10.32"
+ }
+ },
+ "node_modules/yallist": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",
+ "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI="
+ },
+ "node_modules/yargs": {
+ "version": "10.1.2",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-10.1.2.tgz",
+ "integrity": "sha512-ivSoxqBGYOqQVruxD35+EyCFDYNEFL/Uo6FcOnz+9xZdZzK0Zzw4r4KhbrME1Oo2gOggwJod2MnsdamSG7H9ig==",
+ "dependencies": {
+ "cliui": "^4.0.0",
+ "decamelize": "^1.1.1",
+ "find-up": "^2.1.0",
+ "get-caller-file": "^1.0.1",
+ "os-locale": "^2.0.0",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^1.0.1",
+ "set-blocking": "^2.0.0",
+ "string-width": "^2.0.0",
+ "which-module": "^2.0.0",
+ "y18n": "^3.2.1",
+ "yargs-parser": "^8.1.0"
+ }
+ },
+ "node_modules/yargs-parser": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-8.1.0.tgz",
+ "integrity": "sha512-yP+6QqN8BmrgW2ggLtTbdrOyBNSI7zBa4IykmiV5R1wl1JWNxQvWhMfMdmzIYtKU7oP3OOInY/tl2ov3BDjnJQ==",
+ "dependencies": {
+ "camelcase": "^4.1.0"
+ }
+ },
+ "node_modules/yargs-parser/node_modules/camelcase": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz",
+ "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/yargs-unparser": {
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-1.6.1.tgz",
+ "integrity": "sha512-qZV14lK9MWsGCmcr7u5oXGH0dbGqZAIxTDrWXZDo5zUr6b6iUmelNKO6x6R1dQT24AH3LgRxJpr8meWy2unolA==",
+ "dependencies": {
+ "camelcase": "^5.3.1",
+ "decamelize": "^1.2.0",
+ "flat": "^4.1.0",
+ "is-plain-obj": "^1.1.0",
+ "yargs": "^14.2.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/cliui": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
+ "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==",
+ "dependencies": {
+ "string-width": "^3.1.0",
+ "strip-ansi": "^5.2.0",
+ "wrap-ansi": "^5.1.0"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "dependencies": {
+ "locate-path": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
+ "engines": {
+ "node": "6.* || 8.* || >= 10.*"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/is-plain-obj": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz",
+ "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "dependencies": {
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/p-limit": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "dependencies": {
+ "p-try": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "dependencies": {
+ "p-limit": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/require-main-filename": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
+ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
+ },
+ "node_modules/yargs-unparser/node_modules/string-width": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
+ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
+ "dependencies": {
+ "emoji-regex": "^7.0.1",
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "dependencies": {
+ "ansi-regex": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/wrap-ansi": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
+ "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
+ "dependencies": {
+ "ansi-styles": "^3.2.0",
+ "string-width": "^3.0.0",
+ "strip-ansi": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/y18n": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
+ "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
+ },
+ "node_modules/yargs-unparser/node_modules/yargs": {
+ "version": "14.2.3",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-14.2.3.tgz",
+ "integrity": "sha512-ZbotRWhF+lkjijC/VhmOT9wSgyBQ7+zr13+YLkhfsSiTriYsMzkTUFP18pFhWwBeMa5gUc1MzbhrO6/VB7c9Xg==",
+ "dependencies": {
+ "cliui": "^5.0.0",
+ "decamelize": "^1.2.0",
+ "find-up": "^3.0.0",
+ "get-caller-file": "^2.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^2.0.0",
+ "set-blocking": "^2.0.0",
+ "string-width": "^3.0.0",
+ "which-module": "^2.0.0",
+ "y18n": "^4.0.0",
+ "yargs-parser": "^15.0.1"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/yargs-parser": {
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-15.0.1.tgz",
+ "integrity": "sha512-0OAMV2mAZQrs3FkNpDQcBk1x5HXb8X4twADss4S0Iuk+2dGnLOE/fRHrsYm542GduMveyA77OF4wrNJuanRCWw==",
+ "dependencies": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ }
+ },
+ "node_modules/yargs/node_modules/ansi-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/yargs/node_modules/find-up": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
+ "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
+ "dependencies": {
+ "locate-path": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/yargs/node_modules/is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/yargs/node_modules/string-width": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
+ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
+ "dependencies": {
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/yargs/node_modules/strip-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
+ "dependencies": {
+ "ansi-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/yn": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
+ "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/zen-observable": {
+ "version": "0.8.15",
+ "resolved": "https://registry.npmjs.org/zen-observable/-/zen-observable-0.8.15.tgz",
+ "integrity": "sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ==",
+ "optional": true
+ },
+ "node_modules/zen-observable-ts": {
+ "version": "0.8.21",
+ "resolved": "https://registry.npmjs.org/zen-observable-ts/-/zen-observable-ts-0.8.21.tgz",
+ "integrity": "sha512-Yj3yXweRc8LdRMrCC8nIc4kkjWecPAUVh0TI0OUrWXx6aX790vLcDlWca6I4vsyCGH3LpWxq0dJRcMOFoVqmeg==",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^1.9.3",
+ "zen-observable": "^0.8.0"
+ }
+ }
+ },
+ "dependencies": {
+ "101": {
+ "version": "1.6.3",
+ "resolved": "https://registry.npmjs.org/101/-/101-1.6.3.tgz",
+ "integrity": "sha512-4dmQ45yY0Dx24Qxp+zAsNLlMF6tteCyfVzgbulvSyC7tCyd3V8sW76sS0tHq8NpcbXfWTKasfyfzU1Kd86oKzw==",
+ "optional": true,
+ "requires": {
+ "clone": "^1.0.2",
+ "deep-eql": "^0.1.3",
+ "keypather": "^1.10.2"
+ },
+ "dependencies": {
+ "clone": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
+ "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=",
+ "optional": true
+ },
+ "deep-eql": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-0.1.3.tgz",
+ "integrity": "sha1-71WKyrjeJSBs1xOQbXTlaTDrafI=",
+ "optional": true,
+ "requires": {
+ "type-detect": "0.1.1"
+ }
+ },
+ "type-detect": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-0.1.1.tgz",
+ "integrity": "sha1-C6XsKohWQORw6k6FBZcZANrFiCI=",
+ "optional": true
+ }
+ }
+ },
+ "@0x/assert": {
+ "version": "3.0.9",
+ "resolved": "https://registry.npmjs.org/@0x/assert/-/assert-3.0.9.tgz",
+ "integrity": "sha512-ywQuG8feXtIpRn/3tekPZeXLjKfDJPooA5QJEDxHDv1E5ZjSrKSK6B3wdkVW6NJvNPECw0eKjM50uF2784tbfA==",
+ "requires": {
+ "@0x/json-schemas": "^5.1.0",
+ "@0x/typescript-typings": "^5.1.1",
+ "@0x/utils": "^5.5.1",
+ "lodash": "^4.17.11",
+ "valid-url": "^1.0.9"
+ }
+ },
+ "@0x/dev-utils": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/@0x/dev-utils/-/dev-utils-3.3.0.tgz",
+ "integrity": "sha512-/SPF/dVrGeYgZMo4vhHjG/YPxEsbnSi3sKA3+R6hySF7AKOH0u+78cUZ1NwrVOhGHToNWmehhci1Ic2BOXxQ9g==",
+ "requires": {
+ "@0x/subproviders": "^6.1.1",
+ "@0x/types": "^3.2.0",
+ "@0x/typescript-typings": "^5.1.1",
+ "@0x/utils": "^5.5.1",
+ "@0x/web3-wrapper": "^7.2.0",
+ "@types/web3-provider-engine": "^14.0.0",
+ "chai": "^4.0.1",
+ "chai-as-promised": "^7.1.0",
+ "chai-bignumber": "^3.0.0",
+ "dirty-chai": "^2.0.1",
+ "ethereum-types": "^3.2.0",
+ "lodash": "^4.17.11",
+ "web3-provider-engine": "14.0.6"
+ },
+ "dependencies": {
+ "@0x/subproviders": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/@0x/subproviders/-/subproviders-6.1.1.tgz",
+ "integrity": "sha512-5rXmQbokPAlq6Am+O/C2QV6VlxKJGREncJ50ymLp0z8Bsyjt864Mgb1sB1ym19Qg6EJEhamQiJzVrrkN4ApbTQ==",
+ "requires": {
+ "@0x/assert": "^3.0.9",
+ "@0x/types": "^3.2.0",
+ "@0x/typescript-typings": "^5.1.1",
+ "@0x/utils": "^5.5.1",
+ "@0x/web3-wrapper": "^7.2.0",
+ "@ledgerhq/hw-app-eth": "^4.3.0",
+ "@ledgerhq/hw-transport-node-hid": "^4.3.0",
+ "@ledgerhq/hw-transport-u2f": "4.24.0",
+ "@types/hdkey": "^0.7.0",
+ "@types/web3-provider-engine": "^14.0.0",
+ "bip39": "^2.5.0",
+ "bn.js": "^4.11.8",
+ "ethereum-types": "^3.2.0",
+ "ethereumjs-tx": "^1.3.5",
+ "ethereumjs-util": "^5.1.1",
+ "ganache-core": "^2.10.2",
+ "hdkey": "^0.7.1",
+ "json-rpc-error": "2.0.0",
+ "lodash": "^4.17.11",
+ "semaphore-async-await": "^1.5.1",
+ "web3-provider-engine": "14.0.6"
+ }
+ }
+ }
+ },
+ "@0x/json-schemas": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@0x/json-schemas/-/json-schemas-5.1.0.tgz",
+ "integrity": "sha512-qDiCz94AR140puQ0MHT6XyDbmDrvWjw+Zyysmf4tD9PfM8sD+MOhF9dfvaYPNlS51M1CIlOTWZYqo5OUCIBEXQ==",
+ "requires": {
+ "@0x/typescript-typings": "^5.1.1",
+ "@types/node": "*",
+ "jsonschema": "^1.2.0",
+ "lodash.values": "^4.3.0"
+ }
+ },
+ "@0x/sol-compiler": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/@0x/sol-compiler/-/sol-compiler-4.1.1.tgz",
+ "integrity": "sha512-ktcTBz1m0cRn34t1ZkCn1BzssgLEI3ZLB6+aLq1OZzb3hGha9RW/yzl8UC7K/G/GPAK0rb3ip4t3TYHzIH/3lg==",
+ "requires": {
+ "@0x/assert": "^3.0.9",
+ "@0x/json-schemas": "^5.1.0",
+ "@0x/sol-resolver": "^3.1.0",
+ "@0x/types": "^3.2.0",
+ "@0x/typescript-typings": "^5.1.1",
+ "@0x/utils": "^5.5.1",
+ "@0x/web3-wrapper": "^7.2.0",
+ "@types/yargs": "^11.0.0",
+ "chalk": "^2.3.0",
+ "chokidar": "^3.0.2",
+ "ethereum-types": "^3.2.0",
+ "ethereumjs-util": "^5.1.1",
+ "lodash": "^4.17.11",
+ "mkdirp": "^0.5.1",
+ "pluralize": "^7.0.0",
+ "require-from-string": "^2.0.1",
+ "semver": "5.5.0",
+ "solc": "^0.5.5",
+ "source-map-support": "^0.5.0",
+ "web3-eth-abi": "^1.0.0-beta.24",
+ "yargs": "^10.0.3"
+ },
+ "dependencies": {
+ "anymatch": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz",
+ "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==",
+ "requires": {
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
+ }
+ },
+ "binary-extensions": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz",
+ "integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ=="
+ },
+ "braces": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "requires": {
+ "fill-range": "^7.0.1"
+ }
+ },
+ "chokidar": {
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.1.tgz",
+ "integrity": "sha512-TQTJyr2stihpC4Sya9hs2Xh+O2wf+igjL36Y75xx2WdHuiICcn/XJza46Jwt0eT5hVpQOzo3FpY3cj3RVYLX0g==",
+ "requires": {
+ "anymatch": "~3.1.1",
+ "braces": "~3.0.2",
+ "fsevents": "~2.1.2",
+ "glob-parent": "~5.1.0",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.4.0"
+ }
+ },
+ "fill-range": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "requires": {
+ "to-regex-range": "^5.0.1"
+ }
+ },
+ "glob-parent": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",
+ "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==",
+ "requires": {
+ "is-glob": "^4.0.1"
+ }
+ },
+ "is-binary-path": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "requires": {
+ "binary-extensions": "^2.0.0"
+ }
+ },
+ "is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
+ },
+ "readdirp": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz",
+ "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==",
+ "requires": {
+ "picomatch": "^2.2.1"
+ }
+ },
+ "semver": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz",
+ "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA=="
+ },
+ "to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "requires": {
+ "is-number": "^7.0.0"
+ }
+ }
+ }
+ },
+ "@0x/sol-coverage": {
+ "version": "4.0.10",
+ "resolved": "https://registry.npmjs.org/@0x/sol-coverage/-/sol-coverage-4.0.10.tgz",
+ "integrity": "sha512-mn6fD/rpuKfPzJKbDvtlLqxx5HIUYdzpkg1unzzKHAA7KFzfxEyapuxY3cfXSL1gZsTQBLGeE5SOL7b0LFED5g==",
+ "requires": {
+ "@0x/sol-tracing-utils": "^7.1.0",
+ "@0x/subproviders": "^6.1.1",
+ "@0x/typescript-typings": "^5.1.1",
+ "@types/minimatch": "^3.0.3",
+ "ethereum-types": "^3.2.0",
+ "lodash": "^4.17.11",
+ "minimatch": "^3.0.4",
+ "web3-provider-engine": "14.0.6"
+ },
+ "dependencies": {
+ "@0x/subproviders": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/@0x/subproviders/-/subproviders-6.1.1.tgz",
+ "integrity": "sha512-5rXmQbokPAlq6Am+O/C2QV6VlxKJGREncJ50ymLp0z8Bsyjt864Mgb1sB1ym19Qg6EJEhamQiJzVrrkN4ApbTQ==",
+ "requires": {
+ "@0x/assert": "^3.0.9",
+ "@0x/types": "^3.2.0",
+ "@0x/typescript-typings": "^5.1.1",
+ "@0x/utils": "^5.5.1",
+ "@0x/web3-wrapper": "^7.2.0",
+ "@ledgerhq/hw-app-eth": "^4.3.0",
+ "@ledgerhq/hw-transport-node-hid": "^4.3.0",
+ "@ledgerhq/hw-transport-u2f": "4.24.0",
+ "@types/hdkey": "^0.7.0",
+ "@types/web3-provider-engine": "^14.0.0",
+ "bip39": "^2.5.0",
+ "bn.js": "^4.11.8",
+ "ethereum-types": "^3.2.0",
+ "ethereumjs-tx": "^1.3.5",
+ "ethereumjs-util": "^5.1.1",
+ "ganache-core": "^2.10.2",
+ "hdkey": "^0.7.1",
+ "json-rpc-error": "2.0.0",
+ "lodash": "^4.17.11",
+ "semaphore-async-await": "^1.5.1",
+ "web3-provider-engine": "14.0.6"
+ }
+ }
+ }
+ },
+ "@0x/sol-resolver": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@0x/sol-resolver/-/sol-resolver-3.1.0.tgz",
+ "integrity": "sha512-fyOngwc1qzN/rH+lrsGAACnXd8UuTVHkzj423+s3p5I2qhjDrQcxTfJpxQ1Yuc74fb9R0cXFRQto3A9LevjKxA==",
+ "requires": {
+ "@0x/types": "^3.2.0",
+ "@0x/typescript-typings": "^5.1.1",
+ "lodash": "^4.17.11"
+ }
+ },
+ "@0x/sol-trace": {
+ "version": "3.0.10",
+ "resolved": "https://registry.npmjs.org/@0x/sol-trace/-/sol-trace-3.0.10.tgz",
+ "integrity": "sha512-d7S8hrP+7DJLUJycvTmoFR5vDYxESqt1dOMWQ8fvO10s/Pcs4fdkbLlSnBiqFKn/XSCerPy5q4qk3XqwsppjeQ==",
+ "requires": {
+ "@0x/sol-tracing-utils": "^7.1.0",
+ "@0x/subproviders": "^6.1.1",
+ "@0x/typescript-typings": "^5.1.1",
+ "chalk": "^2.3.0",
+ "ethereum-types": "^3.2.0",
+ "ethereumjs-util": "^5.1.1",
+ "lodash": "^4.17.11",
+ "loglevel": "^1.6.1",
+ "web3-provider-engine": "14.0.6"
+ },
+ "dependencies": {
+ "@0x/subproviders": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/@0x/subproviders/-/subproviders-6.1.1.tgz",
+ "integrity": "sha512-5rXmQbokPAlq6Am+O/C2QV6VlxKJGREncJ50ymLp0z8Bsyjt864Mgb1sB1ym19Qg6EJEhamQiJzVrrkN4ApbTQ==",
+ "requires": {
+ "@0x/assert": "^3.0.9",
+ "@0x/types": "^3.2.0",
+ "@0x/typescript-typings": "^5.1.1",
+ "@0x/utils": "^5.5.1",
+ "@0x/web3-wrapper": "^7.2.0",
+ "@ledgerhq/hw-app-eth": "^4.3.0",
+ "@ledgerhq/hw-transport-node-hid": "^4.3.0",
+ "@ledgerhq/hw-transport-u2f": "4.24.0",
+ "@types/hdkey": "^0.7.0",
+ "@types/web3-provider-engine": "^14.0.0",
+ "bip39": "^2.5.0",
+ "bn.js": "^4.11.8",
+ "ethereum-types": "^3.2.0",
+ "ethereumjs-tx": "^1.3.5",
+ "ethereumjs-util": "^5.1.1",
+ "ganache-core": "^2.10.2",
+ "hdkey": "^0.7.1",
+ "json-rpc-error": "2.0.0",
+ "lodash": "^4.17.11",
+ "semaphore-async-await": "^1.5.1",
+ "web3-provider-engine": "14.0.6"
+ }
+ }
+ }
+ },
+ "@0x/sol-tracing-utils": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/@0x/sol-tracing-utils/-/sol-tracing-utils-7.1.0.tgz",
+ "integrity": "sha512-VUn2jcRw4/08esKfP9l1FmAlJ9kzzS+eH7qZ2j7ZfljHVsq5eOtHLObgAVzZithj8DOiGi2ht9OrE/3xLpXQpA==",
+ "requires": {
+ "@0x/dev-utils": "^3.3.0",
+ "@0x/sol-compiler": "^4.1.1",
+ "@0x/sol-resolver": "^3.1.0",
+ "@0x/subproviders": "^6.1.1",
+ "@0x/typescript-typings": "^5.1.1",
+ "@0x/utils": "^5.5.1",
+ "@0x/web3-wrapper": "^7.2.0",
+ "@types/solidity-parser-antlr": "^0.2.3",
+ "chalk": "^2.3.0",
+ "ethereum-types": "^3.2.0",
+ "ethereumjs-util": "^5.1.1",
+ "ethers": "~4.0.4",
+ "glob": "^7.1.2",
+ "istanbul": "^0.4.5",
+ "lodash": "^4.17.11",
+ "loglevel": "^1.6.1",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.6.2",
+ "semaphore-async-await": "^1.5.1",
+ "solc": "^0.5.5",
+ "solidity-parser-antlr": "^0.4.2"
+ },
+ "dependencies": {
+ "@0x/subproviders": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/@0x/subproviders/-/subproviders-6.1.1.tgz",
+ "integrity": "sha512-5rXmQbokPAlq6Am+O/C2QV6VlxKJGREncJ50ymLp0z8Bsyjt864Mgb1sB1ym19Qg6EJEhamQiJzVrrkN4ApbTQ==",
+ "requires": {
+ "@0x/assert": "^3.0.9",
+ "@0x/types": "^3.2.0",
+ "@0x/typescript-typings": "^5.1.1",
+ "@0x/utils": "^5.5.1",
+ "@0x/web3-wrapper": "^7.2.0",
+ "@ledgerhq/hw-app-eth": "^4.3.0",
+ "@ledgerhq/hw-transport-node-hid": "^4.3.0",
+ "@ledgerhq/hw-transport-u2f": "4.24.0",
+ "@types/hdkey": "^0.7.0",
+ "@types/web3-provider-engine": "^14.0.0",
+ "bip39": "^2.5.0",
+ "bn.js": "^4.11.8",
+ "ethereum-types": "^3.2.0",
+ "ethereumjs-tx": "^1.3.5",
+ "ethereumjs-util": "^5.1.1",
+ "ganache-core": "^2.10.2",
+ "hdkey": "^0.7.1",
+ "json-rpc-error": "2.0.0",
+ "lodash": "^4.17.11",
+ "semaphore-async-await": "^1.5.1",
+ "web3-provider-engine": "14.0.6"
+ }
+ }
+ }
+ },
+ "@0x/types": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/@0x/types/-/types-3.2.0.tgz",
+ "integrity": "sha512-HcYXmz7gYtibJmZQjrQCnzV2FjRoo5b/Ul1QoTeQFAZ2M2ggt1wHspQ7vOkEAZEK/7TE4TKA4MlRwRLa4isL1Q==",
+ "requires": {
+ "@types/node": "*",
+ "bignumber.js": "~9.0.0",
+ "ethereum-types": "^3.2.0"
+ }
+ },
+ "@0x/typescript-typings": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/@0x/typescript-typings/-/typescript-typings-5.1.1.tgz",
+ "integrity": "sha512-a8/uKPNStHORFQzI/DDEq4ixb4IricPogAJ3P17YnNYr/yF3HwXEu6+cFxs4qi1fr0zGoPe7D3XtqtR+dX/ajQ==",
+ "requires": {
+ "@types/bn.js": "^4.11.0",
+ "@types/react": "*",
+ "bignumber.js": "~9.0.0",
+ "ethereum-types": "^3.2.0",
+ "popper.js": "1.14.3"
+ }
+ },
+ "@0x/utils": {
+ "version": "5.5.1",
+ "resolved": "https://registry.npmjs.org/@0x/utils/-/utils-5.5.1.tgz",
+ "integrity": "sha512-UreVm7R/qEv1v4dVccb4Y6Oz13o8ko2vB10sdNrPAGbstqx3NfdEBkylNxD7I8Bkta/BIwHrLbtCN3jni8CSeg==",
+ "requires": {
+ "@0x/types": "^3.2.0",
+ "@0x/typescript-typings": "^5.1.1",
+ "@types/node": "*",
+ "abortcontroller-polyfill": "^1.1.9",
+ "bignumber.js": "~9.0.0",
+ "chalk": "^2.3.0",
+ "detect-node": "2.0.3",
+ "ethereum-types": "^3.2.0",
+ "ethereumjs-util": "^5.1.1",
+ "ethers": "~4.0.4",
+ "isomorphic-fetch": "2.2.1",
+ "js-sha3": "^0.7.0",
+ "lodash": "^4.17.11"
+ }
+ },
+ "@0x/web3-wrapper": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@0x/web3-wrapper/-/web3-wrapper-7.2.0.tgz",
+ "integrity": "sha512-5jRr5Xl/co5VZB2sCFiokuRwuPc2BENeSVuXll/+YNmytP5+C+7oDvVt6GrGP3j5921GIr4EhusZMbvOFw1oKQ==",
+ "requires": {
+ "@0x/assert": "^3.0.9",
+ "@0x/json-schemas": "^5.1.0",
+ "@0x/typescript-typings": "^5.1.1",
+ "@0x/utils": "^5.5.1",
+ "ethereum-types": "^3.2.0",
+ "ethereumjs-util": "^5.1.1",
+ "ethers": "~4.0.4",
+ "lodash": "^4.17.11"
+ }
+ },
+ "@apollo/client": {
+ "version": "3.3.15",
+ "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.3.15.tgz",
+ "integrity": "sha512-/WQmNvLEZMA0mA3u+FkEPTXKzxZD/KhyO7WlbKcy3zKGrXKza83tAbNMzsitQE7DTcSc3DLEcIu1Z5Rc7PFq0Q==",
+ "optional": true,
+ "requires": {
+ "@graphql-typed-document-node/core": "^3.0.0",
+ "@types/zen-observable": "^0.8.0",
+ "@wry/context": "^0.6.0",
+ "@wry/equality": "^0.4.0",
+ "fast-json-stable-stringify": "^2.0.0",
+ "graphql-tag": "^2.12.0",
+ "hoist-non-react-statics": "^3.3.2",
+ "optimism": "^0.15.0",
+ "prop-types": "^15.7.2",
+ "symbol-observable": "^2.0.0",
+ "ts-invariant": "^0.7.0",
+ "tslib": "^1.10.0",
+ "zen-observable": "^0.8.14"
+ },
+ "dependencies": {
+ "ts-invariant": {
+ "version": "0.7.3",
+ "resolved": "https://registry.npmjs.org/ts-invariant/-/ts-invariant-0.7.3.tgz",
+ "integrity": "sha512-UWDDeovyUTIMWj+45g5nhnl+8oo+GhxL5leTaHn5c8FkQWfh8v66gccLd2/YzVmV5hoQUjCEjhrXnQqVDJdvKA==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.1.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "tslib": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",
+ "optional": true
+ }
+ }
+ },
+ "@apollo/protobufjs": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@apollo/protobufjs/-/protobufjs-1.0.5.tgz",
+ "integrity": "sha512-ZtyaBH1icCgqwIGb3zrtopV2D5Q8yxibkJzlaViM08eOhTQc7rACdYu0pfORFfhllvdMZ3aq69vifYHszY4gNA==",
+ "optional": true,
+ "requires": {
+ "@protobufjs/aspromise": "^1.1.2",
+ "@protobufjs/base64": "^1.1.2",
+ "@protobufjs/codegen": "^2.0.4",
+ "@protobufjs/eventemitter": "^1.1.0",
+ "@protobufjs/fetch": "^1.1.0",
+ "@protobufjs/float": "^1.0.2",
+ "@protobufjs/inquire": "^1.1.0",
+ "@protobufjs/path": "^1.1.2",
+ "@protobufjs/pool": "^1.1.0",
+ "@protobufjs/utf8": "^1.1.0",
+ "@types/long": "^4.0.0",
+ "@types/node": "^10.1.0",
+ "long": "^4.0.0"
+ }
+ },
+ "@apollographql/apollo-tools": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@apollographql/apollo-tools/-/apollo-tools-0.4.9.tgz",
+ "integrity": "sha512-M50pk8oo3CGTu4waGOklIX3YtTZoPfWG9K/G9WB8NpyQGA1OwYTiBFv94XqUtKElTDoFwoMXpMQd3Wy5dINvxA==",
+ "optional": true,
+ "requires": {
+ "apollo-env": "^0.6.6"
+ }
+ },
+ "@apollographql/graphql-playground-html": {
+ "version": "1.6.27",
+ "resolved": "https://registry.npmjs.org/@apollographql/graphql-playground-html/-/graphql-playground-html-1.6.27.tgz",
+ "integrity": "sha512-tea2LweZvn6y6xFV11K0KC8ETjmm52mQrW+ezgB2O/aTQf8JGyFmMcRPFgUaQZeHbWdm8iisDC6EjOKsXu0nfw==",
+ "optional": true,
+ "requires": {
+ "xss": "^1.0.8"
+ }
+ },
+ "@apollographql/graphql-upload-8-fork": {
+ "version": "8.1.3",
+ "resolved": "https://registry.npmjs.org/@apollographql/graphql-upload-8-fork/-/graphql-upload-8-fork-8.1.3.tgz",
+ "integrity": "sha512-ssOPUT7euLqDXcdVv3Qs4LoL4BPtfermW1IOouaqEmj36TpHYDmYDIbKoSQxikd9vtMumFnP87OybH7sC9fJ6g==",
+ "optional": true,
+ "requires": {
+ "@types/express": "*",
+ "@types/fs-capacitor": "*",
+ "@types/koa": "*",
+ "busboy": "^0.3.1",
+ "fs-capacitor": "^2.0.4",
+ "http-errors": "^1.7.3",
+ "object-path": "^0.11.4"
+ }
+ },
+ "@ardatan/aggregate-error": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/@ardatan/aggregate-error/-/aggregate-error-0.0.6.tgz",
+ "integrity": "sha512-vyrkEHG1jrukmzTPtyWB4NLPauUw5bQeg4uhn8f+1SSynmrOcyvlb1GKQjjgoBzElLdfXCRYX8UnBlhklOHYRQ==",
+ "optional": true,
+ "requires": {
+ "tslib": "~2.0.1"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ }
+ }
+ },
+ "@babel/code-frame": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz",
+ "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==",
+ "devOptional": true,
+ "requires": {
+ "@babel/highlight": "^7.12.13"
+ }
+ },
+ "@babel/compat-data": {
+ "version": "7.13.15",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.13.15.tgz",
+ "integrity": "sha512-ltnibHKR1VnrU4ymHyQ/CXtNXI6yZC0oJThyW78Hft8XndANwi+9H+UIklBDraIjFEJzw8wmcM427oDd9KS5wA==",
+ "optional": true
+ },
+ "@babel/core": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.13.16.tgz",
+ "integrity": "sha512-sXHpixBiWWFti0AV2Zq7avpTasr6sIAu7Y396c608541qAU2ui4a193m0KSQmfPSKFZLnQ3cvlKDOm3XkuXm3Q==",
+ "optional": true,
+ "requires": {
+ "@babel/code-frame": "^7.12.13",
+ "@babel/generator": "^7.13.16",
+ "@babel/helper-compilation-targets": "^7.13.16",
+ "@babel/helper-module-transforms": "^7.13.14",
+ "@babel/helpers": "^7.13.16",
+ "@babel/parser": "^7.13.16",
+ "@babel/template": "^7.12.13",
+ "@babel/traverse": "^7.13.15",
+ "@babel/types": "^7.13.16",
+ "convert-source-map": "^1.7.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.2",
+ "json5": "^2.1.2",
+ "semver": "^6.3.0",
+ "source-map": "^0.5.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "optional": true,
+ "requires": {
+ "ms": "2.1.2"
+ }
+ },
+ "json5": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz",
+ "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
+ "optional": true,
+ "requires": {
+ "minimist": "^1.2.5"
+ }
+ },
+ "minimist": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
+ "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
+ "optional": true
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "optional": true
+ },
+ "semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+ "optional": true
+ }
+ }
+ },
+ "@babel/generator": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.13.16.tgz",
+ "integrity": "sha512-grBBR75UnKOcUWMp8WoDxNsWCFl//XCK6HWTrBQKTr5SV9f5g0pNOjdyzi/DTBv12S9GnYPInIXQBTky7OXEMg==",
+ "optional": true,
+ "requires": {
+ "@babel/types": "^7.13.16",
+ "jsesc": "^2.5.1",
+ "source-map": "^0.5.0"
+ },
+ "dependencies": {
+ "jsesc": {
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
+ "optional": true
+ }
+ }
+ },
+ "@babel/helper-annotate-as-pure": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.12.13.tgz",
+ "integrity": "sha512-7YXfX5wQ5aYM/BOlbSccHDbuXXFPxeoUmfWtz8le2yTkTZc+BxsiEnENFoi2SlmA8ewDkG2LgIMIVzzn2h8kfw==",
+ "optional": true,
+ "requires": {
+ "@babel/types": "^7.12.13"
+ }
+ },
+ "@babel/helper-compilation-targets": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.16.tgz",
+ "integrity": "sha512-3gmkYIrpqsLlieFwjkGgLaSHmhnvlAYzZLlYVjlW+QwI+1zE17kGxuJGmIqDQdYp56XdmGeD+Bswx0UTyG18xA==",
+ "optional": true,
+ "requires": {
+ "@babel/compat-data": "^7.13.15",
+ "@babel/helper-validator-option": "^7.12.17",
+ "browserslist": "^4.14.5",
+ "semver": "^6.3.0"
+ },
+ "dependencies": {
+ "browserslist": {
+ "version": "4.16.4",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.4.tgz",
+ "integrity": "sha512-d7rCxYV8I9kj41RH8UKYnvDYCRENUlHRgyXy/Rhr/1BaeLGfiCptEdFE8MIrvGfWbBFNjVYx76SQWvNX1j+/cQ==",
+ "optional": true,
+ "requires": {
+ "caniuse-lite": "^1.0.30001208",
+ "colorette": "^1.2.2",
+ "electron-to-chromium": "^1.3.712",
+ "escalade": "^3.1.1",
+ "node-releases": "^1.1.71"
+ }
+ },
+ "semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+ "optional": true
+ }
+ }
+ },
+ "@babel/helper-create-class-features-plugin": {
+ "version": "7.13.11",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.13.11.tgz",
+ "integrity": "sha512-ays0I7XYq9xbjCSvT+EvysLgfc3tOkwCULHjrnscGT3A9qD4sk3wXnJ3of0MAWsWGjdinFvajHU2smYuqXKMrw==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-member-expression-to-functions": "^7.13.0",
+ "@babel/helper-optimise-call-expression": "^7.12.13",
+ "@babel/helper-replace-supers": "^7.13.0",
+ "@babel/helper-split-export-declaration": "^7.12.13"
+ }
+ },
+ "@babel/helper-function-name": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz",
+ "integrity": "sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-get-function-arity": "^7.12.13",
+ "@babel/template": "^7.12.13",
+ "@babel/types": "^7.12.13"
+ }
+ },
+ "@babel/helper-get-function-arity": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz",
+ "integrity": "sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg==",
+ "optional": true,
+ "requires": {
+ "@babel/types": "^7.12.13"
+ }
+ },
+ "@babel/helper-member-expression-to-functions": {
+ "version": "7.13.12",
+ "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.12.tgz",
+ "integrity": "sha512-48ql1CLL59aKbU94Y88Xgb2VFy7a95ykGRbJJaaVv+LX5U8wFpLfiGXJJGUozsmA1oEh/o5Bp60Voq7ACyA/Sw==",
+ "optional": true,
+ "requires": {
+ "@babel/types": "^7.13.12"
+ }
+ },
+ "@babel/helper-module-imports": {
+ "version": "7.13.12",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.13.12.tgz",
+ "integrity": "sha512-4cVvR2/1B693IuOvSI20xqqa/+bl7lqAMR59R4iu39R9aOX8/JoYY1sFaNvUMyMBGnHdwvJgUrzNLoUZxXypxA==",
+ "optional": true,
+ "requires": {
+ "@babel/types": "^7.13.12"
+ }
+ },
+ "@babel/helper-module-transforms": {
+ "version": "7.13.14",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.13.14.tgz",
+ "integrity": "sha512-QuU/OJ0iAOSIatyVZmfqB0lbkVP0kDRiKj34xy+QNsnVZi/PA6BoSoreeqnxxa9EHFAIL0R9XOaAR/G9WlIy5g==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-module-imports": "^7.13.12",
+ "@babel/helper-replace-supers": "^7.13.12",
+ "@babel/helper-simple-access": "^7.13.12",
+ "@babel/helper-split-export-declaration": "^7.12.13",
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "@babel/template": "^7.12.13",
+ "@babel/traverse": "^7.13.13",
+ "@babel/types": "^7.13.14"
+ }
+ },
+ "@babel/helper-optimise-call-expression": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.13.tgz",
+ "integrity": "sha512-BdWQhoVJkp6nVjB7nkFWcn43dkprYauqtk++Py2eaf/GRDFm5BxRqEIZCiHlZUGAVmtwKcsVL1dC68WmzeFmiA==",
+ "optional": true,
+ "requires": {
+ "@babel/types": "^7.12.13"
+ }
+ },
+ "@babel/helper-plugin-utils": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.13.0.tgz",
+ "integrity": "sha512-ZPafIPSwzUlAoWT8DKs1W2VyF2gOWthGd5NGFMsBcMMol+ZhK+EQY/e6V96poa6PA/Bh+C9plWN0hXO1uB8AfQ==",
+ "optional": true
+ },
+ "@babel/helper-replace-supers": {
+ "version": "7.13.12",
+ "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.13.12.tgz",
+ "integrity": "sha512-Gz1eiX+4yDO8mT+heB94aLVNCL+rbuT2xy4YfyNqu8F+OI6vMvJK891qGBTqL9Uc8wxEvRW92Id6G7sDen3fFw==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-member-expression-to-functions": "^7.13.12",
+ "@babel/helper-optimise-call-expression": "^7.12.13",
+ "@babel/traverse": "^7.13.0",
+ "@babel/types": "^7.13.12"
+ }
+ },
+ "@babel/helper-simple-access": {
+ "version": "7.13.12",
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.13.12.tgz",
+ "integrity": "sha512-7FEjbrx5SL9cWvXioDbnlYTppcZGuCY6ow3/D5vMggb2Ywgu4dMrpTJX0JdQAIcRRUElOIxF3yEooa9gUb9ZbA==",
+ "optional": true,
+ "requires": {
+ "@babel/types": "^7.13.12"
+ }
+ },
+ "@babel/helper-skip-transparent-expression-wrappers": {
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.12.1.tgz",
+ "integrity": "sha512-Mf5AUuhG1/OCChOJ/HcADmvcHM42WJockombn8ATJG3OnyiSxBK/Mm5x78BQWvmtXZKHgbjdGL2kin/HOLlZGA==",
+ "optional": true,
+ "requires": {
+ "@babel/types": "^7.12.1"
+ }
+ },
+ "@babel/helper-split-export-declaration": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz",
+ "integrity": "sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg==",
+ "optional": true,
+ "requires": {
+ "@babel/types": "^7.12.13"
+ }
+ },
+ "@babel/helper-validator-identifier": {
+ "version": "7.12.11",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz",
+ "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==",
+ "devOptional": true
+ },
+ "@babel/helper-validator-option": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.12.17.tgz",
+ "integrity": "sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw==",
+ "optional": true
+ },
+ "@babel/helpers": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.13.16.tgz",
+ "integrity": "sha512-x5otxUaLpdWHl02P4L94wBU+2BJXBkvO+6d6uzQ+xD9/h2hTSAwA5O8QV8GqKx/l8i+VYmKKQg9e2QGTa2Wu3Q==",
+ "optional": true,
+ "requires": {
+ "@babel/template": "^7.12.13",
+ "@babel/traverse": "^7.13.15",
+ "@babel/types": "^7.13.16"
+ }
+ },
+ "@babel/highlight": {
+ "version": "7.13.10",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.13.10.tgz",
+ "integrity": "sha512-5aPpe5XQPzflQrFwL1/QoeHkP2MsA4JCntcXHRhEsdsfPVkvPi2w7Qix4iV7t5S/oC9OodGrggd8aco1g3SZFg==",
+ "devOptional": true,
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "chalk": "^2.0.0",
+ "js-tokens": "^4.0.0"
+ }
+ },
+ "@babel/parser": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.16.tgz",
+ "integrity": "sha512-6bAg36mCwuqLO0hbR+z7PHuqWiCeP7Dzg73OpQwsAB1Eb8HnGEz5xYBzCfbu+YjoaJsJs+qheDxVAuqbt3ILEw==",
+ "optional": true
+ },
+ "@babel/plugin-proposal-class-properties": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.13.0.tgz",
+ "integrity": "sha512-KnTDjFNC1g+45ka0myZNvSBFLhNCLN+GeGYLDEA8Oq7MZ6yMgfLoIRh86GRT0FjtJhZw8JyUskP9uvj5pHM9Zg==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-create-class-features-plugin": "^7.13.0",
+ "@babel/helper-plugin-utils": "^7.13.0"
+ }
+ },
+ "@babel/plugin-proposal-object-rest-spread": {
+ "version": "7.13.8",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.13.8.tgz",
+ "integrity": "sha512-DhB2EuB1Ih7S3/IRX5AFVgZ16k3EzfRbq97CxAVI1KSYcW+lexV8VZb7G7L8zuPVSdQMRn0kiBpf/Yzu9ZKH0g==",
+ "optional": true,
+ "requires": {
+ "@babel/compat-data": "^7.13.8",
+ "@babel/helper-compilation-targets": "^7.13.8",
+ "@babel/helper-plugin-utils": "^7.13.0",
+ "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
+ "@babel/plugin-transform-parameters": "^7.13.0"
+ }
+ },
+ "@babel/plugin-syntax-class-properties": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz",
+ "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-syntax-flow": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.12.13.tgz",
+ "integrity": "sha512-J/RYxnlSLXZLVR7wTRsozxKT8qbsx1mNKJzXEEjQ0Kjx1ZACcyHgbanNWNCFtc36IzuWhYWPpvJFFoexoOWFmA==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-syntax-jsx": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.13.tgz",
+ "integrity": "sha512-d4HM23Q1K7oq/SLNmG6mRt85l2csmQ0cHRaxRXjKW0YFdEXqlZ5kzFQKH5Uc3rDJECgu+yCRgPkG04Mm98R/1g==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-syntax-object-rest-spread": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz",
+ "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ }
+ },
+ "@babel/plugin-transform-arrow-functions": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.13.0.tgz",
+ "integrity": "sha512-96lgJagobeVmazXFaDrbmCLQxBysKu7U6Do3mLsx27gf5Dk85ezysrs2BZUpXD703U/Su1xTBDxxar2oa4jAGg==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.13.0"
+ }
+ },
+ "@babel/plugin-transform-block-scoped-functions": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.12.13.tgz",
+ "integrity": "sha512-zNyFqbc3kI/fVpqwfqkg6RvBgFpC4J18aKKMmv7KdQ/1GgREapSJAykLMVNwfRGO3BtHj3YQZl8kxCXPcVMVeg==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-block-scoping": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.13.16.tgz",
+ "integrity": "sha512-ad3PHUxGnfWF4Efd3qFuznEtZKoBp0spS+DgqzVzRPV7urEBvPLue3y2j80w4Jf2YLzZHj8TOv/Lmvdmh3b2xg==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.13.0"
+ }
+ },
+ "@babel/plugin-transform-classes": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.13.0.tgz",
+ "integrity": "sha512-9BtHCPUARyVH1oXGcSJD3YpsqRLROJx5ZNP6tN5vnk17N0SVf9WCtf8Nuh1CFmgByKKAIMstitKduoCmsaDK5g==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-annotate-as-pure": "^7.12.13",
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-optimise-call-expression": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.13.0",
+ "@babel/helper-replace-supers": "^7.13.0",
+ "@babel/helper-split-export-declaration": "^7.12.13",
+ "globals": "^11.1.0"
+ }
+ },
+ "@babel/plugin-transform-computed-properties": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.13.0.tgz",
+ "integrity": "sha512-RRqTYTeZkZAz8WbieLTvKUEUxZlUTdmL5KGMyZj7FnMfLNKV4+r5549aORG/mgojRmFlQMJDUupwAMiF2Q7OUg==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.13.0"
+ }
+ },
+ "@babel/plugin-transform-destructuring": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.13.0.tgz",
+ "integrity": "sha512-zym5em7tePoNT9s964c0/KU3JPPnuq7VhIxPRefJ4/s82cD+q1mgKfuGRDMCPL0HTyKz4dISuQlCusfgCJ86HA==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.13.0"
+ }
+ },
+ "@babel/plugin-transform-flow-strip-types": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.13.0.tgz",
+ "integrity": "sha512-EXAGFMJgSX8gxWD7PZtW/P6M+z74jpx3wm/+9pn+c2dOawPpBkUX7BrfyPvo6ZpXbgRIEuwgwDb/MGlKvu2pOg==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.13.0",
+ "@babel/plugin-syntax-flow": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-for-of": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.13.0.tgz",
+ "integrity": "sha512-IHKT00mwUVYE0zzbkDgNRP6SRzvfGCYsOxIRz8KsiaaHCcT9BWIkO+H9QRJseHBLOGBZkHUdHiqj6r0POsdytg==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.13.0"
+ }
+ },
+ "@babel/plugin-transform-function-name": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.12.13.tgz",
+ "integrity": "sha512-6K7gZycG0cmIwwF7uMK/ZqeCikCGVBdyP2J5SKNCXO5EOHcqi+z7Jwf8AmyDNcBgxET8DrEtCt/mPKPyAzXyqQ==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-literals": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.12.13.tgz",
+ "integrity": "sha512-FW+WPjSR7hiUxMcKqyNjP05tQ2kmBCdpEpZHY1ARm96tGQCCBvXKnpjILtDplUnJ/eHZ0lALLM+d2lMFSpYJrQ==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-member-expression-literals": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.12.13.tgz",
+ "integrity": "sha512-kxLkOsg8yir4YeEPHLuO2tXP9R/gTjpuTOjshqSpELUN3ZAg2jfDnKUvzzJxObun38sw3wm4Uu69sX/zA7iRvg==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-modules-commonjs": {
+ "version": "7.13.8",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.13.8.tgz",
+ "integrity": "sha512-9QiOx4MEGglfYZ4XOnU79OHr6vIWUakIj9b4mioN8eQIoEh+pf5p/zEB36JpDFWA12nNMiRf7bfoRvl9Rn79Bw==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-module-transforms": "^7.13.0",
+ "@babel/helper-plugin-utils": "^7.13.0",
+ "@babel/helper-simple-access": "^7.12.13",
+ "babel-plugin-dynamic-import-node": "^2.3.3"
+ }
+ },
+ "@babel/plugin-transform-object-super": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.12.13.tgz",
+ "integrity": "sha512-JzYIcj3XtYspZDV8j9ulnoMPZZnF/Cj0LUxPOjR89BdBVx+zYJI9MdMIlUZjbXDX+6YVeS6I3e8op+qQ3BYBoQ==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/helper-replace-supers": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-parameters": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.13.0.tgz",
+ "integrity": "sha512-Jt8k/h/mIwE2JFEOb3lURoY5C85ETcYPnbuAJ96zRBzh1XHtQZfs62ChZ6EP22QlC8c7Xqr9q+e1SU5qttwwjw==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.13.0"
+ }
+ },
+ "@babel/plugin-transform-property-literals": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.12.13.tgz",
+ "integrity": "sha512-nqVigwVan+lR+g8Fj8Exl0UQX2kymtjcWfMOYM1vTYEKujeyv2SkMgazf2qNcK7l4SDiKyTA/nHCPqL4e2zo1A==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-react-display-name": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.12.13.tgz",
+ "integrity": "sha512-MprESJzI9O5VnJZrL7gg1MpdqmiFcUv41Jc7SahxYsNP2kDkFqClxxTZq+1Qv4AFCamm+GXMRDQINNn+qrxmiA==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-react-jsx": {
+ "version": "7.13.12",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.13.12.tgz",
+ "integrity": "sha512-jcEI2UqIcpCqB5U5DRxIl0tQEProI2gcu+g8VTIqxLO5Iidojb4d77q+fwGseCvd8af/lJ9masp4QWzBXFE2xA==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-annotate-as-pure": "^7.12.13",
+ "@babel/helper-module-imports": "^7.13.12",
+ "@babel/helper-plugin-utils": "^7.13.0",
+ "@babel/plugin-syntax-jsx": "^7.12.13",
+ "@babel/types": "^7.13.12"
+ }
+ },
+ "@babel/plugin-transform-shorthand-properties": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.12.13.tgz",
+ "integrity": "sha512-xpL49pqPnLtf0tVluuqvzWIgLEhuPpZzvs2yabUHSKRNlN7ScYU7aMlmavOeyXJZKgZKQRBlh8rHbKiJDraTSw==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-spread": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.13.0.tgz",
+ "integrity": "sha512-V6vkiXijjzYeFmQTr3dBxPtZYLPcUfY34DebOU27jIl2M/Y8Egm52Hw82CSjjPqd54GTlJs5x+CR7HeNr24ckg==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.13.0",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.12.1"
+ }
+ },
+ "@babel/plugin-transform-template-literals": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.13.0.tgz",
+ "integrity": "sha512-d67umW6nlfmr1iehCcBv69eSUSySk1EsIS8aTDX4Xo9qajAh6mYtcl4kJrBkGXuxZPEgVr7RVfAvNW6YQkd4Mw==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.13.0"
+ }
+ },
+ "@babel/runtime": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.13.16.tgz",
+ "integrity": "sha512-7VsWJsI5USRhBLE/3of+VU2DDNWtYHQlq2IHu2iL15+Yx4qVqP8KllR6JMHQlTKWRyDk9Tw6unkqSusaHXt//A==",
+ "requires": {
+ "regenerator-runtime": "^0.13.4"
+ },
+ "dependencies": {
+ "regenerator-runtime": {
+ "version": "0.13.7",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz",
+ "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew=="
+ }
+ }
+ },
+ "@babel/template": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.12.13.tgz",
+ "integrity": "sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==",
+ "optional": true,
+ "requires": {
+ "@babel/code-frame": "^7.12.13",
+ "@babel/parser": "^7.12.13",
+ "@babel/types": "^7.12.13"
+ }
+ },
+ "@babel/traverse": {
+ "version": "7.13.15",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.15.tgz",
+ "integrity": "sha512-/mpZMNvj6bce59Qzl09fHEs8Bt8NnpEDQYleHUPZQ3wXUMvXi+HJPLars68oAbmp839fGoOkv2pSL2z9ajCIaQ==",
+ "optional": true,
+ "requires": {
+ "@babel/code-frame": "^7.12.13",
+ "@babel/generator": "^7.13.9",
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-split-export-declaration": "^7.12.13",
+ "@babel/parser": "^7.13.15",
+ "@babel/types": "^7.13.14",
+ "debug": "^4.1.0",
+ "globals": "^11.1.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "optional": true,
+ "requires": {
+ "ms": "2.1.2"
+ }
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "optional": true
+ }
+ }
+ },
+ "@babel/types": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.13.16.tgz",
+ "integrity": "sha512-7enM8Wxhrl1hB1+k6+xO6RmxpNkaveRWkdpyii8DkrLWRgr0l3x29/SEuhTIkP+ynHsU/Hpjn8Evd/axv/ll6Q==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "to-fast-properties": "^2.0.0"
+ },
+ "dependencies": {
+ "to-fast-properties": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
+ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
+ "optional": true
+ }
+ }
+ },
+ "@codechecks/client": {
+ "version": "0.1.9",
+ "resolved": "https://registry.npmjs.org/@codechecks/client/-/client-0.1.9.tgz",
+ "integrity": "sha512-ch8F7InQDKOXbp1J5j6Xpu707Zt8I2L/ljCLMDNa+d6T/YYBBxDJPnACLdALEjrmBLOhsCWJIK3+mLRxQsXiOQ==",
+ "dev": true,
+ "requires": {
+ "bluebird": "^3.5.3",
+ "chalk": "^2.4.2",
+ "commander": "^2.19.0",
+ "debug": "^4.1.1",
+ "execa": "^1.0.0",
+ "glob": "^7.1.3",
+ "graceful-fs": "^4.1.15",
+ "js-yaml": "^3.13.1",
+ "json5": "^2.1.0",
+ "lodash": "^4.17.11",
+ "marked": "^0.7.0",
+ "marked-terminal": "^3.3.0",
+ "mkdirp": "^0.5.1",
+ "ms": "^2.1.1",
+ "promise": "^8.0.2",
+ "request": "^2.88.0",
+ "request-promise": "^4.2.2",
+ "ts-essentials": "^1.0.2",
+ "ts-node": "^8.0.2",
+ "url-join": "^4.0.0"
+ },
+ "dependencies": {
+ "commander": {
+ "version": "2.20.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz",
+ "integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==",
+ "dev": true
+ },
+ "cross-spawn": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
+ "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
+ "dev": true,
+ "requires": {
+ "nice-try": "^1.0.4",
+ "path-key": "^2.0.1",
+ "semver": "^5.5.0",
+ "shebang-command": "^1.2.0",
+ "which": "^1.2.9"
+ }
+ },
+ "debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "dev": true,
+ "requires": {
+ "ms": "^2.1.1"
+ }
+ },
+ "execa": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
+ "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
+ "dev": true,
+ "requires": {
+ "cross-spawn": "^6.0.0",
+ "get-stream": "^4.0.0",
+ "is-stream": "^1.1.0",
+ "npm-run-path": "^2.0.0",
+ "p-finally": "^1.0.0",
+ "signal-exit": "^3.0.0",
+ "strip-eof": "^1.0.0"
+ }
+ },
+ "get-stream": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
+ "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
+ "dev": true,
+ "requires": {
+ "pump": "^3.0.0"
+ }
+ },
+ "glob": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
+ "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
+ "dev": true,
+ "requires": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
+ },
+ "json5": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.0.tgz",
+ "integrity": "sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ==",
+ "dev": true,
+ "requires": {
+ "minimist": "^1.2.0"
+ }
+ },
+ "minimist": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
+ "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
+ "dev": true
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true
+ },
+ "pump": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "dev": true,
+ "requires": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ }
+ }
+ },
+ "@consento/sync-randombytes": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@consento/sync-randombytes/-/sync-randombytes-1.0.5.tgz",
+ "integrity": "sha512-mPJ2XvrTLQGEdhleDuSIkWtVWnvmhREOC1FjorV1nlK49t/52Z9X1d618gTj6nlQghRLiYvcd8oL4vZ2YZuDIQ==",
+ "optional": true,
+ "requires": {
+ "buffer": "^5.4.3",
+ "seedrandom": "^3.0.5"
+ }
+ },
+ "@ethersproject/abi": {
+ "version": "5.0.7",
+ "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.0.7.tgz",
+ "integrity": "sha512-Cqktk+hSIckwP/W8O47Eef60VwmoSC/L3lY0+dIBhQPCNn9E4V7rwmm2aFrNRRDJfFlGuZ1khkQUOc3oBX+niw==",
+ "requires": {
+ "@ethersproject/address": "^5.0.4",
+ "@ethersproject/bignumber": "^5.0.7",
+ "@ethersproject/bytes": "^5.0.4",
+ "@ethersproject/constants": "^5.0.4",
+ "@ethersproject/hash": "^5.0.4",
+ "@ethersproject/keccak256": "^5.0.3",
+ "@ethersproject/logger": "^5.0.5",
+ "@ethersproject/properties": "^5.0.3",
+ "@ethersproject/strings": "^5.0.4"
+ }
+ },
+ "@ethersproject/abstract-provider": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.1.0.tgz",
+ "integrity": "sha512-8dJUnT8VNvPwWhYIau4dwp7qe1g+KgdRm4XTWvjkI9gAT2zZa90WF5ApdZ3vl1r6NDmnn6vUVvyphClRZRteTQ==",
+ "requires": {
+ "@ethersproject/bignumber": "^5.1.0",
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "@ethersproject/networks": "^5.1.0",
+ "@ethersproject/properties": "^5.1.0",
+ "@ethersproject/transactions": "^5.1.0",
+ "@ethersproject/web": "^5.1.0"
+ }
+ },
+ "@ethersproject/abstract-signer": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.1.0.tgz",
+ "integrity": "sha512-qQDMkjGZSSJSKl6AnfTgmz9FSnzq3iEoEbHTYwjDlEAv+LNP7zd4ixCcVWlWyk+2siud856M5CRhAmPdupeN9w==",
+ "requires": {
+ "@ethersproject/abstract-provider": "^5.1.0",
+ "@ethersproject/bignumber": "^5.1.0",
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "@ethersproject/properties": "^5.1.0"
+ }
+ },
+ "@ethersproject/address": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.1.0.tgz",
+ "integrity": "sha512-rfWQR12eHn2cpstCFS4RF7oGjfbkZb0oqep+BfrT+gWEGWG2IowJvIsacPOvzyS1jhNF4MQ4BS59B04Mbovteg==",
+ "requires": {
+ "@ethersproject/bignumber": "^5.1.0",
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/keccak256": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "@ethersproject/rlp": "^5.1.0"
+ }
+ },
+ "@ethersproject/base64": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.1.0.tgz",
+ "integrity": "sha512-npD1bLvK4Bcxz+m4EMkx+F8Rd7CnqS9DYnhNu0/GlQBXhWjvfoAZzk5HJ0f1qeyp8d+A86PTuzLOGOXf4/CN8g==",
+ "requires": {
+ "@ethersproject/bytes": "^5.1.0"
+ }
+ },
+ "@ethersproject/bignumber": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.1.1.tgz",
+ "integrity": "sha512-AVz5iqz7+70RIqoQTznsdJ6DOVBYciNlvO+AlQmPTB6ofCvoihI9bQdr6wljsX+d5W7Yc4nyvQvP4JMzg0Agig==",
+ "requires": {
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "bn.js": "^4.4.0"
+ }
+ },
+ "@ethersproject/bytes": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.1.0.tgz",
+ "integrity": "sha512-sGTxb+LVjFxJcJeUswAIK6ncgOrh3D8c192iEJd7mLr95V6du119rRfYT/b87WPkZ5I3gRBUYIYXtdgCWACe8g==",
+ "requires": {
+ "@ethersproject/logger": "^5.1.0"
+ }
+ },
+ "@ethersproject/constants": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.1.0.tgz",
+ "integrity": "sha512-0/SuHrxc8R8k+JiLmJymxHJbojUDWBQqO+b+XFdwaP0jGzqC09YDy/CAlSZB6qHsBifY8X3I89HcK/oMqxRdBw==",
+ "requires": {
+ "@ethersproject/bignumber": "^5.1.0"
+ }
+ },
+ "@ethersproject/hash": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.1.0.tgz",
+ "integrity": "sha512-fNwry20yLLPpnRRwm3fBL+2ksgO+KMadxM44WJmRIoTKzy4269+rbq9KFoe2LTqq2CXJM2CE70beGaNrpuqflQ==",
+ "requires": {
+ "@ethersproject/abstract-signer": "^5.1.0",
+ "@ethersproject/address": "^5.1.0",
+ "@ethersproject/bignumber": "^5.1.0",
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/keccak256": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "@ethersproject/properties": "^5.1.0",
+ "@ethersproject/strings": "^5.1.0"
+ }
+ },
+ "@ethersproject/keccak256": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.1.0.tgz",
+ "integrity": "sha512-vrTB1W6AEYoadww5c9UyVJ2YcSiyIUTNDRccZIgwTmFFoSHwBtcvG1hqy9RzJ1T0bMdATbM9Hfx2mJ6H0i7Hig==",
+ "requires": {
+ "@ethersproject/bytes": "^5.1.0",
+ "js-sha3": "0.5.7"
+ },
+ "dependencies": {
+ "js-sha3": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz",
+ "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc="
+ }
+ }
+ },
+ "@ethersproject/logger": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.1.0.tgz",
+ "integrity": "sha512-wtUaD1lBX10HBXjjKV9VHCBnTdUaKQnQ2XSET1ezglqLdPdllNOIlLfhyCRqXm5xwcjExVI5ETokOYfjPtaAlw=="
+ },
+ "@ethersproject/networks": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.1.0.tgz",
+ "integrity": "sha512-A/NIrIED/G/IgU1XUukOA3WcFRxn2I4O5GxsYGA5nFlIi+UZWdGojs85I1VXkR1gX9eFnDXzjE6OtbgZHjFhIA==",
+ "requires": {
+ "@ethersproject/logger": "^5.1.0"
+ }
+ },
+ "@ethersproject/properties": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.1.0.tgz",
+ "integrity": "sha512-519KKTwgmH42AQL3+GFV3SX6khYEfHsvI6v8HYejlkigSDuqttdgVygFTDsGlofNFchhDwuclrxQnD5B0YLNMg==",
+ "requires": {
+ "@ethersproject/logger": "^5.1.0"
+ }
+ },
+ "@ethersproject/rlp": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.1.0.tgz",
+ "integrity": "sha512-vDTyHIwNPrecy55gKGZ47eJZhBm8LLBxihzi5ou+zrSvYTpkSTWRcKUlXFDFQVwfWB+P5PGyERAdiDEI76clxw==",
+ "requires": {
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0"
+ }
+ },
+ "@ethersproject/signing-key": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.1.0.tgz",
+ "integrity": "sha512-tE5LFlbmdObG8bY04NpuwPWSRPgEswfxweAI1sH7TbP0ml1elNfqcq7ii/3AvIN05i5U0Pkm3Tf8bramt8MmLw==",
+ "requires": {
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "@ethersproject/properties": "^5.1.0",
+ "bn.js": "^4.4.0",
+ "elliptic": "6.5.4"
+ },
+ "dependencies": {
+ "bn.js": {
+ "version": "4.12.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",
+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="
+ },
+ "elliptic": {
+ "version": "6.5.4",
+ "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz",
+ "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==",
+ "requires": {
+ "bn.js": "^4.11.9",
+ "brorand": "^1.1.0",
+ "hash.js": "^1.0.0",
+ "hmac-drbg": "^1.0.1",
+ "inherits": "^2.0.4",
+ "minimalistic-assert": "^1.0.1",
+ "minimalistic-crypto-utils": "^1.0.1"
+ }
+ },
+ "inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
+ }
+ }
+ },
+ "@ethersproject/strings": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.1.0.tgz",
+ "integrity": "sha512-perBZy0RrmmL0ejiFGUOlBVjMsUceqLut3OBP3zP96LhiJWWbS8u1NqQVgN4/Gyrbziuda66DxiQocXhsvx+Sw==",
+ "requires": {
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/constants": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0"
+ }
+ },
+ "@ethersproject/transactions": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.1.1.tgz",
+ "integrity": "sha512-Nwgbp09ttIVN0OoUBatCXaHxR7grWPHbozJN8v7AXDLrl6nnOIBEMDh+yJTnosSQlFhcyjfTGGN+Mx6R8HdvMw==",
+ "requires": {
+ "@ethersproject/address": "^5.1.0",
+ "@ethersproject/bignumber": "^5.1.0",
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/constants": "^5.1.0",
+ "@ethersproject/keccak256": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "@ethersproject/properties": "^5.1.0",
+ "@ethersproject/rlp": "^5.1.0",
+ "@ethersproject/signing-key": "^5.1.0"
+ }
+ },
+ "@ethersproject/web": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.1.0.tgz",
+ "integrity": "sha512-LTeluWgTq04+RNqAkVhpydPcRZK/kKxD2Vy7PYGrAD27ABO9kTqTBKwiOuzTyAHKUQHfnvZbXmxBXJAGViSDcA==",
+ "requires": {
+ "@ethersproject/base64": "^5.1.0",
+ "@ethersproject/bytes": "^5.1.0",
+ "@ethersproject/logger": "^5.1.0",
+ "@ethersproject/properties": "^5.1.0",
+ "@ethersproject/strings": "^5.1.0"
+ }
+ },
+ "@graphql-tools/batch-delegate": {
+ "version": "6.2.6",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/batch-delegate/-/batch-delegate-6.2.6.tgz",
+ "integrity": "sha512-QUoE9pQtkdNPFdJHSnBhZtUfr3M7pIRoXoMR+TG7DK2Y62ISKbT/bKtZEUU1/2v5uqd5WVIvw9dF8gHDSJAsSA==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/delegate": "^6.2.4",
+ "dataloader": "2.0.0",
+ "tslib": "~2.0.1"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/batch-execute": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/batch-execute/-/batch-execute-7.1.0.tgz",
+ "integrity": "sha512-Yb4QRpHZqDk24+T4K3ARk/KFU26Dyl30XcbYeVvIrgIKcmeON/p3DfSeiB0+MaxYlsv+liQKvlxNbeC2hD31pA==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/utils": "^7.7.0",
+ "dataloader": "2.0.0",
+ "is-promise": "4.0.0",
+ "tslib": "~2.1.0"
+ },
+ "dependencies": {
+ "@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "requires": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+ "optional": true
+ },
+ "lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "requires": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "requires": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/code-file-loader": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/code-file-loader/-/code-file-loader-6.3.1.tgz",
+ "integrity": "sha512-ZJimcm2ig+avgsEOWWVvAaxZrXXhiiSZyYYOJi0hk9wh5BxZcLUNKkTp6EFnZE/jmGUwuos3pIjUD3Hwi3Bwhg==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/graphql-tag-pluck": "^6.5.1",
+ "@graphql-tools/utils": "^7.0.0",
+ "tslib": "~2.1.0"
+ },
+ "dependencies": {
+ "@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "requires": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "requires": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "requires": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/delegate": {
+ "version": "6.2.4",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/delegate/-/delegate-6.2.4.tgz",
+ "integrity": "sha512-mXe6DfoWmq49kPcDrpKHgC2DSWcD5q0YCaHHoXYPAOlnLH8VMTY8BxcE8y/Do2eyg+GLcwAcrpffVszWMwqw0w==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "@graphql-tools/schema": "^6.2.4",
+ "@graphql-tools/utils": "^6.2.4",
+ "dataloader": "2.0.0",
+ "is-promise": "4.0.0",
+ "tslib": "~2.0.1"
+ },
+ "dependencies": {
+ "is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+ "optional": true
+ },
+ "tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/git-loader": {
+ "version": "6.2.6",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/git-loader/-/git-loader-6.2.6.tgz",
+ "integrity": "sha512-ooQTt2CaG47vEYPP3CPD+nbA0F+FYQXfzrB1Y1ABN9K3d3O2RK3g8qwslzZaI8VJQthvKwt0A95ZeE4XxteYfw==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/graphql-tag-pluck": "^6.2.6",
+ "@graphql-tools/utils": "^7.0.0",
+ "tslib": "~2.1.0"
+ },
+ "dependencies": {
+ "@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "requires": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "requires": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "requires": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/github-loader": {
+ "version": "6.2.5",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/github-loader/-/github-loader-6.2.5.tgz",
+ "integrity": "sha512-DLuQmYeNNdPo8oWus8EePxWCfCAyUXPZ/p1PWqjrX/NGPyH2ZObdqtDAfRHztljt0F/qkBHbGHCEk2TKbRZTRw==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/graphql-tag-pluck": "^6.2.6",
+ "@graphql-tools/utils": "^7.0.0",
+ "cross-fetch": "3.0.6",
+ "tslib": "~2.0.1"
+ },
+ "dependencies": {
+ "@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "requires": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "cross-fetch": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.6.tgz",
+ "integrity": "sha512-KBPUbqgFjzWlVcURG+Svp9TlhA5uliYtiNx/0r8nv0pdypeQCRJ9IaSIc3q/x3q8t3F75cHuwxVql1HFGHCNJQ==",
+ "optional": true,
+ "requires": {
+ "node-fetch": "2.6.1"
+ }
+ },
+ "lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "requires": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true
+ },
+ "pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "requires": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/graphql-file-loader": {
+ "version": "6.2.7",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/graphql-file-loader/-/graphql-file-loader-6.2.7.tgz",
+ "integrity": "sha512-5k2SNz0W87tDcymhEMZMkd6/vs6QawDyjQXWtqkuLTBF3vxjxPD1I4dwHoxgWPIjjANhXybvulD7E+St/7s9TQ==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/import": "^6.2.6",
+ "@graphql-tools/utils": "^7.0.0",
+ "tslib": "~2.1.0"
+ },
+ "dependencies": {
+ "@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "requires": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "requires": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "requires": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/graphql-tag-pluck": {
+ "version": "6.5.1",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-6.5.1.tgz",
+ "integrity": "sha512-7qkm82iFmcpb8M6/yRgzjShtW6Qu2OlCSZp8uatA3J0eMl87TxyJoUmL3M3UMMOSundAK8GmoyNVFUrueueV5Q==",
+ "optional": true,
+ "requires": {
+ "@babel/parser": "7.12.16",
+ "@babel/traverse": "7.12.13",
+ "@babel/types": "7.12.13",
+ "@graphql-tools/utils": "^7.0.0",
+ "tslib": "~2.1.0"
+ },
+ "dependencies": {
+ "@babel/parser": {
+ "version": "7.12.16",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.16.tgz",
+ "integrity": "sha512-c/+u9cqV6F0+4Hpq01jnJO+GLp2DdT63ppz9Xa+6cHaajM9VFzK/iDXiKK65YtpeVwu+ctfS6iqlMqRgQRzeCw==",
+ "optional": true
+ },
+ "@babel/traverse": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.12.13.tgz",
+ "integrity": "sha512-3Zb4w7eE/OslI0fTp8c7b286/cQps3+vdLW3UcwC8VSJC6GbKn55aeVVu2QJNuCDoeKyptLOFrPq8WqZZBodyA==",
+ "optional": true,
+ "requires": {
+ "@babel/code-frame": "^7.12.13",
+ "@babel/generator": "^7.12.13",
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-split-export-declaration": "^7.12.13",
+ "@babel/parser": "^7.12.13",
+ "@babel/types": "^7.12.13",
+ "debug": "^4.1.0",
+ "globals": "^11.1.0",
+ "lodash": "^4.17.19"
+ }
+ },
+ "@babel/types": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.13.tgz",
+ "integrity": "sha512-oKrdZTld2im1z8bDwTOQvUbxKwE+854zc16qWZQlcTqMN00pWxHQ4ZeOq0yDMnisOpRykH2/5Qqcrk/OlbAjiQ==",
+ "optional": true,
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "lodash": "^4.17.19",
+ "to-fast-properties": "^2.0.0"
+ }
+ },
+ "@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "requires": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "optional": true,
+ "requires": {
+ "ms": "2.1.2"
+ }
+ },
+ "lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "optional": true
+ },
+ "no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "requires": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "requires": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "to-fast-properties": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
+ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
+ "optional": true
+ },
+ "tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/import": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/import/-/import-6.3.0.tgz",
+ "integrity": "sha512-zmaVhJ3UPjzJSb005Pjn2iWvH+9AYRXI4IUiTi14uPupiXppJP3s7S25Si3+DbHpFwurDF2nWRxBLiFPWudCqw==",
+ "optional": true,
+ "requires": {
+ "resolve-from": "5.0.0",
+ "tslib": "~2.1.0"
+ },
+ "dependencies": {
+ "resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "optional": true
+ },
+ "tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/json-file-loader": {
+ "version": "6.2.6",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/json-file-loader/-/json-file-loader-6.2.6.tgz",
+ "integrity": "sha512-CnfwBSY5926zyb6fkDBHnlTblHnHI4hoBALFYXnrg0Ev4yWU8B04DZl/pBRUc459VNgO2x8/mxGIZj2hPJG1EA==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/utils": "^7.0.0",
+ "tslib": "~2.0.1"
+ },
+ "dependencies": {
+ "@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "requires": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "requires": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "requires": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/links": {
+ "version": "6.2.5",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/links/-/links-6.2.5.tgz",
+ "integrity": "sha512-XeGDioW7F+HK6HHD/zCeF0HRC9s12NfOXAKv1HC0J7D50F4qqMvhdS/OkjzLoBqsgh/Gm8icRc36B5s0rOA9ig==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/utils": "^7.0.0",
+ "apollo-link": "1.2.14",
+ "apollo-upload-client": "14.1.2",
+ "cross-fetch": "3.0.6",
+ "form-data": "3.0.0",
+ "is-promise": "4.0.0",
+ "tslib": "~2.0.1"
+ },
+ "dependencies": {
+ "@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "requires": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "cross-fetch": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.6.tgz",
+ "integrity": "sha512-KBPUbqgFjzWlVcURG+Svp9TlhA5uliYtiNx/0r8nv0pdypeQCRJ9IaSIc3q/x3q8t3F75cHuwxVql1HFGHCNJQ==",
+ "optional": true,
+ "requires": {
+ "node-fetch": "2.6.1"
+ }
+ },
+ "form-data": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.0.tgz",
+ "integrity": "sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==",
+ "optional": true,
+ "requires": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.8",
+ "mime-types": "^2.1.12"
+ }
+ },
+ "is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+ "optional": true
+ },
+ "lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "requires": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true
+ },
+ "pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "requires": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/load": {
+ "version": "6.2.8",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/load/-/load-6.2.8.tgz",
+ "integrity": "sha512-JpbyXOXd8fJXdBh2ta0Q4w8ia6uK5FHzrTNmcvYBvflFuWly2LDTk2abbSl81zKkzswQMEd2UIYghXELRg8eTA==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/merge": "^6.2.12",
+ "@graphql-tools/utils": "^7.5.0",
+ "globby": "11.0.3",
+ "import-from": "3.0.0",
+ "is-glob": "4.0.1",
+ "p-limit": "3.1.0",
+ "tslib": "~2.2.0",
+ "unixify": "1.0.0",
+ "valid-url": "1.0.9"
+ },
+ "dependencies": {
+ "@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ }
+ },
+ "camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "requires": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "requires": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "optional": true,
+ "requires": {
+ "yocto-queue": "^0.1.0"
+ }
+ },
+ "pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "requires": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/load-files": {
+ "version": "6.3.2",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/load-files/-/load-files-6.3.2.tgz",
+ "integrity": "sha512-3mgwEKZ8yy7CD/uVs9yeXR3r+GwjlTKRG5bC75xdJFN8WbzbcHjIJiTXfWSAYqbfSTam0hWnRdWghagzFSo5kQ==",
+ "optional": true,
+ "requires": {
+ "globby": "11.0.3",
+ "tslib": "~2.1.0",
+ "unixify": "1.0.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/merge": {
+ "version": "6.2.13",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-6.2.13.tgz",
+ "integrity": "sha512-Qjlki0fp+bBQPinhdv7rv24eurvThZ5oIFvGMpLxMZplbw/ovJ2c6llwXr5PCuWAk9HGZsyM9NxxDgtTRfq3dQ==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/schema": "^7.0.0",
+ "@graphql-tools/utils": "^7.7.0",
+ "tslib": "~2.2.0"
+ },
+ "dependencies": {
+ "@graphql-tools/schema": {
+ "version": "7.1.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-7.1.3.tgz",
+ "integrity": "sha512-ZY76hmcJlF1iyg3Im0sQ3ASRkiShjgv102vLTVcH22lEGJeCaCyyS/GF1eUHom418S60bS8Th6+autRUxfBiBg==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/utils": "^7.1.2",
+ "tslib": "~2.1.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ }
+ },
+ "camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "requires": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "requires": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "requires": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/mock": {
+ "version": "6.2.4",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/mock/-/mock-6.2.4.tgz",
+ "integrity": "sha512-O5Zvq/mcDZ7Ptky0IZ4EK9USmxV6FEVYq0Jxv2TI80kvxbCjt0tbEpZ+r1vIt1gZOXlAvadSHYyzWnUPh+1vkQ==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/schema": "^6.2.4",
+ "@graphql-tools/utils": "^6.2.4",
+ "tslib": "~2.0.1"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/module-loader": {
+ "version": "6.2.7",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/module-loader/-/module-loader-6.2.7.tgz",
+ "integrity": "sha512-ItAAbHvwfznY9h1H9FwHYDstTcm22Dr5R9GZtrWlpwqj0jaJGcBxsMB9jnK9kFqkbtFYEe4E/NsSnxsS4/vViQ==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/utils": "^7.5.0",
+ "tslib": "~2.1.0"
+ },
+ "dependencies": {
+ "@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "requires": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "requires": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "requires": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/relay-operation-optimizer": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/relay-operation-optimizer/-/relay-operation-optimizer-6.3.0.tgz",
+ "integrity": "sha512-Or3UgRvkY9Fq1AAx7q38oPqFmTepLz7kp6wDHKyR0ceG7AvHv5En22R12mAeISInbhff4Rpwgf6cE8zHRu6bCw==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/utils": "^7.1.0",
+ "relay-compiler": "10.1.0",
+ "tslib": "~2.0.1"
+ },
+ "dependencies": {
+ "@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "requires": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "requires": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "requires": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/resolvers-composition": {
+ "version": "6.2.6",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/resolvers-composition/-/resolvers-composition-6.2.6.tgz",
+ "integrity": "sha512-QO0PC5RG0SolOksupOuB4B0tuzEsQFwQrwD9xLHCrJmjaLi66lOKMFzN40IBY5rqg0k/zqPyjII8rtzcNobvIg==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/utils": "^7.0.0",
+ "lodash": "4.17.21",
+ "tslib": "~2.1.0"
+ },
+ "dependencies": {
+ "@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "requires": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "requires": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "requires": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/schema": {
+ "version": "6.2.4",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-6.2.4.tgz",
+ "integrity": "sha512-rh+14lSY1q8IPbEv2J9x8UBFJ5NrDX9W5asXEUlPp+7vraLp/Tiox4GXdgyA92JhwpYco3nTf5Bo2JDMt1KnAQ==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/utils": "^6.2.4",
+ "tslib": "~2.0.1"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/stitch": {
+ "version": "6.2.4",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/stitch/-/stitch-6.2.4.tgz",
+ "integrity": "sha512-0C7PNkS7v7iAc001m7c1LPm5FUB0/DYw+s3OyCii6YYYHY8NwdI0roeOyeDGFJkFubWBQfjc3hoSyueKtU73mw==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/batch-delegate": "^6.2.4",
+ "@graphql-tools/delegate": "^6.2.4",
+ "@graphql-tools/merge": "^6.2.4",
+ "@graphql-tools/schema": "^6.2.4",
+ "@graphql-tools/utils": "^6.2.4",
+ "@graphql-tools/wrap": "^6.2.4",
+ "is-promise": "4.0.0",
+ "tslib": "~2.0.1"
+ },
+ "dependencies": {
+ "is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+ "optional": true
+ },
+ "tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/url-loader": {
+ "version": "6.8.2",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/url-loader/-/url-loader-6.8.2.tgz",
+ "integrity": "sha512-YzsXSCOwlSj8UqOMhQThPzgEChgS/MonyWV7f0WKmN9gAT/f3fPaUcYhVamsH0vGbvTkfNM4JdoZO/39amRs5Q==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/delegate": "^7.0.1",
+ "@graphql-tools/utils": "^7.1.5",
+ "@graphql-tools/wrap": "^7.0.4",
+ "@types/websocket": "1.0.2",
+ "cross-fetch": "3.1.1",
+ "eventsource": "1.1.0",
+ "extract-files": "9.0.0",
+ "form-data": "4.0.0",
+ "graphql-upload": "^11.0.0",
+ "graphql-ws": "4.2.2",
+ "is-promise": "4.0.0",
+ "isomorphic-ws": "4.0.1",
+ "sse-z": "0.3.0",
+ "sync-fetch": "0.3.0",
+ "tslib": "~2.1.0",
+ "valid-url": "1.0.9",
+ "ws": "7.4.4"
+ },
+ "dependencies": {
+ "@graphql-tools/delegate": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/delegate/-/delegate-7.1.2.tgz",
+ "integrity": "sha512-XvmIod9ZYKMLk2vV5ulbUyo1Va4SCvvp/VNq4RTae2SEvYwNewc1xs1Klmz8khV+c2V30xKSccNWGA6BWyTTog==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "@graphql-tools/batch-execute": "^7.1.0",
+ "@graphql-tools/schema": "^7.0.0",
+ "@graphql-tools/utils": "^7.7.1",
+ "dataloader": "2.0.0",
+ "is-promise": "4.0.0",
+ "tslib": "~2.2.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/schema": {
+ "version": "7.1.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-7.1.3.tgz",
+ "integrity": "sha512-ZY76hmcJlF1iyg3Im0sQ3ASRkiShjgv102vLTVcH22lEGJeCaCyyS/GF1eUHom418S60bS8Th6+autRUxfBiBg==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/utils": "^7.1.2",
+ "tslib": "~2.1.0"
+ }
+ },
+ "@graphql-tools/utils": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-7.7.3.tgz",
+ "integrity": "sha512-zF8Ll1v7DOFfCsZVYGkJqvi3Zpwfga8NutOZkToXrumMlTPaMhEDFkiuwoIK4lV2PMVUke5ZCmpn9pc5pqy4Tw==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.2",
+ "tslib": "~2.2.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/wrap": {
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/wrap/-/wrap-7.0.5.tgz",
+ "integrity": "sha512-KCWBXsDfvG46GNUawRltJL4j9BMGoOG7oo3WEyCQP+SByWXiTe5cBF45SLDVQgdjljGNZhZ4Lq/7avIkF7/zDQ==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/delegate": "^7.0.7",
+ "@graphql-tools/schema": "^7.1.2",
+ "@graphql-tools/utils": "^7.2.1",
+ "is-promise": "4.0.0",
+ "tslib": "~2.0.1"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ }
+ }
+ },
+ "camel-case": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
+ "optional": true,
+ "requires": {
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "cross-fetch": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.1.tgz",
+ "integrity": "sha512-eIF+IHQpRzoGd/0zPrwQmHwDC90mdvjk+hcbYhKoaRrEk4GEIDqdjs/MljmdPPoHTQudbmWS+f0hZsEpFaEvWw==",
+ "optional": true,
+ "requires": {
+ "node-fetch": "2.6.1"
+ }
+ },
+ "form-data": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
+ "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
+ "optional": true,
+ "requires": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.8",
+ "mime-types": "^2.1.12"
+ }
+ },
+ "is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+ "optional": true
+ },
+ "lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "requires": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true
+ },
+ "pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "requires": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "tslib": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
+ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==",
+ "optional": true
+ },
+ "ws": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.4.tgz",
+ "integrity": "sha512-Qm8k8ojNQIMx7S+Zp8u/uHOx7Qazv3Yv4q68MiWWWOJhiwG5W3x7iqmRtJo8xxrciZUY4vRxUTJCKuRnF28ZZw==",
+ "optional": true,
+ "requires": {}
+ }
+ }
+ },
+ "@graphql-tools/utils": {
+ "version": "6.2.4",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-6.2.4.tgz",
+ "integrity": "sha512-ybgZ9EIJE3JMOtTrTd2VcIpTXtDrn2q6eiYkeYMKRVh3K41+LZa6YnR2zKERTXqTWqhobROwLt4BZbw2O3Aeeg==",
+ "optional": true,
+ "requires": {
+ "@ardatan/aggregate-error": "0.0.6",
+ "camel-case": "4.1.1",
+ "tslib": "~2.0.1"
+ },
+ "dependencies": {
+ "camel-case": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.1.tgz",
+ "integrity": "sha512-7fa2WcG4fYFkclIvEmxBbTvmibwF2/agfEBc6q3lOpVu0A13ltLsA+Hr/8Hp6kp5f+G7hKi6t8lys6XxP+1K6Q==",
+ "optional": true,
+ "requires": {
+ "pascal-case": "^3.1.1",
+ "tslib": "^1.10.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",
+ "optional": true
+ }
+ }
+ },
+ "lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "optional": true,
+ "requires": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "pascal-case": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
+ "optional": true,
+ "requires": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-tools/wrap": {
+ "version": "6.2.4",
+ "resolved": "https://registry.npmjs.org/@graphql-tools/wrap/-/wrap-6.2.4.tgz",
+ "integrity": "sha512-cyQgpybolF9DjL2QNOvTS1WDCT/epgYoiA8/8b3nwv5xmMBQ6/6nYnZwityCZ7njb7MMyk7HBEDNNlP9qNJDcA==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/delegate": "^6.2.4",
+ "@graphql-tools/schema": "^6.2.4",
+ "@graphql-tools/utils": "^6.2.4",
+ "is-promise": "4.0.0",
+ "tslib": "~2.0.1"
+ },
+ "dependencies": {
+ "is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+ "optional": true
+ },
+ "tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ }
+ }
+ },
+ "@graphql-typed-document-node/core": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.1.0.tgz",
+ "integrity": "sha512-wYn6r8zVZyQJ6rQaALBEln5B1pzxb9shV5Ef97kTvn6yVGrqyXVnDqnU24MXnFubR+rZjBY9NWuxX3FB2sTsjg==",
+ "optional": true,
+ "requires": {}
+ },
+ "@gulp-sourcemaps/map-sources": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@gulp-sourcemaps/map-sources/-/map-sources-1.0.0.tgz",
+ "integrity": "sha1-iQrnxdjId/bThIYCFazp1+yUW9o=",
+ "optional": true,
+ "requires": {
+ "normalize-path": "^2.0.1",
+ "through2": "^2.0.3"
+ },
+ "dependencies": {
+ "normalize-path": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
+ "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
+ "optional": true,
+ "requires": {
+ "remove-trailing-separator": "^1.0.1"
+ }
+ }
+ }
+ },
+ "@improbable-eng/grpc-web": {
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.13.0.tgz",
+ "integrity": "sha512-vaxxT+Qwb7GPqDQrBV4vAAfH0HywgOLw6xGIKXd9Q8hcV63CQhmS3p4+pZ9/wVvt4Ph3ZDK9fdC983b9aGMUFg==",
+ "optional": true,
+ "requires": {
+ "browser-headers": "^0.4.0"
+ }
+ },
+ "@josephg/resolvable": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@josephg/resolvable/-/resolvable-1.0.0.tgz",
+ "integrity": "sha512-OfTtjoqB2doov5aTJxkyAMK8dXoo7CjCUQSYUEtiY34jbWduOGV7+168tmCT8COMsUEd5DMSFg/0iAOPCBTNAQ==",
+ "optional": true
+ },
+ "@ledgerhq/devices": {
+ "version": "4.78.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/devices/-/devices-4.78.0.tgz",
+ "integrity": "sha512-tWKS5WM/UU82czihnVjRwz9SXNTQzWjGJ/7+j/xZ70O86nlnGJ1aaFbs5/WTzfrVKpOKgj1ZoZkAswX67i/JTw==",
+ "requires": {
+ "@ledgerhq/errors": "^4.78.0",
+ "@ledgerhq/logs": "^4.72.0",
+ "rxjs": "^6.5.3"
+ }
+ },
+ "@ledgerhq/errors": {
+ "version": "4.78.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/errors/-/errors-4.78.0.tgz",
+ "integrity": "sha512-FX6zHZeiNtegBvXabK6M5dJ+8OV8kQGGaGtuXDeK/Ss5EmG4Ltxc6Lnhe8hiHpm9pCHtktOsnUVL7IFBdHhYUg=="
+ },
+ "@ledgerhq/hw-app-eth": {
+ "version": "4.78.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/hw-app-eth/-/hw-app-eth-4.78.0.tgz",
+ "integrity": "sha512-m4s4Zhy4lwYJjZB3xPeGV/8mxQcnoui+Eu1KDEl6atsquZHUpbtern/0hZl88+OlFUz0XrX34W3I9cqj61Y6KA==",
+ "requires": {
+ "@ledgerhq/errors": "^4.78.0",
+ "@ledgerhq/hw-transport": "^4.78.0"
+ }
+ },
+ "@ledgerhq/hw-transport": {
+ "version": "4.78.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-4.78.0.tgz",
+ "integrity": "sha512-xQu16OMPQjFYLjqCysij+8sXtdWv2YLxPrB6FoLvEWGTlQ7yL1nUBRQyzyQtWIYqZd4THQowQmzm1VjxuN6SZw==",
+ "requires": {
+ "@ledgerhq/devices": "^4.78.0",
+ "@ledgerhq/errors": "^4.78.0",
+ "events": "^3.0.0"
+ }
+ },
+ "@ledgerhq/hw-transport-node-hid": {
+ "version": "4.78.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-node-hid/-/hw-transport-node-hid-4.78.0.tgz",
+ "integrity": "sha512-OMrY2ecfQ1XjMAuuHqu3n3agMPR06HN1s0ENrKc+Twbb5A17jujpv07WzjxfTN2V1G7vgeZpRqrg2ulhowWbdg==",
+ "optional": true,
+ "requires": {
+ "@ledgerhq/devices": "^4.78.0",
+ "@ledgerhq/errors": "^4.78.0",
+ "@ledgerhq/hw-transport": "^4.78.0",
+ "@ledgerhq/hw-transport-node-hid-noevents": "^4.78.0",
+ "@ledgerhq/logs": "^4.72.0",
+ "lodash": "^4.17.15",
+ "node-hid": "^0.7.9",
+ "usb": "^1.6.0"
+ }
+ },
+ "@ledgerhq/hw-transport-node-hid-noevents": {
+ "version": "4.78.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-node-hid-noevents/-/hw-transport-node-hid-noevents-4.78.0.tgz",
+ "integrity": "sha512-CJPVR4wksq+apiXH2GnsttguBxmj9zdM2HjqZ3dHZN8SFW/9Xj3k+baS+pYoUISkECVxDrdfaW3Bd5dWv+jPUg==",
+ "optional": true,
+ "requires": {
+ "@ledgerhq/devices": "^4.78.0",
+ "@ledgerhq/errors": "^4.78.0",
+ "@ledgerhq/hw-transport": "^4.78.0",
+ "@ledgerhq/logs": "^4.72.0",
+ "node-hid": "^0.7.9"
+ }
+ },
+ "@ledgerhq/hw-transport-u2f": {
+ "version": "4.24.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-u2f/-/hw-transport-u2f-4.24.0.tgz",
+ "integrity": "sha512-/gFjhkM0sJfZ7iUf8HoIkGufAWgPacrbb1LW0TvWnZwvsATVJ1BZJBtrr90Wo401PKsjVwYtFt3Ce4gOAUv9jQ==",
+ "requires": {
+ "@ledgerhq/hw-transport": "^4.24.0",
+ "u2f-api": "0.2.7"
+ }
+ },
+ "@ledgerhq/hw-transport-webusb": {
+ "version": "5.49.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-webusb/-/hw-transport-webusb-5.49.0.tgz",
+ "integrity": "sha512-oWgaVdAmQ9lOUnq1dhmCBP9v1ghEV+YBh0nHi7JtdpuLBuGd9red1HXdg5INE2J10rxO/wra3OoHcJlQguR8ew==",
+ "optional": true,
+ "requires": {
+ "@ledgerhq/devices": "^5.49.0",
+ "@ledgerhq/errors": "^5.49.0",
+ "@ledgerhq/hw-transport": "^5.49.0",
+ "@ledgerhq/logs": "^5.49.0"
+ },
+ "dependencies": {
+ "@ledgerhq/devices": {
+ "version": "5.49.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/devices/-/devices-5.49.0.tgz",
+ "integrity": "sha512-14VSO+NeR/O8VSXXnlBsA0DAluzanJVEjHLDJubU5NZjEttXVF9gdQh1j10+MKW0f8H23IkdqwswVQIB9ZPomQ==",
+ "optional": true,
+ "requires": {
+ "@ledgerhq/errors": "^5.49.0",
+ "@ledgerhq/logs": "^5.49.0",
+ "rxjs": "^6.6.7",
+ "semver": "^7.3.5"
+ }
+ },
+ "@ledgerhq/errors": {
+ "version": "5.49.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/errors/-/errors-5.49.0.tgz",
+ "integrity": "sha512-+uhoSsAnzZiZ2CUk/dv4Uo8lrl0jn2izYJATSbC5aZFd0Yl7PWZ1SMHMkvPVEgQvWZcu4iQZ67rlKOtj5tUFWA==",
+ "optional": true
+ },
+ "@ledgerhq/hw-transport": {
+ "version": "5.49.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-5.49.0.tgz",
+ "integrity": "sha512-mfQNSxZ3cTXo+l6SEM+D92YaW46GkP1IiWo9OkHPnsq8y8IxSD6QJOEiAAZtvpGvV1eRqqrVyanoFRTuHcZjZA==",
+ "optional": true,
+ "requires": {
+ "@ledgerhq/devices": "^5.49.0",
+ "@ledgerhq/errors": "^5.49.0",
+ "events": "^3.3.0"
+ }
+ },
+ "@ledgerhq/logs": {
+ "version": "5.49.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/logs/-/logs-5.49.0.tgz",
+ "integrity": "sha512-Ynl2JzRwh8l9PoXrDNihXEicpVo6Ra2lYZoqSYfVH/v/2/TSa/JB9Qll8P85XFYkS3ouDTTbp1S5KViaTkqD5g==",
+ "optional": true
+ },
+ "lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "optional": true,
+ "requires": {
+ "yallist": "^4.0.0"
+ }
+ },
+ "semver": {
+ "version": "7.3.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
+ "optional": true,
+ "requires": {
+ "lru-cache": "^6.0.0"
+ }
+ },
+ "yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "optional": true
+ }
+ }
+ },
+ "@ledgerhq/logs": {
+ "version": "4.72.0",
+ "resolved": "https://registry.npmjs.org/@ledgerhq/logs/-/logs-4.72.0.tgz",
+ "integrity": "sha512-o+TYF8vBcyySRsb2kqBDv/KMeme8a2nwWoG+lAWzbDmWfb2/MrVWYCVYDYvjXdSoI/Cujqy1i0gIDrkdxa9chA=="
+ },
+ "@multiformats/base-x": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@multiformats/base-x/-/base-x-4.0.1.tgz",
+ "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==",
+ "optional": true
+ },
+ "@nodefactory/filsnap-adapter": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@nodefactory/filsnap-adapter/-/filsnap-adapter-0.2.2.tgz",
+ "integrity": "sha512-nbaYMwVopOXN2bWOdDY3il6gGL9qMuCmMN4WPuoxzJjSnAMJNqEeSe6MNNJ/fYBLipZcJfAtirNXRrFLFN+Tvw==",
+ "optional": true
+ },
+ "@nodefactory/filsnap-types": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@nodefactory/filsnap-types/-/filsnap-types-0.2.2.tgz",
+ "integrity": "sha512-XT1tE2vrYF2D0tSNNekgjqKRpqPQn4W72eKul9dDCul/8ykouhqnVTyjFHYvBhlBWE0PK3nmG7i83QvhgGSiMw==",
+ "optional": true
+ },
+ "@nodelib/fs.scandir": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz",
+ "integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==",
+ "optional": true,
+ "requires": {
+ "@nodelib/fs.stat": "2.0.4",
+ "run-parallel": "^1.1.9"
+ }
+ },
+ "@nodelib/fs.stat": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz",
+ "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==",
+ "optional": true
+ },
+ "@nodelib/fs.walk": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz",
+ "integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==",
+ "optional": true,
+ "requires": {
+ "@nodelib/fs.scandir": "2.1.4",
+ "fastq": "^1.6.0"
+ }
+ },
+ "@protobufjs/aspromise": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz",
+ "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=",
+ "optional": true
+ },
+ "@protobufjs/base64": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz",
+ "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==",
+ "optional": true
+ },
+ "@protobufjs/codegen": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz",
+ "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==",
+ "optional": true
+ },
+ "@protobufjs/eventemitter": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz",
+ "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=",
+ "optional": true
+ },
+ "@protobufjs/fetch": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz",
+ "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=",
+ "optional": true,
+ "requires": {
+ "@protobufjs/aspromise": "^1.1.1",
+ "@protobufjs/inquire": "^1.1.0"
+ }
+ },
+ "@protobufjs/float": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz",
+ "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=",
+ "optional": true
+ },
+ "@protobufjs/inquire": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz",
+ "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=",
+ "optional": true
+ },
+ "@protobufjs/path": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz",
+ "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=",
+ "optional": true
+ },
+ "@protobufjs/pool": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz",
+ "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=",
+ "optional": true
+ },
+ "@protobufjs/utf8": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz",
+ "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=",
+ "optional": true
+ },
+ "@redux-saga/core": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@redux-saga/core/-/core-1.1.3.tgz",
+ "integrity": "sha512-8tInBftak8TPzE6X13ABmEtRJGjtK17w7VUs7qV17S8hCO5S3+aUTWZ/DBsBJPdE8Z5jOPwYALyvofgq1Ws+kg==",
+ "requires": {
+ "@babel/runtime": "^7.6.3",
+ "@redux-saga/deferred": "^1.1.2",
+ "@redux-saga/delay-p": "^1.1.2",
+ "@redux-saga/is": "^1.1.2",
+ "@redux-saga/symbols": "^1.1.2",
+ "@redux-saga/types": "^1.1.0",
+ "redux": "^4.0.4",
+ "typescript-tuple": "^2.2.1"
+ },
+ "dependencies": {
+ "redux": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/redux/-/redux-4.0.5.tgz",
+ "integrity": "sha512-VSz1uMAH24DM6MF72vcojpYPtrTUu3ByVWfPL1nPfVRb5mZVTve5GnNCUV53QM/BZ66xfWrm0CTWoM+Xlz8V1w==",
+ "requires": {
+ "loose-envify": "^1.4.0",
+ "symbol-observable": "^1.2.0"
+ }
+ },
+ "symbol-observable": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
+ "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ=="
+ }
+ }
+ },
+ "@redux-saga/deferred": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@redux-saga/deferred/-/deferred-1.1.2.tgz",
+ "integrity": "sha512-908rDLHFN2UUzt2jb4uOzj6afpjgJe3MjICaUNO3bvkV/kN/cNeI9PMr8BsFXB/MR8WTAZQq/PlTq8Kww3TBSQ=="
+ },
+ "@redux-saga/delay-p": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@redux-saga/delay-p/-/delay-p-1.1.2.tgz",
+ "integrity": "sha512-ojc+1IoC6OP65Ts5+ZHbEYdrohmIw1j9P7HS9MOJezqMYtCDgpkoqB5enAAZrNtnbSL6gVCWPHaoaTY5KeO0/g==",
+ "requires": {
+ "@redux-saga/symbols": "^1.1.2"
+ }
+ },
+ "@redux-saga/is": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@redux-saga/is/-/is-1.1.2.tgz",
+ "integrity": "sha512-OLbunKVsCVNTKEf2cH4TYyNbbPgvmZ52iaxBD4I1fTif4+MTXMa4/Z07L83zW/hTCXwpSZvXogqMqLfex2Tg6w==",
+ "requires": {
+ "@redux-saga/symbols": "^1.1.2",
+ "@redux-saga/types": "^1.1.0"
+ }
+ },
+ "@redux-saga/symbols": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@redux-saga/symbols/-/symbols-1.1.2.tgz",
+ "integrity": "sha512-EfdGnF423glv3uMwLsGAtE6bg+R9MdqlHEzExnfagXPrIiuxwr3bdiAwz3gi+PsrQ3yBlaBpfGLtDG8rf3LgQQ=="
+ },
+ "@redux-saga/types": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@redux-saga/types/-/types-1.1.0.tgz",
+ "integrity": "sha512-afmTuJrylUU/0OtqzaRkbyYFFNgCF73Bvel/sw90pvGrWIZ+vyoIJqA6eMSoA6+nb443kTmulmBtC9NerXboNg=="
+ },
+ "@repeaterjs/repeater": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@repeaterjs/repeater/-/repeater-3.0.4.tgz",
+ "integrity": "sha512-AW8PKd6iX3vAZ0vA43nOUOnbq/X5ihgU+mSXXqunMkeQADGiqw/PY0JNeYtD5sr0PAy51YPgAPbDoeapv9r8WA==",
+ "optional": true
+ },
+ "@resolver-engine/core": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/@resolver-engine/core/-/core-0.2.1.tgz",
+ "integrity": "sha512-nsLQHmPJ77QuifqsIvqjaF5B9aHnDzJjp73Q1z6apY3e9nqYrx4Dtowhpsf7Jwftg/XzVDEMQC+OzUBNTS+S1A==",
+ "requires": {
+ "debug": "^3.1.0",
+ "request": "^2.85.0"
+ }
+ },
+ "@resolver-engine/fs": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/@resolver-engine/fs/-/fs-0.2.1.tgz",
+ "integrity": "sha512-7kJInM1Qo2LJcKyDhuYzh9ZWd+mal/fynfL9BNjWOiTcOpX+jNfqb/UmGUqros5pceBITlWGqS4lU709yHFUbg==",
+ "requires": {
+ "@resolver-engine/core": "^0.2.1",
+ "debug": "^3.1.0"
+ }
+ },
+ "@resolver-engine/imports": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@resolver-engine/imports/-/imports-0.2.2.tgz",
+ "integrity": "sha512-u5/HUkvo8q34AA+hnxxqqXGfby5swnH0Myw91o3Sm2TETJlNKXibFGSKBavAH+wvWdBi4Z5gS2Odu0PowgVOUg==",
+ "requires": {
+ "@resolver-engine/core": "^0.2.1",
+ "debug": "^3.1.0",
+ "hosted-git-info": "^2.6.0"
+ }
+ },
+ "@resolver-engine/imports-fs": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@resolver-engine/imports-fs/-/imports-fs-0.2.2.tgz",
+ "integrity": "sha512-gFCgMvCwyppjwq0UzIjde/WI+yDs3oatJhozG9xdjJdewwtd7LiF0T5i9lrHAUtqrQbqoFE4E+ZMRVHWpWHpKQ==",
+ "requires": {
+ "@resolver-engine/fs": "^0.2.1",
+ "@resolver-engine/imports": "^0.2.2",
+ "debug": "^3.1.0"
+ }
+ },
+ "@sindresorhus/is": {
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
+ "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ=="
+ },
+ "@szmarczak/http-timer": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz",
+ "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==",
+ "requires": {
+ "defer-to-connect": "^1.0.1"
+ }
+ },
+ "@textile/buckets": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/@textile/buckets/-/buckets-6.0.5.tgz",
+ "integrity": "sha512-MJum/qLGPE13Ew0uhoNI4Wp2SdDCdmfp35JFEBHU4Uisna0PZ4lfOFXZVA/cVVgw5g94NOm1KS0FXQKu0x8prw==",
+ "optional": true,
+ "requires": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@repeaterjs/repeater": "^3.0.4",
+ "@textile/buckets-grpc": "2.6.5",
+ "@textile/context": "^0.11.1",
+ "@textile/crypto": "^4.1.1",
+ "@textile/grpc-authentication": "^3.3.4",
+ "@textile/grpc-connection": "^2.4.1",
+ "@textile/grpc-transport": "^0.4.0",
+ "@textile/hub-grpc": "2.6.5",
+ "@textile/hub-threads-client": "^5.3.4",
+ "@textile/security": "^0.8.1",
+ "@textile/threads-id": "^0.5.1",
+ "abort-controller": "^3.0.0",
+ "cids": "^1.1.4",
+ "it-drain": "^1.0.3",
+ "loglevel": "^1.6.8",
+ "paramap-it": "^0.1.1"
+ }
+ },
+ "@textile/buckets-grpc": {
+ "version": "2.6.5",
+ "resolved": "https://registry.npmjs.org/@textile/buckets-grpc/-/buckets-grpc-2.6.5.tgz",
+ "integrity": "sha512-jySQPKJvqeyeVJZIx4BUlgi3MHxKvVpyV1NtoZXserItLbNNPURaFuCeLi7ujAXjGWIcMMJMbcFfSsetDVvrOQ==",
+ "optional": true,
+ "requires": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@types/google-protobuf": "^3.7.4",
+ "google-protobuf": "^3.13.0"
+ }
+ },
+ "@textile/context": {
+ "version": "0.11.1",
+ "resolved": "https://registry.npmjs.org/@textile/context/-/context-0.11.1.tgz",
+ "integrity": "sha512-XP1cBT5OaJVt8LrTCzE/OffnmE4ImwDXiGG7kzU5gCRSx5ftafEwgOOjbQA3HRPl7nWW1YdBsiZf35xSM1KmoQ==",
+ "optional": true,
+ "requires": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@textile/security": "^0.8.1"
+ }
+ },
+ "@textile/crypto": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/@textile/crypto/-/crypto-4.1.1.tgz",
+ "integrity": "sha512-n/SxZyNvAD4FEyfX1HXtyNDcK+stUYur0vgwIoi5NzT6jP6gwhFVzf8NI3TBNIP2rInCAuF3Qks8hWS+LWL/YA==",
+ "optional": true,
+ "requires": {
+ "@types/ed2curve": "^0.2.2",
+ "ed2curve": "^0.3.0",
+ "fastestsmallesttextencoderdecoder": "^1.0.22",
+ "multibase": "^3.1.0",
+ "tweetnacl": "^1.0.3"
+ },
+ "dependencies": {
+ "tweetnacl": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz",
+ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==",
+ "optional": true
+ }
+ }
+ },
+ "@textile/grpc-authentication": {
+ "version": "3.3.4",
+ "resolved": "https://registry.npmjs.org/@textile/grpc-authentication/-/grpc-authentication-3.3.4.tgz",
+ "integrity": "sha512-E7pw+MDNu7oWFWiTqDuLZncei+GIwnlSXlRlrRUXITZrf9vBiY+QHKkDrhLyhBpaLGazqB0PERzOFx8a0BYlbw==",
+ "optional": true,
+ "requires": {
+ "@textile/context": "^0.11.1",
+ "@textile/crypto": "^4.1.1",
+ "@textile/grpc-connection": "^2.4.1",
+ "@textile/hub-threads-client": "^5.3.4",
+ "@textile/security": "^0.8.1"
+ }
+ },
+ "@textile/grpc-connection": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/@textile/grpc-connection/-/grpc-connection-2.4.1.tgz",
+ "integrity": "sha512-8+y9PFcl9VBCludEpXvzputIis3lKYAzExdm8+zvtrr9uv0dCovIS0bu2GJoqU6DJkQSVBP9PA4V6T9THuQpjQ==",
+ "optional": true,
+ "requires": {
+ "@improbable-eng/grpc-web": "^0.12.0",
+ "@textile/context": "^0.11.1",
+ "@textile/grpc-transport": "^0.4.0"
+ },
+ "dependencies": {
+ "@improbable-eng/grpc-web": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.12.0.tgz",
+ "integrity": "sha512-uJjgMPngreRTYPBuo6gswMj1gK39Wbqre/RgE0XnSDXJRg6ST7ZhuS53dFE6Vc2CX4jxgl+cO+0B3op8LA4Q0Q==",
+ "optional": true,
+ "requires": {
+ "browser-headers": "^0.4.0"
+ }
+ }
+ }
+ },
+ "@textile/grpc-powergate-client": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/@textile/grpc-powergate-client/-/grpc-powergate-client-2.4.0.tgz",
+ "integrity": "sha512-yDWHUKqHOO4Zs4dIYCY/2stQpabYOe+7EBARrn6VYXklXMQGBznOdOO3HsR8X335WOj8JHcxKvWKOW8J7cYNFw==",
+ "optional": true,
+ "requires": {
+ "@improbable-eng/grpc-web": "^0.14.0",
+ "@types/google-protobuf": "^3.7.4",
+ "google-protobuf": "^3.15.6"
+ },
+ "dependencies": {
+ "@improbable-eng/grpc-web": {
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.14.0.tgz",
+ "integrity": "sha512-ag1PTMWpBZKGi6GrEcZ4lkU5Qag23Xjo10BmnK9qyx4TMmSVcWmQ3rECirfQzm2uogrM9n1M6xfOpFsJP62ivA==",
+ "optional": true,
+ "requires": {
+ "browser-headers": "^0.4.1"
+ }
+ }
+ }
+ },
+ "@textile/grpc-transport": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/@textile/grpc-transport/-/grpc-transport-0.4.0.tgz",
+ "integrity": "sha512-OyHyv963Y0y1qlMkuIp7urWCKbCL0Tjn06ffFo+u82yy6G1YprjTQDE980dUGQMZfK1EF2/OTjqZb04PxHa5zQ==",
+ "optional": true,
+ "requires": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@types/ws": "^7.2.6",
+ "isomorphic-ws": "^4.0.1",
+ "loglevel": "^1.6.6",
+ "ws": "^7.2.1"
+ },
+ "dependencies": {
+ "ws": {
+ "version": "7.4.5",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz",
+ "integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==",
+ "optional": true,
+ "requires": {}
+ }
+ }
+ },
+ "@textile/hub": {
+ "version": "6.1.2",
+ "resolved": "https://registry.npmjs.org/@textile/hub/-/hub-6.1.2.tgz",
+ "integrity": "sha512-BnmF1539+/939BmmHt+X7TzSrDgD3vkP5tBHZKksjppJn6q+6BJOPYdmWapt6S9YOTQAoCcYkkcr+xUdN8z3mA==",
+ "optional": true,
+ "requires": {
+ "@textile/buckets": "^6.0.5",
+ "@textile/crypto": "^4.1.1",
+ "@textile/grpc-authentication": "^3.3.4",
+ "@textile/hub-filecoin": "^2.0.5",
+ "@textile/hub-grpc": "2.6.5",
+ "@textile/hub-threads-client": "^5.3.4",
+ "@textile/security": "^0.8.1",
+ "@textile/threads-id": "^0.5.1",
+ "@textile/users": "^6.0.4",
+ "loglevel": "^1.6.8",
+ "multihashes": "3.1.2"
+ }
+ },
+ "@textile/hub-filecoin": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@textile/hub-filecoin/-/hub-filecoin-2.0.5.tgz",
+ "integrity": "sha512-5qwm3aMeR5q6KBbY1tVagUynMDw/Irh6jijgtlv66kQ+CbV4TgQjLsIH14UQkgcAW5hj1CMfqPIabLaBXFtDlA==",
+ "optional": true,
+ "requires": {
+ "@improbable-eng/grpc-web": "^0.12.0",
+ "@textile/context": "^0.11.1",
+ "@textile/crypto": "^4.1.1",
+ "@textile/grpc-authentication": "^3.3.4",
+ "@textile/grpc-connection": "^2.4.1",
+ "@textile/grpc-powergate-client": "^2.3.0",
+ "@textile/hub-grpc": "2.6.5",
+ "@textile/security": "^0.8.1",
+ "event-iterator": "^2.0.0",
+ "loglevel": "^1.6.8"
+ },
+ "dependencies": {
+ "@improbable-eng/grpc-web": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.12.0.tgz",
+ "integrity": "sha512-uJjgMPngreRTYPBuo6gswMj1gK39Wbqre/RgE0XnSDXJRg6ST7ZhuS53dFE6Vc2CX4jxgl+cO+0B3op8LA4Q0Q==",
+ "optional": true,
+ "requires": {
+ "browser-headers": "^0.4.0"
+ }
+ }
+ }
+ },
+ "@textile/hub-grpc": {
+ "version": "2.6.5",
+ "resolved": "https://registry.npmjs.org/@textile/hub-grpc/-/hub-grpc-2.6.5.tgz",
+ "integrity": "sha512-BFjhkBOQD1CebGjP4Hys/6Z5OlzepZTbC11kUSuLG6mt4rb2JiDNw25/UUzylsJCkpyAusob2sttJ9GUh/lv+g==",
+ "optional": true,
+ "requires": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@types/google-protobuf": "^3.7.4",
+ "google-protobuf": "^3.13.0"
+ }
+ },
+ "@textile/hub-threads-client": {
+ "version": "5.3.4",
+ "resolved": "https://registry.npmjs.org/@textile/hub-threads-client/-/hub-threads-client-5.3.4.tgz",
+ "integrity": "sha512-bKbpavWOg2bH9Zuf/aSmg7YOfKzx9yL7xmvPYo1FBaVcos8XeZvsN2gA80oFzTfm88e6xvotNNcRy7GktGDWIQ==",
+ "optional": true,
+ "requires": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@textile/context": "^0.11.1",
+ "@textile/hub-grpc": "2.6.5",
+ "@textile/security": "^0.8.1",
+ "@textile/threads-client": "^2.1.2",
+ "@textile/threads-id": "^0.5.1",
+ "@textile/users-grpc": "2.6.5",
+ "loglevel": "^1.7.0"
+ }
+ },
+ "@textile/multiaddr": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/@textile/multiaddr/-/multiaddr-0.5.1.tgz",
+ "integrity": "sha512-i/lBZ9j+MgxqcjLl+4lbOCbw5dU3Vbn39aGKma8yBILLPbmCAWWUDGzk5+Rbcnk3giuPBM/nNhJLLSeKzK+rhA==",
+ "optional": true,
+ "requires": {
+ "@textile/threads-id": "^0.5.1",
+ "multiaddr": "^8.1.2",
+ "varint": "^6.0.0"
+ }
+ },
+ "@textile/security": {
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/@textile/security/-/security-0.8.1.tgz",
+ "integrity": "sha512-FVoBRP7DAL+lh1+CyUQPE3ceG8HO3LMClTPYuNjW+2BAOR+KiKf5vFbeSpe29l6p+A9LF5/r2KWz7bN5cqCs8w==",
+ "optional": true,
+ "requires": {
+ "@consento/sync-randombytes": "^1.0.5",
+ "fast-sha256": "^1.3.0",
+ "fastestsmallesttextencoderdecoder": "^1.0.22",
+ "multibase": "^3.1.0"
+ }
+ },
+ "@textile/threads-client": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/@textile/threads-client/-/threads-client-2.1.2.tgz",
+ "integrity": "sha512-N4ItF3hxKmdC3oA1dAENw9uA7Q89q86/foYiNaXLPq5KJ1B3IYP3GdXjxe56wkT6dRRniCIREkRnqDdwVpRtQA==",
+ "optional": true,
+ "requires": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@textile/context": "^0.11.1",
+ "@textile/crypto": "^4.1.1",
+ "@textile/grpc-transport": "^0.4.0",
+ "@textile/multiaddr": "^0.5.1",
+ "@textile/security": "^0.8.1",
+ "@textile/threads-client-grpc": "^1.0.2",
+ "@textile/threads-id": "^0.5.1",
+ "@types/to-json-schema": "^0.2.0",
+ "fastestsmallesttextencoderdecoder": "^1.0.22",
+ "to-json-schema": "^0.2.5"
+ }
+ },
+ "@textile/threads-client-grpc": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@textile/threads-client-grpc/-/threads-client-grpc-1.0.2.tgz",
+ "integrity": "sha512-yrgdUb3VLGW18HKmbzAU8L7NElhnPYKWG9cHZG6EnV3ITS9zOiDydfVSNSkojEDfoFSel5x3eAUiOQbXUrkKng==",
+ "optional": true,
+ "requires": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@types/google-protobuf": "^3.7.3",
+ "google-protobuf": "^3.13.0"
+ }
+ },
+ "@textile/threads-id": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/@textile/threads-id/-/threads-id-0.5.1.tgz",
+ "integrity": "sha512-Nyvp24RsHarLBT3JxEI5akshcKKXA4Yx851bAooReE5G/40cijMuxTeVK4hDM0HdTex4PZRYozpPRXIDFDA96Q==",
+ "optional": true,
+ "requires": {
+ "@consento/sync-randombytes": "^1.0.4",
+ "multibase": "^3.1.0",
+ "varint": "^6.0.0"
+ }
+ },
+ "@textile/users": {
+ "version": "6.0.4",
+ "resolved": "https://registry.npmjs.org/@textile/users/-/users-6.0.4.tgz",
+ "integrity": "sha512-/aDwdcsvpW0QrUuXmRAAg41oGjGebwMUGK5czY0gcI/+Av6W8PicHJk4O9ft5ByfwXWzUMyz3ODWH45OYi0TVQ==",
+ "optional": true,
+ "requires": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@textile/buckets-grpc": "2.6.5",
+ "@textile/context": "^0.11.1",
+ "@textile/crypto": "^4.1.1",
+ "@textile/grpc-authentication": "^3.3.4",
+ "@textile/grpc-connection": "^2.4.1",
+ "@textile/grpc-transport": "^0.4.0",
+ "@textile/hub-grpc": "2.6.5",
+ "@textile/hub-threads-client": "^5.3.4",
+ "@textile/security": "^0.8.1",
+ "@textile/threads-id": "^0.5.1",
+ "@textile/users-grpc": "2.6.5",
+ "event-iterator": "^2.0.0",
+ "loglevel": "^1.7.0"
+ }
+ },
+ "@textile/users-grpc": {
+ "version": "2.6.5",
+ "resolved": "https://registry.npmjs.org/@textile/users-grpc/-/users-grpc-2.6.5.tgz",
+ "integrity": "sha512-JMxkze3eyxyuxhbuMrqdbVTqp5wQmv1YoXAq1gJdAYYpcOX5S4ov6arI5NPy3weF3+KP3U+BX/HdR8dIvkFAcw==",
+ "optional": true,
+ "requires": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "@types/google-protobuf": "^3.7.4",
+ "google-protobuf": "^3.13.0"
+ }
+ },
+ "@truffle/abi-utils": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/@truffle/abi-utils/-/abi-utils-0.1.6.tgz",
+ "integrity": "sha512-A9bW5XHywPNHod8rsu4x4eyM4C6k3eMeyOCd47edhiA/e9kgAVp6J3QDzKoHS8nuJ2qiaq+jk5bLnAgNWAHYyQ==",
+ "requires": {
+ "change-case": "3.0.2",
+ "faker": "^5.3.1",
+ "fast-check": "^2.12.1"
+ }
+ },
+ "@truffle/code-utils": {
+ "version": "1.2.25",
+ "resolved": "https://registry.npmjs.org/@truffle/code-utils/-/code-utils-1.2.25.tgz",
+ "integrity": "sha512-LsKFfsb+gAv44upI/iof1jLOBmXUoViFBbHwAwiec8n4wHreAQq7xd3t3q/A9MFLZfbKjDNdLya9jGQ6x7f3lQ==",
+ "requires": {
+ "cbor": "^5.1.0"
+ }
+ },
+ "@truffle/codec": {
+ "version": "0.10.3",
+ "resolved": "https://registry.npmjs.org/@truffle/codec/-/codec-0.10.3.tgz",
+ "integrity": "sha512-0jSmXO6lBS4LwQQG+Qm2pb1euTZrsr23cYUvgWQlAhGQhCEtOmrOm0rXe/ONhISc010bjaWaQxCy6iV8+F9/xQ==",
+ "requires": {
+ "big.js": "^5.2.2",
+ "bn.js": "^5.1.3",
+ "cbor": "^5.1.0",
+ "debug": "^4.3.1",
+ "lodash.clonedeep": "^4.5.0",
+ "lodash.escaperegexp": "^4.1.2",
+ "lodash.partition": "^4.6.0",
+ "lodash.sum": "^4.0.2",
+ "semver": "^7.3.4",
+ "utf8": "^3.0.0",
+ "web3-utils": "1.3.5"
+ },
+ "dependencies": {
+ "bn.js": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw=="
+ },
+ "debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "requires": {
+ "ms": "2.1.2"
+ }
+ },
+ "lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "requires": {
+ "yallist": "^4.0.0"
+ }
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
+ },
+ "semver": {
+ "version": "7.3.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
+ "requires": {
+ "lru-cache": "^6.0.0"
+ }
+ },
+ "yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
+ }
+ }
+ },
+ "@truffle/config": {
+ "version": "1.2.37",
+ "resolved": "https://registry.npmjs.org/@truffle/config/-/config-1.2.37.tgz",
+ "integrity": "sha512-bvzDiX1oD2JJsCDJ9R+ZWVrP0E7LpRg5p9R1VeNwmlWdBpQ4ApmH/TLH3gobc5zI/KV8n/wxeF2UGjPx4JdoVQ==",
+ "optional": true,
+ "requires": {
+ "@truffle/error": "^0.0.12",
+ "@truffle/events": "^0.0.9",
+ "@truffle/provider": "^0.2.28",
+ "configstore": "^4.0.0",
+ "find-up": "^2.1.0",
+ "lodash.assignin": "^4.2.0",
+ "lodash.merge": "^4.6.2",
+ "module": "^1.2.5",
+ "original-require": "^1.0.1"
+ },
+ "dependencies": {
+ "configstore": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/configstore/-/configstore-4.0.0.tgz",
+ "integrity": "sha512-CmquAXFBocrzaSM8mtGPMM/HiWmyIpr4CcJl/rgY2uCObZ/S7cKU0silxslqJejl+t/T9HS8E0PUNQD81JGUEQ==",
+ "optional": true,
+ "requires": {
+ "dot-prop": "^4.1.0",
+ "graceful-fs": "^4.1.2",
+ "make-dir": "^1.0.0",
+ "unique-string": "^1.0.0",
+ "write-file-atomic": "^2.0.0",
+ "xdg-basedir": "^3.0.0"
+ }
+ },
+ "find-up": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
+ "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
+ "optional": true,
+ "requires": {
+ "locate-path": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@truffle/db": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/@truffle/db/-/db-0.5.7.tgz",
+ "integrity": "sha512-eRWTK0tXotu3MrKVOJAt0xgX7HqQ2VCL8hGFf2oIOpRylSqVj0eKhnISm5sLL5t0RoS7cwMFgldinQbPjY0W4A==",
+ "optional": true,
+ "requires": {
+ "@truffle/abi-utils": "^0.1.6",
+ "@truffle/code-utils": "^1.2.25",
+ "@truffle/config": "^1.2.37",
+ "apollo-server": "^2.18.2",
+ "debug": "^4.3.1",
+ "fs-extra": "^9.1.0",
+ "graphql": "^15.3.0",
+ "graphql-tag": "^2.11.0",
+ "graphql-tools": "^6.2.4",
+ "json-stable-stringify": "^1.0.1",
+ "jsondown": "^1.0.0",
+ "pascal-case": "^2.0.1",
+ "pluralize": "^8.0.0",
+ "pouchdb": "7.1.1",
+ "pouchdb-adapter-memory": "^7.1.1",
+ "pouchdb-adapter-node-websql": "^7.0.0",
+ "pouchdb-debug": "^7.1.1",
+ "pouchdb-find": "^7.0.0",
+ "web3-utils": "1.3.5"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "optional": true,
+ "requires": {
+ "ms": "2.1.2"
+ }
+ },
+ "fs-extra": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
+ "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",
+ "optional": true,
+ "requires": {
+ "at-least-node": "^1.0.0",
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ }
+ },
+ "jsonfile": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
+ "optional": true,
+ "requires": {
+ "graceful-fs": "^4.1.6",
+ "universalify": "^2.0.0"
+ }
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "optional": true
+ },
+ "pluralize": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz",
+ "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==",
+ "optional": true
+ }
+ }
+ },
+ "@truffle/debugger": {
+ "version": "8.0.21",
+ "resolved": "https://registry.npmjs.org/@truffle/debugger/-/debugger-8.0.21.tgz",
+ "integrity": "sha512-zRM2IcUBH5tmJ8y0T2tqNHLBKG2WpAvBBz++SGxCJp2fPsGCMyDlmVbfGL5Qr8e5UgynUOb9yRWhcjuuSR25cA==",
+ "requires": {
+ "@truffle/abi-utils": "^0.1.6",
+ "@truffle/codec": "^0.10.3",
+ "@truffle/source-map-utils": "^1.3.37",
+ "bn.js": "^5.1.3",
+ "debug": "^4.3.1",
+ "json-pointer": "^0.6.0",
+ "json-stable-stringify": "^1.0.1",
+ "lodash.flatten": "^4.4.0",
+ "lodash.merge": "^4.6.2",
+ "lodash.sum": "^4.0.2",
+ "lodash.zipwith": "^4.2.0",
+ "redux": "^3.7.2",
+ "redux-cli-logger": "^2.0.1",
+ "redux-saga": "1.0.0",
+ "remote-redux-devtools": "^0.5.12",
+ "reselect-tree": "^1.3.4",
+ "semver": "^7.3.4",
+ "web3": "1.3.5",
+ "web3-eth-abi": "1.3.5"
+ },
+ "dependencies": {
+ "bn.js": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw=="
+ },
+ "debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "requires": {
+ "ms": "2.1.2"
+ }
+ },
+ "lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "requires": {
+ "yallist": "^4.0.0"
+ }
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
+ },
+ "semver": {
+ "version": "7.3.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
+ "requires": {
+ "lru-cache": "^6.0.0"
+ }
+ },
+ "yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
+ }
+ }
+ },
+ "@truffle/error": {
+ "version": "0.0.12",
+ "resolved": "https://registry.npmjs.org/@truffle/error/-/error-0.0.12.tgz",
+ "integrity": "sha512-kZqqnPR9YDJG7KCDOcN1qH16Qs0oz1PzF0Y93AWdhXuL9S9HYo/RUUeqGKbPpRBEZldQUS8aa4EzfK08u5pu6g==",
+ "optional": true
+ },
+ "@truffle/events": {
+ "version": "0.0.9",
+ "resolved": "https://registry.npmjs.org/@truffle/events/-/events-0.0.9.tgz",
+ "integrity": "sha512-o0rS8zkjCzg2vDJymSZyyq1eKdkRbxIFnsnYQl6Bc2StK89C/ZISenxrUe2fbdeq3L9Zq+ds1mSKH/MFK0Ejkg==",
+ "optional": true,
+ "requires": {
+ "emittery": "^0.4.1",
+ "ora": "^3.4.0"
+ }
+ },
+ "@truffle/interface-adapter": {
+ "version": "0.4.21",
+ "resolved": "https://registry.npmjs.org/@truffle/interface-adapter/-/interface-adapter-0.4.21.tgz",
+ "integrity": "sha512-uGU9T0a1S1f1xiTrNksd9ba+55SyU9jaCLNauFGOtppWDmjHD7dorxncEyj7lM9dcKl+w8Y+wHy79bb/LG4XFQ==",
+ "optional": true,
+ "requires": {
+ "bn.js": "^5.1.3",
+ "ethers": "^4.0.32",
+ "web3": "1.3.5"
+ },
+ "dependencies": {
+ "bn.js": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==",
+ "optional": true
+ }
+ }
+ },
+ "@truffle/preserve": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@truffle/preserve/-/preserve-0.2.0.tgz",
+ "integrity": "sha512-cm0afXOXRXwHl6kqTCCbR4w4bzEyFxmAjMalvOve8bCzUec+ZnEA53TEmOJyaUoKCPJl/wSbKZbsLZdqajpSLw==",
+ "optional": true,
+ "requires": {
+ "spinnies": "^0.5.1"
+ }
+ },
+ "@truffle/preserve-fs": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@truffle/preserve-fs/-/preserve-fs-0.2.0.tgz",
+ "integrity": "sha512-1kLv0/RF6vXwP5utXABv0NeQDzgN5M8bzyM14uJfiJoQSAMtLiSp6L33a7CN+/vYkV14Xel4LMiPMTHXrdVsTA==",
+ "optional": true,
+ "requires": {
+ "@truffle/preserve": "^0.2.0"
+ }
+ },
+ "@truffle/preserve-to-buckets": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@truffle/preserve-to-buckets/-/preserve-to-buckets-0.2.0.tgz",
+ "integrity": "sha512-xnvL6KPUbLcD2FYW+4f6dssQRfGF/UjJy3nKkZW5qNfCFMmaXkRohlPE/bPHjsitt7L9nNG6NLy55MszAJGc7Q==",
+ "optional": true,
+ "requires": {
+ "@textile/hub": "^6.0.2",
+ "@truffle/preserve": "^0.2.0",
+ "cids": "^1.1.5",
+ "ipfs-http-client": "^48.2.2",
+ "isomorphic-ws": "^4.0.1",
+ "iter-tools": "^7.0.2",
+ "ws": "^7.4.3"
+ },
+ "dependencies": {
+ "ws": {
+ "version": "7.4.5",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz",
+ "integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==",
+ "optional": true,
+ "requires": {}
+ }
+ }
+ },
+ "@truffle/preserve-to-filecoin": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@truffle/preserve-to-filecoin/-/preserve-to-filecoin-0.2.0.tgz",
+ "integrity": "sha512-Da8/EQOio+HfwI+IMSqzSh3bjV/IE0rgC9j2yf7/t7DAxGhXnv3yiT8Wms6a7/LtkBE2n5Qb2SYCHHVCySwPKg==",
+ "optional": true,
+ "requires": {
+ "@truffle/preserve": "^0.2.0",
+ "cids": "^1.1.5",
+ "delay": "^5.0.0",
+ "filecoin.js": "^0.0.5-alpha",
+ "node-fetch": "^2.6.0"
+ },
+ "dependencies": {
+ "node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true
+ }
+ }
+ },
+ "@truffle/preserve-to-ipfs": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@truffle/preserve-to-ipfs/-/preserve-to-ipfs-0.2.0.tgz",
+ "integrity": "sha512-QuTyzOglZWHYkcX9Em5duvqJRJg6Gu//5LfDDaKghIgI5Iw0OpcOdpVk7yATPk85XeIFgRR8R8LR1SNMvZzhSA==",
+ "optional": true,
+ "requires": {
+ "@truffle/preserve": "^0.2.0",
+ "cids": "^1.1.5",
+ "ipfs-http-client": "^48.2.2",
+ "iter-tools": "^7.0.2"
+ }
+ },
+ "@truffle/provider": {
+ "version": "0.2.28",
+ "resolved": "https://registry.npmjs.org/@truffle/provider/-/provider-0.2.28.tgz",
+ "integrity": "sha512-lowQkQPVSnn1jG3JIrp5iTDxkHZErjjjbLsvpI1kd8sYQ5LcGorgPQVsGlhM5BfYUQCeHLeFwwFb0ghx3hisKw==",
+ "optional": true,
+ "requires": {
+ "@truffle/error": "^0.0.12",
+ "@truffle/interface-adapter": "^0.4.21",
+ "web3": "1.3.5"
+ }
+ },
+ "@truffle/source-map-utils": {
+ "version": "1.3.37",
+ "resolved": "https://registry.npmjs.org/@truffle/source-map-utils/-/source-map-utils-1.3.37.tgz",
+ "integrity": "sha512-COlYyx8b/5x9IR736NUQxQYb7tD4CprooCZzPOgVopitRWSmO862r53ov7FK5PPUHqkW1vNP71LOo3L0Crw2/w==",
+ "requires": {
+ "@truffle/code-utils": "^1.2.25",
+ "@truffle/codec": "^0.10.3",
+ "debug": "^4.3.1",
+ "json-pointer": "^0.6.0",
+ "node-interval-tree": "^1.3.3",
+ "web3-utils": "1.3.5"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "requires": {
+ "ms": "2.1.2"
+ }
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
+ }
+ }
+ },
+ "@types/accepts": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/@types/accepts/-/accepts-1.3.5.tgz",
+ "integrity": "sha512-jOdnI/3qTpHABjM5cx1Hc0sKsPoYCp+DP/GJRGtDlPd7fiV9oXGGIcjW/ZOxLIvjGz8MA+uMZI9metHlgqbgwQ==",
+ "optional": true,
+ "requires": {
+ "@types/node": "*"
+ }
+ },
+ "@types/bn.js": {
+ "version": "4.11.6",
+ "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz",
+ "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==",
+ "requires": {
+ "@types/node": "*"
+ }
+ },
+ "@types/body-parser": {
+ "version": "1.19.0",
+ "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.0.tgz",
+ "integrity": "sha512-W98JrE0j2K78swW4ukqMleo8R7h/pFETjM2DQ90MF6XK2i4LO4W3gQ71Lt4w3bfm2EvVSyWHplECvB5sK22yFQ==",
+ "optional": true,
+ "requires": {
+ "@types/connect": "*",
+ "@types/node": "*"
+ }
+ },
+ "@types/concat-stream": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@types/concat-stream/-/concat-stream-1.6.0.tgz",
+ "integrity": "sha1-OU2+C7X+5Gs42JZzXoto7yOQ0A0=",
+ "dev": true,
+ "requires": {
+ "@types/node": "*"
+ }
+ },
+ "@types/connect": {
+ "version": "3.4.34",
+ "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.34.tgz",
+ "integrity": "sha512-ePPA/JuI+X0vb+gSWlPKOY0NdNAie/rPUqX2GUPpbZwiKTkSPhjXWuee47E4MtE54QVzGCQMQkAL6JhV2E1+cQ==",
+ "optional": true,
+ "requires": {
+ "@types/node": "*"
+ }
+ },
+ "@types/content-disposition": {
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/@types/content-disposition/-/content-disposition-0.5.3.tgz",
+ "integrity": "sha512-P1bffQfhD3O4LW0ioENXUhZ9OIa0Zn+P7M+pWgkCKaT53wVLSq0mrKksCID/FGHpFhRSxRGhgrQmfhRuzwtKdg==",
+ "optional": true
+ },
+ "@types/cookies": {
+ "version": "0.7.6",
+ "resolved": "https://registry.npmjs.org/@types/cookies/-/cookies-0.7.6.tgz",
+ "integrity": "sha512-FK4U5Qyn7/Sc5ih233OuHO0qAkOpEcD/eG6584yEiLKizTFRny86qHLe/rej3HFQrkBuUjF4whFliAdODbVN/w==",
+ "optional": true,
+ "requires": {
+ "@types/connect": "*",
+ "@types/express": "*",
+ "@types/keygrip": "*",
+ "@types/node": "*"
+ }
+ },
+ "@types/cors": {
+ "version": "2.8.10",
+ "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.10.tgz",
+ "integrity": "sha512-C7srjHiVG3Ey1nR6d511dtDkCEjxuN9W1HWAEjGq8kpcwmNM6JJkpC0xvabM7BXTG2wDq8Eu33iH9aQKa7IvLQ==",
+ "optional": true
+ },
+ "@types/ed2curve": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@types/ed2curve/-/ed2curve-0.2.2.tgz",
+ "integrity": "sha512-G1sTX5xo91ydevQPINbL2nfgVAj/s1ZiqZxC8OCWduwu+edoNGUm5JXtTkg9F3LsBZbRI46/0HES4CPUE2wc9g==",
+ "optional": true,
+ "requires": {
+ "tweetnacl": "^1.0.0"
+ },
+ "dependencies": {
+ "tweetnacl": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz",
+ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==",
+ "optional": true
+ }
+ }
+ },
+ "@types/ethereum-protocol": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@types/ethereum-protocol/-/ethereum-protocol-1.0.1.tgz",
+ "integrity": "sha512-vxym5Cnkvms5yRwCDzuaavAtesRflY4oqYDULqQSghLmX5snurmDEz+rbUJbq2vDc4TBvji6dV+891N3VHQXhw==",
+ "requires": {
+ "bignumber.js": "7.2.1"
+ },
+ "dependencies": {
+ "bignumber.js": {
+ "version": "7.2.1",
+ "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-7.2.1.tgz",
+ "integrity": "sha512-S4XzBk5sMB+Rcb/LNcpzXr57VRTxgAvaAEDAl1AwRx27j00hT84O6OkteE7u8UB3NuaaygCRrEpqox4uDOrbdQ=="
+ }
+ }
+ },
+ "@types/express": {
+ "version": "4.17.11",
+ "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.11.tgz",
+ "integrity": "sha512-no+R6rW60JEc59977wIxreQVsIEOAYwgCqldrA/vkpCnbD7MqTefO97lmoBe4WE0F156bC4uLSP1XHDOySnChg==",
+ "optional": true,
+ "requires": {
+ "@types/body-parser": "*",
+ "@types/express-serve-static-core": "^4.17.18",
+ "@types/qs": "*",
+ "@types/serve-static": "*"
+ }
+ },
+ "@types/express-serve-static-core": {
+ "version": "4.17.19",
+ "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.19.tgz",
+ "integrity": "sha512-DJOSHzX7pCiSElWaGR8kCprwibCB/3yW6vcT8VG3P0SJjnv19gnWG/AZMfM60Xj/YJIp/YCaDHyvzsFVeniARA==",
+ "optional": true,
+ "requires": {
+ "@types/node": "*",
+ "@types/qs": "*",
+ "@types/range-parser": "*"
+ }
+ },
+ "@types/form-data": {
+ "version": "0.0.33",
+ "resolved": "https://registry.npmjs.org/@types/form-data/-/form-data-0.0.33.tgz",
+ "integrity": "sha1-yayFsqX9GENbjIXZ7LUObWyJP/g=",
+ "dev": true,
+ "requires": {
+ "@types/node": "*"
+ }
+ },
+ "@types/fs-capacitor": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@types/fs-capacitor/-/fs-capacitor-2.0.0.tgz",
+ "integrity": "sha512-FKVPOCFbhCvZxpVAMhdBdTfVfXUpsh15wFHgqOKxh9N9vzWZVuWCSijZ5T4U34XYNnuj2oduh6xcs1i+LPI+BQ==",
+ "optional": true,
+ "requires": {
+ "@types/node": "*"
+ }
+ },
+ "@types/google-protobuf": {
+ "version": "3.15.0",
+ "resolved": "https://registry.npmjs.org/@types/google-protobuf/-/google-protobuf-3.15.0.tgz",
+ "integrity": "sha512-IshlR1QWD9LYQRlYMfF8dG6PqxrZHddlWB8O5+HCGwH1nv2JQ887fMwRRlXOmUEFehvg+k1THx2h7RbqPUPkGA==",
+ "optional": true
+ },
+ "@types/hdkey": {
+ "version": "0.7.1",
+ "resolved": "https://registry.npmjs.org/@types/hdkey/-/hdkey-0.7.1.tgz",
+ "integrity": "sha512-4Kkr06hq+R8a9EzVNqXGOY2x1xA7dhY6qlp6OvaZ+IJy1BCca1Cv126RD9X7CMJoXoLo8WvAizy8gQHpqW6K0Q==",
+ "requires": {
+ "@types/node": "*"
+ }
+ },
+ "@types/http-assert": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/@types/http-assert/-/http-assert-1.5.1.tgz",
+ "integrity": "sha512-PGAK759pxyfXE78NbKxyfRcWYA/KwW17X290cNev/qAsn9eQIxkH4shoNBafH37wewhDG/0p1cHPbK6+SzZjWQ==",
+ "optional": true
+ },
+ "@types/http-errors": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-1.8.0.tgz",
+ "integrity": "sha512-2aoSC4UUbHDj2uCsCxcG/vRMXey/m17bC7UwitVm5hn22nI8O8Y9iDpA76Orc+DWkQ4zZrOKEshCqR/jSuXAHA==",
+ "optional": true
+ },
+ "@types/json-schema": {
+ "version": "7.0.7",
+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.7.tgz",
+ "integrity": "sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA==",
+ "optional": true
+ },
+ "@types/keygrip": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@types/keygrip/-/keygrip-1.0.2.tgz",
+ "integrity": "sha512-GJhpTepz2udxGexqos8wgaBx4I/zWIDPh/KOGEwAqtuGDkOUJu5eFvwmdBX4AmB8Odsr+9pHCQqiAqDL/yKMKw==",
+ "optional": true
+ },
+ "@types/koa": {
+ "version": "2.13.1",
+ "resolved": "https://registry.npmjs.org/@types/koa/-/koa-2.13.1.tgz",
+ "integrity": "sha512-Qbno7FWom9nNqu0yHZ6A0+RWt4mrYBhw3wpBAQ3+IuzGcLlfeYkzZrnMq5wsxulN2np8M4KKeUpTodsOsSad5Q==",
+ "optional": true,
+ "requires": {
+ "@types/accepts": "*",
+ "@types/content-disposition": "*",
+ "@types/cookies": "*",
+ "@types/http-assert": "*",
+ "@types/http-errors": "*",
+ "@types/keygrip": "*",
+ "@types/koa-compose": "*",
+ "@types/node": "*"
+ }
+ },
+ "@types/koa-compose": {
+ "version": "3.2.5",
+ "resolved": "https://registry.npmjs.org/@types/koa-compose/-/koa-compose-3.2.5.tgz",
+ "integrity": "sha512-B8nG/OoE1ORZqCkBVsup/AKcvjdgoHnfi4pZMn5UwAPCbhk/96xyv284eBYW8JlQbQ7zDmnpFr68I/40mFoIBQ==",
+ "optional": true,
+ "requires": {
+ "@types/koa": "*"
+ }
+ },
+ "@types/long": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz",
+ "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==",
+ "optional": true
+ },
+ "@types/mime": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz",
+ "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==",
+ "optional": true
+ },
+ "@types/minimatch": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",
+ "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA=="
+ },
+ "@types/node": {
+ "version": "10.14.4",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.4.tgz",
+ "integrity": "sha512-DT25xX/YgyPKiHFOpNuANIQIVvYEwCWXgK2jYYwqgaMrYE6+tq+DtmMwlD3drl6DJbUwtlIDnn0d7tIn/EbXBg=="
+ },
+ "@types/node-fetch": {
+ "version": "2.5.7",
+ "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.5.7.tgz",
+ "integrity": "sha512-o2WVNf5UhWRkxlf6eq+jMZDu7kjgpgJfl4xVNlvryc95O/6F2ld8ztKX+qu+Rjyet93WAWm5LjeX9H5FGkODvw==",
+ "optional": true,
+ "requires": {
+ "@types/node": "*",
+ "form-data": "^3.0.0"
+ },
+ "dependencies": {
+ "form-data": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz",
+ "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==",
+ "optional": true,
+ "requires": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.8",
+ "mime-types": "^2.1.12"
+ }
+ }
+ }
+ },
+ "@types/pbkdf2": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@types/pbkdf2/-/pbkdf2-3.1.0.tgz",
+ "integrity": "sha512-Cf63Rv7jCQ0LaL8tNXmEyqTHuIJxRdlS5vMh1mj5voN4+QFhVZnlZruezqpWYDiJ8UTzhP0VmeLXCmBk66YrMQ==",
+ "requires": {
+ "@types/node": "*"
+ }
+ },
+ "@types/prop-types": {
+ "version": "15.7.3",
+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.3.tgz",
+ "integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw=="
+ },
+ "@types/qs": {
+ "version": "6.5.3",
+ "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.5.3.tgz",
+ "integrity": "sha512-Jugo5V/1bS0fRhy2z8+cUAHEyWOATaz4rbyLVvcFs7+dXp5HfwpEwzF1Q11bB10ApUqHf+yTauxI0UXQDwGrbA==",
+ "devOptional": true
+ },
+ "@types/range-parser": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.3.tgz",
+ "integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==",
+ "optional": true
+ },
+ "@types/react": {
+ "version": "16.9.43",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.43.tgz",
+ "integrity": "sha512-PxshAFcnJqIWYpJbLPriClH53Z2WlJcVZE+NP2etUtWQs2s7yIMj3/LDKZT/5CHJ/F62iyjVCDu2H3jHEXIxSg==",
+ "requires": {
+ "@types/prop-types": "*",
+ "csstype": "^2.2.0"
+ }
+ },
+ "@types/secp256k1": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@types/secp256k1/-/secp256k1-4.0.1.tgz",
+ "integrity": "sha512-+ZjSA8ELlOp8SlKi0YLB2tz9d5iPNEmOBd+8Rz21wTMdaXQIa9b6TEnD6l5qKOCypE7FSyPyck12qZJxSDNoog==",
+ "requires": {
+ "@types/node": "*"
+ }
+ },
+ "@types/serve-static": {
+ "version": "1.13.9",
+ "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.9.tgz",
+ "integrity": "sha512-ZFqF6qa48XsPdjXV5Gsz0Zqmux2PerNd3a/ktL45mHpa19cuMi/cL8tcxdAx497yRh+QtYPuofjT9oWw9P7nkA==",
+ "optional": true,
+ "requires": {
+ "@types/mime": "^1",
+ "@types/node": "*"
+ }
+ },
+ "@types/solidity-parser-antlr": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/@types/solidity-parser-antlr/-/solidity-parser-antlr-0.2.3.tgz",
+ "integrity": "sha512-FoSyZT+1TTaofbEtGW1oC9wHND1YshvVeHerME/Jh6gIdHbBAWFW8A97YYqO/dpHcFjIwEPEepX0Efl2ckJgwA=="
+ },
+ "@types/to-json-schema": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@types/to-json-schema/-/to-json-schema-0.2.0.tgz",
+ "integrity": "sha512-9fqRjNFSSxJ8dQrE4v8gThS5ftxdFj8Q0y8hAjaF+uN+saJRxLiJdtFaDd9sv3bhzwcB2oDJpT/1ZelHnexbLw==",
+ "optional": true,
+ "requires": {
+ "@types/json-schema": "*"
+ }
+ },
+ "@types/web3-provider-engine": {
+ "version": "14.0.0",
+ "resolved": "https://registry.npmjs.org/@types/web3-provider-engine/-/web3-provider-engine-14.0.0.tgz",
+ "integrity": "sha512-yHr8mX2SoX3JNyfqdLXdO1UobsGhfiwSgtekbVxKLQrzD7vtpPkKbkIVsPFOhvekvNbPsCmDyeDCLkpeI9gSmA==",
+ "requires": {
+ "@types/ethereum-protocol": "*"
+ }
+ },
+ "@types/websocket": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@types/websocket/-/websocket-1.0.2.tgz",
+ "integrity": "sha512-B5m9aq7cbbD/5/jThEr33nUY8WEfVi6A2YKCTOvw5Ldy7mtsOkqRvGjnzy6g7iMMDsgu7xREuCzqATLDLQVKcQ==",
+ "optional": true,
+ "requires": {
+ "@types/node": "*"
+ }
+ },
+ "@types/ws": {
+ "version": "7.4.1",
+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.1.tgz",
+ "integrity": "sha512-ISCK1iFnR+jYv7+jLNX0wDqesZ/5RAeY3wUx6QaphmocphU61h+b+PHjS18TF4WIPTu/MMzxIq2PHr32o2TS5Q==",
+ "optional": true,
+ "requires": {
+ "@types/node": "*"
+ }
+ },
+ "@types/yargs": {
+ "version": "11.1.5",
+ "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-11.1.5.tgz",
+ "integrity": "sha512-1jmXgoIyzxQSm33lYgEXvegtkhloHbed2I0QGlTN66U2F9/ExqJWSCSmaWC0IB/g1tW+IYSp+tDhcZBYB1ZGog=="
+ },
+ "@types/zen-observable": {
+ "version": "0.8.2",
+ "resolved": "https://registry.npmjs.org/@types/zen-observable/-/zen-observable-0.8.2.tgz",
+ "integrity": "sha512-HrCIVMLjE1MOozVoD86622S7aunluLb2PJdPfb3nYiEtohm8mIB/vyv0Fd37AdeMFrTUQXEunw78YloMA3Qilg==",
+ "optional": true
+ },
+ "@wry/context": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/@wry/context/-/context-0.6.0.tgz",
+ "integrity": "sha512-sAgendOXR8dM7stJw3FusRxFHF/ZinU0lffsA2YTyyIOfic86JX02qlPqPVqJNZJPAxFt+2EE8bvq6ZlS0Kf+Q==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.1.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "@wry/equality": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/@wry/equality/-/equality-0.4.0.tgz",
+ "integrity": "sha512-DxN/uawWfhRbgYE55zVCPOoe+jvsQ4m7PT1Wlxjyb/LCCLuU1UsucV2BbCxFAX8bjcSueFBbB5Qfj1Zfe8e7Fw==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.1.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "@wry/trie": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/@wry/trie/-/trie-0.3.0.tgz",
+ "integrity": "sha512-Yw1akIogPhAT6XPYsRHlZZIS0tIGmAl9EYXHi2scf7LPKKqdqmow/Hu4kEqP2cJR3EjaU/9L0ZlAjFf3hFxmug==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.1.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "@zondax/filecoin-signing-tools": {
+ "version": "git+ssh://git@github.com/Digital-MOB-Filecoin/filecoin-signing-tools-js.git#8f8e92157cac2556d35cab866779e9a8ea8a4e25",
+ "from": "@zondax/filecoin-signing-tools@github:Digital-MOB-Filecoin/filecoin-signing-tools-js",
+ "optional": true,
+ "requires": {
+ "axios": "^0.20.0",
+ "base32-decode": "^1.0.0",
+ "base32-encode": "^1.1.1",
+ "bip32": "^2.0.5",
+ "bip39": "^3.0.2",
+ "blakejs": "^1.1.0",
+ "bn.js": "^5.1.2",
+ "ipld-dag-cbor": "^0.17.0",
+ "leb128": "0.0.5",
+ "secp256k1": "^4.0.1"
+ },
+ "dependencies": {
+ "@types/node": {
+ "version": "11.11.6",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz",
+ "integrity": "sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ==",
+ "optional": true
+ },
+ "bip39": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/bip39/-/bip39-3.0.3.tgz",
+ "integrity": "sha512-P0dKrz4g0V0BjXfx7d9QNkJ/Txcz/k+hM9TnjqjUaXtuOfAvxXSw2rJw8DX0e3ZPwnK/IgDxoRqf0bvoVCqbMg==",
+ "optional": true,
+ "requires": {
+ "@types/node": "11.11.6",
+ "create-hash": "^1.1.0",
+ "pbkdf2": "^3.0.9",
+ "randombytes": "^2.0.1"
+ }
+ },
+ "bn.js": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==",
+ "optional": true
+ },
+ "secp256k1": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.2.tgz",
+ "integrity": "sha512-UDar4sKvWAksIlfX3xIaQReADn+WFnHvbVujpcbr+9Sf/69odMwy2MUsz5CKLQgX9nsIyrjuxL2imVyoNHa3fg==",
+ "optional": true,
+ "requires": {
+ "elliptic": "^6.5.2",
+ "node-addon-api": "^2.0.0",
+ "node-gyp-build": "^4.2.0"
+ }
+ }
+ }
+ },
+ "@zxing/text-encoding": {
+ "version": "0.9.0",
+ "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz",
+ "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==",
+ "optional": true
+ },
+ "abab": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz",
+ "integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4=",
+ "optional": true
+ },
+ "abbrev": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
+ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
+ "devOptional": true
+ },
+ "abi-decoder": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/abi-decoder/-/abi-decoder-2.2.0.tgz",
+ "integrity": "sha512-FVgkAvPRNa08E85Q+t52KlGto8XZeQITmCYdRIWHHth/t/pgdpAzZijy3LKUCBqmJjXnrosj4c6WGOB1q+KJ9w==",
+ "dev": true,
+ "requires": {
+ "web3-eth-abi": "^1.2.1",
+ "web3-utils": "^1.2.1"
+ }
+ },
+ "abort-controller": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
+ "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==",
+ "optional": true,
+ "requires": {
+ "event-target-shim": "^5.0.0"
+ }
+ },
+ "abortcontroller-polyfill": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.4.0.tgz",
+ "integrity": "sha512-3ZFfCRfDzx3GFjO6RAkYx81lPGpUS20ISxux9gLxuKnqafNcFQo59+IoZqpO2WvQlyc287B62HDnDdNYRmlvWA=="
+ },
+ "abstract-leveldown": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-2.6.3.tgz",
+ "integrity": "sha512-2++wDf/DYqkPR3o5tbfdhF96EfMApo1GpPfzOsR/ZYXdkSmELlvOOEAl9iKkRsktMPHdGjO4rtkBpf2I7TiTeA==",
+ "requires": {
+ "xtend": "~4.0.0"
+ }
+ },
+ "accepts": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
+ "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",
+ "requires": {
+ "mime-types": "~2.1.24",
+ "negotiator": "0.6.2"
+ }
+ },
+ "acorn": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.1.tgz",
+ "integrity": "sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg==",
+ "dev": true
+ },
+ "acorn-globals": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-1.0.9.tgz",
+ "integrity": "sha1-VbtemGkVB7dFedBRNBMhfDgMVM8=",
+ "optional": true,
+ "requires": {
+ "acorn": "^2.1.0"
+ },
+ "dependencies": {
+ "acorn": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz",
+ "integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc=",
+ "optional": true
+ }
+ }
+ },
+ "acorn-jsx": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.2.tgz",
+ "integrity": "sha512-tiNTrP1MP0QrChmD2DdupCr6HWSFeKVw5d/dHTu4Y7rkAkRhU/Dt7dphAfIUyxtHpl/eBVip5uTNSpQJHylpAw==",
+ "dev": true
+ },
+ "aes-js": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz",
+ "integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0="
+ },
+ "agent-base": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz",
+ "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==",
+ "requires": {
+ "es6-promisify": "^5.0.0"
+ }
+ },
+ "agentkeepalive": {
+ "version": "3.5.2",
+ "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-3.5.2.tgz",
+ "integrity": "sha512-e0L/HNe6qkQ7H19kTlRRqUibEAwDK5AFk6y3PtMsuut2VAH6+Q4xZml1tNDJD7kSAyqmbG/K08K5WEJYtUrSlQ==",
+ "requires": {
+ "humanize-ms": "^1.2.1"
+ }
+ },
+ "ajv": {
+ "version": "6.10.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz",
+ "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==",
+ "requires": {
+ "fast-deep-equal": "^2.0.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ }
+ },
+ "amdefine": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz",
+ "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=",
+ "optional": true
+ },
+ "ansi-align": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-2.0.0.tgz",
+ "integrity": "sha1-w2rsy6VjuJzrVW82kPCx2eNUf38=",
+ "dev": true,
+ "requires": {
+ "string-width": "^2.0.0"
+ },
+ "dependencies": {
+ "ansi-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
+ "dev": true
+ },
+ "is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "dev": true
+ },
+ "string-width": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
+ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
+ "dev": true,
+ "requires": {
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^4.0.0"
+ }
+ },
+ "strip-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
+ "dev": true,
+ "requires": {
+ "ansi-regex": "^3.0.0"
+ }
+ }
+ }
+ },
+ "ansi-colors": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",
+ "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA=="
+ },
+ "ansi-escapes": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz",
+ "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==",
+ "dev": true
+ },
+ "ansi-regex": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
+ },
+ "ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "requires": {
+ "color-convert": "^1.9.0"
+ }
+ },
+ "ansicolors": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz",
+ "integrity": "sha1-ZlWX3oap/+Oqm/vmyuXG6kJrSXk=",
+ "dev": true
+ },
+ "antlr4": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/antlr4/-/antlr4-4.7.1.tgz",
+ "integrity": "sha512-haHyTW7Y9joE5MVs37P2lNYfU2RWBLfcRDD8OWldcdZm5TiCE91B5Xl1oWSwiDUSd4rlExpt2pu1fksYQjRBYQ==",
+ "dev": true
+ },
+ "any-signal": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-2.1.2.tgz",
+ "integrity": "sha512-B+rDnWasMi/eWcajPcCWSlYc7muXOrcYrqgyzcdKisl2H/WTlQ0gip1KyQfr0ZlxJdsuWCj/LWwQm7fhyhRfIQ==",
+ "optional": true,
+ "requires": {
+ "abort-controller": "^3.0.0",
+ "native-abort-controller": "^1.0.3"
+ },
+ "dependencies": {
+ "native-abort-controller": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/native-abort-controller/-/native-abort-controller-1.0.3.tgz",
+ "integrity": "sha512-fd5LY5q06mHKZPD5FmMrn7Lkd2H018oBGKNOAdLpctBDEPFKsfJ1nX9ke+XRa8PEJJpjqrpQkGjq2IZ27QNmYA==",
+ "optional": true,
+ "requires": {}
+ }
+ }
+ },
+ "anymatch": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",
+ "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",
+ "dev": true,
+ "requires": {
+ "micromatch": "^3.1.4",
+ "normalize-path": "^2.1.1"
+ },
+ "dependencies": {
+ "normalize-path": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
+ "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
+ "dev": true,
+ "requires": {
+ "remove-trailing-separator": "^1.0.1"
+ }
+ }
+ }
+ },
+ "apollo-cache-control": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/apollo-cache-control/-/apollo-cache-control-0.12.0.tgz",
+ "integrity": "sha512-kClF5rfAm159Nboul1LxA+l58Tjz0M8L1GUknEMpZt0UHhILLAn3BfcG3ToX4TbNoR9M57kKMUcbPWLdy3Up7w==",
+ "optional": true,
+ "requires": {
+ "apollo-server-env": "^3.0.0",
+ "apollo-server-plugin-base": "^0.11.0"
+ }
+ },
+ "apollo-datasource": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/apollo-datasource/-/apollo-datasource-0.8.0.tgz",
+ "integrity": "sha512-gXgsGVLuejLc138z/2jUjPAzadDQxWbcLJyBgaQsg5BaXJNkv5uW/NjiSPk00cK51hyZrb0Xx8a+L+wPk2qIBA==",
+ "optional": true,
+ "requires": {
+ "apollo-server-caching": "^0.6.0",
+ "apollo-server-env": "^3.0.0"
+ }
+ },
+ "apollo-env": {
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/apollo-env/-/apollo-env-0.6.6.tgz",
+ "integrity": "sha512-hXI9PjJtzmD34XviBU+4sPMOxnifYrHVmxpjykqI/dUD2G3yTiuRaiQqwRwB2RCdwC1Ug/jBfoQ/NHDTnnjndQ==",
+ "optional": true,
+ "requires": {
+ "@types/node-fetch": "2.5.7",
+ "core-js": "^3.0.1",
+ "node-fetch": "^2.2.0",
+ "sha.js": "^2.4.11"
+ },
+ "dependencies": {
+ "core-js": {
+ "version": "3.10.2",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.10.2.tgz",
+ "integrity": "sha512-W+2oVYeNghuBr3yTzZFQ5rfmjZtYB/Ubg87R5YOmlGrIb+Uw9f7qjUbhsj+/EkXhcV7eOD3jiM4+sgraX3FZUw==",
+ "optional": true
+ },
+ "node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true
+ }
+ }
+ },
+ "apollo-graphql": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/apollo-graphql/-/apollo-graphql-0.6.1.tgz",
+ "integrity": "sha512-ZRXAV+k+hboCVS+FW86FW/QgnDR7gm/xMUwJPGXEbV53OLGuQQdIT0NCYK7AzzVkCfsbb7NJ3mmEclkZY9uuxQ==",
+ "optional": true,
+ "requires": {
+ "apollo-env": "^0.6.6",
+ "lodash.sortby": "^4.7.0"
+ }
+ },
+ "apollo-link": {
+ "version": "1.2.14",
+ "resolved": "https://registry.npmjs.org/apollo-link/-/apollo-link-1.2.14.tgz",
+ "integrity": "sha512-p67CMEFP7kOG1JZ0ZkYZwRDa369w5PIjtMjvrQd/HnIV8FRsHRqLqK+oAZQnFa1DDdZtOtHTi+aMIW6EatC2jg==",
+ "optional": true,
+ "requires": {
+ "apollo-utilities": "^1.3.0",
+ "ts-invariant": "^0.4.0",
+ "tslib": "^1.9.3",
+ "zen-observable-ts": "^0.8.21"
+ }
+ },
+ "apollo-reporting-protobuf": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/apollo-reporting-protobuf/-/apollo-reporting-protobuf-0.6.2.tgz",
+ "integrity": "sha512-WJTJxLM+MRHNUxt1RTl4zD0HrLdH44F2mDzMweBj1yHL0kSt8I1WwoiF/wiGVSpnG48LZrBegCaOJeuVbJTbtw==",
+ "optional": true,
+ "requires": {
+ "@apollo/protobufjs": "^1.0.3"
+ }
+ },
+ "apollo-server": {
+ "version": "2.23.0",
+ "resolved": "https://registry.npmjs.org/apollo-server/-/apollo-server-2.23.0.tgz",
+ "integrity": "sha512-BS+8uAJV2qYLqu+y+KIQyfR3yN2muBtql6lvfwJh4fRgUo6HU5Cc3nTA9jHbgEWE/uiyEn4eqOv1kieHIQmH6w==",
+ "optional": true,
+ "requires": {
+ "apollo-server-core": "^2.23.0",
+ "apollo-server-express": "^2.23.0",
+ "express": "^4.0.0",
+ "graphql-subscriptions": "^1.0.0",
+ "graphql-tools": "^4.0.8",
+ "stoppable": "^1.1.0"
+ },
+ "dependencies": {
+ "graphql-tools": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/graphql-tools/-/graphql-tools-4.0.8.tgz",
+ "integrity": "sha512-MW+ioleBrwhRjalKjYaLQbr+920pHBgy9vM/n47sswtns8+96sRn5M/G+J1eu7IMeKWiN/9p6tmwCHU7552VJg==",
+ "optional": true,
+ "requires": {
+ "apollo-link": "^1.2.14",
+ "apollo-utilities": "^1.0.1",
+ "deprecated-decorator": "^0.1.6",
+ "iterall": "^1.1.3",
+ "uuid": "^3.1.0"
+ }
+ }
+ }
+ },
+ "apollo-server-caching": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/apollo-server-caching/-/apollo-server-caching-0.6.0.tgz",
+ "integrity": "sha512-SfjKaccrhRzUQ8TAke9FrYppp4pZV3Rp8KCs+4Ox3kGtbco68acRPJkiYYtSVc4idR8XNAUOOVfAEZVNHdZQKQ==",
+ "optional": true,
+ "requires": {
+ "lru-cache": "^6.0.0"
+ },
+ "dependencies": {
+ "lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "optional": true,
+ "requires": {
+ "yallist": "^4.0.0"
+ }
+ },
+ "yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "optional": true
+ }
+ }
+ },
+ "apollo-server-core": {
+ "version": "2.23.0",
+ "resolved": "https://registry.npmjs.org/apollo-server-core/-/apollo-server-core-2.23.0.tgz",
+ "integrity": "sha512-3/a4LPgRADc8CdT/nRh7W0CAqQv3Q4DJvakWQgKqGSqDEb/0u4IBynYjlQKuPBi4wwKdeK2Hb1wiQLl+zu4StQ==",
+ "optional": true,
+ "requires": {
+ "@apollographql/apollo-tools": "^0.4.3",
+ "@apollographql/graphql-playground-html": "1.6.27",
+ "@apollographql/graphql-upload-8-fork": "^8.1.3",
+ "@josephg/resolvable": "^1.0.0",
+ "@types/ws": "^7.0.0",
+ "apollo-cache-control": "^0.12.0",
+ "apollo-datasource": "^0.8.0",
+ "apollo-graphql": "^0.6.0",
+ "apollo-reporting-protobuf": "^0.6.2",
+ "apollo-server-caching": "^0.6.0",
+ "apollo-server-env": "^3.0.0",
+ "apollo-server-errors": "^2.5.0",
+ "apollo-server-plugin-base": "^0.11.0",
+ "apollo-server-types": "^0.7.0",
+ "apollo-tracing": "^0.13.0",
+ "async-retry": "^1.2.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "graphql-extensions": "^0.13.0",
+ "graphql-tag": "^2.11.0",
+ "graphql-tools": "^4.0.8",
+ "loglevel": "^1.6.7",
+ "lru-cache": "^6.0.0",
+ "sha.js": "^2.4.11",
+ "subscriptions-transport-ws": "^0.9.11",
+ "uuid": "^8.0.0",
+ "ws": "^6.0.0"
+ },
+ "dependencies": {
+ "graphql-tools": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/graphql-tools/-/graphql-tools-4.0.8.tgz",
+ "integrity": "sha512-MW+ioleBrwhRjalKjYaLQbr+920pHBgy9vM/n47sswtns8+96sRn5M/G+J1eu7IMeKWiN/9p6tmwCHU7552VJg==",
+ "optional": true,
+ "requires": {
+ "apollo-link": "^1.2.14",
+ "apollo-utilities": "^1.0.1",
+ "deprecated-decorator": "^0.1.6",
+ "iterall": "^1.1.3",
+ "uuid": "^3.1.0"
+ },
+ "dependencies": {
+ "uuid": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
+ "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
+ "optional": true
+ }
+ }
+ },
+ "lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "optional": true,
+ "requires": {
+ "yallist": "^4.0.0"
+ }
+ },
+ "uuid": {
+ "version": "8.3.2",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
+ "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
+ "optional": true
+ },
+ "ws": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz",
+ "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==",
+ "optional": true,
+ "requires": {
+ "async-limiter": "~1.0.0"
+ }
+ },
+ "yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "optional": true
+ }
+ }
+ },
+ "apollo-server-env": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/apollo-server-env/-/apollo-server-env-3.0.0.tgz",
+ "integrity": "sha512-tPSN+VttnPsoQAl/SBVUpGbLA97MXG990XIwq6YUnJyAixrrsjW1xYG7RlaOqetxm80y5mBZKLrRDiiSsW/vog==",
+ "optional": true,
+ "requires": {
+ "node-fetch": "^2.1.2",
+ "util.promisify": "^1.0.0"
+ },
+ "dependencies": {
+ "node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true
+ }
+ }
+ },
+ "apollo-server-errors": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/apollo-server-errors/-/apollo-server-errors-2.5.0.tgz",
+ "integrity": "sha512-lO5oTjgiC3vlVg2RKr3RiXIIQ5pGXBFxYGGUkKDhTud3jMIhs+gel8L8zsEjKaKxkjHhCQAA/bcEfYiKkGQIvA==",
+ "optional": true,
+ "requires": {}
+ },
+ "apollo-server-express": {
+ "version": "2.23.0",
+ "resolved": "https://registry.npmjs.org/apollo-server-express/-/apollo-server-express-2.23.0.tgz",
+ "integrity": "sha512-tzil7c51ODH0rT1Bc5VMksdWzHrYGavdLtnDz4M0ePiTm18Gc81HD7X/4DPczorerEpfwwkf2YlADtPQfRSxlw==",
+ "optional": true,
+ "requires": {
+ "@apollographql/graphql-playground-html": "1.6.27",
+ "@types/accepts": "^1.3.5",
+ "@types/body-parser": "1.19.0",
+ "@types/cors": "2.8.10",
+ "@types/express": "4.17.11",
+ "@types/express-serve-static-core": "4.17.19",
+ "accepts": "^1.3.5",
+ "apollo-server-core": "^2.23.0",
+ "apollo-server-types": "^0.7.0",
+ "body-parser": "^1.18.3",
+ "cors": "^2.8.5",
+ "express": "^4.17.1",
+ "graphql-subscriptions": "^1.0.0",
+ "graphql-tools": "^4.0.8",
+ "parseurl": "^1.3.2",
+ "subscriptions-transport-ws": "^0.9.16",
+ "type-is": "^1.6.16"
+ },
+ "dependencies": {
+ "graphql-tools": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/graphql-tools/-/graphql-tools-4.0.8.tgz",
+ "integrity": "sha512-MW+ioleBrwhRjalKjYaLQbr+920pHBgy9vM/n47sswtns8+96sRn5M/G+J1eu7IMeKWiN/9p6tmwCHU7552VJg==",
+ "optional": true,
+ "requires": {
+ "apollo-link": "^1.2.14",
+ "apollo-utilities": "^1.0.1",
+ "deprecated-decorator": "^0.1.6",
+ "iterall": "^1.1.3",
+ "uuid": "^3.1.0"
+ }
+ }
+ }
+ },
+ "apollo-server-plugin-base": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/apollo-server-plugin-base/-/apollo-server-plugin-base-0.11.0.tgz",
+ "integrity": "sha512-Du68x0XCyQ6EWlgoL9Z+1s8fJfXgY131QbKP7ao617StQPzwB0aGCwxBDfcMt1A75VXf4TkvV1rdUH5YeJFlhQ==",
+ "optional": true,
+ "requires": {
+ "apollo-server-types": "^0.7.0"
+ }
+ },
+ "apollo-server-types": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/apollo-server-types/-/apollo-server-types-0.7.0.tgz",
+ "integrity": "sha512-pJ6ri2N4xJ+e2PUUPHeCNpMDzHUagJyn0DDZGQmXDz6aoMlSd4B2KUvK81hHyHkw3wHk9clgcpfM9hKqbfZweA==",
+ "optional": true,
+ "requires": {
+ "apollo-reporting-protobuf": "^0.6.2",
+ "apollo-server-caching": "^0.6.0",
+ "apollo-server-env": "^3.0.0"
+ }
+ },
+ "apollo-tracing": {
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/apollo-tracing/-/apollo-tracing-0.13.0.tgz",
+ "integrity": "sha512-28z4T+XfLQ6t696usU0nTFDxVN8BfF3o74d2p/zsT4eu1OuoyoDOEmVJqdInmVRpyTJK0tDEOjkIuDJJHZftog==",
+ "optional": true,
+ "requires": {
+ "apollo-server-env": "^3.0.0",
+ "apollo-server-plugin-base": "^0.11.0"
+ }
+ },
+ "apollo-upload-client": {
+ "version": "14.1.2",
+ "resolved": "https://registry.npmjs.org/apollo-upload-client/-/apollo-upload-client-14.1.2.tgz",
+ "integrity": "sha512-ozaW+4tnVz1rpfwiQwG3RCdCcZ93RV/37ZQbRnObcQ9mjb+zur58sGDPVg9Ef3fiujLmiE/Fe9kdgvIMA3VOjA==",
+ "optional": true,
+ "requires": {
+ "@apollo/client": "^3.1.5",
+ "@babel/runtime": "^7.11.2",
+ "extract-files": "^9.0.0"
+ }
+ },
+ "apollo-utilities": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/apollo-utilities/-/apollo-utilities-1.3.4.tgz",
+ "integrity": "sha512-pk2hiWrCXMAy2fRPwEyhvka+mqwzeP60Jr1tRYi5xru+3ko94HI9o6lK0CT33/w4RDlxWchmdhDCrvdr+pHCig==",
+ "optional": true,
+ "requires": {
+ "@wry/equality": "^0.1.2",
+ "fast-json-stable-stringify": "^2.0.0",
+ "ts-invariant": "^0.4.0",
+ "tslib": "^1.10.0"
+ },
+ "dependencies": {
+ "@wry/equality": {
+ "version": "0.1.11",
+ "resolved": "https://registry.npmjs.org/@wry/equality/-/equality-0.1.11.tgz",
+ "integrity": "sha512-mwEVBDUVODlsQQ5dfuLUS5/Tf7jqUKyhKYHmVi4fPB6bDMOfWvUPJmKgS1Z7Za/sOI3vzWt4+O7yCiL/70MogA==",
+ "optional": true,
+ "requires": {
+ "tslib": "^1.9.3"
+ }
+ },
+ "tslib": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",
+ "optional": true
+ }
+ }
+ },
+ "app-module-path": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/app-module-path/-/app-module-path-2.2.0.tgz",
+ "integrity": "sha1-ZBqlXft9am8KgUHEucCqULbCTdU="
+ },
+ "aproba": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",
+ "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw=="
+ },
+ "are-we-there-yet": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz",
+ "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==",
+ "optional": true,
+ "requires": {
+ "delegates": "^1.0.0",
+ "readable-stream": "^2.0.6"
+ }
+ },
+ "arg": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.1.tgz",
+ "integrity": "sha512-SlmP3fEA88MBv0PypnXZ8ZfJhwmDeIE3SP71j37AiXQBXYosPV0x6uISAaHYSlSVhmHOVkomen0tbGk6Anlebw==",
+ "dev": true
+ },
+ "argparse": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
+ "requires": {
+ "sprintf-js": "~1.0.2"
+ }
+ },
+ "argsarray": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/argsarray/-/argsarray-0.0.1.tgz",
+ "integrity": "sha1-bnIHtOzbObCviDA/pa4ivajfYcs=",
+ "optional": true
+ },
+ "arr-diff": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz",
+ "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=",
+ "dev": true
+ },
+ "arr-flatten": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",
+ "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==",
+ "devOptional": true
+ },
+ "arr-union": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz",
+ "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=",
+ "dev": true
+ },
+ "array-filter": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-1.0.0.tgz",
+ "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM="
+ },
+ "array-flatten": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
+ "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
+ },
+ "array-includes": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz",
+ "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.2",
+ "es-abstract": "^1.7.0"
+ }
+ },
+ "array-union": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
+ "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
+ "optional": true
+ },
+ "array-unique": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
+ "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=",
+ "dev": true
+ },
+ "array.prototype.map": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/array.prototype.map/-/array.prototype.map-1.0.3.tgz",
+ "integrity": "sha512-nNcb30v0wfDyIe26Yif3PcV1JXQp4zEeEfupG7L4SRjnD6HLbO5b2a7eVSba53bOx4YCHYMBHt+Fp4vYstneRA==",
+ "requires": {
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.1",
+ "es-array-method-boxes-properly": "^1.0.0",
+ "is-string": "^1.0.5"
+ }
+ },
+ "asap": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
+ "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=",
+ "devOptional": true
+ },
+ "asn1": {
+ "version": "0.2.4",
+ "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
+ "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",
+ "requires": {
+ "safer-buffer": "~2.1.0"
+ }
+ },
+ "asn1.js": {
+ "version": "5.4.1",
+ "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz",
+ "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==",
+ "requires": {
+ "bn.js": "^4.0.0",
+ "inherits": "^2.0.1",
+ "minimalistic-assert": "^1.0.0",
+ "safer-buffer": "^2.1.0"
+ }
+ },
+ "assert-args": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/assert-args/-/assert-args-1.2.1.tgz",
+ "integrity": "sha1-QEEDoUUqMv53iYgR5U5ZCoqTc70=",
+ "optional": true,
+ "requires": {
+ "101": "^1.2.0",
+ "compound-subject": "0.0.1",
+ "debug": "^2.2.0",
+ "get-prototype-of": "0.0.0",
+ "is-capitalized": "^1.0.0",
+ "is-class": "0.0.4"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "optional": true,
+ "requires": {
+ "ms": "2.0.0"
+ }
+ }
+ }
+ },
+ "assert-plus": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
+ "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
+ },
+ "assertion-error": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz",
+ "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw=="
+ },
+ "assign-symbols": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",
+ "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=",
+ "dev": true
+ },
+ "astral-regex": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz",
+ "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==",
+ "dev": true
+ },
+ "async": {
+ "version": "1.5.2",
+ "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz",
+ "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo="
+ },
+ "async-each": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.2.tgz",
+ "integrity": "sha512-6xrbvN0MOBKSJDdonmSSz2OwFSgxRaVtBDes26mj9KIGtDo+g9xosFRSC+i1gQh2oAN/tQ62AI/pGZGQjVOiRg==",
+ "dev": true
+ },
+ "async-eventemitter": {
+ "version": "0.2.4",
+ "resolved": "https://registry.npmjs.org/async-eventemitter/-/async-eventemitter-0.2.4.tgz",
+ "integrity": "sha512-pd20BwL7Yt1zwDFy+8MX8F1+WCT8aQeKj0kQnTrH9WaeRETlRamVhD0JtRPmrV4GfOJ2F9CvdQkZeZhnh2TuHw==",
+ "requires": {
+ "async": "^2.4.0"
+ },
+ "dependencies": {
+ "async": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
+ "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
+ "requires": {
+ "lodash": "^4.17.14"
+ }
+ }
+ }
+ },
+ "async-limiter": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz",
+ "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ=="
+ },
+ "async-retry": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/async-retry/-/async-retry-1.3.1.tgz",
+ "integrity": "sha512-aiieFW/7h3hY0Bq5d+ktDBejxuwR78vRu9hDUdR8rNhSaQ29VzPL4AoIRG7D/c7tdenwOcKvgPM6tIxB3cB6HA==",
+ "optional": true,
+ "requires": {
+ "retry": "0.12.0"
+ },
+ "dependencies": {
+ "retry": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz",
+ "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=",
+ "optional": true
+ }
+ }
+ },
+ "asynckit": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
+ "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
+ },
+ "at-least-node": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
+ "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==",
+ "optional": true
+ },
+ "atob": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
+ "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",
+ "devOptional": true
+ },
+ "available-typed-arrays": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.2.tgz",
+ "integrity": "sha512-XWX3OX8Onv97LMk/ftVyBibpGwY5a8SmuxZPzeOxqmuEqUCOM9ZE+uIaD1VNJ5QnvU2UQusvmKbuM1FR8QWGfQ==",
+ "requires": {
+ "array-filter": "^1.0.0"
+ }
+ },
+ "aws-sign2": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
+ "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
+ },
+ "aws4": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz",
+ "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ=="
+ },
+ "axios": {
+ "version": "0.20.0",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-0.20.0.tgz",
+ "integrity": "sha512-ANA4rr2BDcmmAQLOKft2fufrtuvlqR+cXNNinUmvfeSNCOF98PZL+7M/v1zIdGo7OLjEA9J2gXJL+j4zGsl0bA==",
+ "optional": true,
+ "requires": {
+ "follow-redirects": "^1.10.0"
+ }
+ },
+ "babel-code-frame": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz",
+ "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=",
+ "requires": {
+ "chalk": "^1.1.3",
+ "esutils": "^2.0.2",
+ "js-tokens": "^3.0.2"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
+ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "requires": {
+ "ansi-styles": "^2.2.1",
+ "escape-string-regexp": "^1.0.2",
+ "has-ansi": "^2.0.0",
+ "strip-ansi": "^3.0.0",
+ "supports-color": "^2.0.0"
+ }
+ },
+ "js-tokens": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
+ "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls="
+ },
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
+ }
+ }
+ },
+ "babel-core": {
+ "version": "6.26.3",
+ "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz",
+ "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==",
+ "requires": {
+ "babel-code-frame": "^6.26.0",
+ "babel-generator": "^6.26.0",
+ "babel-helpers": "^6.24.1",
+ "babel-messages": "^6.23.0",
+ "babel-register": "^6.26.0",
+ "babel-runtime": "^6.26.0",
+ "babel-template": "^6.26.0",
+ "babel-traverse": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "babylon": "^6.18.0",
+ "convert-source-map": "^1.5.1",
+ "debug": "^2.6.9",
+ "json5": "^0.5.1",
+ "lodash": "^4.17.4",
+ "minimatch": "^3.0.4",
+ "path-is-absolute": "^1.0.1",
+ "private": "^0.1.8",
+ "slash": "^1.0.0",
+ "source-map": "^0.5.7"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "requires": {
+ "ms": "2.0.0"
+ }
+ }
+ }
+ },
+ "babel-generator": {
+ "version": "6.26.1",
+ "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz",
+ "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==",
+ "requires": {
+ "babel-messages": "^6.23.0",
+ "babel-runtime": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "detect-indent": "^4.0.0",
+ "jsesc": "^1.3.0",
+ "lodash": "^4.17.4",
+ "source-map": "^0.5.7",
+ "trim-right": "^1.0.1"
+ },
+ "dependencies": {
+ "jsesc": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz",
+ "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s="
+ }
+ }
+ },
+ "babel-helper-builder-binary-assignment-operator-visitor": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz",
+ "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=",
+ "requires": {
+ "babel-helper-explode-assignable-expression": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-helper-call-delegate": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz",
+ "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=",
+ "requires": {
+ "babel-helper-hoist-variables": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-helper-define-map": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz",
+ "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=",
+ "requires": {
+ "babel-helper-function-name": "^6.24.1",
+ "babel-runtime": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "lodash": "^4.17.4"
+ }
+ },
+ "babel-helper-explode-assignable-expression": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz",
+ "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=",
+ "requires": {
+ "babel-runtime": "^6.22.0",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-helper-function-name": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz",
+ "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=",
+ "requires": {
+ "babel-helper-get-function-arity": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-helper-get-function-arity": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz",
+ "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=",
+ "requires": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-helper-hoist-variables": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz",
+ "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=",
+ "requires": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-helper-optimise-call-expression": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz",
+ "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=",
+ "requires": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-helper-regex": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz",
+ "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=",
+ "requires": {
+ "babel-runtime": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "lodash": "^4.17.4"
+ }
+ },
+ "babel-helper-remap-async-to-generator": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz",
+ "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=",
+ "requires": {
+ "babel-helper-function-name": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-helper-replace-supers": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz",
+ "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=",
+ "requires": {
+ "babel-helper-optimise-call-expression": "^6.24.1",
+ "babel-messages": "^6.23.0",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-helpers": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz",
+ "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=",
+ "requires": {
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1"
+ }
+ },
+ "babel-messages": {
+ "version": "6.23.0",
+ "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz",
+ "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=",
+ "requires": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "babel-plugin-check-es2015-constants": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz",
+ "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=",
+ "requires": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "babel-plugin-dynamic-import-node": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz",
+ "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==",
+ "optional": true,
+ "requires": {
+ "object.assign": "^4.1.0"
+ }
+ },
+ "babel-plugin-syntax-async-functions": {
+ "version": "6.13.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz",
+ "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU="
+ },
+ "babel-plugin-syntax-exponentiation-operator": {
+ "version": "6.13.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz",
+ "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4="
+ },
+ "babel-plugin-syntax-trailing-function-commas": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz",
+ "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM="
+ },
+ "babel-plugin-transform-async-to-generator": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz",
+ "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=",
+ "requires": {
+ "babel-helper-remap-async-to-generator": "^6.24.1",
+ "babel-plugin-syntax-async-functions": "^6.8.0",
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "babel-plugin-transform-es2015-arrow-functions": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz",
+ "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=",
+ "requires": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "babel-plugin-transform-es2015-block-scoped-functions": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz",
+ "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=",
+ "requires": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "babel-plugin-transform-es2015-block-scoping": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz",
+ "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=",
+ "requires": {
+ "babel-runtime": "^6.26.0",
+ "babel-template": "^6.26.0",
+ "babel-traverse": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "lodash": "^4.17.4"
+ }
+ },
+ "babel-plugin-transform-es2015-classes": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz",
+ "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=",
+ "requires": {
+ "babel-helper-define-map": "^6.24.1",
+ "babel-helper-function-name": "^6.24.1",
+ "babel-helper-optimise-call-expression": "^6.24.1",
+ "babel-helper-replace-supers": "^6.24.1",
+ "babel-messages": "^6.23.0",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-plugin-transform-es2015-computed-properties": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz",
+ "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=",
+ "requires": {
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1"
+ }
+ },
+ "babel-plugin-transform-es2015-destructuring": {
+ "version": "6.23.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz",
+ "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=",
+ "requires": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "babel-plugin-transform-es2015-duplicate-keys": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz",
+ "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=",
+ "requires": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-plugin-transform-es2015-for-of": {
+ "version": "6.23.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz",
+ "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=",
+ "requires": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "babel-plugin-transform-es2015-function-name": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz",
+ "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=",
+ "requires": {
+ "babel-helper-function-name": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-plugin-transform-es2015-literals": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz",
+ "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=",
+ "requires": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "babel-plugin-transform-es2015-modules-amd": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz",
+ "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=",
+ "requires": {
+ "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1"
+ }
+ },
+ "babel-plugin-transform-es2015-modules-commonjs": {
+ "version": "6.26.2",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz",
+ "integrity": "sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==",
+ "requires": {
+ "babel-plugin-transform-strict-mode": "^6.24.1",
+ "babel-runtime": "^6.26.0",
+ "babel-template": "^6.26.0",
+ "babel-types": "^6.26.0"
+ }
+ },
+ "babel-plugin-transform-es2015-modules-systemjs": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz",
+ "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=",
+ "requires": {
+ "babel-helper-hoist-variables": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1"
+ }
+ },
+ "babel-plugin-transform-es2015-modules-umd": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz",
+ "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=",
+ "requires": {
+ "babel-plugin-transform-es2015-modules-amd": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1"
+ }
+ },
+ "babel-plugin-transform-es2015-object-super": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz",
+ "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=",
+ "requires": {
+ "babel-helper-replace-supers": "^6.24.1",
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "babel-plugin-transform-es2015-parameters": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz",
+ "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=",
+ "requires": {
+ "babel-helper-call-delegate": "^6.24.1",
+ "babel-helper-get-function-arity": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-template": "^6.24.1",
+ "babel-traverse": "^6.24.1",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-plugin-transform-es2015-shorthand-properties": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz",
+ "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=",
+ "requires": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-plugin-transform-es2015-spread": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz",
+ "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=",
+ "requires": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "babel-plugin-transform-es2015-sticky-regex": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz",
+ "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=",
+ "requires": {
+ "babel-helper-regex": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-plugin-transform-es2015-template-literals": {
+ "version": "6.22.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz",
+ "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=",
+ "requires": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "babel-plugin-transform-es2015-typeof-symbol": {
+ "version": "6.23.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz",
+ "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=",
+ "requires": {
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "babel-plugin-transform-es2015-unicode-regex": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz",
+ "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=",
+ "requires": {
+ "babel-helper-regex": "^6.24.1",
+ "babel-runtime": "^6.22.0",
+ "regexpu-core": "^2.0.0"
+ }
+ },
+ "babel-plugin-transform-exponentiation-operator": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz",
+ "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=",
+ "requires": {
+ "babel-helper-builder-binary-assignment-operator-visitor": "^6.24.1",
+ "babel-plugin-syntax-exponentiation-operator": "^6.8.0",
+ "babel-runtime": "^6.22.0"
+ }
+ },
+ "babel-plugin-transform-regenerator": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz",
+ "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=",
+ "requires": {
+ "regenerator-transform": "^0.10.0"
+ }
+ },
+ "babel-plugin-transform-strict-mode": {
+ "version": "6.24.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz",
+ "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=",
+ "requires": {
+ "babel-runtime": "^6.22.0",
+ "babel-types": "^6.24.1"
+ }
+ },
+ "babel-preset-env": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz",
+ "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==",
+ "requires": {
+ "babel-plugin-check-es2015-constants": "^6.22.0",
+ "babel-plugin-syntax-trailing-function-commas": "^6.22.0",
+ "babel-plugin-transform-async-to-generator": "^6.22.0",
+ "babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
+ "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0",
+ "babel-plugin-transform-es2015-block-scoping": "^6.23.0",
+ "babel-plugin-transform-es2015-classes": "^6.23.0",
+ "babel-plugin-transform-es2015-computed-properties": "^6.22.0",
+ "babel-plugin-transform-es2015-destructuring": "^6.23.0",
+ "babel-plugin-transform-es2015-duplicate-keys": "^6.22.0",
+ "babel-plugin-transform-es2015-for-of": "^6.23.0",
+ "babel-plugin-transform-es2015-function-name": "^6.22.0",
+ "babel-plugin-transform-es2015-literals": "^6.22.0",
+ "babel-plugin-transform-es2015-modules-amd": "^6.22.0",
+ "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
+ "babel-plugin-transform-es2015-modules-systemjs": "^6.23.0",
+ "babel-plugin-transform-es2015-modules-umd": "^6.23.0",
+ "babel-plugin-transform-es2015-object-super": "^6.22.0",
+ "babel-plugin-transform-es2015-parameters": "^6.23.0",
+ "babel-plugin-transform-es2015-shorthand-properties": "^6.22.0",
+ "babel-plugin-transform-es2015-spread": "^6.22.0",
+ "babel-plugin-transform-es2015-sticky-regex": "^6.22.0",
+ "babel-plugin-transform-es2015-template-literals": "^6.22.0",
+ "babel-plugin-transform-es2015-typeof-symbol": "^6.23.0",
+ "babel-plugin-transform-es2015-unicode-regex": "^6.22.0",
+ "babel-plugin-transform-exponentiation-operator": "^6.22.0",
+ "babel-plugin-transform-regenerator": "^6.22.0",
+ "browserslist": "^3.2.6",
+ "invariant": "^2.2.2",
+ "semver": "^5.3.0"
+ }
+ },
+ "babel-preset-fbjs": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/babel-preset-fbjs/-/babel-preset-fbjs-3.3.0.tgz",
+ "integrity": "sha512-7QTLTCd2gwB2qGoi5epSULMHugSVgpcVt5YAeiFO9ABLrutDQzKfGwzxgZHLpugq8qMdg/DhRZDZ5CLKxBkEbw==",
+ "optional": true,
+ "requires": {
+ "@babel/plugin-proposal-class-properties": "^7.0.0",
+ "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
+ "@babel/plugin-syntax-class-properties": "^7.0.0",
+ "@babel/plugin-syntax-flow": "^7.0.0",
+ "@babel/plugin-syntax-jsx": "^7.0.0",
+ "@babel/plugin-syntax-object-rest-spread": "^7.0.0",
+ "@babel/plugin-transform-arrow-functions": "^7.0.0",
+ "@babel/plugin-transform-block-scoped-functions": "^7.0.0",
+ "@babel/plugin-transform-block-scoping": "^7.0.0",
+ "@babel/plugin-transform-classes": "^7.0.0",
+ "@babel/plugin-transform-computed-properties": "^7.0.0",
+ "@babel/plugin-transform-destructuring": "^7.0.0",
+ "@babel/plugin-transform-flow-strip-types": "^7.0.0",
+ "@babel/plugin-transform-for-of": "^7.0.0",
+ "@babel/plugin-transform-function-name": "^7.0.0",
+ "@babel/plugin-transform-literals": "^7.0.0",
+ "@babel/plugin-transform-member-expression-literals": "^7.0.0",
+ "@babel/plugin-transform-modules-commonjs": "^7.0.0",
+ "@babel/plugin-transform-object-super": "^7.0.0",
+ "@babel/plugin-transform-parameters": "^7.0.0",
+ "@babel/plugin-transform-property-literals": "^7.0.0",
+ "@babel/plugin-transform-react-display-name": "^7.0.0",
+ "@babel/plugin-transform-react-jsx": "^7.0.0",
+ "@babel/plugin-transform-shorthand-properties": "^7.0.0",
+ "@babel/plugin-transform-spread": "^7.0.0",
+ "@babel/plugin-transform-template-literals": "^7.0.0",
+ "babel-plugin-syntax-trailing-function-commas": "^7.0.0-beta.0"
+ },
+ "dependencies": {
+ "babel-plugin-syntax-trailing-function-commas": {
+ "version": "7.0.0-beta.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-7.0.0-beta.0.tgz",
+ "integrity": "sha512-Xj9XuRuz3nTSbaTXWv3itLOcxyF4oPD8douBBmj7U9BBC6nEBYfyOJYQMf/8PJAFotC62UY5dFfIGEPr7WswzQ==",
+ "optional": true
+ }
+ }
+ },
+ "babel-register": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz",
+ "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=",
+ "requires": {
+ "babel-core": "^6.26.0",
+ "babel-runtime": "^6.26.0",
+ "core-js": "^2.5.0",
+ "home-or-tmp": "^2.0.0",
+ "lodash": "^4.17.4",
+ "mkdirp": "^0.5.1",
+ "source-map-support": "^0.4.15"
+ },
+ "dependencies": {
+ "source-map-support": {
+ "version": "0.4.18",
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz",
+ "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==",
+ "requires": {
+ "source-map": "^0.5.6"
+ }
+ }
+ }
+ },
+ "babel-runtime": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
+ "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
+ "requires": {
+ "core-js": "^2.4.0",
+ "regenerator-runtime": "^0.11.0"
+ }
+ },
+ "babel-template": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz",
+ "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=",
+ "requires": {
+ "babel-runtime": "^6.26.0",
+ "babel-traverse": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "babylon": "^6.18.0",
+ "lodash": "^4.17.4"
+ }
+ },
+ "babel-traverse": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz",
+ "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=",
+ "requires": {
+ "babel-code-frame": "^6.26.0",
+ "babel-messages": "^6.23.0",
+ "babel-runtime": "^6.26.0",
+ "babel-types": "^6.26.0",
+ "babylon": "^6.18.0",
+ "debug": "^2.6.8",
+ "globals": "^9.18.0",
+ "invariant": "^2.2.2",
+ "lodash": "^4.17.4"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "globals": {
+ "version": "9.18.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz",
+ "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ=="
+ }
+ }
+ },
+ "babel-types": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz",
+ "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=",
+ "requires": {
+ "babel-runtime": "^6.26.0",
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.4",
+ "to-fast-properties": "^1.0.3"
+ }
+ },
+ "babelify": {
+ "version": "7.3.0",
+ "resolved": "https://registry.npmjs.org/babelify/-/babelify-7.3.0.tgz",
+ "integrity": "sha1-qlau3nBn/XvVSWZu4W3ChQh+iOU=",
+ "requires": {
+ "babel-core": "^6.0.14",
+ "object-assign": "^4.0.0"
+ }
+ },
+ "babylon": {
+ "version": "6.18.0",
+ "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz",
+ "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ=="
+ },
+ "backo2": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz",
+ "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=",
+ "optional": true
+ },
+ "backoff": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/backoff/-/backoff-2.5.0.tgz",
+ "integrity": "sha1-9hbtqdPktmuMp/ynn2lXIsX44m8=",
+ "requires": {
+ "precond": "0.2"
+ }
+ },
+ "balanced-match": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
+ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
+ },
+ "base": {
+ "version": "0.11.2",
+ "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz",
+ "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==",
+ "dev": true,
+ "requires": {
+ "cache-base": "^1.0.1",
+ "class-utils": "^0.3.5",
+ "component-emitter": "^1.2.1",
+ "define-property": "^1.0.0",
+ "isobject": "^3.0.1",
+ "mixin-deep": "^1.2.0",
+ "pascalcase": "^0.1.1"
+ },
+ "dependencies": {
+ "define-property": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
+ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
+ "dev": true,
+ "requires": {
+ "is-descriptor": "^1.0.0"
+ }
+ },
+ "is-accessor-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
+ "dev": true,
+ "requires": {
+ "kind-of": "^6.0.0"
+ }
+ },
+ "is-data-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
+ "dev": true,
+ "requires": {
+ "kind-of": "^6.0.0"
+ }
+ },
+ "is-descriptor": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
+ "dev": true,
+ "requires": {
+ "is-accessor-descriptor": "^1.0.0",
+ "is-data-descriptor": "^1.0.0",
+ "kind-of": "^6.0.2"
+ }
+ }
+ }
+ },
+ "base-x": {
+ "version": "3.0.8",
+ "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.8.tgz",
+ "integrity": "sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA==",
+ "requires": {
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "base32-decode": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/base32-decode/-/base32-decode-1.0.0.tgz",
+ "integrity": "sha512-KNWUX/R7wKenwE/G/qFMzGScOgVntOmbE27vvc6GrniDGYb6a5+qWcuoXl8WIOQL7q0TpK7nZDm1Y04Yi3Yn5g==",
+ "optional": true
+ },
+ "base32-encode": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/base32-encode/-/base32-encode-1.2.0.tgz",
+ "integrity": "sha512-cHFU8XeRyx0GgmoWi5qHMCVRiqU6J3MHWxVgun7jggCBUpVzm1Ir7M9dYr2whjSNc3tFeXfQ/oZjQu/4u55h9A==",
+ "optional": true,
+ "requires": {
+ "to-data-view": "^1.1.0"
+ }
+ },
+ "base64-js": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",
+ "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g=="
+ },
+ "bcrypt-pbkdf": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
+ "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
+ "requires": {
+ "tweetnacl": "^0.14.3"
+ }
+ },
+ "bech32": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.3.tgz",
+ "integrity": "sha512-yuVFUvrNcoJi0sv5phmqc6P+Fl1HjRDRNOOkHY2X/3LBy2bIGNSFx4fZ95HMaXHupuS7cZR15AsvtmCIF4UEyg==",
+ "optional": true
+ },
+ "big.js": {
+ "version": "5.2.2",
+ "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
+ "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="
+ },
+ "bignumber.js": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz",
+ "integrity": "sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA=="
+ },
+ "binary-extensions": {
+ "version": "1.13.1",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",
+ "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",
+ "dev": true
+ },
+ "bindings": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
+ "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
+ "requires": {
+ "file-uri-to-path": "1.0.0"
+ }
+ },
+ "bip32": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz",
+ "integrity": "sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA==",
+ "optional": true,
+ "requires": {
+ "@types/node": "10.12.18",
+ "bs58check": "^2.1.1",
+ "create-hash": "^1.2.0",
+ "create-hmac": "^1.1.7",
+ "tiny-secp256k1": "^1.1.3",
+ "typeforce": "^1.11.5",
+ "wif": "^2.0.6"
+ },
+ "dependencies": {
+ "@types/node": {
+ "version": "10.12.18",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz",
+ "integrity": "sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ==",
+ "optional": true
+ }
+ }
+ },
+ "bip39": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/bip39/-/bip39-2.6.0.tgz",
+ "integrity": "sha512-RrnQRG2EgEoqO24ea+Q/fftuPUZLmrEM3qNhhGsA3PbaXaCW791LTzPuVyx/VprXQcTbPJ3K3UeTna8ZnVl2sg==",
+ "requires": {
+ "create-hash": "^1.1.0",
+ "pbkdf2": "^3.0.9",
+ "randombytes": "^2.0.1",
+ "safe-buffer": "^5.0.1",
+ "unorm": "^1.3.3"
+ }
+ },
+ "bip66": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz",
+ "integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=",
+ "requires": {
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "bitcore-lib": {
+ "version": "8.25.8",
+ "resolved": "https://registry.npmjs.org/bitcore-lib/-/bitcore-lib-8.25.8.tgz",
+ "integrity": "sha512-vxNJ+DLAeC2V8iPa6dRvUbb/Nm3Vr/cXKhCKSIxj8YPU2tP0QiwEz2Lu9sbqhtsmIerS+F1eeHulzS21MpS2GQ==",
+ "optional": true,
+ "requires": {
+ "bech32": "=1.1.3",
+ "bn.js": "=4.11.8",
+ "bs58": "^4.0.1",
+ "buffer-compare": "=1.1.1",
+ "elliptic": "^6.5.3",
+ "inherits": "=2.0.1",
+ "lodash": "^4.17.20"
+ },
+ "dependencies": {
+ "bs58": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz",
+ "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=",
+ "optional": true,
+ "requires": {
+ "base-x": "^3.0.2"
+ }
+ },
+ "inherits": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
+ "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=",
+ "optional": true
+ }
+ }
+ },
+ "bitcore-mnemonic": {
+ "version": "8.25.8",
+ "resolved": "https://registry.npmjs.org/bitcore-mnemonic/-/bitcore-mnemonic-8.25.8.tgz",
+ "integrity": "sha512-xViUIa9YiJ2UP5yNVAfFfsiCKB7ed+wJuPo6jz36GE91nPPxxNJ2LOMIVQMSYj89g77FsgQmAx/qj2g35G34WA==",
+ "optional": true,
+ "requires": {
+ "unorm": "^1.4.1"
+ }
+ },
+ "bl": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/bl/-/bl-4.0.2.tgz",
+ "integrity": "sha512-j4OH8f6Qg2bGuWfRiltT2HYGx0e1QcBTrK9KAHNMwMZdQnDZFk0ZSYIpADjYCB3U12nicC5tVJwSIhwOWjb4RQ==",
+ "optional": true,
+ "requires": {
+ "buffer": "^5.5.0",
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.4.0"
+ },
+ "dependencies": {
+ "inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ }
+ }
+ },
+ "blakejs": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.1.0.tgz",
+ "integrity": "sha1-ad+S75U6qIylGjLfarHFShVfx6U="
+ },
+ "blob-to-it": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/blob-to-it/-/blob-to-it-1.0.2.tgz",
+ "integrity": "sha512-yD8tikfTlUGEOSHExz4vDCIQFLaBPXIL0KcxGQt9RbwMVXBEh+jokdJyStvTXPgWrdKfwgk7RX8GPsgrYzsyng==",
+ "optional": true,
+ "requires": {
+ "browser-readablestream-to-it": "^1.0.2"
+ }
+ },
+ "bluebird": {
+ "version": "3.5.5",
+ "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.5.tgz",
+ "integrity": "sha512-5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w=="
+ },
+ "bn.js": {
+ "version": "4.11.8",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",
+ "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA=="
+ },
+ "body-parser": {
+ "version": "1.19.0",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",
+ "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==",
+ "requires": {
+ "bytes": "3.1.0",
+ "content-type": "~1.0.4",
+ "debug": "2.6.9",
+ "depd": "~1.1.2",
+ "http-errors": "1.7.2",
+ "iconv-lite": "0.4.24",
+ "on-finished": "~2.3.0",
+ "qs": "6.7.0",
+ "raw-body": "2.4.0",
+ "type-is": "~1.6.17"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "http-errors": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
+ "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
+ "requires": {
+ "depd": "~1.1.2",
+ "inherits": "2.0.3",
+ "setprototypeof": "1.1.1",
+ "statuses": ">= 1.5.0 < 2",
+ "toidentifier": "1.0.0"
+ }
+ },
+ "qs": {
+ "version": "6.7.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
+ "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ=="
+ }
+ }
+ },
+ "boolbase": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
+ "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24="
+ },
+ "borc": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/borc/-/borc-2.1.2.tgz",
+ "integrity": "sha512-Sy9eoUi4OiKzq7VovMn246iTo17kzuyHJKomCfpWMlI6RpfN1gk95w7d7gH264nApVLg0HZfcpz62/g4VH1Y4w==",
+ "optional": true,
+ "requires": {
+ "bignumber.js": "^9.0.0",
+ "buffer": "^5.5.0",
+ "commander": "^2.15.0",
+ "ieee754": "^1.1.13",
+ "iso-url": "~0.4.7",
+ "json-text-sequence": "~0.1.0",
+ "readable-stream": "^3.6.0"
+ },
+ "dependencies": {
+ "iso-url": {
+ "version": "0.4.7",
+ "resolved": "https://registry.npmjs.org/iso-url/-/iso-url-0.4.7.tgz",
+ "integrity": "sha512-27fFRDnPAMnHGLq36bWTpKET+eiXct3ENlCcdcMdk+mjXrb2kw3mhBUg1B7ewAC0kVzlOPhADzQgz1SE6Tglog==",
+ "optional": true
+ },
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ }
+ }
+ },
+ "boxen": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz",
+ "integrity": "sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw==",
+ "dev": true,
+ "requires": {
+ "ansi-align": "^2.0.0",
+ "camelcase": "^4.0.0",
+ "chalk": "^2.0.1",
+ "cli-boxes": "^1.0.0",
+ "string-width": "^2.0.0",
+ "term-size": "^1.2.0",
+ "widest-line": "^2.0.0"
+ },
+ "dependencies": {
+ "ansi-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
+ "dev": true
+ },
+ "camelcase": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz",
+ "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=",
+ "dev": true
+ },
+ "is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "dev": true
+ },
+ "string-width": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
+ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
+ "dev": true,
+ "requires": {
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^4.0.0"
+ }
+ },
+ "strip-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
+ "dev": true,
+ "requires": {
+ "ansi-regex": "^3.0.0"
+ }
+ }
+ }
+ },
+ "brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "requires": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "braces": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",
+ "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",
+ "dev": true,
+ "requires": {
+ "arr-flatten": "^1.1.0",
+ "array-unique": "^0.3.2",
+ "extend-shallow": "^2.0.1",
+ "fill-range": "^4.0.0",
+ "isobject": "^3.0.1",
+ "repeat-element": "^1.1.2",
+ "snapdragon": "^0.8.1",
+ "snapdragon-node": "^2.0.1",
+ "split-string": "^3.0.2",
+ "to-regex": "^3.0.1"
+ },
+ "dependencies": {
+ "extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "dev": true,
+ "requires": {
+ "is-extendable": "^0.1.0"
+ }
+ }
+ }
+ },
+ "brorand": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",
+ "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8="
+ },
+ "browser-headers": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/browser-headers/-/browser-headers-0.4.1.tgz",
+ "integrity": "sha512-CA9hsySZVo9371qEHjHZtYxV2cFtVj5Wj/ZHi8ooEsrtm4vOnl9Y9HmyYWk9q+05d7K3rdoAE0j3MVEFVvtQtg==",
+ "optional": true
+ },
+ "browser-readablestream-to-it": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/browser-readablestream-to-it/-/browser-readablestream-to-it-1.0.2.tgz",
+ "integrity": "sha512-lv4M2Z6RKJpyJijJzBQL5MNssS7i8yedl+QkhnLCyPtgNGNSXv1KthzUnye9NlRAtBAI80X6S9i+vK09Rzjcvg==",
+ "optional": true
+ },
+ "browser-stdout": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz",
+ "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw=="
+ },
+ "browserify-aes": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
+ "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",
+ "requires": {
+ "buffer-xor": "^1.0.3",
+ "cipher-base": "^1.0.0",
+ "create-hash": "^1.1.0",
+ "evp_bytestokey": "^1.0.3",
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "browserify-cipher": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz",
+ "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==",
+ "requires": {
+ "browserify-aes": "^1.0.4",
+ "browserify-des": "^1.0.0",
+ "evp_bytestokey": "^1.0.0"
+ }
+ },
+ "browserify-des": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz",
+ "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==",
+ "requires": {
+ "cipher-base": "^1.0.1",
+ "des.js": "^1.0.0",
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.1.2"
+ }
+ },
+ "browserify-rsa": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz",
+ "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==",
+ "requires": {
+ "bn.js": "^5.0.0",
+ "randombytes": "^2.0.1"
+ },
+ "dependencies": {
+ "bn.js": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw=="
+ }
+ }
+ },
+ "browserify-sign": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz",
+ "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==",
+ "requires": {
+ "bn.js": "^5.1.1",
+ "browserify-rsa": "^4.0.1",
+ "create-hash": "^1.2.0",
+ "create-hmac": "^1.1.7",
+ "elliptic": "^6.5.3",
+ "inherits": "^2.0.4",
+ "parse-asn1": "^5.1.5",
+ "readable-stream": "^3.6.0",
+ "safe-buffer": "^5.2.0"
+ },
+ "dependencies": {
+ "bn.js": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw=="
+ },
+ "inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
+ },
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ },
+ "safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
+ }
+ }
+ },
+ "browserslist": {
+ "version": "3.2.8",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz",
+ "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==",
+ "requires": {
+ "caniuse-lite": "^1.0.30000844",
+ "electron-to-chromium": "^1.3.47"
+ }
+ },
+ "bs58": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-2.0.1.tgz",
+ "integrity": "sha1-VZCNWPGYKrogCPob7Y+RmYopv40="
+ },
+ "bs58check": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz",
+ "integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==",
+ "requires": {
+ "bs58": "^4.0.0",
+ "create-hash": "^1.1.0",
+ "safe-buffer": "^5.1.2"
+ },
+ "dependencies": {
+ "bs58": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz",
+ "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=",
+ "requires": {
+ "base-x": "^3.0.2"
+ }
+ }
+ }
+ },
+ "bser": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz",
+ "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==",
+ "optional": true,
+ "requires": {
+ "node-int64": "^0.4.0"
+ }
+ },
+ "btoa-lite": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/btoa-lite/-/btoa-lite-1.0.0.tgz",
+ "integrity": "sha1-M3dm2hWAEhD92VbCLpxokaudAzc=",
+ "optional": true
+ },
+ "buffer": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
+ "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
+ "requires": {
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.1.13"
+ }
+ },
+ "buffer-compare": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/buffer-compare/-/buffer-compare-1.1.1.tgz",
+ "integrity": "sha1-W+e+hTr4kZjR9N3AkNHWakiu9ZY=",
+ "optional": true
+ },
+ "buffer-from": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
+ "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A=="
+ },
+ "buffer-pipe": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/buffer-pipe/-/buffer-pipe-0.0.3.tgz",
+ "integrity": "sha512-GlxfuD/NrKvCNs0Ut+7b1IHjylfdegMBxQIlZHj7bObKVQBxB5S84gtm2yu1mQ8/sSggceWBDPY0cPXgvX2MuA==",
+ "optional": true,
+ "requires": {
+ "safe-buffer": "^5.1.2"
+ }
+ },
+ "buffer-to-arraybuffer": {
+ "version": "0.0.5",
+ "resolved": "https://registry.npmjs.org/buffer-to-arraybuffer/-/buffer-to-arraybuffer-0.0.5.tgz",
+ "integrity": "sha1-YGSkD6dutDxyOrqe+PbhIW0QURo="
+ },
+ "buffer-xor": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz",
+ "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk="
+ },
+ "bufferutil": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.3.tgz",
+ "integrity": "sha512-yEYTwGndELGvfXsImMBLop58eaGW+YdONi1fNjTINSY98tmMmFijBG6WXgdkfuLNt4imzQNtIE+eBp1PVpMCSw==",
+ "requires": {
+ "node-gyp-build": "^4.2.0"
+ }
+ },
+ "builtins": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz",
+ "integrity": "sha1-y5T662HIaWRR2zZTThQi+U8K7og="
+ },
+ "busboy": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/busboy/-/busboy-0.3.1.tgz",
+ "integrity": "sha512-y7tTxhGKXcyBxRKAni+awqx8uqaJKrSFSNFSeRG5CsWNdmy2BIK+6VGWEW7TZnIO/533mtMEA4rOevQV815YJw==",
+ "optional": true,
+ "requires": {
+ "dicer": "0.3.0"
+ }
+ },
+ "bytes": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
+ "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg=="
+ },
+ "cacache": {
+ "version": "12.0.0",
+ "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.0.tgz",
+ "integrity": "sha512-0baf1FhCp16LhN+xDJsOrSiaPDCTD3JegZptVmLDoEbFcT5aT+BeFGt3wcDU3olCP5tpTCXU5sv0+TsKWT9WGQ==",
+ "requires": {
+ "bluebird": "^3.5.5",
+ "chownr": "^1.1.1",
+ "figgy-pudding": "^3.5.1",
+ "glob": "^7.1.4",
+ "graceful-fs": "^4.1.15",
+ "lru-cache": "^5.1.1",
+ "mississippi": "^3.0.0",
+ "mkdirp": "^0.5.1",
+ "move-concurrently": "^1.0.1",
+ "promise-inflight": "^1.0.1",
+ "rimraf": "^2.6.3",
+ "ssri": "^6.0.1",
+ "unique-filename": "^1.1.1",
+ "y18n": "^4.0.0"
+ },
+ "dependencies": {
+ "glob": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
+ "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
+ "requires": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
+ },
+ "lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "requires": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "y18n": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
+ "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w=="
+ },
+ "yallist": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",
+ "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A=="
+ }
+ }
+ },
+ "cache-base": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
+ "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==",
+ "dev": true,
+ "requires": {
+ "collection-visit": "^1.0.0",
+ "component-emitter": "^1.2.1",
+ "get-value": "^2.0.6",
+ "has-value": "^1.0.0",
+ "isobject": "^3.0.1",
+ "set-value": "^2.0.0",
+ "to-object-path": "^0.3.0",
+ "union-value": "^1.0.0",
+ "unset-value": "^1.0.0"
+ }
+ },
+ "cacheable-request": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
+ "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==",
+ "requires": {
+ "clone-response": "^1.0.2",
+ "get-stream": "^5.1.0",
+ "http-cache-semantics": "^4.0.0",
+ "keyv": "^3.0.0",
+ "lowercase-keys": "^2.0.0",
+ "normalize-url": "^4.1.0",
+ "responselike": "^1.0.2"
+ },
+ "dependencies": {
+ "get-stream": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz",
+ "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==",
+ "requires": {
+ "pump": "^3.0.0"
+ }
+ },
+ "http-cache-semantics": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.0.3.tgz",
+ "integrity": "sha512-TcIMG3qeVLgDr1TEd2XvHaTnMPwYQUQMIBLy+5pLSDKYFc7UIqj39w8EGzZkaxoLv/l2K8HaI0t5AVA+YYgUew=="
+ },
+ "lowercase-keys": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
+ "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA=="
+ },
+ "pump": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "requires": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ }
+ }
+ },
+ "call-bind": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
+ "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
+ "requires": {
+ "function-bind": "^1.1.1",
+ "get-intrinsic": "^1.0.2"
+ }
+ },
+ "caller-callsite": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz",
+ "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=",
+ "dev": true,
+ "requires": {
+ "callsites": "^2.0.0"
+ },
+ "dependencies": {
+ "callsites": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz",
+ "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=",
+ "dev": true
+ }
}
},
"caller-path": {
@@ -2316,15 +43071,24 @@
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
"dev": true
},
+ "camel-case": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz",
+ "integrity": "sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M=",
+ "requires": {
+ "no-case": "^2.2.0",
+ "upper-case": "^1.1.1"
+ }
+ },
"camelcase": {
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
},
"caniuse-lite": {
- "version": "1.0.30001105",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001105.tgz",
- "integrity": "sha512-JupOe6+dGMr7E20siZHIZQwYqrllxotAhiaej96y6x00b/48rPt42o+SzOSCPbrpsDWvRja40Hwrj0g0q6LZJg=="
+ "version": "1.0.30001214",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001214.tgz",
+ "integrity": "sha512-O2/SCpuaU3eASWVaesQirZv1MSjUNOvmugaD8zNSJqw6Vv5SGwoOpA9LJs3pNPfM745nxqPvfZY3MQKY4AKHYg=="
},
"capture-stack-trace": {
"version": "1.0.1",
@@ -2347,6 +43111,15 @@
"resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
"integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
},
+ "cbor": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/cbor/-/cbor-5.2.0.tgz",
+ "integrity": "sha512-5IMhi9e1QU76ppa5/ajP1BmMWZ2FHkhAhjeVKQ/EFCgYSEaeVaoGtL7cxJskf9oCCk+XjzaIdc3IuU/dbA/o2A==",
+ "requires": {
+ "bignumber.js": "^9.0.1",
+ "nofilter": "^1.0.4"
+ }
+ },
"chai": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/chai/-/chai-4.2.0.tgz",
@@ -2404,6 +43177,31 @@
}
}
},
+ "change-case": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/change-case/-/change-case-3.0.2.tgz",
+ "integrity": "sha512-Mww+SLF6MZ0U6kdg11algyKd5BARbyM4TbFBepwowYSR5ClfQGCGtxNXgykpN0uF/bstWeaGDT4JWaDh8zWAHA==",
+ "requires": {
+ "camel-case": "^3.0.0",
+ "constant-case": "^2.0.0",
+ "dot-case": "^2.1.0",
+ "header-case": "^1.0.0",
+ "is-lower-case": "^1.1.0",
+ "is-upper-case": "^1.1.0",
+ "lower-case": "^1.1.1",
+ "lower-case-first": "^1.0.0",
+ "no-case": "^2.3.2",
+ "param-case": "^2.1.0",
+ "pascal-case": "^2.0.0",
+ "path-case": "^2.1.0",
+ "sentence-case": "^2.1.0",
+ "snake-case": "^2.1.0",
+ "swap-case": "^1.1.0",
+ "title-case": "^2.1.0",
+ "upper-case": "^1.1.1",
+ "upper-case-first": "^1.1.0"
+ }
+ },
"chardet": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
@@ -2429,6 +43227,19 @@
"functional-red-black-tree": "^1.0.1"
}
},
+ "cheerio": {
+ "version": "1.0.0-rc.2",
+ "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz",
+ "integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=",
+ "requires": {
+ "css-select": "~1.2.0",
+ "dom-serializer": "~0.1.0",
+ "entities": "~1.1.1",
+ "htmlparser2": "^3.9.1",
+ "lodash": "^4.15.0",
+ "parse5": "^3.0.1"
+ }
+ },
"chokidar": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.5.tgz",
@@ -2918,24 +43729,24 @@
"dev": true,
"optional": true
},
- "string-width": {
- "version": "1.0.2",
+ "string_decoder": {
+ "version": "1.1.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
- "code-point-at": "^1.0.0",
- "is-fullwidth-code-point": "^1.0.0",
- "strip-ansi": "^3.0.0"
+ "safe-buffer": "~5.1.0"
}
},
- "string_decoder": {
- "version": "1.1.1",
+ "string-width": {
+ "version": "1.0.2",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
- "safe-buffer": "~5.1.0"
+ "code-point-at": "^1.0.0",
+ "is-fullwidth-code-point": "^1.0.0",
+ "strip-ansi": "^3.0.0"
}
},
"strip-ansi": {
@@ -2996,13 +43807,6 @@
"optional": true
}
}
- },
- "nan": {
- "version": "2.14.0",
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
- "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==",
- "dev": true,
- "optional": true
}
}
},
@@ -3017,6 +43821,46 @@
"integrity": "sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A==",
"dev": true
},
+ "cids": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/cids/-/cids-1.1.6.tgz",
+ "integrity": "sha512-5P+Jas2bVpjiHibp/SOwKY+v7JhAjTChaAZN+vCIrsWXn/JZV0frX22Vp5zZgEyJRPco79pX+yNQ2S3LkRukHQ==",
+ "optional": true,
+ "requires": {
+ "multibase": "^4.0.1",
+ "multicodec": "^3.0.1",
+ "multihashes": "^4.0.1",
+ "uint8arrays": "^2.1.3"
+ },
+ "dependencies": {
+ "multibase": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.4.tgz",
+ "integrity": "sha512-8/JmrdSGzlw6KTgAJCOqUBSGd1V6186i/X8dDCGy/lbCKrQ+1QB6f3HE+wPr7Tpdj4U3gutaj9jG2rNX6UpiJg==",
+ "optional": true,
+ "requires": {
+ "@multiformats/base-x": "^4.0.1"
+ }
+ },
+ "multihashes": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.2.tgz",
+ "integrity": "sha512-xpx++1iZr4ZQHjN1mcrXS6904R36LWLxX/CBifczjtmrtCXEX623DMWOF1eiNSg+pFpiZDFVBgou/4v6ayCHSQ==",
+ "optional": true,
+ "requires": {
+ "multibase": "^4.0.1",
+ "uint8arrays": "^2.1.3",
+ "varint": "^5.0.2"
+ }
+ },
+ "varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
+ }
+ }
+ },
"cint": {
"version": "8.2.1",
"resolved": "https://registry.npmjs.org/cint/-/cint-8.2.1.tgz",
@@ -3031,6 +43875,17 @@
"safe-buffer": "^5.0.1"
}
},
+ "circular-json": {
+ "version": "0.5.9",
+ "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.5.9.tgz",
+ "integrity": "sha512-4ivwqHpIFJZBuhN3g/pEcdbnGUywkBblloGbkglyloVjjR3uT6tieI89MVOfbP2tHX5sgb01FuLgAOzebNlJNQ==",
+ "optional": true
+ },
+ "class-is": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/class-is/-/class-is-1.1.0.tgz",
+ "integrity": "sha512-rhjH9AG1fvabIDoGRVH587413LPjTZgmDF9fOFCbFJQV4yuocX1mHxxvXI4g3cGwbVY9wAYIoKlg1N79frJKQw=="
+ },
"class-utils": {
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
@@ -3064,11 +43919,17 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",
"integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=",
- "dev": true,
+ "devOptional": true,
"requires": {
"restore-cursor": "^2.0.0"
}
},
+ "cli-spinners": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.0.tgz",
+ "integrity": "sha512-t+4/y50K/+4xcCRosKkA7W4gTr1MySvLV0q+PxmG7FJ5g+66ChKurYjxBCjHggHH3HA5Hh9cy+lcUGWDqVH+4Q==",
+ "optional": true
+ },
"cli-table": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.1.tgz",
@@ -3178,6 +44039,11 @@
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
"integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18="
},
+ "clone-buffer": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/clone-buffer/-/clone-buffer-1.0.0.tgz",
+ "integrity": "sha1-4+JbIHrE5wGvch4staFnksrD3Fg="
+ },
"clone-response": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",
@@ -3186,6 +44052,12 @@
"mimic-response": "^1.0.0"
}
},
+ "clone-stats": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-0.0.1.tgz",
+ "integrity": "sha1-uI+UqCzzi4eR1YBG6kAprYjKmdE=",
+ "optional": true
+ },
"code-point-at": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
@@ -3218,21 +44090,31 @@
"color-name": "1.1.3"
}
},
+ "color-logger": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/color-logger/-/color-logger-0.0.6.tgz",
+ "integrity": "sha1-5WJF7ymCJlcRDHy3WpzXhstp7Rs="
+ },
"color-name": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
},
+ "colorette": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz",
+ "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==",
+ "optional": true
+ },
"colors": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/colors/-/colors-1.3.3.tgz",
- "integrity": "sha512-mmGt/1pZqYRjMxB1axhTo16/snVZ5krrKkcmMeVKxzECMMXoCgnvTPp10QgHfcbQZw8Dq2jMNG6je4JlWU0gWg==",
- "dev": true
+ "integrity": "sha512-mmGt/1pZqYRjMxB1axhTo16/snVZ5krrKkcmMeVKxzECMMXoCgnvTPp10QgHfcbQZw8Dq2jMNG6je4JlWU0gWg=="
},
"combined-stream": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz",
- "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==",
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
"requires": {
"delayed-stream": "~1.0.0"
}
@@ -3246,13 +44128,18 @@
"version": "2.18.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.18.0.tgz",
"integrity": "sha512-6CYPa+JP2ftfRU2qkDK+UTVeQYosOg/2GbcjIcKPHfinyOLPVGXu/ovN86RP49Re5ndJK1N0kuiidFFuepc4ZQ==",
- "dev": true
+ "devOptional": true
},
"component-emitter": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",
- "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=",
- "dev": true
+ "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY="
+ },
+ "compound-subject": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/compound-subject/-/compound-subject-0.0.1.tgz",
+ "integrity": "sha1-JxVUaYoVrmCLHfyv0wt7oeqJLEs=",
+ "optional": true
},
"concat-map": {
"version": "0.0.1",
@@ -3296,12 +44183,112 @@
"integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
"optional": true
},
+ "constant-case": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/constant-case/-/constant-case-2.0.0.tgz",
+ "integrity": "sha1-QXV2TTidP6nI7NKRhu1gBSQ7akY=",
+ "requires": {
+ "snake-case": "^2.1.0",
+ "upper-case": "^1.1.1"
+ }
+ },
"contains-path": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz",
"integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=",
"dev": true
},
+ "content-disposition": {
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",
+ "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==",
+ "requires": {
+ "safe-buffer": "5.1.2"
+ }
+ },
+ "content-hash": {
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/content-hash/-/content-hash-2.5.2.tgz",
+ "integrity": "sha512-FvIQKy0S1JaWV10sMsA7TRx8bpU+pqPkhbsfvOJAdjRXvYxEckAwQWGwtRjiaJfh+E0DvcWUGqcdjwMGFjsSdw==",
+ "requires": {
+ "cids": "^0.7.1",
+ "multicodec": "^0.5.5",
+ "multihashes": "^0.4.15"
+ },
+ "dependencies": {
+ "cids": {
+ "version": "0.7.5",
+ "resolved": "https://registry.npmjs.org/cids/-/cids-0.7.5.tgz",
+ "integrity": "sha512-zT7mPeghoWAu+ppn8+BS1tQ5qGmbMfB4AregnQjA/qHY3GC1m1ptI9GkWNlgeu38r7CuRdXB47uY2XgAYt6QVA==",
+ "requires": {
+ "buffer": "^5.5.0",
+ "class-is": "^1.1.0",
+ "multibase": "~0.6.0",
+ "multicodec": "^1.0.0",
+ "multihashes": "~0.4.15"
+ },
+ "dependencies": {
+ "multicodec": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-1.0.4.tgz",
+ "integrity": "sha512-NDd7FeS3QamVtbgfvu5h7fd1IlbaC4EQ0/pgU4zqE2vdHCmBGsUa0TiM8/TdSeG6BMPC92OOCf8F1ocE/Wkrrg==",
+ "requires": {
+ "buffer": "^5.6.0",
+ "varint": "^5.0.0"
+ }
+ }
+ }
+ },
+ "multibase": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-0.6.1.tgz",
+ "integrity": "sha512-pFfAwyTjbbQgNc3G7D48JkJxWtoJoBMaR4xQUOuB8RnCgRqaYmWNFeJTTvrJ2w51bjLq2zTby6Rqj9TQ9elSUw==",
+ "requires": {
+ "base-x": "^3.0.8",
+ "buffer": "^5.5.0"
+ }
+ },
+ "multicodec": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-0.5.7.tgz",
+ "integrity": "sha512-PscoRxm3f+88fAtELwUnZxGDkduE2HD9Q6GHUOywQLjOGT/HAdhjLDYNZ1e7VR0s0TP0EwZ16LNUTFpoBGivOA==",
+ "requires": {
+ "varint": "^5.0.0"
+ }
+ },
+ "multihashes": {
+ "version": "0.4.21",
+ "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-0.4.21.tgz",
+ "integrity": "sha512-uVSvmeCWf36pU2nB4/1kzYZjsXD9vofZKpgudqkceYY5g2aZZXJ5r9lxuzoRLl1OAp28XljXsEJ/X/85ZsKmKw==",
+ "requires": {
+ "buffer": "^5.5.0",
+ "multibase": "^0.7.0",
+ "varint": "^5.0.0"
+ },
+ "dependencies": {
+ "multibase": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-0.7.0.tgz",
+ "integrity": "sha512-TW8q03O0f6PNFTQDvh3xxH03c8CjGaaYrjkl9UQPG6rz53TQzzxJVCIWVjzcbN/Q5Y53Zd0IBQBMVktVgNx4Fg==",
+ "requires": {
+ "base-x": "^3.0.8",
+ "buffer": "^5.5.0"
+ }
+ }
+ }
+ },
+ "varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow=="
+ }
+ }
+ },
+ "content-type": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
+ "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
+ },
"convert-source-map": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz",
@@ -3310,6 +44297,21 @@
"safe-buffer": "~5.1.1"
}
},
+ "cookie": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
+ "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg=="
+ },
+ "cookie-signature": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
+ "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
+ },
+ "cookiejar": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.2.tgz",
+ "integrity": "sha512-Mw+adcfzPxcPeI+0WlvRrr/3lGVO0bD75SxX6811cxSh1Wbxx7xZBGK1eVtDf6si8rg2lhnUjsVLMFMfbRIuwA=="
+ },
"copy-concurrently": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz",
@@ -3339,6 +44341,15 @@
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
},
+ "cors": {
+ "version": "2.8.5",
+ "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz",
+ "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==",
+ "requires": {
+ "object-assign": "^4",
+ "vary": "^1"
+ }
+ },
"cosmiconfig": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz",
@@ -3373,6 +44384,15 @@
}
}
},
+ "create-ecdh": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz",
+ "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==",
+ "requires": {
+ "bn.js": "^4.1.0",
+ "elliptic": "^6.5.3"
+ }
+ },
"create-error-class": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz",
@@ -3444,11 +44464,86 @@
"integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=",
"dev": true
},
+ "crypto-browserify": {
+ "version": "3.12.0",
+ "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz",
+ "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==",
+ "requires": {
+ "browserify-cipher": "^1.0.0",
+ "browserify-sign": "^4.0.0",
+ "create-ecdh": "^4.0.0",
+ "create-hash": "^1.1.0",
+ "create-hmac": "^1.1.0",
+ "diffie-hellman": "^5.0.0",
+ "inherits": "^2.0.1",
+ "pbkdf2": "^3.0.3",
+ "public-encrypt": "^4.0.0",
+ "randombytes": "^2.0.0",
+ "randomfill": "^1.0.3"
+ }
+ },
"crypto-random-string": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz",
"integrity": "sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4="
},
+ "css": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/css/-/css-2.2.4.tgz",
+ "integrity": "sha512-oUnjmWpy0niI3x/mPL8dVEI1l7MnG3+HHyRPHf+YFSbK+svOhXpmSOcDURUh2aOCgl2grzrOPt1nHLuCVFULLw==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "source-map": "^0.6.1",
+ "source-map-resolve": "^0.5.2",
+ "urix": "^0.1.0"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "optional": true
+ }
+ }
+ },
+ "css-select": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz",
+ "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=",
+ "requires": {
+ "boolbase": "~1.0.0",
+ "css-what": "2.1",
+ "domutils": "1.5.1",
+ "nth-check": "~1.0.1"
+ }
+ },
+ "css-what": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz",
+ "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg=="
+ },
+ "cssfilter": {
+ "version": "0.0.10",
+ "resolved": "https://registry.npmjs.org/cssfilter/-/cssfilter-0.0.10.tgz",
+ "integrity": "sha1-xtJnJjKi5cg+AT5oZKQs6N79IK4=",
+ "optional": true
+ },
+ "cssom": {
+ "version": "0.3.8",
+ "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz",
+ "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==",
+ "optional": true
+ },
+ "cssstyle": {
+ "version": "0.2.37",
+ "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-0.2.37.tgz",
+ "integrity": "sha1-VBCXI0yyUTyDzu06zdwn/yeYfVQ=",
+ "optional": true,
+ "requires": {
+ "cssom": "0.3.x"
+ }
+ },
"csstype": {
"version": "2.6.11",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.11.tgz",
@@ -3459,6 +44554,15 @@
"resolved": "https://registry.npmjs.org/cyclist/-/cyclist-0.2.2.tgz",
"integrity": "sha1-GzN5LhHpFKL9bW7WRHRkRE5fpkA="
},
+ "d": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",
+ "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",
+ "requires": {
+ "es5-ext": "^0.10.50",
+ "type": "^1.0.1"
+ }
+ },
"dashdash": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
@@ -3467,6 +44571,12 @@
"assert-plus": "^1.0.0"
}
},
+ "dataloader": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/dataloader/-/dataloader-2.0.0.tgz",
+ "integrity": "sha512-YzhyDAwA4TaQIhM5go+vCLmU0UikghC/t9DTQYZR2M/UvZ1MdOhPezSDZcjj9uqQJOMqjLcpWtyW2iNINdlatQ==",
+ "optional": true
+ },
"debug": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
@@ -3475,6 +44585,34 @@
"ms": "2.0.0"
}
},
+ "debug-fabulous": {
+ "version": "0.0.4",
+ "resolved": "https://registry.npmjs.org/debug-fabulous/-/debug-fabulous-0.0.4.tgz",
+ "integrity": "sha1-+gccXYdIRoVCSAdCHKSxawsaB2M=",
+ "optional": true,
+ "requires": {
+ "debug": "2.X",
+ "lazy-debug-legacy": "0.0.X",
+ "object-assign": "4.1.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "optional": true,
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "object-assign": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.0.tgz",
+ "integrity": "sha1-ejs9DpgGPUP0wD8uiubNUahog6A=",
+ "optional": true
+ }
+ }
+ },
"decamelize": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
@@ -3509,1253 +44647,920 @@
"is-arguments": "^1.0.4",
"is-date-object": "^1.0.1",
"is-regex": "^1.0.4",
- "object-is": "^1.0.1",
- "object-keys": "^1.1.1",
- "regexp.prototype.flags": "^1.2.0"
- }
- },
- "deep-extend": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
- "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA=="
- },
- "deep-is": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz",
- "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ="
- },
- "defer-to-connect": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.0.2.tgz",
- "integrity": "sha512-k09hcQcTDY+cwgiwa6PYKLm3jlagNzQ+RSvhjzESOGOx+MNOuXkxTfEvPrO1IOQ81tArCFYQgi631clB70RpQw=="
- },
- "deferred-leveldown": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-1.2.2.tgz",
- "integrity": "sha512-uukrWD2bguRtXilKt6cAWKyoXrTSMo5m7crUdLfWQmu8kIm88w3QZoUL+6nhpfKVmhHANER6Re3sKoNoZ3IKMA==",
- "requires": {
- "abstract-leveldown": "~2.6.0"
- }
- },
- "define-properties": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
- "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
- "requires": {
- "object-keys": "^1.0.12"
- }
- },
- "define-property": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz",
- "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==",
- "dev": true,
- "requires": {
- "is-descriptor": "^1.0.2",
- "isobject": "^3.0.1"
- },
- "dependencies": {
- "is-accessor-descriptor": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
- "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
- "dev": true,
- "requires": {
- "kind-of": "^6.0.0"
- }
- },
- "is-data-descriptor": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
- "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
- "dev": true,
- "requires": {
- "kind-of": "^6.0.0"
- }
- },
- "is-descriptor": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
- "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
- "dev": true,
- "requires": {
- "is-accessor-descriptor": "^1.0.0",
- "is-data-descriptor": "^1.0.0",
- "kind-of": "^6.0.2"
- }
- }
- }
- },
- "defined": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
- "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM="
- },
- "delayed-stream": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
- "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
- },
- "delegates": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
- "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=",
- "optional": true
- },
- "detect-indent": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz",
- "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=",
- "requires": {
- "repeating": "^2.0.0"
- }
- },
- "detect-libc": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz",
- "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=",
- "optional": true
- },
- "detect-node": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.3.tgz",
- "integrity": "sha1-ogM8CcyOFY03dI+951B4Mr1s4Sc="
- },
- "diff": {
- "version": "3.5.0",
- "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",
- "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA=="
- },
- "dir-to-object": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/dir-to-object/-/dir-to-object-2.0.0.tgz",
- "integrity": "sha512-sXs0JKIhymON7T1UZuO2Ud6VTNAx/VTBXIl4+3mjb2RgfOpt+hectX0x04YqPOPdkeOAKoJuKqwqnXXURNPNEA==",
- "dev": true
- },
- "dirty-chai": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/dirty-chai/-/dirty-chai-2.0.1.tgz",
- "integrity": "sha512-ys79pWKvDMowIDEPC6Fig8d5THiC0DJ2gmTeGzVAoEH18J8OzLud0Jh7I9IWg3NSk8x2UocznUuFmfHCXYZx9w=="
- },
- "doctrine": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
- "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
- "dev": true,
- "requires": {
- "esutils": "^2.0.2"
- }
- },
- "dom-walk": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz",
- "integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg="
- },
- "dot-prop": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz",
- "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==",
- "requires": {
- "is-obj": "^1.0.0"
- }
- },
- "dotignore": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/dotignore/-/dotignore-0.1.2.tgz",
- "integrity": "sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw==",
- "requires": {
- "minimatch": "^3.0.4"
- }
- },
- "drbg.js": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz",
- "integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=",
- "requires": {
- "browserify-aes": "^1.0.6",
- "create-hash": "^1.1.2",
- "create-hmac": "^1.1.4"
- }
- },
- "duplexer3": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz",
- "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI="
- },
- "duplexify": {
- "version": "3.7.1",
- "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz",
- "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==",
- "requires": {
- "end-of-stream": "^1.0.0",
- "inherits": "^2.0.1",
- "readable-stream": "^2.0.0",
- "stream-shift": "^1.0.0"
- }
- },
- "ecc-jsbn": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
- "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
- "requires": {
- "jsbn": "~0.1.0",
- "safer-buffer": "^2.1.0"
- }
- },
- "electron-to-chromium": {
- "version": "1.3.506",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.506.tgz",
- "integrity": "sha512-k0PHtv4gD6KJu1k6lp8pvQOe12uZriOwS2x66Vnxkq0NOBucsNrItOj/ehomvcZ3S4K1ueqUCv+fsLhXBs6Zyw=="
- },
- "elliptic": {
- "version": "6.4.1",
- "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.1.tgz",
- "integrity": "sha512-BsXLz5sqX8OHcsh7CqBMztyXARmGQ3LWPtGjJi6DiJHq5C/qvi9P3OqgswKSDftbu8+IoI/QDTAm2fFnQ9SZSQ==",
- "requires": {
- "bn.js": "^4.4.0",
- "brorand": "^1.0.1",
- "hash.js": "^1.0.0",
- "hmac-drbg": "^1.0.0",
- "inherits": "^2.0.1",
- "minimalistic-assert": "^1.0.0",
- "minimalistic-crypto-utils": "^1.0.0"
- }
- },
- "emoji-regex": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
- "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA=="
- },
- "encoding": {
- "version": "0.1.12",
- "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz",
- "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=",
- "requires": {
- "iconv-lite": "~0.4.13"
- }
- },
- "end-of-stream": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz",
- "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==",
- "requires": {
- "once": "^1.4.0"
- }
- },
- "err-code": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/err-code/-/err-code-1.1.2.tgz",
- "integrity": "sha1-BuARbTAo9q70gGhJ6w6mp0iuaWA="
- },
- "errno": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz",
- "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==",
- "requires": {
- "prr": "~1.0.1"
- }
- },
- "error-ex": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
- "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
- "dev": true,
- "requires": {
- "is-arrayish": "^0.2.1"
- }
- },
- "es-abstract": {
- "version": "1.13.0",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.13.0.tgz",
- "integrity": "sha512-vDZfg/ykNxQVwup/8E1BZhVzFfBxs9NqMzGcvIJrqg5k2/5Za2bWo40dK2J1pgLngZ7c+Shh8lwYtLGyrwPutg==",
- "requires": {
- "es-to-primitive": "^1.2.0",
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
- "is-callable": "^1.1.4",
- "is-regex": "^1.0.4",
- "object-keys": "^1.0.12"
- }
- },
- "es-to-primitive": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz",
- "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==",
- "requires": {
- "is-callable": "^1.1.4",
- "is-date-object": "^1.0.1",
- "is-symbol": "^1.0.2"
- }
- },
- "es6-promise": {
- "version": "4.2.8",
- "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz",
- "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w=="
- },
- "es6-promisify": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz",
- "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=",
- "requires": {
- "es6-promise": "^4.0.3"
- }
- },
- "escape-string-regexp": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
- },
- "escodegen": {
- "version": "1.8.1",
- "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.8.1.tgz",
- "integrity": "sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg=",
- "requires": {
- "esprima": "^2.7.1",
- "estraverse": "^1.9.1",
- "esutils": "^2.0.2",
- "optionator": "^0.8.1",
- "source-map": "~0.2.0"
- },
- "dependencies": {
- "source-map": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz",
- "integrity": "sha1-2rc/vPwrqBm03gO9b26qSBZLP50=",
- "optional": true,
- "requires": {
- "amdefine": ">=0.0.4"
- }
- }
- }
- },
- "eslint": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.3.0.tgz",
- "integrity": "sha512-ZvZTKaqDue+N8Y9g0kp6UPZtS4FSY3qARxBs7p4f0H0iof381XHduqVerFWtK8DPtKmemqbqCFENWSQgPR/Gow==",
- "dev": true,
- "requires": {
- "@babel/code-frame": "^7.0.0",
- "ajv": "^6.10.0",
- "chalk": "^2.1.0",
- "cross-spawn": "^6.0.5",
- "debug": "^4.0.1",
- "doctrine": "^3.0.0",
- "eslint-scope": "^5.0.0",
- "eslint-utils": "^1.4.2",
- "eslint-visitor-keys": "^1.1.0",
- "espree": "^6.1.1",
- "esquery": "^1.0.1",
- "esutils": "^2.0.2",
- "file-entry-cache": "^5.0.1",
- "functional-red-black-tree": "^1.0.1",
- "glob-parent": "^5.0.0",
- "globals": "^11.7.0",
- "ignore": "^4.0.6",
- "import-fresh": "^3.0.0",
- "imurmurhash": "^0.1.4",
- "inquirer": "^6.4.1",
- "is-glob": "^4.0.0",
- "js-yaml": "^3.13.1",
- "json-stable-stringify-without-jsonify": "^1.0.1",
- "levn": "^0.3.0",
- "lodash": "^4.17.14",
- "minimatch": "^3.0.4",
- "mkdirp": "^0.5.1",
- "natural-compare": "^1.4.0",
- "optionator": "^0.8.2",
- "progress": "^2.0.0",
- "regexpp": "^2.0.1",
- "semver": "^6.1.2",
- "strip-ansi": "^5.2.0",
- "strip-json-comments": "^3.0.1",
- "table": "^5.2.3",
- "text-table": "^0.2.0",
- "v8-compile-cache": "^2.0.3"
- },
- "dependencies": {
- "ansi-regex": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
- "dev": true
- },
- "cross-spawn": {
- "version": "6.0.5",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
- "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
- "dev": true,
- "requires": {
- "nice-try": "^1.0.4",
- "path-key": "^2.0.1",
- "semver": "^5.5.0",
- "shebang-command": "^1.2.0",
- "which": "^1.2.9"
- },
- "dependencies": {
- "semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
- "dev": true
- }
- }
- },
- "debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "dev": true,
- "requires": {
- "ms": "^2.1.1"
- }
- },
- "eslint-visitor-keys": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz",
- "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==",
- "dev": true
- },
- "glob-parent": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.0.0.tgz",
- "integrity": "sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg==",
- "dev": true,
- "requires": {
- "is-glob": "^4.0.1"
- }
- },
- "ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
- },
- "semver": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
- "dev": true
- },
- "strip-ansi": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
- "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
- "dev": true,
- "requires": {
- "ansi-regex": "^4.1.0"
- }
- },
- "strip-json-comments": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz",
- "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==",
- "dev": true
- }
- }
- },
- "eslint-config-airbnb-base": {
- "version": "14.0.0",
- "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.0.0.tgz",
- "integrity": "sha512-2IDHobw97upExLmsebhtfoD3NAKhV4H0CJWP3Uprd/uk+cHuWYOczPVxQ8PxLFUAw7o3Th1RAU8u1DoUpr+cMA==",
- "dev": true,
- "requires": {
- "confusing-browser-globals": "^1.0.7",
- "object.assign": "^4.1.0",
- "object.entries": "^1.1.0"
- }
- },
- "eslint-config-prettier": {
- "version": "6.2.0",
- "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.2.0.tgz",
- "integrity": "sha512-VLsgK/D+S/FEsda7Um1+N8FThec6LqE3vhcMyp8mlmto97y3fGf3DX7byJexGuOb1QY0Z/zz222U5t+xSfcZDQ==",
- "dev": true,
- "requires": {
- "get-stdin": "^6.0.0"
+ "object-is": "^1.0.1",
+ "object-keys": "^1.1.1",
+ "regexp.prototype.flags": "^1.2.0"
}
},
- "eslint-import-resolver-node": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz",
- "integrity": "sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==",
- "dev": true,
+ "deep-extend": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
+ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA=="
+ },
+ "deep-is": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz",
+ "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ="
+ },
+ "defaults": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz",
+ "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=",
+ "optional": true,
"requires": {
- "debug": "^2.6.9",
- "resolve": "^1.5.0"
+ "clone": "^1.0.2"
},
"dependencies": {
- "debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "dev": true,
- "requires": {
- "ms": "2.0.0"
- }
+ "clone": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
+ "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=",
+ "optional": true
}
}
},
- "eslint-module-utils": {
- "version": "2.4.1",
- "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.4.1.tgz",
- "integrity": "sha512-H6DOj+ejw7Tesdgbfs4jeS4YMFrT8uI8xwd1gtQqXssaR0EQ26L+2O/w6wkYFy2MymON0fTwHmXBvvfLNZVZEw==",
- "dev": true,
+ "defer-to-connect": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.0.2.tgz",
+ "integrity": "sha512-k09hcQcTDY+cwgiwa6PYKLm3jlagNzQ+RSvhjzESOGOx+MNOuXkxTfEvPrO1IOQ81tArCFYQgi631clB70RpQw=="
+ },
+ "deferred-leveldown": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-1.2.2.tgz",
+ "integrity": "sha512-uukrWD2bguRtXilKt6cAWKyoXrTSMo5m7crUdLfWQmu8kIm88w3QZoUL+6nhpfKVmhHANER6Re3sKoNoZ3IKMA==",
"requires": {
- "debug": "^2.6.8",
- "pkg-dir": "^2.0.0"
- },
- "dependencies": {
- "debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "dev": true,
- "requires": {
- "ms": "2.0.0"
- }
- }
+ "abstract-leveldown": "~2.6.0"
}
},
- "eslint-plugin-es": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-2.0.0.tgz",
- "integrity": "sha512-f6fceVtg27BR02EYnBhgWLFQfK6bN4Ll0nQFrBHOlCsAyxeZkn0NHns5O0YZOPrV1B3ramd6cgFwaoFLcSkwEQ==",
- "dev": true,
+ "define-properties": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
"requires": {
- "eslint-utils": "^1.4.2",
- "regexpp": "^3.0.0"
- },
- "dependencies": {
- "regexpp": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.0.0.tgz",
- "integrity": "sha512-Z+hNr7RAVWxznLPuA7DIh8UNX1j9CDrUQxskw9IrBE1Dxue2lyXT+shqEIeLUjrokxIP8CMy1WkjgG3rTsd5/g==",
- "dev": true
- }
+ "object-keys": "^1.0.12"
}
},
- "eslint-plugin-import": {
- "version": "2.18.2",
- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz",
- "integrity": "sha512-5ohpsHAiUBRNaBWAF08izwUGlbrJoJJ+W9/TBwsGoR1MnlgfwMIKrFeSjWbt6moabiXW9xNvtFz+97KHRfI4HQ==",
+ "define-property": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz",
+ "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==",
"dev": true,
"requires": {
- "array-includes": "^3.0.3",
- "contains-path": "^0.1.0",
- "debug": "^2.6.9",
- "doctrine": "1.5.0",
- "eslint-import-resolver-node": "^0.3.2",
- "eslint-module-utils": "^2.4.0",
- "has": "^1.0.3",
- "minimatch": "^3.0.4",
- "object.values": "^1.1.0",
- "read-pkg-up": "^2.0.0",
- "resolve": "^1.11.0"
+ "is-descriptor": "^1.0.2",
+ "isobject": "^3.0.1"
},
"dependencies": {
- "debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "is-accessor-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
"dev": true,
"requires": {
- "ms": "2.0.0"
+ "kind-of": "^6.0.0"
}
},
- "doctrine": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz",
- "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=",
+ "is-data-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
"dev": true,
"requires": {
- "esutils": "^2.0.2",
- "isarray": "^1.0.0"
+ "kind-of": "^6.0.0"
}
},
- "resolve": {
- "version": "1.12.0",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.12.0.tgz",
- "integrity": "sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==",
+ "is-descriptor": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
"dev": true,
"requires": {
- "path-parse": "^1.0.6"
+ "is-accessor-descriptor": "^1.0.0",
+ "is-data-descriptor": "^1.0.0",
+ "kind-of": "^6.0.2"
}
}
}
},
- "eslint-plugin-node": {
- "version": "10.0.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-10.0.0.tgz",
- "integrity": "sha512-1CSyM/QCjs6PXaT18+zuAXsjXGIGo5Rw630rSKwokSs2jrYURQc4R5JZpoanNCqwNmepg+0eZ9L7YiRUJb8jiQ==",
- "dev": true,
- "requires": {
- "eslint-plugin-es": "^2.0.0",
- "eslint-utils": "^1.4.2",
- "ignore": "^5.1.1",
- "minimatch": "^3.0.4",
- "resolve": "^1.10.1",
- "semver": "^6.1.0"
- },
- "dependencies": {
- "ignore": {
- "version": "5.1.4",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz",
- "integrity": "sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A==",
- "dev": true
- },
- "resolve": {
- "version": "1.12.0",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.12.0.tgz",
- "integrity": "sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==",
- "dev": true,
- "requires": {
- "path-parse": "^1.0.6"
- }
- },
- "semver": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
- "dev": true
- }
- }
+ "defined": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
+ "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM="
},
- "eslint-plugin-prettier": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.0.1.tgz",
- "integrity": "sha512-/PMttrarPAY78PLvV3xfWibMOdMDl57hmlQ2XqFeA37wd+CJ7WSxV7txqjVPHi/AAFKd2lX0ZqfsOc/i5yFCSQ==",
- "dev": true,
+ "delay": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz",
+ "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==",
+ "optional": true
+ },
+ "delayed-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
+ "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
+ },
+ "delegates": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
+ "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=",
+ "optional": true
+ },
+ "delimit-stream": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/delimit-stream/-/delimit-stream-0.1.0.tgz",
+ "integrity": "sha1-m4MZR3wOX4rrPONXrjBfwl6hzSs=",
+ "optional": true
+ },
+ "depd": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
+ "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak="
+ },
+ "deprecated-decorator": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/deprecated-decorator/-/deprecated-decorator-0.1.6.tgz",
+ "integrity": "sha1-AJZjF7ehL+kvPMgx91g68ym4bDc=",
+ "optional": true
+ },
+ "des.js": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz",
+ "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==",
"requires": {
- "prettier-linter-helpers": "^1.0.0"
+ "inherits": "^2.0.1",
+ "minimalistic-assert": "^1.0.0"
}
},
- "eslint-scope": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz",
- "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==",
- "dev": true,
+ "destroy": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
+ "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
+ },
+ "detect-indent": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz",
+ "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=",
"requires": {
- "esrecurse": "^4.1.0",
- "estraverse": "^4.1.1"
- },
- "dependencies": {
- "estraverse": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
- "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
- "dev": true
- }
+ "repeating": "^2.0.0"
}
},
- "eslint-utils": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.2.tgz",
- "integrity": "sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q==",
- "dev": true,
+ "detect-libc": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz",
+ "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=",
+ "optional": true
+ },
+ "detect-newline": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz",
+ "integrity": "sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I=",
+ "optional": true
+ },
+ "detect-node": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.3.tgz",
+ "integrity": "sha1-ogM8CcyOFY03dI+951B4Mr1s4Sc="
+ },
+ "dicer": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/dicer/-/dicer-0.3.0.tgz",
+ "integrity": "sha512-MdceRRWqltEG2dZqO769g27N/3PXfcKl04VhYnBlo2YhH7zPi88VebsjTKclaOyiuMaGU72hTfw3VkUitGcVCA==",
+ "optional": true,
"requires": {
- "eslint-visitor-keys": "^1.0.0"
+ "streamsearch": "0.1.2"
}
},
- "eslint-visitor-keys": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz",
- "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==",
+ "diff": {
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",
+ "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==",
"dev": true
},
- "espree": {
- "version": "6.1.1",
- "resolved": "https://registry.npmjs.org/espree/-/espree-6.1.1.tgz",
- "integrity": "sha512-EYbr8XZUhWbYCqQRW0duU5LxzL5bETN6AjKBGy1302qqzPaCH10QbRg3Wvco79Z8x9WbiE8HYB4e75xl6qUYvQ==",
- "dev": true,
+ "diffie-hellman": {
+ "version": "5.0.3",
+ "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",
+ "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==",
"requires": {
- "acorn": "^7.0.0",
- "acorn-jsx": "^5.0.2",
- "eslint-visitor-keys": "^1.1.0"
+ "bn.js": "^4.1.0",
+ "miller-rabin": "^4.0.0",
+ "randombytes": "^2.0.0"
+ }
+ },
+ "dir-glob": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
+ "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
+ "optional": true,
+ "requires": {
+ "path-type": "^4.0.0"
},
"dependencies": {
- "eslint-visitor-keys": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz",
- "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==",
- "dev": true
+ "path-type": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
+ "optional": true
}
}
},
- "esprima": {
- "version": "2.7.3",
- "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz",
- "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE="
+ "dir-to-object": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/dir-to-object/-/dir-to-object-2.0.0.tgz",
+ "integrity": "sha512-sXs0JKIhymON7T1UZuO2Ud6VTNAx/VTBXIl4+3mjb2RgfOpt+hectX0x04YqPOPdkeOAKoJuKqwqnXXURNPNEA==",
+ "dev": true
},
- "esprima-extract-comments": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/esprima-extract-comments/-/esprima-extract-comments-1.1.0.tgz",
- "integrity": "sha512-sBQUnvJwpeE9QnPrxh7dpI/dp67erYG4WXEAreAMoelPRpMR7NWb4YtwRPn9b+H1uLQKl/qS8WYmyaljTpjIsw==",
- "dev": true,
+ "dirty-chai": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/dirty-chai/-/dirty-chai-2.0.1.tgz",
+ "integrity": "sha512-ys79pWKvDMowIDEPC6Fig8d5THiC0DJ2gmTeGzVAoEH18J8OzLud0Jh7I9IWg3NSk8x2UocznUuFmfHCXYZx9w=="
+ },
+ "dns-over-http-resolver": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/dns-over-http-resolver/-/dns-over-http-resolver-1.2.2.tgz",
+ "integrity": "sha512-4J7LoLl26mczU6LdWlhvNM51aWXHJmTz6iDUrGz1sqiAgNb6HzBc/huvkgqS6bYfbCzvlOKW/bGkugReliac0A==",
+ "optional": true,
"requires": {
- "esprima": "^4.0.0"
+ "debug": "^4.2.0",
+ "native-fetch": "^3.0.0",
+ "receptacle": "^1.3.2"
},
"dependencies": {
- "esprima": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
- "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
- "dev": true
+ "debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "optional": true,
+ "requires": {
+ "ms": "2.1.2"
+ }
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "optional": true
+ },
+ "native-fetch": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/native-fetch/-/native-fetch-3.0.0.tgz",
+ "integrity": "sha512-G3Z7vx0IFb/FQ4JxvtqGABsOTIqRWvgQz6e+erkB+JJD6LrszQtMozEHI4EkmgZQvnGHrpLVzUWk7t4sJCIkVw==",
+ "optional": true,
+ "requires": {}
}
}
},
- "esquery": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz",
- "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==",
+ "doctrine": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
+ "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
"dev": true,
"requires": {
- "estraverse": "^4.0.0"
- },
- "dependencies": {
- "estraverse": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
- "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
- "dev": true
- }
+ "esutils": "^2.0.2"
}
},
- "esrecurse": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz",
- "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==",
- "dev": true,
+ "dom-serializer": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz",
+ "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==",
"requires": {
- "estraverse": "^4.1.0"
- },
- "dependencies": {
- "estraverse": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
- "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
- "dev": true
- }
+ "domelementtype": "^1.3.0",
+ "entities": "^1.1.1"
}
},
- "estraverse": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.9.3.tgz",
- "integrity": "sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q="
+ "dom-walk": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz",
+ "integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg="
},
- "esutils": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz",
- "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs="
+ "domelementtype": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz",
+ "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w=="
},
- "eth-block-tracker": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/eth-block-tracker/-/eth-block-tracker-3.0.1.tgz",
- "integrity": "sha512-WUVxWLuhMmsfenfZvFO5sbl1qFY2IqUlw/FPVmjjdElpqLsZtSG+wPe9Dz7W/sB6e80HgFKknOmKk2eNlznHug==",
+ "domhandler": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz",
+ "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==",
"requires": {
- "eth-query": "^2.1.0",
- "ethereumjs-tx": "^1.3.3",
- "ethereumjs-util": "^5.1.3",
- "ethjs-util": "^0.1.3",
- "json-rpc-engine": "^3.6.0",
- "pify": "^2.3.0",
- "tape": "^4.6.3"
+ "domelementtype": "1"
}
},
- "eth-gas-reporter": {
- "version": "0.2.11",
- "resolved": "https://registry.npmjs.org/eth-gas-reporter/-/eth-gas-reporter-0.2.11.tgz",
- "integrity": "sha512-u/bvq9IiBASAaBQ9mIy5yrJeMQzCFFoGWLOx6kxRkmuSrEXANiYRoYjKxfmKy9DcpgSYXg5Uu7Zlj/j0ufMYoQ==",
- "dev": true,
+ "domutils": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz",
+ "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=",
"requires": {
- "abi-decoder": "^2.2.0",
- "cli-table3": "^0.5.0",
- "colors": "^1.1.2",
- "ethers": "^4.0.28",
- "fs-readdir-recursive": "^1.1.0",
- "lodash": "^4.17.14",
- "markdown-table": "^1.1.3",
- "mocha": "^5.2.0",
- "req-cwd": "^2.0.0",
- "request": "^2.88.0",
- "request-promise-native": "^1.0.5",
- "sha1": "^1.1.1",
- "solidity-parser-antlr": "^0.4.2",
- "sync-request": "^6.0.0"
+ "dom-serializer": "0",
+ "domelementtype": "1"
}
},
- "eth-json-rpc-infura": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/eth-json-rpc-infura/-/eth-json-rpc-infura-3.2.1.tgz",
- "integrity": "sha512-W7zR4DZvyTn23Bxc0EWsq4XGDdD63+XPUCEhV2zQvQGavDVC4ZpFDK4k99qN7bd7/fjj37+rxmuBOBeIqCA5Mw==",
+ "dot-case": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-2.1.1.tgz",
+ "integrity": "sha1-NNzzf1Co6TwrO8qLt/uRVcfaO+4=",
"requires": {
- "cross-fetch": "^2.1.1",
- "eth-json-rpc-middleware": "^1.5.0",
- "json-rpc-engine": "^3.4.0",
- "json-rpc-error": "^2.0.0"
+ "no-case": "^2.2.0"
}
},
- "eth-json-rpc-middleware": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/eth-json-rpc-middleware/-/eth-json-rpc-middleware-1.6.0.tgz",
- "integrity": "sha512-tDVCTlrUvdqHKqivYMjtFZsdD7TtpNLBCfKAcOpaVs7orBMS/A8HWro6dIzNtTZIR05FAbJ3bioFOnZpuCew9Q==",
+ "dot-prop": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz",
+ "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==",
"requires": {
- "async": "^2.5.0",
- "eth-query": "^2.1.2",
- "eth-tx-summary": "^3.1.2",
- "ethereumjs-block": "^1.6.0",
- "ethereumjs-tx": "^1.3.3",
- "ethereumjs-util": "^5.1.2",
- "ethereumjs-vm": "^2.1.0",
- "fetch-ponyfill": "^4.0.0",
- "json-rpc-engine": "^3.6.0",
- "json-rpc-error": "^2.0.0",
- "json-stable-stringify": "^1.0.1",
- "promise-to-callback": "^1.0.0",
- "tape": "^4.6.3"
+ "is-obj": "^1.0.0"
+ }
+ },
+ "dotignore": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/dotignore/-/dotignore-0.1.2.tgz",
+ "integrity": "sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw==",
+ "requires": {
+ "minimatch": "^3.0.4"
+ }
+ },
+ "double-ended-queue": {
+ "version": "2.1.0-0",
+ "resolved": "https://registry.npmjs.org/double-ended-queue/-/double-ended-queue-2.1.0-0.tgz",
+ "integrity": "sha1-ED01J/0xUo9AGIEwyEHv3XgmTlw=",
+ "optional": true
+ },
+ "drbg.js": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz",
+ "integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=",
+ "requires": {
+ "browserify-aes": "^1.0.6",
+ "create-hash": "^1.1.2",
+ "create-hmac": "^1.1.4"
+ }
+ },
+ "duplexer3": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz",
+ "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI="
+ },
+ "duplexify": {
+ "version": "3.7.1",
+ "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz",
+ "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==",
+ "requires": {
+ "end-of-stream": "^1.0.0",
+ "inherits": "^2.0.1",
+ "readable-stream": "^2.0.0",
+ "stream-shift": "^1.0.0"
+ }
+ },
+ "ecc-jsbn": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
+ "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
+ "requires": {
+ "jsbn": "~0.1.0",
+ "safer-buffer": "^2.1.0"
+ }
+ },
+ "ed2curve": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/ed2curve/-/ed2curve-0.3.0.tgz",
+ "integrity": "sha512-8w2fmmq3hv9rCrcI7g9hms2pMunQr1JINfcjwR9tAyZqhtyaMN991lF/ZfHfr5tzZQ8c7y7aBgZbjfbd0fjFwQ==",
+ "optional": true,
+ "requires": {
+ "tweetnacl": "1.x.x"
},
"dependencies": {
- "async": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
- "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
- "requires": {
- "lodash": "^4.17.14"
- }
+ "tweetnacl": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz",
+ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==",
+ "optional": true
}
}
},
- "eth-lib": {
- "version": "0.2.7",
- "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.7.tgz",
- "integrity": "sha1-L5Pxex4jrsN1nNSj/iDBKGo/wco=",
- "requires": {
- "bn.js": "^4.11.6",
- "elliptic": "^6.4.0",
- "xhr-request-promise": "^0.1.2"
- }
+ "ee-first": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
+ "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
},
- "eth-query": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/eth-query/-/eth-query-2.1.2.tgz",
- "integrity": "sha1-1nQdkAAQa1FRDHLbktY2VFam2l4=",
+ "electron-fetch": {
+ "version": "1.7.3",
+ "resolved": "https://registry.npmjs.org/electron-fetch/-/electron-fetch-1.7.3.tgz",
+ "integrity": "sha512-1AVMaxrHXTTMqd7EK0MGWusdqNr07Rpj8Th6bG4at0oNgIi/1LBwa9CjT/0Zy+M0k/tSJPS04nFxHj0SXDVgVw==",
+ "optional": true,
"requires": {
- "json-rpc-random-id": "^1.0.0",
- "xtend": "^4.0.1"
+ "encoding": "^0.1.13"
}
},
- "eth-sig-util": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/eth-sig-util/-/eth-sig-util-1.4.2.tgz",
- "integrity": "sha1-jZWCAsftuq6Dlwf7pvCf8ydgYhA=",
+ "electron-to-chromium": {
+ "version": "1.3.717",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.717.tgz",
+ "integrity": "sha512-OfzVPIqD1MkJ7fX+yTl2nKyOE4FReeVfMCzzxQS+Kp43hZYwHwThlGP+EGIZRXJsxCM7dqo8Y65NOX/HP12iXQ=="
+ },
+ "elliptic": {
+ "version": "6.5.3",
+ "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz",
+ "integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==",
"requires": {
- "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git",
- "ethereumjs-util": "^5.1.1"
+ "bn.js": "^4.4.0",
+ "brorand": "^1.0.1",
+ "hash.js": "^1.0.0",
+ "hmac-drbg": "^1.0.0",
+ "inherits": "^2.0.1",
+ "minimalistic-assert": "^1.0.0",
+ "minimalistic-crypto-utils": "^1.0.0"
}
},
- "eth-tx-summary": {
- "version": "3.2.4",
- "resolved": "https://registry.npmjs.org/eth-tx-summary/-/eth-tx-summary-3.2.4.tgz",
- "integrity": "sha512-NtlDnaVZah146Rm8HMRUNMgIwG/ED4jiqk0TME9zFheMl1jOp6jL1m0NKGjJwehXQ6ZKCPr16MTr+qspKpEXNg==",
+ "emittery": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.4.1.tgz",
+ "integrity": "sha512-r4eRSeStEGf6M5SKdrQhhLK5bOwOBxQhIE3YSTnZE3GpKiLfnnhE+tPtrJE79+eDJgm39BM6LSoI8SCx4HbwlQ==",
+ "optional": true
+ },
+ "emoji-regex": {
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
+ "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA=="
+ },
+ "encodeurl": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
+ "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k="
+ },
+ "encoding": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz",
+ "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",
"requires": {
- "async": "^2.1.2",
- "clone": "^2.0.0",
- "concat-stream": "^1.5.1",
- "end-of-stream": "^1.1.0",
- "eth-query": "^2.0.2",
- "ethereumjs-block": "^1.4.1",
- "ethereumjs-tx": "^1.1.1",
- "ethereumjs-util": "^5.0.1",
- "ethereumjs-vm": "^2.6.0",
- "through2": "^2.0.3"
+ "iconv-lite": "^0.6.2"
},
"dependencies": {
- "async": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
- "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
+ "iconv-lite": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz",
+ "integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==",
"requires": {
- "lodash": "^4.17.14"
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
}
}
}
},
- "ethereum-common": {
- "version": "0.0.18",
- "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.0.18.tgz",
- "integrity": "sha1-L9w1dvIykDNYl26znaeDIT/5Uj8="
- },
- "ethereum-cryptography": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz",
- "integrity": "sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ==",
+ "encoding-down": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/encoding-down/-/encoding-down-6.3.0.tgz",
+ "integrity": "sha512-QKrV0iKR6MZVJV08QY0wp1e7vF6QbhnbQhb07bwpEyuz4uZiZgPlEGdkCROuFkUwdxlFaiPIhjyarH1ee/3vhw==",
+ "optional": true,
"requires": {
- "@types/pbkdf2": "^3.0.0",
- "@types/secp256k1": "^4.0.1",
- "blakejs": "^1.1.0",
- "browserify-aes": "^1.2.0",
- "bs58check": "^2.1.2",
- "create-hash": "^1.2.0",
- "create-hmac": "^1.1.7",
- "hash.js": "^1.1.7",
- "keccak": "^3.0.0",
- "pbkdf2": "^3.0.17",
- "randombytes": "^2.1.0",
- "safe-buffer": "^5.1.2",
- "scrypt-js": "^3.0.0",
- "secp256k1": "^4.0.1",
- "setimmediate": "^1.0.5"
+ "abstract-leveldown": "^6.2.1",
+ "inherits": "^2.0.3",
+ "level-codec": "^9.0.0",
+ "level-errors": "^2.0.0"
},
"dependencies": {
- "elliptic": {
- "version": "6.5.3",
- "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz",
- "integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==",
+ "abstract-leveldown": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.3.0.tgz",
+ "integrity": "sha512-TU5nlYgta8YrBMNpc9FwQzRbiXsj49gsALsXadbGHt9CROPzX5fB0rWDR5mtdpOOKa5XqRFpbj1QroPAoPzVjQ==",
+ "optional": true,
"requires": {
- "bn.js": "^4.4.0",
- "brorand": "^1.0.1",
- "hash.js": "^1.0.0",
- "hmac-drbg": "^1.0.0",
- "inherits": "^2.0.1",
- "minimalistic-assert": "^1.0.0",
- "minimalistic-crypto-utils": "^1.0.0"
+ "buffer": "^5.5.0",
+ "immediate": "^3.2.3",
+ "level-concat-iterator": "~2.0.0",
+ "level-supports": "~1.0.0",
+ "xtend": "~4.0.0"
}
},
- "keccak": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/keccak/-/keccak-3.0.1.tgz",
- "integrity": "sha512-epq90L9jlFWCW7+pQa6JOnKn2Xgl2mtI664seYR6MHskvI9agt7AnDqmAlp9TqU4/caMYbA08Hi5DMZAl5zdkA==",
+ "level-codec": {
+ "version": "9.0.2",
+ "resolved": "https://registry.npmjs.org/level-codec/-/level-codec-9.0.2.tgz",
+ "integrity": "sha512-UyIwNb1lJBChJnGfjmO0OR+ezh2iVu1Kas3nvBS/BzGnx79dv6g7unpKIDNPMhfdTEGoc7mC8uAu51XEtX+FHQ==",
+ "optional": true,
"requires": {
- "node-addon-api": "^2.0.0",
- "node-gyp-build": "^4.2.0"
+ "buffer": "^5.6.0"
}
},
- "scrypt-js": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz",
- "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA=="
- },
- "secp256k1": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.2.tgz",
- "integrity": "sha512-UDar4sKvWAksIlfX3xIaQReADn+WFnHvbVujpcbr+9Sf/69odMwy2MUsz5CKLQgX9nsIyrjuxL2imVyoNHa3fg==",
+ "level-errors": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-2.0.1.tgz",
+ "integrity": "sha512-UVprBJXite4gPS+3VznfgDSU8PTRuVX0NXwoWW50KLxd2yw4Y1t2JUR5In1itQnudZqRMT9DlAM3Q//9NCjCFw==",
+ "optional": true,
"requires": {
- "elliptic": "^6.5.2",
- "node-addon-api": "^2.0.0",
- "node-gyp-build": "^4.2.0"
+ "errno": "~0.1.1"
}
- },
- "setimmediate": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
- "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="
}
}
},
- "ethereum-types": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/ethereum-types/-/ethereum-types-3.2.0.tgz",
- "integrity": "sha512-osxikvWF2CuHauo2jiBpGalLXbCj5xWm2WcNr+Z4sNTk7z6DArPNXwsgANu2bA+aAsqSSF4NgsNx8JS1d3xdOQ==",
+ "end-of-stream": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz",
+ "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==",
"requires": {
- "@types/node": "*",
- "bignumber.js": "~9.0.0"
+ "once": "^1.4.0"
}
},
- "ethereumjs-abi": {
- "version": "0.6.8",
- "resolved": "git+https://github.com/ethereumjs/ethereumjs-abi.git#1cfbb13862f90f0b391d8a699544d5fe4dfb8c7b",
+ "end-stream": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/end-stream/-/end-stream-0.1.0.tgz",
+ "integrity": "sha1-MgA/P0OKKwFDFoE3+PpumGbIHtU=",
+ "optional": true,
"requires": {
- "bn.js": "^4.11.8",
- "ethereumjs-util": "^6.0.0"
+ "write-stream": "~0.4.3"
+ }
+ },
+ "entities": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz",
+ "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w=="
+ },
+ "err-code": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/err-code/-/err-code-1.1.2.tgz",
+ "integrity": "sha1-BuARbTAo9q70gGhJ6w6mp0iuaWA="
+ },
+ "errno": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz",
+ "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==",
+ "requires": {
+ "prr": "~1.0.1"
+ }
+ },
+ "error-ex": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
+ "devOptional": true,
+ "requires": {
+ "is-arrayish": "^0.2.1"
+ }
+ },
+ "es-abstract": {
+ "version": "1.18.0",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0.tgz",
+ "integrity": "sha512-LJzK7MrQa8TS0ja2w3YNLzUgJCGPdPOV1yVvezjNnS89D+VR08+Szt2mz3YB2Dck/+w5tfIq/RoUAFqJJGM2yw==",
+ "requires": {
+ "call-bind": "^1.0.2",
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "get-intrinsic": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.2",
+ "is-callable": "^1.2.3",
+ "is-negative-zero": "^2.0.1",
+ "is-regex": "^1.1.2",
+ "is-string": "^1.0.5",
+ "object-inspect": "^1.9.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.2",
+ "string.prototype.trimend": "^1.0.4",
+ "string.prototype.trimstart": "^1.0.4",
+ "unbox-primitive": "^1.0.0"
},
"dependencies": {
- "ethereumjs-util": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.1.0.tgz",
- "integrity": "sha512-URESKMFbDeJxnAxPppnk2fN6Y3BIatn9fwn76Lm8bQlt+s52TpG8dN9M66MLPuRAiAOIqL3dfwqWJf0sd0fL0Q==",
+ "object-inspect": {
+ "version": "1.10.2",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.2.tgz",
+ "integrity": "sha512-gz58rdPpadwztRrPjZE9DZLOABUpTGdcANUgOwBFO1C+HZZhePoP83M65WGDmbpwFYJSWqavbl4SgDn4k8RYTA=="
+ },
+ "object.assign": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz",
+ "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==",
"requires": {
- "bn.js": "^4.11.0",
- "create-hash": "^1.1.2",
- "ethjs-util": "0.1.6",
- "keccak": "^1.0.2",
- "rlp": "^2.0.0",
- "safe-buffer": "^5.1.1",
- "secp256k1": "^3.0.1"
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3",
+ "has-symbols": "^1.0.1",
+ "object-keys": "^1.1.1"
}
}
}
},
- "ethereumjs-account": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/ethereumjs-account/-/ethereumjs-account-2.0.5.tgz",
- "integrity": "sha512-bgDojnXGjhMwo6eXQC0bY6UK2liSFUSMwwylOmQvZbSl/D7NXQ3+vrGO46ZeOgjGfxXmgIeVNDIiHw7fNZM4VA==",
- "requires": {
- "ethereumjs-util": "^5.0.0",
- "rlp": "^2.0.0",
- "safe-buffer": "^5.1.1"
- }
+ "es-array-method-boxes-properly": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz",
+ "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA=="
},
- "ethereumjs-block": {
- "version": "1.7.1",
- "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-1.7.1.tgz",
- "integrity": "sha512-B+sSdtqm78fmKkBq78/QLKJbu/4Ts4P2KFISdgcuZUPDm9x+N7qgBPIIFUGbaakQh8bzuquiRVbdmvPKqbILRg==",
+ "es-get-iterator": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.2.tgz",
+ "integrity": "sha512-+DTO8GYwbMCwbywjimwZMHp8AuYXOS2JZFWoi2AlPOS3ebnII9w/NLpNZtA7A0YLaVDw+O7KFCeoIV7OPvM7hQ==",
"requires": {
- "async": "^2.0.1",
- "ethereum-common": "0.2.0",
- "ethereumjs-tx": "^1.2.2",
- "ethereumjs-util": "^5.0.0",
- "merkle-patricia-tree": "^2.1.2"
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.1.0",
+ "has-symbols": "^1.0.1",
+ "is-arguments": "^1.1.0",
+ "is-map": "^2.0.2",
+ "is-set": "^2.0.2",
+ "is-string": "^1.0.5",
+ "isarray": "^2.0.5"
},
"dependencies": {
- "async": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
- "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
- "requires": {
- "lodash": "^4.17.14"
- }
- },
- "ethereum-common": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.2.0.tgz",
- "integrity": "sha512-XOnAR/3rntJgbCdGhqdaLIxDLWKLmsZOGhHdBKadEr6gEnJLH52k93Ou+TUdFaPN3hJc3isBZBal3U/XZ15abA=="
+ "isarray": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw=="
}
}
},
- "ethereumjs-common": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/ethereumjs-common/-/ethereumjs-common-1.5.1.tgz",
- "integrity": "sha512-aVUPRLgmXORGXXEVkFYgPhr9TGtpBY2tGhZ9Uh0A3lIUzUDr1x6kQx33SbjPUkLkX3eniPQnIL/2psjkjrOfcQ=="
+ "es-to-primitive": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
+ "requires": {
+ "is-callable": "^1.1.4",
+ "is-date-object": "^1.0.1",
+ "is-symbol": "^1.0.2"
+ }
},
- "ethereumjs-tx": {
- "version": "1.3.7",
- "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-1.3.7.tgz",
- "integrity": "sha512-wvLMxzt1RPhAQ9Yi3/HKZTn0FZYpnsmQdbKYfUUpi4j1SEIcbkd9tndVjcPrufY3V7j2IebOpC00Zp2P/Ay2kA==",
+ "es5-ext": {
+ "version": "0.10.53",
+ "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz",
+ "integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==",
"requires": {
- "ethereum-common": "^0.0.18",
- "ethereumjs-util": "^5.0.0"
+ "es6-iterator": "~2.0.3",
+ "es6-symbol": "~3.1.3",
+ "next-tick": "~1.0.0"
}
},
- "ethereumjs-util": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz",
- "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==",
+ "es6-denodeify": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/es6-denodeify/-/es6-denodeify-0.1.5.tgz",
+ "integrity": "sha1-MdTV/pxVA+ElRgQ5MQ4WoqPznB8=",
+ "optional": true
+ },
+ "es6-iterator": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz",
+ "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=",
"requires": {
- "bn.js": "^4.11.0",
- "create-hash": "^1.1.2",
- "ethjs-util": "^0.1.3",
- "keccak": "^1.0.2",
- "rlp": "^2.0.0",
- "safe-buffer": "^5.1.1",
- "secp256k1": "^3.0.1"
+ "d": "1",
+ "es5-ext": "^0.10.35",
+ "es6-symbol": "^3.1.1"
}
},
- "ethereumjs-vm": {
- "version": "2.6.0",
- "resolved": "https://registry.npmjs.org/ethereumjs-vm/-/ethereumjs-vm-2.6.0.tgz",
- "integrity": "sha512-r/XIUik/ynGbxS3y+mvGnbOKnuLo40V5Mj1J25+HEO63aWYREIqvWeRO/hnROlMBE5WoniQmPmhiaN0ctiHaXw==",
+ "es6-promise": {
+ "version": "4.2.8",
+ "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz",
+ "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w=="
+ },
+ "es6-promisify": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz",
+ "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=",
"requires": {
- "async": "^2.1.2",
- "async-eventemitter": "^0.2.2",
- "ethereumjs-account": "^2.0.3",
- "ethereumjs-block": "~2.2.0",
- "ethereumjs-common": "^1.1.0",
- "ethereumjs-util": "^6.0.0",
- "fake-merkle-patricia-tree": "^1.0.1",
- "functional-red-black-tree": "^1.0.1",
- "merkle-patricia-tree": "^2.3.2",
- "rustbn.js": "~0.2.0",
- "safe-buffer": "^5.1.1"
+ "es6-promise": "^4.0.3"
+ }
+ },
+ "es6-symbol": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",
+ "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==",
+ "requires": {
+ "d": "^1.0.1",
+ "ext": "^1.1.2"
+ }
+ },
+ "escalade": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
+ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
+ "optional": true
+ },
+ "escape-html": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
+ "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg="
+ },
+ "escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
+ },
+ "escodegen": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.8.1.tgz",
+ "integrity": "sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg=",
+ "requires": {
+ "esprima": "^2.7.1",
+ "estraverse": "^1.9.1",
+ "esutils": "^2.0.2",
+ "optionator": "^0.8.1",
+ "source-map": "~0.2.0"
},
"dependencies": {
- "async": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
- "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
+ "source-map": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz",
+ "integrity": "sha1-2rc/vPwrqBm03gO9b26qSBZLP50=",
+ "optional": true,
"requires": {
- "lodash": "^4.17.14"
+ "amdefine": ">=0.0.4"
}
- },
- "elliptic": {
- "version": "6.5.3",
- "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz",
- "integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==",
+ }
+ }
+ },
+ "esdoc": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/esdoc/-/esdoc-1.1.0.tgz",
+ "integrity": "sha512-vsUcp52XJkOWg9m1vDYplGZN2iDzvmjDL5M/Mp8qkoDG3p2s0yIQCIjKR5wfPBaM3eV14a6zhQNYiNTCVzPnxA==",
+ "requires": {
+ "babel-generator": "6.26.1",
+ "babel-traverse": "6.26.0",
+ "babylon": "6.18.0",
+ "cheerio": "1.0.0-rc.2",
+ "color-logger": "0.0.6",
+ "escape-html": "1.0.3",
+ "fs-extra": "5.0.0",
+ "ice-cap": "0.0.4",
+ "marked": "0.3.19",
+ "minimist": "1.2.0",
+ "taffydb": "2.7.3"
+ },
+ "dependencies": {
+ "fs-extra": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-5.0.0.tgz",
+ "integrity": "sha512-66Pm4RYbjzdyeuqudYqhFiNBbCIuI9kgRqLPSHIlXHidW8NIQtVdkM1yeZ4lXwuhbTETv3EUGMNHAAw6hiundQ==",
"requires": {
- "bn.js": "^4.4.0",
- "brorand": "^1.0.1",
- "hash.js": "^1.0.0",
- "hmac-drbg": "^1.0.0",
- "inherits": "^2.0.1",
- "minimalistic-assert": "^1.0.0",
- "minimalistic-crypto-utils": "^1.0.0"
+ "graceful-fs": "^4.1.2",
+ "jsonfile": "^4.0.0",
+ "universalify": "^0.1.0"
}
},
- "ethereumjs-block": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-2.2.2.tgz",
- "integrity": "sha512-2p49ifhek3h2zeg/+da6XpdFR3GlqY3BIEiqxGF8j9aSRIgkb7M1Ky+yULBKJOu8PAZxfhsYA+HxUk2aCQp3vg==",
+ "jsonfile": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
+ "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
"requires": {
- "async": "^2.0.1",
- "ethereumjs-common": "^1.5.0",
- "ethereumjs-tx": "^2.1.1",
- "ethereumjs-util": "^5.0.0",
- "merkle-patricia-tree": "^2.1.2"
- },
- "dependencies": {
- "ethereumjs-util": {
- "version": "5.2.1",
- "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.1.tgz",
- "integrity": "sha512-v3kT+7zdyCm1HIqWlLNrHGqHGLpGYIhjeHxQjnDXjLT2FyGJDsd3LWMYUo7pAFRrk86CR3nUJfhC81CCoJNNGQ==",
- "requires": {
- "bn.js": "^4.11.0",
- "create-hash": "^1.1.2",
- "elliptic": "^6.5.2",
- "ethereum-cryptography": "^0.1.3",
- "ethjs-util": "^0.1.3",
- "rlp": "^2.0.0",
- "safe-buffer": "^5.1.1"
- }
- }
+ "graceful-fs": "^4.1.6"
}
},
- "ethereumjs-tx": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-2.1.2.tgz",
- "integrity": "sha512-zZEK1onCeiORb0wyCXUvg94Ve5It/K6GD1K+26KfFKodiBiS6d9lfCXlUKGBBdQ+bv7Day+JK0tj1K+BeNFRAw==",
- "requires": {
- "ethereumjs-common": "^1.5.0",
- "ethereumjs-util": "^6.0.0"
- }
+ "marked": {
+ "version": "0.3.19",
+ "resolved": "https://registry.npmjs.org/marked/-/marked-0.3.19.tgz",
+ "integrity": "sha512-ea2eGWOqNxPcXv8dyERdSr/6FmzvWwzjMxpfGB/sbMccXoct+xY+YukPD+QTUZwyvK7BZwcr4m21WBOW41pAkg=="
},
- "ethereumjs-util": {
- "version": "6.2.1",
- "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.1.tgz",
- "integrity": "sha512-W2Ktez4L01Vexijrm5EB6w7dg4n/TgpoYU4avuT5T3Vmnw/eCRtiBrJfQYS/DCSvDIOLn2k57GcHdeBcgVxAqw==",
- "requires": {
- "@types/bn.js": "^4.11.3",
- "bn.js": "^4.11.0",
- "create-hash": "^1.1.2",
- "elliptic": "^6.5.2",
- "ethereum-cryptography": "^0.1.3",
- "ethjs-util": "0.1.6",
- "rlp": "^2.2.3"
- }
+ "minimist": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
+ "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
+ },
+ "universalify": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
+ "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg=="
}
}
},
- "ethers": {
- "version": "4.0.30",
- "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.30.tgz",
- "integrity": "sha512-1a39Y+q5zTfrXCLndV+CHsTHq+T5/TvAx5y0S/PKd700C0lfU70CJnU7q89bd+4pIuWp05TkrEsrTj2dXhkcSA==",
+ "eslint": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.3.0.tgz",
+ "integrity": "sha512-ZvZTKaqDue+N8Y9g0kp6UPZtS4FSY3qARxBs7p4f0H0iof381XHduqVerFWtK8DPtKmemqbqCFENWSQgPR/Gow==",
+ "dev": true,
"requires": {
- "@types/node": "^10.3.2",
- "aes-js": "3.0.0",
- "bn.js": "^4.4.0",
- "elliptic": "6.3.3",
- "hash.js": "1.1.3",
- "js-sha3": "0.5.7",
- "scrypt-js": "2.0.4",
- "setimmediate": "1.0.4",
- "uuid": "2.0.1",
- "xmlhttprequest": "1.8.0"
+ "@babel/code-frame": "^7.0.0",
+ "ajv": "^6.10.0",
+ "chalk": "^2.1.0",
+ "cross-spawn": "^6.0.5",
+ "debug": "^4.0.1",
+ "doctrine": "^3.0.0",
+ "eslint-scope": "^5.0.0",
+ "eslint-utils": "^1.4.2",
+ "eslint-visitor-keys": "^1.1.0",
+ "espree": "^6.1.1",
+ "esquery": "^1.0.1",
+ "esutils": "^2.0.2",
+ "file-entry-cache": "^5.0.1",
+ "functional-red-black-tree": "^1.0.1",
+ "glob-parent": "^5.0.0",
+ "globals": "^11.7.0",
+ "ignore": "^4.0.6",
+ "import-fresh": "^3.0.0",
+ "imurmurhash": "^0.1.4",
+ "inquirer": "^6.4.1",
+ "is-glob": "^4.0.0",
+ "js-yaml": "^3.13.1",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "levn": "^0.3.0",
+ "lodash": "^4.17.14",
+ "minimatch": "^3.0.4",
+ "mkdirp": "^0.5.1",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.8.2",
+ "progress": "^2.0.0",
+ "regexpp": "^2.0.1",
+ "semver": "^6.1.2",
+ "strip-ansi": "^5.2.0",
+ "strip-json-comments": "^3.0.1",
+ "table": "^5.2.3",
+ "text-table": "^0.2.0",
+ "v8-compile-cache": "^2.0.3"
},
"dependencies": {
- "elliptic": {
- "version": "6.3.3",
- "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.3.3.tgz",
- "integrity": "sha1-VILZZG1UvLif19mU/J4ulWiHbj8=",
+ "ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "dev": true
+ },
+ "cross-spawn": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
+ "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
+ "dev": true,
"requires": {
- "bn.js": "^4.4.0",
- "brorand": "^1.0.1",
- "hash.js": "^1.0.0",
- "inherits": "^2.0.1"
+ "nice-try": "^1.0.4",
+ "path-key": "^2.0.1",
+ "semver": "^5.5.0",
+ "shebang-command": "^1.2.0",
+ "which": "^1.2.9"
+ },
+ "dependencies": {
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "dev": true
+ }
}
},
- "hash.js": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz",
- "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==",
+ "debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "dev": true,
"requires": {
- "inherits": "^2.0.3",
- "minimalistic-assert": "^1.0.0"
+ "ms": "^2.1.1"
}
},
- "js-sha3": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz",
- "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc="
+ "eslint-visitor-keys": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz",
+ "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==",
+ "dev": true
},
- "uuid": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz",
- "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w="
- }
- }
- },
- "ethjs-unit": {
- "version": "0.1.6",
- "resolved": "https://registry.npmjs.org/ethjs-unit/-/ethjs-unit-0.1.6.tgz",
- "integrity": "sha1-xmWSHkduh7ziqdWIpv4EBbLEFpk=",
- "requires": {
- "bn.js": "4.11.6",
- "number-to-bn": "1.7.0"
- },
- "dependencies": {
- "bn.js": {
- "version": "4.11.6",
- "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz",
- "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU="
+ "glob-parent": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.0.0.tgz",
+ "integrity": "sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg==",
+ "dev": true,
+ "requires": {
+ "is-glob": "^4.0.1"
+ }
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true
+ },
+ "semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+ "dev": true
+ },
+ "strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "dev": true,
+ "requires": {
+ "ansi-regex": "^4.1.0"
+ }
+ },
+ "strip-json-comments": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz",
+ "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==",
+ "dev": true
}
}
},
- "ethjs-util": {
- "version": "0.1.6",
- "resolved": "https://registry.npmjs.org/ethjs-util/-/ethjs-util-0.1.6.tgz",
- "integrity": "sha512-CUnVOQq7gSpDHZVVrQW8ExxUETWrnrvXYvYz55wOU8Uj4VCgw56XC2B/fVqQN+f7gmrnRHSLVnFAwsCuNwji8w==",
- "requires": {
- "is-hex-prefixed": "1.0.0",
- "strip-hex-prefix": "1.0.0"
- }
- },
- "events": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/events/-/events-3.2.0.tgz",
- "integrity": "sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg=="
- },
- "evp_bytestokey": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz",
- "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==",
+ "eslint-config-airbnb-base": {
+ "version": "14.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.0.0.tgz",
+ "integrity": "sha512-2IDHobw97upExLmsebhtfoD3NAKhV4H0CJWP3Uprd/uk+cHuWYOczPVxQ8PxLFUAw7o3Th1RAU8u1DoUpr+cMA==",
+ "dev": true,
"requires": {
- "md5.js": "^1.3.4",
- "safe-buffer": "^5.1.1"
+ "confusing-browser-globals": "^1.0.7",
+ "object.assign": "^4.1.0",
+ "object.entries": "^1.1.0"
}
},
- "execa": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz",
- "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=",
+ "eslint-config-prettier": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.2.0.tgz",
+ "integrity": "sha512-VLsgK/D+S/FEsda7Um1+N8FThec6LqE3vhcMyp8mlmto97y3fGf3DX7byJexGuOb1QY0Z/zz222U5t+xSfcZDQ==",
+ "dev": true,
"requires": {
- "cross-spawn": "^5.0.1",
- "get-stream": "^3.0.0",
- "is-stream": "^1.1.0",
- "npm-run-path": "^2.0.0",
- "p-finally": "^1.0.0",
- "signal-exit": "^3.0.0",
- "strip-eof": "^1.0.0"
+ "get-stdin": "^6.0.0"
}
},
- "expand-brackets": {
- "version": "2.1.4",
- "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",
- "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=",
+ "eslint-import-resolver-node": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz",
+ "integrity": "sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==",
"dev": true,
"requires": {
- "debug": "^2.3.3",
- "define-property": "^0.2.5",
- "extend-shallow": "^2.0.1",
- "posix-character-classes": "^0.1.0",
- "regex-not": "^1.0.0",
- "snapdragon": "^0.8.1",
- "to-regex": "^3.0.1"
+ "debug": "^2.6.9",
+ "resolve": "^1.5.0"
},
"dependencies": {
"debug": {
@@ -4766,630 +45571,505 @@
"requires": {
"ms": "2.0.0"
}
- },
- "define-property": {
- "version": "0.2.5",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
- "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
- "dev": true,
- "requires": {
- "is-descriptor": "^0.1.0"
- }
- },
- "extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
- "dev": true,
- "requires": {
- "is-extendable": "^0.1.0"
- }
}
}
},
- "expand-template": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
- "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==",
- "optional": true
- },
- "extend": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
- "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
- },
- "extend-shallow": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz",
- "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=",
+ "eslint-module-utils": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.4.1.tgz",
+ "integrity": "sha512-H6DOj+ejw7Tesdgbfs4jeS4YMFrT8uI8xwd1gtQqXssaR0EQ26L+2O/w6wkYFy2MymON0fTwHmXBvvfLNZVZEw==",
"dev": true,
"requires": {
- "assign-symbols": "^1.0.0",
- "is-extendable": "^1.0.1"
+ "debug": "^2.6.8",
+ "pkg-dir": "^2.0.0"
},
"dependencies": {
- "is-extendable": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
- "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dev": true,
"requires": {
- "is-plain-object": "^2.0.4"
+ "ms": "2.0.0"
}
}
}
},
- "external-editor": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz",
- "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==",
+ "eslint-plugin-es": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-2.0.0.tgz",
+ "integrity": "sha512-f6fceVtg27BR02EYnBhgWLFQfK6bN4Ll0nQFrBHOlCsAyxeZkn0NHns5O0YZOPrV1B3ramd6cgFwaoFLcSkwEQ==",
"dev": true,
"requires": {
- "chardet": "^0.7.0",
- "iconv-lite": "^0.4.24",
- "tmp": "^0.0.33"
+ "eslint-utils": "^1.4.2",
+ "regexpp": "^3.0.0"
+ },
+ "dependencies": {
+ "regexpp": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.0.0.tgz",
+ "integrity": "sha512-Z+hNr7RAVWxznLPuA7DIh8UNX1j9CDrUQxskw9IrBE1Dxue2lyXT+shqEIeLUjrokxIP8CMy1WkjgG3rTsd5/g==",
+ "dev": true
+ }
}
},
- "extglob": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",
- "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==",
+ "eslint-plugin-import": {
+ "version": "2.18.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz",
+ "integrity": "sha512-5ohpsHAiUBRNaBWAF08izwUGlbrJoJJ+W9/TBwsGoR1MnlgfwMIKrFeSjWbt6moabiXW9xNvtFz+97KHRfI4HQ==",
"dev": true,
"requires": {
- "array-unique": "^0.3.2",
- "define-property": "^1.0.0",
- "expand-brackets": "^2.1.4",
- "extend-shallow": "^2.0.1",
- "fragment-cache": "^0.2.1",
- "regex-not": "^1.0.0",
- "snapdragon": "^0.8.1",
- "to-regex": "^3.0.1"
+ "array-includes": "^3.0.3",
+ "contains-path": "^0.1.0",
+ "debug": "^2.6.9",
+ "doctrine": "1.5.0",
+ "eslint-import-resolver-node": "^0.3.2",
+ "eslint-module-utils": "^2.4.0",
+ "has": "^1.0.3",
+ "minimatch": "^3.0.4",
+ "object.values": "^1.1.0",
+ "read-pkg-up": "^2.0.0",
+ "resolve": "^1.11.0"
},
"dependencies": {
- "define-property": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
- "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
- "dev": true,
- "requires": {
- "is-descriptor": "^1.0.0"
- }
- },
- "extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
- "dev": true,
- "requires": {
- "is-extendable": "^0.1.0"
- }
- },
- "is-accessor-descriptor": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
- "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
- "dev": true,
- "requires": {
- "kind-of": "^6.0.0"
- }
- },
- "is-data-descriptor": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
- "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dev": true,
"requires": {
- "kind-of": "^6.0.0"
+ "ms": "2.0.0"
}
},
- "is-descriptor": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
- "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
+ "doctrine": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz",
+ "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=",
"dev": true,
"requires": {
- "is-accessor-descriptor": "^1.0.0",
- "is-data-descriptor": "^1.0.0",
- "kind-of": "^6.0.2"
+ "esutils": "^2.0.2",
+ "isarray": "^1.0.0"
}
}
}
},
- "extract-comments": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/extract-comments/-/extract-comments-1.1.0.tgz",
- "integrity": "sha512-dzbZV2AdSSVW/4E7Ti5hZdHWbA+Z80RJsJhr5uiL10oyjl/gy7/o+HI1HwK4/WSZhlq4SNKU3oUzXlM13Qx02Q==",
+ "eslint-plugin-node": {
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-10.0.0.tgz",
+ "integrity": "sha512-1CSyM/QCjs6PXaT18+zuAXsjXGIGo5Rw630rSKwokSs2jrYURQc4R5JZpoanNCqwNmepg+0eZ9L7YiRUJb8jiQ==",
"dev": true,
"requires": {
- "esprima-extract-comments": "^1.1.0",
- "parse-code-context": "^1.0.0"
+ "eslint-plugin-es": "^2.0.0",
+ "eslint-utils": "^1.4.2",
+ "ignore": "^5.1.1",
+ "minimatch": "^3.0.4",
+ "resolve": "^1.10.1",
+ "semver": "^6.1.0"
+ },
+ "dependencies": {
+ "ignore": {
+ "version": "5.1.4",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz",
+ "integrity": "sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A==",
+ "dev": true
+ },
+ "semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+ "dev": true
+ }
}
},
- "extsprintf": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
- "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
- },
- "fake-merkle-patricia-tree": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/fake-merkle-patricia-tree/-/fake-merkle-patricia-tree-1.0.1.tgz",
- "integrity": "sha1-S4w6z7Ugr635hgsfFM2M40As3dM=",
+ "eslint-plugin-prettier": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.0.1.tgz",
+ "integrity": "sha512-/PMttrarPAY78PLvV3xfWibMOdMDl57hmlQ2XqFeA37wd+CJ7WSxV7txqjVPHi/AAFKd2lX0ZqfsOc/i5yFCSQ==",
+ "dev": true,
"requires": {
- "checkpoint-store": "^1.1.0"
+ "prettier-linter-helpers": "^1.0.0"
}
},
- "fast-deep-equal": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
- "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk="
- },
- "fast-diff": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz",
- "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w=="
- },
- "fast-json-stable-stringify": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz",
- "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I="
- },
- "fast-levenshtein": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
- "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc="
- },
- "fetch-ponyfill": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/fetch-ponyfill/-/fetch-ponyfill-4.1.0.tgz",
- "integrity": "sha1-rjzl9zLGReq4fkroeTQUcJsjmJM=",
+ "eslint-scope": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz",
+ "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==",
+ "dev": true,
"requires": {
- "node-fetch": "~1.7.1"
+ "esrecurse": "^4.1.0",
+ "estraverse": "^4.1.1"
+ },
+ "dependencies": {
+ "estraverse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
+ "dev": true
+ }
}
},
- "figgy-pudding": {
- "version": "3.5.1",
- "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz",
- "integrity": "sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w=="
- },
- "figures": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
- "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=",
+ "eslint-utils": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.2.tgz",
+ "integrity": "sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q==",
"dev": true,
"requires": {
- "escape-string-regexp": "^1.0.5"
+ "eslint-visitor-keys": "^1.0.0"
}
},
- "file-entry-cache": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz",
- "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==",
+ "eslint-visitor-keys": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz",
+ "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==",
+ "dev": true
+ },
+ "espree": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-6.1.1.tgz",
+ "integrity": "sha512-EYbr8XZUhWbYCqQRW0duU5LxzL5bETN6AjKBGy1302qqzPaCH10QbRg3Wvco79Z8x9WbiE8HYB4e75xl6qUYvQ==",
"dev": true,
"requires": {
- "flat-cache": "^2.0.1"
+ "acorn": "^7.0.0",
+ "acorn-jsx": "^5.0.2",
+ "eslint-visitor-keys": "^1.1.0"
+ },
+ "dependencies": {
+ "eslint-visitor-keys": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz",
+ "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==",
+ "dev": true
+ }
}
},
- "file-uri-to-path": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
- "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw=="
+ "esprima": {
+ "version": "2.7.3",
+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz",
+ "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE="
},
- "fill-range": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
- "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",
+ "esprima-extract-comments": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/esprima-extract-comments/-/esprima-extract-comments-1.1.0.tgz",
+ "integrity": "sha512-sBQUnvJwpeE9QnPrxh7dpI/dp67erYG4WXEAreAMoelPRpMR7NWb4YtwRPn9b+H1uLQKl/qS8WYmyaljTpjIsw==",
"dev": true,
"requires": {
- "extend-shallow": "^2.0.1",
- "is-number": "^3.0.0",
- "repeat-string": "^1.6.1",
- "to-regex-range": "^2.1.0"
+ "esprima": "^4.0.0"
},
"dependencies": {
- "extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
- "dev": true,
- "requires": {
- "is-extendable": "^0.1.0"
- }
+ "esprima": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
+ "dev": true
}
}
},
- "find-up": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
+ "esquery": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz",
+ "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==",
+ "dev": true,
"requires": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
+ "estraverse": "^4.0.0"
},
"dependencies": {
- "locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "requires": {
- "p-locate": "^4.1.0"
- }
- },
- "p-limit": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",
- "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",
- "requires": {
- "p-try": "^2.0.0"
- }
- },
- "p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "requires": {
- "p-limit": "^2.2.0"
- }
- },
- "p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
+ "estraverse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
+ "dev": true
}
}
},
- "flat-cache": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz",
- "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==",
+ "esrecurse": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz",
+ "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==",
"dev": true,
"requires": {
- "flatted": "^2.0.0",
- "rimraf": "2.6.3",
- "write": "1.0.3"
+ "estraverse": "^4.1.0"
+ },
+ "dependencies": {
+ "estraverse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
+ "dev": true
+ }
}
},
- "flatted": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz",
- "integrity": "sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==",
- "dev": true
+ "estraverse": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.9.3.tgz",
+ "integrity": "sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q="
},
- "flush-write-stream": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz",
- "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==",
+ "esutils": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz",
+ "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs="
+ },
+ "etag": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
+ "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc="
+ },
+ "eth-block-tracker": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/eth-block-tracker/-/eth-block-tracker-3.0.1.tgz",
+ "integrity": "sha512-WUVxWLuhMmsfenfZvFO5sbl1qFY2IqUlw/FPVmjjdElpqLsZtSG+wPe9Dz7W/sB6e80HgFKknOmKk2eNlznHug==",
"requires": {
- "inherits": "^2.0.3",
- "readable-stream": "^2.3.6"
+ "eth-query": "^2.1.0",
+ "ethereumjs-tx": "^1.3.3",
+ "ethereumjs-util": "^5.1.3",
+ "ethjs-util": "^0.1.3",
+ "json-rpc-engine": "^3.6.0",
+ "pify": "^2.3.0",
+ "tape": "^4.6.3"
}
},
- "for-each": {
- "version": "0.3.3",
- "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
- "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==",
+ "eth-ens-namehash": {
+ "version": "2.0.8",
+ "resolved": "https://registry.npmjs.org/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz",
+ "integrity": "sha1-IprEbsqG1S4MmR58sq74P/D2i88=",
"requires": {
- "is-callable": "^1.1.3"
+ "idna-uts46-hx": "^2.3.1",
+ "js-sha3": "^0.5.7"
+ },
+ "dependencies": {
+ "js-sha3": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz",
+ "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc="
+ }
+ }
+ },
+ "eth-gas-reporter": {
+ "version": "0.2.11",
+ "resolved": "https://registry.npmjs.org/eth-gas-reporter/-/eth-gas-reporter-0.2.11.tgz",
+ "integrity": "sha512-u/bvq9IiBASAaBQ9mIy5yrJeMQzCFFoGWLOx6kxRkmuSrEXANiYRoYjKxfmKy9DcpgSYXg5Uu7Zlj/j0ufMYoQ==",
+ "dev": true,
+ "requires": {
+ "abi-decoder": "^2.2.0",
+ "cli-table3": "^0.5.0",
+ "colors": "^1.1.2",
+ "ethers": "^4.0.28",
+ "fs-readdir-recursive": "^1.1.0",
+ "lodash": "^4.17.14",
+ "markdown-table": "^1.1.3",
+ "mocha": "^5.2.0",
+ "req-cwd": "^2.0.0",
+ "request": "^2.88.0",
+ "request-promise-native": "^1.0.5",
+ "sha1": "^1.1.1",
+ "solidity-parser-antlr": "^0.4.2",
+ "sync-request": "^6.0.0"
}
},
- "for-in": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
- "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=",
- "dev": true
- },
- "forever-agent": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
- "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE="
- },
- "form-data": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
- "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
+ "eth-json-rpc-infura": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/eth-json-rpc-infura/-/eth-json-rpc-infura-3.2.1.tgz",
+ "integrity": "sha512-W7zR4DZvyTn23Bxc0EWsq4XGDdD63+XPUCEhV2zQvQGavDVC4ZpFDK4k99qN7bd7/fjj37+rxmuBOBeIqCA5Mw==",
"requires": {
- "asynckit": "^0.4.0",
- "combined-stream": "^1.0.6",
- "mime-types": "^2.1.12"
+ "cross-fetch": "^2.1.1",
+ "eth-json-rpc-middleware": "^1.5.0",
+ "json-rpc-engine": "^3.4.0",
+ "json-rpc-error": "^2.0.0"
}
},
- "fragment-cache": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",
- "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=",
- "dev": true,
+ "eth-json-rpc-middleware": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/eth-json-rpc-middleware/-/eth-json-rpc-middleware-1.6.0.tgz",
+ "integrity": "sha512-tDVCTlrUvdqHKqivYMjtFZsdD7TtpNLBCfKAcOpaVs7orBMS/A8HWro6dIzNtTZIR05FAbJ3bioFOnZpuCew9Q==",
"requires": {
- "map-cache": "^0.2.2"
+ "async": "^2.5.0",
+ "eth-query": "^2.1.2",
+ "eth-tx-summary": "^3.1.2",
+ "ethereumjs-block": "^1.6.0",
+ "ethereumjs-tx": "^1.3.3",
+ "ethereumjs-util": "^5.1.2",
+ "ethereumjs-vm": "^2.1.0",
+ "fetch-ponyfill": "^4.0.0",
+ "json-rpc-engine": "^3.6.0",
+ "json-rpc-error": "^2.0.0",
+ "json-stable-stringify": "^1.0.1",
+ "promise-to-callback": "^1.0.0",
+ "tape": "^4.6.3"
+ },
+ "dependencies": {
+ "async": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
+ "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
+ "requires": {
+ "lodash": "^4.17.14"
+ }
+ }
}
},
- "from2": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz",
- "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=",
+ "eth-lib": {
+ "version": "0.1.29",
+ "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.1.29.tgz",
+ "integrity": "sha512-bfttrr3/7gG4E02HoWTDUcDDslN003OlOoBxk9virpAZQ1ja/jDgwkWB8QfJF7ojuEowrqy+lzp9VcJG7/k5bQ==",
"requires": {
- "inherits": "^2.0.1",
- "readable-stream": "^2.0.0"
+ "bn.js": "^4.11.6",
+ "elliptic": "^6.4.0",
+ "nano-json-stream-parser": "^0.1.2",
+ "servify": "^0.1.12",
+ "ws": "^3.0.0",
+ "xhr-request-promise": "^0.1.2"
+ },
+ "dependencies": {
+ "ws": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz",
+ "integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==",
+ "requires": {
+ "async-limiter": "~1.0.0",
+ "safe-buffer": "~5.1.0",
+ "ultron": "~1.1.0"
+ }
+ }
}
},
- "fs-constants": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
- "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
- "optional": true
- },
- "fs-extra": {
- "version": "0.30.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz",
- "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=",
+ "eth-query": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/eth-query/-/eth-query-2.1.2.tgz",
+ "integrity": "sha1-1nQdkAAQa1FRDHLbktY2VFam2l4=",
"requires": {
- "graceful-fs": "^4.1.2",
- "jsonfile": "^2.1.0",
- "klaw": "^1.0.0",
- "path-is-absolute": "^1.0.0",
- "rimraf": "^2.2.8"
+ "json-rpc-random-id": "^1.0.0",
+ "xtend": "^4.0.1"
}
},
- "fs-minipass": {
- "version": "1.2.6",
- "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.6.tgz",
- "integrity": "sha512-crhvyXcMejjv3Z5d2Fa9sf5xLYVCF5O1c71QxbVnbLsmYMBEvDAftewesN/HhY03YRoA7zOMxjNGrF5svGaaeQ==",
+ "eth-sig-util": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/eth-sig-util/-/eth-sig-util-1.4.2.tgz",
+ "integrity": "sha1-jZWCAsftuq6Dlwf7pvCf8ydgYhA=",
"requires": {
- "minipass": "^2.2.1"
+ "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git",
+ "ethereumjs-util": "^5.1.1"
}
},
- "fs-readdir-recursive": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz",
- "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==",
- "dev": true
- },
- "fs-write-stream-atomic": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz",
- "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=",
+ "eth-tx-summary": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/eth-tx-summary/-/eth-tx-summary-3.2.4.tgz",
+ "integrity": "sha512-NtlDnaVZah146Rm8HMRUNMgIwG/ED4jiqk0TME9zFheMl1jOp6jL1m0NKGjJwehXQ6ZKCPr16MTr+qspKpEXNg==",
"requires": {
- "graceful-fs": "^4.1.2",
- "iferr": "^0.1.5",
- "imurmurhash": "^0.1.4",
- "readable-stream": "1 || 2"
+ "async": "^2.1.2",
+ "clone": "^2.0.0",
+ "concat-stream": "^1.5.1",
+ "end-of-stream": "^1.1.0",
+ "eth-query": "^2.0.2",
+ "ethereumjs-block": "^1.4.1",
+ "ethereumjs-tx": "^1.1.1",
+ "ethereumjs-util": "^5.0.1",
+ "ethereumjs-vm": "^2.6.0",
+ "through2": "^2.0.3"
+ },
+ "dependencies": {
+ "async": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
+ "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
+ "requires": {
+ "lodash": "^4.17.14"
+ }
+ }
}
},
- "fs.realpath": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
- },
- "fsevents": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz",
- "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==",
- "optional": true
- },
- "function-bind": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
- "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
+ "ethereum-bloom-filters": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.9.tgz",
+ "integrity": "sha512-GiK/RQkAkcVaEdxKVkPcG07PQ5vD7v2MFSHgZmBJSfMzNRHimntdBithsHAT89tAXnIpzVDWt8iaCD1DvkaxGg==",
+ "requires": {
+ "js-sha3": "^0.8.0"
+ },
+ "dependencies": {
+ "js-sha3": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz",
+ "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q=="
+ }
+ }
},
- "functional-red-black-tree": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
- "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc="
+ "ethereum-common": {
+ "version": "0.0.18",
+ "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.0.18.tgz",
+ "integrity": "sha1-L9w1dvIykDNYl26znaeDIT/5Uj8="
},
- "ganache-cli": {
- "version": "6.6.0",
- "resolved": "https://registry.npmjs.org/ganache-cli/-/ganache-cli-6.6.0.tgz",
- "integrity": "sha512-6egwnHYLaROx9z1NjmyX/wAqhkqg+CleRh5cegiUn+2za17kZnmeYiSfjMfmo0hUf/d8LsvwZ9xuBhRjoXr51Q==",
- "dev": true,
+ "ethereum-cryptography": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz",
+ "integrity": "sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ==",
"requires": {
- "ethereumjs-util": "6.1.0",
- "source-map-support": "0.5.12",
- "yargs": "13.2.4"
+ "@types/pbkdf2": "^3.0.0",
+ "@types/secp256k1": "^4.0.1",
+ "blakejs": "^1.1.0",
+ "browserify-aes": "^1.2.0",
+ "bs58check": "^2.1.2",
+ "create-hash": "^1.2.0",
+ "create-hmac": "^1.1.7",
+ "hash.js": "^1.1.7",
+ "keccak": "^3.0.0",
+ "pbkdf2": "^3.0.17",
+ "randombytes": "^2.1.0",
+ "safe-buffer": "^5.1.2",
+ "scrypt-js": "^3.0.0",
+ "secp256k1": "^4.0.1",
+ "setimmediate": "^1.0.5"
},
"dependencies": {
- "ansi-regex": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
- "dev": true
- },
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dev": true,
- "requires": {
- "color-convert": "^1.9.0"
- }
- },
- "bindings": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
- "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
- "dev": true,
- "requires": {
- "file-uri-to-path": "1.0.0"
- }
- },
- "bip66": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz",
- "integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=",
- "dev": true,
- "requires": {
- "safe-buffer": "^5.0.1"
- }
- },
- "bn.js": {
- "version": "4.11.8",
- "resolved": false,
- "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==",
- "dev": true
- },
- "brorand": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",
- "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=",
- "dev": true
- },
- "browserify-aes": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
- "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",
- "dev": true,
- "requires": {
- "buffer-xor": "^1.0.3",
- "cipher-base": "^1.0.0",
- "create-hash": "^1.1.0",
- "evp_bytestokey": "^1.0.3",
- "inherits": "^2.0.1",
- "safe-buffer": "^5.0.1"
- }
- },
- "buffer-from": {
- "version": "1.1.1",
- "resolved": false,
- "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",
- "dev": true
- },
- "buffer-xor": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz",
- "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=",
- "dev": true
- },
- "camelcase": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
- "dev": true
- },
- "cipher-base": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz",
- "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==",
- "dev": true,
- "requires": {
- "inherits": "^2.0.1",
- "safe-buffer": "^5.0.1"
- }
- },
- "cliui": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
- "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==",
- "dev": true,
- "requires": {
- "string-width": "^3.1.0",
- "strip-ansi": "^5.2.0",
- "wrap-ansi": "^5.1.0"
- }
- },
- "color-convert": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
- "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
- "dev": true,
- "requires": {
- "color-name": "1.1.3"
- }
- },
- "color-name": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
- "dev": true
- },
- "create-hash": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz",
- "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==",
- "dev": true,
- "requires": {
- "cipher-base": "^1.0.1",
- "inherits": "^2.0.1",
- "md5.js": "^1.3.4",
- "ripemd160": "^2.0.1",
- "sha.js": "^2.4.0"
- }
- },
- "create-hmac": {
- "version": "1.1.7",
- "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz",
- "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==",
- "dev": true,
- "requires": {
- "cipher-base": "^1.0.3",
- "create-hash": "^1.1.0",
- "inherits": "^2.0.1",
- "ripemd160": "^2.0.0",
- "safe-buffer": "^5.0.1",
- "sha.js": "^2.4.8"
- }
- },
- "cross-spawn": {
- "version": "6.0.5",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
- "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
- "dev": true,
- "requires": {
- "nice-try": "^1.0.4",
- "path-key": "^2.0.1",
- "semver": "^5.5.0",
- "shebang-command": "^1.2.0",
- "which": "^1.2.9"
- }
- },
- "decamelize": {
- "version": "1.2.0",
- "resolved": false,
- "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=",
- "dev": true
- },
- "drbg.js": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz",
- "integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=",
- "dev": true,
- "requires": {
- "browserify-aes": "^1.0.6",
- "create-hash": "^1.1.2",
- "create-hmac": "^1.1.4"
- }
- },
- "elliptic": {
- "version": "6.5.0",
- "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.0.tgz",
- "integrity": "sha512-eFOJTMyCYb7xtE/caJ6JJu+bhi67WCYNbkGSknu20pmM8Ke/bqOfdnZWxyoGN26JgfxTbXrsCkEw4KheCT/KGg==",
- "dev": true,
+ "keccak": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/keccak/-/keccak-3.0.1.tgz",
+ "integrity": "sha512-epq90L9jlFWCW7+pQa6JOnKn2Xgl2mtI664seYR6MHskvI9agt7AnDqmAlp9TqU4/caMYbA08Hi5DMZAl5zdkA==",
"requires": {
- "bn.js": "^4.4.0",
- "brorand": "^1.0.1",
- "hash.js": "^1.0.0",
- "hmac-drbg": "^1.0.0",
- "inherits": "^2.0.1",
- "minimalistic-assert": "^1.0.0",
- "minimalistic-crypto-utils": "^1.0.0"
+ "node-addon-api": "^2.0.0",
+ "node-gyp-build": "^4.2.0"
}
},
- "emoji-regex": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
- "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
- "dev": true
+ "scrypt-js": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz",
+ "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA=="
},
- "end-of-stream": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz",
- "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==",
- "dev": true,
+ "secp256k1": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.2.tgz",
+ "integrity": "sha512-UDar4sKvWAksIlfX3xIaQReADn+WFnHvbVujpcbr+9Sf/69odMwy2MUsz5CKLQgX9nsIyrjuxL2imVyoNHa3fg==",
"requires": {
- "once": "^1.4.0"
+ "elliptic": "^6.5.2",
+ "node-addon-api": "^2.0.0",
+ "node-gyp-build": "^4.2.0"
}
},
+ "setimmediate": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
+ "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="
+ }
+ }
+ },
+ "ethereum-types": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/ethereum-types/-/ethereum-types-3.2.0.tgz",
+ "integrity": "sha512-osxikvWF2CuHauo2jiBpGalLXbCj5xWm2WcNr+Z4sNTk7z6DArPNXwsgANu2bA+aAsqSSF4NgsNx8JS1d3xdOQ==",
+ "requires": {
+ "@types/node": "*",
+ "bignumber.js": "~9.0.0"
+ }
+ },
+ "ethereumjs-abi": {
+ "version": "git+ssh://git@github.com/ethereumjs/ethereumjs-abi.git#1a27c59c15ab1e95ee8e5c4ed6ad814c49cc439e",
+ "from": "ethereumjs-abi@0.6.8",
+ "requires": {
+ "bn.js": "^4.11.8",
+ "ethereumjs-util": "^6.0.0"
+ },
+ "dependencies": {
"ethereumjs-util": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.1.0.tgz",
"integrity": "sha512-URESKMFbDeJxnAxPppnk2fN6Y3BIatn9fwn76Lm8bQlt+s52TpG8dN9M66MLPuRAiAOIqL3dfwqWJf0sd0fL0Q==",
- "dev": true,
"requires": {
"bn.js": "^4.11.0",
"create-hash": "^1.1.2",
@@ -5399,541 +46079,1143 @@
"safe-buffer": "^5.1.1",
"secp256k1": "^3.0.1"
}
- },
- "ethjs-util": {
- "version": "0.1.6",
- "resolved": "https://registry.npmjs.org/ethjs-util/-/ethjs-util-0.1.6.tgz",
- "integrity": "sha512-CUnVOQq7gSpDHZVVrQW8ExxUETWrnrvXYvYz55wOU8Uj4VCgw56XC2B/fVqQN+f7gmrnRHSLVnFAwsCuNwji8w==",
- "dev": true,
- "requires": {
- "is-hex-prefixed": "1.0.0",
- "strip-hex-prefix": "1.0.0"
- }
- },
- "evp_bytestokey": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz",
- "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==",
- "dev": true,
+ }
+ }
+ },
+ "ethereumjs-account": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/ethereumjs-account/-/ethereumjs-account-2.0.5.tgz",
+ "integrity": "sha512-bgDojnXGjhMwo6eXQC0bY6UK2liSFUSMwwylOmQvZbSl/D7NXQ3+vrGO46ZeOgjGfxXmgIeVNDIiHw7fNZM4VA==",
+ "requires": {
+ "ethereumjs-util": "^5.0.0",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "ethereumjs-block": {
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-1.7.1.tgz",
+ "integrity": "sha512-B+sSdtqm78fmKkBq78/QLKJbu/4Ts4P2KFISdgcuZUPDm9x+N7qgBPIIFUGbaakQh8bzuquiRVbdmvPKqbILRg==",
+ "requires": {
+ "async": "^2.0.1",
+ "ethereum-common": "0.2.0",
+ "ethereumjs-tx": "^1.2.2",
+ "ethereumjs-util": "^5.0.0",
+ "merkle-patricia-tree": "^2.1.2"
+ },
+ "dependencies": {
+ "async": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
+ "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
"requires": {
- "md5.js": "^1.3.4",
- "safe-buffer": "^5.1.1"
+ "lodash": "^4.17.14"
}
},
- "execa": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
- "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
- "dev": true,
+ "ethereum-common": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.2.0.tgz",
+ "integrity": "sha512-XOnAR/3rntJgbCdGhqdaLIxDLWKLmsZOGhHdBKadEr6gEnJLH52k93Ou+TUdFaPN3hJc3isBZBal3U/XZ15abA=="
+ }
+ }
+ },
+ "ethereumjs-common": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/ethereumjs-common/-/ethereumjs-common-1.5.1.tgz",
+ "integrity": "sha512-aVUPRLgmXORGXXEVkFYgPhr9TGtpBY2tGhZ9Uh0A3lIUzUDr1x6kQx33SbjPUkLkX3eniPQnIL/2psjkjrOfcQ=="
+ },
+ "ethereumjs-tx": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-1.3.7.tgz",
+ "integrity": "sha512-wvLMxzt1RPhAQ9Yi3/HKZTn0FZYpnsmQdbKYfUUpi4j1SEIcbkd9tndVjcPrufY3V7j2IebOpC00Zp2P/Ay2kA==",
+ "requires": {
+ "ethereum-common": "^0.0.18",
+ "ethereumjs-util": "^5.0.0"
+ }
+ },
+ "ethereumjs-util": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz",
+ "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==",
+ "requires": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "ethjs-util": "^0.1.3",
+ "keccak": "^1.0.2",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1",
+ "secp256k1": "^3.0.1"
+ }
+ },
+ "ethereumjs-vm": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/ethereumjs-vm/-/ethereumjs-vm-2.6.0.tgz",
+ "integrity": "sha512-r/XIUik/ynGbxS3y+mvGnbOKnuLo40V5Mj1J25+HEO63aWYREIqvWeRO/hnROlMBE5WoniQmPmhiaN0ctiHaXw==",
+ "requires": {
+ "async": "^2.1.2",
+ "async-eventemitter": "^0.2.2",
+ "ethereumjs-account": "^2.0.3",
+ "ethereumjs-block": "~2.2.0",
+ "ethereumjs-common": "^1.1.0",
+ "ethereumjs-util": "^6.0.0",
+ "fake-merkle-patricia-tree": "^1.0.1",
+ "functional-red-black-tree": "^1.0.1",
+ "merkle-patricia-tree": "^2.3.2",
+ "rustbn.js": "~0.2.0",
+ "safe-buffer": "^5.1.1"
+ },
+ "dependencies": {
+ "async": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
+ "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
"requires": {
- "cross-spawn": "^6.0.0",
- "get-stream": "^4.0.0",
- "is-stream": "^1.1.0",
- "npm-run-path": "^2.0.0",
- "p-finally": "^1.0.0",
- "signal-exit": "^3.0.0",
- "strip-eof": "^1.0.0"
+ "lodash": "^4.17.14"
}
},
- "file-uri-to-path": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
- "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
- "dev": true
- },
- "find-up": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
- "dev": true,
+ "ethereumjs-block": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-2.2.2.tgz",
+ "integrity": "sha512-2p49ifhek3h2zeg/+da6XpdFR3GlqY3BIEiqxGF8j9aSRIgkb7M1Ky+yULBKJOu8PAZxfhsYA+HxUk2aCQp3vg==",
"requires": {
- "locate-path": "^3.0.0"
+ "async": "^2.0.1",
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-tx": "^2.1.1",
+ "ethereumjs-util": "^5.0.0",
+ "merkle-patricia-tree": "^2.1.2"
+ },
+ "dependencies": {
+ "ethereumjs-util": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.1.tgz",
+ "integrity": "sha512-v3kT+7zdyCm1HIqWlLNrHGqHGLpGYIhjeHxQjnDXjLT2FyGJDsd3LWMYUo7pAFRrk86CR3nUJfhC81CCoJNNGQ==",
+ "requires": {
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "elliptic": "^6.5.2",
+ "ethereum-cryptography": "^0.1.3",
+ "ethjs-util": "^0.1.3",
+ "rlp": "^2.0.0",
+ "safe-buffer": "^5.1.1"
+ }
+ }
}
},
- "get-caller-file": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
- "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
- "dev": true
- },
- "get-stream": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
- "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
- "dev": true,
+ "ethereumjs-tx": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-2.1.2.tgz",
+ "integrity": "sha512-zZEK1onCeiORb0wyCXUvg94Ve5It/K6GD1K+26KfFKodiBiS6d9lfCXlUKGBBdQ+bv7Day+JK0tj1K+BeNFRAw==",
"requires": {
- "pump": "^3.0.0"
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-util": "^6.0.0"
}
},
- "hash-base": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz",
- "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=",
- "dev": true,
+ "ethereumjs-util": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.1.tgz",
+ "integrity": "sha512-W2Ktez4L01Vexijrm5EB6w7dg4n/TgpoYU4avuT5T3Vmnw/eCRtiBrJfQYS/DCSvDIOLn2k57GcHdeBcgVxAqw==",
"requires": {
- "inherits": "^2.0.1",
- "safe-buffer": "^5.0.1"
+ "@types/bn.js": "^4.11.3",
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "elliptic": "^6.5.2",
+ "ethereum-cryptography": "^0.1.3",
+ "ethjs-util": "0.1.6",
+ "rlp": "^2.2.3"
}
- },
+ }
+ }
+ },
+ "ethers": {
+ "version": "4.0.48",
+ "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.48.tgz",
+ "integrity": "sha512-sZD5K8H28dOrcidzx9f8KYh8083n5BexIO3+SbE4jK83L85FxtpXZBCQdXb8gkg+7sBqomcLhhkU7UHL+F7I2g==",
+ "requires": {
+ "aes-js": "3.0.0",
+ "bn.js": "^4.4.0",
+ "elliptic": "6.5.3",
+ "hash.js": "1.1.3",
+ "js-sha3": "0.5.7",
+ "scrypt-js": "2.0.4",
+ "setimmediate": "1.0.4",
+ "uuid": "2.0.1",
+ "xmlhttprequest": "1.8.0"
+ },
+ "dependencies": {
"hash.js": {
- "version": "1.1.7",
- "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz",
- "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==",
- "dev": true,
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz",
+ "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==",
"requires": {
"inherits": "^2.0.3",
- "minimalistic-assert": "^1.0.1"
+ "minimalistic-assert": "^1.0.0"
}
},
- "hmac-drbg": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz",
- "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=",
+ "js-sha3": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz",
+ "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc="
+ },
+ "uuid": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz",
+ "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w="
+ }
+ }
+ },
+ "ethjs-unit": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/ethjs-unit/-/ethjs-unit-0.1.6.tgz",
+ "integrity": "sha1-xmWSHkduh7ziqdWIpv4EBbLEFpk=",
+ "requires": {
+ "bn.js": "4.11.6",
+ "number-to-bn": "1.7.0"
+ },
+ "dependencies": {
+ "bn.js": {
+ "version": "4.11.6",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz",
+ "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU="
+ }
+ }
+ },
+ "ethjs-util": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/ethjs-util/-/ethjs-util-0.1.6.tgz",
+ "integrity": "sha512-CUnVOQq7gSpDHZVVrQW8ExxUETWrnrvXYvYz55wOU8Uj4VCgw56XC2B/fVqQN+f7gmrnRHSLVnFAwsCuNwji8w==",
+ "requires": {
+ "is-hex-prefixed": "1.0.0",
+ "strip-hex-prefix": "1.0.0"
+ }
+ },
+ "event-iterator": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/event-iterator/-/event-iterator-2.0.0.tgz",
+ "integrity": "sha512-KGft0ldl31BZVV//jj+IAIGCxkvvUkkON+ScH6zfoX+l+omX6001ggyRSpI0Io2Hlro0ThXotswCtfzS8UkIiQ==",
+ "optional": true
+ },
+ "event-target-shim": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
+ "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==",
+ "optional": true
+ },
+ "eventemitter3": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.2.tgz",
+ "integrity": "sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q=="
+ },
+ "events": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
+ "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q=="
+ },
+ "eventsource": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-1.1.0.tgz",
+ "integrity": "sha512-VSJjT5oCNrFvCS6igjzPAt5hBzQ2qPBFIbJ03zLI9SE0mxwZpMw6BfJrbFHm1a141AavMEB8JHmBhWAd66PfCg==",
+ "optional": true,
+ "requires": {
+ "original": "^1.0.0"
+ }
+ },
+ "evp_bytestokey": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz",
+ "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==",
+ "requires": {
+ "md5.js": "^1.3.4",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "execa": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz",
+ "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=",
+ "requires": {
+ "cross-spawn": "^5.0.1",
+ "get-stream": "^3.0.0",
+ "is-stream": "^1.1.0",
+ "npm-run-path": "^2.0.0",
+ "p-finally": "^1.0.0",
+ "signal-exit": "^3.0.0",
+ "strip-eof": "^1.0.0"
+ }
+ },
+ "expand-brackets": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",
+ "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=",
+ "dev": true,
+ "requires": {
+ "debug": "^2.3.3",
+ "define-property": "^0.2.5",
+ "extend-shallow": "^2.0.1",
+ "posix-character-classes": "^0.1.0",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.1"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dev": true,
"requires": {
- "hash.js": "^1.0.3",
- "minimalistic-assert": "^1.0.0",
- "minimalistic-crypto-utils": "^1.0.1"
+ "ms": "2.0.0"
}
},
- "inherits": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
- },
- "invert-kv": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz",
- "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==",
- "dev": true
- },
- "is-fullwidth-code-point": {
- "version": "2.0.0",
- "resolved": false,
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
- "dev": true
- },
- "is-hex-prefixed": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz",
- "integrity": "sha1-fY035q135dEnFIkTxXPggtd39VQ=",
- "dev": true
- },
- "is-stream": {
- "version": "1.1.0",
- "resolved": false,
- "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",
- "dev": true
- },
- "isexe": {
- "version": "2.0.0",
- "resolved": false,
- "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
- "dev": true
- },
- "keccak": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/keccak/-/keccak-1.4.0.tgz",
- "integrity": "sha512-eZVaCpblK5formjPjeTBik7TAg+pqnDrMHIffSvi9Lh7PQgM1+hSzakUeZFCk9DVVG0dacZJuaz2ntwlzZUIBw==",
+ "define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
"dev": true,
"requires": {
- "bindings": "^1.2.1",
- "inherits": "^2.0.3",
- "nan": "^2.2.1",
- "safe-buffer": "^5.1.0"
+ "is-descriptor": "^0.1.0"
}
},
- "lcid": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz",
- "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==",
+ "extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
"dev": true,
"requires": {
- "invert-kv": "^2.0.0"
+ "is-extendable": "^0.1.0"
}
- },
- "locate-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
- "dev": true,
+ }
+ }
+ },
+ "expand-range": {
+ "version": "1.8.2",
+ "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz",
+ "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=",
+ "optional": true,
+ "requires": {
+ "fill-range": "^2.1.0"
+ },
+ "dependencies": {
+ "fill-range": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz",
+ "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==",
+ "optional": true,
"requires": {
- "p-locate": "^3.0.0",
- "path-exists": "^3.0.0"
+ "is-number": "^2.1.0",
+ "isobject": "^2.0.0",
+ "randomatic": "^3.0.0",
+ "repeat-element": "^1.1.2",
+ "repeat-string": "^1.5.2"
}
},
- "map-age-cleaner": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz",
- "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==",
- "dev": true,
+ "is-number": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz",
+ "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=",
+ "optional": true,
"requires": {
- "p-defer": "^1.0.0"
+ "kind-of": "^3.0.2"
}
},
- "md5.js": {
- "version": "1.3.5",
- "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz",
- "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==",
- "dev": true,
+ "isobject": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
+ "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",
+ "optional": true,
"requires": {
- "hash-base": "^3.0.0",
- "inherits": "^2.0.1",
- "safe-buffer": "^5.1.2"
+ "isarray": "1.0.0"
}
},
- "mem": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/mem/-/mem-4.3.0.tgz",
- "integrity": "sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w==",
- "dev": true,
+ "kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "optional": true,
"requires": {
- "map-age-cleaner": "^0.1.1",
- "mimic-fn": "^2.0.0",
- "p-is-promise": "^2.0.0"
+ "is-buffer": "^1.1.5"
+ }
+ }
+ }
+ },
+ "expand-template": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
+ "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==",
+ "optional": true
+ },
+ "express": {
+ "version": "4.17.1",
+ "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz",
+ "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==",
+ "requires": {
+ "accepts": "~1.3.7",
+ "array-flatten": "1.1.1",
+ "body-parser": "1.19.0",
+ "content-disposition": "0.5.3",
+ "content-type": "~1.0.4",
+ "cookie": "0.4.0",
+ "cookie-signature": "1.0.6",
+ "debug": "2.6.9",
+ "depd": "~1.1.2",
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "etag": "~1.8.1",
+ "finalhandler": "~1.1.2",
+ "fresh": "0.5.2",
+ "merge-descriptors": "1.0.1",
+ "methods": "~1.1.2",
+ "on-finished": "~2.3.0",
+ "parseurl": "~1.3.3",
+ "path-to-regexp": "0.1.7",
+ "proxy-addr": "~2.0.5",
+ "qs": "6.7.0",
+ "range-parser": "~1.2.1",
+ "safe-buffer": "5.1.2",
+ "send": "0.17.1",
+ "serve-static": "1.14.1",
+ "setprototypeof": "1.1.1",
+ "statuses": "~1.5.0",
+ "type-is": "~1.6.18",
+ "utils-merge": "1.0.1",
+ "vary": "~1.1.2"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "requires": {
+ "ms": "2.0.0"
}
},
- "mimic-fn": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
- "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
- "dev": true
- },
- "minimalistic-assert": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",
- "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==",
- "dev": true
- },
- "minimalistic-crypto-utils": {
+ "qs": {
+ "version": "6.7.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
+ "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ=="
+ }
+ }
+ },
+ "ext": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz",
+ "integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==",
+ "requires": {
+ "type": "^2.0.0"
+ },
+ "dependencies": {
+ "type": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/type/-/type-2.5.0.tgz",
+ "integrity": "sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw=="
+ }
+ }
+ },
+ "extend": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
+ },
+ "extend-shallow": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz",
+ "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=",
+ "dev": true,
+ "requires": {
+ "assign-symbols": "^1.0.0",
+ "is-extendable": "^1.0.1"
+ },
+ "dependencies": {
+ "is-extendable": {
"version": "1.0.1",
- "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz",
- "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=",
- "dev": true
- },
- "nan": {
- "version": "2.14.0",
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
- "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==",
- "dev": true
- },
- "nice-try": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
- "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
- "dev": true
- },
- "npm-run-path": {
- "version": "2.0.2",
- "resolved": false,
- "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=",
+ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
+ "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
"dev": true,
"requires": {
- "path-key": "^2.0.0"
+ "is-plain-object": "^2.0.4"
}
- },
- "once": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
- "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
+ }
+ }
+ },
+ "external-editor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz",
+ "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==",
+ "dev": true,
+ "requires": {
+ "chardet": "^0.7.0",
+ "iconv-lite": "^0.4.24",
+ "tmp": "^0.0.33"
+ }
+ },
+ "extglob": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",
+ "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==",
+ "dev": true,
+ "requires": {
+ "array-unique": "^0.3.2",
+ "define-property": "^1.0.0",
+ "expand-brackets": "^2.1.4",
+ "extend-shallow": "^2.0.1",
+ "fragment-cache": "^0.2.1",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.1"
+ },
+ "dependencies": {
+ "define-property": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
+ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
"dev": true,
"requires": {
- "wrappy": "1"
+ "is-descriptor": "^1.0.0"
}
},
- "os-locale": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz",
- "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==",
+ "extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
"dev": true,
"requires": {
- "execa": "^1.0.0",
- "lcid": "^2.0.0",
- "mem": "^4.0.0"
+ "is-extendable": "^0.1.0"
}
},
- "p-defer": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz",
- "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=",
- "dev": true
- },
- "p-finally": {
+ "is-accessor-descriptor": {
"version": "1.0.0",
- "resolved": false,
- "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=",
- "dev": true
- },
- "p-is-promise": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.1.0.tgz",
- "integrity": "sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==",
- "dev": true
- },
- "p-limit": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",
- "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
"dev": true,
"requires": {
- "p-try": "^2.0.0"
+ "kind-of": "^6.0.0"
}
},
- "p-locate": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "is-data-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
"dev": true,
"requires": {
- "p-limit": "^2.0.0"
+ "kind-of": "^6.0.0"
}
},
- "p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
- "dev": true
- },
- "path-exists": {
- "version": "3.0.0",
- "resolved": false,
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
- "dev": true
- },
- "path-key": {
- "version": "2.0.1",
- "resolved": false,
- "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=",
- "dev": true
- },
- "pump": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
- "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "is-descriptor": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
"dev": true,
"requires": {
- "end-of-stream": "^1.1.0",
- "once": "^1.3.1"
+ "is-accessor-descriptor": "^1.0.0",
+ "is-data-descriptor": "^1.0.0",
+ "kind-of": "^6.0.2"
+ }
+ }
+ }
+ },
+ "extract-comments": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/extract-comments/-/extract-comments-1.1.0.tgz",
+ "integrity": "sha512-dzbZV2AdSSVW/4E7Ti5hZdHWbA+Z80RJsJhr5uiL10oyjl/gy7/o+HI1HwK4/WSZhlq4SNKU3oUzXlM13Qx02Q==",
+ "dev": true,
+ "requires": {
+ "esprima-extract-comments": "^1.1.0",
+ "parse-code-context": "^1.0.0"
+ }
+ },
+ "extract-files": {
+ "version": "9.0.0",
+ "resolved": "https://registry.npmjs.org/extract-files/-/extract-files-9.0.0.tgz",
+ "integrity": "sha512-CvdFfHkC95B4bBBk36hcEmvdR2awOdhhVUYH6S/zrVj3477zven/fJMYg7121h4T1xHZC+tetUpubpAhxwI7hQ==",
+ "optional": true
+ },
+ "extsprintf": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
+ "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
+ },
+ "fake-merkle-patricia-tree": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/fake-merkle-patricia-tree/-/fake-merkle-patricia-tree-1.0.1.tgz",
+ "integrity": "sha1-S4w6z7Ugr635hgsfFM2M40As3dM=",
+ "requires": {
+ "checkpoint-store": "^1.1.0"
+ }
+ },
+ "faker": {
+ "version": "5.5.3",
+ "resolved": "https://registry.npmjs.org/faker/-/faker-5.5.3.tgz",
+ "integrity": "sha512-wLTv2a28wjUyWkbnX7u/ABZBkUkIF2fCd73V6P2oFqEGEktDfzWx4UxrSqtPRw0xPRAcjeAOIiJWqZm3pP4u3g=="
+ },
+ "fast-check": {
+ "version": "2.14.0",
+ "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-2.14.0.tgz",
+ "integrity": "sha512-4hm0ioyEVCwgjBLBqriwAFYu3/yc7pNH9fBfvzi6JRWRs4R3mwZwrr/d4MHbY0fTBJ0Uakg4TaMAAQ8Cnt2+KQ==",
+ "requires": {
+ "pure-rand": "^4.1.1"
+ }
+ },
+ "fast-deep-equal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
+ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk="
+ },
+ "fast-diff": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz",
+ "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w=="
+ },
+ "fast-fifo": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.0.0.tgz",
+ "integrity": "sha512-4VEXmjxLj7sbs8J//cn2qhRap50dGzF5n8fjay8mau+Jn4hxSeR3xPFwxMaQq/pDaq7+KQk0PAbC2+nWDkJrmQ==",
+ "optional": true
+ },
+ "fast-future": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/fast-future/-/fast-future-1.0.2.tgz",
+ "integrity": "sha1-hDWpqqAteSSNF9cE52JZMB2ZKAo=",
+ "optional": true
+ },
+ "fast-glob": {
+ "version": "3.2.5",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.5.tgz",
+ "integrity": "sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg==",
+ "optional": true,
+ "requires": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.0",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.2",
+ "picomatch": "^2.2.1"
+ },
+ "dependencies": {
+ "braces": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "optional": true,
+ "requires": {
+ "fill-range": "^7.0.1"
}
},
- "require-directory": {
- "version": "2.1.1",
- "resolved": false,
- "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=",
- "dev": true
- },
- "require-main-filename": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
- "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
- "dev": true
- },
- "ripemd160": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz",
- "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==",
- "dev": true,
+ "fill-range": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "optional": true,
"requires": {
- "hash-base": "^3.0.0",
- "inherits": "^2.0.1"
+ "to-regex-range": "^5.0.1"
}
},
- "rlp": {
- "version": "2.2.3",
- "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.3.tgz",
- "integrity": "sha512-l6YVrI7+d2vpW6D6rS05x2Xrmq8oW7v3pieZOJKBEdjuTF4Kz/iwk55Zyh1Zaz+KOB2kC8+2jZlp2u9L4tTzCQ==",
- "dev": true,
+ "glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "optional": true,
"requires": {
- "bn.js": "^4.11.1",
- "safe-buffer": "^5.1.1"
+ "is-glob": "^4.0.1"
}
},
- "safe-buffer": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz",
- "integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==",
- "dev": true
+ "is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "optional": true
},
- "secp256k1": {
- "version": "3.7.1",
- "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.7.1.tgz",
- "integrity": "sha512-1cf8sbnRreXrQFdH6qsg2H71Xw91fCCS9Yp021GnUNJzWJS/py96fS4lHbnTnouLp08Xj6jBoBB6V78Tdbdu5g==",
- "dev": true,
+ "micromatch": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz",
+ "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==",
+ "optional": true,
"requires": {
- "bindings": "^1.5.0",
- "bip66": "^1.1.5",
- "bn.js": "^4.11.8",
- "create-hash": "^1.2.0",
- "drbg.js": "^1.0.1",
- "elliptic": "^6.4.1",
- "nan": "^2.14.0",
- "safe-buffer": "^5.1.2"
+ "braces": "^3.0.1",
+ "picomatch": "^2.2.3"
}
},
- "semver": {
- "version": "5.7.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz",
- "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==",
- "dev": true
- },
- "set-blocking": {
- "version": "2.0.0",
- "resolved": false,
- "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=",
- "dev": true
- },
- "sha.js": {
- "version": "2.4.11",
- "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",
- "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==",
- "dev": true,
+ "to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "optional": true,
"requires": {
- "inherits": "^2.0.1",
- "safe-buffer": "^5.0.1"
+ "is-number": "^7.0.0"
}
- },
- "shebang-command": {
- "version": "1.2.0",
- "resolved": false,
- "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=",
- "dev": true,
+ }
+ }
+ },
+ "fast-json-stable-stringify": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz",
+ "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I="
+ },
+ "fast-levenshtein": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
+ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc="
+ },
+ "fast-sha256": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/fast-sha256/-/fast-sha256-1.3.0.tgz",
+ "integrity": "sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==",
+ "optional": true
+ },
+ "fastestsmallesttextencoderdecoder": {
+ "version": "1.0.22",
+ "resolved": "https://registry.npmjs.org/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz",
+ "integrity": "sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw==",
+ "optional": true
+ },
+ "fastq": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz",
+ "integrity": "sha512-7Eczs8gIPDrVzT+EksYBcupqMyxSHXXrHOLRRxU2/DicV8789MRBRR8+Hc2uWzUupOs4YS4JzBmBxjjCVBxD/g==",
+ "optional": true,
+ "requires": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "fb-watchman": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz",
+ "integrity": "sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==",
+ "optional": true,
+ "requires": {
+ "bser": "2.1.1"
+ }
+ },
+ "fbjs": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-3.0.0.tgz",
+ "integrity": "sha512-dJd4PiDOFuhe7vk4F80Mba83Vr2QuK86FoxtgPmzBqEJahncp+13YCmfoa53KHCo6OnlXLG7eeMWPfB5CrpVKg==",
+ "optional": true,
+ "requires": {
+ "cross-fetch": "^3.0.4",
+ "fbjs-css-vars": "^1.0.0",
+ "loose-envify": "^1.0.0",
+ "object-assign": "^4.1.0",
+ "promise": "^7.1.1",
+ "setimmediate": "^1.0.5",
+ "ua-parser-js": "^0.7.18"
+ },
+ "dependencies": {
+ "cross-fetch": {
+ "version": "3.1.4",
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz",
+ "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==",
+ "optional": true,
"requires": {
- "shebang-regex": "^1.0.0"
+ "node-fetch": "2.6.1"
}
},
- "shebang-regex": {
- "version": "1.0.0",
- "resolved": false,
- "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=",
- "dev": true
- },
- "signal-exit": {
- "version": "3.0.2",
- "resolved": false,
- "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=",
- "dev": true
- },
- "source-map": {
- "version": "0.6.1",
- "resolved": false,
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true
- },
- "source-map-support": {
- "version": "0.5.12",
- "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.12.tgz",
- "integrity": "sha512-4h2Pbvyy15EE02G+JOZpUCmqWJuqrs+sEkzewTm++BPi7Hvn/HwcqLAcNxYAyI0x13CpPPn+kMjl+hplXMHITQ==",
- "dev": true,
- "requires": {
- "buffer-from": "^1.0.0",
- "source-map": "^0.6.0"
- }
+ "node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true
},
- "string-width": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
- "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
- "dev": true,
+ "promise": {
+ "version": "7.3.1",
+ "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz",
+ "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==",
+ "optional": true,
"requires": {
- "emoji-regex": "^7.0.1",
- "is-fullwidth-code-point": "^2.0.0",
- "strip-ansi": "^5.1.0"
+ "asap": "~2.0.3"
}
},
- "strip-ansi": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
- "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
- "dev": true,
- "requires": {
- "ansi-regex": "^4.1.0"
- }
+ "setimmediate": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
+ "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=",
+ "optional": true
+ }
+ }
+ },
+ "fbjs-css-vars": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/fbjs-css-vars/-/fbjs-css-vars-1.0.2.tgz",
+ "integrity": "sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==",
+ "optional": true
+ },
+ "fetch-cookie": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/fetch-cookie/-/fetch-cookie-0.7.0.tgz",
+ "integrity": "sha512-Mm5pGlT3agW6t71xVM7vMZPIvI7T4FaTuFW4jari6dVzYHFDb3WZZsGpN22r/o3XMdkM0E7sPd1EGeyVbH2Tgg==",
+ "optional": true,
+ "requires": {
+ "es6-denodeify": "^0.1.1",
+ "tough-cookie": "^2.3.1"
+ }
+ },
+ "fetch-ponyfill": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/fetch-ponyfill/-/fetch-ponyfill-4.1.0.tgz",
+ "integrity": "sha1-rjzl9zLGReq4fkroeTQUcJsjmJM=",
+ "requires": {
+ "node-fetch": "~1.7.1"
+ }
+ },
+ "figgy-pudding": {
+ "version": "3.5.1",
+ "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz",
+ "integrity": "sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w=="
+ },
+ "figures": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
+ "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=",
+ "dev": true,
+ "requires": {
+ "escape-string-regexp": "^1.0.5"
+ }
+ },
+ "file-entry-cache": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz",
+ "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==",
+ "dev": true,
+ "requires": {
+ "flat-cache": "^2.0.1"
+ }
+ },
+ "file-uri-to-path": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
+ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw=="
+ },
+ "filecoin.js": {
+ "version": "0.0.5-alpha",
+ "resolved": "https://registry.npmjs.org/filecoin.js/-/filecoin.js-0.0.5-alpha.tgz",
+ "integrity": "sha512-xPrB86vDnTPfmvtN/rJSrhl4M77694ruOgNXd0+5gP67mgmCDhStLCqcr+zHIDRgDpraf7rY+ELbwjXZcQNdpQ==",
+ "optional": true,
+ "requires": {
+ "@ledgerhq/hw-transport-webusb": "^5.22.0",
+ "@nodefactory/filsnap-adapter": "^0.2.1",
+ "@nodefactory/filsnap-types": "^0.2.1",
+ "@zondax/filecoin-signing-tools": "github:Digital-MOB-Filecoin/filecoin-signing-tools-js",
+ "bignumber.js": "^9.0.0",
+ "bitcore-lib": "^8.22.2",
+ "bitcore-mnemonic": "^8.22.2",
+ "btoa-lite": "^1.0.0",
+ "events": "^3.2.0",
+ "isomorphic-ws": "^4.0.1",
+ "node-fetch": "^2.6.0",
+ "rpc-websockets": "^5.3.1",
+ "scrypt-async": "^2.0.1",
+ "tweetnacl": "^1.0.3",
+ "tweetnacl-util": "^0.15.1",
+ "websocket": "^1.0.31",
+ "ws": "^7.3.1"
+ },
+ "dependencies": {
+ "node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true
},
- "strip-eof": {
- "version": "1.0.0",
- "resolved": false,
- "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=",
- "dev": true
+ "tweetnacl": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz",
+ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==",
+ "optional": true
},
- "strip-hex-prefix": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz",
- "integrity": "sha1-DF8VX+8RUTczd96du1iNoFUA428=",
+ "ws": {
+ "version": "7.4.5",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz",
+ "integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==",
+ "optional": true,
+ "requires": {}
+ }
+ }
+ },
+ "filename-regex": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz",
+ "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=",
+ "optional": true
+ },
+ "fill-range": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
+ "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",
+ "dev": true,
+ "requires": {
+ "extend-shallow": "^2.0.1",
+ "is-number": "^3.0.0",
+ "repeat-string": "^1.6.1",
+ "to-regex-range": "^2.1.0"
+ },
+ "dependencies": {
+ "extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
"dev": true,
"requires": {
- "is-hex-prefixed": "1.0.0"
+ "is-extendable": "^0.1.0"
}
- },
- "which": {
- "version": "1.3.1",
- "resolved": false,
- "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
- "dev": true,
+ }
+ }
+ },
+ "finalhandler": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",
+ "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==",
+ "requires": {
+ "debug": "2.6.9",
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "on-finished": "~2.3.0",
+ "parseurl": "~1.3.3",
+ "statuses": "~1.5.0",
+ "unpipe": "~1.0.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"requires": {
- "isexe": "^2.0.0"
+ "ms": "2.0.0"
}
- },
- "which-module": {
- "version": "2.0.0",
- "resolved": false,
- "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",
- "dev": true
- },
- "wrap-ansi": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
- "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
- "dev": true,
+ }
+ }
+ },
+ "find-up": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
+ "requires": {
+ "locate-path": "^5.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "dependencies": {
+ "locate-path": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
"requires": {
- "ansi-styles": "^3.2.0",
- "string-width": "^3.0.0",
- "strip-ansi": "^5.0.0"
+ "p-locate": "^4.1.0"
}
},
- "wrappy": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
- "dev": true
- },
- "y18n": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
- "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==",
- "dev": true
- },
- "yargs": {
- "version": "13.2.4",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.2.4.tgz",
- "integrity": "sha512-HG/DWAJa1PAnHT9JAhNa8AbAv3FPaiLzioSjCcmuXXhP8MlpHO5vwls4g4j6n30Z74GVQj8Xa62dWVx1QCGklg==",
- "dev": true,
+ "p-limit": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",
+ "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",
"requires": {
- "cliui": "^5.0.0",
- "find-up": "^3.0.0",
- "get-caller-file": "^2.0.1",
- "os-locale": "^3.1.0",
- "require-directory": "^2.1.1",
- "require-main-filename": "^2.0.0",
- "set-blocking": "^2.0.0",
- "string-width": "^3.0.0",
- "which-module": "^2.0.0",
- "y18n": "^4.0.0",
- "yargs-parser": "^13.1.0"
+ "p-try": "^2.0.0"
}
},
- "yargs-parser": {
- "version": "13.1.1",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.1.tgz",
- "integrity": "sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ==",
- "dev": true,
+ "p-locate": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
"requires": {
- "camelcase": "^5.0.0",
- "decamelize": "^1.2.0"
+ "p-limit": "^2.2.0"
}
+ },
+ "p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
+ }
+ }
+ },
+ "first-chunk-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/first-chunk-stream/-/first-chunk-stream-1.0.0.tgz",
+ "integrity": "sha1-Wb+1DNkF9g18OUzT2ayqtOatk04=",
+ "optional": true
+ },
+ "flat": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/flat/-/flat-4.1.1.tgz",
+ "integrity": "sha512-FmTtBsHskrU6FJ2VxCnsDb84wu9zhmO3cUX2kGFb5tuwhfXxGciiT0oRY+cck35QmG+NmGh5eLz6lLCpWTqwpA==",
+ "requires": {
+ "is-buffer": "~2.0.3"
+ },
+ "dependencies": {
+ "is-buffer": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz",
+ "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ=="
}
}
},
+ "flat-cache": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz",
+ "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==",
+ "dev": true,
+ "requires": {
+ "flatted": "^2.0.0",
+ "rimraf": "2.6.3",
+ "write": "1.0.3"
+ }
+ },
+ "flatted": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz",
+ "integrity": "sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==",
+ "dev": true
+ },
+ "flush-write-stream": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz",
+ "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==",
+ "requires": {
+ "inherits": "^2.0.3",
+ "readable-stream": "^2.3.6"
+ }
+ },
+ "follow-redirects": {
+ "version": "1.13.3",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.3.tgz",
+ "integrity": "sha512-DUgl6+HDzB0iEptNQEXLx/KhTmDb8tZUHSeLqpnjpknR70H0nC2t9N73BK6fN4hOvJ84pKlIQVQ4k5FFlBedKA==",
+ "optional": true
+ },
+ "for-each": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
+ "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==",
+ "requires": {
+ "is-callable": "^1.1.3"
+ }
+ },
+ "for-in": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
+ "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=",
+ "devOptional": true
+ },
+ "for-own": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz",
+ "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=",
+ "optional": true,
+ "requires": {
+ "for-in": "^1.0.1"
+ }
+ },
+ "foreach": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz",
+ "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k="
+ },
+ "forever-agent": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
+ "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE="
+ },
+ "form-data": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
+ "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
+ "requires": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.6",
+ "mime-types": "^2.1.12"
+ }
+ },
+ "forwarded": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
+ "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ="
+ },
+ "fragment-cache": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",
+ "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=",
+ "dev": true,
+ "requires": {
+ "map-cache": "^0.2.2"
+ }
+ },
+ "fresh": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
+ "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac="
+ },
+ "from2": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz",
+ "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=",
+ "requires": {
+ "inherits": "^2.0.1",
+ "readable-stream": "^2.0.0"
+ }
+ },
+ "fs-capacitor": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/fs-capacitor/-/fs-capacitor-2.0.4.tgz",
+ "integrity": "sha512-8S4f4WsCryNw2mJJchi46YgB6CR5Ze+4L1h8ewl9tEpL4SJ3ZO+c/bS4BWhB8bK+O3TMqhuZarTitd0S0eh2pA==",
+ "optional": true
+ },
+ "fs-constants": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
+ "optional": true
+ },
+ "fs-extra": {
+ "version": "0.30.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz",
+ "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=",
+ "requires": {
+ "graceful-fs": "^4.1.2",
+ "jsonfile": "^2.1.0",
+ "klaw": "^1.0.0",
+ "path-is-absolute": "^1.0.0",
+ "rimraf": "^2.2.8"
+ }
+ },
+ "fs-minipass": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.6.tgz",
+ "integrity": "sha512-crhvyXcMejjv3Z5d2Fa9sf5xLYVCF5O1c71QxbVnbLsmYMBEvDAftewesN/HhY03YRoA7zOMxjNGrF5svGaaeQ==",
+ "requires": {
+ "minipass": "^2.2.1"
+ }
+ },
+ "fs-readdir-recursive": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz",
+ "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==",
+ "dev": true
+ },
+ "fs-write-stream-atomic": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz",
+ "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=",
+ "requires": {
+ "graceful-fs": "^4.1.2",
+ "iferr": "^0.1.5",
+ "imurmurhash": "^0.1.4",
+ "readable-stream": "1 || 2"
+ }
+ },
+ "fs.realpath": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
+ },
+ "fsevents": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz",
+ "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==",
+ "optional": true
+ },
+ "function-bind": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
+ },
+ "functional-red-black-tree": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
+ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc="
+ },
"ganache-core": {
"version": "2.10.2",
"resolved": "https://registry.npmjs.org/ganache-core/-/ganache-core-2.10.2.tgz",
@@ -5968,328 +47250,6 @@
"websocket": "1.0.29"
},
"dependencies": {
- "@babel/code-frame": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz",
- "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==",
- "requires": {
- "@babel/highlight": "^7.8.3"
- }
- },
- "@babel/core": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.8.3.tgz",
- "integrity": "sha512-4XFkf8AwyrEG7Ziu3L2L0Cv+WyY47Tcsp70JFmpftbAA1K7YL/sgE9jh9HyNj08Y/U50ItUchpN0w6HxAoX1rA==",
- "requires": {
- "@babel/code-frame": "^7.8.3",
- "@babel/generator": "^7.8.3",
- "@babel/helpers": "^7.8.3",
- "@babel/parser": "^7.8.3",
- "@babel/template": "^7.8.3",
- "@babel/traverse": "^7.8.3",
- "@babel/types": "^7.8.3",
- "convert-source-map": "^1.7.0",
- "debug": "^4.1.0",
- "gensync": "^1.0.0-beta.1",
- "json5": "^2.1.0",
- "lodash": "^4.17.13",
- "resolve": "^1.3.2",
- "semver": "^5.4.1",
- "source-map": "^0.5.0"
- },
- "dependencies": {
- "debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "requires": {
- "ms": "^2.1.1"
- }
- },
- "json5": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.1.tgz",
- "integrity": "sha512-l+3HXD0GEI3huGq1njuqtzYK8OYJyXMkOLtQ53pjWh89tvWS2h6l+1zMkYWqlb57+SiQodKZyvMEFb2X+KrFhQ==",
- "requires": {
- "minimist": "^1.2.0"
- }
- },
- "minimist": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
- "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
- },
- "semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
- },
- "source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
- }
- }
- },
- "@babel/generator": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.8.3.tgz",
- "integrity": "sha512-WjoPk8hRpDRqqzRpvaR8/gDUPkrnOOeuT2m8cNICJtZH6mwaCo3v0OKMI7Y6SM1pBtyijnLtAL0HDi41pf41ug==",
- "requires": {
- "@babel/types": "^7.8.3",
- "jsesc": "^2.5.1",
- "lodash": "^4.17.13",
- "source-map": "^0.5.0"
- },
- "dependencies": {
- "jsesc": {
- "version": "2.5.2",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
- "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA=="
- },
- "source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
- }
- }
- },
- "@babel/helper-function-name": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz",
- "integrity": "sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA==",
- "requires": {
- "@babel/helper-get-function-arity": "^7.8.3",
- "@babel/template": "^7.8.3",
- "@babel/types": "^7.8.3"
- }
- },
- "@babel/helper-get-function-arity": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz",
- "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==",
- "requires": {
- "@babel/types": "^7.8.3"
- }
- },
- "@babel/helper-split-export-declaration": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz",
- "integrity": "sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA==",
- "requires": {
- "@babel/types": "^7.8.3"
- }
- },
- "@babel/helpers": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.8.3.tgz",
- "integrity": "sha512-LmU3q9Pah/XyZU89QvBgGt+BCsTPoQa+73RxAQh8fb8qkDyIfeQnmgs+hvzhTCKTzqOyk7JTkS3MS1S8Mq5yrQ==",
- "requires": {
- "@babel/template": "^7.8.3",
- "@babel/traverse": "^7.8.3",
- "@babel/types": "^7.8.3"
- }
- },
- "@babel/highlight": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz",
- "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==",
- "requires": {
- "chalk": "^2.0.0",
- "esutils": "^2.0.2",
- "js-tokens": "^4.0.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "requires": {
- "color-convert": "^1.9.0"
- }
- },
- "chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "requires": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- }
- },
- "js-tokens": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
- },
- "supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "requires": {
- "has-flag": "^3.0.0"
- }
- }
- }
- },
- "@babel/parser": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.3.tgz",
- "integrity": "sha512-/V72F4Yp/qmHaTALizEm9Gf2eQHV3QyTL3K0cNfijwnMnb1L+LDlAubb/ZnSdGAVzVSWakujHYs1I26x66sMeQ=="
- },
- "@babel/runtime": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.8.3.tgz",
- "integrity": "sha512-fVHx1rzEmwB130VTkLnxR+HmxcTjGzH12LYQcFFoBwakMd3aOMD4OsRN7tGG/UOYE2ektgFrS8uACAoRk1CY0w==",
- "requires": {
- "regenerator-runtime": "^0.13.2"
- },
- "dependencies": {
- "regenerator-runtime": {
- "version": "0.13.3",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz",
- "integrity": "sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw=="
- }
- }
- },
- "@babel/template": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz",
- "integrity": "sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ==",
- "requires": {
- "@babel/code-frame": "^7.8.3",
- "@babel/parser": "^7.8.3",
- "@babel/types": "^7.8.3"
- }
- },
- "@babel/traverse": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.8.3.tgz",
- "integrity": "sha512-we+a2lti+eEImHmEXp7bM9cTxGzxPmBiVJlLVD+FuuQMeeO7RaDbutbgeheDkw+Xe3mCfJHnGOWLswT74m2IPg==",
- "requires": {
- "@babel/code-frame": "^7.8.3",
- "@babel/generator": "^7.8.3",
- "@babel/helper-function-name": "^7.8.3",
- "@babel/helper-split-export-declaration": "^7.8.3",
- "@babel/parser": "^7.8.3",
- "@babel/types": "^7.8.3",
- "debug": "^4.1.0",
- "globals": "^11.1.0",
- "lodash": "^4.17.13"
- },
- "dependencies": {
- "debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "requires": {
- "ms": "^2.1.1"
- }
- },
- "globals": {
- "version": "11.12.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
- "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA=="
- }
- }
- },
- "@babel/types": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz",
- "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==",
- "requires": {
- "esutils": "^2.0.2",
- "lodash": "^4.17.13",
- "to-fast-properties": "^2.0.0"
- },
- "dependencies": {
- "to-fast-properties": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
- "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4="
- }
- }
- },
- "@istanbuljs/load-nyc-config": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.0.0.tgz",
- "integrity": "sha512-ZR0rq/f/E4f4XcgnDvtMWXCUJpi8eO0rssVhmztsZqLIEFA9UUP9zmpE0VxlM+kv/E1ul2I876Fwil2ayptDVg==",
- "requires": {
- "camelcase": "^5.3.1",
- "find-up": "^4.1.0",
- "js-yaml": "^3.13.1",
- "resolve-from": "^5.0.0"
- },
- "dependencies": {
- "camelcase": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
- },
- "find-up": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "requires": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
- }
- },
- "locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "requires": {
- "p-locate": "^4.1.0"
- }
- },
- "p-limit": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz",
- "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==",
- "requires": {
- "p-try": "^2.0.0"
- }
- },
- "p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "requires": {
- "p-limit": "^2.2.0"
- }
- },
- "p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
- },
- "path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
- },
- "resolve-from": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
- "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw=="
- }
- }
- },
- "@istanbuljs/schema": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.2.tgz",
- "integrity": "sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw=="
- },
- "@samverschueren/stream-to-observable": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz",
- "integrity": "sha512-MI4Xx6LHs4Webyvi6EbspgyAb4D2Q2VtnCQ1blOJcoLS6mVa8lNN2rkIy1CVxfTUpoyIbCTkXES1rLXztFD1lg==",
- "requires": {
- "any-observable": "^0.3.0"
- }
- },
"@sindresorhus/is": {
"version": "0.14.0",
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
@@ -6319,29 +47279,11 @@
"@types/node": "*"
}
},
- "@types/color-name": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz",
- "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ=="
- },
"@types/node": {
"version": "13.5.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-13.5.2.tgz",
"integrity": "sha512-Fr6a47c84PRLfd7M7u3/hEknyUdQrrBA6VoPmkze0tcflhU5UnpWEX2kn12ktA/lb+MNHSqFlSiPHIHsaErTPA=="
},
- "@types/parse-json": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz",
- "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA=="
- },
- "@types/web3": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/@types/web3/-/web3-1.2.2.tgz",
- "integrity": "sha512-eFiYJKggNrOl0nsD+9cMh2MLk4zVBfXfGnVeRFbpiZzBE20eet4KLA3fXcjSuHaBn0RnQzwLAGdgzgzdet4C0A==",
- "requires": {
- "web3": "*"
- }
- },
"@web3-js/scrypt-shim": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/@web3-js/scrypt-shim/-/scrypt-shim-0.1.0.tgz",
@@ -6395,174 +47337,6 @@
}
}
},
- "@webassemblyjs/ast": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.8.5.tgz",
- "integrity": "sha512-aJMfngIZ65+t71C3y2nBBg5FFG0Okt9m0XEgWZ7Ywgn1oMAT8cNwx00Uv1cQyHtidq0Xn94R4TAywO+LCQ+ZAQ==",
- "requires": {
- "@webassemblyjs/helper-module-context": "1.8.5",
- "@webassemblyjs/helper-wasm-bytecode": "1.8.5",
- "@webassemblyjs/wast-parser": "1.8.5"
- }
- },
- "@webassemblyjs/floating-point-hex-parser": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.5.tgz",
- "integrity": "sha512-9p+79WHru1oqBh9ewP9zW95E3XAo+90oth7S5Re3eQnECGq59ly1Ri5tsIipKGpiStHsUYmY3zMLqtk3gTcOtQ=="
- },
- "@webassemblyjs/helper-api-error": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.5.tgz",
- "integrity": "sha512-Za/tnzsvnqdaSPOUXHyKJ2XI7PDX64kWtURyGiJJZKVEdFOsdKUCPTNEVFZq3zJ2R0G5wc2PZ5gvdTRFgm81zA=="
- },
- "@webassemblyjs/helper-buffer": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.5.tgz",
- "integrity": "sha512-Ri2R8nOS0U6G49Q86goFIPNgjyl6+oE1abW1pS84BuhP1Qcr5JqMwRFT3Ah3ADDDYGEgGs1iyb1DGX+kAi/c/Q=="
- },
- "@webassemblyjs/helper-code-frame": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.5.tgz",
- "integrity": "sha512-VQAadSubZIhNpH46IR3yWO4kZZjMxN1opDrzePLdVKAZ+DFjkGD/rf4v1jap744uPVU6yjL/smZbRIIJTOUnKQ==",
- "requires": {
- "@webassemblyjs/wast-printer": "1.8.5"
- }
- },
- "@webassemblyjs/helper-fsm": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.5.tgz",
- "integrity": "sha512-kRuX/saORcg8se/ft6Q2UbRpZwP4y7YrWsLXPbbmtepKr22i8Z4O3V5QE9DbZK908dh5Xya4Un57SDIKwB9eow=="
- },
- "@webassemblyjs/helper-module-context": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.5.tgz",
- "integrity": "sha512-/O1B236mN7UNEU4t9X7Pj38i4VoU8CcMHyy3l2cV/kIF4U5KoHXDVqcDuOs1ltkac90IM4vZdHc52t1x8Yfs3g==",
- "requires": {
- "@webassemblyjs/ast": "1.8.5",
- "mamacro": "^0.0.3"
- }
- },
- "@webassemblyjs/helper-wasm-bytecode": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.5.tgz",
- "integrity": "sha512-Cu4YMYG3Ddl72CbmpjU/wbP6SACcOPVbHN1dI4VJNJVgFwaKf1ppeFJrwydOG3NDHxVGuCfPlLZNyEdIYlQ6QQ=="
- },
- "@webassemblyjs/helper-wasm-section": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.5.tgz",
- "integrity": "sha512-VV083zwR+VTrIWWtgIUpqfvVdK4ff38loRmrdDBgBT8ADXYsEZ5mPQ4Nde90N3UYatHdYoDIFb7oHzMncI02tA==",
- "requires": {
- "@webassemblyjs/ast": "1.8.5",
- "@webassemblyjs/helper-buffer": "1.8.5",
- "@webassemblyjs/helper-wasm-bytecode": "1.8.5",
- "@webassemblyjs/wasm-gen": "1.8.5"
- }
- },
- "@webassemblyjs/ieee754": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.8.5.tgz",
- "integrity": "sha512-aaCvQYrvKbY/n6wKHb/ylAJr27GglahUO89CcGXMItrOBqRarUMxWLJgxm9PJNuKULwN5n1csT9bYoMeZOGF3g==",
- "requires": {
- "@xtuc/ieee754": "^1.2.0"
- }
- },
- "@webassemblyjs/leb128": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.8.5.tgz",
- "integrity": "sha512-plYUuUwleLIziknvlP8VpTgO4kqNaH57Y3JnNa6DLpu/sGcP6hbVdfdX5aHAV716pQBKrfuU26BJK29qY37J7A==",
- "requires": {
- "@xtuc/long": "4.2.2"
- }
- },
- "@webassemblyjs/utf8": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.8.5.tgz",
- "integrity": "sha512-U7zgftmQriw37tfD934UNInokz6yTmn29inT2cAetAsaU9YeVCveWEwhKL1Mg4yS7q//NGdzy79nlXh3bT8Kjw=="
- },
- "@webassemblyjs/wasm-edit": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.5.tgz",
- "integrity": "sha512-A41EMy8MWw5yvqj7MQzkDjU29K7UJq1VrX2vWLzfpRHt3ISftOXqrtojn7nlPsZ9Ijhp5NwuODuycSvfAO/26Q==",
- "requires": {
- "@webassemblyjs/ast": "1.8.5",
- "@webassemblyjs/helper-buffer": "1.8.5",
- "@webassemblyjs/helper-wasm-bytecode": "1.8.5",
- "@webassemblyjs/helper-wasm-section": "1.8.5",
- "@webassemblyjs/wasm-gen": "1.8.5",
- "@webassemblyjs/wasm-opt": "1.8.5",
- "@webassemblyjs/wasm-parser": "1.8.5",
- "@webassemblyjs/wast-printer": "1.8.5"
- }
- },
- "@webassemblyjs/wasm-gen": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.5.tgz",
- "integrity": "sha512-BCZBT0LURC0CXDzj5FXSc2FPTsxwp3nWcqXQdOZE4U7h7i8FqtFK5Egia6f9raQLpEKT1VL7zr4r3+QX6zArWg==",
- "requires": {
- "@webassemblyjs/ast": "1.8.5",
- "@webassemblyjs/helper-wasm-bytecode": "1.8.5",
- "@webassemblyjs/ieee754": "1.8.5",
- "@webassemblyjs/leb128": "1.8.5",
- "@webassemblyjs/utf8": "1.8.5"
- }
- },
- "@webassemblyjs/wasm-opt": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.5.tgz",
- "integrity": "sha512-HKo2mO/Uh9A6ojzu7cjslGaHaUU14LdLbGEKqTR7PBKwT6LdPtLLh9fPY33rmr5wcOMrsWDbbdCHq4hQUdd37Q==",
- "requires": {
- "@webassemblyjs/ast": "1.8.5",
- "@webassemblyjs/helper-buffer": "1.8.5",
- "@webassemblyjs/wasm-gen": "1.8.5",
- "@webassemblyjs/wasm-parser": "1.8.5"
- }
- },
- "@webassemblyjs/wasm-parser": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.5.tgz",
- "integrity": "sha512-pi0SYE9T6tfcMkthwcgCpL0cM9nRYr6/6fjgDtL6q/ZqKHdMWvxitRi5JcZ7RI4SNJJYnYNaWy5UUrHQy998lw==",
- "requires": {
- "@webassemblyjs/ast": "1.8.5",
- "@webassemblyjs/helper-api-error": "1.8.5",
- "@webassemblyjs/helper-wasm-bytecode": "1.8.5",
- "@webassemblyjs/ieee754": "1.8.5",
- "@webassemblyjs/leb128": "1.8.5",
- "@webassemblyjs/utf8": "1.8.5"
- }
- },
- "@webassemblyjs/wast-parser": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.8.5.tgz",
- "integrity": "sha512-daXC1FyKWHF1i11obK086QRlsMsY4+tIOKgBqI1lxAnkp9xe9YMcgOxm9kLe+ttjs5aWV2KKE1TWJCN57/Btsg==",
- "requires": {
- "@webassemblyjs/ast": "1.8.5",
- "@webassemblyjs/floating-point-hex-parser": "1.8.5",
- "@webassemblyjs/helper-api-error": "1.8.5",
- "@webassemblyjs/helper-code-frame": "1.8.5",
- "@webassemblyjs/helper-fsm": "1.8.5",
- "@xtuc/long": "4.2.2"
- }
- },
- "@webassemblyjs/wast-printer": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.8.5.tgz",
- "integrity": "sha512-w0U0pD4EhlnvRyeJzBqaVSJAo9w/ce7/WPogeXLzGkO6hzhr4GnQIZ4W4uUt5b9ooAaXPtnXlj0gzsXEOUNYMg==",
- "requires": {
- "@webassemblyjs/ast": "1.8.5",
- "@webassemblyjs/wast-parser": "1.8.5",
- "@xtuc/long": "4.2.2"
- }
- },
- "@xtuc/ieee754": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
- "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA=="
- },
- "@xtuc/long": {
- "version": "4.2.2",
- "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
- "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ=="
- },
"abstract-leveldown": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-3.0.0.tgz",
@@ -6571,47 +47345,12 @@
"xtend": "~4.0.0"
}
},
- "accepts": {
- "version": "1.3.7",
- "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
- "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",
- "requires": {
- "mime-types": "~2.1.24",
- "negotiator": "0.6.2"
- }
- },
- "acorn": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz",
- "integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ=="
- },
- "acorn-jsx": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.1.0.tgz",
- "integrity": "sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw=="
- },
"aes-js": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz",
"integrity": "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==",
"optional": true
},
- "aggregate-error": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.0.1.tgz",
- "integrity": "sha512-quoaXsZ9/BLNae5yiNoUz+Nhkwz83GhWwtYFglcjEQB2NDHCIpApbqXxIFnm4Pq/Nvhrsq5sYJFyohrrxnTGAA==",
- "requires": {
- "clean-stack": "^2.0.0",
- "indent-string": "^4.0.0"
- },
- "dependencies": {
- "indent-string": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
- "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg=="
- }
- }
- },
"ajv": {
"version": "6.11.0",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.11.0.tgz",
@@ -6623,16 +47362,6 @@
"uri-js": "^4.2.2"
}
},
- "ajv-errors": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz",
- "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ=="
- },
- "ajv-keywords": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.1.tgz",
- "integrity": "sha512-RO1ibKvd27e6FEShVFfPALuHI3WjSVNeK5FIsmme/LYRNxjKuNj+Dt7bucLa6NdSv3JcVTyMlm9kGR84z1XpaQ=="
- },
"ansi-colors": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-1.1.0.tgz",
@@ -6641,14 +47370,6 @@
"ansi-wrap": "^0.1.0"
}
},
- "ansi-escapes": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.0.tgz",
- "integrity": "sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg==",
- "requires": {
- "type-fest": "^0.8.1"
- }
- },
"ansi-gray": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/ansi-gray/-/ansi-gray-0.1.1.tgz",
@@ -6672,11 +47393,6 @@
"resolved": "https://registry.npmjs.org/ansi-wrap/-/ansi-wrap-0.1.0.tgz",
"integrity": "sha1-qCJQ3bABXponyoLoLqYDu/pF768="
},
- "any-observable": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/any-observable/-/any-observable-0.3.0.tgz",
- "integrity": "sha512-/FQM1EDkTsf63Ub2C6O7GuYFDsSXUwsaZDurV0np41ocwq0jthUAYCmhBX9f+KwlaCgIuWyr/4WlUQUBfKfZog=="
- },
"any-promise": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
@@ -6699,32 +47415,11 @@
"buffer-equal": "^1.0.0"
}
},
- "append-transform": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-2.0.0.tgz",
- "integrity": "sha512-7yeyCEurROLQJFv5Xj4lEGTy0borxepjFv1g22oAdqFu//SrAlDl1O1Nxx15SH1RoliUml6p8dwJW9jvZughhg==",
- "requires": {
- "default-require-extensions": "^3.0.0"
- }
- },
- "aproba": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",
- "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw=="
- },
"archy": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz",
"integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA="
},
- "argparse": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
- "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
- "requires": {
- "sprintf-js": "~1.0.2"
- }
- },
"arr-diff": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz",
@@ -6761,21 +47456,6 @@
"resolved": "https://registry.npmjs.org/array-each/-/array-each-1.0.1.tgz",
"integrity": "sha1-p5SvDAWrF1KEbudTofIRoFugxE8="
},
- "array-flatten": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
- "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
- },
- "array-includes": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.1.tgz",
- "integrity": "sha512-c2VXaCHl7zPsvpkFsw4nxvFie4fh1ur9bpcgsVkIjqn0H/Xwdg+7fv3n2r/isyS8EBj5b06M9kHyZuIr4El6WQ==",
- "requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.0",
- "is-string": "^1.0.5"
- }
- },
"array-initial": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/array-initial/-/array-initial-1.1.0.tgz",
@@ -6834,15 +47514,6 @@
"resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
"integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg="
},
- "array.prototype.flat": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz",
- "integrity": "sha512-gBlRZV0VSmfPIeWfuuy56XZMvbVfbEUnOXUvt3F/eUUUSyzlgLxhEX4YAEpxNAogRGehPSnfXyPtYyKAhkzQhQ==",
- "requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.0-next.1"
- }
- },
"asn1": {
"version": "0.2.4",
"resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
@@ -6851,36 +47522,6 @@
"safer-buffer": "~2.1.0"
}
},
- "asn1.js": {
- "version": "4.10.1",
- "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz",
- "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==",
- "requires": {
- "bn.js": "^4.0.0",
- "inherits": "^2.0.1",
- "minimalistic-assert": "^1.0.0"
- }
- },
- "assert": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz",
- "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==",
- "requires": {
- "object-assign": "^4.1.1",
- "util": "0.10.3"
- }
- },
- "assert-match": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/assert-match/-/assert-match-1.1.1.tgz",
- "integrity": "sha512-c0QY2kpYVrH/jis6cCq9Mnt4/bIdGALDh1N8HY9ZARZedsMs5LSbgywxkjd5A1uNVLN0L8evANxBPxKiabVoZw==",
- "requires": {
- "assert": "^1.4.1",
- "babel-runtime": "^6.23.0",
- "es-to-primitive": "^1.1.1",
- "lodash.merge": "^4.6.0"
- }
- },
"assert-plus": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
@@ -6891,11 +47532,6 @@
"resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",
"integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c="
},
- "astral-regex": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz",
- "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg=="
- },
"async": {
"version": "2.6.2",
"resolved": "https://registry.npmjs.org/async/-/async-2.6.2.tgz",
@@ -7695,11 +48331,6 @@
"safe-buffer": "^5.0.1"
}
},
- "base64-js": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",
- "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g=="
- },
"bcrypt-pbkdf": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
@@ -7715,16 +48346,6 @@
}
}
},
- "big.js": {
- "version": "5.2.2",
- "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
- "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="
- },
- "bignumber.js": {
- "version": "9.0.0",
- "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz",
- "integrity": "sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A=="
- },
"binary-extensions": {
"version": "1.13.1",
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",
@@ -7777,38 +48398,6 @@
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",
"integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA=="
},
- "body-parser": {
- "version": "1.19.0",
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",
- "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==",
- "requires": {
- "bytes": "3.1.0",
- "content-type": "~1.0.4",
- "debug": "2.6.9",
- "depd": "~1.1.2",
- "http-errors": "1.7.2",
- "iconv-lite": "0.4.24",
- "on-finished": "~2.3.0",
- "qs": "6.7.0",
- "raw-body": "2.4.0",
- "type-is": "~1.6.17"
- },
- "dependencies": {
- "debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "requires": {
- "ms": "2.0.0"
- }
- },
- "ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
- }
- }
- },
"brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
@@ -7850,20 +48439,6 @@
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",
"integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8="
},
- "browser-stdout": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz",
- "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw=="
- },
- "browserfs": {
- "version": "1.4.3",
- "resolved": "https://registry.npmjs.org/browserfs/-/browserfs-1.4.3.tgz",
- "integrity": "sha512-tz8HClVrzTJshcyIu8frE15cjqjcBIu15Bezxsvl/i+6f59iNCN3kznlWjz0FEb3DlnDx3gW5szxeT6D1x0s0w==",
- "requires": {
- "async": "^2.1.4",
- "pako": "^1.0.4"
- }
- },
"browserify-aes": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
@@ -7877,36 +48452,6 @@
"safe-buffer": "^5.0.1"
}
},
- "browserify-cipher": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz",
- "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==",
- "requires": {
- "browserify-aes": "^1.0.4",
- "browserify-des": "^1.0.0",
- "evp_bytestokey": "^1.0.0"
- }
- },
- "browserify-des": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz",
- "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==",
- "requires": {
- "cipher-base": "^1.0.1",
- "des.js": "^1.0.0",
- "inherits": "^2.0.1",
- "safe-buffer": "^5.1.2"
- }
- },
- "browserify-rsa": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz",
- "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=",
- "requires": {
- "bn.js": "^4.1.0",
- "randombytes": "^2.0.1"
- }
- },
"browserify-sha3": {
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/browserify-sha3/-/browserify-sha3-0.0.4.tgz",
@@ -7916,28 +48461,6 @@
"safe-buffer": "^5.1.1"
}
},
- "browserify-sign": {
- "version": "4.0.4",
- "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz",
- "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=",
- "requires": {
- "bn.js": "^4.1.1",
- "browserify-rsa": "^4.0.0",
- "create-hash": "^1.1.0",
- "create-hmac": "^1.1.2",
- "elliptic": "^6.0.0",
- "inherits": "^2.0.1",
- "parse-asn1": "^5.0.0"
- }
- },
- "browserify-zlib": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz",
- "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==",
- "requires": {
- "pako": "~1.0.5"
- }
- },
"browserslist": {
"version": "3.2.8",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz",
@@ -7967,15 +48490,6 @@
"safe-buffer": "^5.1.2"
}
},
- "buffer": {
- "version": "5.4.3",
- "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz",
- "integrity": "sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A==",
- "requires": {
- "base64-js": "^1.0.2",
- "ieee754": "^1.1.4"
- }
- },
"buffer-alloc": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz",
@@ -8010,26 +48524,11 @@
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
"integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A=="
},
- "buffer-to-arraybuffer": {
- "version": "0.0.5",
- "resolved": "https://registry.npmjs.org/buffer-to-arraybuffer/-/buffer-to-arraybuffer-0.0.5.tgz",
- "integrity": "sha1-YGSkD6dutDxyOrqe+PbhIW0QURo="
- },
"buffer-xor": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz",
"integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk="
},
- "builtin-status-codes": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz",
- "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug="
- },
- "bytes": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
- "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg=="
- },
"bytewise": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/bytewise/-/bytewise-1.1.0.tgz",
@@ -8047,85 +48546,6 @@
"typewise-core": "^1.2"
}
},
- "cacache": {
- "version": "13.0.1",
- "resolved": "https://registry.npmjs.org/cacache/-/cacache-13.0.1.tgz",
- "integrity": "sha512-5ZvAxd05HDDU+y9BVvcqYu2LLXmPnQ0hW62h32g4xBTgL/MppR4/04NHfj/ycM2y6lmTnbw6HVi+1eN0Psba6w==",
- "requires": {
- "chownr": "^1.1.2",
- "figgy-pudding": "^3.5.1",
- "fs-minipass": "^2.0.0",
- "glob": "^7.1.4",
- "graceful-fs": "^4.2.2",
- "infer-owner": "^1.0.4",
- "lru-cache": "^5.1.1",
- "minipass": "^3.0.0",
- "minipass-collect": "^1.0.2",
- "minipass-flush": "^1.0.5",
- "minipass-pipeline": "^1.2.2",
- "mkdirp": "^0.5.1",
- "move-concurrently": "^1.0.1",
- "p-map": "^3.0.0",
- "promise-inflight": "^1.0.1",
- "rimraf": "^2.7.1",
- "ssri": "^7.0.0",
- "unique-filename": "^1.1.1"
- },
- "dependencies": {
- "fs-minipass": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",
- "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",
- "requires": {
- "minipass": "^3.0.0"
- }
- },
- "lru-cache": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
- "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
- "requires": {
- "yallist": "^3.0.2"
- },
- "dependencies": {
- "yallist": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
- "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="
- }
- }
- },
- "minipass": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.1.tgz",
- "integrity": "sha512-UFqVihv6PQgwj8/yTGvl9kPz7xIAY+R5z6XYjRInD3Gk3qx6QGSD6zEcpeG4Dy/lQnv1J6zv8ejV90hyYIKf3w==",
- "requires": {
- "yallist": "^4.0.0"
- }
- },
- "mkdirp": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
- "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
- "requires": {
- "minimist": "0.0.8"
- }
- },
- "p-map": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz",
- "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==",
- "requires": {
- "aggregate-error": "^3.0.0"
- }
- },
- "yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
- }
- }
- },
"cache-base": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
@@ -8190,47 +48610,11 @@
}
}
},
- "caching-transform": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-4.0.0.tgz",
- "integrity": "sha512-kpqOvwXnjjN44D89K5ccQC+RUrsy7jB/XLlRrx0D7/2HNcTPqzsb6XgYoErwko6QsV184CA2YgS1fxDiiDZMWA==",
- "requires": {
- "hasha": "^5.0.0",
- "make-dir": "^3.0.0",
- "package-hash": "^4.0.0",
- "write-file-atomic": "^3.0.0"
- },
- "dependencies": {
- "make-dir": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.0.0.tgz",
- "integrity": "sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw==",
- "requires": {
- "semver": "^6.0.0"
- }
- },
- "semver": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
- }
- }
- },
- "callsites": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="
- },
"camelcase": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",
"integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo="
},
- "caniuse-lite": {
- "version": "1.0.30001023",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001023.tgz",
- "integrity": "sha512-C5TDMiYG11EOhVOA62W1p3UsJ2z4DsHtMBQtjzp3ZsUglcQn62WOUgW0y795c7A5uZ+GCEIvzkMatLIlAsbNTA=="
- },
"caseless": {
"version": "0.12.0",
"resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
@@ -8248,11 +48632,6 @@
"supports-color": "^2.0.0"
}
},
- "chardet": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
- "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA=="
- },
"checkpoint-store": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/checkpoint-store/-/checkpoint-store-1.1.0.tgz",
@@ -8292,19 +48671,6 @@
"resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.3.tgz",
"integrity": "sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw=="
},
- "chrome-trace-event": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz",
- "integrity": "sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ==",
- "requires": {
- "tslib": "^1.9.0"
- }
- },
- "ci-info": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz",
- "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ=="
- },
"cipher-base": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz",
@@ -8335,40 +48701,6 @@
}
}
},
- "clean-stack": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz",
- "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A=="
- },
- "cli-cursor": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
- "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==",
- "requires": {
- "restore-cursor": "^3.1.0"
- }
- },
- "cli-truncate": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz",
- "integrity": "sha1-nxXPuwcFAFNpIWxiasfQWrkN1XQ=",
- "requires": {
- "slice-ansi": "0.0.4",
- "string-width": "^1.0.1"
- },
- "dependencies": {
- "slice-ansi": {
- "version": "0.0.4",
- "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz",
- "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU="
- }
- }
- },
- "cli-width": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz",
- "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk="
- },
"cliui": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz",
@@ -8384,11 +48716,6 @@
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
"integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18="
},
- "clone-buffer": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/clone-buffer/-/clone-buffer-1.0.0.tgz",
- "integrity": "sha1-4+JbIHrE5wGvch4staFnksrD3Fg="
- },
"clone-response": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",
@@ -8454,37 +48781,11 @@
"object-visit": "^1.0.0"
}
},
- "color-convert": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
- "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
- "requires": {
- "color-name": "1.1.3"
- }
- },
- "color-name": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
- },
"color-support": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz",
"integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg=="
},
- "combined-stream": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
- "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
- "requires": {
- "delayed-stream": "~1.0.0"
- }
- },
- "command-exists": {
- "version": "1.2.8",
- "resolved": "https://registry.npmjs.org/command-exists/-/command-exists-1.2.8.tgz",
- "integrity": "sha512-PM54PkseWbiiD/mMsbvW351/u+dafwTJ0ye2qB60G1aGQP9j3xK2gmMDc+R34L3nDtx4qMCitXT75mkbkGJDLw=="
- },
"commander": {
"version": "2.8.1",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz",
@@ -8493,11 +48794,6 @@
"graceful-readlink": ">= 1.0.0"
}
},
- "commondir": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",
- "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs="
- },
"component-emitter": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",
@@ -8519,41 +48815,6 @@
"typedarray": "^0.0.6"
}
},
- "console-browserify": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz",
- "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA=="
- },
- "constants-browserify": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz",
- "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U="
- },
- "contains-path": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz",
- "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo="
- },
- "content-disposition": {
- "version": "0.5.3",
- "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",
- "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==",
- "requires": {
- "safe-buffer": "5.1.2"
- },
- "dependencies": {
- "safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
- }
- }
- },
- "content-type": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
- "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
- },
"convert-source-map": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz",
@@ -8569,44 +48830,6 @@
}
}
},
- "cookie": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
- "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg=="
- },
- "cookie-signature": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
- "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
- },
- "cookiejar": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.2.tgz",
- "integrity": "sha512-Mw+adcfzPxcPeI+0WlvRrr/3lGVO0bD75SxX6811cxSh1Wbxx7xZBGK1eVtDf6si8rg2lhnUjsVLMFMfbRIuwA=="
- },
- "copy-concurrently": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz",
- "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==",
- "requires": {
- "aproba": "^1.1.1",
- "fs-write-stream-atomic": "^1.0.8",
- "iferr": "^0.1.5",
- "mkdirp": "^0.5.1",
- "rimraf": "^2.5.4",
- "run-queue": "^1.0.0"
- },
- "dependencies": {
- "mkdirp": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
- "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
- "requires": {
- "minimist": "0.0.8"
- }
- }
- }
- },
"copy-descriptor": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",
@@ -8636,73 +48859,6 @@
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
},
- "cors": {
- "version": "2.8.5",
- "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz",
- "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==",
- "requires": {
- "object-assign": "^4",
- "vary": "^1"
- }
- },
- "cosmiconfig": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz",
- "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==",
- "requires": {
- "@types/parse-json": "^4.0.0",
- "import-fresh": "^3.1.0",
- "parse-json": "^5.0.0",
- "path-type": "^4.0.0",
- "yaml": "^1.7.2"
- },
- "dependencies": {
- "parse-json": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz",
- "integrity": "sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==",
- "requires": {
- "@babel/code-frame": "^7.0.0",
- "error-ex": "^1.3.1",
- "json-parse-better-errors": "^1.0.1",
- "lines-and-columns": "^1.1.6"
- }
- },
- "path-type": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
- "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw=="
- }
- }
- },
- "coveralls": {
- "version": "3.0.9",
- "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-3.0.9.tgz",
- "integrity": "sha512-nNBg3B1+4iDox5A5zqHKzUTiwl2ey4k2o0NEcVZYvl+GOSJdKBj4AJGKLv6h3SvWch7tABHePAQOSZWM9E2hMg==",
- "requires": {
- "js-yaml": "^3.13.1",
- "lcov-parse": "^1.0.0",
- "log-driver": "^1.2.7",
- "minimist": "^1.2.0",
- "request": "^2.88.0"
- },
- "dependencies": {
- "minimist": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
- "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
- }
- }
- },
- "create-ecdh": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz",
- "integrity": "sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==",
- "requires": {
- "bn.js": "^4.1.0",
- "elliptic": "^6.0.0"
- }
- },
"create-hash": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz",
@@ -8728,14 +48884,6 @@
"sha.js": "^2.4.8"
}
},
- "cross-env": {
- "version": "6.0.3",
- "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-6.0.3.tgz",
- "integrity": "sha512-+KqxF6LCvfhWvADcDPqo64yVIB31gv/jQulX2NGzKS/g3GEVz6/pt4wjHFtFWsHMddebWD/sDthJemzM4MaAag==",
- "requires": {
- "cross-spawn": "^7.0.0"
- }
- },
"cross-fetch": {
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-2.2.3.tgz",
@@ -8745,58 +48893,6 @@
"whatwg-fetch": "2.0.4"
}
},
- "cross-spawn": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.1.tgz",
- "integrity": "sha512-u7v4o84SwFpD32Z8IIcPZ6z1/ie24O6RU3RbtL5Y316l3KuHVPx9ItBgWQ6VlfAFnRnTtMUrsQ9MUUTuEZjogg==",
- "requires": {
- "path-key": "^3.1.0",
- "shebang-command": "^2.0.0",
- "which": "^2.0.1"
- },
- "dependencies": {
- "which": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
- "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
- "requires": {
- "isexe": "^2.0.0"
- }
- }
- }
- },
- "crypto-browserify": {
- "version": "3.12.0",
- "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz",
- "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==",
- "requires": {
- "browserify-cipher": "^1.0.0",
- "browserify-sign": "^4.0.0",
- "create-ecdh": "^4.0.0",
- "create-hash": "^1.1.0",
- "create-hmac": "^1.1.0",
- "diffie-hellman": "^5.0.0",
- "inherits": "^2.0.1",
- "pbkdf2": "^3.0.3",
- "public-encrypt": "^4.0.0",
- "randombytes": "^2.0.0",
- "randomfill": "^1.0.3"
- }
- },
- "cyclist": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz",
- "integrity": "sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk="
- },
- "d": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",
- "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",
- "requires": {
- "es5-ext": "^0.10.50",
- "type": "^1.0.1"
- }
- },
"dashdash": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
@@ -8805,11 +48901,6 @@
"assert-plus": "^1.0.0"
}
},
- "date-fns": {
- "version": "1.30.1",
- "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-1.30.1.tgz",
- "integrity": "sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw=="
- },
"debug": {
"version": "3.2.6",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",
@@ -8929,11 +49020,6 @@
}
}
},
- "dedent": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz",
- "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw="
- },
"deep-equal": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz",
@@ -8954,11 +49040,6 @@
}
}
},
- "deep-is": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz",
- "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ="
- },
"default-compare": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/default-compare/-/default-compare-1.0.0.tgz",
@@ -8974,21 +49055,6 @@
}
}
},
- "default-require-extensions": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-3.0.0.tgz",
- "integrity": "sha512-ek6DpXq/SCpvjhpFsLFRVtIxJCRw6fUR42lYMVZuUMK7n8eMz4Uh5clckdBjEpLhn/gEBZo7hDJnJcwdKLKQjg==",
- "requires": {
- "strip-bom": "^4.0.0"
- },
- "dependencies": {
- "strip-bom": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz",
- "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w=="
- }
- }
- },
"default-resolution": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/default-resolution/-/default-resolution-2.0.0.tgz",
@@ -9074,30 +49140,6 @@
"resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
"integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM="
},
- "delayed-stream": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
- "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
- },
- "depd": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
- "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak="
- },
- "des.js": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz",
- "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==",
- "requires": {
- "inherits": "^2.0.1",
- "minimalistic-assert": "^1.0.0"
- }
- },
- "destroy": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
- "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
- },
"detect-file": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz",
@@ -9111,39 +49153,11 @@
"repeating": "^2.0.0"
}
},
- "diff": {
- "version": "3.5.0",
- "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",
- "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA=="
- },
- "diffie-hellman": {
- "version": "5.0.3",
- "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",
- "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==",
- "requires": {
- "bn.js": "^4.1.0",
- "miller-rabin": "^4.0.0",
- "randombytes": "^2.0.0"
- }
- },
- "doctrine": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
- "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
- "requires": {
- "esutils": "^2.0.2"
- }
- },
"dom-walk": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz",
"integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg="
},
- "domain-browser": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz",
- "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA=="
- },
"dotignore": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/dotignore/-/dotignore-0.1.2.tgz",
@@ -9196,58 +49210,6 @@
"safer-buffer": "^2.1.0"
}
},
- "ee-first": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
- "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
- },
- "electron-to-chromium": {
- "version": "1.3.341",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.341.tgz",
- "integrity": "sha512-iezlV55/tan1rvdvt7yg7VHRSkt+sKfzQ16wTDqTbQqtl4+pSUkKPXpQHDvEt0c7gKcUHHwUbffOgXz6bn096g=="
- },
- "elegant-spinner": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/elegant-spinner/-/elegant-spinner-1.0.1.tgz",
- "integrity": "sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4="
- },
- "elliptic": {
- "version": "6.5.2",
- "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz",
- "integrity": "sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==",
- "requires": {
- "bn.js": "^4.4.0",
- "brorand": "^1.0.1",
- "hash.js": "^1.0.0",
- "hmac-drbg": "^1.0.0",
- "inherits": "^2.0.1",
- "minimalistic-assert": "^1.0.0",
- "minimalistic-crypto-utils": "^1.0.0"
- }
- },
- "emoji-regex": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
- },
- "emojis-list": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz",
- "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k="
- },
- "encodeurl": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
- "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k="
- },
- "encoding": {
- "version": "0.1.12",
- "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz",
- "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=",
- "requires": {
- "iconv-lite": "~0.4.13"
- }
- },
"encoding-down": {
"version": "5.0.4",
"resolved": "https://registry.npmjs.org/encoding-down/-/encoding-down-5.0.4.tgz",
@@ -9278,27 +49240,6 @@
"once": "^1.4.0"
}
},
- "enhanced-resolve": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.1.1.tgz",
- "integrity": "sha512-98p2zE+rL7/g/DzMHMTF4zZlCgeVdJ7yr6xzEpJRYwFYrGi9ANdn5DnJURg6RpBkyk60XYDnWIv51VfIhfNGuA==",
- "requires": {
- "graceful-fs": "^4.1.2",
- "memory-fs": "^0.5.0",
- "tapable": "^1.0.0"
- },
- "dependencies": {
- "memory-fs": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz",
- "integrity": "sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==",
- "requires": {
- "errno": "^0.1.3",
- "readable-stream": "^2.0.1"
- }
- }
- }
- },
"errno": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz",
@@ -9315,75 +49256,6 @@
"is-arrayish": "^0.2.1"
}
},
- "es-abstract": {
- "version": "1.17.4",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.4.tgz",
- "integrity": "sha512-Ae3um/gb8F0mui/jPL+QiqmglkUsaQf7FwBEHYIFkztkneosu9imhqHpBzQ3h1vit8t5iQ74t6PEVvphBZiuiQ==",
- "requires": {
- "es-to-primitive": "^1.2.1",
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
- "has-symbols": "^1.0.1",
- "is-callable": "^1.1.5",
- "is-regex": "^1.0.5",
- "object-inspect": "^1.7.0",
- "object-keys": "^1.1.1",
- "object.assign": "^4.1.0",
- "string.prototype.trimleft": "^2.1.1",
- "string.prototype.trimright": "^2.1.1"
- },
- "dependencies": {
- "object-keys": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
- "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="
- }
- }
- },
- "es-to-primitive": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
- "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
- "requires": {
- "is-callable": "^1.1.4",
- "is-date-object": "^1.0.1",
- "is-symbol": "^1.0.2"
- }
- },
- "es5-ext": {
- "version": "0.10.53",
- "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz",
- "integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==",
- "requires": {
- "es6-iterator": "~2.0.3",
- "es6-symbol": "~3.1.3",
- "next-tick": "~1.0.0"
- }
- },
- "es6-error": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz",
- "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg=="
- },
- "es6-iterator": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz",
- "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=",
- "requires": {
- "d": "1",
- "es5-ext": "^0.10.35",
- "es6-symbol": "^3.1.1"
- }
- },
- "es6-symbol": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",
- "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==",
- "requires": {
- "d": "^1.0.1",
- "ext": "^1.1.2"
- }
- },
"es6-weak-map": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz",
@@ -9395,467 +49267,16 @@
"es6-symbol": "^3.1.1"
}
},
- "escape-html": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
- "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg="
- },
"escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
"integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
},
- "eslint": {
- "version": "6.8.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.8.0.tgz",
- "integrity": "sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig==",
- "requires": {
- "@babel/code-frame": "^7.0.0",
- "ajv": "^6.10.0",
- "chalk": "^2.1.0",
- "cross-spawn": "^6.0.5",
- "debug": "^4.0.1",
- "doctrine": "^3.0.0",
- "eslint-scope": "^5.0.0",
- "eslint-utils": "^1.4.3",
- "eslint-visitor-keys": "^1.1.0",
- "espree": "^6.1.2",
- "esquery": "^1.0.1",
- "esutils": "^2.0.2",
- "file-entry-cache": "^5.0.1",
- "functional-red-black-tree": "^1.0.1",
- "glob-parent": "^5.0.0",
- "globals": "^12.1.0",
- "ignore": "^4.0.6",
- "import-fresh": "^3.0.0",
- "imurmurhash": "^0.1.4",
- "inquirer": "^7.0.0",
- "is-glob": "^4.0.0",
- "js-yaml": "^3.13.1",
- "json-stable-stringify-without-jsonify": "^1.0.1",
- "levn": "^0.3.0",
- "lodash": "^4.17.14",
- "minimatch": "^3.0.4",
- "mkdirp": "^0.5.1",
- "natural-compare": "^1.4.0",
- "optionator": "^0.8.3",
- "progress": "^2.0.0",
- "regexpp": "^2.0.1",
- "semver": "^6.1.2",
- "strip-ansi": "^5.2.0",
- "strip-json-comments": "^3.0.1",
- "table": "^5.2.3",
- "text-table": "^0.2.0",
- "v8-compile-cache": "^2.0.3"
- },
- "dependencies": {
- "ansi-regex": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg=="
- },
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "requires": {
- "color-convert": "^1.9.0"
- }
- },
- "chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "requires": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- }
- },
- "cross-spawn": {
- "version": "6.0.5",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
- "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
- "requires": {
- "nice-try": "^1.0.4",
- "path-key": "^2.0.1",
- "semver": "^5.5.0",
- "shebang-command": "^1.2.0",
- "which": "^1.2.9"
- },
- "dependencies": {
- "semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
- }
- }
- },
- "debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "requires": {
- "ms": "^2.1.1"
- }
- },
- "glob-parent": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz",
- "integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==",
- "requires": {
- "is-glob": "^4.0.1"
- }
- },
- "globals": {
- "version": "12.3.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-12.3.0.tgz",
- "integrity": "sha512-wAfjdLgFsPZsklLJvOBUBmzYE8/CwhEqSBEMRXA3qxIiNtyqvjYurAtIfDh6chlEPUfmTY3MnZh5Hfh4q0UlIw==",
- "requires": {
- "type-fest": "^0.8.1"
- }
- },
- "mkdirp": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
- "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
- "requires": {
- "minimist": "0.0.8"
- }
- },
- "path-key": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
- "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A="
- },
- "semver": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
- },
- "shebang-command": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
- "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=",
- "requires": {
- "shebang-regex": "^1.0.0"
- }
- },
- "shebang-regex": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
- "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM="
- },
- "strip-ansi": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
- "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
- "requires": {
- "ansi-regex": "^4.1.0"
- }
- },
- "supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "requires": {
- "has-flag": "^3.0.0"
- }
- }
- }
- },
- "eslint-config-standard": {
- "version": "14.1.0",
- "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-14.1.0.tgz",
- "integrity": "sha512-EF6XkrrGVbvv8hL/kYa/m6vnvmUT+K82pJJc4JJVMM6+Qgqh0pnwprSxdduDLB9p/7bIxD+YV5O0wfb8lmcPbA=="
- },
- "eslint-import-resolver-node": {
- "version": "0.3.3",
- "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.3.tgz",
- "integrity": "sha512-b8crLDo0M5RSe5YG8Pu2DYBj71tSB6OvXkfzwbJU2w7y8P4/yo0MyF8jU26IEuEuHF2K5/gcAJE3LhQGqBBbVg==",
- "requires": {
- "debug": "^2.6.9",
- "resolve": "^1.13.1"
- },
- "dependencies": {
- "debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "requires": {
- "ms": "2.0.0"
- }
- },
- "ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
- }
- }
- },
- "eslint-module-utils": {
- "version": "2.5.2",
- "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.5.2.tgz",
- "integrity": "sha512-LGScZ/JSlqGKiT8OC+cYRxseMjyqt6QO54nl281CK93unD89ijSeRV6An8Ci/2nvWVKe8K/Tqdm75RQoIOCr+Q==",
- "requires": {
- "debug": "^2.6.9",
- "pkg-dir": "^2.0.0"
- },
- "dependencies": {
- "debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "requires": {
- "ms": "2.0.0"
- }
- },
- "ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
- }
- }
- },
- "eslint-plugin-es": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.0.tgz",
- "integrity": "sha512-6/Jb/J/ZvSebydwbBJO1R9E5ky7YeElfK56Veh7e4QGFHCXoIXGH9HhVz+ibJLM3XJ1XjP+T7rKBLUa/Y7eIng==",
- "requires": {
- "eslint-utils": "^2.0.0",
- "regexpp": "^3.0.0"
- },
- "dependencies": {
- "eslint-utils": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.0.0.tgz",
- "integrity": "sha512-0HCPuJv+7Wv1bACm8y5/ECVfYdfsAm9xmVb7saeFlxjPYALefjhbYoCkBjPdPzGH8wWyTpAez82Fh3VKYEZ8OA==",
- "requires": {
- "eslint-visitor-keys": "^1.1.0"
- }
- },
- "regexpp": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.0.0.tgz",
- "integrity": "sha512-Z+hNr7RAVWxznLPuA7DIh8UNX1j9CDrUQxskw9IrBE1Dxue2lyXT+shqEIeLUjrokxIP8CMy1WkjgG3rTsd5/g=="
- }
- }
- },
- "eslint-plugin-import": {
- "version": "2.20.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.20.0.tgz",
- "integrity": "sha512-NK42oA0mUc8Ngn4kONOPsPB1XhbUvNHqF+g307dPV28aknPoiNnKLFd9em4nkswwepdF5ouieqv5Th/63U7YJQ==",
- "requires": {
- "array-includes": "^3.0.3",
- "array.prototype.flat": "^1.2.1",
- "contains-path": "^0.1.0",
- "debug": "^2.6.9",
- "doctrine": "1.5.0",
- "eslint-import-resolver-node": "^0.3.2",
- "eslint-module-utils": "^2.4.1",
- "has": "^1.0.3",
- "minimatch": "^3.0.4",
- "object.values": "^1.1.0",
- "read-pkg-up": "^2.0.0",
- "resolve": "^1.12.0"
- },
- "dependencies": {
- "debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "requires": {
- "ms": "2.0.0"
- }
- },
- "doctrine": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz",
- "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=",
- "requires": {
- "esutils": "^2.0.2",
- "isarray": "^1.0.0"
- }
- },
- "find-up": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
- "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
- "requires": {
- "locate-path": "^2.0.0"
- }
- },
- "isarray": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
- "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
- },
- "load-json-file": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
- "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=",
- "requires": {
- "graceful-fs": "^4.1.2",
- "parse-json": "^2.2.0",
- "pify": "^2.0.0",
- "strip-bom": "^3.0.0"
- }
- },
- "ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
- },
- "path-type": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz",
- "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=",
- "requires": {
- "pify": "^2.0.0"
- }
- },
- "pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw="
- },
- "read-pkg": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz",
- "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=",
- "requires": {
- "load-json-file": "^2.0.0",
- "normalize-package-data": "^2.3.2",
- "path-type": "^2.0.0"
- }
- },
- "read-pkg-up": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz",
- "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=",
- "requires": {
- "find-up": "^2.0.0",
- "read-pkg": "^2.0.0"
- }
- },
- "strip-bom": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
- "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM="
- }
- }
- },
- "eslint-plugin-node": {
- "version": "11.0.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.0.0.tgz",
- "integrity": "sha512-chUs/NVID+sknFiJzxoN9lM7uKSOEta8GC8365hw1nDfwIPIjjpRSwwPvQanWv8dt/pDe9EV4anmVSwdiSndNg==",
- "requires": {
- "eslint-plugin-es": "^3.0.0",
- "eslint-utils": "^2.0.0",
- "ignore": "^5.1.1",
- "minimatch": "^3.0.4",
- "resolve": "^1.10.1",
- "semver": "^6.1.0"
- },
- "dependencies": {
- "eslint-utils": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.0.0.tgz",
- "integrity": "sha512-0HCPuJv+7Wv1bACm8y5/ECVfYdfsAm9xmVb7saeFlxjPYALefjhbYoCkBjPdPzGH8wWyTpAez82Fh3VKYEZ8OA==",
- "requires": {
- "eslint-visitor-keys": "^1.1.0"
- }
- },
- "ignore": {
- "version": "5.1.4",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz",
- "integrity": "sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A=="
- },
- "semver": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
- }
- }
- },
- "eslint-plugin-promise": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-4.2.1.tgz",
- "integrity": "sha512-VoM09vT7bfA7D+upt+FjeBO5eHIJQBUWki1aPvB+vbNiHS3+oGIJGIeyBtKQTME6UPXXy3vV07OL1tHd3ANuDw=="
- },
- "eslint-plugin-standard": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-4.0.1.tgz",
- "integrity": "sha512-v/KBnfyaOMPmZc/dmc6ozOdWqekGp7bBGq4jLAecEfPGmfKiWS4sA8sC0LqiV9w5qmXAtXVn4M3p1jSyhY85SQ=="
- },
- "eslint-scope": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz",
- "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==",
- "requires": {
- "esrecurse": "^4.1.0",
- "estraverse": "^4.1.1"
- }
- },
- "eslint-utils": {
- "version": "1.4.3",
- "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz",
- "integrity": "sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==",
- "requires": {
- "eslint-visitor-keys": "^1.1.0"
- }
- },
- "eslint-visitor-keys": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz",
- "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A=="
- },
- "espree": {
- "version": "6.1.2",
- "resolved": "https://registry.npmjs.org/espree/-/espree-6.1.2.tgz",
- "integrity": "sha512-2iUPuuPP+yW1PZaMSDM9eyVf8D5P0Hi8h83YtZ5bPc/zHYjII5khoixIUTMO794NOY8F/ThF1Bo8ncZILarUTA==",
- "requires": {
- "acorn": "^7.1.0",
- "acorn-jsx": "^5.1.0",
- "eslint-visitor-keys": "^1.1.0"
- }
- },
- "esprima": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
- "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A=="
- },
- "esquery": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz",
- "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==",
- "requires": {
- "estraverse": "^4.0.0"
- }
- },
- "esrecurse": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz",
- "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==",
- "requires": {
- "estraverse": "^4.1.0"
- }
- },
- "estraverse": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
- "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw=="
- },
"esutils": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
"integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="
},
- "etag": {
- "version": "1.8.1",
- "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
- "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc="
- },
"eth-block-tracker": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/eth-block-tracker/-/eth-block-tracker-3.0.1.tgz",
@@ -9900,22 +49321,6 @@
}
}
},
- "eth-ens-namehash": {
- "version": "2.0.8",
- "resolved": "https://registry.npmjs.org/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz",
- "integrity": "sha1-IprEbsqG1S4MmR58sq74P/D2i88=",
- "requires": {
- "idna-uts46-hx": "^2.3.1",
- "js-sha3": "^0.5.7"
- },
- "dependencies": {
- "js-sha3": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz",
- "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc="
- }
- }
- },
"eth-json-rpc-infura": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/eth-json-rpc-infura/-/eth-json-rpc-infura-3.2.1.tgz",
@@ -10104,19 +49509,6 @@
}
}
},
- "eth-lib": {
- "version": "0.1.29",
- "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.1.29.tgz",
- "integrity": "sha512-bfttrr3/7gG4E02HoWTDUcDDslN003OlOoBxk9virpAZQ1ja/jDgwkWB8QfJF7ojuEowrqy+lzp9VcJG7/k5bQ==",
- "requires": {
- "bn.js": "^4.11.6",
- "elliptic": "^6.4.0",
- "nano-json-stream-parser": "^0.1.2",
- "servify": "^0.1.12",
- "ws": "^3.0.0",
- "xhr-request-promise": "^0.1.2"
- }
- },
"eth-query": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/eth-query/-/eth-query-2.1.2.tgz",
@@ -10382,21 +49774,6 @@
}
}
},
- "ethereum-bloom-filters": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.6.tgz",
- "integrity": "sha512-dE9CGNzgOOsdh7msZirvv8qjHtnHpvBlKe2647kM8v+yeF71IRso55jpojemvHV+jMjr48irPWxMRaHuOWzAFA==",
- "requires": {
- "js-sha3": "^0.8.0"
- },
- "dependencies": {
- "js-sha3": {
- "version": "0.8.0",
- "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz",
- "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q=="
- }
- }
- },
"ethereum-common": {
"version": "0.0.18",
"resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.0.18.tgz",
@@ -10607,58 +49984,6 @@
"uuid": "^3.3.2"
}
},
- "ethers": {
- "version": "4.0.43",
- "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.43.tgz",
- "integrity": "sha512-VjQRVgPrlU12jSMvypdE1yEqYQccdVbH8bbiz67dLF7raHlRV4+zW70GlxHcZYqgsnz0XYWrn6C06gqTQRb5tw==",
- "requires": {
- "aes-js": "3.0.0",
- "bn.js": "^4.4.0",
- "elliptic": "6.5.2",
- "hash.js": "1.1.3",
- "js-sha3": "0.5.7",
- "scrypt-js": "2.0.4",
- "setimmediate": "1.0.4",
- "uuid": "2.0.1",
- "xmlhttprequest": "1.8.0"
- },
- "dependencies": {
- "aes-js": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz",
- "integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0="
- },
- "hash.js": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz",
- "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==",
- "requires": {
- "inherits": "^2.0.3",
- "minimalistic-assert": "^1.0.0"
- }
- },
- "js-sha3": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz",
- "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc="
- },
- "scrypt-js": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-2.0.4.tgz",
- "integrity": "sha512-4KsaGcPnuhtCZQCxFxN3GVYIhKFPTdLd8PLC552XwbMndtD0cjRFAhDuuydXQ0h08ZfPgzqe6EKHozpuH74iDw=="
- },
- "setimmediate": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.4.tgz",
- "integrity": "sha1-IOgd5iLUoCWIzgyNqJc8vPHTE48="
- },
- "uuid": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz",
- "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w="
- }
- }
- },
"ethjs-unit": {
"version": "0.1.6",
"resolved": "https://registry.npmjs.org/ethjs-unit/-/ethjs-unit-0.1.6.tgz",
@@ -10684,16 +50009,6 @@
"strip-hex-prefix": "1.0.0"
}
},
- "eventemitter3": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.2.tgz",
- "integrity": "sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q=="
- },
- "events": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/events/-/events-3.1.0.tgz",
- "integrity": "sha512-Rv+u8MLHNOdMjTAFeT3nCjHn2aGlx435FP/sDHNaRhDEMwyI/aB22Kj2qIN8R0cw3z28psEQLYwxVKLsKrMgWg=="
- },
"evp_bytestokey": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz",
@@ -10703,43 +50018,6 @@
"safe-buffer": "^5.1.1"
}
},
- "execa": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/execa/-/execa-3.4.0.tgz",
- "integrity": "sha512-r9vdGQk4bmCuK1yKQu1KTwcT2zwfWdbdaXfCtAh+5nU/4fSX+JAb7vZGvI5naJrQlvONrEB20jeruESI69530g==",
- "requires": {
- "cross-spawn": "^7.0.0",
- "get-stream": "^5.0.0",
- "human-signals": "^1.1.1",
- "is-stream": "^2.0.0",
- "merge-stream": "^2.0.0",
- "npm-run-path": "^4.0.0",
- "onetime": "^5.1.0",
- "p-finally": "^2.0.0",
- "signal-exit": "^3.0.2",
- "strip-final-newline": "^2.0.0"
- },
- "dependencies": {
- "get-stream": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz",
- "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==",
- "requires": {
- "pump": "^3.0.0"
- }
- },
- "is-stream": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz",
- "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw=="
- },
- "p-finally": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-2.0.1.tgz",
- "integrity": "sha512-vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw=="
- }
- }
- },
"expand-brackets": {
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",
@@ -10793,78 +50071,6 @@
"homedir-polyfill": "^1.0.1"
}
},
- "express": {
- "version": "4.17.1",
- "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz",
- "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==",
- "requires": {
- "accepts": "~1.3.7",
- "array-flatten": "1.1.1",
- "body-parser": "1.19.0",
- "content-disposition": "0.5.3",
- "content-type": "~1.0.4",
- "cookie": "0.4.0",
- "cookie-signature": "1.0.6",
- "debug": "2.6.9",
- "depd": "~1.1.2",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "finalhandler": "~1.1.2",
- "fresh": "0.5.2",
- "merge-descriptors": "1.0.1",
- "methods": "~1.1.2",
- "on-finished": "~2.3.0",
- "parseurl": "~1.3.3",
- "path-to-regexp": "0.1.7",
- "proxy-addr": "~2.0.5",
- "qs": "6.7.0",
- "range-parser": "~1.2.1",
- "safe-buffer": "5.1.2",
- "send": "0.17.1",
- "serve-static": "1.14.1",
- "setprototypeof": "1.1.1",
- "statuses": "~1.5.0",
- "type-is": "~1.6.18",
- "utils-merge": "1.0.1",
- "vary": "~1.1.2"
- },
- "dependencies": {
- "debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "requires": {
- "ms": "2.0.0"
- }
- },
- "ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
- },
- "safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
- }
- }
- },
- "ext": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz",
- "integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==",
- "requires": {
- "type": "^2.0.0"
- },
- "dependencies": {
- "type": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/type/-/type-2.0.0.tgz",
- "integrity": "sha512-KBt58xCHry4Cejnc2ISQAF7QY+ORngsWfxezO68+12hKV6lQY8P/psIkcbjeHWn7MqcgciWJyCCevFMJdIXpow=="
- }
- }
- },
"extend": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
@@ -10889,26 +50095,6 @@
}
}
},
- "external-editor": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz",
- "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==",
- "requires": {
- "chardet": "^0.7.0",
- "iconv-lite": "^0.4.24",
- "tmp": "^0.0.33"
- },
- "dependencies": {
- "tmp": {
- "version": "0.0.33",
- "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
- "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
- "requires": {
- "os-tmpdir": "~1.0.2"
- }
- }
- }
- },
"extglob": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",
@@ -11002,11 +50188,6 @@
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
"integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
},
- "fast-levenshtein": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
- "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc="
- },
"fd-slicer": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
@@ -11034,27 +50215,6 @@
}
}
},
- "figgy-pudding": {
- "version": "3.5.1",
- "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz",
- "integrity": "sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w=="
- },
- "figures": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/figures/-/figures-3.1.0.tgz",
- "integrity": "sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg==",
- "requires": {
- "escape-string-regexp": "^1.0.5"
- }
- },
- "file-entry-cache": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz",
- "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==",
- "requires": {
- "flat-cache": "^2.0.1"
- }
- },
"file-type": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/file-type/-/file-type-5.2.0.tgz",
@@ -11065,11 +50225,6 @@
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw=="
},
- "filesize": {
- "version": "3.6.1",
- "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
- "integrity": "sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg=="
- },
"fill-range": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
@@ -11091,111 +50246,6 @@
}
}
},
- "finalhandler": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",
- "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==",
- "requires": {
- "debug": "2.6.9",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "on-finished": "~2.3.0",
- "parseurl": "~1.3.3",
- "statuses": "~1.5.0",
- "unpipe": "~1.0.0"
- },
- "dependencies": {
- "debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "requires": {
- "ms": "2.0.0"
- }
- },
- "ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
- }
- }
- },
- "find-cache-dir": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.2.0.tgz",
- "integrity": "sha512-1JKclkYYsf1q9WIJKLZa9S9muC+08RIjzAlLrK4QcYLJMS6mk9yombQ9qf+zJ7H9LS800k0s44L4sDq9VYzqyg==",
- "requires": {
- "commondir": "^1.0.1",
- "make-dir": "^3.0.0",
- "pkg-dir": "^4.1.0"
- },
- "dependencies": {
- "find-up": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "requires": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
- }
- },
- "locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "requires": {
- "p-locate": "^4.1.0"
- }
- },
- "make-dir": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.0.0.tgz",
- "integrity": "sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw==",
- "requires": {
- "semver": "^6.0.0"
- }
- },
- "p-limit": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz",
- "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==",
- "requires": {
- "p-try": "^2.0.0"
- }
- },
- "p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "requires": {
- "p-limit": "^2.2.0"
- }
- },
- "p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
- },
- "path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
- },
- "pkg-dir": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
- "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
- "requires": {
- "find-up": "^4.0.0"
- }
- },
- "semver": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
- }
- }
- },
"find-up": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
@@ -11233,46 +50283,6 @@
"resolved": "https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-1.0.1.tgz",
"integrity": "sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q=="
},
- "flat": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/flat/-/flat-4.1.0.tgz",
- "integrity": "sha512-Px/TiLIznH7gEDlPXcUD4KnBusa6kR6ayRUVcnEAbreRIuhkqow/mun59BuRXwoYk7ZQOLW1ZM05ilIvK38hFw==",
- "requires": {
- "is-buffer": "~2.0.3"
- },
- "dependencies": {
- "is-buffer": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz",
- "integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A=="
- }
- }
- },
- "flat-cache": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz",
- "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==",
- "requires": {
- "flatted": "^2.0.0",
- "rimraf": "2.6.3",
- "write": "1.0.3"
- },
- "dependencies": {
- "rimraf": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
- "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
- "requires": {
- "glob": "^7.1.3"
- }
- }
- }
- },
- "flatted": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz",
- "integrity": "sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg=="
- },
"flow-stoplight": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/flow-stoplight/-/flow-stoplight-1.0.0.tgz",
@@ -11308,15 +50318,6 @@
"for-in": "^1.0.1"
}
},
- "foreground-child": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz",
- "integrity": "sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==",
- "requires": {
- "cross-spawn": "^7.0.0",
- "signal-exit": "^3.0.2"
- }
- },
"forever-agent": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
@@ -11332,11 +50333,6 @@
"mime-types": "^2.1.12"
}
},
- "forwarded": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
- "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ="
- },
"fragment-cache": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",
@@ -11345,25 +50341,6 @@
"map-cache": "^0.2.2"
}
},
- "fresh": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
- "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac="
- },
- "from2": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz",
- "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=",
- "requires": {
- "inherits": "^2.0.1",
- "readable-stream": "^2.0.0"
- }
- },
- "fromentries": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.2.0.tgz",
- "integrity": "sha512-33X7H/wdfO99GdRLLgkjUrD4geAFdq/Uv0kl3HD4da6HDixd2GUg8Mw7dahLCV9r/EARkmtYBB6Tch4EEokFTQ=="
- },
"fs-constants": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
@@ -11396,17 +50373,6 @@
"through2": "^2.0.3"
}
},
- "fs-write-stream-atomic": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz",
- "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=",
- "requires": {
- "graceful-fs": "^4.1.2",
- "iferr": "^0.1.5",
- "imurmurhash": "^0.1.4",
- "readable-stream": "1 || 2"
- }
- },
"fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -11832,22 +50798,22 @@
"bundled": true,
"optional": true
},
- "string-width": {
- "version": "1.0.2",
+ "string_decoder": {
+ "version": "1.1.1",
"bundled": true,
"optional": true,
"requires": {
- "code-point-at": "^1.0.0",
- "is-fullwidth-code-point": "^1.0.0",
- "strip-ansi": "^3.0.0"
+ "safe-buffer": "~5.1.0"
}
},
- "string_decoder": {
- "version": "1.1.1",
+ "string-width": {
+ "version": "1.0.2",
"bundled": true,
"optional": true,
"requires": {
- "safe-buffer": "~5.1.0"
+ "code-point-at": "^1.0.0",
+ "is-fullwidth-code-point": "^1.0.0",
+ "strip-ansi": "^3.0.0"
}
},
"strip-ansi": {
@@ -11912,26 +50878,11 @@
"resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
"integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc="
},
- "generic-pool": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/generic-pool/-/generic-pool-2.0.4.tgz",
- "integrity": "sha1-+XGN7agvoSXtXEPjQcmiFadm2aM="
- },
- "gensync": {
- "version": "1.0.0-beta.1",
- "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz",
- "integrity": "sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg=="
- },
"get-caller-file": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz",
"integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w=="
},
- "get-own-enumerable-property-symbols": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz",
- "integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g=="
- },
"get-stream": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
@@ -12077,21 +51028,11 @@
"url-parse-lax": "^3.0.0"
}
},
- "graceful-fs": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz",
- "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ=="
- },
"graceful-readlink": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz",
"integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU="
},
- "growl": {
- "version": "1.10.5",
- "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz",
- "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA=="
- },
"gulp": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/gulp/-/gulp-4.0.2.tgz",
@@ -12168,29 +51109,6 @@
"ansi-regex": "^2.0.0"
}
},
- "has-flag": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
- },
- "has-symbol-support-x": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz",
- "integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw=="
- },
- "has-symbols": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
- "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=="
- },
- "has-to-string-tag-x": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz",
- "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==",
- "requires": {
- "has-symbol-support-x": "^1.4.1"
- }
- },
"has-value": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz",
@@ -12229,31 +51147,6 @@
"safe-buffer": "^5.0.1"
}
},
- "hash.js": {
- "version": "1.1.7",
- "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz",
- "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==",
- "requires": {
- "inherits": "^2.0.3",
- "minimalistic-assert": "^1.0.1"
- }
- },
- "hasha": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/hasha/-/hasha-5.1.0.tgz",
- "integrity": "sha512-OFPDWmzPN1l7atOV1TgBVmNtBxaIysToK6Ve9DK+vT6pYuklw/nPNT+HJbZi0KDcI6vWB+9tgvZ5YD7fA3CXcA==",
- "requires": {
- "is-stream": "^2.0.0",
- "type-fest": "^0.8.0"
- },
- "dependencies": {
- "is-stream": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz",
- "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw=="
- }
- }
- },
"hdkey": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/hdkey/-/hdkey-1.1.1.tgz",
@@ -12265,25 +51158,10 @@
"secp256k1": "^3.0.1"
}
},
- "he": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
- "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw=="
- },
"heap": {
"version": "0.2.6",
"resolved": "https://registry.npmjs.org/heap/-/heap-0.2.6.tgz",
- "integrity": "sha1-CH4fELBGky/IWU3Z5tN4r8nR5aw="
- },
- "hmac-drbg": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz",
- "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=",
- "requires": {
- "hash.js": "^1.0.3",
- "minimalistic-assert": "^1.0.0",
- "minimalistic-crypto-utils": "^1.0.1"
- }
+ "integrity": "sha1-CH4fELBGky/IWU3Z5tN4r8nR5aw="
},
"home-or-tmp": {
"version": "2.0.0",
@@ -12307,40 +51185,11 @@
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz",
"integrity": "sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg=="
},
- "html-escaper": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.0.tgz",
- "integrity": "sha512-a4u9BeERWGu/S8JiWEAQcdrg9v4QArtP9keViQjGMdff20fBdd8waotXaNmODqBe6uZ3Nafi7K/ho4gCQHV3Ig=="
- },
"http-cache-semantics": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.0.3.tgz",
"integrity": "sha512-TcIMG3qeVLgDr1TEd2XvHaTnMPwYQUQMIBLy+5pLSDKYFc7UIqj39w8EGzZkaxoLv/l2K8HaI0t5AVA+YYgUew=="
},
- "http-errors": {
- "version": "1.7.2",
- "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
- "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
- "requires": {
- "depd": "~1.1.2",
- "inherits": "2.0.3",
- "setprototypeof": "1.1.1",
- "statuses": ">= 1.5.0 < 2",
- "toidentifier": "1.0.0"
- },
- "dependencies": {
- "inherits": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
- "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
- }
- }
- },
- "http-https": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/http-https/-/http-https-1.0.0.tgz",
- "integrity": "sha1-L5CN1fHbQGjAWM1ubUzjkskTOJs="
- },
"http-signature": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
@@ -12351,267 +51200,11 @@
"sshpk": "^1.7.0"
}
},
- "https-browserify": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz",
- "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM="
- },
- "human-signals": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz",
- "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw=="
- },
- "humanize": {
- "version": "0.0.9",
- "resolved": "https://registry.npmjs.org/humanize/-/humanize-0.0.9.tgz",
- "integrity": "sha1-GZT/rs3+nEQe0r2sdFK3u0yeQaQ="
- },
- "husky": {
- "version": "4.0.10",
- "resolved": "https://registry.npmjs.org/husky/-/husky-4.0.10.tgz",
- "integrity": "sha512-Ptm4k2DqOwxeK/kzu5RaJmNRoGvESrgDXObFcZ8aJZcyXyMBHhM2FqZj6zYKdetadmP3wCwxEHCBuB9xGlRp8A==",
- "requires": {
- "chalk": "^3.0.0",
- "ci-info": "^2.0.0",
- "cosmiconfig": "^6.0.0",
- "opencollective-postinstall": "^2.0.2",
- "pkg-dir": "^4.2.0",
- "please-upgrade-node": "^3.2.0",
- "slash": "^3.0.0",
- "which-pm-runs": "^1.0.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
- "requires": {
- "@types/color-name": "^1.1.1",
- "color-convert": "^2.0.1"
- }
- },
- "chalk": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
- "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
- "requires": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- }
- },
- "color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "requires": {
- "color-name": "~1.1.4"
- }
- },
- "color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
- },
- "find-up": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "requires": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
- }
- },
- "has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
- },
- "locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "requires": {
- "p-locate": "^4.1.0"
- }
- },
- "p-limit": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz",
- "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==",
- "requires": {
- "p-try": "^2.0.0"
- }
- },
- "p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "requires": {
- "p-limit": "^2.2.0"
- }
- },
- "p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
- },
- "path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
- },
- "pkg-dir": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
- "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
- "requires": {
- "find-up": "^4.0.0"
- }
- },
- "slash": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
- "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q=="
- },
- "supports-color": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
- "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
- "requires": {
- "has-flag": "^4.0.0"
- }
- }
- }
- },
- "iconv-lite": {
- "version": "0.4.24",
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
- "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
- "requires": {
- "safer-buffer": ">= 2.1.2 < 3"
- }
- },
- "idna-uts46-hx": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz",
- "integrity": "sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA==",
- "requires": {
- "punycode": "2.1.0"
- },
- "dependencies": {
- "punycode": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.0.tgz",
- "integrity": "sha1-X4Y+3Im5bbCQdLrXlHvwkFbKTn0="
- }
- }
- },
- "ieee754": {
- "version": "1.1.13",
- "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
- "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
- },
- "iferr": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz",
- "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE="
- },
- "ignore": {
- "version": "4.0.6",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
- "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg=="
- },
"immediate": {
"version": "3.2.3",
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.2.3.tgz",
"integrity": "sha1-0UD6j2FGWb1lQSMwl92qwlzdmRw="
},
- "import-fresh": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",
- "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==",
- "requires": {
- "parent-module": "^1.0.0",
- "resolve-from": "^4.0.0"
- }
- },
- "import-local": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz",
- "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==",
- "requires": {
- "pkg-dir": "^3.0.0",
- "resolve-cwd": "^2.0.0"
- },
- "dependencies": {
- "find-up": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
- "requires": {
- "locate-path": "^3.0.0"
- }
- },
- "locate-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
- "requires": {
- "p-locate": "^3.0.0",
- "path-exists": "^3.0.0"
- }
- },
- "p-limit": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz",
- "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==",
- "requires": {
- "p-try": "^2.0.0"
- }
- },
- "p-locate": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
- "requires": {
- "p-limit": "^2.0.0"
- }
- },
- "p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
- },
- "path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU="
- },
- "pkg-dir": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz",
- "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==",
- "requires": {
- "find-up": "^3.0.0"
- }
- }
- }
- },
- "imurmurhash": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
- "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o="
- },
- "indent-string": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz",
- "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok="
- },
- "infer-owner": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz",
- "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A=="
- },
"inflight": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
@@ -12631,104 +51224,6 @@
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",
"integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw=="
},
- "inquirer": {
- "version": "7.0.4",
- "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.0.4.tgz",
- "integrity": "sha512-Bu5Td5+j11sCkqfqmUTiwv+tWisMtP0L7Q8WrqA2C/BbBhy1YTdFrvjjlrKq8oagA/tLQBski2Gcx/Sqyi2qSQ==",
- "requires": {
- "ansi-escapes": "^4.2.1",
- "chalk": "^2.4.2",
- "cli-cursor": "^3.1.0",
- "cli-width": "^2.0.0",
- "external-editor": "^3.0.3",
- "figures": "^3.0.0",
- "lodash": "^4.17.15",
- "mute-stream": "0.0.8",
- "run-async": "^2.2.0",
- "rxjs": "^6.5.3",
- "string-width": "^4.1.0",
- "strip-ansi": "^5.1.0",
- "through": "^2.3.6"
- },
- "dependencies": {
- "ansi-regex": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
- "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg=="
- },
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "requires": {
- "color-convert": "^1.9.0"
- }
- },
- "chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "requires": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- }
- },
- "is-fullwidth-code-point": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
- },
- "lodash": {
- "version": "4.17.15",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
- "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
- },
- "string-width": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",
- "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==",
- "requires": {
- "emoji-regex": "^8.0.0",
- "is-fullwidth-code-point": "^3.0.0",
- "strip-ansi": "^6.0.0"
- },
- "dependencies": {
- "strip-ansi": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
- "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
- "requires": {
- "ansi-regex": "^5.0.0"
- }
- }
- }
- },
- "strip-ansi": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
- "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
- "requires": {
- "ansi-regex": "^4.1.0"
- },
- "dependencies": {
- "ansi-regex": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg=="
- }
- }
- },
- "supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "requires": {
- "has-flag": "^3.0.0"
- }
- }
- }
- },
"interpret": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz",
@@ -12747,11 +51242,6 @@
"resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz",
"integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY="
},
- "ipaddr.js": {
- "version": "1.9.0",
- "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.0.tgz",
- "integrity": "sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA=="
- },
"is-absolute": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz",
@@ -12779,11 +51269,6 @@
}
}
},
- "is-arguments": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz",
- "integrity": "sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA=="
- },
"is-arrayish": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
@@ -12802,11 +51287,6 @@
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
},
- "is-callable": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz",
- "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q=="
- },
"is-data-descriptor": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",
@@ -12924,24 +51404,6 @@
}
}
},
- "is-obj": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
- "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8="
- },
- "is-object": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-object/-/is-object-1.0.1.tgz",
- "integrity": "sha1-iVJojF7C/9awPsyF52ngKQMINHA="
- },
- "is-observable": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-observable/-/is-observable-1.1.0.tgz",
- "integrity": "sha512-NqCa4Sa2d+u7BWc6CukaObG3Fh+CU9bvixbpcXYhy2VvYS7vVGIdAgnIS5Ks3A/cqk4rebLJ9s8zBstT2aKnIA==",
- "requires": {
- "symbol-observable": "^1.1.0"
- }
- },
"is-plain-obj": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz",
@@ -12955,11 +51417,6 @@
"isobject": "^3.0.1"
}
},
- "is-promise": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz",
- "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o="
- },
"is-regex": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
@@ -12968,11 +51425,6 @@
"has": "^1.0.3"
}
},
- "is-regexp": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz",
- "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk="
- },
"is-relative": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz",
@@ -12991,19 +51443,6 @@
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
"integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ="
},
- "is-string": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz",
- "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ=="
- },
- "is-symbol": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
- "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
- "requires": {
- "has-symbols": "^1.0.1"
- }
- },
"is-typedarray": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
@@ -13017,11 +51456,6 @@
"unc-path-regex": "^0.1.2"
}
},
- "is-utf8": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz",
- "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI="
- },
"is-valid-glob": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-valid-glob/-/is-valid-glob-1.0.0.tgz",
@@ -13032,11 +51466,6 @@
"resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
"integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA=="
},
- "is-wsl": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz",
- "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0="
- },
"isarray": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
@@ -13057,188 +51486,6 @@
"resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
"integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
},
- "istanbul-lib-coverage": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz",
- "integrity": "sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg=="
- },
- "istanbul-lib-hook": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-3.0.0.tgz",
- "integrity": "sha512-Pt/uge1Q9s+5VAZ+pCo16TYMWPBIl+oaNIjgLQxcX0itS6ueeaA+pEfThZpH8WxhFgCiEb8sAJY6MdUKgiIWaQ==",
- "requires": {
- "append-transform": "^2.0.0"
- }
- },
- "istanbul-lib-instrument": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.0.tgz",
- "integrity": "sha512-Nm4wVHdo7ZXSG30KjZ2Wl5SU/Bw7bDx1PdaiIFzEStdjs0H12mOTncn1GVYuqQSaZxpg87VGBRsVRPGD2cD1AQ==",
- "requires": {
- "@babel/core": "^7.7.5",
- "@babel/parser": "^7.7.5",
- "@babel/template": "^7.7.4",
- "@babel/traverse": "^7.7.4",
- "@istanbuljs/schema": "^0.1.2",
- "istanbul-lib-coverage": "^3.0.0",
- "semver": "^6.3.0"
- },
- "dependencies": {
- "semver": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
- }
- }
- },
- "istanbul-lib-processinfo": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/istanbul-lib-processinfo/-/istanbul-lib-processinfo-2.0.2.tgz",
- "integrity": "sha512-kOwpa7z9hme+IBPZMzQ5vdQj8srYgAtaRqeI48NGmAQ+/5yKiHLV0QbYqQpxsdEF0+w14SoB8YbnHKcXE2KnYw==",
- "requires": {
- "archy": "^1.0.0",
- "cross-spawn": "^7.0.0",
- "istanbul-lib-coverage": "^3.0.0-alpha.1",
- "make-dir": "^3.0.0",
- "p-map": "^3.0.0",
- "rimraf": "^3.0.0",
- "uuid": "^3.3.3"
- },
- "dependencies": {
- "make-dir": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.0.0.tgz",
- "integrity": "sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw==",
- "requires": {
- "semver": "^6.0.0"
- }
- },
- "p-map": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz",
- "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==",
- "requires": {
- "aggregate-error": "^3.0.0"
- }
- },
- "rimraf": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.1.tgz",
- "integrity": "sha512-IQ4ikL8SjBiEDZfk+DFVwqRK8md24RWMEJkdSlgNLkyyAImcjf8SWvU1qFMDOb4igBClbTQ/ugPqXcRwdFTxZw==",
- "requires": {
- "glob": "^7.1.3"
- }
- },
- "semver": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
- }
- }
- },
- "istanbul-lib-report": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz",
- "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==",
- "requires": {
- "istanbul-lib-coverage": "^3.0.0",
- "make-dir": "^3.0.0",
- "supports-color": "^7.1.0"
- },
- "dependencies": {
- "has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
- },
- "make-dir": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.0.0.tgz",
- "integrity": "sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw==",
- "requires": {
- "semver": "^6.0.0"
- }
- },
- "semver": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
- },
- "supports-color": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
- "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
- "requires": {
- "has-flag": "^4.0.0"
- }
- }
- }
- },
- "istanbul-lib-source-maps": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.0.tgz",
- "integrity": "sha512-c16LpFRkR8vQXyHZ5nLpY35JZtzj1PQY1iZmesUbf1FZHbIupcWfjgOXBY9YHkLEQ6puz1u4Dgj6qmU/DisrZg==",
- "requires": {
- "debug": "^4.1.1",
- "istanbul-lib-coverage": "^3.0.0",
- "source-map": "^0.6.1"
- },
- "dependencies": {
- "debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "requires": {
- "ms": "^2.1.1"
- }
- }
- }
- },
- "istanbul-reports": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.0.tgz",
- "integrity": "sha512-2osTcC8zcOSUkImzN2EWQta3Vdi4WjjKw99P2yWx5mLnigAM0Rd5uYFn1cf2i/Ois45GkNjaoTqc5CxgMSX80A==",
- "requires": {
- "html-escaper": "^2.0.0",
- "istanbul-lib-report": "^3.0.0"
- }
- },
- "isurl": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz",
- "integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==",
- "requires": {
- "has-to-string-tag-x": "^1.2.0",
- "is-object": "^1.0.1"
- }
- },
- "jest-worker": {
- "version": "24.9.0",
- "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz",
- "integrity": "sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==",
- "requires": {
- "merge-stream": "^2.0.0",
- "supports-color": "^6.1.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
- "requires": {
- "has-flag": "^3.0.0"
- }
- }
- }
- },
- "js-scrypt": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/js-scrypt/-/js-scrypt-0.2.0.tgz",
- "integrity": "sha1-emK3AbRhbnCtDN5URiequ5nX/jk=",
- "requires": {
- "generic-pool": "~2.0.4"
- }
- },
"js-sha3": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.6.1.tgz",
@@ -13249,15 +51496,6 @@
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
"integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls="
},
- "js-yaml": {
- "version": "3.13.1",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
- "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
- "requires": {
- "argparse": "^1.0.7",
- "esprima": "^4.0.0"
- }
- },
"jsbn": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
@@ -13273,11 +51511,6 @@
"resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",
"integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg="
},
- "json-parse-better-errors": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",
- "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw=="
- },
"json-rpc-engine": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/json-rpc-engine/-/json-rpc-engine-3.8.0.tgz",
@@ -13322,11 +51555,6 @@
"jsonify": "~0.0.0"
}
},
- "json-stable-stringify-without-jsonify": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
- "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE="
- },
"json-stringify-safe": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
@@ -13399,14 +51627,6 @@
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
"integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw=="
},
- "klaw": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz",
- "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=",
- "requires": {
- "graceful-fs": "^4.1.9"
- }
- },
"last-run": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/last-run/-/last-run-1.1.1.tgz",
@@ -13416,14 +51636,6 @@
"es6-weak-map": "^2.0.1"
}
},
- "lazystream": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.0.tgz",
- "integrity": "sha1-9plf4PggOS9hOWvolGJAe7dxaOQ=",
- "requires": {
- "readable-stream": "^2.0.5"
- }
- },
"lcid": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz",
@@ -13432,11 +51644,6 @@
"invert-kv": "^1.0.0"
}
},
- "lcov-parse": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-1.0.0.tgz",
- "integrity": "sha1-6w1GtUER68VhrLTECO+TY73I9+A="
- },
"lead": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/lead/-/lead-1.0.0.tgz",
@@ -13450,11 +51657,6 @@
"resolved": "https://registry.npmjs.org/level-codec/-/level-codec-9.0.1.tgz",
"integrity": "sha512-ajFP0kJ+nyq4i6kptSM+mAvJKLOg1X5FiFPtLG9M5gCEZyBmgDi3FkDrvlMkEzrUn1cWxtvVmrvoS4ASyO/q+Q=="
},
- "level-concat-iterator": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/level-concat-iterator/-/level-concat-iterator-2.0.1.tgz",
- "integrity": "sha512-OTKKOqeav2QWcERMJR7IS9CUo1sHnke2C0gkSmcR7QuEtFNLLzHQAvnMw8ykvEcv0Qtkg0p7FOwP1v9e5Smdcw=="
- },
"level-errors": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/level-errors/-/level-errors-2.0.1.tgz",
@@ -13583,14 +51785,6 @@
}
}
},
- "level-supports": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/level-supports/-/level-supports-1.0.1.tgz",
- "integrity": "sha512-rXM7GYnW8gsl1vedTJIbzOrRv85c/2uCMpiiCzO2fndd06U/kUXEEU9evYn4zFggBOg36IsBW8LzqIpETwwQzg==",
- "requires": {
- "xtend": "^4.0.2"
- }
- },
"level-ws": {
"version": "0.0.0",
"resolved": "https://registry.npmjs.org/level-ws/-/level-ws-0.0.0.tgz",
@@ -13620,329 +51814,62 @@
}
}
}
- },
- "levelup": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/levelup/-/levelup-3.1.1.tgz",
- "integrity": "sha512-9N10xRkUU4dShSRRFTBdNaBxofz+PGaIZO962ckboJZiNmLuhVT6FZ6ZKAsICKfUBO76ySaYU6fJWX/jnj3Lcg==",
- "requires": {
- "deferred-leveldown": "~4.0.0",
- "level-errors": "~2.0.0",
- "level-iterator-stream": "~3.0.0",
- "xtend": "~4.0.0"
- },
- "dependencies": {
- "abstract-leveldown": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-5.0.0.tgz",
- "integrity": "sha512-5mU5P1gXtsMIXg65/rsYGsi93+MlogXZ9FA8JnwKurHQg64bfXwGYVdVdijNTVNOlAsuIiOwHdvFFD5JqCJQ7A==",
- "requires": {
- "xtend": "~4.0.0"
- }
- },
- "deferred-leveldown": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-4.0.2.tgz",
- "integrity": "sha512-5fMC8ek8alH16QiV0lTCis610D1Zt1+LA4MS4d63JgS32lrCjTFDUFz2ao09/j2I4Bqb5jL4FZYwu7Jz0XO1ww==",
- "requires": {
- "abstract-leveldown": "~5.0.0",
- "inherits": "^2.0.3"
- }
- },
- "level-iterator-stream": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-3.0.1.tgz",
- "integrity": "sha512-nEIQvxEED9yRThxvOrq8Aqziy4EGzrxSZK+QzEFAVuJvQ8glfyZ96GB6BoI4sBbLfjMXm2w4vu3Tkcm9obcY0g==",
- "requires": {
- "inherits": "^2.0.1",
- "readable-stream": "^2.3.6",
- "xtend": "^4.0.0"
- }
- }
- }
- },
- "levn": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
- "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=",
- "requires": {
- "prelude-ls": "~1.1.2",
- "type-check": "~0.3.2"
- }
- },
- "liftoff": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-3.1.0.tgz",
- "integrity": "sha512-DlIPlJUkCV0Ips2zf2pJP0unEoT1kwYhiiPUGF3s/jtxTCjziNLoiVVh+jqWOWeFi6mmwQ5fNxvAUyPad4Dfog==",
- "requires": {
- "extend": "^3.0.0",
- "findup-sync": "^3.0.0",
- "fined": "^1.0.1",
- "flagged-respawn": "^1.0.0",
- "is-plain-object": "^2.0.4",
- "object.map": "^1.0.0",
- "rechoir": "^0.6.2",
- "resolve": "^1.1.7"
- }
- },
- "lines-and-columns": {
- "version": "1.1.6",
- "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz",
- "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA="
- },
- "lint-staged": {
- "version": "10.0.0",
- "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.0.0.tgz",
- "integrity": "sha512-/MrZOLMnljjMHakxlRd1Z5Kr8wWWlrWFasye7HaTv5tx56icwzT/STRty8flMKsyzBGTfTa9QszNVPsDS/yOug==",
- "requires": {
- "chalk": "^3.0.0",
- "commander": "^4.0.1",
- "cosmiconfig": "^6.0.0",
- "debug": "^4.1.1",
- "dedent": "^0.7.0",
- "execa": "^3.4.0",
- "listr": "^0.14.3",
- "log-symbols": "^3.0.0",
- "micromatch": "^4.0.2",
- "normalize-path": "^3.0.0",
- "please-upgrade-node": "^3.2.0",
- "stringify-object": "^3.3.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
- "requires": {
- "@types/color-name": "^1.1.1",
- "color-convert": "^2.0.1"
- }
- },
- "braces": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
- "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
- "requires": {
- "fill-range": "^7.0.1"
- }
- },
- "chalk": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
- "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
- "requires": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- }
- },
- "color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "requires": {
- "color-name": "~1.1.4"
- }
- },
- "color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
- },
- "commander": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.0.tgz",
- "integrity": "sha512-NIQrwvv9V39FHgGFm36+U9SMQzbiHvU79k+iADraJTpmrFFfx7Ds0IvDoAdZsDrknlkRk14OYoWXb57uTh7/sw=="
- },
- "debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "requires": {
- "ms": "^2.1.1"
- }
- },
- "fill-range": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
- "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
- "requires": {
- "to-regex-range": "^5.0.1"
- }
- },
- "has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
- },
- "is-number": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
- },
- "micromatch": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz",
- "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==",
- "requires": {
- "braces": "^3.0.1",
- "picomatch": "^2.0.5"
- }
- },
- "normalize-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="
- },
- "supports-color": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
- "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
- "requires": {
- "has-flag": "^4.0.0"
- }
- },
- "to-regex-range": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
- "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "requires": {
- "is-number": "^7.0.0"
- }
- }
- }
- },
- "listr": {
- "version": "0.14.3",
- "resolved": "https://registry.npmjs.org/listr/-/listr-0.14.3.tgz",
- "integrity": "sha512-RmAl7su35BFd/xoMamRjpIE4j3v+L28o8CT5YhAXQJm1fD+1l9ngXY8JAQRJ+tFK2i5njvi0iRUKV09vPwA0iA==",
- "requires": {
- "@samverschueren/stream-to-observable": "^0.3.0",
- "is-observable": "^1.1.0",
- "is-promise": "^2.1.0",
- "is-stream": "^1.1.0",
- "listr-silent-renderer": "^1.1.1",
- "listr-update-renderer": "^0.5.0",
- "listr-verbose-renderer": "^0.5.0",
- "p-map": "^2.0.0",
- "rxjs": "^6.3.3"
- }
- },
- "listr-silent-renderer": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz",
- "integrity": "sha1-kktaN1cVN3C/Go4/v3S4u/P5JC4="
- },
- "listr-update-renderer": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/listr-update-renderer/-/listr-update-renderer-0.5.0.tgz",
- "integrity": "sha512-tKRsZpKz8GSGqoI/+caPmfrypiaq+OQCbd+CovEC24uk1h952lVj5sC7SqyFUm+OaJ5HN/a1YLt5cit2FMNsFA==",
- "requires": {
- "chalk": "^1.1.3",
- "cli-truncate": "^0.2.1",
- "elegant-spinner": "^1.0.1",
- "figures": "^1.7.0",
- "indent-string": "^3.0.0",
- "log-symbols": "^1.0.2",
- "log-update": "^2.3.0",
- "strip-ansi": "^3.0.1"
- },
- "dependencies": {
- "figures": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz",
- "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=",
- "requires": {
- "escape-string-regexp": "^1.0.5",
- "object-assign": "^4.1.0"
- }
- },
- "log-symbols": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz",
- "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=",
- "requires": {
- "chalk": "^1.0.0"
- }
- }
- }
- },
- "listr-verbose-renderer": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/listr-verbose-renderer/-/listr-verbose-renderer-0.5.0.tgz",
- "integrity": "sha512-04PDPqSlsqIOaaaGZ+41vq5FejI9auqTInicFRndCBgE3bXG8D6W1I+mWhk+1nqbHmyhla/6BUrd5OSiHwKRXw==",
- "requires": {
- "chalk": "^2.4.1",
- "cli-cursor": "^2.1.0",
- "date-fns": "^1.27.2",
- "figures": "^2.0.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "requires": {
- "color-convert": "^1.9.0"
- }
- },
- "chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "requires": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- }
- },
- "cli-cursor": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",
- "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=",
- "requires": {
- "restore-cursor": "^2.0.0"
- }
- },
- "figures": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
- "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=",
- "requires": {
- "escape-string-regexp": "^1.0.5"
- }
- },
- "mimic-fn": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
- "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ=="
- },
- "onetime": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
- "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",
+ },
+ "levelup": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/levelup/-/levelup-3.1.1.tgz",
+ "integrity": "sha512-9N10xRkUU4dShSRRFTBdNaBxofz+PGaIZO962ckboJZiNmLuhVT6FZ6ZKAsICKfUBO76ySaYU6fJWX/jnj3Lcg==",
+ "requires": {
+ "deferred-leveldown": "~4.0.0",
+ "level-errors": "~2.0.0",
+ "level-iterator-stream": "~3.0.0",
+ "xtend": "~4.0.0"
+ },
+ "dependencies": {
+ "abstract-leveldown": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-5.0.0.tgz",
+ "integrity": "sha512-5mU5P1gXtsMIXg65/rsYGsi93+MlogXZ9FA8JnwKurHQg64bfXwGYVdVdijNTVNOlAsuIiOwHdvFFD5JqCJQ7A==",
"requires": {
- "mimic-fn": "^1.0.0"
+ "xtend": "~4.0.0"
}
},
- "restore-cursor": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
- "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=",
+ "deferred-leveldown": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-4.0.2.tgz",
+ "integrity": "sha512-5fMC8ek8alH16QiV0lTCis610D1Zt1+LA4MS4d63JgS32lrCjTFDUFz2ao09/j2I4Bqb5jL4FZYwu7Jz0XO1ww==",
"requires": {
- "onetime": "^2.0.0",
- "signal-exit": "^3.0.2"
+ "abstract-leveldown": "~5.0.0",
+ "inherits": "^2.0.3"
}
},
- "supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "level-iterator-stream": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-3.0.1.tgz",
+ "integrity": "sha512-nEIQvxEED9yRThxvOrq8Aqziy4EGzrxSZK+QzEFAVuJvQ8glfyZ96GB6BoI4sBbLfjMXm2w4vu3Tkcm9obcY0g==",
"requires": {
- "has-flag": "^3.0.0"
+ "inherits": "^2.0.1",
+ "readable-stream": "^2.3.6",
+ "xtend": "^4.0.0"
}
}
}
},
+ "liftoff": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-3.1.0.tgz",
+ "integrity": "sha512-DlIPlJUkCV0Ips2zf2pJP0unEoT1kwYhiiPUGF3s/jtxTCjziNLoiVVh+jqWOWeFi6mmwQ5fNxvAUyPad4Dfog==",
+ "requires": {
+ "extend": "^3.0.0",
+ "findup-sync": "^3.0.0",
+ "fined": "^1.0.1",
+ "flagged-respawn": "^1.0.0",
+ "is-plain-object": "^2.0.4",
+ "object.map": "^1.0.0",
+ "rechoir": "^0.6.2",
+ "resolve": "^1.1.7"
+ }
+ },
"load-json-file": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
@@ -13962,191 +51889,11 @@
}
}
},
- "loader-runner": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz",
- "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw=="
- },
- "loader-utils": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz",
- "integrity": "sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==",
- "requires": {
- "big.js": "^5.2.2",
- "emojis-list": "^2.0.0",
- "json5": "^1.0.1"
- },
- "dependencies": {
- "json5": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz",
- "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",
- "requires": {
- "minimist": "^1.2.0"
- }
- },
- "minimist": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
- "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
- }
- }
- },
- "locate-path": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz",
- "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=",
- "requires": {
- "p-locate": "^2.0.0",
- "path-exists": "^3.0.0"
- },
- "dependencies": {
- "path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU="
- }
- }
- },
"lodash": {
"version": "4.17.14",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.14.tgz",
"integrity": "sha512-mmKYbW3GLuJeX+iGP+Y7Gp1AiGHGbXHCOh/jZmrawMmsE7MS4znI3RL2FsjbqOyMayHInjOeykW7PEajUk1/xw=="
},
- "lodash.flattendeep": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz",
- "integrity": "sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI="
- },
- "lodash.merge": {
- "version": "4.6.2",
- "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
- "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="
- },
- "log-driver": {
- "version": "1.2.7",
- "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.7.tgz",
- "integrity": "sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg=="
- },
- "log-symbols": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-3.0.0.tgz",
- "integrity": "sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==",
- "requires": {
- "chalk": "^2.4.2"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "requires": {
- "color-convert": "^1.9.0"
- }
- },
- "chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "requires": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- }
- },
- "supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "requires": {
- "has-flag": "^3.0.0"
- }
- }
- }
- },
- "log-update": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/log-update/-/log-update-2.3.0.tgz",
- "integrity": "sha1-iDKP19HOeTiykoN0bwsbwSayRwg=",
- "requires": {
- "ansi-escapes": "^3.0.0",
- "cli-cursor": "^2.0.0",
- "wrap-ansi": "^3.0.1"
- },
- "dependencies": {
- "ansi-escapes": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz",
- "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ=="
- },
- "ansi-regex": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
- "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg="
- },
- "cli-cursor": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",
- "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=",
- "requires": {
- "restore-cursor": "^2.0.0"
- }
- },
- "is-fullwidth-code-point": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8="
- },
- "mimic-fn": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
- "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ=="
- },
- "onetime": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
- "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",
- "requires": {
- "mimic-fn": "^1.0.0"
- }
- },
- "restore-cursor": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
- "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=",
- "requires": {
- "onetime": "^2.0.0",
- "signal-exit": "^3.0.2"
- }
- },
- "string-width": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
- "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
- "requires": {
- "is-fullwidth-code-point": "^2.0.0",
- "strip-ansi": "^4.0.0"
- }
- },
- "strip-ansi": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
- "requires": {
- "ansi-regex": "^3.0.0"
- }
- },
- "wrap-ansi": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-3.0.1.tgz",
- "integrity": "sha1-KIoE2H7aXChuBg3+jxNc6NAH+Lo=",
- "requires": {
- "string-width": "^2.1.1",
- "strip-ansi": "^4.0.0"
- }
- }
- }
- },
"looper": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/looper/-/looper-2.0.0.tgz",
@@ -14201,19 +51948,6 @@
"kind-of": "^6.0.2"
}
},
- "mamacro": {
- "version": "0.0.3",
- "resolved": "https://registry.npmjs.org/mamacro/-/mamacro-0.0.3.tgz",
- "integrity": "sha512-qMEwh+UujcQ+kbz3T6V+wAmO2U8veoq2w+3wY8MquqwVA3jChfwY+Tk52GZKDfACEPjuZ7r2oJLejwpt8jtwTA=="
- },
- "map-age-cleaner": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz",
- "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==",
- "requires": {
- "p-defer": "^1.0.0"
- }
- },
"map-cache": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",
@@ -14269,70 +52003,6 @@
"safe-buffer": "^5.1.2"
}
},
- "media-typer": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
- "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g="
- },
- "mem": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/mem/-/mem-4.3.0.tgz",
- "integrity": "sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w==",
- "requires": {
- "map-age-cleaner": "^0.1.1",
- "mimic-fn": "^2.0.0",
- "p-is-promise": "^2.0.0"
- }
- },
- "memdown": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/memdown/-/memdown-5.1.0.tgz",
- "integrity": "sha512-B3J+UizMRAlEArDjWHTMmadet+UKwHd3UjMgGBkZcKAxAYVPS9o0Yeiha4qvz7iGiL2Sb3igUft6p7nbFWctpw==",
- "requires": {
- "abstract-leveldown": "~6.2.1",
- "functional-red-black-tree": "~1.0.1",
- "immediate": "~3.2.3",
- "inherits": "~2.0.1",
- "ltgt": "~2.2.0",
- "safe-buffer": "~5.2.0"
- },
- "dependencies": {
- "abstract-leveldown": {
- "version": "6.2.2",
- "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.2.2.tgz",
- "integrity": "sha512-/a+Iwj0rn//CX0EJOasNyZJd2o8xur8Ce9C57Sznti/Ilt/cb6Qd8/k98A4ZOklXgTG+iAYYUs1OTG0s1eH+zQ==",
- "requires": {
- "level-concat-iterator": "~2.0.0",
- "level-supports": "~1.0.0",
- "xtend": "~4.0.0"
- }
- }
- }
- },
- "memory-fs": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz",
- "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=",
- "requires": {
- "errno": "^0.1.3",
- "readable-stream": "^2.0.1"
- }
- },
- "memorystream": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz",
- "integrity": "sha1-htcJCzDORV1j+64S3aUaR93K+bI="
- },
- "merge-descriptors": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
- "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E="
- },
- "merge-stream": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
- "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="
- },
"merkle-patricia-tree": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/merkle-patricia-tree/-/merkle-patricia-tree-2.3.2.tgz",
@@ -14429,11 +52099,6 @@
}
}
},
- "methods": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
- "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
- },
"micromatch": {
"version": "3.1.10",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
@@ -14454,38 +52119,6 @@
"to-regex": "^3.0.2"
}
},
- "miller-rabin": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz",
- "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==",
- "requires": {
- "bn.js": "^4.0.0",
- "brorand": "^1.0.1"
- }
- },
- "mime": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
- "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="
- },
- "mime-db": {
- "version": "1.43.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.43.0.tgz",
- "integrity": "sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ=="
- },
- "mime-types": {
- "version": "2.1.26",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.26.tgz",
- "integrity": "sha512-01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dWQ==",
- "requires": {
- "mime-db": "1.43.0"
- }
- },
- "mimic-fn": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
- "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg=="
- },
"mimic-response": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
@@ -14504,11 +52137,6 @@
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",
"integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A=="
},
- "minimalistic-crypto-utils": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz",
- "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo="
- },
"minimatch": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
@@ -14531,75 +52159,6 @@
"yallist": "^3.0.0"
}
},
- "minipass-collect": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz",
- "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==",
- "requires": {
- "minipass": "^3.0.0"
- },
- "dependencies": {
- "minipass": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.1.tgz",
- "integrity": "sha512-UFqVihv6PQgwj8/yTGvl9kPz7xIAY+R5z6XYjRInD3Gk3qx6QGSD6zEcpeG4Dy/lQnv1J6zv8ejV90hyYIKf3w==",
- "requires": {
- "yallist": "^4.0.0"
- }
- },
- "yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
- }
- }
- },
- "minipass-flush": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz",
- "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==",
- "requires": {
- "minipass": "^3.0.0"
- },
- "dependencies": {
- "minipass": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.1.tgz",
- "integrity": "sha512-UFqVihv6PQgwj8/yTGvl9kPz7xIAY+R5z6XYjRInD3Gk3qx6QGSD6zEcpeG4Dy/lQnv1J6zv8ejV90hyYIKf3w==",
- "requires": {
- "yallist": "^4.0.0"
- }
- },
- "yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
- }
- }
- },
- "minipass-pipeline": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.2.tgz",
- "integrity": "sha512-3JS5A2DKhD2g0Gg8x3yamO0pj7YeKGwVlDS90pF++kxptwx/F+B//roxf9SqYil5tQo65bijy+dAuAFZmYOouA==",
- "requires": {
- "minipass": "^3.0.0"
- },
- "dependencies": {
- "minipass": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.1.tgz",
- "integrity": "sha512-UFqVihv6PQgwj8/yTGvl9kPz7xIAY+R5z6XYjRInD3Gk3qx6QGSD6zEcpeG4Dy/lQnv1J6zv8ejV90hyYIKf3w==",
- "requires": {
- "yallist": "^4.0.0"
- }
- },
- "yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
- }
- }
- },
"minizlib": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz",
@@ -14608,23 +52167,6 @@
"minipass": "^2.9.0"
}
},
- "mississippi": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz",
- "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==",
- "requires": {
- "concat-stream": "^1.5.0",
- "duplexify": "^3.4.2",
- "end-of-stream": "^1.1.0",
- "flush-write-stream": "^1.0.0",
- "from2": "^2.1.0",
- "parallel-transform": "^1.1.0",
- "pump": "^3.0.0",
- "pumpify": "^1.3.3",
- "stream-each": "^1.1.0",
- "through2": "^2.0.0"
- }
- },
"mixin-deep": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz",
@@ -14644,405 +52186,6 @@
}
}
},
- "mkdirp": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.3.tgz",
- "integrity": "sha512-6uCP4Qc0sWsgMLy1EOqqS/3rjDHOEnsStVr/4vtAIK2Y5i2kA7lFFejYrpIyiN9w0pYf4ckeCYT9f1r1P9KX5g=="
- },
- "mkdirp-promise": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz",
- "integrity": "sha1-6bj2jlUsaKnBcTuEiD96HdA5uKE=",
- "requires": {
- "mkdirp": "*"
- }
- },
- "mocha": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/mocha/-/mocha-7.0.0.tgz",
- "integrity": "sha512-CirsOPbO3jU86YKjjMzFLcXIb5YiGLUrjrXFHoJ3e2z9vWiaZVCZQ2+gtRGMPWF+nFhN6AWwLM/juzAQ6KRkbA==",
- "requires": {
- "ansi-colors": "3.2.3",
- "browser-stdout": "1.3.1",
- "chokidar": "3.3.0",
- "debug": "3.2.6",
- "diff": "3.5.0",
- "escape-string-regexp": "1.0.5",
- "find-up": "3.0.0",
- "glob": "7.1.3",
- "growl": "1.10.5",
- "he": "1.2.0",
- "js-yaml": "3.13.1",
- "log-symbols": "2.2.0",
- "minimatch": "3.0.4",
- "mkdirp": "0.5.1",
- "ms": "2.1.1",
- "node-environment-flags": "1.0.6",
- "object.assign": "4.1.0",
- "strip-json-comments": "2.0.1",
- "supports-color": "6.0.0",
- "which": "1.3.1",
- "wide-align": "1.1.3",
- "yargs": "13.3.0",
- "yargs-parser": "13.1.1",
- "yargs-unparser": "1.6.0"
- },
- "dependencies": {
- "ansi-colors": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.3.tgz",
- "integrity": "sha512-LEHHyuhlPY3TmuUYMh2oz89lTShfvgbmzaBcxve9t/9Wuy7Dwf4yoAKcND7KFT1HAQfqZ12qtc+DUrBMeKF9nw=="
- },
- "ansi-regex": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg=="
- },
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "requires": {
- "color-convert": "^1.9.0"
- }
- },
- "anymatch": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz",
- "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==",
- "requires": {
- "normalize-path": "^3.0.0",
- "picomatch": "^2.0.4"
- }
- },
- "binary-extensions": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.0.0.tgz",
- "integrity": "sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow=="
- },
- "braces": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
- "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
- "requires": {
- "fill-range": "^7.0.1"
- }
- },
- "camelcase": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
- },
- "chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "requires": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "requires": {
- "has-flag": "^3.0.0"
- }
- }
- }
- },
- "chokidar": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.3.0.tgz",
- "integrity": "sha512-dGmKLDdT3Gdl7fBUe8XK+gAtGmzy5Fn0XkkWQuYxGIgWVPPse2CxFA5mtrlD0TOHaHjEUqkWNyP1XdHoJES/4A==",
- "requires": {
- "anymatch": "~3.1.1",
- "braces": "~3.0.2",
- "fsevents": "~2.1.1",
- "glob-parent": "~5.1.0",
- "is-binary-path": "~2.1.0",
- "is-glob": "~4.0.1",
- "normalize-path": "~3.0.0",
- "readdirp": "~3.2.0"
- }
- },
- "cliui": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
- "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==",
- "requires": {
- "string-width": "^3.1.0",
- "strip-ansi": "^5.2.0",
- "wrap-ansi": "^5.1.0"
- }
- },
- "emoji-regex": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
- "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA=="
- },
- "fill-range": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
- "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
- "requires": {
- "to-regex-range": "^5.0.1"
- }
- },
- "find-up": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
- "requires": {
- "locate-path": "^3.0.0"
- }
- },
- "fsevents": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.2.tgz",
- "integrity": "sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA==",
- "optional": true
- },
- "get-caller-file": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
- "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
- },
- "glob": {
- "version": "7.1.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz",
- "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==",
- "requires": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- }
- },
- "glob-parent": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz",
- "integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==",
- "requires": {
- "is-glob": "^4.0.1"
- }
- },
- "is-binary-path": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
- "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
- "requires": {
- "binary-extensions": "^2.0.0"
- }
- },
- "is-fullwidth-code-point": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8="
- },
- "is-number": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
- },
- "locate-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
- "requires": {
- "p-locate": "^3.0.0",
- "path-exists": "^3.0.0"
- }
- },
- "log-symbols": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz",
- "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==",
- "requires": {
- "chalk": "^2.0.1"
- }
- },
- "mkdirp": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
- "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
- "requires": {
- "minimist": "0.0.8"
- }
- },
- "ms": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
- "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg=="
- },
- "normalize-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="
- },
- "p-limit": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz",
- "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==",
- "requires": {
- "p-try": "^2.0.0"
- }
- },
- "p-locate": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
- "requires": {
- "p-limit": "^2.0.0"
- }
- },
- "p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
- },
- "path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU="
- },
- "readdirp": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.2.0.tgz",
- "integrity": "sha512-crk4Qu3pmXwgxdSgGhgA/eXiJAPQiX4GMOZZMXnqKxHX7TaoL+3gQVo/WeuAiogr07DpnfjIMpXXa+PAIvwPGQ==",
- "requires": {
- "picomatch": "^2.0.4"
- }
- },
- "require-main-filename": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
- "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
- },
- "string-width": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
- "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
- "requires": {
- "emoji-regex": "^7.0.1",
- "is-fullwidth-code-point": "^2.0.0",
- "strip-ansi": "^5.1.0"
- }
- },
- "strip-ansi": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
- "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
- "requires": {
- "ansi-regex": "^4.1.0"
- }
- },
- "strip-json-comments": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
- "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo="
- },
- "supports-color": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.0.0.tgz",
- "integrity": "sha512-on9Kwidc1IUQo+bQdhi8+Tijpo0e1SS6RoGo2guUwn5vdaxw8RXOF9Vb2ws+ihWOmh4JnCJOvaziZWP1VABaLg==",
- "requires": {
- "has-flag": "^3.0.0"
- }
- },
- "to-regex-range": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
- "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "requires": {
- "is-number": "^7.0.0"
- }
- },
- "which-module": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
- "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho="
- },
- "wrap-ansi": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
- "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
- "requires": {
- "ansi-styles": "^3.2.0",
- "string-width": "^3.0.0",
- "strip-ansi": "^5.0.0"
- }
- },
- "y18n": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
- "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w=="
- },
- "yargs": {
- "version": "13.3.0",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.0.tgz",
- "integrity": "sha512-2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA==",
- "requires": {
- "cliui": "^5.0.0",
- "find-up": "^3.0.0",
- "get-caller-file": "^2.0.1",
- "require-directory": "^2.1.1",
- "require-main-filename": "^2.0.0",
- "set-blocking": "^2.0.0",
- "string-width": "^3.0.0",
- "which-module": "^2.0.0",
- "y18n": "^4.0.0",
- "yargs-parser": "^13.1.1"
- }
- },
- "yargs-parser": {
- "version": "13.1.1",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.1.tgz",
- "integrity": "sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ==",
- "requires": {
- "camelcase": "^5.0.0",
- "decamelize": "^1.2.0"
- }
- }
- }
- },
- "mocha-lcov-reporter": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/mocha-lcov-reporter/-/mocha-lcov-reporter-1.3.0.tgz",
- "integrity": "sha1-Rpve9PivyaEWBW8HnfYYLQr7A4Q="
- },
- "mock-fs": {
- "version": "4.10.4",
- "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-4.10.4.tgz",
- "integrity": "sha512-gDfZDLaPIvtOusbusLinfx6YSe2YpQsDT8qdP41P47dQ/NQggtkHukz7hwqgt8QvMBmAv+Z6DGmXPyb5BWX2nQ=="
- },
- "move-concurrently": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz",
- "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=",
- "requires": {
- "aproba": "^1.1.1",
- "copy-concurrently": "^1.0.0",
- "fs-write-stream-atomic": "^1.0.8",
- "mkdirp": "^0.5.1",
- "rimraf": "^2.5.4",
- "run-queue": "^1.0.3"
- },
- "dependencies": {
- "mkdirp": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
- "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
- "requires": {
- "minimist": "0.0.8"
- }
- }
- }
- },
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
@@ -15053,21 +52196,11 @@
"resolved": "https://registry.npmjs.org/mute-stdout/-/mute-stdout-1.0.1.tgz",
"integrity": "sha512-kDcwXR4PS7caBpuRYYBUz9iVixUk3anO3f5OYFiIPwK/20vCzKCHyKoulbiDY1S53zD2bxUpxN/IJ+TnXjfvxg=="
},
- "mute-stream": {
- "version": "0.0.8",
- "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
- "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA=="
- },
"nan": {
"version": "2.13.2",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.13.2.tgz",
"integrity": "sha512-TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw=="
},
- "nano-json-stream-parser": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/nano-json-stream-parser/-/nano-json-stream-parser-0.1.2.tgz",
- "integrity": "sha1-DMj20OK2IrR5xA1JnEbWS3Vcb18="
- },
"nanomatch": {
"version": "1.2.13",
"resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
@@ -15086,138 +52219,11 @@
"to-regex": "^3.0.1"
}
},
- "natural-compare": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
- "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc="
- },
- "negotiator": {
- "version": "0.6.2",
- "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
- "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw=="
- },
- "neo-async": {
- "version": "2.6.1",
- "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz",
- "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw=="
- },
- "next-tick": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz",
- "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw="
- },
- "nice-try": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
- "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ=="
- },
- "node-environment-flags": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz",
- "integrity": "sha512-5Evy2epuL+6TM0lCQGpFIj6KwiEsGh1SrHUhTbNX+sLbBtjidPZFAnVK9y5yU1+h//RitLbRHTIMyxQPtxMdHw==",
- "requires": {
- "object.getownpropertydescriptors": "^2.0.3",
- "semver": "^5.7.0"
- },
- "dependencies": {
- "semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
- }
- }
- },
"node-fetch": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.1.2.tgz",
"integrity": "sha1-q4hOjn5X44qUR1POxwb3iNF2i7U="
},
- "node-libs-browser": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz",
- "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==",
- "requires": {
- "assert": "^1.1.1",
- "browserify-zlib": "^0.2.0",
- "buffer": "^4.3.0",
- "console-browserify": "^1.1.0",
- "constants-browserify": "^1.0.0",
- "crypto-browserify": "^3.11.0",
- "domain-browser": "^1.1.1",
- "events": "^3.0.0",
- "https-browserify": "^1.0.0",
- "os-browserify": "^0.3.0",
- "path-browserify": "0.0.1",
- "process": "^0.11.10",
- "punycode": "^1.2.4",
- "querystring-es3": "^0.2.0",
- "readable-stream": "^2.3.3",
- "stream-browserify": "^2.0.1",
- "stream-http": "^2.7.2",
- "string_decoder": "^1.0.0",
- "timers-browserify": "^2.0.4",
- "tty-browserify": "0.0.0",
- "url": "^0.11.0",
- "util": "^0.11.0",
- "vm-browserify": "^1.0.1"
- },
- "dependencies": {
- "buffer": {
- "version": "4.9.2",
- "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz",
- "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==",
- "requires": {
- "base64-js": "^1.0.2",
- "ieee754": "^1.1.4",
- "isarray": "^1.0.0"
- }
- },
- "inherits": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
- "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
- },
- "isarray": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
- "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
- },
- "process": {
- "version": "0.11.10",
- "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
- "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI="
- },
- "punycode": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
- "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="
- },
- "string_decoder": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
- "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
- "requires": {
- "safe-buffer": "~5.2.0"
- }
- },
- "util": {
- "version": "0.11.1",
- "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz",
- "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==",
- "requires": {
- "inherits": "2.0.3"
- }
- }
- }
- },
- "node-preload": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/node-preload/-/node-preload-0.2.1.tgz",
- "integrity": "sha512-RM5oyBy45cLEoHqCeh+MNuFAxO0vTFBLskvQbOKnEE7YTTSN4tbN8QWDIPQ6L+WvKsB/qLEGpYe2ZZ9d4W9OIQ==",
- "requires": {
- "process-on-spawn": "^1.0.0"
- }
- },
"normalize-package-data": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
@@ -15257,14 +52263,6 @@
"once": "^1.3.2"
}
},
- "npm-run-path": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
- "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
- "requires": {
- "path-key": "^3.0.0"
- }
- },
"number-is-nan": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
@@ -15286,242 +52284,6 @@
}
}
},
- "nyc": {
- "version": "15.0.0",
- "resolved": "https://registry.npmjs.org/nyc/-/nyc-15.0.0.tgz",
- "integrity": "sha512-qcLBlNCKMDVuKb7d1fpxjPR8sHeMVX0CHarXAVzrVWoFrigCkYR8xcrjfXSPi5HXM7EU78L6ywO7w1c5rZNCNg==",
- "requires": {
- "@istanbuljs/load-nyc-config": "^1.0.0",
- "@istanbuljs/schema": "^0.1.2",
- "caching-transform": "^4.0.0",
- "convert-source-map": "^1.7.0",
- "decamelize": "^1.2.0",
- "find-cache-dir": "^3.2.0",
- "find-up": "^4.1.0",
- "foreground-child": "^2.0.0",
- "glob": "^7.1.6",
- "istanbul-lib-coverage": "^3.0.0",
- "istanbul-lib-hook": "^3.0.0",
- "istanbul-lib-instrument": "^4.0.0",
- "istanbul-lib-processinfo": "^2.0.2",
- "istanbul-lib-report": "^3.0.0",
- "istanbul-lib-source-maps": "^4.0.0",
- "istanbul-reports": "^3.0.0",
- "js-yaml": "^3.13.1",
- "make-dir": "^3.0.0",
- "node-preload": "^0.2.0",
- "p-map": "^3.0.0",
- "process-on-spawn": "^1.0.0",
- "resolve-from": "^5.0.0",
- "rimraf": "^3.0.0",
- "signal-exit": "^3.0.2",
- "spawn-wrap": "^2.0.0",
- "test-exclude": "^6.0.0",
- "uuid": "^3.3.3",
- "yargs": "^15.0.2"
- },
- "dependencies": {
- "ansi-regex": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
- "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg=="
- },
- "ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
- "requires": {
- "@types/color-name": "^1.1.1",
- "color-convert": "^2.0.1"
- }
- },
- "camelcase": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
- },
- "cliui": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
- "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
- "requires": {
- "string-width": "^4.2.0",
- "strip-ansi": "^6.0.0",
- "wrap-ansi": "^6.2.0"
- }
- },
- "color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "requires": {
- "color-name": "~1.1.4"
- }
- },
- "color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
- },
- "find-up": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "requires": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
- }
- },
- "get-caller-file": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
- "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
- },
- "is-fullwidth-code-point": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
- },
- "locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "requires": {
- "p-locate": "^4.1.0"
- }
- },
- "make-dir": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.0.0.tgz",
- "integrity": "sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw==",
- "requires": {
- "semver": "^6.0.0"
- }
- },
- "p-limit": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz",
- "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==",
- "requires": {
- "p-try": "^2.0.0"
- }
- },
- "p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "requires": {
- "p-limit": "^2.2.0"
- }
- },
- "p-map": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz",
- "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==",
- "requires": {
- "aggregate-error": "^3.0.0"
- }
- },
- "p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
- },
- "path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
- },
- "require-main-filename": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
- "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
- },
- "resolve-from": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
- "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw=="
- },
- "rimraf": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.1.tgz",
- "integrity": "sha512-IQ4ikL8SjBiEDZfk+DFVwqRK8md24RWMEJkdSlgNLkyyAImcjf8SWvU1qFMDOb4igBClbTQ/ugPqXcRwdFTxZw==",
- "requires": {
- "glob": "^7.1.3"
- }
- },
- "semver": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
- },
- "string-width": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",
- "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==",
- "requires": {
- "emoji-regex": "^8.0.0",
- "is-fullwidth-code-point": "^3.0.0",
- "strip-ansi": "^6.0.0"
- }
- },
- "strip-ansi": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
- "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
- "requires": {
- "ansi-regex": "^5.0.0"
- }
- },
- "which-module": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
- "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho="
- },
- "wrap-ansi": {
- "version": "6.2.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
- "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
- "requires": {
- "ansi-styles": "^4.0.0",
- "string-width": "^4.1.0",
- "strip-ansi": "^6.0.0"
- }
- },
- "y18n": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
- "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w=="
- },
- "yargs": {
- "version": "15.1.0",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.1.0.tgz",
- "integrity": "sha512-T39FNN1b6hCW4SOIk1XyTOWxtXdcen0t+XYrysQmChzSipvhBO8Bj0nK1ozAasdk24dNWuMZvr4k24nz+8HHLg==",
- "requires": {
- "cliui": "^6.0.0",
- "decamelize": "^1.2.0",
- "find-up": "^4.1.0",
- "get-caller-file": "^2.0.1",
- "require-directory": "^2.1.1",
- "require-main-filename": "^2.0.0",
- "set-blocking": "^2.0.0",
- "string-width": "^4.2.0",
- "which-module": "^2.0.0",
- "y18n": "^4.0.0",
- "yargs-parser": "^16.1.0"
- }
- },
- "yargs-parser": {
- "version": "16.1.0",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-16.1.0.tgz",
- "integrity": "sha512-H/V41UNZQPkUMIT5h5hiwg4QKIY1RPvoBV4XcjUbRM8Bk2oKqqyZ0DIEbTFZB0XjbtSPG8SAa/0DxCQmiRgzKg==",
- "requires": {
- "camelcase": "^5.0.0",
- "decamelize": "^1.2.0"
- }
- }
- }
- },
"oauth-sign": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
@@ -15612,15 +52374,6 @@
"isobject": "^3.0.0"
}
},
- "object.getownpropertydescriptors": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz",
- "integrity": "sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg==",
- "requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.0-next.1"
- }
- },
"object.map": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/object.map/-/object.map-1.0.1.tgz",
@@ -15647,17 +52400,6 @@
"make-iterator": "^1.0.0"
}
},
- "object.values": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.1.tgz",
- "integrity": "sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA==",
- "requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.0-next.1",
- "function-bind": "^1.1.1",
- "has": "^1.0.3"
- }
- },
"oboe": {
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/oboe/-/oboe-2.1.4.tgz",
@@ -15666,14 +52408,6 @@
"http-https": "^1.0.0"
}
},
- "on-finished": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
- "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
- "requires": {
- "ee-first": "1.1.1"
- }
- },
"once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
@@ -15682,32 +52416,6 @@
"wrappy": "1"
}
},
- "onetime": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz",
- "integrity": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==",
- "requires": {
- "mimic-fn": "^2.1.0"
- }
- },
- "opencollective-postinstall": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.2.tgz",
- "integrity": "sha512-pVOEP16TrAO2/fjej1IdOyupJY8KDUM1CvsaScRbw6oddvpQoOfGk4ywha0HKKVAD6RkW4x6Q+tNBwhf3Bgpuw=="
- },
- "optionator": {
- "version": "0.8.3",
- "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz",
- "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==",
- "requires": {
- "deep-is": "~0.1.3",
- "fast-levenshtein": "~2.0.6",
- "levn": "~0.3.0",
- "prelude-ls": "~1.1.2",
- "type-check": "~0.3.2",
- "word-wrap": "~1.2.3"
- }
- },
"ordered-read-streams": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/ordered-read-streams/-/ordered-read-streams-1.0.1.tgz",
@@ -15716,11 +52424,6 @@
"readable-stream": "^2.0.1"
}
},
- "os-browserify": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz",
- "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc="
- },
"os-homedir": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
@@ -15744,102 +52447,6 @@
"resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
"integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw=="
},
- "p-defer": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz",
- "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww="
- },
- "p-finally": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
- "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4="
- },
- "p-is-promise": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.1.0.tgz",
- "integrity": "sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg=="
- },
- "p-limit": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
- "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
- "requires": {
- "p-try": "^1.0.0"
- }
- },
- "p-locate": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz",
- "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
- "requires": {
- "p-limit": "^1.1.0"
- }
- },
- "p-map": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz",
- "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw=="
- },
- "p-timeout": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-1.2.1.tgz",
- "integrity": "sha1-XrOzU7f86Z8QGhA4iAuwVOu+o4Y=",
- "requires": {
- "p-finally": "^1.0.0"
- }
- },
- "p-try": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",
- "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M="
- },
- "package-hash": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/package-hash/-/package-hash-4.0.0.tgz",
- "integrity": "sha512-whdkPIooSu/bASggZ96BWVvZTRMOFxnyUG5PnTSGKoJE2gd5mbVNmR2Nj20QFzxYYgAXpoqC+AiXzl+UMRh7zQ==",
- "requires": {
- "graceful-fs": "^4.1.15",
- "hasha": "^5.0.0",
- "lodash.flattendeep": "^4.4.0",
- "release-zalgo": "^1.0.0"
- }
- },
- "pako": {
- "version": "1.0.11",
- "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
- "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="
- },
- "parallel-transform": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.2.0.tgz",
- "integrity": "sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg==",
- "requires": {
- "cyclist": "^1.0.1",
- "inherits": "^2.0.3",
- "readable-stream": "^2.1.5"
- }
- },
- "parent-module": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
- "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
- "requires": {
- "callsites": "^3.0.0"
- }
- },
- "parse-asn1": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.5.tgz",
- "integrity": "sha512-jkMYn1dcJqF6d5CpU689bq7w/b5ALS9ROVSpQDPrZsqqesUJii9qutvoT5ltGedNXMO2e16YUWIghG9KxaViTQ==",
- "requires": {
- "asn1.js": "^4.0.0",
- "browserify-aes": "^1.0.0",
- "create-hash": "^1.1.0",
- "evp_bytestokey": "^1.0.0",
- "pbkdf2": "^3.0.3",
- "safe-buffer": "^5.1.1"
- }
- },
"parse-filepath": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/parse-filepath/-/parse-filepath-1.0.2.tgz",
@@ -15873,21 +52480,11 @@
"resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz",
"integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY="
},
- "parseurl": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
- "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="
- },
"pascalcase": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",
"integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ="
},
- "path-browserify": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz",
- "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ=="
- },
"path-dirname": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz",
@@ -15906,11 +52503,6 @@
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
},
- "path-key": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
- "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="
- },
"path-parse": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
@@ -15929,11 +52521,6 @@
"resolved": "https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz",
"integrity": "sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0="
},
- "path-to-regexp": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
- "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
- },
"path-type": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
@@ -15973,75 +52560,6 @@
"resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
"integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
},
- "picomatch": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.1.tgz",
- "integrity": "sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA=="
- },
- "pify": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g=="
- },
- "pinkie": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",
- "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA="
- },
- "pinkie-promise": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",
- "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=",
- "requires": {
- "pinkie": "^2.0.0"
- }
- },
- "pkg-dir": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz",
- "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=",
- "requires": {
- "find-up": "^2.1.0"
- },
- "dependencies": {
- "find-up": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
- "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
- "requires": {
- "locate-path": "^2.0.0"
- }
- }
- }
- },
- "please-upgrade-node": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz",
- "integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==",
- "requires": {
- "semver-compare": "^1.0.0"
- }
- },
- "portfinder": {
- "version": "1.0.25",
- "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.25.tgz",
- "integrity": "sha512-6ElJnHBbxVA1XSLgBp7G1FiCkQdlqGzuF7DswL5tcea+E8UpuvPU7beVAjjRwCioTS9ZluNbu+ZyRvgTsmqEBg==",
- "requires": {
- "async": "^2.6.2",
- "debug": "^3.1.1",
- "mkdirp": "^0.5.1"
- },
- "dependencies": {
- "mkdirp": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
- "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
- "requires": {
- "minimist": "0.0.8"
- }
- }
- }
- },
"posix-character-classes": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",
@@ -16052,21 +52570,11 @@
"resolved": "https://registry.npmjs.org/precond/-/precond-0.2.3.tgz",
"integrity": "sha1-qpWRvKokkj8eD0hJ0kD0fvwQdaw="
},
- "prelude-ls": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
- "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ="
- },
"prepend-http": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
"integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc="
},
- "prettier": {
- "version": "1.19.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz",
- "integrity": "sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew=="
- },
"pretty-hrtime": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz",
@@ -16087,24 +52595,6 @@
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
"integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
},
- "process-on-spawn": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/process-on-spawn/-/process-on-spawn-1.0.0.tgz",
- "integrity": "sha512-1WsPDsUSMmZH5LeMLegqkPDrsGgsWwk1Exipy2hvB0o/F0ASzbpIctSCcZIK1ykJvtTJULEH+20WOFjMvGnCTg==",
- "requires": {
- "fromentries": "^1.2.0"
- }
- },
- "progress": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
- "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA=="
- },
- "promise-inflight": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz",
- "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM="
- },
"promise-to-callback": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/promise-to-callback/-/promise-to-callback-1.0.0.tgz",
@@ -16114,15 +52604,6 @@
"set-immediate-shim": "^1.0.1"
}
},
- "proxy-addr": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.5.tgz",
- "integrity": "sha512-t/7RxHXPH6cJtP0pRG6smSr9QJidhB+3kXu0KgXnbGYMgzEnUxRQ4/LDdfOwZEMyIh3/xHb8PX3t+lfL9z+YVQ==",
- "requires": {
- "forwarded": "~0.1.2",
- "ipaddr.js": "1.9.0"
- }
- },
"prr": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz",
@@ -16138,19 +52619,6 @@
"resolved": "https://registry.npmjs.org/psl/-/psl-1.7.0.tgz",
"integrity": "sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ=="
},
- "public-encrypt": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz",
- "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==",
- "requires": {
- "bn.js": "^4.1.0",
- "browserify-rsa": "^4.0.0",
- "create-hash": "^1.1.0",
- "parse-asn1": "^5.0.0",
- "randombytes": "^2.0.1",
- "safe-buffer": "^5.1.2"
- }
- },
"pull-cat": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/pull-cat/-/pull-cat-1.1.11.tgz",
@@ -16237,31 +52705,6 @@
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
},
- "qs": {
- "version": "6.7.0",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
- "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ=="
- },
- "query-string": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz",
- "integrity": "sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==",
- "requires": {
- "decode-uri-component": "^0.2.0",
- "object-assign": "^4.1.0",
- "strict-uri-encode": "^1.0.0"
- }
- },
- "querystring": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",
- "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA="
- },
- "querystring-es3": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz",
- "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM="
- },
"randombytes": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",
@@ -16270,31 +52713,6 @@
"safe-buffer": "^5.1.0"
}
},
- "randomfill": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz",
- "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==",
- "requires": {
- "randombytes": "^2.0.5",
- "safe-buffer": "^5.1.0"
- }
- },
- "range-parser": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
- "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="
- },
- "raw-body": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz",
- "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==",
- "requires": {
- "bytes": "3.1.0",
- "http-errors": "1.7.2",
- "iconv-lite": "0.4.24",
- "unpipe": "1.0.0"
- }
- },
"read-pkg": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
@@ -16404,11 +52822,6 @@
"es-abstract": "^1.17.0-next.1"
}
},
- "regexpp": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz",
- "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw=="
- },
"regexpu-core": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz",
@@ -16432,14 +52845,6 @@
"jsesc": "~0.5.0"
}
},
- "release-zalgo": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/release-zalgo/-/release-zalgo-1.0.0.tgz",
- "integrity": "sha1-CXALflB0Mpc5Mw5TXFqQ+2eFFzA=",
- "requires": {
- "es6-error": "^4.0.1"
- }
- },
"remove-bom-buffer": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/remove-bom-buffer/-/remove-bom-buffer-3.0.0.tgz",
@@ -16536,11 +52941,6 @@
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
"integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I="
},
- "require-from-string": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
- "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw=="
- },
"require-main-filename": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz",
@@ -16554,21 +52954,6 @@
"path-parse": "^1.0.6"
}
},
- "resolve-cwd": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz",
- "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=",
- "requires": {
- "resolve-from": "^3.0.0"
- },
- "dependencies": {
- "resolve-from": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz",
- "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g="
- }
- }
- },
"resolve-dir": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz",
@@ -16578,11 +52963,6 @@
"global-modules": "^1.0.0"
}
},
- "resolve-from": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
- "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="
- },
"resolve-options": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/resolve-options/-/resolve-options-1.1.0.tgz",
@@ -16604,15 +52984,6 @@
"lowercase-keys": "^1.0.0"
}
},
- "restore-cursor": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
- "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",
- "requires": {
- "onetime": "^5.1.0",
- "signal-exit": "^3.0.2"
- }
- },
"resumer": {
"version": "0.0.0",
"resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz",
@@ -16651,35 +53022,11 @@
"bn.js": "^4.11.1"
}
},
- "run-async": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz",
- "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=",
- "requires": {
- "is-promise": "^2.1.0"
- }
- },
- "run-queue": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz",
- "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=",
- "requires": {
- "aproba": "^1.1.1"
- }
- },
"rustbn.js": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/rustbn.js/-/rustbn.js-0.2.0.tgz",
"integrity": "sha512-4VlvkRUuCJvr2J6Y0ImW7NvTCriMi7ErOAqWk1y69vAdoNIzCF3yPmgeNzx+RQTLEDFq5sHfscn1MwHxP9hNfA=="
},
- "rxjs": {
- "version": "6.5.4",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz",
- "integrity": "sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q==",
- "requires": {
- "tslib": "^1.9.0"
- }
- },
"safe-buffer": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz",
@@ -16706,15 +53053,6 @@
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
},
- "schema-utils": {
- "version": "2.6.4",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.6.4.tgz",
- "integrity": "sha512-VNjcaUxVnEeun6B2fiiUDjXXBtD4ZSH7pdbfIu1pOFwgptDPLMo/z9jr4sUfsjFVPqDCEin/F7IYlq7/E6yDbQ==",
- "requires": {
- "ajv": "^6.10.2",
- "ajv-keywords": "^3.4.1"
- }
- },
"scrypt": {
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/scrypt/-/scrypt-6.0.3.tgz",
@@ -16788,16 +53126,6 @@
"resolved": "https://registry.npmjs.org/semaphore/-/semaphore-1.1.0.tgz",
"integrity": "sha512-O4OZEaNtkMd/K0i6js9SL+gqy0ZCBMgUvlSqHKi4IBdjhe7wB8pwztUk1BbZ1fmrvpwFrPbHzqd2w5pTcJH6LA=="
},
- "semver": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.1.1.tgz",
- "integrity": "sha512-WfuG+fl6eh3eZ2qAf6goB7nhiCd7NPXhmyFxigB/TOkQyeLP8w8GsVehvtGNtnNmyboz4TgeK40B1Kbql/8c5A=="
- },
- "semver-compare": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz",
- "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w="
- },
"semver-greatest-satisfied-range": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/semver-greatest-satisfied-range/-/semver-greatest-satisfied-range-1.1.0.tgz",
@@ -16806,76 +53134,6 @@
"sver-compat": "^1.5.0"
}
},
- "send": {
- "version": "0.17.1",
- "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz",
- "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==",
- "requires": {
- "debug": "2.6.9",
- "depd": "~1.1.2",
- "destroy": "~1.0.4",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "fresh": "0.5.2",
- "http-errors": "~1.7.2",
- "mime": "1.6.0",
- "ms": "2.1.1",
- "on-finished": "~2.3.0",
- "range-parser": "~1.2.1",
- "statuses": "~1.5.0"
- },
- "dependencies": {
- "debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "requires": {
- "ms": "2.0.0"
- },
- "dependencies": {
- "ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
- }
- }
- },
- "ms": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
- "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg=="
- }
- }
- },
- "serialize-javascript": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-2.1.2.tgz",
- "integrity": "sha512-rs9OggEUF0V4jUSecXazOYsLfu7OGK2qIn3c7IPBiffz32XniEp/TX9Xmc9LQfK2nQ2QKHvZ2oygKUGU0lG4jQ=="
- },
- "serve-static": {
- "version": "1.14.1",
- "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
- "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==",
- "requires": {
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "parseurl": "~1.3.3",
- "send": "0.17.1"
- }
- },
- "servify": {
- "version": "0.1.12",
- "resolved": "https://registry.npmjs.org/servify/-/servify-0.1.12.tgz",
- "integrity": "sha512-/xE6GvsKKqyo1BAY+KxOWXcLpPsUUyji7Qg3bVD7hh1eRze5bR1uYiuDA/k3Gof1s9BTzQZEJK8sNcNGFIzeWw==",
- "requires": {
- "body-parser": "^1.16.0",
- "cors": "^2.8.1",
- "express": "^4.14.0",
- "request": "^2.79.0",
- "xhr": "^2.3.3"
- }
- },
"set-blocking": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
@@ -16912,11 +53170,6 @@
"resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
"integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="
},
- "setprototypeof": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
- "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw=="
- },
"sha.js": {
"version": "2.4.11",
"resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",
@@ -16934,69 +53187,11 @@
"nan": "2.13.2"
}
},
- "shebang-command": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
- "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
- "requires": {
- "shebang-regex": "^3.0.0"
- }
- },
- "shebang-regex": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
- "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="
- },
- "signal-exit": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
- "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0="
- },
- "simple-concat": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.0.tgz",
- "integrity": "sha1-c0TLuLbib7J9ZrL8hvn21Zl1IcY="
- },
- "simple-get": {
- "version": "2.8.1",
- "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-2.8.1.tgz",
- "integrity": "sha512-lSSHRSw3mQNUGPAYRqo7xy9dhKmxFXIjLjp4KHpf99GEH2VH7C3AM+Qfx6du6jhfUi6Vm7XnbEVEf7Wb6N8jRw==",
- "requires": {
- "decompress-response": "^3.3.0",
- "once": "^1.3.1",
- "simple-concat": "^1.0.0"
- }
- },
"slash": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
"integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU="
},
- "slice-ansi": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz",
- "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==",
- "requires": {
- "ansi-styles": "^3.2.0",
- "astral-regex": "^1.0.0",
- "is-fullwidth-code-point": "^2.0.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "requires": {
- "color-convert": "^1.9.0"
- }
- },
- "is-fullwidth-code-point": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8="
- }
- }
- },
"snapdragon": {
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",
@@ -17112,71 +53307,6 @@
}
}
},
- "solc": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/solc/-/solc-0.6.1.tgz",
- "integrity": "sha512-iKqNYps2p++x8L9sBg7JeAJb7EmW8VJ/2asAzwlLYcUhj86AzuWLe94UTSQHv1SSCCj/x6lya8twvXkZtlTbIQ==",
- "requires": {
- "command-exists": "^1.2.8",
- "commander": "3.0.2",
- "fs-extra": "^0.30.0",
- "js-sha3": "0.8.0",
- "memorystream": "^0.3.1",
- "require-from-string": "^2.0.0",
- "semver": "^5.5.0",
- "tmp": "0.0.33"
- },
- "dependencies": {
- "commander": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz",
- "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow=="
- },
- "fs-extra": {
- "version": "0.30.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz",
- "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=",
- "requires": {
- "graceful-fs": "^4.1.2",
- "jsonfile": "^2.1.0",
- "klaw": "^1.0.0",
- "path-is-absolute": "^1.0.0",
- "rimraf": "^2.2.8"
- }
- },
- "js-sha3": {
- "version": "0.8.0",
- "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz",
- "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q=="
- },
- "jsonfile": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz",
- "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=",
- "requires": {
- "graceful-fs": "^4.1.6"
- }
- },
- "semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
- },
- "tmp": {
- "version": "0.0.33",
- "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
- "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
- "requires": {
- "os-tmpdir": "~1.0.2"
- }
- }
- }
- },
- "source-list-map": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz",
- "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw=="
- },
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
@@ -17213,50 +53343,6 @@
"resolved": "https://registry.npmjs.org/sparkles/-/sparkles-1.0.1.tgz",
"integrity": "sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw=="
},
- "spawn-wrap": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-2.0.0.tgz",
- "integrity": "sha512-EeajNjfN9zMnULLwhZZQU3GWBoFNkbngTUPfaawT4RkMiviTxcX0qfhVbGey39mfctfDHkWtuecgQ8NJcyQWHg==",
- "requires": {
- "foreground-child": "^2.0.0",
- "is-windows": "^1.0.2",
- "make-dir": "^3.0.0",
- "rimraf": "^3.0.0",
- "signal-exit": "^3.0.2",
- "which": "^2.0.1"
- },
- "dependencies": {
- "make-dir": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.0.0.tgz",
- "integrity": "sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw==",
- "requires": {
- "semver": "^6.0.0"
- }
- },
- "rimraf": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.1.tgz",
- "integrity": "sha512-IQ4ikL8SjBiEDZfk+DFVwqRK8md24RWMEJkdSlgNLkyyAImcjf8SWvU1qFMDOb4igBClbTQ/ugPqXcRwdFTxZw==",
- "requires": {
- "glob": "^7.1.3"
- }
- },
- "semver": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
- },
- "which": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
- "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
- "requires": {
- "isexe": "^2.0.0"
- }
- }
- }
- },
"spdx-correct": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz",
@@ -17293,11 +53379,6 @@
"extend-shallow": "^3.0.0"
}
},
- "sprintf-js": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
- "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw="
- },
"sshpk": {
"version": "1.16.1",
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz",
@@ -17321,30 +53402,6 @@
}
}
},
- "ssri": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/ssri/-/ssri-7.1.0.tgz",
- "integrity": "sha512-77/WrDZUWocK0mvA5NTRQyveUf+wsrIc6vyrxpS8tVvYBcX215QbafrJR3KtkpskIzoFLqqNuuYQvxaMjXJ/0g==",
- "requires": {
- "figgy-pudding": "^3.5.1",
- "minipass": "^3.1.1"
- },
- "dependencies": {
- "minipass": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.1.tgz",
- "integrity": "sha512-UFqVihv6PQgwj8/yTGvl9kPz7xIAY+R5z6XYjRInD3Gk3qx6QGSD6zEcpeG4Dy/lQnv1J6zv8ejV90hyYIKf3w==",
- "requires": {
- "yallist": "^4.0.0"
- }
- },
- "yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
- }
- }
- },
"stack-trace": {
"version": "0.0.10",
"resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz",
@@ -17369,46 +53426,11 @@
}
}
},
- "statuses": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
- "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow="
- },
- "stream-browserify": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz",
- "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==",
- "requires": {
- "inherits": "~2.0.1",
- "readable-stream": "^2.0.2"
- }
- },
- "stream-each": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz",
- "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==",
- "requires": {
- "end-of-stream": "^1.1.0",
- "stream-shift": "^1.0.0"
- }
- },
"stream-exhaust": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/stream-exhaust/-/stream-exhaust-1.0.2.tgz",
"integrity": "sha512-b/qaq/GlBK5xaq1yrK9/zFcyRSTNxmcZwFLGSTG0mXgZl/4Z6GgiyYOXOvY7N3eEvFRAG1bkDRz5EPGSvPYQlw=="
},
- "stream-http": {
- "version": "2.8.3",
- "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz",
- "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==",
- "requires": {
- "builtin-status-codes": "^3.0.0",
- "inherits": "^2.0.1",
- "readable-stream": "^2.3.6",
- "to-arraybuffer": "^1.0.0",
- "xtend": "^4.0.0"
- }
- },
"stream-shift": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz",
@@ -17430,10 +53452,10 @@
}
}
},
- "strict-uri-encode": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz",
- "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM="
+ "string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
},
"string-width": {
"version": "1.0.2",
@@ -17455,39 +53477,6 @@
"function-bind": "^1.1.1"
}
},
- "string.prototype.trimleft": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz",
- "integrity": "sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag==",
- "requires": {
- "define-properties": "^1.1.3",
- "function-bind": "^1.1.1"
- }
- },
- "string.prototype.trimright": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz",
- "integrity": "sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g==",
- "requires": {
- "define-properties": "^1.1.3",
- "function-bind": "^1.1.1"
- }
- },
- "string_decoder": {
- "version": "0.10.31",
- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
- "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
- },
- "stringify-object": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz",
- "integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==",
- "requires": {
- "get-own-enumerable-property-symbols": "^3.0.0",
- "is-obj": "^1.0.1",
- "is-regexp": "^1.0.0"
- }
- },
"strip-ansi": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
@@ -17512,16 +53501,6 @@
"is-natural-number": "^4.0.1"
}
},
- "strip-eof": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
- "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8="
- },
- "strip-final-newline": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
- "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA=="
- },
"strip-hex-prefix": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz",
@@ -17530,11 +53509,6 @@
"is-hex-prefixed": "1.0.0"
}
},
- "strip-json-comments": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz",
- "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw=="
- },
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
@@ -17614,62 +53588,6 @@
}
}
},
- "symbol-observable": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
- "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ=="
- },
- "table": {
- "version": "5.4.6",
- "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz",
- "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==",
- "requires": {
- "ajv": "^6.10.2",
- "lodash": "^4.17.14",
- "slice-ansi": "^2.1.0",
- "string-width": "^3.0.0"
- },
- "dependencies": {
- "ansi-regex": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg=="
- },
- "emoji-regex": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
- "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA=="
- },
- "is-fullwidth-code-point": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8="
- },
- "string-width": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
- "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
- "requires": {
- "emoji-regex": "^7.0.1",
- "is-fullwidth-code-point": "^2.0.0",
- "strip-ansi": "^5.1.0"
- }
- },
- "strip-ansi": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
- "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
- "requires": {
- "ansi-regex": "^4.1.0"
- }
- }
- }
- },
- "tapable": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz",
- "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA=="
- },
"tape": {
"version": "4.13.0",
"resolved": "https://registry.npmjs.org/tape/-/tape-4.13.0.tgz",
@@ -17737,71 +53655,6 @@
"xtend": "^4.0.0"
}
},
- "temp": {
- "version": "0.9.1",
- "resolved": "https://registry.npmjs.org/temp/-/temp-0.9.1.tgz",
- "integrity": "sha512-WMuOgiua1xb5R56lE0eH6ivpVmg/lq2OHm4+LtT/xtEtPQ+sz6N3bBM6WZ5FvO1lO4IKIOb43qnhoc4qxP5OeA==",
- "requires": {
- "rimraf": "~2.6.2"
- },
- "dependencies": {
- "rimraf": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
- "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
- "requires": {
- "glob": "^7.1.3"
- }
- }
- }
- },
- "terser": {
- "version": "4.6.3",
- "resolved": "https://registry.npmjs.org/terser/-/terser-4.6.3.tgz",
- "integrity": "sha512-Lw+ieAXmY69d09IIc/yqeBqXpEQIpDGZqT34ui1QWXIUpR2RjbqEkT8X7Lgex19hslSqcWM5iMN2kM11eMsESQ==",
- "requires": {
- "commander": "^2.20.0",
- "source-map": "~0.6.1",
- "source-map-support": "~0.5.12"
- },
- "dependencies": {
- "commander": {
- "version": "2.20.3",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
- "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
- }
- }
- },
- "terser-webpack-plugin": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-2.3.2.tgz",
- "integrity": "sha512-SmvB/6gtEPv+CJ88MH5zDOsZdKXPS/Uzv2//e90+wM1IHFUhsguPKEILgzqrM1nQ4acRXN/SV4Obr55SXC+0oA==",
- "requires": {
- "cacache": "^13.0.1",
- "find-cache-dir": "^3.2.0",
- "jest-worker": "^24.9.0",
- "schema-utils": "^2.6.1",
- "serialize-javascript": "^2.1.2",
- "source-map": "^0.6.1",
- "terser": "^4.4.3",
- "webpack-sources": "^1.4.3"
- }
- },
- "test-exclude": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz",
- "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==",
- "requires": {
- "@istanbuljs/schema": "^0.1.2",
- "glob": "^7.1.4",
- "minimatch": "^3.0.4"
- }
- },
- "text-table": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
- "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ="
- },
"through": {
"version": "2.3.8",
"resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
@@ -17816,15 +53669,6 @@
"xtend": "~4.0.1"
}
},
- "through2-filter": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-3.0.0.tgz",
- "integrity": "sha512-jaRjI2WxN3W1V8/FMZ9HKIBXixtiqs3SQSX4/YGIiP3gL6djW48VoZq9tDqeCWs3MT8YY5wb/zli8VW8snY1CA==",
- "requires": {
- "through2": "~2.0.0",
- "xtend": "~4.0.0"
- }
- },
"time-stamp": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-1.1.0.tgz",
@@ -17835,14 +53679,6 @@
"resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz",
"integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8="
},
- "timers-browserify": {
- "version": "2.0.11",
- "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.11.tgz",
- "integrity": "sha512-60aV6sgJ5YEbzUdn9c8kYGIqOubPoUdqQCul3SBAsRCZ40s6Y5cMcrW4dt3/k/EsbLVJNl9n6Vz3fTc+k2GeKQ==",
- "requires": {
- "setimmediate": "^1.0.4"
- }
- },
"tmp": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.1.0.tgz",
@@ -17860,11 +53696,6 @@
"is-negated-glob": "^1.0.0"
}
},
- "to-arraybuffer": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz",
- "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M="
- },
"to-buffer": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz",
@@ -17926,11 +53757,6 @@
"through2": "^2.0.3"
}
},
- "toidentifier": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
- "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw=="
- },
"tough-cookie": {
"version": "2.4.3",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz",
@@ -17952,74 +53778,24 @@
"resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz",
"integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM="
},
- "tslib": {
- "version": "1.10.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
- "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ=="
- },
- "tty-browserify": {
- "version": "0.0.0",
- "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz",
- "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY="
- },
- "tunnel-agent": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
- "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
- "requires": {
- "safe-buffer": "^5.0.1"
- }
- },
- "tweetnacl": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.2.tgz",
- "integrity": "sha512-+8aPRjmXgf1VqvyxSlBUzKzeYqVS9Ai8vZ28g+mL7dNQl1jlUTCMDZnvNQdAS1xTywMkIXwJsfipsR/6s2+syw=="
- },
- "tweetnacl-util": {
- "version": "0.15.0",
- "resolved": "https://registry.npmjs.org/tweetnacl-util/-/tweetnacl-util-0.15.0.tgz",
- "integrity": "sha1-RXbBzuXi1j0gf+5S8boCgZSAvHU="
- },
- "type": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
- "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg=="
- },
- "type-check": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
- "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=",
- "requires": {
- "prelude-ls": "~1.1.2"
- }
- },
- "type-fest": {
- "version": "0.8.1",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",
- "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA=="
- },
- "type-is": {
- "version": "1.6.18",
- "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
- "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
+ "tunnel-agent": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
+ "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
"requires": {
- "media-typer": "0.3.0",
- "mime-types": "~2.1.24"
+ "safe-buffer": "^5.0.1"
}
},
+ "tweetnacl": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.2.tgz",
+ "integrity": "sha512-+8aPRjmXgf1VqvyxSlBUzKzeYqVS9Ai8vZ28g+mL7dNQl1jlUTCMDZnvNQdAS1xTywMkIXwJsfipsR/6s2+syw=="
+ },
"typedarray": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
"integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c="
},
- "typedarray-to-buffer": {
- "version": "3.1.5",
- "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz",
- "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==",
- "requires": {
- "is-typedarray": "^1.0.0"
- }
- },
"typewise": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/typewise/-/typewise-1.0.3.tgz",
@@ -18038,11 +53814,6 @@
"resolved": "https://registry.npmjs.org/typewiselite/-/typewiselite-1.0.0.tgz",
"integrity": "sha1-yIgvobsQksBgBal/NO9chQjjZk4="
},
- "ultron": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz",
- "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og=="
- },
"unbzip2-stream": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.3.3.tgz",
@@ -18057,11 +53828,6 @@
"resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz",
"integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo="
},
- "underscore": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz",
- "integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg=="
- },
"undertaker": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/undertaker/-/undertaker-1.2.1.tgz",
@@ -18094,31 +53860,6 @@
"set-value": "^2.0.1"
}
},
- "unique-filename": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz",
- "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==",
- "requires": {
- "unique-slug": "^2.0.0"
- }
- },
- "unique-slug": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz",
- "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==",
- "requires": {
- "imurmurhash": "^0.1.4"
- }
- },
- "unique-stream": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.3.1.tgz",
- "integrity": "sha512-2nY4TnBE70yoxHkDli7DMazpWiP7xMdCYqU2nBRO0UB+ZpEkGsSija7MvmvnZFUeC+mrgiUfcHSr3LmRFIg4+A==",
- "requires": {
- "json-stable-stringify-without-jsonify": "^1.0.1",
- "through2-filter": "^3.0.0"
- }
- },
"universalify": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
@@ -18129,11 +53870,6 @@
"resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz",
"integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA=="
},
- "unpipe": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
- "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
- },
"unset-value": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",
@@ -18193,22 +53929,6 @@
"resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",
"integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI="
},
- "url": {
- "version": "0.11.0",
- "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz",
- "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=",
- "requires": {
- "punycode": "1.3.2",
- "querystring": "0.2.0"
- },
- "dependencies": {
- "punycode": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz",
- "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0="
- }
- }
- },
"url-parse-lax": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz",
@@ -18217,72 +53937,21 @@
"prepend-http": "^2.0.0"
}
},
- "url-set-query": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/url-set-query/-/url-set-query-1.0.0.tgz",
- "integrity": "sha1-AW6M/Xwg7gXK/neV6JK9BwL6ozk="
- },
- "url-to-options": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz",
- "integrity": "sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k="
- },
"use": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
"integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ=="
},
- "utf8": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/utf8/-/utf8-3.0.0.tgz",
- "integrity": "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ=="
- },
- "util": {
- "version": "0.10.3",
- "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz",
- "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=",
- "requires": {
- "inherits": "2.0.1"
- },
- "dependencies": {
- "inherits": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
- "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE="
- }
- }
- },
"util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
},
- "util.promisify": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.1.tgz",
- "integrity": "sha512-g9JpC/3He3bm38zsLupWryXHoEcS22YHthuPQSJdMy6KNrzIRzWqcsHzD/WUnqe45whVou4VIsPew37DoXWNrA==",
- "requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.2",
- "has-symbols": "^1.0.1",
- "object.getownpropertydescriptors": "^2.1.0"
- }
- },
- "utils-merge": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
- "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
- },
"uuid": {
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
},
- "v8-compile-cache": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz",
- "integrity": "sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g=="
- },
"v8flags": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.1.3.tgz",
@@ -18305,11 +53974,6 @@
"resolved": "https://registry.npmjs.org/value-or-function/-/value-or-function-3.0.0.tgz",
"integrity": "sha1-HCQ6ULWVwb5Up1S/7OhWO5/42BM="
},
- "vary": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
- "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
- },
"verror": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
@@ -18371,21 +54035,6 @@
"vinyl": "^2.0.0"
}
},
- "vm-browserify": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz",
- "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ=="
- },
- "watchpack": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.6.0.tgz",
- "integrity": "sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA==",
- "requires": {
- "chokidar": "^2.0.2",
- "graceful-fs": "^4.1.2",
- "neo-async": "^2.5.0"
- }
- },
"web3": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/web3/-/web3-1.2.4.tgz",
@@ -18742,8 +54391,8 @@
"integrity": "sha512-XOnAR/3rntJgbCdGhqdaLIxDLWKLmsZOGhHdBKadEr6gEnJLH52k93Ou+TUdFaPN3hJc3isBZBal3U/XZ15abA=="
},
"ethereumjs-abi": {
- "version": "git+https://github.com/ethereumjs/ethereumjs-abi.git#1cfbb13862f90f0b391d8a699544d5fe4dfb8c7b",
- "from": "git+https://github.com/ethereumjs/ethereumjs-abi.git",
+ "version": "git+ssh://git@github.com/ethereumjs/ethereumjs-abi.git#1cfbb13862f90f0b391d8a699544d5fe4dfb8c7b",
+ "from": "ethereumjs-abi@git+https://github.com/ethereumjs/ethereumjs-abi.git",
"requires": {
"bn.js": "^4.11.8",
"ethereumjs-util": "^6.0.0"
@@ -19005,547 +54654,6 @@
}
}
},
- "webpack": {
- "version": "4.41.5",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.41.5.tgz",
- "integrity": "sha512-wp0Co4vpyumnp3KlkmpM5LWuzvZYayDwM2n17EHFr4qxBBbRokC7DJawPJC7TfSFZ9HZ6GsdH40EBj4UV0nmpw==",
- "requires": {
- "@webassemblyjs/ast": "1.8.5",
- "@webassemblyjs/helper-module-context": "1.8.5",
- "@webassemblyjs/wasm-edit": "1.8.5",
- "@webassemblyjs/wasm-parser": "1.8.5",
- "acorn": "^6.2.1",
- "ajv": "^6.10.2",
- "ajv-keywords": "^3.4.1",
- "chrome-trace-event": "^1.0.2",
- "enhanced-resolve": "^4.1.0",
- "eslint-scope": "^4.0.3",
- "json-parse-better-errors": "^1.0.2",
- "loader-runner": "^2.4.0",
- "loader-utils": "^1.2.3",
- "memory-fs": "^0.4.1",
- "micromatch": "^3.1.10",
- "mkdirp": "^0.5.1",
- "neo-async": "^2.6.1",
- "node-libs-browser": "^2.2.1",
- "schema-utils": "^1.0.0",
- "tapable": "^1.1.3",
- "terser-webpack-plugin": "^1.4.3",
- "watchpack": "^1.6.0",
- "webpack-sources": "^1.4.1"
- },
- "dependencies": {
- "acorn": {
- "version": "6.4.0",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz",
- "integrity": "sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw=="
- },
- "cacache": {
- "version": "12.0.3",
- "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.3.tgz",
- "integrity": "sha512-kqdmfXEGFepesTuROHMs3MpFLWrPkSSpRqOw80RCflZXy/khxaArvFrQ7uJxSUduzAufc6G0g1VUCOZXxWavPw==",
- "requires": {
- "bluebird": "^3.5.5",
- "chownr": "^1.1.1",
- "figgy-pudding": "^3.5.1",
- "glob": "^7.1.4",
- "graceful-fs": "^4.1.15",
- "infer-owner": "^1.0.3",
- "lru-cache": "^5.1.1",
- "mississippi": "^3.0.0",
- "mkdirp": "^0.5.1",
- "move-concurrently": "^1.0.1",
- "promise-inflight": "^1.0.1",
- "rimraf": "^2.6.3",
- "ssri": "^6.0.1",
- "unique-filename": "^1.1.1",
- "y18n": "^4.0.0"
- }
- },
- "eslint-scope": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz",
- "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==",
- "requires": {
- "esrecurse": "^4.1.0",
- "estraverse": "^4.1.1"
- }
- },
- "find-cache-dir": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz",
- "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==",
- "requires": {
- "commondir": "^1.0.1",
- "make-dir": "^2.0.0",
- "pkg-dir": "^3.0.0"
- }
- },
- "find-up": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
- "requires": {
- "locate-path": "^3.0.0"
- }
- },
- "locate-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
- "requires": {
- "p-locate": "^3.0.0",
- "path-exists": "^3.0.0"
- }
- },
- "lru-cache": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
- "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
- "requires": {
- "yallist": "^3.0.2"
- }
- },
- "make-dir": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",
- "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",
- "requires": {
- "pify": "^4.0.1",
- "semver": "^5.6.0"
- }
- },
- "mkdirp": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
- "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
- "requires": {
- "minimist": "0.0.8"
- }
- },
- "p-limit": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz",
- "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==",
- "requires": {
- "p-try": "^2.0.0"
- }
- },
- "p-locate": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
- "requires": {
- "p-limit": "^2.0.0"
- }
- },
- "p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
- },
- "path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU="
- },
- "pkg-dir": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz",
- "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==",
- "requires": {
- "find-up": "^3.0.0"
- }
- },
- "schema-utils": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
- "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
- "requires": {
- "ajv": "^6.1.0",
- "ajv-errors": "^1.0.0",
- "ajv-keywords": "^3.1.0"
- }
- },
- "semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
- },
- "ssri": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz",
- "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==",
- "requires": {
- "figgy-pudding": "^3.5.1"
- }
- },
- "terser-webpack-plugin": {
- "version": "1.4.3",
- "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.3.tgz",
- "integrity": "sha512-QMxecFz/gHQwteWwSo5nTc6UaICqN1bMedC5sMtUc7y3Ha3Q8y6ZO0iCR8pq4RJC8Hjf0FEPEHZqcMB/+DFCrA==",
- "requires": {
- "cacache": "^12.0.2",
- "find-cache-dir": "^2.1.0",
- "is-wsl": "^1.1.0",
- "schema-utils": "^1.0.0",
- "serialize-javascript": "^2.1.2",
- "source-map": "^0.6.1",
- "terser": "^4.1.2",
- "webpack-sources": "^1.4.0",
- "worker-farm": "^1.7.0"
- }
- },
- "y18n": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
- "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w=="
- }
- }
- },
- "webpack-bundle-size-analyzer": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/webpack-bundle-size-analyzer/-/webpack-bundle-size-analyzer-3.1.0.tgz",
- "integrity": "sha512-8WlTT6uuCxZgZYNnCB0pRGukWRGH+Owg+HsqQUe1Zexakdno1eDYO+lE7ihBo9G0aCCZCJa8JWjYr9eLYfZrBA==",
- "requires": {
- "commander": "^2.19.0",
- "filesize": "^3.6.1",
- "humanize": "0.0.9"
- },
- "dependencies": {
- "commander": {
- "version": "2.20.3",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
- "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
- }
- }
- },
- "webpack-cli": {
- "version": "3.3.10",
- "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-3.3.10.tgz",
- "integrity": "sha512-u1dgND9+MXaEt74sJR4PR7qkPxXUSQ0RXYq8x1L6Jg1MYVEmGPrH6Ah6C4arD4r0J1P5HKjRqpab36k0eIzPqg==",
- "requires": {
- "chalk": "2.4.2",
- "cross-spawn": "6.0.5",
- "enhanced-resolve": "4.1.0",
- "findup-sync": "3.0.0",
- "global-modules": "2.0.0",
- "import-local": "2.0.0",
- "interpret": "1.2.0",
- "loader-utils": "1.2.3",
- "supports-color": "6.1.0",
- "v8-compile-cache": "2.0.3",
- "yargs": "13.2.4"
- },
- "dependencies": {
- "ansi-regex": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg=="
- },
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "requires": {
- "color-convert": "^1.9.0"
- }
- },
- "camelcase": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
- },
- "chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "requires": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "requires": {
- "has-flag": "^3.0.0"
- }
- }
- }
- },
- "cliui": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
- "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==",
- "requires": {
- "string-width": "^3.1.0",
- "strip-ansi": "^5.2.0",
- "wrap-ansi": "^5.1.0"
- }
- },
- "cross-spawn": {
- "version": "6.0.5",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
- "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
- "requires": {
- "nice-try": "^1.0.4",
- "path-key": "^2.0.1",
- "semver": "^5.5.0",
- "shebang-command": "^1.2.0",
- "which": "^1.2.9"
- }
- },
- "emoji-regex": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
- "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA=="
- },
- "enhanced-resolve": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.1.0.tgz",
- "integrity": "sha512-F/7vkyTtyc/llOIn8oWclcB25KdRaiPBpZYDgJHgh/UHtpgT2p2eldQgtQnLtUvfMKPKxbRaQM/hHkvLHt1Vng==",
- "requires": {
- "graceful-fs": "^4.1.2",
- "memory-fs": "^0.4.0",
- "tapable": "^1.0.0"
- }
- },
- "execa": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
- "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
- "requires": {
- "cross-spawn": "^6.0.0",
- "get-stream": "^4.0.0",
- "is-stream": "^1.1.0",
- "npm-run-path": "^2.0.0",
- "p-finally": "^1.0.0",
- "signal-exit": "^3.0.0",
- "strip-eof": "^1.0.0"
- }
- },
- "find-up": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
- "requires": {
- "locate-path": "^3.0.0"
- }
- },
- "get-caller-file": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
- "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
- },
- "global-modules": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz",
- "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==",
- "requires": {
- "global-prefix": "^3.0.0"
- }
- },
- "global-prefix": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz",
- "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==",
- "requires": {
- "ini": "^1.3.5",
- "kind-of": "^6.0.2",
- "which": "^1.3.1"
- }
- },
- "invert-kv": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz",
- "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA=="
- },
- "is-fullwidth-code-point": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8="
- },
- "lcid": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz",
- "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==",
- "requires": {
- "invert-kv": "^2.0.0"
- }
- },
- "locate-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
- "requires": {
- "p-locate": "^3.0.0",
- "path-exists": "^3.0.0"
- }
- },
- "npm-run-path": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
- "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=",
- "requires": {
- "path-key": "^2.0.0"
- }
- },
- "os-locale": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz",
- "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==",
- "requires": {
- "execa": "^1.0.0",
- "lcid": "^2.0.0",
- "mem": "^4.0.0"
- }
- },
- "p-limit": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz",
- "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==",
- "requires": {
- "p-try": "^2.0.0"
- }
- },
- "p-locate": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
- "requires": {
- "p-limit": "^2.0.0"
- }
- },
- "p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
- },
- "path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU="
- },
- "path-key": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
- "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A="
- },
- "require-main-filename": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
- "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
- },
- "semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
- },
- "shebang-command": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
- "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=",
- "requires": {
- "shebang-regex": "^1.0.0"
- }
- },
- "shebang-regex": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
- "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM="
- },
- "string-width": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
- "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
- "requires": {
- "emoji-regex": "^7.0.1",
- "is-fullwidth-code-point": "^2.0.0",
- "strip-ansi": "^5.1.0"
- }
- },
- "strip-ansi": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
- "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
- "requires": {
- "ansi-regex": "^4.1.0"
- }
- },
- "supports-color": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
- "requires": {
- "has-flag": "^3.0.0"
- }
- },
- "v8-compile-cache": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.0.3.tgz",
- "integrity": "sha512-CNmdbwQMBjwr9Gsmohvm0pbL954tJrNzf6gWL3K+QMQf00PF7ERGrEiLgjuU3mKreLC2MeGhUsNV9ybTbLgd3w=="
- },
- "which-module": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
- "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho="
- },
- "wrap-ansi": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
- "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
- "requires": {
- "ansi-styles": "^3.2.0",
- "string-width": "^3.0.0",
- "strip-ansi": "^5.0.0"
- }
- },
- "y18n": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
- "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w=="
- },
- "yargs": {
- "version": "13.2.4",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.2.4.tgz",
- "integrity": "sha512-HG/DWAJa1PAnHT9JAhNa8AbAv3FPaiLzioSjCcmuXXhP8MlpHO5vwls4g4j6n30Z74GVQj8Xa62dWVx1QCGklg==",
- "requires": {
- "cliui": "^5.0.0",
- "find-up": "^3.0.0",
- "get-caller-file": "^2.0.1",
- "os-locale": "^3.1.0",
- "require-directory": "^2.1.1",
- "require-main-filename": "^2.0.0",
- "set-blocking": "^2.0.0",
- "string-width": "^3.0.0",
- "which-module": "^2.0.0",
- "y18n": "^4.0.0",
- "yargs-parser": "^13.1.0"
- }
- },
- "yargs-parser": {
- "version": "13.1.1",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.1.tgz",
- "integrity": "sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ==",
- "requires": {
- "camelcase": "^5.0.0",
- "decamelize": "^1.2.0"
- }
- }
- }
- },
- "webpack-sources": {
- "version": "1.4.3",
- "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz",
- "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==",
- "requires": {
- "source-list-map": "^2.0.0",
- "source-map": "~0.6.1"
- }
- },
"websocket": {
"version": "1.0.29",
"resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.29.tgz",
@@ -19591,32 +54699,6 @@
"resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz",
"integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8="
},
- "which-pm-runs": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz",
- "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs="
- },
- "wide-align": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz",
- "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==",
- "requires": {
- "string-width": "^1.0.2 || 2"
- }
- },
- "word-wrap": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
- "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ=="
- },
- "worker-farm": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.7.0.tgz",
- "integrity": "sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==",
- "requires": {
- "errno": "~0.1.7"
- }
- },
"wrap-ansi": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
@@ -19631,52 +54713,6 @@
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
- "write": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz",
- "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==",
- "requires": {
- "mkdirp": "^0.5.1"
- },
- "dependencies": {
- "mkdirp": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
- "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
- "requires": {
- "minimist": "0.0.8"
- }
- }
- }
- },
- "write-file-atomic": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.1.tgz",
- "integrity": "sha512-JPStrIyyVJ6oCSz/691fAjFtefZ6q+fP6tm+OS4Qw6o+TGQxNp1ziY2PgS+X/m0V8OWhZiO/m4xSj+Pr4RrZvw==",
- "requires": {
- "imurmurhash": "^0.1.4",
- "is-typedarray": "^1.0.0",
- "signal-exit": "^3.0.2",
- "typedarray-to-buffer": "^3.1.5"
- }
- },
- "ws": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz",
- "integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==",
- "requires": {
- "async-limiter": "~1.0.0",
- "safe-buffer": "~5.1.0",
- "ultron": "~1.1.0"
- },
- "dependencies": {
- "safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
- }
- }
- },
"xhr": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/xhr/-/xhr-2.5.0.tgz",
@@ -19688,69 +54724,21 @@
"xtend": "^4.0.0"
}
},
- "xhr-request": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/xhr-request/-/xhr-request-1.1.0.tgz",
- "integrity": "sha512-Y7qzEaR3FDtL3fP30k9wO/e+FBnBByZeybKOhASsGP30NIkRAAkKD/sCnLvgEfAIEC1rcmK7YG8f4oEnIrrWzA==",
- "requires": {
- "buffer-to-arraybuffer": "^0.0.5",
- "object-assign": "^4.1.1",
- "query-string": "^5.0.1",
- "simple-get": "^2.7.0",
- "timed-out": "^4.0.1",
- "url-set-query": "^1.0.0",
- "xhr": "^2.0.4"
- }
- },
- "xhr-request-promise": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/xhr-request-promise/-/xhr-request-promise-0.1.2.tgz",
- "integrity": "sha1-NDxE0e53JrhkgGloLQ+EDIO0Jh0=",
- "requires": {
- "xhr-request": "^1.0.1"
- }
- },
- "xhr2-cookies": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/xhr2-cookies/-/xhr2-cookies-1.1.0.tgz",
- "integrity": "sha1-fXdEnQmZGX8VXLc7I99yUF7YnUg=",
- "requires": {
- "cookiejar": "^2.1.1"
- }
- },
"xmlhttprequest": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz",
"integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw="
},
- "xtend": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
- "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="
- },
"y18n": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
"integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE="
},
- "yaeti": {
- "version": "0.0.6",
- "resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz",
- "integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc="
- },
"yallist": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
"integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="
},
- "yaml": {
- "version": "1.7.2",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.7.2.tgz",
- "integrity": "sha512-qXROVp90sb83XtAoqE8bP9RwAkTTZbugRUTm5YeFCBfNRPEp2YzTeqWiz7m5OORHzEvrA/qcGS8hp/E+MMROYw==",
- "requires": {
- "@babel/runtime": "^7.6.3"
- }
- },
"yargs": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz",
@@ -19758,197 +54746,25 @@
"requires": {
"camelcase": "^3.0.0",
"cliui": "^3.2.0",
- "decamelize": "^1.1.1",
- "get-caller-file": "^1.0.1",
- "os-locale": "^1.4.0",
- "read-pkg-up": "^1.0.1",
- "require-directory": "^2.1.1",
- "require-main-filename": "^1.0.1",
- "set-blocking": "^2.0.0",
- "string-width": "^1.0.2",
- "which-module": "^1.0.0",
- "y18n": "^3.2.1",
- "yargs-parser": "^5.0.0"
- }
- },
- "yargs-parser": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz",
- "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=",
- "requires": {
- "camelcase": "^3.0.0"
- }
- },
- "yargs-unparser": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-1.6.0.tgz",
- "integrity": "sha512-W9tKgmSn0DpSatfri0nx52Joq5hVXgeLiqR/5G0sZNDoLZFOr/xjBUDcShCOGNsBnEMNo1KAMBkTej1Hm62HTw==",
- "requires": {
- "flat": "^4.1.0",
- "lodash": "^4.17.15",
- "yargs": "^13.3.0"
- },
- "dependencies": {
- "ansi-regex": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg=="
- },
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "requires": {
- "color-convert": "^1.9.0"
- }
- },
- "camelcase": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
- },
- "cliui": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
- "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==",
- "requires": {
- "string-width": "^3.1.0",
- "strip-ansi": "^5.2.0",
- "wrap-ansi": "^5.1.0"
- }
- },
- "emoji-regex": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
- "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA=="
- },
- "find-up": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
- "requires": {
- "locate-path": "^3.0.0"
- }
- },
- "get-caller-file": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
- "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
- },
- "is-fullwidth-code-point": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8="
- },
- "locate-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
- "requires": {
- "p-locate": "^3.0.0",
- "path-exists": "^3.0.0"
- }
- },
- "lodash": {
- "version": "4.17.15",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
- "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
- },
- "p-limit": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz",
- "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==",
- "requires": {
- "p-try": "^2.0.0"
- }
- },
- "p-locate": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
- "requires": {
- "p-limit": "^2.0.0"
- }
- },
- "p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
- },
- "path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU="
- },
- "require-main-filename": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
- "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
- },
- "string-width": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
- "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
- "requires": {
- "emoji-regex": "^7.0.1",
- "is-fullwidth-code-point": "^2.0.0",
- "strip-ansi": "^5.1.0"
- }
- },
- "strip-ansi": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
- "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
- "requires": {
- "ansi-regex": "^4.1.0"
- }
- },
- "which-module": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
- "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho="
- },
- "wrap-ansi": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
- "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
- "requires": {
- "ansi-styles": "^3.2.0",
- "string-width": "^3.0.0",
- "strip-ansi": "^5.0.0"
- }
- },
- "y18n": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
- "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w=="
- },
- "yargs": {
- "version": "13.3.0",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.0.tgz",
- "integrity": "sha512-2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA==",
- "requires": {
- "cliui": "^5.0.0",
- "find-up": "^3.0.0",
- "get-caller-file": "^2.0.1",
- "require-directory": "^2.1.1",
- "require-main-filename": "^2.0.0",
- "set-blocking": "^2.0.0",
- "string-width": "^3.0.0",
- "which-module": "^2.0.0",
- "y18n": "^4.0.0",
- "yargs-parser": "^13.1.1"
- }
- },
- "yargs-parser": {
- "version": "13.1.1",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.1.tgz",
- "integrity": "sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ==",
- "requires": {
- "camelcase": "^5.0.0",
- "decamelize": "^1.2.0"
- }
- }
+ "decamelize": "^1.1.1",
+ "get-caller-file": "^1.0.1",
+ "os-locale": "^1.4.0",
+ "read-pkg-up": "^1.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^1.0.1",
+ "set-blocking": "^2.0.0",
+ "string-width": "^1.0.2",
+ "which-module": "^1.0.0",
+ "y18n": "^3.2.1",
+ "yargs-parser": "^5.0.0"
+ }
+ },
+ "yargs-parser": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz",
+ "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=",
+ "requires": {
+ "camelcase": "^3.0.0"
}
},
"yauzl": {
@@ -19983,6 +54799,12 @@
"resolved": "https://registry.npmjs.org/genfun/-/genfun-5.0.0.tgz",
"integrity": "sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA=="
},
+ "gensync": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "optional": true
+ },
"get-caller-file": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz",
@@ -19993,12 +54815,39 @@
"resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz",
"integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE="
},
+ "get-intrinsic": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz",
+ "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==",
+ "requires": {
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1"
+ }
+ },
+ "get-iterator": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/get-iterator/-/get-iterator-1.0.2.tgz",
+ "integrity": "sha512-v+dm9bNVfOYsY1OrhaCrmyOcYoSeVvbt+hHZ0Au+T+p1y+0Uyj9aMaGIeUTT6xdpRbWzDeYKvfOslPhggQMcsg==",
+ "optional": true
+ },
+ "get-params": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/get-params/-/get-params-0.1.2.tgz",
+ "integrity": "sha1-uuDfq6WIoMYNeDTA2Nwv9g7u8v4="
+ },
"get-port": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz",
"integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=",
"dev": true
},
+ "get-prototype-of": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/get-prototype-of/-/get-prototype-of-0.0.0.tgz",
+ "integrity": "sha1-mHcr0QcW0W3rSzIlFsRp78oorEQ=",
+ "optional": true
+ },
"get-stdin": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz",
@@ -20043,11 +54892,47 @@
"path-is-absolute": "^1.0.0"
}
},
+ "glob-base": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz",
+ "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=",
+ "optional": true,
+ "requires": {
+ "glob-parent": "^2.0.0",
+ "is-glob": "^2.0.0"
+ },
+ "dependencies": {
+ "glob-parent": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz",
+ "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=",
+ "optional": true,
+ "requires": {
+ "is-glob": "^2.0.0"
+ }
+ },
+ "is-extglob": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
+ "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
+ "optional": true
+ },
+ "is-glob": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
+ "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
+ "optional": true,
+ "requires": {
+ "is-extglob": "^1.0.0"
+ }
+ }
+ }
+ },
"glob-parent": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz",
"integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=",
- "dev": true,
+ "devOptional": true,
"requires": {
"is-glob": "^3.1.0",
"path-dirname": "^1.0.0"
@@ -20057,13 +54942,176 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",
"integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",
- "dev": true,
+ "devOptional": true,
"requires": {
"is-extglob": "^2.1.0"
}
}
}
},
+ "glob-stream": {
+ "version": "5.3.5",
+ "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-5.3.5.tgz",
+ "integrity": "sha1-pVZlqajM3EGRWofHAeMtTgFvrSI=",
+ "optional": true,
+ "requires": {
+ "extend": "^3.0.0",
+ "glob": "^5.0.3",
+ "glob-parent": "^3.0.0",
+ "micromatch": "^2.3.7",
+ "ordered-read-streams": "^0.3.0",
+ "through2": "^0.6.0",
+ "to-absolute-glob": "^0.1.1",
+ "unique-stream": "^2.0.2"
+ },
+ "dependencies": {
+ "arr-diff": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz",
+ "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=",
+ "optional": true,
+ "requires": {
+ "arr-flatten": "^1.0.1"
+ }
+ },
+ "array-unique": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz",
+ "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=",
+ "optional": true
+ },
+ "braces": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz",
+ "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=",
+ "optional": true,
+ "requires": {
+ "expand-range": "^1.8.1",
+ "preserve": "^0.2.0",
+ "repeat-element": "^1.1.2"
+ }
+ },
+ "expand-brackets": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz",
+ "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=",
+ "optional": true,
+ "requires": {
+ "is-posix-bracket": "^0.1.0"
+ }
+ },
+ "extglob": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz",
+ "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=",
+ "optional": true,
+ "requires": {
+ "is-extglob": "^1.0.0"
+ }
+ },
+ "glob": {
+ "version": "5.0.15",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz",
+ "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=",
+ "optional": true,
+ "requires": {
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "2 || 3",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
+ },
+ "is-extglob": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
+ "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
+ "optional": true
+ },
+ "is-glob": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
+ "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
+ "optional": true,
+ "requires": {
+ "is-extglob": "^1.0.0"
+ }
+ },
+ "isarray": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
+ "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
+ "optional": true
+ },
+ "kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "optional": true,
+ "requires": {
+ "is-buffer": "^1.1.5"
+ }
+ },
+ "micromatch": {
+ "version": "2.3.11",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz",
+ "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=",
+ "optional": true,
+ "requires": {
+ "arr-diff": "^2.0.0",
+ "array-unique": "^0.2.1",
+ "braces": "^1.8.2",
+ "expand-brackets": "^0.1.4",
+ "extglob": "^0.3.1",
+ "filename-regex": "^2.0.0",
+ "is-extglob": "^1.0.0",
+ "is-glob": "^2.0.1",
+ "kind-of": "^3.0.2",
+ "normalize-path": "^2.0.1",
+ "object.omit": "^2.0.0",
+ "parse-glob": "^3.0.4",
+ "regex-cache": "^0.4.2"
+ }
+ },
+ "normalize-path": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
+ "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
+ "optional": true,
+ "requires": {
+ "remove-trailing-separator": "^1.0.1"
+ }
+ },
+ "readable-stream": {
+ "version": "1.0.34",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
+ "optional": true,
+ "requires": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "0.0.1",
+ "string_decoder": "~0.10.x"
+ }
+ },
+ "string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
+ "optional": true
+ },
+ "through2": {
+ "version": "0.6.5",
+ "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz",
+ "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=",
+ "optional": true,
+ "requires": {
+ "readable-stream": ">=1.0.33-1 <1.1.0-0",
+ "xtend": ">=4.0.0 <4.1.0-0"
+ }
+ }
+ }
+ },
"global": {
"version": "4.3.2",
"resolved": "https://registry.npmjs.org/global/-/global-4.3.2.tgz",
@@ -20085,7 +55133,50 @@
"version": "11.12.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
"integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
- "dev": true
+ "devOptional": true
+ },
+ "globalthis": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.2.tgz",
+ "integrity": "sha512-ZQnSFO1la8P7auIOQECnm0sSuoMeaSq0EEdXMBFF2QJO4uNcwbyhSgG3MruWNbFTqCLmxVwGOl7LZ9kASvHdeQ==",
+ "optional": true,
+ "requires": {
+ "define-properties": "^1.1.3"
+ }
+ },
+ "globby": {
+ "version": "11.0.3",
+ "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.3.tgz",
+ "integrity": "sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg==",
+ "optional": true,
+ "requires": {
+ "array-union": "^2.1.0",
+ "dir-glob": "^3.0.1",
+ "fast-glob": "^3.1.1",
+ "ignore": "^5.1.4",
+ "merge2": "^1.3.0",
+ "slash": "^3.0.0"
+ },
+ "dependencies": {
+ "ignore": {
+ "version": "5.1.8",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz",
+ "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==",
+ "optional": true
+ },
+ "slash": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
+ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
+ "optional": true
+ }
+ }
+ },
+ "google-protobuf": {
+ "version": "3.15.8",
+ "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.15.8.tgz",
+ "integrity": "sha512-2jtfdqTaSxk0cuBJBtTTWsot4WtR9RVr2rXg7x7OoqiuOKopPrwXpM1G4dXIkLcUNRh3RKzz76C8IOkksZSeOw==",
+ "optional": true
},
"got": {
"version": "6.7.1",
@@ -20107,9 +55198,172 @@
}
},
"graceful-fs": {
- "version": "4.1.15",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz",
- "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA=="
+ "version": "4.2.6",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz",
+ "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ=="
+ },
+ "graphql": {
+ "version": "15.5.0",
+ "resolved": "https://registry.npmjs.org/graphql/-/graphql-15.5.0.tgz",
+ "integrity": "sha512-OmaM7y0kaK31NKG31q4YbD2beNYa6jBBKtMFT6gLYJljHLJr42IqJ8KX08u3Li/0ifzTU5HjmoOOrwa5BRLeDA==",
+ "optional": true
+ },
+ "graphql-extensions": {
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/graphql-extensions/-/graphql-extensions-0.13.0.tgz",
+ "integrity": "sha512-Bb7E97nvfX4gtrIdZ/i5YFlqOd6MGzrw8ED+t4wQVraYje6NQ+8P8MHMOV2WZLfbW8zsNTx8NdnnlbsdH5siag==",
+ "optional": true,
+ "requires": {
+ "@apollographql/apollo-tools": "^0.4.3",
+ "apollo-server-env": "^3.0.0",
+ "apollo-server-types": "^0.7.0"
+ }
+ },
+ "graphql-subscriptions": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/graphql-subscriptions/-/graphql-subscriptions-1.2.1.tgz",
+ "integrity": "sha512-95yD/tKi24q8xYa7Q9rhQN16AYj5wPbrb8tmHGM3WRc9EBmWrG/0kkMl+tQG8wcEuE9ibR4zyOM31p5Sdr2v4g==",
+ "optional": true,
+ "requires": {
+ "iterall": "^1.3.0"
+ }
+ },
+ "graphql-tag": {
+ "version": "2.12.3",
+ "resolved": "https://registry.npmjs.org/graphql-tag/-/graphql-tag-2.12.3.tgz",
+ "integrity": "sha512-5wJMjSvj30yzdciEuk9dPuUBUR56AqDi3xncoYQl1i42pGdSqOJrJsdb/rz5BDoy+qoGvQwABcBeF0xXY3TrKw==",
+ "optional": true,
+ "requires": {
+ "tslib": "^2.1.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
+ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==",
+ "optional": true
+ }
+ }
+ },
+ "graphql-tools": {
+ "version": "6.2.6",
+ "resolved": "https://registry.npmjs.org/graphql-tools/-/graphql-tools-6.2.6.tgz",
+ "integrity": "sha512-OyhSvK5ALVVD6bFiWjAqv2+lRyvjIRfb6Br5Tkjrv++rxnXDodPH/zhMbDGRw+W3SD5ioGEEz84yO48iPiN7jA==",
+ "optional": true,
+ "requires": {
+ "@graphql-tools/batch-delegate": "^6.2.6",
+ "@graphql-tools/code-file-loader": "^6.2.4",
+ "@graphql-tools/delegate": "^6.2.4",
+ "@graphql-tools/git-loader": "^6.2.4",
+ "@graphql-tools/github-loader": "^6.2.4",
+ "@graphql-tools/graphql-file-loader": "^6.2.4",
+ "@graphql-tools/graphql-tag-pluck": "^6.2.4",
+ "@graphql-tools/import": "^6.2.4",
+ "@graphql-tools/json-file-loader": "^6.2.4",
+ "@graphql-tools/links": "^6.2.4",
+ "@graphql-tools/load": "^6.2.4",
+ "@graphql-tools/load-files": "^6.2.4",
+ "@graphql-tools/merge": "^6.2.4",
+ "@graphql-tools/mock": "^6.2.4",
+ "@graphql-tools/module-loader": "^6.2.4",
+ "@graphql-tools/relay-operation-optimizer": "^6.2.4",
+ "@graphql-tools/resolvers-composition": "^6.2.4",
+ "@graphql-tools/schema": "^6.2.4",
+ "@graphql-tools/stitch": "^6.2.4",
+ "@graphql-tools/url-loader": "^6.2.4",
+ "@graphql-tools/utils": "^6.2.4",
+ "@graphql-tools/wrap": "^6.2.4",
+ "tslib": "~2.0.1"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "optional": true
+ }
+ }
+ },
+ "graphql-upload": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/graphql-upload/-/graphql-upload-11.0.0.tgz",
+ "integrity": "sha512-zsrDtu5gCbQFDWsNa5bMB4nf1LpKX9KDgh+f8oL1288ijV4RxeckhVozAjqjXAfRpxOHD1xOESsh6zq8SjdgjA==",
+ "optional": true,
+ "requires": {
+ "busboy": "^0.3.1",
+ "fs-capacitor": "^6.1.0",
+ "http-errors": "^1.7.3",
+ "isobject": "^4.0.0",
+ "object-path": "^0.11.4"
+ },
+ "dependencies": {
+ "fs-capacitor": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/fs-capacitor/-/fs-capacitor-6.2.0.tgz",
+ "integrity": "sha512-nKcE1UduoSKX27NSZlg879LdQc94OtbOsEmKMN2MBNudXREvijRKx2GEBsTMTfws+BrbkJoEuynbGSVRSpauvw==",
+ "optional": true
+ },
+ "isobject": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz",
+ "integrity": "sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==",
+ "optional": true
+ }
+ }
+ },
+ "graphql-ws": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/graphql-ws/-/graphql-ws-4.2.2.tgz",
+ "integrity": "sha512-b6TLtWLAmKunD72muL9EeItRGpio9+V3Cx4zJsBkRA+3wxzTWXDvQr9/3qSwJ3D/2abz0ys2KHTM6lB1uH7KIQ==",
+ "optional": true,
+ "requires": {}
+ },
+ "growl": {
+ "version": "1.10.5",
+ "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz",
+ "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA=="
+ },
+ "gulp-sourcemaps": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/gulp-sourcemaps/-/gulp-sourcemaps-1.12.1.tgz",
+ "integrity": "sha1-tDfR89mAzyboEYSCNxjOFa5ll7Y=",
+ "optional": true,
+ "requires": {
+ "@gulp-sourcemaps/map-sources": "1.X",
+ "acorn": "4.X",
+ "convert-source-map": "1.X",
+ "css": "2.X",
+ "debug-fabulous": "0.0.X",
+ "detect-newline": "2.X",
+ "graceful-fs": "4.X",
+ "source-map": "~0.6.0",
+ "strip-bom": "2.X",
+ "through2": "2.X",
+ "vinyl": "1.X"
+ },
+ "dependencies": {
+ "acorn": {
+ "version": "4.0.13",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz",
+ "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=",
+ "optional": true
+ },
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "optional": true
+ },
+ "strip-bom": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
+ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
+ "optional": true,
+ "requires": {
+ "is-utf8": "^0.2.0"
+ }
+ }
+ }
},
"handlebars": {
"version": "4.5.3",
@@ -20159,16 +55413,34 @@
"ansi-regex": "^2.0.0"
}
},
+ "has-bigints": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz",
+ "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA=="
+ },
"has-flag": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",
"integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=",
"dev": true
},
+ "has-symbol-support-x": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz",
+ "integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw=="
+ },
"has-symbols": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz",
- "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q="
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz",
+ "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw=="
+ },
+ "has-to-string-tag-x": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz",
+ "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==",
+ "requires": {
+ "has-symbol-support-x": "^1.4.1"
+ }
},
"has-unicode": {
"version": "2.0.1",
@@ -20243,7 +55515,17 @@
"he": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz",
- "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0="
+ "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=",
+ "dev": true
+ },
+ "header-case": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/header-case/-/header-case-1.0.1.tgz",
+ "integrity": "sha1-lTWXMZfBRLCWE81l0xfvGZY70C0=",
+ "requires": {
+ "no-case": "^2.2.0",
+ "upper-case": "^1.1.3"
+ }
},
"hmac-drbg": {
"version": "1.0.1",
@@ -20255,6 +55537,15 @@
"minimalistic-crypto-utils": "^1.0.1"
}
},
+ "hoist-non-react-statics": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
+ "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
+ "optional": true,
+ "requires": {
+ "react-is": "^16.7.0"
+ }
+ },
"home-or-tmp": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz",
@@ -20269,6 +55560,31 @@
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz",
"integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w=="
},
+ "htmlparser2": {
+ "version": "3.10.1",
+ "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz",
+ "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==",
+ "requires": {
+ "domelementtype": "^1.3.1",
+ "domhandler": "^2.3.0",
+ "domutils": "^1.5.1",
+ "entities": "^1.1.1",
+ "inherits": "^2.0.1",
+ "readable-stream": "^3.1.1"
+ },
+ "dependencies": {
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ }
+ }
+ },
"http-basic": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/http-basic/-/http-basic-8.1.3.tgz",
@@ -20286,6 +55602,38 @@
"resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz",
"integrity": "sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w=="
},
+ "http-errors": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.0.tgz",
+ "integrity": "sha512-4I8r0C5JDhT5VkvI47QktDW75rNlGVsUf/8hzjCC/wkWI/jdTRmBb9aI7erSG82r1bjKY3F6k28WnsVxB1C73A==",
+ "optional": true,
+ "requires": {
+ "depd": "~1.1.2",
+ "inherits": "2.0.4",
+ "setprototypeof": "1.2.0",
+ "statuses": ">= 1.5.0 < 2",
+ "toidentifier": "1.0.0"
+ },
+ "dependencies": {
+ "inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "setprototypeof": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
+ "optional": true
+ }
+ }
+ },
+ "http-https": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/http-https/-/http-https-1.0.0.tgz",
+ "integrity": "sha1-L5CN1fHbQGjAWM1ubUzjkskTOJs="
+ },
"http-proxy-agent": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz",
@@ -20331,6 +55679,83 @@
"ms": "^2.0.0"
}
},
+ "ice-cap": {
+ "version": "0.0.4",
+ "resolved": "https://registry.npmjs.org/ice-cap/-/ice-cap-0.0.4.tgz",
+ "integrity": "sha1-im0xq0ysjUtW3k+pRt8zUlYbbhg=",
+ "requires": {
+ "cheerio": "0.20.0",
+ "color-logger": "0.0.3"
+ },
+ "dependencies": {
+ "cheerio": {
+ "version": "0.20.0",
+ "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.20.0.tgz",
+ "integrity": "sha1-XHEPK6uVZTJyhCugHG6mGzVF7DU=",
+ "requires": {
+ "css-select": "~1.2.0",
+ "dom-serializer": "~0.1.0",
+ "entities": "~1.1.1",
+ "htmlparser2": "~3.8.1",
+ "jsdom": "^7.0.2",
+ "lodash": "^4.1.0"
+ }
+ },
+ "color-logger": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/color-logger/-/color-logger-0.0.3.tgz",
+ "integrity": "sha1-2bIt0dlz4Waxi/MT+fSBu6TfIBg="
+ },
+ "domhandler": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.3.0.tgz",
+ "integrity": "sha1-LeWaCCLVAn+r/28DLCsloqir5zg=",
+ "requires": {
+ "domelementtype": "1"
+ }
+ },
+ "htmlparser2": {
+ "version": "3.8.3",
+ "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz",
+ "integrity": "sha1-mWwosZFRaovoZQGn15dX5ccMEGg=",
+ "requires": {
+ "domelementtype": "1",
+ "domhandler": "2.3",
+ "domutils": "1.5",
+ "entities": "1.0",
+ "readable-stream": "1.1"
+ },
+ "dependencies": {
+ "entities": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-1.0.0.tgz",
+ "integrity": "sha1-sph6o4ITR/zeZCsk/fyeT7cSvyY="
+ }
+ }
+ },
+ "isarray": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
+ "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8="
+ },
+ "readable-stream": {
+ "version": "1.1.14",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
+ "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
+ "requires": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "0.0.1",
+ "string_decoder": "~0.10.x"
+ }
+ },
+ "string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
+ }
+ }
+ },
"iconv-lite": {
"version": "0.4.24",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
@@ -20339,11 +55764,25 @@
"safer-buffer": ">= 2.1.2 < 3"
}
},
+ "idna-uts46-hx": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz",
+ "integrity": "sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA==",
+ "requires": {
+ "punycode": "2.1.0"
+ },
+ "dependencies": {
+ "punycode": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.0.tgz",
+ "integrity": "sha1-X4Y+3Im5bbCQdLrXlHvwkFbKTn0="
+ }
+ }
+ },
"ieee754": {
- "version": "1.1.13",
- "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
- "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==",
- "optional": true
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="
},
"iferr": {
"version": "0.1.5",
@@ -20375,6 +55814,12 @@
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.3.0.tgz",
"integrity": "sha512-HR7EVodfFUdQCTIeySw+WDRFJlPcLOJbXfwwZ7Oom6tjsvZ3bOkCDJHehQC3nxJrv7+f9XecwazynjU8e4Vw3Q=="
},
+ "immutable": {
+ "version": "3.7.6",
+ "resolved": "https://registry.npmjs.org/immutable/-/immutable-3.7.6.tgz",
+ "integrity": "sha1-E7TTyxK++hVIKib+Gy665kAHHks=",
+ "optional": true
+ },
"import-fresh": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.1.0.tgz",
@@ -20393,6 +55838,23 @@
}
}
},
+ "import-from": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/import-from/-/import-from-3.0.0.tgz",
+ "integrity": "sha512-CiuXOFFSzkU5x/CR0+z7T91Iht4CXgfCxVOFRhh2Zyhg5wOpWvvDLQUsWl+gcN+QscYBjez8hDCt85O7RLDttQ==",
+ "optional": true,
+ "requires": {
+ "resolve-from": "^5.0.0"
+ },
+ "dependencies": {
+ "resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "optional": true
+ }
+ }
+ },
"import-lazy": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz",
@@ -20513,6 +55975,316 @@
"resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz",
"integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo="
},
+ "ip-regex": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.3.0.tgz",
+ "integrity": "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==",
+ "optional": true
+ },
+ "ipaddr.js": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
+ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="
+ },
+ "ipfs-core-types": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/ipfs-core-types/-/ipfs-core-types-0.2.1.tgz",
+ "integrity": "sha512-q93+93qSybku6woZaajE9mCrHeVoMzNtZ7S5m/zx0+xHRhnoLlg8QNnGGsb5/+uFQt/RiBArsIw/Q61K9Jwkzw==",
+ "optional": true,
+ "requires": {
+ "cids": "^1.1.5",
+ "multiaddr": "^8.0.0",
+ "peer-id": "^0.14.1"
+ }
+ },
+ "ipfs-core-utils": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/ipfs-core-utils/-/ipfs-core-utils-0.6.1.tgz",
+ "integrity": "sha512-UFIklwE3CFcsNIhYFDuz0qB7E2QtdFauRfc76kskgiqhGWcjqqiDeND5zBCrAy0u8UMaDqAbFl02f/mIq1yKXw==",
+ "optional": true,
+ "requires": {
+ "any-signal": "^2.0.0",
+ "blob-to-it": "^1.0.1",
+ "browser-readablestream-to-it": "^1.0.1",
+ "cids": "^1.1.5",
+ "err-code": "^2.0.3",
+ "ipfs-core-types": "^0.2.1",
+ "ipfs-utils": "^5.0.0",
+ "it-all": "^1.0.4",
+ "it-map": "^1.0.4",
+ "it-peekable": "^1.0.1",
+ "multiaddr": "^8.0.0",
+ "multiaddr-to-uri": "^6.0.0",
+ "parse-duration": "^0.4.4",
+ "timeout-abort-controller": "^1.1.1",
+ "uint8arrays": "^1.1.0"
+ },
+ "dependencies": {
+ "err-code": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz",
+ "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==",
+ "optional": true
+ },
+ "uint8arrays": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz",
+ "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==",
+ "optional": true,
+ "requires": {
+ "multibase": "^3.0.0",
+ "web-encoding": "^1.0.2"
+ }
+ }
+ }
+ },
+ "ipfs-http-client": {
+ "version": "48.2.2",
+ "resolved": "https://registry.npmjs.org/ipfs-http-client/-/ipfs-http-client-48.2.2.tgz",
+ "integrity": "sha512-f3ppfWe913SJLvunm0UgqdA1dxVZSGQJPaEVJtqgjxPa5x0fPDiBDdo60g2MgkW1W6bhF9RGlxvHHIE9sv/tdg==",
+ "optional": true,
+ "requires": {
+ "any-signal": "^2.0.0",
+ "bignumber.js": "^9.0.0",
+ "cids": "^1.1.5",
+ "debug": "^4.1.1",
+ "form-data": "^3.0.0",
+ "ipfs-core-types": "^0.2.1",
+ "ipfs-core-utils": "^0.6.1",
+ "ipfs-utils": "^5.0.0",
+ "ipld-block": "^0.11.0",
+ "ipld-dag-cbor": "^0.17.0",
+ "ipld-dag-pb": "^0.20.0",
+ "ipld-raw": "^6.0.0",
+ "it-last": "^1.0.4",
+ "it-map": "^1.0.4",
+ "it-tar": "^1.2.2",
+ "it-to-stream": "^0.1.2",
+ "merge-options": "^2.0.0",
+ "multiaddr": "^8.0.0",
+ "multibase": "^3.0.0",
+ "multicodec": "^2.0.1",
+ "multihashes": "^3.0.1",
+ "nanoid": "^3.1.12",
+ "native-abort-controller": "~0.0.3",
+ "parse-duration": "^0.4.4",
+ "stream-to-it": "^0.2.2",
+ "uint8arrays": "^1.1.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "optional": true,
+ "requires": {
+ "ms": "2.1.2"
+ }
+ },
+ "form-data": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz",
+ "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==",
+ "optional": true,
+ "requires": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.8",
+ "mime-types": "^2.1.12"
+ }
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "optional": true
+ },
+ "multicodec": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-2.1.3.tgz",
+ "integrity": "sha512-0tOH2Gtio39uO41o+2xl9UhRkCWxU5ZmZSbFCh/OjGzkWJI8e6lkN/s4Mj1YfyWoBod+2+S3W+6wO6nhkwN8pA==",
+ "optional": true,
+ "requires": {
+ "uint8arrays": "1.1.0",
+ "varint": "^6.0.0"
+ }
+ },
+ "uint8arrays": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz",
+ "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==",
+ "optional": true,
+ "requires": {
+ "multibase": "^3.0.0",
+ "web-encoding": "^1.0.2"
+ }
+ }
+ }
+ },
+ "ipfs-utils": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ipfs-utils/-/ipfs-utils-5.0.1.tgz",
+ "integrity": "sha512-28KZPgO4Uf5duT2ORLAYfboUp98iUshDD7yRAfbNxNAR8Dtidfn6o20rZfoXnkri2zKBVIPlJkuCPmPJB+6erg==",
+ "optional": true,
+ "requires": {
+ "abort-controller": "^3.0.0",
+ "any-signal": "^2.1.0",
+ "buffer": "^6.0.1",
+ "electron-fetch": "^1.7.2",
+ "err-code": "^2.0.0",
+ "fs-extra": "^9.0.1",
+ "is-electron": "^2.2.0",
+ "iso-url": "^1.0.0",
+ "it-glob": "0.0.10",
+ "it-to-stream": "^0.1.2",
+ "merge-options": "^2.0.0",
+ "nanoid": "^3.1.3",
+ "native-abort-controller": "0.0.3",
+ "native-fetch": "^2.0.0",
+ "node-fetch": "^2.6.0",
+ "stream-to-it": "^0.2.0"
+ },
+ "dependencies": {
+ "buffer": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",
+ "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",
+ "optional": true,
+ "requires": {
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.2.1"
+ }
+ },
+ "err-code": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz",
+ "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==",
+ "optional": true
+ },
+ "fs-extra": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
+ "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",
+ "optional": true,
+ "requires": {
+ "at-least-node": "^1.0.0",
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ }
+ },
+ "jsonfile": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
+ "optional": true,
+ "requires": {
+ "graceful-fs": "^4.1.6",
+ "universalify": "^2.0.0"
+ }
+ },
+ "node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true
+ }
+ }
+ },
+ "ipld-block": {
+ "version": "0.11.1",
+ "resolved": "https://registry.npmjs.org/ipld-block/-/ipld-block-0.11.1.tgz",
+ "integrity": "sha512-sDqqLqD5qh4QzGq6ssxLHUCnH4emCf/8F8IwjQM2cjEEIEHMUj57XhNYgmGbemdYPznUhffxFGEHsruh5+HQRw==",
+ "optional": true,
+ "requires": {
+ "cids": "^1.0.0"
+ }
+ },
+ "ipld-dag-cbor": {
+ "version": "0.17.1",
+ "resolved": "https://registry.npmjs.org/ipld-dag-cbor/-/ipld-dag-cbor-0.17.1.tgz",
+ "integrity": "sha512-Bakj/cnxQBdscORyf4LRHxQJQfoaY8KWc7PWROQgX+aw5FCzBt8ga0VM/59K+ABOznsqNvyLR/wz/oYImOpXJw==",
+ "optional": true,
+ "requires": {
+ "borc": "^2.1.2",
+ "cids": "^1.0.0",
+ "is-circular": "^1.0.2",
+ "multicodec": "^3.0.1",
+ "multihashing-async": "^2.0.0",
+ "uint8arrays": "^2.1.3"
+ }
+ },
+ "ipld-dag-pb": {
+ "version": "0.20.0",
+ "resolved": "https://registry.npmjs.org/ipld-dag-pb/-/ipld-dag-pb-0.20.0.tgz",
+ "integrity": "sha512-zfM0EdaolqNjAxIrtpuGKvXxWk5YtH9jKinBuQGTcngOsWFQhyybGCTJHGNGGtRjHNJi2hz5Udy/8pzv4kcKyg==",
+ "optional": true,
+ "requires": {
+ "cids": "^1.0.0",
+ "class-is": "^1.1.0",
+ "multicodec": "^2.0.0",
+ "multihashing-async": "^2.0.0",
+ "protons": "^2.0.0",
+ "reset": "^0.1.0",
+ "run": "^1.4.0",
+ "stable": "^0.1.8",
+ "uint8arrays": "^1.0.0"
+ },
+ "dependencies": {
+ "multicodec": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-2.1.3.tgz",
+ "integrity": "sha512-0tOH2Gtio39uO41o+2xl9UhRkCWxU5ZmZSbFCh/OjGzkWJI8e6lkN/s4Mj1YfyWoBod+2+S3W+6wO6nhkwN8pA==",
+ "optional": true,
+ "requires": {
+ "uint8arrays": "1.1.0",
+ "varint": "^6.0.0"
+ }
+ },
+ "uint8arrays": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz",
+ "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==",
+ "optional": true,
+ "requires": {
+ "multibase": "^3.0.0",
+ "web-encoding": "^1.0.2"
+ }
+ }
+ }
+ },
+ "ipld-raw": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/ipld-raw/-/ipld-raw-6.0.0.tgz",
+ "integrity": "sha512-UK7fjncAzs59iu/o2kwYtb8jgTtW6B+cNWIiNpAJkfRwqoMk1xD/6i25ktzwe4qO8gQgoR9RxA5ibC23nq8BLg==",
+ "optional": true,
+ "requires": {
+ "cids": "^1.0.0",
+ "multicodec": "^2.0.0",
+ "multihashing-async": "^2.0.0"
+ },
+ "dependencies": {
+ "multicodec": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-2.1.3.tgz",
+ "integrity": "sha512-0tOH2Gtio39uO41o+2xl9UhRkCWxU5ZmZSbFCh/OjGzkWJI8e6lkN/s4Mj1YfyWoBod+2+S3W+6wO6nhkwN8pA==",
+ "optional": true,
+ "requires": {
+ "uint8arrays": "1.1.0",
+ "varint": "^6.0.0"
+ }
+ },
+ "uint8arrays": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz",
+ "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==",
+ "optional": true,
+ "requires": {
+ "multibase": "^3.0.0",
+ "web-encoding": "^1.0.2"
+ }
+ }
+ }
+ },
"is-accessor-descriptor": {
"version": "0.1.6",
"resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",
@@ -20534,15 +56306,23 @@
}
},
"is-arguments": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz",
- "integrity": "sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA=="
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.0.tgz",
+ "integrity": "sha512-1Ij4lOMPl/xB5kBDn7I+b2ttPMKa8szhEIrXDuXQD/oe3HJLTLhqhgGspwgyGd6MOywBUqVvYicF72lkgDnIHg==",
+ "requires": {
+ "call-bind": "^1.0.0"
+ }
},
"is-arrayish": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
"integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=",
- "dev": true
+ "devOptional": true
+ },
+ "is-bigint": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.1.tgz",
+ "integrity": "sha512-J0ELF4yHFxHy0cmSxZuheDOz2luOdVvqjwmEcj8H/L1JHeuEDSDbeRP+Dk9kFVk5RTFzbucJ2Kb9F7ixY2QaCg=="
},
"is-binary-path": {
"version": "1.0.1",
@@ -20553,16 +56333,30 @@
"binary-extensions": "^1.0.0"
}
},
+ "is-boolean-object": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.0.tgz",
+ "integrity": "sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA==",
+ "requires": {
+ "call-bind": "^1.0.0"
+ }
+ },
"is-buffer": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
- "dev": true
+ "devOptional": true
},
"is-callable": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz",
- "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA=="
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz",
+ "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ=="
+ },
+ "is-capitalized": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-capitalized/-/is-capitalized-1.0.0.tgz",
+ "integrity": "sha1-TIRktNkdPk7rRIid0s2PGwrEwTY=",
+ "optional": true
},
"is-ci": {
"version": "1.2.1",
@@ -20573,6 +56367,26 @@
"ci-info": "^1.5.0"
}
},
+ "is-circular": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-circular/-/is-circular-1.0.2.tgz",
+ "integrity": "sha512-YttjnrswnUYRVJvxCvu8z+PGMUSzC2JttP0OEXezlAEdp3EXzhf7IZ3j0gRAybJBQupedIZFhY61Tga6E0qASA==",
+ "optional": true
+ },
+ "is-class": {
+ "version": "0.0.4",
+ "resolved": "https://registry.npmjs.org/is-class/-/is-class-0.0.4.tgz",
+ "integrity": "sha1-4FdFFwW7NOOePjNZjJOpg3KWtzY=",
+ "optional": true
+ },
+ "is-core-module": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz",
+ "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==",
+ "requires": {
+ "has": "^1.0.3"
+ }
+ },
"is-data-descriptor": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",
@@ -20623,11 +56437,32 @@
"integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=",
"dev": true
},
+ "is-dotfile": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz",
+ "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=",
+ "optional": true
+ },
+ "is-electron": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-electron/-/is-electron-2.2.0.tgz",
+ "integrity": "sha512-SpMppC2XR3YdxSzczXReBjqs2zGscWQpBIKqwXYBFic0ERaxNVgwLCHwOLZeESfdJQjX0RDvrJ1lBXX2ij+G1Q==",
+ "optional": true
+ },
+ "is-equal-shallow": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz",
+ "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=",
+ "optional": true,
+ "requires": {
+ "is-primitive": "^2.0.0"
+ }
+ },
"is-extendable": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=",
- "dev": true
+ "devOptional": true
},
"is-extglob": {
"version": "2.1.1",
@@ -20657,6 +56492,11 @@
"resolved": "https://registry.npmjs.org/is-function/-/is-function-1.0.1.tgz",
"integrity": "sha1-Es+5i2W1fdPRk6MSH19uL0N2ArU="
},
+ "is-generator-function": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.8.tgz",
+ "integrity": "sha512-2Omr/twNtufVZFr1GhxjOMFPAj2sjc/dKaIqBhvo4qciXfJmITGH6ZGd8eZYNHza8t1y0e01AuqRhJwfWp26WQ=="
+ },
"is-glob": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
@@ -20679,6 +56519,33 @@
"is-path-inside": "^1.0.0"
}
},
+ "is-ip": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/is-ip/-/is-ip-3.1.0.tgz",
+ "integrity": "sha512-35vd5necO7IitFPjd/YBeqwWnyDWbuLH9ZXQdMfDA8TEo7pv5X8yfrvVO3xbJbLUlERCMvf6X0hTUamQxCYJ9Q==",
+ "optional": true,
+ "requires": {
+ "ip-regex": "^4.0.0"
+ }
+ },
+ "is-lower-case": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/is-lower-case/-/is-lower-case-1.1.3.tgz",
+ "integrity": "sha1-fhR75HaNxGbbO/shzGCzHmrWk5M=",
+ "requires": {
+ "lower-case": "^1.1.0"
+ }
+ },
+ "is-map": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz",
+ "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg=="
+ },
+ "is-negative-zero": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz",
+ "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w=="
+ },
"is-npm": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz",
@@ -20705,11 +56572,21 @@
}
}
},
+ "is-number-object": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.4.tgz",
+ "integrity": "sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw=="
+ },
"is-obj": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
"integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8="
},
+ "is-object": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-object/-/is-object-1.0.2.tgz",
+ "integrity": "sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA=="
+ },
"is-path-inside": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz",
@@ -20718,6 +56595,12 @@
"path-is-inside": "^1.0.1"
}
},
+ "is-plain-obj": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz",
+ "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==",
+ "optional": true
+ },
"is-plain-object": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
@@ -20727,6 +56610,18 @@
"isobject": "^3.0.1"
}
},
+ "is-posix-bracket": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz",
+ "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=",
+ "optional": true
+ },
+ "is-primitive": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz",
+ "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=",
+ "optional": true
+ },
"is-promise": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz",
@@ -20740,30 +56635,52 @@
"dev": true
},
"is-regex": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz",
- "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=",
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.2.tgz",
+ "integrity": "sha512-axvdhb5pdhEVThqJzYXwMlVuZwC+FF2DpcOhTS+y/8jVq4trxyPgfcwIxIKiyeuLlSQYKkmUaPQJ8ZE4yNKXDg==",
"requires": {
- "has": "^1.0.1"
+ "call-bind": "^1.0.2",
+ "has-symbols": "^1.0.1"
}
},
"is-retry-allowed": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz",
- "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=",
- "dev": true
+ "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ="
+ },
+ "is-set": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz",
+ "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g=="
},
"is-stream": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
"integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ="
},
+ "is-string": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz",
+ "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ=="
+ },
"is-symbol": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz",
- "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
+ "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
+ "requires": {
+ "has-symbols": "^1.0.1"
+ }
+ },
+ "is-typed-array": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.5.tgz",
+ "integrity": "sha512-S+GRDgJlR3PyEbsX/Fobd9cqpZBuvUS+8asRqYDMLCb2qMzt1oz5m5oxQCxOgUDxiWsOVNi4yaF+/uvdlHlYug==",
"requires": {
- "has-symbols": "^1.0.0"
+ "available-typed-arrays": "^1.0.2",
+ "call-bind": "^1.0.2",
+ "es-abstract": "^1.18.0-next.2",
+ "foreach": "^2.0.5",
+ "has-symbols": "^1.0.1"
}
},
"is-typedarray": {
@@ -20771,6 +56688,25 @@
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
"integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
},
+ "is-upper-case": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/is-upper-case/-/is-upper-case-1.1.2.tgz",
+ "integrity": "sha1-jQsfp+eTOh5YSDYA7H2WYcuvdW8=",
+ "requires": {
+ "upper-case": "^1.1.0"
+ }
+ },
+ "is-utf8": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz",
+ "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI="
+ },
+ "is-valid-glob": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/is-valid-glob/-/is-valid-glob-0.3.0.tgz",
+ "integrity": "sha1-1LVcafUYhvm2XHDWwmItN+KfSP4=",
+ "optional": true
+ },
"is-windows": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
@@ -20792,6 +56728,41 @@
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
"integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA="
},
+ "iso-constants": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/iso-constants/-/iso-constants-0.1.2.tgz",
+ "integrity": "sha512-OTCM5ZCQsHBCI4Wdu4tSxvDIkmDHd5EwJDps5mKqnQnWJSKlnwMs3EDZ4n3Fh1tmkWkDlyd2vCDbEYuPbyrUNQ==",
+ "optional": true
+ },
+ "iso-random-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/iso-random-stream/-/iso-random-stream-2.0.0.tgz",
+ "integrity": "sha512-lGuIu104KfBV9ubYTSaE3GeAr6I69iggXxBHbTBc5u/XKlwlWl0LCytnkIZissaKqvxablwRD9B3ktVnmIUnEg==",
+ "optional": true,
+ "requires": {
+ "events": "^3.3.0",
+ "readable-stream": "^3.4.0"
+ },
+ "dependencies": {
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ }
+ }
+ },
+ "iso-url": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/iso-url/-/iso-url-1.1.5.tgz",
+ "integrity": "sha512-+3JqoKdBTGmyv9vOkS6b9iHhvK34UajfTibrH/1HOK8TI7K2VsM0qOCd+aJdWKtSOA8g3PqZfcwDmnR0p3klqQ==",
+ "optional": true
+ },
"isobject": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
@@ -20807,6 +56778,13 @@
"whatwg-fetch": ">=0.10.0"
}
},
+ "isomorphic-ws": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz",
+ "integrity": "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==",
+ "optional": true,
+ "requires": {}
+ },
"isstream": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
@@ -20878,6 +56856,167 @@
}
}
},
+ "isurl": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz",
+ "integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==",
+ "requires": {
+ "has-to-string-tag-x": "^1.2.0",
+ "is-object": "^1.0.1"
+ }
+ },
+ "it-all": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/it-all/-/it-all-1.0.5.tgz",
+ "integrity": "sha512-ygD4kA4vp8fi+Y+NBgEKt6W06xSbv6Ub/0V8d1r3uCyJ9Izwa1UspkIOlqY9fOee0Z1w3WRo1+VWyAU4DgtufA==",
+ "optional": true
+ },
+ "it-concat": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/it-concat/-/it-concat-1.0.3.tgz",
+ "integrity": "sha512-sjeZQ1BWQ9U/W2oI09kZgUyvSWzQahTkOkLIsnEPgyqZFaF9ME5gV6An4nMjlyhXKWQMKEakQU8oRHs2SdmeyA==",
+ "optional": true,
+ "requires": {
+ "bl": "^4.0.0"
+ }
+ },
+ "it-drain": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/it-drain/-/it-drain-1.0.4.tgz",
+ "integrity": "sha512-coB7mcyZ4lWBQKoQGJuqM+P94pvpn2T3KY27vcVWPqeB1WmoysRC76VZnzAqrBWzpWcoEJMjZ+fsMBslxNaWfQ==",
+ "optional": true
+ },
+ "it-glob": {
+ "version": "0.0.10",
+ "resolved": "https://registry.npmjs.org/it-glob/-/it-glob-0.0.10.tgz",
+ "integrity": "sha512-p1PR15djgPV7pxdLOW9j4WcJdla8+91rJdUU2hU2Jm68vkxpIEXK55VHBeH8Lvqh2vqLtM83t8q4BuJxue6niA==",
+ "optional": true,
+ "requires": {
+ "fs-extra": "^9.0.1",
+ "minimatch": "^3.0.4"
+ },
+ "dependencies": {
+ "fs-extra": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
+ "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",
+ "optional": true,
+ "requires": {
+ "at-least-node": "^1.0.0",
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ }
+ },
+ "jsonfile": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
+ "optional": true,
+ "requires": {
+ "graceful-fs": "^4.1.6",
+ "universalify": "^2.0.0"
+ }
+ }
+ }
+ },
+ "it-last": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/it-last/-/it-last-1.0.5.tgz",
+ "integrity": "sha512-PV/2S4zg5g6dkVuKfgrQfN2rUN4wdTI1FzyAvU+i8RV96syut40pa2s9Dut5X7SkjwA3P0tOhLABLdnOJ0Y/4Q==",
+ "optional": true
+ },
+ "it-map": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/it-map/-/it-map-1.0.5.tgz",
+ "integrity": "sha512-EElupuWhHVStUgUY+OfTJIS2MZed96lDrAXzJUuqiiqLnIKoBRqtX1ZG2oR0bGDsSppmz83MtzCeKLZ9TVAUxQ==",
+ "optional": true
+ },
+ "it-peekable": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/it-peekable/-/it-peekable-1.0.2.tgz",
+ "integrity": "sha512-LRPLu94RLm+lxLZbChuc9iCXrKCOu1obWqxfaKhF00yIp30VGkl741b5P60U+rdBxuZD/Gt1bnmakernv7bVFg==",
+ "optional": true
+ },
+ "it-reader": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/it-reader/-/it-reader-2.1.0.tgz",
+ "integrity": "sha512-hSysqWTO9Tlwc5EGjVf8JYZzw0D2FsxD/g+eNNWrez9zODxWt6QlN6JAMmycK72Mv4jHEKEXoyzUN4FYGmJaZw==",
+ "optional": true,
+ "requires": {
+ "bl": "^4.0.0"
+ }
+ },
+ "it-tar": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/it-tar/-/it-tar-1.2.2.tgz",
+ "integrity": "sha512-M8V4a9I+x/vwXTjqvixcEZbQZHjwDIb8iUQ+D4M2QbhAdNs3WKVSl+45u5/F2XFx6jYMFOGzMVlKNK/uONgNIA==",
+ "optional": true,
+ "requires": {
+ "bl": "^4.0.0",
+ "buffer": "^5.4.3",
+ "iso-constants": "^0.1.2",
+ "it-concat": "^1.0.0",
+ "it-reader": "^2.0.0",
+ "p-defer": "^3.0.0"
+ }
+ },
+ "it-to-stream": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/it-to-stream/-/it-to-stream-0.1.2.tgz",
+ "integrity": "sha512-DTB5TJRZG3untmZehcaFN0kGWl2bNv7tnJRgQHAO9QEt8jfvVRrebZtnD5NZd4SCj4WVPjl0LSrugNWE/UaZRQ==",
+ "optional": true,
+ "requires": {
+ "buffer": "^5.6.0",
+ "fast-fifo": "^1.0.0",
+ "get-iterator": "^1.0.2",
+ "p-defer": "^3.0.0",
+ "p-fifo": "^1.0.0",
+ "readable-stream": "^3.6.0"
+ },
+ "dependencies": {
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ }
+ }
+ },
+ "iter-tools": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/iter-tools/-/iter-tools-7.1.2.tgz",
+ "integrity": "sha512-pIXrFK1Mnm27janeYar6M1uhHE7eVPLZwo0FC2JxRLM41nJu0lACwQMam9L0ws8EOZl+mn6Vvq/QqObls53l3w==",
+ "optional": true,
+ "requires": {
+ "@babel/runtime": "^7.12.1"
+ }
+ },
+ "iterall": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/iterall/-/iterall-1.3.0.tgz",
+ "integrity": "sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg==",
+ "optional": true
+ },
+ "iterate-iterator": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/iterate-iterator/-/iterate-iterator-1.0.1.tgz",
+ "integrity": "sha512-3Q6tudGN05kbkDQDI4CqjaBf4qf85w6W6GnuZDtUVYwKgtC1q8yxYX7CZed7N+tLzQqS6roujWvszf13T+n9aw=="
+ },
+ "iterate-value": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/iterate-value/-/iterate-value-1.0.2.tgz",
+ "integrity": "sha512-A6fMAio4D2ot2r/TYzr4yUWrmwNdsN5xL7+HUiyACE4DXm+q8HtPcnFTp+NnW3k4N05tZ7FVYFFb2CR13NxyHQ==",
+ "requires": {
+ "es-get-iterator": "^1.0.2",
+ "iterate-iterator": "^1.0.1"
+ }
+ },
"jju": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/jju/-/jju-1.4.0.tgz",
@@ -20894,9 +57033,9 @@
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
},
"js-yaml": {
- "version": "3.13.1",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
- "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
+ "version": "3.14.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz",
+ "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==",
"requires": {
"argparse": "^1.0.7",
"esprima": "^4.0.0"
@@ -20909,11 +57048,53 @@
}
}
},
+ "jsan": {
+ "version": "3.1.13",
+ "resolved": "https://registry.npmjs.org/jsan/-/jsan-3.1.13.tgz",
+ "integrity": "sha512-9kGpCsGHifmw6oJet+y8HaCl14y7qgAsxVdV3pCHDySNR3BfDC30zgkssd7x5LRVAT22dnpbe9JdzzmXZnq9/g=="
+ },
"jsbn": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
"integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="
},
+ "jsdom": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-7.2.2.tgz",
+ "integrity": "sha1-QLQCdwwr2iNGkJa+6Rq2deOx/G4=",
+ "optional": true,
+ "requires": {
+ "abab": "^1.0.0",
+ "acorn": "^2.4.0",
+ "acorn-globals": "^1.0.4",
+ "cssom": ">= 0.3.0 < 0.4.0",
+ "cssstyle": ">= 0.2.29 < 0.3.0",
+ "escodegen": "^1.6.1",
+ "nwmatcher": ">= 1.3.7 < 2.0.0",
+ "parse5": "^1.5.1",
+ "request": "^2.55.0",
+ "sax": "^1.1.4",
+ "symbol-tree": ">= 3.1.0 < 4.0.0",
+ "tough-cookie": "^2.2.0",
+ "webidl-conversions": "^2.0.0",
+ "whatwg-url-compat": "~0.6.5",
+ "xml-name-validator": ">= 2.0.1 < 3.0.0"
+ },
+ "dependencies": {
+ "acorn": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz",
+ "integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc=",
+ "optional": true
+ },
+ "parse5": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/parse5/-/parse5-1.5.1.tgz",
+ "integrity": "sha1-m387DeMr543CQBsXVzzK8Pb1nZQ=",
+ "optional": true
+ }
+ }
+ },
"jsesc": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
@@ -20937,6 +57118,14 @@
"jju": "^1.1.0"
}
},
+ "json-pointer": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/json-pointer/-/json-pointer-0.6.1.tgz",
+ "integrity": "sha512-3OvjqKdCBvH41DLpV4iSt6v2XhZXV1bPB4OROuknvUXI7ZQNofieCPkmE26stEJ9zdQuvIxDHCuYhfgxFAAs+Q==",
+ "requires": {
+ "foreach": "^2.0.4"
+ }
+ },
"json-rpc-engine": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/json-rpc-engine/-/json-rpc-engine-3.8.0.tgz",
@@ -20994,19 +57183,37 @@
"json-stable-stringify-without-jsonify": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
- "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=",
- "dev": true
+ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE="
},
"json-stringify-safe": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
"integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
},
+ "json-text-sequence": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/json-text-sequence/-/json-text-sequence-0.1.1.tgz",
+ "integrity": "sha1-py8hfcSvxGKf/1/rME3BvVGi89I=",
+ "optional": true,
+ "requires": {
+ "delimit-stream": "0.1.0"
+ }
+ },
"json5": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
"integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE="
},
+ "jsondown": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/jsondown/-/jsondown-1.0.0.tgz",
+ "integrity": "sha512-p6XxPaq59aXwcdDQV3ISMA5xk+1z6fJuctcwwSdR9iQgbYOcIrnknNrhcMGG+0FaUfKHGkdDpQNaZrovfBoyOw==",
+ "optional": true,
+ "requires": {
+ "memdown": "1.4.1",
+ "mkdirp": "0.5.1"
+ }
+ },
"jsonfile": {
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz",
@@ -21030,6 +57237,15 @@
"resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.2.6.tgz",
"integrity": "sha512-SqhURKZG07JyKKeo/ir24QnS4/BV7a6gQy93bUSe4lUdNp0QNpIz2c9elWJQ9dpc5cQYY6cvCzgRwy0MQCLyqA=="
},
+ "JSONStream": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz",
+ "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==",
+ "requires": {
+ "jsonparse": "^1.2.0",
+ "through": ">=2.2.7 <3"
+ }
+ },
"jsprim": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
@@ -21052,6 +57268,21 @@
"safe-buffer": "^5.1.0"
}
},
+ "keypair": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/keypair/-/keypair-1.0.3.tgz",
+ "integrity": "sha512-0wjZ2z/SfZZq01+3/8jYLd8aEShSa+aat1zyPGQY3IuKoEAp6DJGvu2zt6snELrQU9jbCkIlCyNOD7RdQbHhkQ==",
+ "optional": true
+ },
+ "keypather": {
+ "version": "1.10.2",
+ "resolved": "https://registry.npmjs.org/keypather/-/keypather-1.10.2.tgz",
+ "integrity": "sha1-4ESWMtSz5RbyHMAUznxWRP3c5hQ=",
+ "optional": true,
+ "requires": {
+ "101": "^1.0.0"
+ }
+ },
"keyv": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz",
@@ -21064,7 +57295,7 @@
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",
"integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==",
- "dev": true
+ "devOptional": true
},
"klaw": {
"version": "1.3.1",
@@ -21088,12 +57319,57 @@
"package-json": "^4.0.0"
}
},
- "lcid": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz",
- "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=",
+ "lazy-debug-legacy": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/lazy-debug-legacy/-/lazy-debug-legacy-0.0.1.tgz",
+ "integrity": "sha1-U3cWwHduTPeePtG2IfdljCkRsbE=",
+ "optional": true,
+ "requires": {}
+ },
+ "lazystream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.0.tgz",
+ "integrity": "sha1-9plf4PggOS9hOWvolGJAe7dxaOQ=",
+ "requires": {
+ "readable-stream": "^2.0.5"
+ }
+ },
+ "lcid": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz",
+ "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=",
+ "requires": {
+ "invert-kv": "^1.0.0"
+ }
+ },
+ "leb128": {
+ "version": "0.0.5",
+ "resolved": "https://registry.npmjs.org/leb128/-/leb128-0.0.5.tgz",
+ "integrity": "sha512-elbNtfmu3GndZbesVF6+iQAfVjOXW9bM/aax9WwMlABZW+oK9sbAZEXoewaPHmL34sxa8kVwWsru8cNE/yn2gg==",
+ "optional": true,
+ "requires": {
+ "bn.js": "^5.0.0",
+ "buffer-pipe": "0.0.3"
+ },
+ "dependencies": {
+ "bn.js": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",
+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==",
+ "optional": true
+ }
+ }
+ },
+ "level": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/level/-/level-5.0.1.tgz",
+ "integrity": "sha512-wcak5OQeA4rURGacqS62R/xNHjCYnJSQDBOlm4KNUGJVE9bWv2B04TclqReYejN+oD65PzD4FsqeWoI5wNC5Lg==",
+ "optional": true,
"requires": {
- "invert-kv": "^1.0.0"
+ "level-js": "^4.0.0",
+ "level-packager": "^5.0.0",
+ "leveldown": "^5.0.0",
+ "opencollective-postinstall": "^2.0.0"
}
},
"level-codec": {
@@ -21101,6 +57377,12 @@
"resolved": "https://registry.npmjs.org/level-codec/-/level-codec-7.0.1.tgz",
"integrity": "sha512-Ua/R9B9r3RasXdRmOtd+t9TCOEIIlts+TN/7XTT2unhDaL6sJn83S3rUyljbr6lVtw49N3/yA0HHjpV6Kzb2aQ=="
},
+ "level-concat-iterator": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/level-concat-iterator/-/level-concat-iterator-2.0.1.tgz",
+ "integrity": "sha512-OTKKOqeav2QWcERMJR7IS9CUo1sHnke2C0gkSmcR7QuEtFNLLzHQAvnMw8ykvEcv0Qtkg0p7FOwP1v9e5Smdcw==",
+ "optional": true
+ },
"level-errors": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/level-errors/-/level-errors-1.0.5.tgz",
@@ -21143,6 +57425,140 @@
}
}
},
+ "level-js": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/level-js/-/level-js-4.0.2.tgz",
+ "integrity": "sha512-PeGjZsyMG4O89KHiez1zoMJxStnkM+oBIqgACjoo5PJqFiSUUm3GNod/KcbqN5ktyZa8jkG7I1T0P2u6HN9lIg==",
+ "optional": true,
+ "requires": {
+ "abstract-leveldown": "~6.0.1",
+ "immediate": "~3.2.3",
+ "inherits": "^2.0.3",
+ "ltgt": "^2.1.2",
+ "typedarray-to-buffer": "~3.1.5"
+ },
+ "dependencies": {
+ "abstract-leveldown": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.0.3.tgz",
+ "integrity": "sha512-jzewKKpZbaYUa6HTThnrl+GrJhzjEAeuc7hTVpZdzg7kupXZFoqQDFwyOwLNbmJKJlmzw8yiipMPkDiuKkT06Q==",
+ "optional": true,
+ "requires": {
+ "level-concat-iterator": "~2.0.0",
+ "xtend": "~4.0.0"
+ }
+ },
+ "immediate": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.2.3.tgz",
+ "integrity": "sha1-0UD6j2FGWb1lQSMwl92qwlzdmRw=",
+ "optional": true
+ }
+ }
+ },
+ "level-packager": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/level-packager/-/level-packager-5.1.1.tgz",
+ "integrity": "sha512-HMwMaQPlTC1IlcwT3+swhqf/NUO+ZhXVz6TY1zZIIZlIR0YSn8GtAAWmIvKjNY16ZkEg/JcpAuQskxsXqC0yOQ==",
+ "optional": true,
+ "requires": {
+ "encoding-down": "^6.3.0",
+ "levelup": "^4.3.2"
+ },
+ "dependencies": {
+ "abstract-leveldown": {
+ "version": "6.2.3",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.2.3.tgz",
+ "integrity": "sha512-BsLm5vFMRUrrLeCcRc+G0t2qOaTzpoJQLOubq2XM72eNpjF5UdU5o/5NvlNhx95XHcAvcl8OMXr4mlg/fRgUXQ==",
+ "optional": true,
+ "requires": {
+ "buffer": "^5.5.0",
+ "immediate": "^3.2.3",
+ "level-concat-iterator": "~2.0.0",
+ "level-supports": "~1.0.0",
+ "xtend": "~4.0.0"
+ }
+ },
+ "deferred-leveldown": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-5.3.0.tgz",
+ "integrity": "sha512-a59VOT+oDy7vtAbLRCZwWgxu2BaCfd5Hk7wxJd48ei7I+nsg8Orlb9CLG0PMZienk9BSUKgeAqkO2+Lw+1+Ukw==",
+ "optional": true,
+ "requires": {
+ "abstract-leveldown": "~6.2.1",
+ "inherits": "^2.0.3"
+ }
+ },
+ "inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "level-errors": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-2.0.1.tgz",
+ "integrity": "sha512-UVprBJXite4gPS+3VznfgDSU8PTRuVX0NXwoWW50KLxd2yw4Y1t2JUR5In1itQnudZqRMT9DlAM3Q//9NCjCFw==",
+ "optional": true,
+ "requires": {
+ "errno": "~0.1.1"
+ }
+ },
+ "level-iterator-stream": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-4.0.2.tgz",
+ "integrity": "sha512-ZSthfEqzGSOMWoUGhTXdX9jv26d32XJuHz/5YnuHZzH6wldfWMOVwI9TBtKcya4BKTyTt3XVA0A3cF3q5CY30Q==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.4.0",
+ "xtend": "^4.0.2"
+ }
+ },
+ "levelup": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/levelup/-/levelup-4.4.0.tgz",
+ "integrity": "sha512-94++VFO3qN95cM/d6eBXvd894oJE0w3cInq9USsyQzzoJxmiYzPAocNcuGCPGGjoXqDVJcr3C1jzt1TSjyaiLQ==",
+ "optional": true,
+ "requires": {
+ "deferred-leveldown": "~5.3.0",
+ "level-errors": "~2.0.0",
+ "level-iterator-stream": "~4.0.0",
+ "level-supports": "~1.0.0",
+ "xtend": "~4.0.0"
+ }
+ },
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ }
+ }
+ },
+ "level-supports": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/level-supports/-/level-supports-1.0.1.tgz",
+ "integrity": "sha512-rXM7GYnW8gsl1vedTJIbzOrRv85c/2uCMpiiCzO2fndd06U/kUXEEU9evYn4zFggBOg36IsBW8LzqIpETwwQzg==",
+ "optional": true,
+ "requires": {
+ "xtend": "^4.0.2"
+ }
+ },
+ "level-write-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/level-write-stream/-/level-write-stream-1.0.0.tgz",
+ "integrity": "sha1-P3+7Z5pVE3wP6zA97nZuEu4Twdw=",
+ "optional": true,
+ "requires": {
+ "end-stream": "~0.1.0"
+ }
+ },
"level-ws": {
"version": "0.0.0",
"resolved": "https://registry.npmjs.org/level-ws/-/level-ws-0.0.0.tgz",
@@ -21188,6 +57604,36 @@
}
}
},
+ "leveldown": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/leveldown/-/leveldown-5.0.2.tgz",
+ "integrity": "sha512-Ib6ygFYBleS8x2gh3C1AkVsdrUShqXpe6jSTnZ6sRycEXKhqVf+xOSkhgSnjidpPzyv0d95LJVFrYQ4NuXAqHA==",
+ "optional": true,
+ "requires": {
+ "abstract-leveldown": "~6.0.0",
+ "fast-future": "~1.0.2",
+ "napi-macros": "~1.8.1",
+ "node-gyp-build": "~3.8.0"
+ },
+ "dependencies": {
+ "abstract-leveldown": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.0.3.tgz",
+ "integrity": "sha512-jzewKKpZbaYUa6HTThnrl+GrJhzjEAeuc7hTVpZdzg7kupXZFoqQDFwyOwLNbmJKJlmzw8yiipMPkDiuKkT06Q==",
+ "optional": true,
+ "requires": {
+ "level-concat-iterator": "~2.0.0",
+ "xtend": "~4.0.0"
+ }
+ },
+ "node-gyp-build": {
+ "version": "3.8.0",
+ "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.8.0.tgz",
+ "integrity": "sha512-bYbpIHyRqZ7sVWXxGpz8QIRug5JZc/hzZH4GbdT9HTZi6WmKCZ8GLvP8OZ9TTiIBvwPFKgtGrlWQSXDAvYdsPw==",
+ "optional": true
+ }
+ }
+ },
"levelup": {
"version": "1.3.9",
"resolved": "https://registry.npmjs.org/levelup/-/levelup-1.3.9.tgz",
@@ -21273,6 +57719,78 @@
}
}
},
+ "libp2p-crypto": {
+ "version": "0.19.4",
+ "resolved": "https://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.19.4.tgz",
+ "integrity": "sha512-8iUwiNlU/sFEtXQpxaehmXUQ5Fw6r52H7NH0d8ZSb8nKBbO6r8y8ft6f1to8A81SrFOVd4/zsjEzokpedDvRgw==",
+ "optional": true,
+ "requires": {
+ "err-code": "^3.0.1",
+ "is-typedarray": "^1.0.0",
+ "iso-random-stream": "^2.0.0",
+ "keypair": "^1.0.1",
+ "multibase": "^4.0.3",
+ "multicodec": "^3.0.1",
+ "multihashes": "^4.0.2",
+ "multihashing-async": "^2.1.2",
+ "node-forge": "^0.10.0",
+ "pem-jwk": "^2.0.0",
+ "protobufjs": "^6.10.2",
+ "secp256k1": "^4.0.0",
+ "uint8arrays": "^2.1.4",
+ "ursa-optional": "^0.10.1"
+ },
+ "dependencies": {
+ "err-code": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/err-code/-/err-code-3.0.1.tgz",
+ "integrity": "sha512-GiaH0KJUewYok+eeY05IIgjtAe4Yltygk9Wqp1V5yVWLdhf0hYZchRjNIT9bb0mSwRcIusT3cx7PJUf3zEIfUA==",
+ "optional": true
+ },
+ "multibase": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.4.tgz",
+ "integrity": "sha512-8/JmrdSGzlw6KTgAJCOqUBSGd1V6186i/X8dDCGy/lbCKrQ+1QB6f3HE+wPr7Tpdj4U3gutaj9jG2rNX6UpiJg==",
+ "optional": true,
+ "requires": {
+ "@multiformats/base-x": "^4.0.1"
+ }
+ },
+ "multihashes": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.2.tgz",
+ "integrity": "sha512-xpx++1iZr4ZQHjN1mcrXS6904R36LWLxX/CBifczjtmrtCXEX623DMWOF1eiNSg+pFpiZDFVBgou/4v6ayCHSQ==",
+ "optional": true,
+ "requires": {
+ "multibase": "^4.0.1",
+ "uint8arrays": "^2.1.3",
+ "varint": "^5.0.2"
+ }
+ },
+ "secp256k1": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.2.tgz",
+ "integrity": "sha512-UDar4sKvWAksIlfX3xIaQReADn+WFnHvbVujpcbr+9Sf/69odMwy2MUsz5CKLQgX9nsIyrjuxL2imVyoNHa3fg==",
+ "optional": true,
+ "requires": {
+ "elliptic": "^6.5.2",
+ "node-addon-api": "^2.0.0",
+ "node-gyp-build": "^4.2.0"
+ }
+ },
+ "varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
+ }
+ }
+ },
+ "linked-list": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/linked-list/-/linked-list-0.1.0.tgz",
+ "integrity": "sha1-eYsP+X0bkqT9CEgPVa6k6dSdN78="
+ },
"load-json-file": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
@@ -21302,9 +57820,121 @@
}
},
"lodash": {
- "version": "4.17.15",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
- "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
+ "version": "4.17.21",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
+ },
+ "lodash-es": {
+ "version": "4.17.21",
+ "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz",
+ "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw=="
+ },
+ "lodash._reinterpolate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz",
+ "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=",
+ "optional": true
+ },
+ "lodash.assign": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz",
+ "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=",
+ "optional": true
+ },
+ "lodash.assignin": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/lodash.assignin/-/lodash.assignin-4.2.0.tgz",
+ "integrity": "sha1-uo31+4QesKPoBEIysOJjqNxqKKI=",
+ "optional": true
+ },
+ "lodash.assigninwith": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/lodash.assigninwith/-/lodash.assigninwith-4.2.0.tgz",
+ "integrity": "sha1-rwLJhDKshtk9ppW0voAUAZcXNq8=",
+ "optional": true
+ },
+ "lodash.clonedeep": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
+ "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8="
+ },
+ "lodash.escaperegexp": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz",
+ "integrity": "sha1-ZHYsSGGAglGKw99Mz11YhtriA0c="
+ },
+ "lodash.flatten": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz",
+ "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8="
+ },
+ "lodash.isequal": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz",
+ "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=",
+ "optional": true
+ },
+ "lodash.keys": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-4.2.0.tgz",
+ "integrity": "sha1-oIYCrBLk+4P5H8H7ejYKTZujUgU=",
+ "optional": true
+ },
+ "lodash.merge": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="
+ },
+ "lodash.omit": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz",
+ "integrity": "sha1-brGa5aHuHdnfC5aeZs4Lf6MLXmA=",
+ "optional": true
+ },
+ "lodash.partition": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/lodash.partition/-/lodash.partition-4.6.0.tgz",
+ "integrity": "sha1-o45GtzRp4EILDaEhLmbUFL42S6Q="
+ },
+ "lodash.rest": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/lodash.rest/-/lodash.rest-4.0.5.tgz",
+ "integrity": "sha1-lU73UEkmIDjJbR/Jiyj9r58Hcqo=",
+ "optional": true
+ },
+ "lodash.sortby": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz",
+ "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=",
+ "optional": true
+ },
+ "lodash.sum": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/lodash.sum/-/lodash.sum-4.0.2.tgz",
+ "integrity": "sha1-rZDjl5ZdgD1PH/eqWy0Bl/O0Y3s="
+ },
+ "lodash.template": {
+ "version": "4.2.4",
+ "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.2.4.tgz",
+ "integrity": "sha1-0FPBno50442WW/T7SV2A8Qnn96Q=",
+ "optional": true,
+ "requires": {
+ "lodash._reinterpolate": "~3.0.0",
+ "lodash.assigninwith": "^4.0.0",
+ "lodash.keys": "^4.0.0",
+ "lodash.rest": "^4.0.0",
+ "lodash.templatesettings": "^4.0.0",
+ "lodash.tostring": "^4.0.0"
+ }
+ },
+ "lodash.templatesettings": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz",
+ "integrity": "sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==",
+ "optional": true,
+ "requires": {
+ "lodash._reinterpolate": "^3.0.0"
+ }
},
"lodash.toarray": {
"version": "4.4.0",
@@ -21312,15 +57942,53 @@
"integrity": "sha1-JMS/zWsvuji/0FlNsRedjptlZWE=",
"dev": true
},
+ "lodash.tostring": {
+ "version": "4.1.4",
+ "resolved": "https://registry.npmjs.org/lodash.tostring/-/lodash.tostring-4.1.4.tgz",
+ "integrity": "sha1-Vgwn0fjq3eA8LM4Zj+9cAx2CmPs=",
+ "optional": true
+ },
"lodash.values": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/lodash.values/-/lodash.values-4.3.0.tgz",
"integrity": "sha1-o6bCsOvsxcLLocF+bmIP6BtT00c="
},
+ "lodash.without": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/lodash.without/-/lodash.without-4.4.0.tgz",
+ "integrity": "sha1-PNRXSgC2e643OpS3SHcmQFB7eqw=",
+ "optional": true
+ },
+ "lodash.xor": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/lodash.xor/-/lodash.xor-4.5.0.tgz",
+ "integrity": "sha1-TUjtfpgJWwYyWCunFNP/iuj7HbY=",
+ "optional": true
+ },
+ "lodash.zipwith": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/lodash.zipwith/-/lodash.zipwith-4.2.0.tgz",
+ "integrity": "sha1-r6zwP9LzhK8p4mPDxr2juA4/Uf0="
+ },
+ "log-symbols": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz",
+ "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==",
+ "optional": true,
+ "requires": {
+ "chalk": "^2.0.1"
+ }
+ },
"loglevel": {
- "version": "1.6.8",
- "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.6.8.tgz",
- "integrity": "sha512-bsU7+gc9AJ2SqpzxwU3+1fedl8zAntbtC5XYlt3s2j1hJcn2PsXSmgN8TaLG/J1/2mod4+cE/3vNL70/c1RNCA=="
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.7.1.tgz",
+ "integrity": "sha512-Hesni4s5UkWkwCGJMQGAh71PaLUmKFM60dHvq0zi/vDhhrzuk+4GgNbTXJ12YYQJn6ZKBDNIjYcuQGKudvqrIw=="
+ },
+ "long": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz",
+ "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==",
+ "optional": true
},
"loose-envify": {
"version": "1.4.0",
@@ -21330,6 +57998,19 @@
"js-tokens": "^3.0.0 || ^4.0.0"
}
},
+ "lower-case": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz",
+ "integrity": "sha1-miyr0bno4K6ZOkv31YdcOcQujqw="
+ },
+ "lower-case-first": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case-first/-/lower-case-first-1.0.2.tgz",
+ "integrity": "sha1-5dp8JvKacHO+AtUrrJmA5ZIq36E=",
+ "requires": {
+ "lower-case": "^1.1.2"
+ }
+ },
"lowercase-keys": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
@@ -21409,6 +58090,12 @@
"integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=",
"dev": true
},
+ "map-stream": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.0.6.tgz",
+ "integrity": "sha1-0u9OuBGihkTHqJiZhcacL91JaCc=",
+ "optional": true
+ },
"map-visit": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",
@@ -21444,6 +58131,12 @@
"supports-hyperlinks": "^1.0.1"
}
},
+ "math-random": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz",
+ "integrity": "sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==",
+ "optional": true
+ },
"md5.js": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz",
@@ -21454,6 +58147,11 @@
"safe-buffer": "^5.1.2"
}
},
+ "media-typer": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
+ "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g="
+ },
"mem": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz",
@@ -21490,6 +58188,35 @@
"resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz",
"integrity": "sha1-htcJCzDORV1j+64S3aUaR93K+bI="
},
+ "merge-descriptors": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
+ "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E="
+ },
+ "merge-options": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-options/-/merge-options-2.0.0.tgz",
+ "integrity": "sha512-S7xYIeWHl2ZUKF7SDeBhGg6rfv5bKxVBdk95s/I7wVF8d+hjLSztJ/B271cnUiF6CAFduEQ5Zn3HYwAjT16DlQ==",
+ "optional": true,
+ "requires": {
+ "is-plain-obj": "^2.0.0"
+ }
+ },
+ "merge-stream": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-1.0.1.tgz",
+ "integrity": "sha1-QEEgLVCKNCugAXQAjfDCUbjBNeE=",
+ "optional": true,
+ "requires": {
+ "readable-stream": "^2.0.1"
+ }
+ },
+ "merge2": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
+ "optional": true
+ },
"merkle-patricia-tree": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/merkle-patricia-tree/-/merkle-patricia-tree-2.3.2.tgz",
@@ -21505,6 +58232,11 @@
"semaphore": ">=1.0.1"
}
},
+ "methods": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
+ "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
+ },
"micromatch": {
"version": "3.1.10",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
@@ -21526,17 +58258,31 @@
"to-regex": "^3.0.2"
}
},
+ "miller-rabin": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz",
+ "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==",
+ "requires": {
+ "bn.js": "^4.0.0",
+ "brorand": "^1.0.1"
+ }
+ },
+ "mime": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="
+ },
"mime-db": {
- "version": "1.38.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.38.0.tgz",
- "integrity": "sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg=="
+ "version": "1.47.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz",
+ "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw=="
},
"mime-types": {
- "version": "2.1.22",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.22.tgz",
- "integrity": "sha512-aGl6TZGnhm/li6F7yx82bJiBZwgiEa4Hf6CNr8YO+r5UHr53tSTYZb102zyU50DOWWKeOv0uQLRL0/9EiKWCog==",
+ "version": "2.1.30",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz",
+ "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==",
"requires": {
- "mime-db": "~1.38.0"
+ "mime-db": "1.47.0"
}
},
"mimic-fn": {
@@ -21667,10 +58413,19 @@
"integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==",
"optional": true
},
+ "mkdirp-promise": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz",
+ "integrity": "sha1-6bj2jlUsaKnBcTuEiD96HdA5uKE=",
+ "requires": {
+ "mkdirp": "*"
+ }
+ },
"mocha": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz",
"integrity": "sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==",
+ "dev": true,
"requires": {
"browser-stdout": "1.3.1",
"commander": "2.15.1",
@@ -21688,32 +58443,397 @@
"commander": {
"version": "2.15.1",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz",
- "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag=="
+ "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==",
+ "dev": true
+ }
+ }
+ },
+ "mock-fs": {
+ "version": "4.13.0",
+ "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-4.13.0.tgz",
+ "integrity": "sha512-DD0vOdofJdoaRNtnWcrXe6RQbpHkPPmtqGq14uRX0F8ZKJ5nv89CVTYl/BZdppDxBDaV0hl75htg3abpEWlPZA=="
+ },
+ "module": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/module/-/module-1.2.5.tgz",
+ "integrity": "sha1-tQPrBs3BNHP1aBhCaXTN5+xZvxU=",
+ "optional": true,
+ "requires": {
+ "chalk": "1.1.3",
+ "concat-stream": "1.5.1",
+ "lodash.template": "4.2.4",
+ "map-stream": "0.0.6",
+ "tildify": "1.2.0",
+ "vinyl-fs": "2.4.3",
+ "yargs": "4.6.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "optional": true
+ },
+ "camelcase": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",
+ "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=",
+ "optional": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
+ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "optional": true,
+ "requires": {
+ "ansi-styles": "^2.2.1",
+ "escape-string-regexp": "^1.0.2",
+ "has-ansi": "^2.0.0",
+ "strip-ansi": "^3.0.0",
+ "supports-color": "^2.0.0"
+ }
+ },
+ "cliui": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz",
+ "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=",
+ "optional": true,
+ "requires": {
+ "string-width": "^1.0.1",
+ "strip-ansi": "^3.0.1",
+ "wrap-ansi": "^2.0.0"
+ }
+ },
+ "concat-stream": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.5.1.tgz",
+ "integrity": "sha1-87gKz54fSOOHXAaItBtsMWAu6hw=",
+ "optional": true,
+ "requires": {
+ "inherits": "~2.0.1",
+ "readable-stream": "~2.0.0",
+ "typedarray": "~0.0.5"
+ }
+ },
+ "find-up": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
+ "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",
+ "optional": true,
+ "requires": {
+ "path-exists": "^2.0.0",
+ "pinkie-promise": "^2.0.0"
+ }
+ },
+ "load-json-file": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
+ "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
+ "optional": true,
+ "requires": {
+ "graceful-fs": "^4.1.2",
+ "parse-json": "^2.2.0",
+ "pify": "^2.0.0",
+ "pinkie-promise": "^2.0.0",
+ "strip-bom": "^2.0.0"
+ }
+ },
+ "os-locale": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
+ "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",
+ "optional": true,
+ "requires": {
+ "lcid": "^1.0.0"
+ }
+ },
+ "path-exists": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
+ "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
+ "optional": true,
+ "requires": {
+ "pinkie-promise": "^2.0.0"
+ }
+ },
+ "path-type": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
+ "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=",
+ "optional": true,
+ "requires": {
+ "graceful-fs": "^4.1.2",
+ "pify": "^2.0.0",
+ "pinkie-promise": "^2.0.0"
+ }
+ },
+ "process-nextick-args": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz",
+ "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=",
+ "optional": true
+ },
+ "read-pkg": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
+ "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=",
+ "optional": true,
+ "requires": {
+ "load-json-file": "^1.0.0",
+ "normalize-package-data": "^2.3.2",
+ "path-type": "^1.0.0"
+ }
+ },
+ "read-pkg-up": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",
+ "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=",
+ "optional": true,
+ "requires": {
+ "find-up": "^1.0.0",
+ "read-pkg": "^1.0.0"
+ }
+ },
+ "readable-stream": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz",
+ "integrity": "sha1-j5A0HmilPMySh4jaz80Rs265t44=",
+ "optional": true,
+ "requires": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~1.0.6",
+ "string_decoder": "~0.10.x",
+ "util-deprecate": "~1.0.1"
+ }
+ },
+ "string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
+ "optional": true
+ },
+ "strip-bom": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
+ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
+ "optional": true,
+ "requires": {
+ "is-utf8": "^0.2.0"
+ }
+ },
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "optional": true
+ },
+ "yargs": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-4.6.0.tgz",
+ "integrity": "sha1-y0BQwBWb+2u2ScD0r1UFJqhGGdw=",
+ "optional": true,
+ "requires": {
+ "camelcase": "^2.0.1",
+ "cliui": "^3.2.0",
+ "decamelize": "^1.1.1",
+ "lodash.assign": "^4.0.3",
+ "os-locale": "^1.4.0",
+ "pkg-conf": "^1.1.2",
+ "read-pkg-up": "^1.0.1",
+ "require-main-filename": "^1.0.1",
+ "string-width": "^1.0.1",
+ "window-size": "^0.2.0",
+ "y18n": "^3.2.1",
+ "yargs-parser": "^2.4.0"
+ }
+ },
+ "yargs-parser": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-2.4.1.tgz",
+ "integrity": "sha1-hVaN488VD/SfpRgl8DqMiA3cxcQ=",
+ "optional": true,
+ "requires": {
+ "camelcase": "^3.0.0",
+ "lodash.assign": "^4.0.6"
+ },
+ "dependencies": {
+ "camelcase": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",
+ "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=",
+ "optional": true
+ }
+ }
+ }
+ }
+ },
+ "move-concurrently": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz",
+ "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=",
+ "requires": {
+ "aproba": "^1.1.1",
+ "copy-concurrently": "^1.0.0",
+ "fs-write-stream-atomic": "^1.0.8",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.5.4",
+ "run-queue": "^1.0.3"
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ },
+ "multiaddr": {
+ "version": "8.1.2",
+ "resolved": "https://registry.npmjs.org/multiaddr/-/multiaddr-8.1.2.tgz",
+ "integrity": "sha512-r13IzW8+Sv9zab9Gt8RPMIN2WkptIPq99EpAzg4IbJ/zTELhiEwXWr9bAmEatSCI4j/LSA6ESJzvz95JZ+ZYXQ==",
+ "optional": true,
+ "requires": {
+ "cids": "^1.0.0",
+ "class-is": "^1.1.0",
+ "dns-over-http-resolver": "^1.0.0",
+ "err-code": "^2.0.3",
+ "is-ip": "^3.1.0",
+ "multibase": "^3.0.0",
+ "uint8arrays": "^1.1.0",
+ "varint": "^5.0.0"
+ },
+ "dependencies": {
+ "err-code": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz",
+ "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==",
+ "optional": true
+ },
+ "uint8arrays": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz",
+ "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==",
+ "optional": true,
+ "requires": {
+ "multibase": "^3.0.0",
+ "web-encoding": "^1.0.2"
+ }
+ },
+ "varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
+ }
+ }
+ },
+ "multiaddr-to-uri": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/multiaddr-to-uri/-/multiaddr-to-uri-6.0.0.tgz",
+ "integrity": "sha512-OjpkVHOXEmIKMO8WChzzQ7aZQcSQX8squxmvtDbRpy7/QNmJ3Z7jv6qyD74C28QtaeNie8O8ngW2AkeiMmKP7A==",
+ "optional": true,
+ "requires": {
+ "multiaddr": "^8.0.0"
+ }
+ },
+ "multibase": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-3.1.2.tgz",
+ "integrity": "sha512-bpklWHs70LO3smJUHOjcnzGceJJvn9ui0Vau6Za0B/GBepaXswmW8Ufea0uD9pROf/qCQ4N4lZ3sf3U+SNf0tw==",
+ "optional": true,
+ "requires": {
+ "@multiformats/base-x": "^4.0.1",
+ "web-encoding": "^1.0.6"
+ }
+ },
+ "multicodec": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-3.0.1.tgz",
+ "integrity": "sha512-Y6j3wiPojvkF/z6KFIGt84KdJdP2oILEdzc/3YbD3qQ3EerhqtYlfsZTPPNVoCCxNZZdzIpCKrdYFSav17sIrQ==",
+ "optional": true,
+ "requires": {
+ "uint8arrays": "^2.1.3",
+ "varint": "^5.0.2"
+ },
+ "dependencies": {
+ "varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
+ }
+ }
+ },
+ "multihashes": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-3.1.2.tgz",
+ "integrity": "sha512-AP4IoV/YzkNrfbQKZE3OMPibrmy350OmCd6cJkwyM8oExaXIlOY4UnOOVSQtAEuq/LR01XfXKCESidzZvSwHCQ==",
+ "optional": true,
+ "requires": {
+ "multibase": "^3.1.0",
+ "uint8arrays": "^2.0.5",
+ "varint": "^6.0.0"
+ }
+ },
+ "multihashing-async": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-2.1.2.tgz",
+ "integrity": "sha512-FTPNnWWxwIK5dXXmTFhySSF8Fkdqf7vzqpV09+RWsmfUhrsL/b3Arg3+bRrBnXTtjxm3JRGI3wSAtQHL0QCxhQ==",
+ "optional": true,
+ "requires": {
+ "blakejs": "^1.1.0",
+ "err-code": "^3.0.0",
+ "js-sha3": "^0.8.0",
+ "multihashes": "^4.0.1",
+ "murmurhash3js-revisited": "^3.0.0",
+ "uint8arrays": "^2.1.3"
+ },
+ "dependencies": {
+ "err-code": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/err-code/-/err-code-3.0.1.tgz",
+ "integrity": "sha512-GiaH0KJUewYok+eeY05IIgjtAe4Yltygk9Wqp1V5yVWLdhf0hYZchRjNIT9bb0mSwRcIusT3cx7PJUf3zEIfUA==",
+ "optional": true
+ },
+ "js-sha3": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz",
+ "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==",
+ "optional": true
+ },
+ "multibase": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.4.tgz",
+ "integrity": "sha512-8/JmrdSGzlw6KTgAJCOqUBSGd1V6186i/X8dDCGy/lbCKrQ+1QB6f3HE+wPr7Tpdj4U3gutaj9jG2rNX6UpiJg==",
+ "optional": true,
+ "requires": {
+ "@multiformats/base-x": "^4.0.1"
+ }
+ },
+ "multihashes": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.2.tgz",
+ "integrity": "sha512-xpx++1iZr4ZQHjN1mcrXS6904R36LWLxX/CBifczjtmrtCXEX623DMWOF1eiNSg+pFpiZDFVBgou/4v6ayCHSQ==",
+ "optional": true,
+ "requires": {
+ "multibase": "^4.0.1",
+ "uint8arrays": "^2.1.3",
+ "varint": "^5.0.2"
+ }
},
- "growl": {
- "version": "1.10.5",
- "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz",
- "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA=="
+ "varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
}
}
},
- "move-concurrently": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz",
- "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=",
- "requires": {
- "aproba": "^1.1.1",
- "copy-concurrently": "^1.0.0",
- "fs-write-stream-atomic": "^1.0.8",
- "mkdirp": "^0.5.1",
- "rimraf": "^2.5.4",
- "run-queue": "^1.0.3"
- }
- },
- "ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ "murmurhash3js-revisited": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/murmurhash3js-revisited/-/murmurhash3js-revisited-3.0.0.tgz",
+ "integrity": "sha512-/sF3ee6zvScXMb1XFJ8gDsSnY+X8PbOyjIuBhtgis10W2Jx4ZjIhikUCIF9c4gpJxVnQIsPAFrSwTCuAjicP6g==",
+ "optional": true
},
"mute-stream": {
"version": "0.0.7",
@@ -21722,9 +58842,20 @@
"dev": true
},
"nan": {
- "version": "2.10.0",
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.10.0.tgz",
- "integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA=="
+ "version": "2.14.2",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz",
+ "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ=="
+ },
+ "nano-json-stream-parser": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/nano-json-stream-parser/-/nano-json-stream-parser-0.1.2.tgz",
+ "integrity": "sha1-DMj20OK2IrR5xA1JnEbWS3Vcb18="
+ },
+ "nanoid": {
+ "version": "3.1.22",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.22.tgz",
+ "integrity": "sha512-/2ZUaJX2ANuLtTvqTlgqBQNJoQO398KyJgZloL0PZkC0dpysjncRUPsFe3DUPzz/y3h+u7C46np8RMuvF3jsSQ==",
+ "optional": true
},
"nanomatch": {
"version": "1.2.13",
@@ -21751,12 +58882,69 @@
"integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==",
"optional": true
},
+ "napi-macros": {
+ "version": "1.8.2",
+ "resolved": "https://registry.npmjs.org/napi-macros/-/napi-macros-1.8.2.tgz",
+ "integrity": "sha512-Tr0DNY4RzTaBG2W2m3l7ZtFuJChTH6VZhXVhkGGjF/4cZTt+i8GcM9ozD+30Lmr4mDoZ5Xx34t2o4GJqYWDGcg==",
+ "optional": true
+ },
+ "native-abort-controller": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/native-abort-controller/-/native-abort-controller-0.0.3.tgz",
+ "integrity": "sha512-YIxU5nWqSHG1Xbu3eOu3pdFRD882ivQpIcu6AiPVe2oSVoRbfYW63DVkZm3g1gHiMtZSvZzF6THSzTGEBYl8YA==",
+ "optional": true,
+ "requires": {
+ "globalthis": "^1.0.1"
+ }
+ },
+ "native-fetch": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/native-fetch/-/native-fetch-2.0.1.tgz",
+ "integrity": "sha512-gv4Bea+ga9QdXINurpkEqun3ap3vnB+WYoe4c8ddqUYEH7B2h6iD39RF8uVN7OwmSfMY3RDxkvBnoI4e2/vLXQ==",
+ "optional": true,
+ "requires": {
+ "globalthis": "^1.0.1"
+ }
+ },
"natural-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
"integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
"dev": true
},
+ "needle": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/needle/-/needle-2.6.0.tgz",
+ "integrity": "sha512-KKYdza4heMsEfSWD7VPUIz3zX2XDwOyX2d+geb4vrERZMT5RMU6ujjaD+I5Yr54uZxQ2w6XRTAhHBbSCyovZBg==",
+ "optional": true,
+ "requires": {
+ "debug": "^3.2.6",
+ "iconv-lite": "^0.4.4",
+ "sax": "^1.2.4"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "optional": true,
+ "requires": {
+ "ms": "^2.1.1"
+ }
+ },
+ "ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "optional": true
+ }
+ }
+ },
+ "negotiator": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
+ "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw=="
+ },
"neo-async": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz",
@@ -21767,12 +58955,25 @@
"resolved": "https://registry.npmjs.org/nested-error-stacks/-/nested-error-stacks-2.0.1.tgz",
"integrity": "sha512-SrQrok4CATudVzBS7coSz26QRSmlK9TzzoFbeKfcPBUFPjcQM9Rqvr/DlJkOrwI/0KcgvMub1n1g5Jt9EgRn4A=="
},
+ "next-tick": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz",
+ "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw="
+ },
"nice-try": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
"dev": true
},
+ "no-case": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz",
+ "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==",
+ "requires": {
+ "lower-case": "^1.1.1"
+ }
+ },
"node-abi": {
"version": "2.18.0",
"resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.18.0.tgz",
@@ -21848,6 +59049,12 @@
"safe-buffer": "^5.1.1"
}
},
+ "node-forge": {
+ "version": "0.10.0",
+ "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz",
+ "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==",
+ "optional": true
+ },
"node-gyp-build": {
"version": "4.2.3",
"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.3.tgz",
@@ -21862,16 +59069,58 @@
"bindings": "^1.5.0",
"nan": "^2.13.2",
"prebuild-install": "^5.3.0"
+ }
+ },
+ "node-int64": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
+ "integrity": "sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=",
+ "optional": true
+ },
+ "node-interval-tree": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/node-interval-tree/-/node-interval-tree-1.3.3.tgz",
+ "integrity": "sha512-K9vk96HdTK5fEipJwxSvIIqwTqr4e3HRJeJrNxBSeVMNSC/JWARRaX7etOLOuTmrRMeOI/K5TCJu3aWIwZiNTw==",
+ "requires": {
+ "shallowequal": "^1.0.2"
+ }
+ },
+ "node-pre-gyp": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.11.0.tgz",
+ "integrity": "sha512-TwWAOZb0j7e9eGaf9esRx3ZcLaE5tQ2lvYy1pb5IAaG1a2e2Kv5Lms1Y4hpj+ciXJRofIxxlt5haeQ/2ANeE0Q==",
+ "optional": true,
+ "requires": {
+ "detect-libc": "^1.0.2",
+ "mkdirp": "^0.5.1",
+ "needle": "^2.2.1",
+ "nopt": "^4.0.1",
+ "npm-packlist": "^1.1.6",
+ "npmlog": "^4.0.2",
+ "rc": "^1.2.7",
+ "rimraf": "^2.6.1",
+ "semver": "^5.3.0",
+ "tar": "^4"
},
"dependencies": {
- "nan": {
- "version": "2.14.1",
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz",
- "integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==",
- "optional": true
+ "nopt": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz",
+ "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==",
+ "optional": true,
+ "requires": {
+ "abbrev": "1",
+ "osenv": "^0.1.4"
+ }
}
}
},
+ "node-releases": {
+ "version": "1.1.71",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.71.tgz",
+ "integrity": "sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==",
+ "optional": true
+ },
"nodemon": {
"version": "1.18.10",
"resolved": "https://registry.npmjs.org/nodemon/-/nodemon-1.18.10.tgz",
@@ -21907,6 +59156,17 @@
}
}
},
+ "nofilter": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-1.0.4.tgz",
+ "integrity": "sha512-N8lidFp+fCz+TD51+haYdbDGrcBWwuHX40F5+z0qkUjMJ5Tp+rdSuAkMJ9N9eoolDlEVTf6u5icM+cNKkKW2mA=="
+ },
+ "noop-fn": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/noop-fn/-/noop-fn-1.0.0.tgz",
+ "integrity": "sha1-XzPUfxPSFQ35PgywNmmemC94/78=",
+ "optional": true
+ },
"noop-logger": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/noop-logger/-/noop-logger-0.1.1.tgz",
@@ -22088,11 +59348,6 @@
"package-json": "^6.3.0"
}
},
- "lodash": {
- "version": "4.17.15",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
- "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
- },
"package-json": {
"version": "6.4.0",
"resolved": "https://registry.npmjs.org/package-json/-/package-json-6.4.0.tgz",
@@ -22213,9 +59468,9 @@
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-4.0.5.tgz",
"integrity": "sha512-yQ0/U4fYpCCqmueB2g8sc+89ckQ3eXpmU4+Yi2j5o/r0WkKvE2+Y0tK3DEILAtn2UaQTkjTHxIXe2/CSdit+/Q==",
"requires": {
- "JSONStream": "^1.3.4",
"bluebird": "^3.5.1",
"figgy-pudding": "^3.4.1",
+ "JSONStream": "^1.3.4",
"lru-cache": "^5.1.1",
"make-fetch-happen": "^5.0.0",
"npm-package-arg": "^6.1.0",
@@ -22262,6 +59517,20 @@
"set-blocking": "~2.0.0"
}
},
+ "nth-check": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",
+ "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==",
+ "requires": {
+ "boolbase": "~1.0.0"
+ }
+ },
+ "nullthrows": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/nullthrows/-/nullthrows-1.1.1.tgz",
+ "integrity": "sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==",
+ "optional": true
+ },
"number-is-nan": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
@@ -22283,6 +59552,12 @@
}
}
},
+ "nwmatcher": {
+ "version": "1.4.4",
+ "resolved": "https://registry.npmjs.org/nwmatcher/-/nwmatcher-1.4.4.tgz",
+ "integrity": "sha512-3iuY4N5dhgMpCUrOVnuAdGrgxVqV2cJpM+XNccjR2DKOB1RUP0aA+wGXEiNziG/UKboFyGBIoKOaNlJxx8bciQ==",
+ "optional": true
+ },
"oauth-sign": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
@@ -22329,490 +59604,1511 @@
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz",
"integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw=="
},
- "object-is": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.2.tgz",
- "integrity": "sha512-5lHCz+0uufF6wZ7CRFWJN3hp8Jqblpgve06U5CMQ3f//6iDjPr2PEo9MWCjEssDsa+UZEL4PkFpr+BMop6aKzQ==",
+ "object-is": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.2.tgz",
+ "integrity": "sha512-5lHCz+0uufF6wZ7CRFWJN3hp8Jqblpgve06U5CMQ3f//6iDjPr2PEo9MWCjEssDsa+UZEL4PkFpr+BMop6aKzQ==",
+ "requires": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.5"
+ }
+ },
+ "object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="
+ },
+ "object-path": {
+ "version": "0.11.5",
+ "resolved": "https://registry.npmjs.org/object-path/-/object-path-0.11.5.tgz",
+ "integrity": "sha512-jgSbThcoR/s+XumvGMTMf81QVBmah+/Q7K7YduKeKVWL7N111unR2d6pZZarSk6kY/caeNxUDyxOvMWyzoU2eg==",
+ "optional": true
+ },
+ "object-visit": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz",
+ "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=",
+ "dev": true,
+ "requires": {
+ "isobject": "^3.0.0"
+ }
+ },
+ "object.assign": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",
+ "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",
+ "requires": {
+ "define-properties": "^1.1.2",
+ "function-bind": "^1.1.1",
+ "has-symbols": "^1.0.0",
+ "object-keys": "^1.0.11"
+ }
+ },
+ "object.entries": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.0.tgz",
+ "integrity": "sha512-l+H6EQ8qzGRxbkHOd5I/aHRhHDKoQXQ8g0BYt4uSweQU1/J6dZUOyWh9a2Vky35YCKjzmgxOzta2hH6kf9HuXA==",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.12.0",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3"
+ }
+ },
+ "object.getownpropertydescriptors": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.2.tgz",
+ "integrity": "sha512-WtxeKSzfBjlzL+F9b7M7hewDzMwy+C8NRssHd1YrNlzHzIDrXcXiNOMrezdAEM4UXixgV+vvnyBeN7Rygl2ttQ==",
+ "requires": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.2"
+ }
+ },
+ "object.omit": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz",
+ "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=",
+ "optional": true,
+ "requires": {
+ "for-own": "^0.1.4",
+ "is-extendable": "^0.1.1"
+ }
+ },
+ "object.pick": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
+ "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=",
+ "dev": true,
+ "requires": {
+ "isobject": "^3.0.1"
+ }
+ },
+ "object.values": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.0.tgz",
+ "integrity": "sha512-8mf0nKLAoFX6VlNVdhGj31SVYpaNFtUnuoOXWyFEstsWRgU837AK+JYM0iAxwkSzGRbwn8cbFmgbyxj1j4VbXg==",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.12.0",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3"
+ }
+ },
+ "oboe": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/oboe/-/oboe-2.1.5.tgz",
+ "integrity": "sha1-VVQoTFQ6ImbXo48X4HOCH73jk80=",
+ "requires": {
+ "http-https": "^1.0.0"
+ }
+ },
+ "on-finished": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
+ "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
+ "requires": {
+ "ee-first": "1.1.1"
+ }
+ },
+ "once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
+ "requires": {
+ "wrappy": "1"
+ }
+ },
+ "onetime": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
+ "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",
+ "devOptional": true,
+ "requires": {
+ "mimic-fn": "^1.0.0"
+ }
+ },
+ "opencollective-postinstall": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz",
+ "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==",
+ "optional": true
+ },
+ "openzeppelin-solidity": {
+ "version": "1.12.0",
+ "resolved": "https://registry.npmjs.org/openzeppelin-solidity/-/openzeppelin-solidity-1.12.0.tgz",
+ "integrity": "sha512-WlorzMXIIurugiSdw121RVD5qA3EfSI7GybTn+/Du0mPNgairjt29NpVTAaH8eLjAeAwlw46y7uQKy0NYem/gA=="
+ },
+ "optimism": {
+ "version": "0.15.0",
+ "resolved": "https://registry.npmjs.org/optimism/-/optimism-0.15.0.tgz",
+ "integrity": "sha512-KLKl3Kb7hH++s9ewRcBhmfpXgXF0xQ+JZ3xQFuPjnoT6ib2TDmYyVkKENmGxivsN2G3VRxpXuauCkB4GYOhtPw==",
+ "optional": true,
+ "requires": {
+ "@wry/context": "^0.6.0",
+ "@wry/trie": "^0.3.0"
+ }
+ },
+ "optimist": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
+ "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
+ "requires": {
+ "minimist": "~0.0.1",
+ "wordwrap": "~0.0.2"
+ },
+ "dependencies": {
+ "wordwrap": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
+ "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc="
+ }
+ }
+ },
+ "optionator": {
+ "version": "0.8.2",
+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz",
+ "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=",
+ "requires": {
+ "deep-is": "~0.1.3",
+ "fast-levenshtein": "~2.0.4",
+ "levn": "~0.3.0",
+ "prelude-ls": "~1.1.2",
+ "type-check": "~0.3.2",
+ "wordwrap": "~1.0.0"
+ }
+ },
+ "ora": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/ora/-/ora-3.4.0.tgz",
+ "integrity": "sha512-eNwHudNbO1folBP3JsZ19v9azXWtQZjICdr3Q0TDPIaeBQ3mXLrh54wM+er0+hSp+dWKf+Z8KM58CYzEyIYxYg==",
+ "optional": true,
+ "requires": {
+ "chalk": "^2.4.2",
+ "cli-cursor": "^2.1.0",
+ "cli-spinners": "^2.0.0",
+ "log-symbols": "^2.2.0",
+ "strip-ansi": "^5.2.0",
+ "wcwidth": "^1.0.1"
+ },
+ "dependencies": {
+ "ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "optional": true
+ },
+ "strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "optional": true,
+ "requires": {
+ "ansi-regex": "^4.1.0"
+ }
+ }
+ }
+ },
+ "ordered-read-streams": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/ordered-read-streams/-/ordered-read-streams-0.3.0.tgz",
+ "integrity": "sha1-cTfmmzKYuzQiR6G77jiByA4v14s=",
+ "optional": true,
+ "requires": {
+ "is-stream": "^1.0.1",
+ "readable-stream": "^2.0.1"
+ }
+ },
+ "original": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz",
+ "integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==",
+ "optional": true,
+ "requires": {
+ "url-parse": "^1.4.3"
+ }
+ },
+ "original-require": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/original-require/-/original-require-1.0.1.tgz",
+ "integrity": "sha1-DxMEcVhM0zURxew4yNWSE/msXiA="
+ },
+ "os-homedir": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
+ "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M="
+ },
+ "os-locale": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz",
+ "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==",
+ "requires": {
+ "execa": "^0.7.0",
+ "lcid": "^1.0.0",
+ "mem": "^1.1.0"
+ }
+ },
+ "os-tmpdir": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
+ "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ="
+ },
+ "osenv": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
+ "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
+ "requires": {
+ "os-homedir": "^1.0.0",
+ "os-tmpdir": "^1.0.0"
+ }
+ },
+ "p-cancelable": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
+ "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw=="
+ },
+ "p-defer": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-3.0.0.tgz",
+ "integrity": "sha512-ugZxsxmtTln604yeYd29EGrNhazN2lywetzpKhfmQjW/VJmhpDmWbiX+h0zL8V91R0UXkhb3KtPmyq9PZw3aYw==",
+ "optional": true
+ },
+ "p-fifo": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/p-fifo/-/p-fifo-1.0.0.tgz",
+ "integrity": "sha512-IjoCxXW48tqdtDFz6fqo5q1UfFVjjVZe8TC1QRflvNUJtNfCUhxOUw6MOVZhDPjqhSzc26xKdugsO17gmzd5+A==",
+ "optional": true,
+ "requires": {
+ "fast-fifo": "^1.0.0",
+ "p-defer": "^3.0.0"
+ }
+ },
+ "p-finally": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
+ "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4="
+ },
+ "p-limit": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
+ "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
+ "requires": {
+ "p-try": "^1.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz",
+ "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
+ "requires": {
+ "p-limit": "^1.1.0"
+ }
+ },
+ "p-timeout": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-1.2.1.tgz",
+ "integrity": "sha1-XrOzU7f86Z8QGhA4iAuwVOu+o4Y=",
+ "requires": {
+ "p-finally": "^1.0.0"
+ }
+ },
+ "p-try": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",
+ "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M="
+ },
+ "package-json": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz",
+ "integrity": "sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0=",
+ "dev": true,
+ "requires": {
+ "got": "^6.7.1",
+ "registry-auth-token": "^3.0.1",
+ "registry-url": "^3.0.3",
+ "semver": "^5.1.0"
+ }
+ },
+ "pacote": {
+ "version": "9.5.4",
+ "resolved": "https://registry.npmjs.org/pacote/-/pacote-9.5.4.tgz",
+ "integrity": "sha512-nWr0ari6E+apbdoN0hToTKZElO5h4y8DGFa2pyNA5GQIdcP0imC96bA0bbPw1gpeguVIiUgHHaAlq/6xfPp8Qw==",
+ "requires": {
+ "bluebird": "^3.5.3",
+ "cacache": "^12.0.0",
+ "figgy-pudding": "^3.5.1",
+ "get-stream": "^4.1.0",
+ "glob": "^7.1.3",
+ "lru-cache": "^5.1.1",
+ "make-fetch-happen": "^5.0.0",
+ "minimatch": "^3.0.4",
+ "minipass": "^2.3.5",
+ "mississippi": "^3.0.0",
+ "mkdirp": "^0.5.1",
+ "normalize-package-data": "^2.4.0",
+ "npm-package-arg": "^6.1.0",
+ "npm-packlist": "^1.1.12",
+ "npm-pick-manifest": "^2.2.3",
+ "npm-registry-fetch": "^4.0.0",
+ "osenv": "^0.1.5",
+ "promise-inflight": "^1.0.1",
+ "promise-retry": "^1.1.1",
+ "protoduck": "^5.0.1",
+ "rimraf": "^2.6.2",
+ "safe-buffer": "^5.1.2",
+ "semver": "^5.6.0",
+ "ssri": "^6.0.1",
+ "tar": "^4.4.8",
+ "unique-filename": "^1.1.1",
+ "which": "^1.3.1"
+ },
+ "dependencies": {
+ "get-stream": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
+ "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
+ "requires": {
+ "pump": "^3.0.0"
+ }
+ },
+ "glob": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
+ "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
+ "requires": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
+ },
+ "lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "requires": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "pump": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "requires": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "yallist": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",
+ "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A=="
+ }
+ }
+ },
+ "parallel-transform": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.1.0.tgz",
+ "integrity": "sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY=",
+ "requires": {
+ "cyclist": "~0.2.2",
+ "inherits": "^2.0.3",
+ "readable-stream": "^2.1.5"
+ }
+ },
+ "param-case": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz",
+ "integrity": "sha1-35T9jPZTHs915r75oIWPvHK+Ikc=",
+ "requires": {
+ "no-case": "^2.2.0"
+ }
+ },
+ "paramap-it": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/paramap-it/-/paramap-it-0.1.1.tgz",
+ "integrity": "sha512-3uZmCAN3xCw7Am/4ikGzjjR59aNMJVXGSU7CjG2Z6DfOAdhnLdCOd0S0m1sTkN4ov9QhlE3/jkzyu953hq0uwQ==",
+ "optional": true,
+ "requires": {
+ "event-iterator": "^1.0.0"
+ },
+ "dependencies": {
+ "event-iterator": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/event-iterator/-/event-iterator-1.2.0.tgz",
+ "integrity": "sha512-Daq7YUl0Mv1i4QEgzGQlz0jrx7hUFNyLGbiF+Ap7NCMCjDLCCnolyj6s0TAc6HmrBziO5rNVHsPwGMp7KdRPvw==",
+ "optional": true
+ }
+ }
+ },
+ "parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "dev": true,
+ "requires": {
+ "callsites": "^3.0.0"
+ }
+ },
+ "parse-asn1": {
+ "version": "5.1.6",
+ "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz",
+ "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==",
+ "requires": {
+ "asn1.js": "^5.2.0",
+ "browserify-aes": "^1.0.0",
+ "evp_bytestokey": "^1.0.0",
+ "pbkdf2": "^3.0.3",
+ "safe-buffer": "^5.1.1"
+ }
+ },
+ "parse-cache-control": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz",
+ "integrity": "sha1-juqz5U+laSD+Fro493+iGqzC104=",
+ "dev": true
+ },
+ "parse-code-context": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/parse-code-context/-/parse-code-context-1.0.0.tgz",
+ "integrity": "sha512-OZQaqKaQnR21iqhlnPfVisFjBWjhnMl5J9MgbP8xC+EwoVqbXrq78lp+9Zb3ahmLzrIX5Us/qbvBnaS3hkH6OA==",
+ "dev": true
+ },
+ "parse-duration": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/parse-duration/-/parse-duration-0.4.4.tgz",
+ "integrity": "sha512-KbAJuYGUhZkB9gotDiKLnZ7Z3VTacK3fgwmDdB6ZVDtJbMBT6MfLga0WJaYpPDu0mzqT0NgHtHDt5PY4l0nidg==",
+ "optional": true
+ },
+ "parse-glob": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz",
+ "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=",
+ "optional": true,
"requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.5"
+ "glob-base": "^0.3.0",
+ "is-dotfile": "^1.0.0",
+ "is-extglob": "^1.0.0",
+ "is-glob": "^2.0.0"
},
"dependencies": {
- "es-abstract": {
- "version": "1.17.6",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz",
- "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==",
- "requires": {
- "es-to-primitive": "^1.2.1",
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
- "has-symbols": "^1.0.1",
- "is-callable": "^1.2.0",
- "is-regex": "^1.1.0",
- "object-inspect": "^1.7.0",
- "object-keys": "^1.1.1",
- "object.assign": "^4.1.0",
- "string.prototype.trimend": "^1.0.1",
- "string.prototype.trimstart": "^1.0.1"
- }
- },
- "es-to-primitive": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
- "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
- "requires": {
- "is-callable": "^1.1.4",
- "is-date-object": "^1.0.1",
- "is-symbol": "^1.0.2"
- }
- },
- "has-symbols": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
- "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=="
- },
- "is-callable": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz",
- "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw=="
+ "is-extglob": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
+ "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
+ "optional": true
},
- "is-regex": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.0.tgz",
- "integrity": "sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw==",
+ "is-glob": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
+ "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
+ "optional": true,
"requires": {
- "has-symbols": "^1.0.1"
+ "is-extglob": "^1.0.0"
}
}
}
},
- "object-keys": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
- "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="
- },
- "object-visit": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz",
- "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=",
- "dev": true,
+ "parse-headers": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.2.tgz",
+ "integrity": "sha512-/LypJhzFmyBIDYP9aDVgeyEb5sQfbfY5mnDq4hVhlQ69js87wXfmEI5V3xI6vvXasqebp0oCytYFLxsBVfCzSg==",
"requires": {
- "isobject": "^3.0.0"
+ "for-each": "^0.3.3",
+ "string.prototype.trim": "^1.1.2"
}
},
- "object.assign": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",
- "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",
+ "parse-json": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
+ "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
+ "devOptional": true,
"requires": {
- "define-properties": "^1.1.2",
- "function-bind": "^1.1.1",
- "has-symbols": "^1.0.0",
- "object-keys": "^1.0.11"
+ "error-ex": "^1.2.0"
}
},
- "object.entries": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.0.tgz",
- "integrity": "sha512-l+H6EQ8qzGRxbkHOd5I/aHRhHDKoQXQ8g0BYt4uSweQU1/J6dZUOyWh9a2Vky35YCKjzmgxOzta2hH6kf9HuXA==",
- "dev": true,
+ "parse5": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz",
+ "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==",
"requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.12.0",
- "function-bind": "^1.1.1",
- "has": "^1.0.3"
+ "@types/node": "*"
}
},
- "object.pick": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
- "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=",
- "dev": true,
- "requires": {
- "isobject": "^3.0.1"
- }
+ "parseurl": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="
},
- "object.values": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.0.tgz",
- "integrity": "sha512-8mf0nKLAoFX6VlNVdhGj31SVYpaNFtUnuoOXWyFEstsWRgU837AK+JYM0iAxwkSzGRbwn8cbFmgbyxj1j4VbXg==",
- "dev": true,
+ "pascal-case": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-2.0.1.tgz",
+ "integrity": "sha1-LVeNNFX2YNpl7KGO+VtODekSdh4=",
"requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.12.0",
- "function-bind": "^1.1.1",
- "has": "^1.0.3"
+ "camel-case": "^3.0.0",
+ "upper-case-first": "^1.1.0"
}
},
- "once": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
- "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
+ "pascalcase": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",
+ "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=",
+ "dev": true
+ },
+ "path-case": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/path-case/-/path-case-2.1.1.tgz",
+ "integrity": "sha1-lLgDfDctP+KQbkZbtF4l0ibo7qU=",
"requires": {
- "wrappy": "1"
+ "no-case": "^2.2.0"
}
},
- "onetime": {
+ "path-dirname": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz",
+ "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=",
+ "devOptional": true
+ },
+ "path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
+ },
+ "path-is-absolute": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
+ },
+ "path-is-inside": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz",
+ "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM="
+ },
+ "path-key": {
"version": "2.0.1",
- "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
- "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
+ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A="
+ },
+ "path-parse": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
+ "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
+ },
+ "path-to-regexp": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
+ "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
+ },
+ "path-type": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz",
+ "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=",
"dev": true,
"requires": {
- "mimic-fn": "^1.0.0"
+ "pify": "^2.0.0"
}
},
- "openzeppelin-solidity": {
- "version": "1.12.0",
- "resolved": "https://registry.npmjs.org/openzeppelin-solidity/-/openzeppelin-solidity-1.12.0.tgz",
- "integrity": "sha512-WlorzMXIIurugiSdw121RVD5qA3EfSI7GybTn+/Du0mPNgairjt29NpVTAaH8eLjAeAwlw46y7uQKy0NYem/gA=="
+ "pathval": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.0.tgz",
+ "integrity": "sha1-uULm1L3mUwBe9rcTYd74cn0GReA="
},
- "optimist": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
- "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
+ "pbkdf2": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz",
+ "integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==",
"requires": {
- "minimist": "~0.0.1",
- "wordwrap": "~0.0.2"
+ "create-hash": "^1.1.2",
+ "create-hmac": "^1.1.4",
+ "ripemd160": "^2.0.1",
+ "safe-buffer": "^5.0.1",
+ "sha.js": "^2.4.8"
+ }
+ },
+ "peer-id": {
+ "version": "0.14.8",
+ "resolved": "https://registry.npmjs.org/peer-id/-/peer-id-0.14.8.tgz",
+ "integrity": "sha512-GpuLpob/9FrEFvyZrKKsISEkaBYsON2u0WtiawLHj1ii6ewkoeRiSDFLyIefYhw0jGvQoeoZS05jaT52X7Bvig==",
+ "optional": true,
+ "requires": {
+ "cids": "^1.1.5",
+ "class-is": "^1.1.0",
+ "libp2p-crypto": "^0.19.0",
+ "minimist": "^1.2.5",
+ "multihashes": "^4.0.2",
+ "protobufjs": "^6.10.2",
+ "uint8arrays": "^2.0.5"
},
"dependencies": {
- "wordwrap": {
- "version": "0.0.3",
- "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
- "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc="
+ "minimist": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
+ "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
+ "optional": true
+ },
+ "multibase": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.4.tgz",
+ "integrity": "sha512-8/JmrdSGzlw6KTgAJCOqUBSGd1V6186i/X8dDCGy/lbCKrQ+1QB6f3HE+wPr7Tpdj4U3gutaj9jG2rNX6UpiJg==",
+ "optional": true,
+ "requires": {
+ "@multiformats/base-x": "^4.0.1"
+ }
+ },
+ "multihashes": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.2.tgz",
+ "integrity": "sha512-xpx++1iZr4ZQHjN1mcrXS6904R36LWLxX/CBifczjtmrtCXEX623DMWOF1eiNSg+pFpiZDFVBgou/4v6ayCHSQ==",
+ "optional": true,
+ "requires": {
+ "multibase": "^4.0.1",
+ "uint8arrays": "^2.1.3",
+ "varint": "^5.0.2"
+ }
+ },
+ "varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
}
}
},
- "optionator": {
- "version": "0.8.2",
- "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz",
- "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=",
+ "pem-jwk": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/pem-jwk/-/pem-jwk-2.0.0.tgz",
+ "integrity": "sha512-rFxu7rVoHgQ5H9YsP50dDWf0rHjreVA2z0yPiWr5WdH/UHb29hKtF7h6l8vNd1cbYR1t0QL+JKhW55a2ZV4KtA==",
+ "optional": true,
"requires": {
- "deep-is": "~0.1.3",
- "fast-levenshtein": "~2.0.4",
- "levn": "~0.3.0",
- "prelude-ls": "~1.1.2",
- "type-check": "~0.3.2",
- "wordwrap": "~1.0.0"
+ "asn1.js": "^5.0.1"
}
},
- "original-require": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/original-require/-/original-require-1.0.1.tgz",
- "integrity": "sha1-DxMEcVhM0zURxew4yNWSE/msXiA="
+ "performance-now": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
+ "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
},
- "os-homedir": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
- "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M="
+ "picomatch": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz",
+ "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg=="
},
- "os-locale": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz",
- "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==",
+ "pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw="
+ },
+ "pinkie": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",
+ "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA="
+ },
+ "pinkie-promise": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",
+ "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=",
"requires": {
- "execa": "^0.7.0",
- "lcid": "^1.0.0",
- "mem": "^1.1.0"
+ "pinkie": "^2.0.0"
}
},
- "os-tmpdir": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
- "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ="
+ "pkg-conf": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-1.1.3.tgz",
+ "integrity": "sha1-N45W1v0T6Iv7b0ol33qD+qvduls=",
+ "optional": true,
+ "requires": {
+ "find-up": "^1.0.0",
+ "load-json-file": "^1.1.0",
+ "object-assign": "^4.0.1",
+ "symbol": "^0.2.1"
+ },
+ "dependencies": {
+ "find-up": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
+ "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",
+ "optional": true,
+ "requires": {
+ "path-exists": "^2.0.0",
+ "pinkie-promise": "^2.0.0"
+ }
+ },
+ "load-json-file": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
+ "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
+ "optional": true,
+ "requires": {
+ "graceful-fs": "^4.1.2",
+ "parse-json": "^2.2.0",
+ "pify": "^2.0.0",
+ "pinkie-promise": "^2.0.0",
+ "strip-bom": "^2.0.0"
+ }
+ },
+ "path-exists": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
+ "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
+ "optional": true,
+ "requires": {
+ "pinkie-promise": "^2.0.0"
+ }
+ },
+ "strip-bom": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
+ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
+ "optional": true,
+ "requires": {
+ "is-utf8": "^0.2.0"
+ }
+ }
+ }
},
- "osenv": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
- "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
+ "pkg-dir": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz",
+ "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=",
+ "dev": true,
"requires": {
- "os-homedir": "^1.0.0",
- "os-tmpdir": "^1.0.0"
+ "find-up": "^2.1.0"
+ },
+ "dependencies": {
+ "find-up": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
+ "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
+ "dev": true,
+ "requires": {
+ "locate-path": "^2.0.0"
+ }
+ }
}
},
- "p-cancelable": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
- "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw=="
+ "pluralize": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz",
+ "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow=="
},
- "p-finally": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
- "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4="
+ "popper.js": {
+ "version": "1.14.3",
+ "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.14.3.tgz",
+ "integrity": "sha1-FDj5jQRqz3tNeM1QK/QYrGTU8JU="
},
- "p-limit": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
- "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
+ "posix-character-classes": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",
+ "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=",
+ "dev": true
+ },
+ "pouchdb": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/pouchdb/-/pouchdb-7.1.1.tgz",
+ "integrity": "sha512-8bXWclixNJZqokvxGHRsG19zehSJiaZaz4dVYlhXhhUctz7gMcNTElHjPBzBdZlKKvt9aFDndmXN1VVE53Co8g==",
+ "optional": true,
"requires": {
- "p-try": "^1.0.0"
+ "argsarray": "0.0.1",
+ "buffer-from": "1.1.0",
+ "clone-buffer": "1.0.0",
+ "double-ended-queue": "2.1.0-0",
+ "fetch-cookie": "0.7.0",
+ "immediate": "3.0.6",
+ "inherits": "2.0.3",
+ "level": "5.0.1",
+ "level-codec": "9.0.1",
+ "level-write-stream": "1.0.0",
+ "leveldown": "5.0.2",
+ "levelup": "4.0.2",
+ "ltgt": "2.2.1",
+ "node-fetch": "2.4.1",
+ "readable-stream": "1.0.33",
+ "spark-md5": "3.0.0",
+ "through2": "3.0.1",
+ "uuid": "3.2.1",
+ "vuvuzela": "1.0.3"
+ },
+ "dependencies": {
+ "abstract-leveldown": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.0.3.tgz",
+ "integrity": "sha512-jzewKKpZbaYUa6HTThnrl+GrJhzjEAeuc7hTVpZdzg7kupXZFoqQDFwyOwLNbmJKJlmzw8yiipMPkDiuKkT06Q==",
+ "optional": true,
+ "requires": {
+ "level-concat-iterator": "~2.0.0",
+ "xtend": "~4.0.0"
+ }
+ },
+ "buffer-from": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.0.tgz",
+ "integrity": "sha512-c5mRlguI/Pe2dSZmpER62rSCu0ryKmWddzRYsuXc50U2/g8jMOulc31VZMa4mYx31U5xsmSOpDCgH88Vl9cDGQ==",
+ "optional": true
+ },
+ "deferred-leveldown": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-5.0.1.tgz",
+ "integrity": "sha512-BXohsvTedWOLkj2n/TY+yqVlrCWa2Zs8LSxh3uCAgFOru7/pjxKyZAexGa1j83BaKloER4PqUyQ9rGPJLt9bqA==",
+ "optional": true,
+ "requires": {
+ "abstract-leveldown": "~6.0.0",
+ "inherits": "^2.0.3"
+ }
+ },
+ "immediate": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
+ "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=",
+ "optional": true
+ },
+ "isarray": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
+ "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
+ "optional": true
+ },
+ "level-codec": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/level-codec/-/level-codec-9.0.1.tgz",
+ "integrity": "sha512-ajFP0kJ+nyq4i6kptSM+mAvJKLOg1X5FiFPtLG9M5gCEZyBmgDi3FkDrvlMkEzrUn1cWxtvVmrvoS4ASyO/q+Q==",
+ "optional": true
+ },
+ "level-errors": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-2.0.1.tgz",
+ "integrity": "sha512-UVprBJXite4gPS+3VznfgDSU8PTRuVX0NXwoWW50KLxd2yw4Y1t2JUR5In1itQnudZqRMT9DlAM3Q//9NCjCFw==",
+ "optional": true,
+ "requires": {
+ "errno": "~0.1.1"
+ }
+ },
+ "level-iterator-stream": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-4.0.2.tgz",
+ "integrity": "sha512-ZSthfEqzGSOMWoUGhTXdX9jv26d32XJuHz/5YnuHZzH6wldfWMOVwI9TBtKcya4BKTyTt3XVA0A3cF3q5CY30Q==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.4.0",
+ "xtend": "^4.0.2"
+ },
+ "dependencies": {
+ "inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ }
+ }
+ },
+ "levelup": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/levelup/-/levelup-4.0.2.tgz",
+ "integrity": "sha512-cx9PmLENwbGA3svWBEbeO2HazpOSOYSXH4VA+ahVpYyurvD+SDSfURl29VBY2qgyk+Vfy2dJd71SBRckj/EZVA==",
+ "optional": true,
+ "requires": {
+ "deferred-leveldown": "~5.0.0",
+ "level-errors": "~2.0.0",
+ "level-iterator-stream": "~4.0.0",
+ "xtend": "~4.0.0"
+ }
+ },
+ "node-fetch": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.4.1.tgz",
+ "integrity": "sha512-P9UbpFK87NyqBZzUuDBDz4f6Yiys8xm8j7ACDbi6usvFm6KItklQUKjeoqTrYS/S1k6I8oaOC2YLLDr/gg26Mw==",
+ "optional": true
+ },
+ "readable-stream": {
+ "version": "1.0.33",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.33.tgz",
+ "integrity": "sha1-OjYN1mwbHX/UcFOJhg7aHQ9hEmw=",
+ "optional": true,
+ "requires": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "0.0.1",
+ "string_decoder": "~0.10.x"
+ },
+ "dependencies": {
+ "string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
+ "optional": true
+ }
+ }
+ },
+ "through2": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.1.tgz",
+ "integrity": "sha512-M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww==",
+ "optional": true,
+ "requires": {
+ "readable-stream": "2 || 3"
+ },
+ "dependencies": {
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ }
+ }
+ },
+ "uuid": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz",
+ "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==",
+ "optional": true
+ }
}
},
- "p-locate": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz",
- "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
+ "pouchdb-abstract-mapreduce": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-abstract-mapreduce/-/pouchdb-abstract-mapreduce-7.2.2.tgz",
+ "integrity": "sha512-7HWN/2yV2JkwMnGnlp84lGvFtnm0Q55NiBUdbBcaT810+clCGKvhssBCrXnmwShD1SXTwT83aszsgiSfW+SnBA==",
+ "optional": true,
"requires": {
- "p-limit": "^1.1.0"
+ "pouchdb-binary-utils": "7.2.2",
+ "pouchdb-collate": "7.2.2",
+ "pouchdb-collections": "7.2.2",
+ "pouchdb-errors": "7.2.2",
+ "pouchdb-fetch": "7.2.2",
+ "pouchdb-mapreduce-utils": "7.2.2",
+ "pouchdb-md5": "7.2.2",
+ "pouchdb-utils": "7.2.2"
}
},
- "p-try": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",
- "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M="
+ "pouchdb-adapter-leveldb-core": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-adapter-leveldb-core/-/pouchdb-adapter-leveldb-core-7.2.2.tgz",
+ "integrity": "sha512-K9UGf1Ivwe87mjrMqN+1D07tO/DfU7ariVDrGffuOjvl+3BcvUF25IWrxsBObd4iPOYCH7NVQWRpojhBgxULtQ==",
+ "optional": true,
+ "requires": {
+ "argsarray": "0.0.1",
+ "buffer-from": "1.1.1",
+ "double-ended-queue": "2.1.0-0",
+ "levelup": "4.4.0",
+ "pouchdb-adapter-utils": "7.2.2",
+ "pouchdb-binary-utils": "7.2.2",
+ "pouchdb-collections": "7.2.2",
+ "pouchdb-errors": "7.2.2",
+ "pouchdb-json": "7.2.2",
+ "pouchdb-md5": "7.2.2",
+ "pouchdb-merge": "7.2.2",
+ "pouchdb-utils": "7.2.2",
+ "sublevel-pouchdb": "7.2.2",
+ "through2": "3.0.2"
+ },
+ "dependencies": {
+ "abstract-leveldown": {
+ "version": "6.2.3",
+ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.2.3.tgz",
+ "integrity": "sha512-BsLm5vFMRUrrLeCcRc+G0t2qOaTzpoJQLOubq2XM72eNpjF5UdU5o/5NvlNhx95XHcAvcl8OMXr4mlg/fRgUXQ==",
+ "optional": true,
+ "requires": {
+ "buffer": "^5.5.0",
+ "immediate": "^3.2.3",
+ "level-concat-iterator": "~2.0.0",
+ "level-supports": "~1.0.0",
+ "xtend": "~4.0.0"
+ }
+ },
+ "deferred-leveldown": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-5.3.0.tgz",
+ "integrity": "sha512-a59VOT+oDy7vtAbLRCZwWgxu2BaCfd5Hk7wxJd48ei7I+nsg8Orlb9CLG0PMZienk9BSUKgeAqkO2+Lw+1+Ukw==",
+ "optional": true,
+ "requires": {
+ "abstract-leveldown": "~6.2.1",
+ "inherits": "^2.0.3"
+ }
+ },
+ "inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "level-errors": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-2.0.1.tgz",
+ "integrity": "sha512-UVprBJXite4gPS+3VznfgDSU8PTRuVX0NXwoWW50KLxd2yw4Y1t2JUR5In1itQnudZqRMT9DlAM3Q//9NCjCFw==",
+ "optional": true,
+ "requires": {
+ "errno": "~0.1.1"
+ }
+ },
+ "level-iterator-stream": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-4.0.2.tgz",
+ "integrity": "sha512-ZSthfEqzGSOMWoUGhTXdX9jv26d32XJuHz/5YnuHZzH6wldfWMOVwI9TBtKcya4BKTyTt3XVA0A3cF3q5CY30Q==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.4.0",
+ "xtend": "^4.0.2"
+ }
+ },
+ "levelup": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/levelup/-/levelup-4.4.0.tgz",
+ "integrity": "sha512-94++VFO3qN95cM/d6eBXvd894oJE0w3cInq9USsyQzzoJxmiYzPAocNcuGCPGGjoXqDVJcr3C1jzt1TSjyaiLQ==",
+ "optional": true,
+ "requires": {
+ "deferred-leveldown": "~5.3.0",
+ "level-errors": "~2.0.0",
+ "level-iterator-stream": "~4.0.0",
+ "level-supports": "~1.0.0",
+ "xtend": "~4.0.0"
+ }
+ },
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ },
+ "through2": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz",
+ "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.4",
+ "readable-stream": "2 || 3"
+ }
+ }
+ }
},
- "package-json": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz",
- "integrity": "sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0=",
- "dev": true,
+ "pouchdb-adapter-memory": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-adapter-memory/-/pouchdb-adapter-memory-7.2.2.tgz",
+ "integrity": "sha512-9o+zdItPEq7rIrxdkUxgsLNaZkDJAGEqqoYgeYdrHidOCZnlhxhX3g7/R/HcpDKC513iEPqJWDJQSfeT6nVKkw==",
+ "optional": true,
"requires": {
- "got": "^6.7.1",
- "registry-auth-token": "^3.0.1",
- "registry-url": "^3.0.3",
- "semver": "^5.1.0"
+ "memdown": "1.4.1",
+ "pouchdb-adapter-leveldb-core": "7.2.2",
+ "pouchdb-utils": "7.2.2"
}
},
- "pacote": {
- "version": "9.5.4",
- "resolved": "https://registry.npmjs.org/pacote/-/pacote-9.5.4.tgz",
- "integrity": "sha512-nWr0ari6E+apbdoN0hToTKZElO5h4y8DGFa2pyNA5GQIdcP0imC96bA0bbPw1gpeguVIiUgHHaAlq/6xfPp8Qw==",
+ "pouchdb-adapter-node-websql": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-adapter-node-websql/-/pouchdb-adapter-node-websql-7.0.0.tgz",
+ "integrity": "sha512-fNaOMO8bvMrRTSfmH4RSLSpgnKahRcCA7Z0jg732PwRbGvvMdGbreZwvKPPD1fg2tm2ZwwiXWK2G3+oXyoqZYw==",
+ "optional": true,
"requires": {
- "bluebird": "^3.5.3",
- "cacache": "^12.0.0",
- "figgy-pudding": "^3.5.1",
- "get-stream": "^4.1.0",
- "glob": "^7.1.3",
- "lru-cache": "^5.1.1",
- "make-fetch-happen": "^5.0.0",
- "minimatch": "^3.0.4",
- "minipass": "^2.3.5",
- "mississippi": "^3.0.0",
- "mkdirp": "^0.5.1",
- "normalize-package-data": "^2.4.0",
- "npm-package-arg": "^6.1.0",
- "npm-packlist": "^1.1.12",
- "npm-pick-manifest": "^2.2.3",
- "npm-registry-fetch": "^4.0.0",
- "osenv": "^0.1.5",
- "promise-inflight": "^1.0.1",
- "promise-retry": "^1.1.1",
- "protoduck": "^5.0.1",
- "rimraf": "^2.6.2",
- "safe-buffer": "^5.1.2",
- "semver": "^5.6.0",
- "ssri": "^6.0.1",
- "tar": "^4.4.8",
- "unique-filename": "^1.1.1",
- "which": "^1.3.1"
+ "pouchdb-adapter-websql-core": "7.0.0",
+ "pouchdb-utils": "7.0.0",
+ "websql": "1.0.0"
},
"dependencies": {
- "get-stream": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
- "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
+ "buffer-from": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.0.tgz",
+ "integrity": "sha512-c5mRlguI/Pe2dSZmpER62rSCu0ryKmWddzRYsuXc50U2/g8jMOulc31VZMa4mYx31U5xsmSOpDCgH88Vl9cDGQ==",
+ "optional": true
+ },
+ "immediate": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
+ "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=",
+ "optional": true
+ },
+ "pouchdb-binary-utils": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-binary-utils/-/pouchdb-binary-utils-7.0.0.tgz",
+ "integrity": "sha512-yUktdOPIPvOVouCjJN3uop+bCcpdPwePrLm9eUAZNgEYnUFu0njdx7Q0WRsZ7UJ6l75HinL5ZHk4bnvEt86FLw==",
+ "optional": true,
"requires": {
- "pump": "^3.0.0"
+ "buffer-from": "1.1.0"
}
},
- "glob": {
- "version": "7.1.4",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
- "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
+ "pouchdb-collections": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-collections/-/pouchdb-collections-7.0.0.tgz",
+ "integrity": "sha512-DaoUr/vU24Q3gM6ghj0va9j/oBanPwkbhkvnqSyC3Dm5dgf5pculNxueLF9PKMo3ycApoWzHMh6N2N8KJbDU2Q==",
+ "optional": true
+ },
+ "pouchdb-errors": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-errors/-/pouchdb-errors-7.0.0.tgz",
+ "integrity": "sha512-dTusY8nnTw4HIztCrNl7AoGgwvS1bVf/3/97hDaGc4ytn72V9/4dK8kTqlimi3UpaurohYRnqac0SGXYP8vgXA==",
+ "optional": true,
"requires": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
+ "inherits": "2.0.3"
}
},
- "lru-cache": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
- "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "pouchdb-md5": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-md5/-/pouchdb-md5-7.0.0.tgz",
+ "integrity": "sha512-yaSJKhLA3QlgloKUQeb2hLdT3KmUmPfoYdryfwHZuPTpXIRKTnMQTR9qCIRUszc0ruBpDe53DRslCgNUhAyTNQ==",
+ "optional": true,
"requires": {
- "yallist": "^3.0.2"
+ "pouchdb-binary-utils": "7.0.0",
+ "spark-md5": "3.0.0"
}
},
- "pump": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
- "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "pouchdb-utils": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-utils/-/pouchdb-utils-7.0.0.tgz",
+ "integrity": "sha512-1bnoX1KdZYHv9wicDIFdO0PLiVIMzNDUBUZ/yOJZ+6LW6niQCB8aCv09ZztmKfSQcU5nnN3fe656tScBgP6dOQ==",
+ "optional": true,
"requires": {
- "end-of-stream": "^1.1.0",
- "once": "^1.3.1"
+ "argsarray": "0.0.1",
+ "clone-buffer": "1.0.0",
+ "immediate": "3.0.6",
+ "inherits": "2.0.3",
+ "pouchdb-collections": "7.0.0",
+ "pouchdb-errors": "7.0.0",
+ "pouchdb-md5": "7.0.0",
+ "uuid": "3.2.1"
}
},
- "yallist": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",
- "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A=="
+ "uuid": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz",
+ "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==",
+ "optional": true
}
}
},
- "parallel-transform": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.1.0.tgz",
- "integrity": "sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY=",
+ "pouchdb-adapter-utils": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-adapter-utils/-/pouchdb-adapter-utils-7.2.2.tgz",
+ "integrity": "sha512-2CzZkTyTyHZkr3ePiWFMTiD5+56lnembMjaTl8ohwegM0+hYhRyJux0biAZafVxgIL4gnCUC4w2xf6WVztzKdg==",
+ "optional": true,
"requires": {
- "cyclist": "~0.2.2",
- "inherits": "^2.0.3",
- "readable-stream": "^2.1.5"
+ "pouchdb-binary-utils": "7.2.2",
+ "pouchdb-collections": "7.2.2",
+ "pouchdb-errors": "7.2.2",
+ "pouchdb-md5": "7.2.2",
+ "pouchdb-merge": "7.2.2",
+ "pouchdb-utils": "7.2.2"
}
},
- "parent-module": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
- "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
- "dev": true,
+ "pouchdb-adapter-websql-core": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-adapter-websql-core/-/pouchdb-adapter-websql-core-7.0.0.tgz",
+ "integrity": "sha512-NyMaH0bl20SdJdOCzd+fwXo8JZ15a48/MAwMcIbXzsRHE4DjFNlRcWAcjUP6uN4Ezc+Gx+r2tkBBMf71mIz1Aw==",
+ "optional": true,
"requires": {
- "callsites": "^3.0.0"
+ "pouchdb-adapter-utils": "7.0.0",
+ "pouchdb-binary-utils": "7.0.0",
+ "pouchdb-collections": "7.0.0",
+ "pouchdb-errors": "7.0.0",
+ "pouchdb-json": "7.0.0",
+ "pouchdb-merge": "7.0.0",
+ "pouchdb-utils": "7.0.0"
+ },
+ "dependencies": {
+ "buffer-from": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.0.tgz",
+ "integrity": "sha512-c5mRlguI/Pe2dSZmpER62rSCu0ryKmWddzRYsuXc50U2/g8jMOulc31VZMa4mYx31U5xsmSOpDCgH88Vl9cDGQ==",
+ "optional": true
+ },
+ "immediate": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
+ "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=",
+ "optional": true
+ },
+ "pouchdb-adapter-utils": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-adapter-utils/-/pouchdb-adapter-utils-7.0.0.tgz",
+ "integrity": "sha512-UWKPC6jkz6mHUzZefrU7P5X8ZGvBC8LSNZ7BIp0hWvJE6c20cnpDwedTVDpZORcCbVJpDmFOHBYnOqEIblPtbA==",
+ "optional": true,
+ "requires": {
+ "pouchdb-binary-utils": "7.0.0",
+ "pouchdb-collections": "7.0.0",
+ "pouchdb-errors": "7.0.0",
+ "pouchdb-md5": "7.0.0",
+ "pouchdb-merge": "7.0.0",
+ "pouchdb-utils": "7.0.0"
+ }
+ },
+ "pouchdb-binary-utils": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-binary-utils/-/pouchdb-binary-utils-7.0.0.tgz",
+ "integrity": "sha512-yUktdOPIPvOVouCjJN3uop+bCcpdPwePrLm9eUAZNgEYnUFu0njdx7Q0WRsZ7UJ6l75HinL5ZHk4bnvEt86FLw==",
+ "optional": true,
+ "requires": {
+ "buffer-from": "1.1.0"
+ }
+ },
+ "pouchdb-collections": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-collections/-/pouchdb-collections-7.0.0.tgz",
+ "integrity": "sha512-DaoUr/vU24Q3gM6ghj0va9j/oBanPwkbhkvnqSyC3Dm5dgf5pculNxueLF9PKMo3ycApoWzHMh6N2N8KJbDU2Q==",
+ "optional": true
+ },
+ "pouchdb-errors": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-errors/-/pouchdb-errors-7.0.0.tgz",
+ "integrity": "sha512-dTusY8nnTw4HIztCrNl7AoGgwvS1bVf/3/97hDaGc4ytn72V9/4dK8kTqlimi3UpaurohYRnqac0SGXYP8vgXA==",
+ "optional": true,
+ "requires": {
+ "inherits": "2.0.3"
+ }
+ },
+ "pouchdb-json": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-json/-/pouchdb-json-7.0.0.tgz",
+ "integrity": "sha512-w0bNRu/7VmmCrFWMYAm62n30wvJJUT2SokyzeTyj3hRohj4GFwTRg1mSZ+iAmxgRKOFE8nzZstLG/WAB4Ymjew==",
+ "optional": true,
+ "requires": {
+ "vuvuzela": "1.0.3"
+ }
+ },
+ "pouchdb-md5": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-md5/-/pouchdb-md5-7.0.0.tgz",
+ "integrity": "sha512-yaSJKhLA3QlgloKUQeb2hLdT3KmUmPfoYdryfwHZuPTpXIRKTnMQTR9qCIRUszc0ruBpDe53DRslCgNUhAyTNQ==",
+ "optional": true,
+ "requires": {
+ "pouchdb-binary-utils": "7.0.0",
+ "spark-md5": "3.0.0"
+ }
+ },
+ "pouchdb-merge": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-merge/-/pouchdb-merge-7.0.0.tgz",
+ "integrity": "sha512-tci5u6NpznQhGcPv4ho1h0miky9rs+ds/T9zQ9meQeDZbUojXNaX1Jxsb0uYEQQ+HMqdcQs3Akdl0/u0mgwPGg==",
+ "optional": true
+ },
+ "pouchdb-utils": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/pouchdb-utils/-/pouchdb-utils-7.0.0.tgz",
+ "integrity": "sha512-1bnoX1KdZYHv9wicDIFdO0PLiVIMzNDUBUZ/yOJZ+6LW6niQCB8aCv09ZztmKfSQcU5nnN3fe656tScBgP6dOQ==",
+ "optional": true,
+ "requires": {
+ "argsarray": "0.0.1",
+ "clone-buffer": "1.0.0",
+ "immediate": "3.0.6",
+ "inherits": "2.0.3",
+ "pouchdb-collections": "7.0.0",
+ "pouchdb-errors": "7.0.0",
+ "pouchdb-md5": "7.0.0",
+ "uuid": "3.2.1"
+ }
+ },
+ "uuid": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz",
+ "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==",
+ "optional": true
+ }
}
},
- "parse-cache-control": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz",
- "integrity": "sha1-juqz5U+laSD+Fro493+iGqzC104=",
- "dev": true
+ "pouchdb-binary-utils": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-binary-utils/-/pouchdb-binary-utils-7.2.2.tgz",
+ "integrity": "sha512-shacxlmyHbUrNfE6FGYpfyAJx7Q0m91lDdEAaPoKZM3SzAmbtB1i+OaDNtYFztXjJl16yeudkDb3xOeokVL3Qw==",
+ "optional": true,
+ "requires": {
+ "buffer-from": "1.1.1"
+ }
},
- "parse-code-context": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/parse-code-context/-/parse-code-context-1.0.0.tgz",
- "integrity": "sha512-OZQaqKaQnR21iqhlnPfVisFjBWjhnMl5J9MgbP8xC+EwoVqbXrq78lp+9Zb3ahmLzrIX5Us/qbvBnaS3hkH6OA==",
- "dev": true
+ "pouchdb-collate": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-collate/-/pouchdb-collate-7.2.2.tgz",
+ "integrity": "sha512-/SMY9GGasslknivWlCVwXMRMnQ8myKHs4WryQ5535nq1Wj/ehpqWloMwxEQGvZE1Sda3LOm7/5HwLTcB8Our+w==",
+ "optional": true
},
- "parse-headers": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.2.tgz",
- "integrity": "sha512-/LypJhzFmyBIDYP9aDVgeyEb5sQfbfY5mnDq4hVhlQ69js87wXfmEI5V3xI6vvXasqebp0oCytYFLxsBVfCzSg==",
+ "pouchdb-collections": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-collections/-/pouchdb-collections-7.2.2.tgz",
+ "integrity": "sha512-6O9zyAYlp3UdtfneiMYuOCWdUCQNo2bgdjvNsMSacQX+3g8WvIoFQCYJjZZCpTttQGb+MHeRMr8m2U95lhJTew==",
+ "optional": true
+ },
+ "pouchdb-debug": {
+ "version": "7.2.1",
+ "resolved": "https://registry.npmjs.org/pouchdb-debug/-/pouchdb-debug-7.2.1.tgz",
+ "integrity": "sha512-eP3ht/AKavLF2RjTzBM6S9gaI2/apcW6xvaKRQhEdOfiANqerFuksFqHCal3aikVQuDO+cB/cw+a4RyJn/glBw==",
+ "optional": true,
"requires": {
- "for-each": "^0.3.3",
- "string.prototype.trim": "^1.1.2"
+ "debug": "3.1.0"
}
},
- "parse-json": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
- "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
- "dev": true,
+ "pouchdb-errors": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-errors/-/pouchdb-errors-7.2.2.tgz",
+ "integrity": "sha512-6GQsiWc+7uPfgEHeavG+7wuzH3JZW29Dnrvz8eVbDFE50kVFxNDVm3EkYHskvo5isG7/IkOx7PV7RPTA3keG3g==",
+ "optional": true,
"requires": {
- "error-ex": "^1.2.0"
+ "inherits": "2.0.4"
+ },
+ "dependencies": {
+ "inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ }
}
},
- "pascalcase": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",
- "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=",
- "dev": true
- },
- "path-dirname": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz",
- "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=",
- "dev": true
- },
- "path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
- },
- "path-is-absolute": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
- "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
- },
- "path-is-inside": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz",
- "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM="
- },
- "path-key": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
- "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A="
- },
- "path-parse": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
- "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
- },
- "path-type": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz",
- "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=",
- "dev": true,
+ "pouchdb-fetch": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-fetch/-/pouchdb-fetch-7.2.2.tgz",
+ "integrity": "sha512-lUHmaG6U3zjdMkh8Vob9GvEiRGwJfXKE02aZfjiVQgew+9SLkuOxNw3y2q4d1B6mBd273y1k2Lm0IAziRNxQnA==",
+ "optional": true,
"requires": {
- "pify": "^2.0.0"
+ "abort-controller": "3.0.0",
+ "fetch-cookie": "0.10.1",
+ "node-fetch": "2.6.0"
+ },
+ "dependencies": {
+ "fetch-cookie": {
+ "version": "0.10.1",
+ "resolved": "https://registry.npmjs.org/fetch-cookie/-/fetch-cookie-0.10.1.tgz",
+ "integrity": "sha512-beB+VEd4cNeVG1PY+ee74+PkuCQnik78pgLi5Ah/7qdUfov8IctU0vLUbBT8/10Ma5GMBeI4wtxhGrEfKNYs2g==",
+ "optional": true,
+ "requires": {
+ "tough-cookie": "^2.3.3 || ^3.0.1 || ^4.0.0"
+ }
+ },
+ "node-fetch": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
+ "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==",
+ "optional": true
+ }
}
},
- "pathval": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.0.tgz",
- "integrity": "sha1-uULm1L3mUwBe9rcTYd74cn0GReA="
- },
- "pbkdf2": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz",
- "integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==",
+ "pouchdb-find": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-find/-/pouchdb-find-7.2.2.tgz",
+ "integrity": "sha512-BmFeFVQ0kHmDehvJxNZl9OmIztCjPlZlVSdpijuFbk/Fi1EFPU1BAv3kLC+6DhZuOqU/BCoaUBY9sn66pPY2ag==",
+ "optional": true,
"requires": {
- "create-hash": "^1.1.2",
- "create-hmac": "^1.1.4",
- "ripemd160": "^2.0.1",
- "safe-buffer": "^5.0.1",
- "sha.js": "^2.4.8"
+ "pouchdb-abstract-mapreduce": "7.2.2",
+ "pouchdb-collate": "7.2.2",
+ "pouchdb-errors": "7.2.2",
+ "pouchdb-fetch": "7.2.2",
+ "pouchdb-md5": "7.2.2",
+ "pouchdb-selector-core": "7.2.2",
+ "pouchdb-utils": "7.2.2"
}
},
- "performance-now": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
- "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
- },
- "picomatch": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz",
- "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg=="
+ "pouchdb-json": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-json/-/pouchdb-json-7.2.2.tgz",
+ "integrity": "sha512-3b2S2ynN+aoB7aCNyDZc/4c0IAdx/ir3nsHB+/RrKE9cM3QkQYbnnE3r/RvOD1Xvr6ji/KOCBie+Pz/6sxoaug==",
+ "optional": true,
+ "requires": {
+ "vuvuzela": "1.0.3"
+ }
},
- "pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw="
+ "pouchdb-mapreduce-utils": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-mapreduce-utils/-/pouchdb-mapreduce-utils-7.2.2.tgz",
+ "integrity": "sha512-rAllb73hIkU8rU2LJNbzlcj91KuulpwQu804/F6xF3fhZKC/4JQMClahk+N/+VATkpmLxp1zWmvmgdlwVU4HtQ==",
+ "optional": true,
+ "requires": {
+ "argsarray": "0.0.1",
+ "inherits": "2.0.4",
+ "pouchdb-collections": "7.2.2",
+ "pouchdb-utils": "7.2.2"
+ },
+ "dependencies": {
+ "inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ }
+ }
},
- "pkg-dir": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz",
- "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=",
- "dev": true,
+ "pouchdb-md5": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-md5/-/pouchdb-md5-7.2.2.tgz",
+ "integrity": "sha512-c/RvLp2oSh8PLAWU5vFBnp6ejJABIdKqboZwRRUrWcfGDf+oyX8RgmJFlYlzMMOh4XQLUT1IoaDV8cwlsuryZw==",
+ "optional": true,
"requires": {
- "find-up": "^2.1.0"
+ "pouchdb-binary-utils": "7.2.2",
+ "spark-md5": "3.0.1"
},
"dependencies": {
- "find-up": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
- "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
- "dev": true,
- "requires": {
- "locate-path": "^2.0.0"
- }
+ "spark-md5": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/spark-md5/-/spark-md5-3.0.1.tgz",
+ "integrity": "sha512-0tF3AGSD1ppQeuffsLDIOWlKUd3lS92tFxcsrh5Pe3ZphhnoK+oXIBTzOAThZCiuINZLvpiLH/1VS1/ANEJVig==",
+ "optional": true
}
}
},
- "pluralize": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz",
- "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow=="
+ "pouchdb-merge": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-merge/-/pouchdb-merge-7.2.2.tgz",
+ "integrity": "sha512-6yzKJfjIchBaS7Tusuk8280WJdESzFfQ0sb4jeMUNnrqs4Cx3b0DIEOYTRRD9EJDM+je7D3AZZ4AT0tFw8gb4A==",
+ "optional": true
},
- "popper.js": {
- "version": "1.14.3",
- "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.14.3.tgz",
- "integrity": "sha1-FDj5jQRqz3tNeM1QK/QYrGTU8JU="
+ "pouchdb-selector-core": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-selector-core/-/pouchdb-selector-core-7.2.2.tgz",
+ "integrity": "sha512-XYKCNv9oiNmSXV5+CgR9pkEkTFqxQGWplnVhO3W9P154H08lU0ZoNH02+uf+NjZ2kjse7Q1fxV4r401LEcGMMg==",
+ "optional": true,
+ "requires": {
+ "pouchdb-collate": "7.2.2",
+ "pouchdb-utils": "7.2.2"
+ }
},
- "posix-character-classes": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",
- "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=",
- "dev": true
+ "pouchdb-utils": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/pouchdb-utils/-/pouchdb-utils-7.2.2.tgz",
+ "integrity": "sha512-XmeM5ioB4KCfyB2MGZXu1Bb2xkElNwF1qG+zVFbQsKQij0zvepdOUfGuWvLRHxTOmt4muIuSOmWZObZa3NOgzQ==",
+ "optional": true,
+ "requires": {
+ "argsarray": "0.0.1",
+ "clone-buffer": "1.0.0",
+ "immediate": "3.3.0",
+ "inherits": "2.0.4",
+ "pouchdb-collections": "7.2.2",
+ "pouchdb-errors": "7.2.2",
+ "pouchdb-md5": "7.2.2",
+ "uuid": "8.1.0"
+ },
+ "dependencies": {
+ "inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "uuid": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.1.0.tgz",
+ "integrity": "sha512-CI18flHDznR0lq54xBycOVmphdCYnQLKn8abKn7PXUiKUGdEd+/l9LWNJmugXel4hXq7S+RMNl34ecyC9TntWg==",
+ "optional": true
+ }
+ }
},
"prebuild-install": {
"version": "5.3.5",
@@ -22894,8 +61190,13 @@
"prepend-http": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz",
- "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=",
- "dev": true
+ "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw="
+ },
+ "preserve": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz",
+ "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=",
+ "optional": true
},
"prettier": {
"version": "1.18.2",
@@ -23038,6 +61339,18 @@
"set-immediate-shim": "^1.0.1"
}
},
+ "promise.allsettled": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/promise.allsettled/-/promise.allsettled-1.0.2.tgz",
+ "integrity": "sha512-UpcYW5S1RaNKT6pd+s9jp9K9rlQge1UXKskec0j6Mmuq7UJCvlS2J2/s/yuPN8ehftf9HXMxWlKiPbGGUzpoRg==",
+ "requires": {
+ "array.prototype.map": "^1.0.1",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.0-next.1",
+ "function-bind": "^1.1.1",
+ "iterate-value": "^1.0.0"
+ }
+ },
"prompts": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/prompts/-/prompts-2.1.0.tgz",
@@ -23047,6 +61360,52 @@
"sisteransi": "^1.0.0"
}
},
+ "prop-types": {
+ "version": "15.7.2",
+ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz",
+ "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==",
+ "optional": true,
+ "requires": {
+ "loose-envify": "^1.4.0",
+ "object-assign": "^4.1.1",
+ "react-is": "^16.8.1"
+ }
+ },
+ "protobufjs": {
+ "version": "6.10.2",
+ "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.2.tgz",
+ "integrity": "sha512-27yj+04uF6ya9l+qfpH187aqEzfCF4+Uit0I9ZBQVqK09hk/SQzKa2MUqUpXaVa7LOFRg1TSSr3lVxGOk6c0SQ==",
+ "optional": true,
+ "requires": {
+ "@protobufjs/aspromise": "^1.1.2",
+ "@protobufjs/base64": "^1.1.2",
+ "@protobufjs/codegen": "^2.0.4",
+ "@protobufjs/eventemitter": "^1.1.0",
+ "@protobufjs/fetch": "^1.1.0",
+ "@protobufjs/float": "^1.0.2",
+ "@protobufjs/inquire": "^1.1.0",
+ "@protobufjs/path": "^1.1.2",
+ "@protobufjs/pool": "^1.1.0",
+ "@protobufjs/utf8": "^1.1.0",
+ "@types/long": "^4.0.1",
+ "@types/node": "^13.7.0",
+ "long": "^4.0.0"
+ },
+ "dependencies": {
+ "@types/node": {
+ "version": "13.13.50",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.50.tgz",
+ "integrity": "sha512-y7kkh+hX/0jZNxMyBR/6asG0QMSaPSzgeVK63dhWHl4QAXCQB8lExXmzLL6SzmOgKHydtawpMnNhlDbv7DXPEA==",
+ "optional": true
+ }
+ }
+ },
+ "protocol-buffers-schema": {
+ "version": "3.5.1",
+ "resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.5.1.tgz",
+ "integrity": "sha512-YVCvdhxWNDP8/nJDyXLuM+UFsuPk4+1PB7WGPVDzm3HTHbzFLxQYeW2iZpS4mmnXrQJGBzt230t/BbEb7PrQaw==",
+ "optional": true
+ },
"protoduck": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/protoduck/-/protoduck-5.0.1.tgz",
@@ -23055,6 +61414,35 @@
"genfun": "^5.0.0"
}
},
+ "protons": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/protons/-/protons-2.0.1.tgz",
+ "integrity": "sha512-FlmPorLEeCEDPu+uIn0Qardgiy5XqVA4IyNTz9wb9c0e2U7BEXdRcIbx64r09o4Abtf+4B7mkTtMbsIXMxZzKw==",
+ "optional": true,
+ "requires": {
+ "protocol-buffers-schema": "^3.3.1",
+ "signed-varint": "^2.0.1",
+ "uint8arrays": "^2.1.3",
+ "varint": "^5.0.0"
+ },
+ "dependencies": {
+ "varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
+ }
+ }
+ },
+ "proxy-addr": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz",
+ "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==",
+ "requires": {
+ "forwarded": "~0.1.2",
+ "ipaddr.js": "1.9.1"
+ }
+ },
"prr": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz",
@@ -23076,6 +61464,19 @@
"integrity": "sha512-NdF35+QsqD7EgNEI5mkI/X+UwaxVEbQaz9f4IooEmMUv6ZPmlTQYGjBPJGgrlzNdjSvIy4MWMg6Q6vCgBO2K+w==",
"dev": true
},
+ "public-encrypt": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz",
+ "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==",
+ "requires": {
+ "bn.js": "^4.1.0",
+ "browserify-rsa": "^4.0.0",
+ "create-hash": "^1.1.0",
+ "parse-asn1": "^5.0.0",
+ "randombytes": "^2.0.1",
+ "safe-buffer": "^5.1.2"
+ }
+ },
"pump": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz",
@@ -23100,6 +61501,11 @@
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
},
+ "pure-rand": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-4.1.2.tgz",
+ "integrity": "sha512-uLzZpQWfroIqyFWmX/pl0OL2JHJdoU3dbh0dvZ25fChHFJJi56J5oQZhW6QgbT2Llwh1upki84LnTwlZvsungA=="
+ },
"qs": {
"version": "6.5.2",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
@@ -23115,6 +61521,42 @@
"strict-uri-encode": "^1.0.0"
}
},
+ "querystring": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.1.tgz",
+ "integrity": "sha512-wkvS7mL/JMugcup3/rMitHmd9ecIGd2lhFhK9N3UUQ450h66d1r3Y9nvXzQAW1Lq+wyx61k/1pfKS5KuKiyEbg=="
+ },
+ "querystringify": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
+ "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==",
+ "optional": true
+ },
+ "queue-microtask": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
+ "optional": true
+ },
+ "randomatic": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz",
+ "integrity": "sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==",
+ "optional": true,
+ "requires": {
+ "is-number": "^4.0.0",
+ "kind-of": "^6.0.0",
+ "math-random": "^1.0.1"
+ },
+ "dependencies": {
+ "is-number": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz",
+ "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==",
+ "optional": true
+ }
+ }
+ },
"randombytes": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",
@@ -23123,10 +61565,44 @@
"safe-buffer": "^5.1.0"
}
},
- "randomhex": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/randomhex/-/randomhex-0.1.5.tgz",
- "integrity": "sha1-us7vmCMpCRQA8qKRLGzQLxCU9YU="
+ "randomfill": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz",
+ "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==",
+ "requires": {
+ "randombytes": "^2.0.5",
+ "safe-buffer": "^5.1.0"
+ }
+ },
+ "range-parser": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="
+ },
+ "raw-body": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz",
+ "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==",
+ "requires": {
+ "bytes": "3.1.0",
+ "http-errors": "1.7.2",
+ "iconv-lite": "0.4.24",
+ "unpipe": "1.0.0"
+ },
+ "dependencies": {
+ "http-errors": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
+ "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
+ "requires": {
+ "depd": "~1.1.2",
+ "inherits": "2.0.3",
+ "setprototypeof": "1.1.1",
+ "statuses": ">= 1.5.0 < 2",
+ "toidentifier": "1.0.0"
+ }
+ }
+ }
},
"rc": {
"version": "1.2.8",
@@ -23193,6 +61669,12 @@
}
}
},
+ "react-is": {
+ "version": "16.13.1",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
+ "optional": true
+ },
"read-pkg": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz",
@@ -23250,6 +61732,23 @@
"readable-stream": "^2.0.2"
}
},
+ "receptacle": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/receptacle/-/receptacle-1.3.2.tgz",
+ "integrity": "sha512-HrsFvqZZheusncQRiEE7GatOAETrARKV/lnfYicIm8lbvp/JQOdADOfhjBd2DajvoszEyxSM6RlAAIZgEoeu/A==",
+ "optional": true,
+ "requires": {
+ "ms": "^2.1.1"
+ },
+ "dependencies": {
+ "ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "optional": true
+ }
+ }
+ },
"redeyed": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz",
@@ -23267,6 +61766,75 @@
}
}
},
+ "redux": {
+ "version": "3.7.2",
+ "resolved": "https://registry.npmjs.org/redux/-/redux-3.7.2.tgz",
+ "integrity": "sha512-pNqnf9q1hI5HHZRBkj3bAngGZW/JMCmexDlOxw4XagXY2o1327nHH54LoTjiPJ0gizoqPDRqWyX/00g0hD6w+A==",
+ "requires": {
+ "lodash": "^4.2.1",
+ "lodash-es": "^4.2.1",
+ "loose-envify": "^1.1.0",
+ "symbol-observable": "^1.0.3"
+ },
+ "dependencies": {
+ "symbol-observable": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
+ "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ=="
+ }
+ }
+ },
+ "redux-cli-logger": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/redux-cli-logger/-/redux-cli-logger-2.1.0.tgz",
+ "integrity": "sha512-75mVsggAJRSykWy2qxdGI7osocDWvc3RCMeN93hlvS/FxgdRww12NaXslez+W6gBOrSJKO7W16V0IzuISSfCxg==",
+ "requires": {
+ "colors": "^1.1.2"
+ }
+ },
+ "redux-devtools-core": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/redux-devtools-core/-/redux-devtools-core-0.2.1.tgz",
+ "integrity": "sha512-RAGOxtUFdr/1USAvxrWd+Gq/Euzgw7quCZlO5TgFpDfG7rB5tMhZUrNyBjpzgzL2yMk0eHnPYIGm7NkIfRzHxQ==",
+ "requires": {
+ "get-params": "^0.1.2",
+ "jsan": "^3.1.13",
+ "lodash": "^4.17.11",
+ "nanoid": "^2.0.0",
+ "remotedev-serialize": "^0.1.8"
+ },
+ "dependencies": {
+ "nanoid": {
+ "version": "2.1.11",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-2.1.11.tgz",
+ "integrity": "sha512-s/snB+WGm6uwi0WjsZdaVcuf3KJXlfGl2LcxgwkEwJF0D/BWzVWAZW/XY4bFaiR7s0Jk3FPvlnepg1H1b1UwlA=="
+ }
+ }
+ },
+ "redux-devtools-instrument": {
+ "version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/redux-devtools-instrument/-/redux-devtools-instrument-1.10.0.tgz",
+ "integrity": "sha512-X8JRBCzX2ADSMp+iiV7YQ8uoTNyEm0VPFPd4T854coz6lvRiBrFSqAr9YAS2n8Kzxx8CJQotR0QF9wsMM+3DvA==",
+ "requires": {
+ "lodash": "^4.17.19",
+ "symbol-observable": "^1.2.0"
+ },
+ "dependencies": {
+ "symbol-observable": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
+ "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ=="
+ }
+ }
+ },
+ "redux-saga": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/redux-saga/-/redux-saga-1.0.0.tgz",
+ "integrity": "sha512-GvJWs/SzMvEQgeaw6sRMXnS2FghlvEGsHiEtTLpJqc/FHF3I5EE/B+Hq5lyHZ8LSoT2r/X/46uWvkdCnK9WgHA==",
+ "requires": {
+ "@redux-saga/core": "^1.0.0"
+ }
+ },
"regenerate": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.1.tgz",
@@ -23287,6 +61855,15 @@
"private": "^0.1.6"
}
},
+ "regex-cache": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz",
+ "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==",
+ "optional": true,
+ "requires": {
+ "is-equal-shallow": "^0.1.3"
+ }
+ },
"regex-not": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",
@@ -23304,54 +61881,6 @@
"requires": {
"define-properties": "^1.1.3",
"es-abstract": "^1.17.0-next.1"
- },
- "dependencies": {
- "es-abstract": {
- "version": "1.17.6",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz",
- "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==",
- "requires": {
- "es-to-primitive": "^1.2.1",
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
- "has-symbols": "^1.0.1",
- "is-callable": "^1.2.0",
- "is-regex": "^1.1.0",
- "object-inspect": "^1.7.0",
- "object-keys": "^1.1.1",
- "object.assign": "^4.1.0",
- "string.prototype.trimend": "^1.0.1",
- "string.prototype.trimstart": "^1.0.1"
- }
- },
- "es-to-primitive": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
- "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
- "requires": {
- "is-callable": "^1.1.4",
- "is-date-object": "^1.0.1",
- "is-symbol": "^1.0.2"
- }
- },
- "has-symbols": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
- "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=="
- },
- "is-callable": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz",
- "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw=="
- },
- "is-regex": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.0.tgz",
- "integrity": "sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw==",
- "requires": {
- "has-symbols": "^1.0.1"
- }
- }
}
},
"regexpp": {
@@ -23401,23 +61930,236 @@
"jsesc": "~0.5.0"
}
},
+ "relay-compiler": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/relay-compiler/-/relay-compiler-10.1.0.tgz",
+ "integrity": "sha512-HPqc3N3tNgEgUH5+lTr5lnLbgnsZMt+MRiyS0uAVNhuPY2It0X1ZJG+9qdA3L9IqKFUNwVn6zTO7RArjMZbARQ==",
+ "optional": true,
+ "requires": {
+ "@babel/core": "^7.0.0",
+ "@babel/generator": "^7.5.0",
+ "@babel/parser": "^7.0.0",
+ "@babel/runtime": "^7.0.0",
+ "@babel/traverse": "^7.0.0",
+ "@babel/types": "^7.0.0",
+ "babel-preset-fbjs": "^3.3.0",
+ "chalk": "^4.0.0",
+ "fb-watchman": "^2.0.0",
+ "fbjs": "^3.0.0",
+ "glob": "^7.1.1",
+ "immutable": "~3.7.6",
+ "nullthrows": "^1.1.1",
+ "relay-runtime": "10.1.0",
+ "signedsource": "^1.0.0",
+ "yargs": "^15.3.1"
+ },
+ "dependencies": {
+ "ansi-regex": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
+ "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
+ "optional": true
+ },
+ "ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "optional": true,
+ "requires": {
+ "color-convert": "^2.0.1"
+ }
+ },
+ "chalk": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
+ "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
+ "optional": true,
+ "requires": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ }
+ },
+ "cliui": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
+ "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
+ "optional": true,
+ "requires": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.0",
+ "wrap-ansi": "^6.2.0"
+ }
+ },
+ "color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "optional": true,
+ "requires": {
+ "color-name": "~1.1.4"
+ }
+ },
+ "color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "optional": true
+ },
+ "emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "optional": true
+ },
+ "get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
+ "optional": true
+ },
+ "has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "optional": true
+ },
+ "is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "optional": true
+ },
+ "require-main-filename": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
+ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
+ "optional": true
+ },
+ "string-width": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz",
+ "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==",
+ "optional": true,
+ "requires": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.0"
+ }
+ },
+ "strip-ansi": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
+ "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
+ "optional": true,
+ "requires": {
+ "ansi-regex": "^5.0.0"
+ }
+ },
+ "supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "optional": true,
+ "requires": {
+ "has-flag": "^4.0.0"
+ }
+ },
+ "wrap-ansi": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
+ "optional": true,
+ "requires": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ }
+ },
+ "y18n": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
+ "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
+ "optional": true
+ },
+ "yargs": {
+ "version": "15.4.1",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
+ "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
+ "optional": true,
+ "requires": {
+ "cliui": "^6.0.0",
+ "decamelize": "^1.2.0",
+ "find-up": "^4.1.0",
+ "get-caller-file": "^2.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^2.0.0",
+ "set-blocking": "^2.0.0",
+ "string-width": "^4.2.0",
+ "which-module": "^2.0.0",
+ "y18n": "^4.0.0",
+ "yargs-parser": "^18.1.2"
+ }
+ },
+ "yargs-parser": {
+ "version": "18.1.3",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
+ "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
+ "optional": true,
+ "requires": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ }
+ }
+ }
+ },
+ "relay-runtime": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/relay-runtime/-/relay-runtime-10.1.0.tgz",
+ "integrity": "sha512-bxznLnQ1ST6APN/cFi7l0FpjbZVchWQjjhj9mAuJBuUqNNCh9uV+UTRhpQF7Q8ycsPp19LHTpVyGhYb0ustuRQ==",
+ "optional": true,
+ "requires": {
+ "@babel/runtime": "^7.0.0",
+ "fbjs": "^3.0.0"
+ }
+ },
+ "remote-redux-devtools": {
+ "version": "0.5.16",
+ "resolved": "https://registry.npmjs.org/remote-redux-devtools/-/remote-redux-devtools-0.5.16.tgz",
+ "integrity": "sha512-xZ2D1VRIWzat5nsvcraT6fKEX9Cfi+HbQBCwzNnUAM8Uicm/anOc60XGalcaDPrVmLug7nhDl2nimEa3bL3K9w==",
+ "requires": {
+ "jsan": "^3.1.13",
+ "querystring": "^0.2.0",
+ "redux-devtools-core": "^0.2.1",
+ "redux-devtools-instrument": "^1.9.4",
+ "rn-host-detect": "^1.1.5",
+ "socketcluster-client": "^14.2.1"
+ }
+ },
+ "remotedev-serialize": {
+ "version": "0.1.9",
+ "resolved": "https://registry.npmjs.org/remotedev-serialize/-/remotedev-serialize-0.1.9.tgz",
+ "integrity": "sha512-5tFdZg9mSaAWTv6xmQ7HtHjKMLSFQFExEZOtJe10PLsv1wb7cy7kYHtBvTYRro27/3fRGEcQBRNKSaixOpb69w==",
+ "requires": {
+ "jsan": "^3.1.13"
+ }
+ },
"remove-trailing-separator": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
"integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=",
- "dev": true
+ "devOptional": true
},
"repeat-element": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz",
"integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==",
- "dev": true
+ "devOptional": true
},
"repeat-string": {
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
"integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=",
- "dev": true
+ "devOptional": true
},
"repeating": {
"version": "2.0.1",
@@ -23427,6 +62169,12 @@
"is-finite": "^1.0.0"
}
},
+ "replace-ext": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-0.0.1.tgz",
+ "integrity": "sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ=",
+ "optional": true
+ },
"req-cwd": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/req-cwd/-/req-cwd-2.0.0.tgz",
@@ -23539,11 +62287,41 @@
}
}
},
+ "requires-port": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
+ "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=",
+ "optional": true
+ },
+ "reselect": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/reselect/-/reselect-4.0.0.tgz",
+ "integrity": "sha512-qUgANli03jjAyGlnbYVAV5vvnOmJnODyABz51RdBN7M4WaVu8mecZWgyQNkG8Yqe3KRGRt0l4K4B3XVEULC4CA=="
+ },
+ "reselect-tree": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/reselect-tree/-/reselect-tree-1.3.4.tgz",
+ "integrity": "sha512-1OgNq1IStyJFqIqOoD3k3Ge4SsYCMP9W88VQOfvgyLniVKLfvbYO1Vrl92SyEK5021MkoBX6tWb381VxTDyPBQ==",
+ "requires": {
+ "debug": "^3.1.0",
+ "esdoc": "^1.0.4",
+ "json-pointer": "^0.6.0",
+ "reselect": "^4.0.0",
+ "source-map-support": "^0.5.3"
+ }
+ },
+ "reset": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/reset/-/reset-0.1.0.tgz",
+ "integrity": "sha1-n8cxQXGZWubLC35YsGznUir0uvs=",
+ "optional": true
+ },
"resolve": {
- "version": "1.10.0",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz",
- "integrity": "sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==",
+ "version": "1.20.0",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz",
+ "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==",
"requires": {
+ "is-core-module": "^2.2.0",
"path-parse": "^1.0.6"
}
},
@@ -23557,7 +62335,7 @@
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",
"integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=",
- "dev": true
+ "devOptional": true
},
"responselike": {
"version": "1.0.2",
@@ -23571,7 +62349,7 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
"integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=",
- "dev": true,
+ "devOptional": true,
"requires": {
"onetime": "^2.0.0",
"signal-exit": "^3.0.2"
@@ -23591,11 +62369,23 @@
"integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==",
"dev": true
},
+ "retimer": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/retimer/-/retimer-2.0.0.tgz",
+ "integrity": "sha512-KLXY85WkEq2V2bKex/LOO1ViXVn2KGYe4PYysAdYdjmraYIUsVkXu8O4am+8+5UbaaGl1qho4aqAAPHNQ4GSbg==",
+ "optional": true
+ },
"retry": {
"version": "0.10.1",
"resolved": "https://registry.npmjs.org/retry/-/retry-0.10.1.tgz",
"integrity": "sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q="
},
+ "reusify": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
+ "optional": true
+ },
"rimraf": {
"version": "2.6.3",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
@@ -23637,6 +62427,43 @@
"safe-buffer": "^5.1.1"
}
},
+ "rn-host-detect": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/rn-host-detect/-/rn-host-detect-1.2.0.tgz",
+ "integrity": "sha512-btNg5kzHcjZZ7t7mvvV/4wNJ9e3MPgrWivkRgWURzXL0JJ0pwWlU4zrbmdlz3HHzHOxhBhHB4D+/dbMFfu4/4A=="
+ },
+ "rpc-websockets": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-5.3.1.tgz",
+ "integrity": "sha512-rIxEl1BbXRlIA9ON7EmY/2GUM7RLMy8zrUPTiLPFiYnYOz0I3PXfCmDDrge5vt4pW4oIcAXBDvgZuJ1jlY5+VA==",
+ "optional": true,
+ "requires": {
+ "@babel/runtime": "^7.8.7",
+ "assert-args": "^1.2.1",
+ "babel-runtime": "^6.26.0",
+ "circular-json": "^0.5.9",
+ "eventemitter3": "^3.1.2",
+ "uuid": "^3.4.0",
+ "ws": "^5.2.2"
+ },
+ "dependencies": {
+ "uuid": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
+ "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
+ "optional": true
+ }
+ }
+ },
+ "run": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/run/-/run-1.4.0.tgz",
+ "integrity": "sha1-4X2ekEOrL+F3dsspnhI3848LT/o=",
+ "optional": true,
+ "requires": {
+ "minimatch": "*"
+ }
+ },
"run-async": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz",
@@ -23646,6 +62473,15 @@
"is-promise": "^2.1.0"
}
},
+ "run-parallel": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+ "optional": true,
+ "requires": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
"run-queue": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz",
@@ -23660,10 +62496,9 @@
"integrity": "sha512-4VlvkRUuCJvr2J6Y0ImW7NvTCriMi7ErOAqWk1y69vAdoNIzCF3yPmgeNzx+RQTLEDFq5sHfscn1MwHxP9hNfA=="
},
"rxjs": {
- "version": "6.5.2",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.2.tgz",
- "integrity": "sha512-HUb7j3kvb7p7eCUHE3FqjoDsC1xfZQ4AHFWfTKSpZ+sAhhz5X1WX0ZuUqWbzB2QhSLp3DoLUG+hMdEDKqWo2Zg==",
- "dev": true,
+ "version": "6.6.7",
+ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz",
+ "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==",
"requires": {
"tslib": "^1.9.0"
}
@@ -23695,6 +62530,36 @@
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
},
+ "sax": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
+ "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==",
+ "optional": true
+ },
+ "sc-channel": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/sc-channel/-/sc-channel-1.2.0.tgz",
+ "integrity": "sha512-M3gdq8PlKg0zWJSisWqAsMmTVxYRTpVRqw4CWAdKBgAfVKumFcTjoCV0hYu7lgUXccCtCD8Wk9VkkE+IXCxmZA==",
+ "requires": {
+ "component-emitter": "1.2.1"
+ }
+ },
+ "sc-errors": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/sc-errors/-/sc-errors-2.0.1.tgz",
+ "integrity": "sha512-JoVhq3Ud+3Ujv2SIG7W0XtjRHsrNgl6iXuHHsh0s+Kdt5NwI6N2EGAZD4iteitdDv68ENBkpjtSvN597/wxPSQ=="
+ },
+ "sc-formatter": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/sc-formatter/-/sc-formatter-3.0.2.tgz",
+ "integrity": "sha512-9PbqYBpCq+OoEeRQ3QfFIGE6qwjjBcd2j7UjgDlhnZbtSnuGgHdcRklPKYGuYFH82V/dwd+AIpu8XvA1zqTd+A=="
+ },
+ "scrypt-async": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/scrypt-async/-/scrypt-async-2.0.1.tgz",
+ "integrity": "sha512-wHR032jldwZNy7Tzrfu7RccOgGf8r5hyDMSP2uV6DpLiBUsR8JsDcx/in73o2UGVVrH5ivRFdNsFPcjtl3LErQ==",
+ "optional": true
+ },
"scrypt-js": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-2.0.4.tgz",
@@ -23713,15 +62578,14 @@
"elliptic": "^6.4.1",
"nan": "^2.14.0",
"safe-buffer": "^5.1.2"
- },
- "dependencies": {
- "nan": {
- "version": "2.14.0",
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
- "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg=="
- }
}
},
+ "seedrandom": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/seedrandom/-/seedrandom-3.0.5.tgz",
+ "integrity": "sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg==",
+ "optional": true
+ },
"semaphore": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/semaphore/-/semaphore-1.1.0.tgz",
@@ -23750,6 +62614,105 @@
"resolved": "https://registry.npmjs.org/semver-utils/-/semver-utils-1.1.4.tgz",
"integrity": "sha512-EjnoLE5OGmDAVV/8YDoN5KiajNadjzIp9BAHOhYeQHt7j0UWxjmgsx4YD48wp4Ue1Qogq38F1GNUJNqF1kKKxA=="
},
+ "send": {
+ "version": "0.17.1",
+ "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz",
+ "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==",
+ "requires": {
+ "debug": "2.6.9",
+ "depd": "~1.1.2",
+ "destroy": "~1.0.4",
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "etag": "~1.8.1",
+ "fresh": "0.5.2",
+ "http-errors": "~1.7.2",
+ "mime": "1.6.0",
+ "ms": "2.1.1",
+ "on-finished": "~2.3.0",
+ "range-parser": "~1.2.1",
+ "statuses": "~1.5.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "requires": {
+ "ms": "2.0.0"
+ },
+ "dependencies": {
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ }
+ }
+ },
+ "http-errors": {
+ "version": "1.7.3",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz",
+ "integrity": "sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw==",
+ "requires": {
+ "depd": "~1.1.2",
+ "inherits": "2.0.4",
+ "setprototypeof": "1.1.1",
+ "statuses": ">= 1.5.0 < 2",
+ "toidentifier": "1.0.0"
+ }
+ },
+ "inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
+ },
+ "ms": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
+ "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg=="
+ }
+ }
+ },
+ "sentence-case": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/sentence-case/-/sentence-case-2.1.1.tgz",
+ "integrity": "sha1-H24t2jnBaL+S0T+G1KkYkz9mftQ=",
+ "requires": {
+ "no-case": "^2.2.0",
+ "upper-case-first": "^1.1.2"
+ }
+ },
+ "serialize-javascript": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz",
+ "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==",
+ "requires": {
+ "randombytes": "^2.1.0"
+ }
+ },
+ "serve-static": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
+ "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==",
+ "requires": {
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "parseurl": "~1.3.3",
+ "send": "0.17.1"
+ }
+ },
+ "servify": {
+ "version": "0.1.12",
+ "resolved": "https://registry.npmjs.org/servify/-/servify-0.1.12.tgz",
+ "integrity": "sha512-/xE6GvsKKqyo1BAY+KxOWXcLpPsUUyji7Qg3bVD7hh1eRze5bR1uYiuDA/k3Gof1s9BTzQZEJK8sNcNGFIzeWw==",
+ "requires": {
+ "body-parser": "^1.16.0",
+ "cors": "^2.8.1",
+ "express": "^4.14.0",
+ "request": "^2.79.0",
+ "xhr": "^2.3.3"
+ }
+ },
"set-blocking": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
@@ -23788,6 +62751,11 @@
"resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.4.tgz",
"integrity": "sha1-IOgd5iLUoCWIzgyNqJc8vPHTE48="
},
+ "setprototypeof": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
+ "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw=="
+ },
"sha.js": {
"version": "2.4.11",
"resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",
@@ -23807,6 +62775,11 @@
"crypt": ">= 0.0.1"
}
},
+ "shallowequal": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz",
+ "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ=="
+ },
"shebang-command": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
@@ -23825,6 +62798,29 @@
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
"integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0="
},
+ "signed-varint": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/signed-varint/-/signed-varint-2.0.1.tgz",
+ "integrity": "sha1-UKmYnafJjCxh2tEZvJdHDvhSgSk=",
+ "optional": true,
+ "requires": {
+ "varint": "~5.0.0"
+ },
+ "dependencies": {
+ "varint": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz",
+ "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==",
+ "optional": true
+ }
+ }
+ },
+ "signedsource": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/signedsource/-/signedsource-1.0.0.tgz",
+ "integrity": "sha1-HdrOSYF5j5O9gzlzgD2A1S6TrWo=",
+ "optional": true
+ },
"simple-concat": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.0.tgz",
@@ -23874,6 +62870,14 @@
"resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.0.2.tgz",
"integrity": "sha512-JDhEpTKzXusOqXZ0BUIdH+CjFdO/CR3tLlf5CN34IypI+xMmXW1uB16OOY8z3cICbJlDAVJzNbwBhNO0wt9OAw=="
},
+ "snake-case": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/snake-case/-/snake-case-2.1.0.tgz",
+ "integrity": "sha1-Qb2xtz8w7GagTU4srRt2OH1NbZ8=",
+ "requires": {
+ "no-case": "^2.2.0"
+ }
+ },
"snapdragon": {
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",
@@ -23990,6 +62994,48 @@
}
}
},
+ "socketcluster-client": {
+ "version": "14.3.1",
+ "resolved": "https://registry.npmjs.org/socketcluster-client/-/socketcluster-client-14.3.1.tgz",
+ "integrity": "sha512-Sd/T0K/9UlqTfz+HUuFq90dshA5OBJPQbdkRzGtcKIOm52fkdsBTt0FYpiuzzxv5VrU7PWpRm6KIfNXyPwlLpw==",
+ "requires": {
+ "buffer": "^5.2.1",
+ "clone": "2.1.1",
+ "component-emitter": "1.2.1",
+ "linked-list": "0.1.0",
+ "querystring": "0.2.0",
+ "sc-channel": "^1.2.0",
+ "sc-errors": "^2.0.1",
+ "sc-formatter": "^3.0.1",
+ "uuid": "3.2.1",
+ "ws": "7.1.0"
+ },
+ "dependencies": {
+ "clone": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.1.tgz",
+ "integrity": "sha1-0hfR6WERjjrJpLi7oyhVU79kfNs="
+ },
+ "querystring": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",
+ "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA="
+ },
+ "uuid": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz",
+ "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA=="
+ },
+ "ws": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.1.0.tgz",
+ "integrity": "sha512-Swie2C4fs7CkwlHu1glMePLYJJsWjzhl1vm3ZaLplD0h7OMkZyZ6kLTB/OagiU923bZrPFXuDTeEqaEN4NWG4g==",
+ "requires": {
+ "async-limiter": "^1.0.0"
+ }
+ }
+ }
+ },
"socks": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/socks/-/socks-2.3.2.tgz",
@@ -24250,7 +63296,7 @@
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz",
"integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==",
- "dev": true,
+ "devOptional": true,
"requires": {
"atob": "^2.1.1",
"decode-uri-component": "^0.2.0",
@@ -24279,7 +63325,13 @@
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz",
"integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=",
- "dev": true
+ "devOptional": true
+ },
+ "spark-md5": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/spark-md5/-/spark-md5-3.0.0.tgz",
+ "integrity": "sha1-NyIifFTi+vJLHcbZM8wUTm9xv+8=",
+ "optional": true
},
"spawn-please": {
"version": "0.3.0",
@@ -24314,6 +63366,68 @@
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.3.tgz",
"integrity": "sha512-uBIcIl3Ih6Phe3XHK1NqboJLdGfwr1UN3k6wSD1dZpmPsIkb8AGNbZYJ1fOBk834+Gxy8rpfDxrS6XLEMZMY2g=="
},
+ "spinnies": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/spinnies/-/spinnies-0.5.1.tgz",
+ "integrity": "sha512-WpjSXv9NQz0nU3yCT9TFEOfpFrXADY9C5fG6eAJqixLhvTX1jP3w92Y8IE5oafIe42nlF9otjhllnXN/QCaB3A==",
+ "optional": true,
+ "requires": {
+ "chalk": "^2.4.2",
+ "cli-cursor": "^3.0.0",
+ "strip-ansi": "^5.2.0"
+ },
+ "dependencies": {
+ "ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "optional": true
+ },
+ "cli-cursor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
+ "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==",
+ "optional": true,
+ "requires": {
+ "restore-cursor": "^3.1.0"
+ }
+ },
+ "mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "optional": true
+ },
+ "onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "optional": true,
+ "requires": {
+ "mimic-fn": "^2.1.0"
+ }
+ },
+ "restore-cursor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
+ "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",
+ "optional": true,
+ "requires": {
+ "onetime": "^5.1.0",
+ "signal-exit": "^3.0.2"
+ }
+ },
+ "strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "optional": true,
+ "requires": {
+ "ansi-regex": "^4.1.0"
+ }
+ }
+ }
+ },
"split-string": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",
@@ -24328,6 +63442,22 @@
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
"integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw="
},
+ "sqlite3": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/sqlite3/-/sqlite3-4.2.0.tgz",
+ "integrity": "sha512-roEOz41hxui2Q7uYnWsjMOTry6TcNUNmp8audCx18gF10P2NknwdpF+E+HKvz/F2NvPKGGBF4NGc+ZPQ+AABwg==",
+ "optional": true,
+ "requires": {
+ "nan": "^2.12.1",
+ "node-pre-gyp": "^0.11.0"
+ }
+ },
+ "sse-z": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/sse-z/-/sse-z-0.3.0.tgz",
+ "integrity": "sha512-jfcXynl9oAOS9YJ7iqS2JMUEHOlvrRAD+54CENiWnc4xsuVLQVSgmwf7cwOTcBd/uq3XkQKBGojgvEtVXcJ/8w==",
+ "optional": true
+ },
"sshpk": {
"version": "1.16.1",
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz",
@@ -24352,6 +63482,12 @@
"figgy-pudding": "^3.5.1"
}
},
+ "stable": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz",
+ "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==",
+ "optional": true
+ },
"static-extend": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",
@@ -24373,12 +63509,23 @@
}
}
},
+ "statuses": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
+ "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow="
+ },
"stealthy-require": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz",
"integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=",
"dev": true
},
+ "stoppable": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/stoppable/-/stoppable-1.1.0.tgz",
+ "integrity": "sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==",
+ "optional": true
+ },
"stream-each": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz",
@@ -24393,11 +63540,34 @@
"resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz",
"integrity": "sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI="
},
+ "stream-to-it": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/stream-to-it/-/stream-to-it-0.2.3.tgz",
+ "integrity": "sha512-xaK9EjPtLox5rrC7YLSBXSanTtUJN/lzJlMFvy9VaROmnyvy0U/X6m2uMhXPJRn3g3M9uOSIzTszW7BPiWSg9w==",
+ "optional": true,
+ "requires": {
+ "get-iterator": "^1.0.2"
+ }
+ },
+ "streamsearch": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-0.1.2.tgz",
+ "integrity": "sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo=",
+ "optional": true
+ },
"strict-uri-encode": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz",
"integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM="
},
+ "string_decoder": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
+ "requires": {
+ "safe-buffer": "~5.1.0"
+ }
+ },
"string-width": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
@@ -24418,126 +63588,13 @@
"function-bind": "^1.0.2"
}
},
- "string.prototype.trimend": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz",
- "integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==",
- "requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.5"
- },
- "dependencies": {
- "es-abstract": {
- "version": "1.17.6",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz",
- "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==",
- "requires": {
- "es-to-primitive": "^1.2.1",
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
- "has-symbols": "^1.0.1",
- "is-callable": "^1.2.0",
- "is-regex": "^1.1.0",
- "object-inspect": "^1.7.0",
- "object-keys": "^1.1.1",
- "object.assign": "^4.1.0",
- "string.prototype.trimend": "^1.0.1",
- "string.prototype.trimstart": "^1.0.1"
- }
- },
- "es-to-primitive": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
- "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
- "requires": {
- "is-callable": "^1.1.4",
- "is-date-object": "^1.0.1",
- "is-symbol": "^1.0.2"
- }
- },
- "has-symbols": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
- "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=="
- },
- "is-callable": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz",
- "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw=="
- },
- "is-regex": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.0.tgz",
- "integrity": "sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw==",
- "requires": {
- "has-symbols": "^1.0.1"
- }
- }
- }
- },
"string.prototype.trimstart": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz",
- "integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==",
- "requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.5"
- },
- "dependencies": {
- "es-abstract": {
- "version": "1.17.6",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz",
- "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==",
- "requires": {
- "es-to-primitive": "^1.2.1",
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
- "has-symbols": "^1.0.1",
- "is-callable": "^1.2.0",
- "is-regex": "^1.1.0",
- "object-inspect": "^1.7.0",
- "object-keys": "^1.1.1",
- "object.assign": "^4.1.0",
- "string.prototype.trimend": "^1.0.1",
- "string.prototype.trimstart": "^1.0.1"
- }
- },
- "es-to-primitive": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
- "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
- "requires": {
- "is-callable": "^1.1.4",
- "is-date-object": "^1.0.1",
- "is-symbol": "^1.0.2"
- }
- },
- "has-symbols": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
- "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=="
- },
- "is-callable": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz",
- "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw=="
- },
- "is-regex": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.0.tgz",
- "integrity": "sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw==",
- "requires": {
- "has-symbols": "^1.0.1"
- }
- }
- }
- },
- "string_decoder": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
- "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz",
+ "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==",
"requires": {
- "safe-buffer": "~5.1.0"
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3"
}
},
"strip-ansi": {
@@ -24554,6 +63611,27 @@
"integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=",
"dev": true
},
+ "strip-bom-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom-stream/-/strip-bom-stream-1.0.0.tgz",
+ "integrity": "sha1-5xRDmFd9Uaa+0PoZlPoF9D/ZiO4=",
+ "optional": true,
+ "requires": {
+ "first-chunk-stream": "^1.0.0",
+ "strip-bom": "^2.0.0"
+ },
+ "dependencies": {
+ "strip-bom": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
+ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
+ "optional": true,
+ "requires": {
+ "is-utf8": "^0.2.0"
+ }
+ }
+ }
+ },
"strip-eof": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
@@ -24572,10 +63650,85 @@
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
"integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo="
},
+ "sublevel-pouchdb": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/sublevel-pouchdb/-/sublevel-pouchdb-7.2.2.tgz",
+ "integrity": "sha512-y5uYgwKDgXVyPZceTDGWsSFAhpSddY29l9PJbXqMJLfREdPmQTY8InpatohlEfCXX7s1LGcrfYAhxPFZaJOLnQ==",
+ "optional": true,
+ "requires": {
+ "inherits": "2.0.4",
+ "level-codec": "9.0.2",
+ "ltgt": "2.2.1",
+ "readable-stream": "1.1.14"
+ },
+ "dependencies": {
+ "inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "isarray": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
+ "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
+ "optional": true
+ },
+ "level-codec": {
+ "version": "9.0.2",
+ "resolved": "https://registry.npmjs.org/level-codec/-/level-codec-9.0.2.tgz",
+ "integrity": "sha512-UyIwNb1lJBChJnGfjmO0OR+ezh2iVu1Kas3nvBS/BzGnx79dv6g7unpKIDNPMhfdTEGoc7mC8uAu51XEtX+FHQ==",
+ "optional": true,
+ "requires": {
+ "buffer": "^5.6.0"
+ }
+ },
+ "readable-stream": {
+ "version": "1.1.14",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
+ "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
+ "optional": true,
+ "requires": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "0.0.1",
+ "string_decoder": "~0.10.x"
+ }
+ },
+ "string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
+ "optional": true
+ }
+ }
+ },
+ "subscriptions-transport-ws": {
+ "version": "0.9.18",
+ "resolved": "https://registry.npmjs.org/subscriptions-transport-ws/-/subscriptions-transport-ws-0.9.18.tgz",
+ "integrity": "sha512-tztzcBTNoEbuErsVQpTN2xUNN/efAZXyCyL5m3x4t6SKrEiTL2N8SaKWBFWM4u56pL79ULif3zjyeq+oV+nOaA==",
+ "optional": true,
+ "requires": {
+ "backo2": "^1.0.2",
+ "eventemitter3": "^3.1.0",
+ "iterall": "^1.2.1",
+ "symbol-observable": "^1.0.4",
+ "ws": "^5.2.0"
+ },
+ "dependencies": {
+ "symbol-observable": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
+ "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==",
+ "optional": true
+ }
+ }
+ },
"supports-color": {
"version": "5.4.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz",
"integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==",
+ "dev": true,
"requires": {
"has-flag": "^3.0.0"
},
@@ -24583,7 +63736,8 @@
"has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
+ "dev": true
}
}
},
@@ -24597,6 +63751,130 @@
"supports-color": "^5.0.0"
}
},
+ "swap-case": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/swap-case/-/swap-case-1.1.2.tgz",
+ "integrity": "sha1-w5IDpFhzhfrTyFCgvRvK+ggZdOM=",
+ "requires": {
+ "lower-case": "^1.1.1",
+ "upper-case": "^1.1.1"
+ }
+ },
+ "swarm-js": {
+ "version": "0.1.40",
+ "resolved": "https://registry.npmjs.org/swarm-js/-/swarm-js-0.1.40.tgz",
+ "integrity": "sha512-yqiOCEoA4/IShXkY3WKwP5PvZhmoOOD8clsKA7EEcRILMkTEYHCQ21HDCAcVpmIxZq4LyZvWeRJ6quIyHk1caA==",
+ "requires": {
+ "bluebird": "^3.5.0",
+ "buffer": "^5.0.5",
+ "eth-lib": "^0.1.26",
+ "fs-extra": "^4.0.2",
+ "got": "^7.1.0",
+ "mime-types": "^2.1.16",
+ "mkdirp-promise": "^5.0.1",
+ "mock-fs": "^4.1.0",
+ "setimmediate": "^1.0.5",
+ "tar": "^4.0.2",
+ "xhr-request": "^1.0.1"
+ },
+ "dependencies": {
+ "fs-extra": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz",
+ "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==",
+ "requires": {
+ "graceful-fs": "^4.1.2",
+ "jsonfile": "^4.0.0",
+ "universalify": "^0.1.0"
+ }
+ },
+ "got": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/got/-/got-7.1.0.tgz",
+ "integrity": "sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw==",
+ "requires": {
+ "decompress-response": "^3.2.0",
+ "duplexer3": "^0.1.4",
+ "get-stream": "^3.0.0",
+ "is-plain-obj": "^1.1.0",
+ "is-retry-allowed": "^1.0.0",
+ "is-stream": "^1.0.0",
+ "isurl": "^1.0.0-alpha5",
+ "lowercase-keys": "^1.0.0",
+ "p-cancelable": "^0.3.0",
+ "p-timeout": "^1.1.1",
+ "safe-buffer": "^5.0.1",
+ "timed-out": "^4.0.0",
+ "url-parse-lax": "^1.0.0",
+ "url-to-options": "^1.0.1"
+ }
+ },
+ "is-plain-obj": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz",
+ "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4="
+ },
+ "jsonfile": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
+ "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
+ "requires": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
+ "p-cancelable": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.3.0.tgz",
+ "integrity": "sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw=="
+ },
+ "setimmediate": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
+ "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="
+ },
+ "universalify": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
+ "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg=="
+ }
+ }
+ },
+ "symbol": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/symbol/-/symbol-0.2.3.tgz",
+ "integrity": "sha1-O5hzuKkB5Hxu/iFSajrDcu8ou8c=",
+ "optional": true
+ },
+ "symbol-observable": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz",
+ "integrity": "sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA==",
+ "optional": true
+ },
+ "symbol-tree": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
+ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==",
+ "optional": true
+ },
+ "sync-fetch": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/sync-fetch/-/sync-fetch-0.3.0.tgz",
+ "integrity": "sha512-dJp4qg+x4JwSEW1HibAuMi0IIrBI3wuQr2GimmqB7OXR50wmwzfdusG+p39R9w3R6aFtZ2mzvxvWKQ3Bd/vx3g==",
+ "optional": true,
+ "requires": {
+ "buffer": "^5.7.0",
+ "node-fetch": "^2.6.1"
+ },
+ "dependencies": {
+ "node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "optional": true
+ }
+ }
+ },
"sync-request": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/sync-request/-/sync-request-6.1.0.tgz",
@@ -24675,6 +63953,11 @@
}
}
},
+ "taffydb": {
+ "version": "2.7.3",
+ "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.3.tgz",
+ "integrity": "sha1-KtNxaWKUmPylvIQkMJbTzeDsOjQ="
+ },
"tape": {
"version": "4.13.3",
"resolved": "https://registry.npmjs.org/tape/-/tape-4.13.3.tgz",
@@ -24690,51 +63973,13 @@
"inherits": "~2.0.4",
"is-regex": "~1.0.5",
"minimist": "~1.2.5",
- "object-inspect": "~1.7.0",
- "resolve": "~1.17.0",
- "resumer": "~0.0.0",
- "string.prototype.trim": "~1.2.1",
- "through": "~2.3.8"
- },
- "dependencies": {
- "es-abstract": {
- "version": "1.17.6",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz",
- "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==",
- "requires": {
- "es-to-primitive": "^1.2.1",
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
- "has-symbols": "^1.0.1",
- "is-callable": "^1.2.0",
- "is-regex": "^1.1.0",
- "object-inspect": "^1.7.0",
- "object-keys": "^1.1.1",
- "object.assign": "^4.1.0",
- "string.prototype.trimend": "^1.0.1",
- "string.prototype.trimstart": "^1.0.1"
- },
- "dependencies": {
- "is-regex": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.0.tgz",
- "integrity": "sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw==",
- "requires": {
- "has-symbols": "^1.0.1"
- }
- }
- }
- },
- "es-to-primitive": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
- "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
- "requires": {
- "is-callable": "^1.1.4",
- "is-date-object": "^1.0.1",
- "is-symbol": "^1.0.2"
- }
- },
+ "object-inspect": "~1.7.0",
+ "resolve": "~1.17.0",
+ "resumer": "~0.0.0",
+ "string.prototype.trim": "~1.2.1",
+ "through": "~2.3.8"
+ },
+ "dependencies": {
"glob": {
"version": "7.1.6",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
@@ -24748,21 +63993,11 @@
"path-is-absolute": "^1.0.0"
}
},
- "has-symbols": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
- "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=="
- },
"inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
- "is-callable": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz",
- "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw=="
- },
"is-regex": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
@@ -24922,11 +64157,68 @@
"xtend": "~4.0.1"
}
},
+ "through2-filter": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-2.0.0.tgz",
+ "integrity": "sha1-YLxVoNrLdghdsfna6Zq0P4PWIuw=",
+ "optional": true,
+ "requires": {
+ "through2": "~2.0.0",
+ "xtend": "~4.0.0"
+ }
+ },
+ "tildify": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/tildify/-/tildify-1.2.0.tgz",
+ "integrity": "sha1-3OwD9V3Km3qj5bBPIYF+tW5jWIo=",
+ "optional": true,
+ "requires": {
+ "os-homedir": "^1.0.0"
+ }
+ },
"timed-out": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz",
"integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8="
},
+ "timeout-abort-controller": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/timeout-abort-controller/-/timeout-abort-controller-1.1.1.tgz",
+ "integrity": "sha512-BsF9i3NAJag6T0ZEjki9j654zoafI2X6ayuNd6Tp8+Ul6Tr5s4jo973qFeiWrRSweqvskC+AHDKUmIW4b7pdhQ==",
+ "optional": true,
+ "requires": {
+ "abort-controller": "^3.0.0",
+ "retimer": "^2.0.0"
+ }
+ },
+ "tiny-queue": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/tiny-queue/-/tiny-queue-0.2.1.tgz",
+ "integrity": "sha1-JaZ/LG4lOyypQZd7XvdELvl6YEY=",
+ "optional": true
+ },
+ "tiny-secp256k1": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz",
+ "integrity": "sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA==",
+ "optional": true,
+ "requires": {
+ "bindings": "^1.3.0",
+ "bn.js": "^4.11.8",
+ "create-hmac": "^1.1.7",
+ "elliptic": "^6.4.0",
+ "nan": "^2.13.2"
+ }
+ },
+ "title-case": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/title-case/-/title-case-2.1.1.tgz",
+ "integrity": "sha1-PhJyFtpY0rxb7PE3q5Ha46fNj6o=",
+ "requires": {
+ "no-case": "^2.2.0",
+ "upper-case": "^1.0.3"
+ }
+ },
"tmp": {
"version": "0.0.33",
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
@@ -24935,11 +64227,51 @@
"os-tmpdir": "~1.0.2"
}
},
+ "to-absolute-glob": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz",
+ "integrity": "sha1-HN+kcqnvUMI57maZm2YsoOs5k38=",
+ "optional": true,
+ "requires": {
+ "extend-shallow": "^2.0.1"
+ },
+ "dependencies": {
+ "extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "optional": true,
+ "requires": {
+ "is-extendable": "^0.1.0"
+ }
+ }
+ }
+ },
+ "to-data-view": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/to-data-view/-/to-data-view-1.1.0.tgz",
+ "integrity": "sha512-1eAdufMg6mwgmlojAx3QeMnzB/BTVp7Tbndi3U7ftcT2zCZadjxkkmLmd97zmaxWi+sgGcgWrokmpEoy0Dn0vQ==",
+ "optional": true
+ },
"to-fast-properties": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz",
"integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc="
},
+ "to-json-schema": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/to-json-schema/-/to-json-schema-0.2.5.tgz",
+ "integrity": "sha512-jP1ievOee8pec3tV9ncxLSS48Bnw7DIybgy112rhMCEhf3K4uyVNZZHr03iQQBzbV5v5Hos+dlZRRyk6YSMNDw==",
+ "optional": true,
+ "requires": {
+ "lodash.isequal": "^4.5.0",
+ "lodash.keys": "^4.2.0",
+ "lodash.merge": "^4.6.2",
+ "lodash.omit": "^4.5.0",
+ "lodash.without": "^4.4.0",
+ "lodash.xor": "^4.5.0"
+ }
+ },
"to-object-path": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",
@@ -24987,6 +64319,11 @@
"repeat-string": "^1.6.1"
}
},
+ "toidentifier": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
+ "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw=="
+ },
"touch": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz",
@@ -25012,19 +64349,442 @@
}
}
},
+ "tr46": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
+ "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=",
+ "optional": true
+ },
"trim-right": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz",
"integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM="
},
"truffle": {
- "version": "5.0.35",
- "resolved": "https://registry.npmjs.org/truffle/-/truffle-5.0.35.tgz",
- "integrity": "sha512-ewJPaeHyYgRpuVSvlzhlnalJkeLN0sz7c/P/8WLWpXC966M2o4vL5ov6MNdSHQFYiYQsDrCetrothzsYsg4HWQ==",
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/truffle/-/truffle-5.3.2.tgz",
+ "integrity": "sha512-2fqx5x9eO71HB9VF7/XEqj+PwlJqYC4Z/3BtfL5gJmXqBXVfr3/zvpmgPcpmOlkqmA9ZmkVGnqSS93uUnSxq+g==",
"requires": {
+ "@truffle/db": "^0.5.7",
+ "@truffle/debugger": "^8.0.21",
+ "@truffle/preserve-fs": "^0.2.0",
+ "@truffle/preserve-to-buckets": "^0.2.0",
+ "@truffle/preserve-to-filecoin": "^0.2.0",
+ "@truffle/preserve-to-ipfs": "^0.2.0",
"app-module-path": "^2.2.0",
- "mocha": "5.2.0",
- "original-require": "1.0.1"
+ "mocha": "8.1.2",
+ "original-require": "^1.0.1"
+ },
+ "dependencies": {
+ "ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg=="
+ },
+ "ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "requires": {
+ "color-convert": "^2.0.1"
+ }
+ },
+ "anymatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",
+ "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
+ "requires": {
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
+ }
+ },
+ "binary-extensions": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
+ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA=="
+ },
+ "braces": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "requires": {
+ "fill-range": "^7.0.1"
+ }
+ },
+ "chalk": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
+ "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
+ "requires": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ }
+ },
+ "chokidar": {
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.2.tgz",
+ "integrity": "sha512-IZHaDeBeI+sZJRX7lGcXsdzgvZqKv6sECqsbErJA4mHWfpRrD8B97kSFN4cQz6nGBGiuFia1MKR4d6c1o8Cv7A==",
+ "requires": {
+ "anymatch": "~3.1.1",
+ "braces": "~3.0.2",
+ "fsevents": "~2.1.2",
+ "glob-parent": "~5.1.0",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.4.0"
+ }
+ },
+ "cliui": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
+ "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==",
+ "requires": {
+ "string-width": "^3.1.0",
+ "strip-ansi": "^5.2.0",
+ "wrap-ansi": "^5.1.0"
+ }
+ },
+ "color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "requires": {
+ "color-name": "~1.1.4"
+ }
+ },
+ "color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
+ },
+ "debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "requires": {
+ "ms": "^2.1.1"
+ }
+ },
+ "diff": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
+ "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A=="
+ },
+ "escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="
+ },
+ "fill-range": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "requires": {
+ "to-regex-range": "^5.0.1"
+ }
+ },
+ "find-up": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
+ "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
+ "requires": {
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
+ }
+ },
+ "get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
+ },
+ "glob": {
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
+ "requires": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
+ },
+ "glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "requires": {
+ "is-glob": "^4.0.1"
+ }
+ },
+ "has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
+ },
+ "he": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
+ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw=="
+ },
+ "is-binary-path": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "requires": {
+ "binary-extensions": "^2.0.0"
+ }
+ },
+ "is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8="
+ },
+ "is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
+ },
+ "locate-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
+ "requires": {
+ "p-locate": "^5.0.0"
+ }
+ },
+ "log-symbols": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz",
+ "integrity": "sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA==",
+ "requires": {
+ "chalk": "^4.0.0"
+ }
+ },
+ "mocha": {
+ "version": "8.1.2",
+ "resolved": "https://registry.npmjs.org/mocha/-/mocha-8.1.2.tgz",
+ "integrity": "sha512-I8FRAcuACNMLQn3lS4qeWLxXqLvGf6r2CaLstDpZmMUUSmvW6Cnm1AuHxgbc7ctZVRcfwspCRbDHymPsi3dkJw==",
+ "requires": {
+ "ansi-colors": "4.1.1",
+ "browser-stdout": "1.3.1",
+ "chokidar": "3.4.2",
+ "debug": "4.1.1",
+ "diff": "4.0.2",
+ "escape-string-regexp": "4.0.0",
+ "find-up": "5.0.0",
+ "glob": "7.1.6",
+ "growl": "1.10.5",
+ "he": "1.2.0",
+ "js-yaml": "3.14.0",
+ "log-symbols": "4.0.0",
+ "minimatch": "3.0.4",
+ "ms": "2.1.2",
+ "object.assign": "4.1.0",
+ "promise.allsettled": "1.0.2",
+ "serialize-javascript": "4.0.0",
+ "strip-json-comments": "3.0.1",
+ "supports-color": "7.1.0",
+ "which": "2.0.2",
+ "wide-align": "1.1.3",
+ "workerpool": "6.0.0",
+ "yargs": "13.3.2",
+ "yargs-parser": "13.1.2",
+ "yargs-unparser": "1.6.1"
+ }
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
+ },
+ "p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "requires": {
+ "yocto-queue": "^0.1.0"
+ }
+ },
+ "p-locate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
+ "requires": {
+ "p-limit": "^3.0.2"
+ }
+ },
+ "p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
+ },
+ "readdirp": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz",
+ "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==",
+ "requires": {
+ "picomatch": "^2.2.1"
+ }
+ },
+ "require-main-filename": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
+ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
+ },
+ "string-width": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
+ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
+ "requires": {
+ "emoji-regex": "^7.0.1",
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^5.1.0"
+ }
+ },
+ "strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "requires": {
+ "ansi-regex": "^4.1.0"
+ }
+ },
+ "strip-json-comments": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz",
+ "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw=="
+ },
+ "supports-color": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
+ "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
+ "requires": {
+ "has-flag": "^4.0.0"
+ }
+ },
+ "to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "requires": {
+ "is-number": "^7.0.0"
+ }
+ },
+ "which": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "requires": {
+ "isexe": "^2.0.0"
+ }
+ },
+ "wrap-ansi": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
+ "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
+ "requires": {
+ "ansi-styles": "^3.2.0",
+ "string-width": "^3.0.0",
+ "strip-ansi": "^5.0.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "requires": {
+ "color-convert": "^1.9.0"
+ }
+ },
+ "color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "requires": {
+ "color-name": "1.1.3"
+ }
+ },
+ "color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
+ }
+ }
+ },
+ "y18n": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
+ "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
+ },
+ "yargs": {
+ "version": "13.3.2",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz",
+ "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==",
+ "requires": {
+ "cliui": "^5.0.0",
+ "find-up": "^3.0.0",
+ "get-caller-file": "^2.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^2.0.0",
+ "set-blocking": "^2.0.0",
+ "string-width": "^3.0.0",
+ "which-module": "^2.0.0",
+ "y18n": "^4.0.0",
+ "yargs-parser": "^13.1.2"
+ },
+ "dependencies": {
+ "find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "requires": {
+ "locate-path": "^3.0.0"
+ }
+ },
+ "locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "requires": {
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
+ }
+ },
+ "p-limit": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "requires": {
+ "p-try": "^2.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "requires": {
+ "p-limit": "^2.0.0"
+ }
+ },
+ "path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU="
+ }
+ }
+ },
+ "yargs-parser": {
+ "version": "13.1.2",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz",
+ "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==",
+ "requires": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ }
+ }
}
},
"truffle-flattener": {
@@ -25060,6 +64820,15 @@
"integrity": "sha512-q3N1xS4vZpRouhYHDPwO0bDW3EZ6SK9CrrDHxi/D6BPReSjpVgWIOpLS2o0gSBZm+7q/wyKp6RVM1AeeW7uyfQ==",
"dev": true
},
+ "ts-invariant": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/ts-invariant/-/ts-invariant-0.4.4.tgz",
+ "integrity": "sha512-uEtWkFM/sdZvRNNDL3Ehu4WVpwaulhwQszV8mrtcdeE8nN00BV9mAmQ88RkrBhFgl9gMgvjJLAQcZbnPXI9mlA==",
+ "optional": true,
+ "requires": {
+ "tslib": "^1.9.3"
+ }
+ },
"ts-node": {
"version": "8.3.0",
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-8.3.0.tgz",
@@ -25104,6 +64873,16 @@
"resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
"integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
},
+ "tweetnacl-util": {
+ "version": "0.15.1",
+ "resolved": "https://registry.npmjs.org/tweetnacl-util/-/tweetnacl-util-0.15.1.tgz",
+ "integrity": "sha512-RKJBIj8lySrShN4w6i/BonWp2Z/uxwC3h4y7xsRrpP59ZboCd0GpEVsOnMDYLMmKBpYhb5TgHzZXy7wTfYFBRw=="
+ },
+ "type": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
+ "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg=="
+ },
"type-check": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
@@ -25122,16 +64901,66 @@
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz",
"integrity": "sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ=="
},
+ "type-is": {
+ "version": "1.6.18",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
+ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
+ "requires": {
+ "media-typer": "0.3.0",
+ "mime-types": "~2.1.24"
+ }
+ },
"typedarray": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
"integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c="
},
+ "typedarray-to-buffer": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz",
+ "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==",
+ "requires": {
+ "is-typedarray": "^1.0.0"
+ }
+ },
+ "typeforce": {
+ "version": "1.18.0",
+ "resolved": "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz",
+ "integrity": "sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g==",
+ "optional": true
+ },
+ "typescript-compare": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/typescript-compare/-/typescript-compare-0.0.2.tgz",
+ "integrity": "sha512-8ja4j7pMHkfLJQO2/8tut7ub+J3Lw2S3061eJLFQcvs3tsmJKp8KG5NtpLn7KcY2w08edF74BSVN7qJS0U6oHA==",
+ "requires": {
+ "typescript-logic": "^0.0.0"
+ }
+ },
+ "typescript-logic": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/typescript-logic/-/typescript-logic-0.0.0.tgz",
+ "integrity": "sha512-zXFars5LUkI3zP492ls0VskH3TtdeHCqu0i7/duGt60i5IGPIpAHE/DWo5FqJ6EjQ15YKXrt+AETjv60Dat34Q=="
+ },
+ "typescript-tuple": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/typescript-tuple/-/typescript-tuple-2.2.1.tgz",
+ "integrity": "sha512-Zcr0lbt8z5ZdEzERHAMAniTiIKerFCMgd7yjq1fPnDJ43et/k9twIFQMUYff9k5oXcsQ0WpvFcgzK2ZKASoW6Q==",
+ "requires": {
+ "typescript-compare": "^0.0.2"
+ }
+ },
"u2f-api": {
"version": "0.2.7",
"resolved": "https://registry.npmjs.org/u2f-api/-/u2f-api-0.2.7.tgz",
"integrity": "sha512-fqLNg8vpvLOD5J/z4B6wpPg4Lvowz1nJ9xdHcCzdUPKcFE/qNCceV2gNZxSJd5vhAZemHr/K/hbzVA0zxB5mkg=="
},
+ "ua-parser-js": {
+ "version": "0.7.28",
+ "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.28.tgz",
+ "integrity": "sha512-6Gurc1n//gjp9eQNXjD9O3M/sMwVtN5S8Lv9bvOYBfKfDNiIIhqiyi01vMBO45u4zkDE420w/e0se7Vs+sIg+g==",
+ "optional": true
+ },
"uglify-js": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.0.tgz",
@@ -25156,6 +64985,42 @@
}
}
},
+ "uint8arrays": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-2.1.5.tgz",
+ "integrity": "sha512-CSR7AO+4AHUeSOnZ/NBNCElDeWfRh9bXtOck27083kc7SznmmHIhNEkEOCQOn0wvrIMjS3IH0TNLR16vuc46mA==",
+ "optional": true,
+ "requires": {
+ "multibase": "^4.0.1"
+ },
+ "dependencies": {
+ "multibase": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.4.tgz",
+ "integrity": "sha512-8/JmrdSGzlw6KTgAJCOqUBSGd1V6186i/X8dDCGy/lbCKrQ+1QB6f3HE+wPr7Tpdj4U3gutaj9jG2rNX6UpiJg==",
+ "optional": true,
+ "requires": {
+ "@multiformats/base-x": "^4.0.1"
+ }
+ }
+ }
+ },
+ "ultron": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz",
+ "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og=="
+ },
+ "unbox-primitive": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz",
+ "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==",
+ "requires": {
+ "function-bind": "^1.1.1",
+ "has-bigints": "^1.0.1",
+ "has-symbols": "^1.0.2",
+ "which-boxed-primitive": "^1.0.2"
+ }
+ },
"undefsafe": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.2.tgz",
@@ -25176,6 +65041,11 @@
}
}
},
+ "underscore": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz",
+ "integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg=="
+ },
"union-value": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",
@@ -25204,6 +65074,26 @@
"imurmurhash": "^0.1.4"
}
},
+ "unique-stream": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.3.1.tgz",
+ "integrity": "sha512-2nY4TnBE70yoxHkDli7DMazpWiP7xMdCYqU2nBRO0UB+ZpEkGsSija7MvmvnZFUeC+mrgiUfcHSr3LmRFIg4+A==",
+ "requires": {
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "through2-filter": "^3.0.0"
+ },
+ "dependencies": {
+ "through2-filter": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-3.0.0.tgz",
+ "integrity": "sha512-jaRjI2WxN3W1V8/FMZ9HKIBXixtiqs3SQSX4/YGIiP3gL6djW48VoZq9tDqeCWs3MT8YY5wb/zli8VW8snY1CA==",
+ "requires": {
+ "through2": "~2.0.0",
+ "xtend": "~4.0.0"
+ }
+ }
+ }
+ },
"unique-string": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/unique-string/-/unique-string-1.0.0.tgz",
@@ -25212,11 +65102,42 @@
"crypto-random-string": "^1.0.0"
}
},
+ "universalify": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
+ "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
+ "optional": true
+ },
+ "unixify": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unixify/-/unixify-1.0.0.tgz",
+ "integrity": "sha1-OmQcjC/7zk2mg6XHDwOkYpQMIJA=",
+ "optional": true,
+ "requires": {
+ "normalize-path": "^2.1.1"
+ },
+ "dependencies": {
+ "normalize-path": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
+ "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
+ "optional": true,
+ "requires": {
+ "remove-trailing-separator": "^1.0.1"
+ }
+ }
+ }
+ },
"unorm": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz",
"integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA=="
},
+ "unpipe": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
+ "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
+ },
"unset-value": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",
@@ -25287,6 +65208,19 @@
"xdg-basedir": "^3.0.0"
}
},
+ "upper-case": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz",
+ "integrity": "sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg="
+ },
+ "upper-case-first": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/upper-case-first/-/upper-case-first-1.1.2.tgz",
+ "integrity": "sha1-XXm+3P8UQZUY/S7bCgUHybaFkRU=",
+ "requires": {
+ "upper-case": "^1.1.1"
+ }
+ },
"uri-js": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
@@ -25299,7 +65233,7 @@
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",
"integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=",
- "dev": true
+ "devOptional": true
},
"url-join": {
"version": "4.0.1",
@@ -25307,11 +65241,20 @@
"integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==",
"dev": true
},
+ "url-parse": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.1.tgz",
+ "integrity": "sha512-HOfCOUJt7iSYzEx/UqgtwKRMC6EU91NFhsCHMv9oM03VJcVo2Qrp8T8kI9D7amFf1cu+/3CEhgb3rF9zL7k85Q==",
+ "optional": true,
+ "requires": {
+ "querystringify": "^2.1.1",
+ "requires-port": "^1.0.0"
+ }
+ },
"url-parse-lax": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz",
"integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=",
- "dev": true,
"requires": {
"prepend-http": "^1.0.1"
}
@@ -25321,6 +65264,21 @@
"resolved": "https://registry.npmjs.org/url-set-query/-/url-set-query-1.0.0.tgz",
"integrity": "sha1-AW6M/Xwg7gXK/neV6JK9BwL6ozk="
},
+ "url-to-options": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz",
+ "integrity": "sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k="
+ },
+ "ursa-optional": {
+ "version": "0.10.2",
+ "resolved": "https://registry.npmjs.org/ursa-optional/-/ursa-optional-0.10.2.tgz",
+ "integrity": "sha512-TKdwuLboBn7M34RcvVTuQyhvrA8gYKapuVdm0nBP0mnBc7oECOfUQZrY91cefL3/nm64ZyrejSRrhTVdX7NG/A==",
+ "optional": true,
+ "requires": {
+ "bindings": "^1.5.0",
+ "nan": "^2.14.2"
+ }
+ },
"usb": {
"version": "1.6.3",
"resolved": "https://registry.npmjs.org/usb/-/usb-1.6.3.tgz",
@@ -25340,17 +65298,60 @@
}
}
},
- "use": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
- "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==",
- "dev": true
- },
+ "use": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
+ "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==",
+ "dev": true
+ },
+ "utf-8-validate": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.4.tgz",
+ "integrity": "sha512-MEF05cPSq3AwJ2C7B7sHAA6i53vONoZbMGX8My5auEVm6W+dJ2Jd/TZPyGJ5CH42V2XtbI5FD28HeHeqlPzZ3Q==",
+ "requires": {
+ "node-gyp-build": "^4.2.0"
+ }
+ },
+ "utf8": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/utf8/-/utf8-3.0.0.tgz",
+ "integrity": "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ=="
+ },
+ "util": {
+ "version": "0.12.3",
+ "resolved": "https://registry.npmjs.org/util/-/util-0.12.3.tgz",
+ "integrity": "sha512-I8XkoQwE+fPQEhy9v012V+TSdH2kp9ts29i20TaaDUXsg7x/onePbhFJUExBfv/2ay1ZOp/Vsm3nDlmnFGSAog==",
+ "requires": {
+ "inherits": "^2.0.3",
+ "is-arguments": "^1.0.4",
+ "is-generator-function": "^1.0.7",
+ "is-typed-array": "^1.1.3",
+ "safe-buffer": "^5.1.2",
+ "which-typed-array": "^1.1.2"
+ }
+ },
"util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
},
+ "util.promisify": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.1.1.tgz",
+ "integrity": "sha512-/s3UsZUrIfa6xDhr7zZhnE9SLQ5RIXyYfiVnMMyMDzOc8WhWN4Nbh36H842OyurKbCDAesZOJaVyvmSl6fhGQw==",
+ "requires": {
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3",
+ "for-each": "^0.3.3",
+ "has-symbols": "^1.0.1",
+ "object.getownpropertydescriptors": "^2.1.1"
+ }
+ },
+ "utils-merge": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
+ "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
+ },
"uuid": {
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
@@ -25362,6 +65363,12 @@
"integrity": "sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==",
"dev": true
},
+ "vali-date": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/vali-date/-/vali-date-1.0.0.tgz",
+ "integrity": "sha1-G5BKWWCfsyjvB4E4Qgk09rhnCaY=",
+ "optional": true
+ },
"valid-url": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/valid-url/-/valid-url-1.0.9.tgz",
@@ -25384,6 +65391,17 @@
"builtins": "^1.0.3"
}
},
+ "varint": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/varint/-/varint-6.0.0.tgz",
+ "integrity": "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==",
+ "optional": true
+ },
+ "vary": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
+ "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
+ },
"verror": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
@@ -25394,75 +65412,421 @@
"extsprintf": "^1.2.0"
}
},
- "web3-eth-abi": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.2.1.tgz",
- "integrity": "sha512-jI/KhU2a/DQPZXHjo2GW0myEljzfiKOn+h1qxK1+Y9OQfTcBMxrQJyH5AP89O6l6NZ1QvNdq99ThAxBFoy5L+g==",
+ "vinyl": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-1.2.0.tgz",
+ "integrity": "sha1-XIgDbPVl5d8FVYv8kR+GVt8hiIQ=",
+ "optional": true,
"requires": {
- "ethers": "4.0.0-beta.3",
- "underscore": "1.9.1",
- "web3-utils": "1.2.1"
+ "clone": "^1.0.0",
+ "clone-stats": "^0.0.1",
+ "replace-ext": "0.0.1"
},
"dependencies": {
- "elliptic": {
- "version": "6.3.3",
- "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.3.3.tgz",
- "integrity": "sha1-VILZZG1UvLif19mU/J4ulWiHbj8=",
+ "clone": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
+ "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=",
+ "optional": true
+ }
+ }
+ },
+ "vinyl-fs": {
+ "version": "2.4.3",
+ "resolved": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-2.4.3.tgz",
+ "integrity": "sha1-PZflYuv91LZpId6nBia4S96dLQc=",
+ "optional": true,
+ "requires": {
+ "duplexify": "^3.2.0",
+ "glob-stream": "^5.3.2",
+ "graceful-fs": "^4.0.0",
+ "gulp-sourcemaps": "^1.5.2",
+ "is-valid-glob": "^0.3.0",
+ "lazystream": "^1.0.0",
+ "lodash.isequal": "^4.0.0",
+ "merge-stream": "^1.0.0",
+ "mkdirp": "^0.5.0",
+ "object-assign": "^4.0.0",
+ "readable-stream": "^2.0.4",
+ "strip-bom": "^2.0.0",
+ "strip-bom-stream": "^1.0.0",
+ "through2": "^2.0.0",
+ "through2-filter": "^2.0.0",
+ "vali-date": "^1.0.0",
+ "vinyl": "^1.0.0"
+ },
+ "dependencies": {
+ "strip-bom": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
+ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
+ "optional": true,
"requires": {
- "bn.js": "^4.4.0",
- "brorand": "^1.0.1",
- "hash.js": "^1.0.0",
- "inherits": "^2.0.1"
+ "is-utf8": "^0.2.0"
}
+ }
+ }
+ },
+ "vuvuzela": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/vuvuzela/-/vuvuzela-1.0.3.tgz",
+ "integrity": "sha1-O+FF5YJxxzylUnndhR8SpoIRSws=",
+ "optional": true
+ },
+ "wcwidth": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz",
+ "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=",
+ "optional": true,
+ "requires": {
+ "defaults": "^1.0.3"
+ }
+ },
+ "web-encoding": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/web-encoding/-/web-encoding-1.1.4.tgz",
+ "integrity": "sha512-EJn3rQ/blHgaOTG8XvxGsZXTCyw9p1RAaDI/L0W3jjJRvW25F8uRshacU4h49wc9Fj0JlKU+oyOKm40HDAj75w==",
+ "optional": true,
+ "requires": {
+ "@zxing/text-encoding": "0.9.0",
+ "util": "^0.12.3"
+ }
+ },
+ "web3": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3/-/web3-1.3.5.tgz",
+ "integrity": "sha512-UyQW/MT5EIGBrXPCh/FDIaD7RtJTn5/rJUNw2FOglp0qoXnCQHNKvntiR1ylztk05fYxIF6UgsC76IrazlKJjw==",
+ "requires": {
+ "web3-bzz": "1.3.5",
+ "web3-core": "1.3.5",
+ "web3-eth": "1.3.5",
+ "web3-eth-personal": "1.3.5",
+ "web3-net": "1.3.5",
+ "web3-shh": "1.3.5",
+ "web3-utils": "1.3.5"
+ }
+ },
+ "web3-bzz": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.3.5.tgz",
+ "integrity": "sha512-XiEUAbB1uKm/agqfwBsCW8fbw+sma85TfwuDpdcy591vinVk0S9TfWgLxro6v1KJ6nSELySIbKGbAJbh2GSyxw==",
+ "requires": {
+ "@types/node": "^12.12.6",
+ "got": "9.6.0",
+ "swarm-js": "^0.1.40",
+ "underscore": "1.9.1"
+ },
+ "dependencies": {
+ "@types/node": {
+ "version": "12.20.10",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.10.tgz",
+ "integrity": "sha512-TxCmnSSppKBBOzYzPR2BR25YlX5Oay8z2XGwFBInuA/Co0V9xJhLlW4kjbxKtgeNo3NOMbQP1A5Rc03y+XecPw=="
},
- "ethers": {
- "version": "4.0.0-beta.3",
- "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.0-beta.3.tgz",
- "integrity": "sha512-YYPogooSknTwvHg3+Mv71gM/3Wcrx+ZpCzarBj3mqs9njjRkrOo2/eufzhHloOCo3JSoNI4TQJJ6yU5ABm3Uog==",
+ "get-stream": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
+ "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
"requires": {
- "@types/node": "^10.3.2",
- "aes-js": "3.0.0",
- "bn.js": "^4.4.0",
- "elliptic": "6.3.3",
- "hash.js": "1.1.3",
- "js-sha3": "0.5.7",
- "scrypt-js": "2.0.3",
- "setimmediate": "1.0.4",
- "uuid": "2.0.1",
- "xmlhttprequest": "1.8.0"
+ "pump": "^3.0.0"
}
},
- "hash.js": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz",
- "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==",
+ "got": {
+ "version": "9.6.0",
+ "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz",
+ "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==",
"requires": {
- "inherits": "^2.0.3",
- "minimalistic-assert": "^1.0.0"
+ "@sindresorhus/is": "^0.14.0",
+ "@szmarczak/http-timer": "^1.1.2",
+ "cacheable-request": "^6.0.0",
+ "decompress-response": "^3.3.0",
+ "duplexer3": "^0.1.4",
+ "get-stream": "^4.1.0",
+ "lowercase-keys": "^1.0.1",
+ "mimic-response": "^1.0.1",
+ "p-cancelable": "^1.0.0",
+ "to-readable-stream": "^1.0.0",
+ "url-parse-lax": "^3.0.0"
}
},
- "js-sha3": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz",
- "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc="
+ "prepend-http": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
+ "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc="
},
- "scrypt-js": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-2.0.3.tgz",
- "integrity": "sha1-uwBAvgMEPamgEqLOqfyfhSz8h9Q="
+ "pump": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "requires": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
},
- "underscore": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz",
- "integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg=="
+ "url-parse-lax": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz",
+ "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=",
+ "requires": {
+ "prepend-http": "^2.0.0"
+ }
+ }
+ }
+ },
+ "web3-core": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.3.5.tgz",
+ "integrity": "sha512-VQjTvnGTqJwDwjKEHSApea3RmgtFGLDSJ6bqrOyHROYNyTyKYjFQ/drG9zs3rjDkND9mgh8foI1ty37Qua3QCQ==",
+ "requires": {
+ "@types/bn.js": "^4.11.5",
+ "@types/node": "^12.12.6",
+ "bignumber.js": "^9.0.0",
+ "web3-core-helpers": "1.3.5",
+ "web3-core-method": "1.3.5",
+ "web3-core-requestmanager": "1.3.5",
+ "web3-utils": "1.3.5"
+ },
+ "dependencies": {
+ "@types/node": {
+ "version": "12.20.10",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.10.tgz",
+ "integrity": "sha512-TxCmnSSppKBBOzYzPR2BR25YlX5Oay8z2XGwFBInuA/Co0V9xJhLlW4kjbxKtgeNo3NOMbQP1A5Rc03y+XecPw=="
+ }
+ }
+ },
+ "web3-core-helpers": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.3.5.tgz",
+ "integrity": "sha512-HYh3ix5FjysgT0jyzD8s/X5ym0b4BGU7I2QtuBiydMnE0mQEWy7GcT9XKpTySA8FTOHHIAQYvQS07DN/ky3UzA==",
+ "requires": {
+ "underscore": "1.9.1",
+ "web3-eth-iban": "1.3.5",
+ "web3-utils": "1.3.5"
+ }
+ },
+ "web3-core-method": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.3.5.tgz",
+ "integrity": "sha512-hCbmgQ+At6OTuaNGAdjXMsCr4eUCmp9yGKSuaB5HdkNVDpqFso4HHjVxcjNrTyJp3OZnyjKBzQzK1ZWLpLl84Q==",
+ "requires": {
+ "@ethersproject/transactions": "^5.0.0-beta.135",
+ "underscore": "1.9.1",
+ "web3-core-helpers": "1.3.5",
+ "web3-core-promievent": "1.3.5",
+ "web3-core-subscriptions": "1.3.5",
+ "web3-utils": "1.3.5"
+ }
+ },
+ "web3-core-promievent": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.3.5.tgz",
+ "integrity": "sha512-K0j8x3ZJr0eAyNvyUCxOUsSTd4hco0/9nxxlyOuijcsa6YV8l9NL6eqhniWbSyxCJT8ka5Mb7yAiUZe69EDLBQ==",
+ "requires": {
+ "eventemitter3": "4.0.4"
+ },
+ "dependencies": {
+ "eventemitter3": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.4.tgz",
+ "integrity": "sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ=="
+ }
+ }
+ },
+ "web3-core-requestmanager": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.3.5.tgz",
+ "integrity": "sha512-9l294U3Ga8qmvv8E37BqjQREfMs+kFnkU3PY28g9DZGYzKvl3V1dgDYqxyrOBdCFhc7rNSpHdgC4PrVHjouspg==",
+ "requires": {
+ "underscore": "1.9.1",
+ "util": "^0.12.0",
+ "web3-core-helpers": "1.3.5",
+ "web3-providers-http": "1.3.5",
+ "web3-providers-ipc": "1.3.5",
+ "web3-providers-ws": "1.3.5"
+ }
+ },
+ "web3-core-subscriptions": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.3.5.tgz",
+ "integrity": "sha512-6mtXdaEB1V1zKLqYBq7RF2W75AK5ZJNGpW6QYC7Zvbku7zq1ZlgaUkJo88JKMWJ7etfaHaYqQ/7VveHk5sQynA==",
+ "requires": {
+ "eventemitter3": "4.0.4",
+ "underscore": "1.9.1",
+ "web3-core-helpers": "1.3.5"
+ },
+ "dependencies": {
+ "eventemitter3": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.4.tgz",
+ "integrity": "sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ=="
+ }
+ }
+ },
+ "web3-eth": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.3.5.tgz",
+ "integrity": "sha512-5qqDPMMD+D0xRqOV2ePU2G7/uQmhn0FgCEhFzKDMHrssDQJyQLW/VgfA0NLn64lWnuUrGnQStGvNxrWf7MgsfA==",
+ "requires": {
+ "underscore": "1.9.1",
+ "web3-core": "1.3.5",
+ "web3-core-helpers": "1.3.5",
+ "web3-core-method": "1.3.5",
+ "web3-core-subscriptions": "1.3.5",
+ "web3-eth-abi": "1.3.5",
+ "web3-eth-accounts": "1.3.5",
+ "web3-eth-contract": "1.3.5",
+ "web3-eth-ens": "1.3.5",
+ "web3-eth-iban": "1.3.5",
+ "web3-eth-personal": "1.3.5",
+ "web3-net": "1.3.5",
+ "web3-utils": "1.3.5"
+ }
+ },
+ "web3-eth-abi": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.3.5.tgz",
+ "integrity": "sha512-bkbG2v/mOW5DH6rF/SEgqunusjYoEi2IBw+fkmD3rzWDaEY7+/i1xY94AeO257d06QMgld75GtV/N+aEs7A6vQ==",
+ "requires": {
+ "@ethersproject/abi": "5.0.7",
+ "underscore": "1.9.1",
+ "web3-utils": "1.3.5"
+ }
+ },
+ "web3-eth-accounts": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.3.5.tgz",
+ "integrity": "sha512-r3WOR21rgm6Cd6OFnifr3Tizdm5K+g2TsSOPySwX4FrgLrYDL6ck4zr5VXUPz+llpSExb/JztpE8pqEHr3U2NA==",
+ "requires": {
+ "crypto-browserify": "3.12.0",
+ "eth-lib": "0.2.8",
+ "ethereumjs-common": "^1.3.2",
+ "ethereumjs-tx": "^2.1.1",
+ "scrypt-js": "^3.0.1",
+ "underscore": "1.9.1",
+ "uuid": "3.3.2",
+ "web3-core": "1.3.5",
+ "web3-core-helpers": "1.3.5",
+ "web3-core-method": "1.3.5",
+ "web3-utils": "1.3.5"
+ },
+ "dependencies": {
+ "eth-lib": {
+ "version": "0.2.8",
+ "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.8.tgz",
+ "integrity": "sha512-ArJ7x1WcWOlSpzdoTBX8vkwlkSQ85CjjifSZtV4co64vWxSV8geWfPI9x4SVYu3DSxnX4yWFVTtGL+j9DUFLNw==",
+ "requires": {
+ "bn.js": "^4.11.6",
+ "elliptic": "^6.4.0",
+ "xhr-request-promise": "^0.1.2"
+ }
},
- "uuid": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz",
- "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w="
+ "ethereumjs-tx": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-2.1.2.tgz",
+ "integrity": "sha512-zZEK1onCeiORb0wyCXUvg94Ve5It/K6GD1K+26KfFKodiBiS6d9lfCXlUKGBBdQ+bv7Day+JK0tj1K+BeNFRAw==",
+ "requires": {
+ "ethereumjs-common": "^1.5.0",
+ "ethereumjs-util": "^6.0.0"
+ }
+ },
+ "ethereumjs-util": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.1.tgz",
+ "integrity": "sha512-W2Ktez4L01Vexijrm5EB6w7dg4n/TgpoYU4avuT5T3Vmnw/eCRtiBrJfQYS/DCSvDIOLn2k57GcHdeBcgVxAqw==",
+ "requires": {
+ "@types/bn.js": "^4.11.3",
+ "bn.js": "^4.11.0",
+ "create-hash": "^1.1.2",
+ "elliptic": "^6.5.2",
+ "ethereum-cryptography": "^0.1.3",
+ "ethjs-util": "0.1.6",
+ "rlp": "^2.2.3"
+ }
+ },
+ "scrypt-js": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz",
+ "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA=="
+ }
+ }
+ },
+ "web3-eth-contract": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.3.5.tgz",
+ "integrity": "sha512-WfGVeQquN3D7Qm+KEIN9EI7yrm/fL2V9Y4+YhDWiKA/ns1pX1LYcEWojTOnBXCnPF3tcvoKKL+KBxXg1iKm38A==",
+ "requires": {
+ "@types/bn.js": "^4.11.5",
+ "underscore": "1.9.1",
+ "web3-core": "1.3.5",
+ "web3-core-helpers": "1.3.5",
+ "web3-core-method": "1.3.5",
+ "web3-core-promievent": "1.3.5",
+ "web3-core-subscriptions": "1.3.5",
+ "web3-eth-abi": "1.3.5",
+ "web3-utils": "1.3.5"
+ }
+ },
+ "web3-eth-ens": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-eth-ens/-/web3-eth-ens-1.3.5.tgz",
+ "integrity": "sha512-5bkpFTXV18CvaVP8kCbLZZm2r1TWUv9AsXH+80yz8bTZulUGvXsBMRfK6e5nfEr2Yv59xlIXCFoalmmySI9EJw==",
+ "requires": {
+ "content-hash": "^2.5.2",
+ "eth-ens-namehash": "2.0.8",
+ "underscore": "1.9.1",
+ "web3-core": "1.3.5",
+ "web3-core-helpers": "1.3.5",
+ "web3-core-promievent": "1.3.5",
+ "web3-eth-abi": "1.3.5",
+ "web3-eth-contract": "1.3.5",
+ "web3-utils": "1.3.5"
+ }
+ },
+ "web3-eth-iban": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.3.5.tgz",
+ "integrity": "sha512-x+BI/d2Vt0J1cKK8eFd4W0f1TDjgEOYCwiViTb28lLE+tqrgyPqWDA+l6UlKYLF/yMFX3Dym4ofcCOtgcn4q4g==",
+ "requires": {
+ "bn.js": "^4.11.9",
+ "web3-utils": "1.3.5"
+ },
+ "dependencies": {
+ "bn.js": {
+ "version": "4.12.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",
+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="
+ }
+ }
+ },
+ "web3-eth-personal": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.3.5.tgz",
+ "integrity": "sha512-xELQHNZ8p3VoO1582ghCaq+Bx7pSkOOalc6/ACOCGtHDMelqgVejrmSIZGScYl+k0HzngmQAzURZWQocaoGM1g==",
+ "requires": {
+ "@types/node": "^12.12.6",
+ "web3-core": "1.3.5",
+ "web3-core-helpers": "1.3.5",
+ "web3-core-method": "1.3.5",
+ "web3-net": "1.3.5",
+ "web3-utils": "1.3.5"
+ },
+ "dependencies": {
+ "@types/node": {
+ "version": "12.20.10",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.10.tgz",
+ "integrity": "sha512-TxCmnSSppKBBOzYzPR2BR25YlX5Oay8z2XGwFBInuA/Co0V9xJhLlW4kjbxKtgeNo3NOMbQP1A5Rc03y+XecPw=="
}
}
},
+ "web3-net": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.3.5.tgz",
+ "integrity": "sha512-usbFbuUpKK8s7jPLGoUzi/WpNnefGFPTj948aJv8BZ04UQA4L/XS5NNkkhk358zNMmhGfEFW8wrWy+0Oy0njtA==",
+ "requires": {
+ "web3-core": "1.3.5",
+ "web3-core-method": "1.3.5",
+ "web3-utils": "1.3.5"
+ }
+ },
"web3-provider-engine": {
"version": "14.0.6",
"resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-14.0.6.tgz",
@@ -25501,37 +65865,142 @@
}
}
},
+ "web3-providers-http": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.3.5.tgz",
+ "integrity": "sha512-ZQOmceFjcajEZdiuqciXjijwIYWNmEJ1oxMtbrwB2eGxHRCMXEH2xGRUZuhOFNF88yQC/VXVi14yvYg5ZlFJlA==",
+ "requires": {
+ "web3-core-helpers": "1.3.5",
+ "xhr2-cookies": "1.1.0"
+ }
+ },
+ "web3-providers-ipc": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.3.5.tgz",
+ "integrity": "sha512-cbZOeb/sALiHjzMolJjIyHla/J5wdL2JKUtRO66Nh/uLALBCpU8JUgzNvpAdJ1ae3+A33+EdFStdzuDYHKtQew==",
+ "requires": {
+ "oboe": "2.1.5",
+ "underscore": "1.9.1",
+ "web3-core-helpers": "1.3.5"
+ }
+ },
+ "web3-providers-ws": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.3.5.tgz",
+ "integrity": "sha512-zeZ4LMvKhYaJBDCqA//Bzgp4r/T0tNq5U/xvN0axA4YflzF7yqlsbzGwCkcZYDbrUaK3Ltl2uOmvwjbWALOZ1A==",
+ "requires": {
+ "eventemitter3": "4.0.4",
+ "underscore": "1.9.1",
+ "web3-core-helpers": "1.3.5",
+ "websocket": "^1.0.32"
+ },
+ "dependencies": {
+ "eventemitter3": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.4.tgz",
+ "integrity": "sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ=="
+ }
+ }
+ },
+ "web3-shh": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.3.5.tgz",
+ "integrity": "sha512-aRwzCduXvuGVslLL/Y15VcOHa70Qr2kxZI7UwOzQVhaaOdxuRRvo3AK/cmyln1Tsd54/n93Yk8I3qg5I2+6alw==",
+ "requires": {
+ "web3-core": "1.3.5",
+ "web3-core-method": "1.3.5",
+ "web3-core-subscriptions": "1.3.5",
+ "web3-net": "1.3.5"
+ }
+ },
"web3-utils": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.2.1.tgz",
- "integrity": "sha512-Mrcn3l58L+yCKz3zBryM6JZpNruWuT0OCbag8w+reeNROSGVlXzUQkU+gtAwc9JCZ7tKUyg67+2YUGqUjVcyBA==",
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.3.5.tgz",
+ "integrity": "sha512-5apMRm8ElYjI/92GHqijmaLC+s+d5lgjpjHft+rJSs/dsnX8I8tQreqev0dmU+wzU+2EEe4Sx9a/OwGWHhQv3A==",
"requires": {
- "bn.js": "4.11.8",
- "eth-lib": "0.2.7",
+ "bn.js": "^4.11.9",
+ "eth-lib": "0.2.8",
+ "ethereum-bloom-filters": "^1.0.6",
"ethjs-unit": "0.1.6",
"number-to-bn": "1.7.0",
- "randomhex": "0.1.5",
+ "randombytes": "^2.1.0",
"underscore": "1.9.1",
"utf8": "3.0.0"
},
"dependencies": {
- "underscore": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz",
- "integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg=="
+ "bn.js": {
+ "version": "4.12.0",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",
+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="
},
- "utf8": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/utf8/-/utf8-3.0.0.tgz",
- "integrity": "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ=="
+ "eth-lib": {
+ "version": "0.2.8",
+ "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.8.tgz",
+ "integrity": "sha512-ArJ7x1WcWOlSpzdoTBX8vkwlkSQ85CjjifSZtV4co64vWxSV8geWfPI9x4SVYu3DSxnX4yWFVTtGL+j9DUFLNw==",
+ "requires": {
+ "bn.js": "^4.11.6",
+ "elliptic": "^6.4.0",
+ "xhr-request-promise": "^0.1.2"
+ }
+ }
+ }
+ },
+ "webidl-conversions": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-2.0.1.tgz",
+ "integrity": "sha1-O/glj30xjHRDw28uFpQCoaZwNQY=",
+ "optional": true
+ },
+ "websocket": {
+ "version": "1.0.34",
+ "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.34.tgz",
+ "integrity": "sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ==",
+ "requires": {
+ "bufferutil": "^4.0.1",
+ "debug": "^2.2.0",
+ "es5-ext": "^0.10.50",
+ "typedarray-to-buffer": "^3.1.5",
+ "utf-8-validate": "^5.0.2",
+ "yaeti": "^0.0.6"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "requires": {
+ "ms": "2.0.0"
+ }
}
}
},
+ "websql": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/websql/-/websql-1.0.0.tgz",
+ "integrity": "sha512-7iZ+u28Ljw5hCnMiq0BCOeSYf0vCFQe/ORY0HgscTiKjQed8WqugpBUggJ2NTnB9fahn1kEnPRX2jf8Px5PhJw==",
+ "optional": true,
+ "requires": {
+ "argsarray": "^0.0.1",
+ "immediate": "^3.2.2",
+ "noop-fn": "^1.0.0",
+ "sqlite3": "^4.0.0",
+ "tiny-queue": "^0.2.1"
+ }
+ },
"whatwg-fetch": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.2.0.tgz",
"integrity": "sha512-SdGPoQMMnzVYThUbSrEvqTlkvC1Ux27NehaJ/GUHBfNrh5Mjg+1/uRyFMwVnxO2MrikMWvWAqUGgQOfVU4hT7w=="
},
+ "whatwg-url-compat": {
+ "version": "0.6.5",
+ "resolved": "https://registry.npmjs.org/whatwg-url-compat/-/whatwg-url-compat-0.6.5.tgz",
+ "integrity": "sha1-AImBEa9om7CXVBzVpFymyHmERb8=",
+ "optional": true,
+ "requires": {
+ "tr46": "~0.0.1"
+ }
+ },
"which": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
@@ -25540,6 +66009,18 @@
"isexe": "^2.0.0"
}
},
+ "which-boxed-primitive": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",
+ "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==",
+ "requires": {
+ "is-bigint": "^1.0.1",
+ "is-boolean-object": "^1.1.0",
+ "is-number-object": "^1.0.4",
+ "is-string": "^1.0.5",
+ "is-symbol": "^1.0.3"
+ }
+ },
"which-module": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
@@ -25551,11 +66032,24 @@
"integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=",
"optional": true
},
+ "which-typed-array": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.4.tgz",
+ "integrity": "sha512-49E0SpUe90cjpoc7BOJwyPHRqSAd12c10Qm2amdEZrJPCY2NDxaW01zHITrem+rnETY3dwrbH3UUrUwagfCYDA==",
+ "requires": {
+ "available-typed-arrays": "^1.0.2",
+ "call-bind": "^1.0.0",
+ "es-abstract": "^1.18.0-next.1",
+ "foreach": "^2.0.5",
+ "function-bind": "^1.1.1",
+ "has-symbols": "^1.0.1",
+ "is-typed-array": "^1.1.3"
+ }
+ },
"wide-align": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz",
"integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==",
- "optional": true,
"requires": {
"string-width": "^1.0.2 || 2"
}
@@ -25597,11 +66091,31 @@
}
}
},
+ "wif": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz",
+ "integrity": "sha1-CNP1IFbGZnkplyb63g1DKudLRwQ=",
+ "optional": true,
+ "requires": {
+ "bs58check": "<3.0.0"
+ }
+ },
+ "window-size": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.2.0.tgz",
+ "integrity": "sha1-tDFbtCFKPXBY6+7okuE/ok2YsHU=",
+ "optional": true
+ },
"wordwrap": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
"integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus="
},
+ "workerpool": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.0.0.tgz",
+ "integrity": "sha512-fU2OcNA/GVAJLLyKUoHkAgIhKb0JoCpSjLC/G2vYKxUjVmQwGbRVeoPJ1a8U4pnVofz4AQV5Y/NEw8oKqxEBtA=="
+ },
"wrap-ansi": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
@@ -25635,6 +66149,23 @@
"signal-exit": "^3.0.2"
}
},
+ "write-stream": {
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/write-stream/-/write-stream-0.4.3.tgz",
+ "integrity": "sha1-g8yMA0fQr2BXqThitOOuAd5cgcE=",
+ "optional": true,
+ "requires": {
+ "readable-stream": "~0.0.2"
+ },
+ "dependencies": {
+ "readable-stream": {
+ "version": "0.0.4",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-0.0.4.tgz",
+ "integrity": "sha1-8y124/uGM0SlSNeZIwBxc2ZbO40=",
+ "optional": true
+ }
+ }
+ },
"ws": {
"version": "5.2.2",
"resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz",
@@ -25674,28 +66205,65 @@
}
},
"xhr-request-promise": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/xhr-request-promise/-/xhr-request-promise-0.1.2.tgz",
- "integrity": "sha1-NDxE0e53JrhkgGloLQ+EDIO0Jh0=",
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/xhr-request-promise/-/xhr-request-promise-0.1.3.tgz",
+ "integrity": "sha512-YUBytBsuwgitWtdRzXDDkWAXzhdGB8bYm0sSzMPZT7Z2MBjMSTHFsyCT1yCRATY+XC69DUrQraRAEgcoCRaIPg==",
"requires": {
- "xhr-request": "^1.0.1"
+ "xhr-request": "^1.1.0"
}
},
+ "xhr2-cookies": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/xhr2-cookies/-/xhr2-cookies-1.1.0.tgz",
+ "integrity": "sha1-fXdEnQmZGX8VXLc7I99yUF7YnUg=",
+ "requires": {
+ "cookiejar": "^2.1.1"
+ }
+ },
+ "xml-name-validator": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-2.0.1.tgz",
+ "integrity": "sha1-TYuPHszTQZqjYgYb7O9RXh5VljU=",
+ "optional": true
+ },
"xmlhttprequest": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz",
"integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw="
},
+ "xss": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/xss/-/xss-1.0.8.tgz",
+ "integrity": "sha512-3MgPdaXV8rfQ/pNn16Eio6VXYPTkqwa0vc7GkiymmY/DqR1SE/7VPAAVZz1GJsJFrllMYO3RHfEaiUGjab6TNw==",
+ "optional": true,
+ "requires": {
+ "commander": "^2.20.3",
+ "cssfilter": "0.0.10"
+ },
+ "dependencies": {
+ "commander": {
+ "version": "2.20.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
+ "optional": true
+ }
+ }
+ },
"xtend": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz",
- "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68="
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
+ "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="
},
"y18n": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
"integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE="
},
+ "yaeti": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz",
+ "integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc="
+ },
"yallist": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",
@@ -25772,11 +66340,184 @@
}
}
},
+ "yargs-unparser": {
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-1.6.1.tgz",
+ "integrity": "sha512-qZV14lK9MWsGCmcr7u5oXGH0dbGqZAIxTDrWXZDo5zUr6b6iUmelNKO6x6R1dQT24AH3LgRxJpr8meWy2unolA==",
+ "requires": {
+ "camelcase": "^5.3.1",
+ "decamelize": "^1.2.0",
+ "flat": "^4.1.0",
+ "is-plain-obj": "^1.1.0",
+ "yargs": "^14.2.3"
+ },
+ "dependencies": {
+ "ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg=="
+ },
+ "cliui": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
+ "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==",
+ "requires": {
+ "string-width": "^3.1.0",
+ "strip-ansi": "^5.2.0",
+ "wrap-ansi": "^5.1.0"
+ }
+ },
+ "find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "requires": {
+ "locate-path": "^3.0.0"
+ }
+ },
+ "get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
+ },
+ "is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8="
+ },
+ "is-plain-obj": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz",
+ "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4="
+ },
+ "locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "requires": {
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
+ }
+ },
+ "p-limit": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "requires": {
+ "p-try": "^2.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "requires": {
+ "p-limit": "^2.0.0"
+ }
+ },
+ "p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
+ },
+ "path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU="
+ },
+ "require-main-filename": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
+ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
+ },
+ "string-width": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
+ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
+ "requires": {
+ "emoji-regex": "^7.0.1",
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^5.1.0"
+ }
+ },
+ "strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "requires": {
+ "ansi-regex": "^4.1.0"
+ }
+ },
+ "wrap-ansi": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
+ "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
+ "requires": {
+ "ansi-styles": "^3.2.0",
+ "string-width": "^3.0.0",
+ "strip-ansi": "^5.0.0"
+ }
+ },
+ "y18n": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
+ "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
+ },
+ "yargs": {
+ "version": "14.2.3",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-14.2.3.tgz",
+ "integrity": "sha512-ZbotRWhF+lkjijC/VhmOT9wSgyBQ7+zr13+YLkhfsSiTriYsMzkTUFP18pFhWwBeMa5gUc1MzbhrO6/VB7c9Xg==",
+ "requires": {
+ "cliui": "^5.0.0",
+ "decamelize": "^1.2.0",
+ "find-up": "^3.0.0",
+ "get-caller-file": "^2.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^2.0.0",
+ "set-blocking": "^2.0.0",
+ "string-width": "^3.0.0",
+ "which-module": "^2.0.0",
+ "y18n": "^4.0.0",
+ "yargs-parser": "^15.0.1"
+ }
+ },
+ "yargs-parser": {
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-15.0.1.tgz",
+ "integrity": "sha512-0OAMV2mAZQrs3FkNpDQcBk1x5HXb8X4twADss4S0Iuk+2dGnLOE/fRHrsYm542GduMveyA77OF4wrNJuanRCWw==",
+ "requires": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ }
+ }
+ }
+ },
"yn": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
"integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==",
"dev": true
+ },
+ "yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q=="
+ },
+ "zen-observable": {
+ "version": "0.8.15",
+ "resolved": "https://registry.npmjs.org/zen-observable/-/zen-observable-0.8.15.tgz",
+ "integrity": "sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ==",
+ "optional": true
+ },
+ "zen-observable-ts": {
+ "version": "0.8.21",
+ "resolved": "https://registry.npmjs.org/zen-observable-ts/-/zen-observable-ts-0.8.21.tgz",
+ "integrity": "sha512-Yj3yXweRc8LdRMrCC8nIc4kkjWecPAUVh0TI0OUrWXx6aX790vLcDlWca6I4vsyCGH3LpWxq0dJRcMOFoVqmeg==",
+ "optional": true,
+ "requires": {
+ "tslib": "^1.9.3",
+ "zen-observable": "^0.8.0"
+ }
}
}
}
diff --git a/package.json b/package.json
index 3c0074bf2..08f2465b7 100644
--- a/package.json
+++ b/package.json
@@ -1,10 +1,10 @@
{
"name": "tokenbridge-contracts",
- "version": "5.7.0-rc0",
+ "version": "5.7.0-rc1",
"description": "Bridge",
"main": "index.js",
"scripts": {
- "test": "scripts/test.sh",
+ "test": "test/test.sh",
"test:gasreport": "GASREPORT=true npm run test",
"test:gasreport:ci": "npm run test:gasreport && npx codechecks",
"compile": "truffle compile",
@@ -15,17 +15,17 @@
"lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"",
"lint:sol:prettier:fix": "prettier --write \"contracts/**/*.sol\"",
"watch-tests": "./node_modules/.bin/nodemon ./node_modules/.bin/truffle test --network test",
- "coverage": "SOLIDITY_COVERAGE=true scripts/test.sh"
+ "coverage": "SOLIDITY_COVERAGE=true npm run test"
},
"author": "POA network",
"license": "GPLv3",
"dependencies": {
"@0x/sol-coverage": "^4.0.10",
"@0x/sol-trace": "^3.0.10",
- "@0x/subproviders": "^6.1.1",
"openzeppelin-solidity": "1.12.0",
- "truffle": "^5.0.35",
- "truffle-flattener": "^1.4.2"
+ "truffle": "^5.3.2",
+ "truffle-flattener": "^1.4.2",
+ "web3-provider-engine": "^14.0.6"
},
"devDependencies": {
"@codechecks/client": "^0.1.9",
@@ -41,7 +41,6 @@
"eth-gas-reporter": "^0.2.11",
"ethereumjs-abi": "0.6.8",
"ethereumjs-util": "5.2.0",
- "ganache-cli": "^6.6.0",
"istanbul": "^0.4.5",
"nodemon": "^1.17.3",
"prettier": "^1.18.2",
diff --git a/scripts/test.sh b/scripts/test.sh
deleted file mode 100755
index b99135d82..000000000
--- a/scripts/test.sh
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/usr/bin/env bash
-
-# Exit script as soon as a command fails.
-set -o errexit
-node_modules/.bin/truffle version
-# Executes cleanup function at script exit.
-trap cleanup EXIT
-
-cleanup() {
- # Kill the ganache instance that we started (if we started one and if it's still running).
- if [ -n "$ganache_pid" ] && ps -p $ganache_pid > /dev/null; then
- kill -9 $ganache_pid
- fi
-}
-
-if [ "$SOLIDITY_COVERAGE" = true ]; then
- ganache_port=8555
-else
- ganache_port=8545
-fi
-
-ganache_running() {
- nc -z localhost "$ganache_port"
-}
-
-start_ganache() {
- # We define 10 accounts with balance 1M ether, needed for high-value tests.
- local accounts=(
- --account="0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501200,1000000000000000000000000"
- --account="0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501201,1000000000000000000000000"
- --account="0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501202,1000000000000000000000000"
- --account="0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501203,1000000000000000000000000"
- --account="0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501204,1000000000000000000000000"
- --account="0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501205,1000000000000000000000000"
- --account="0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501206,1000000000000000000000000"
- --account="0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501207,1000000000000000000000000"
- --account="0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501208,1000000000000000000000000"
- --account="0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501209,1000000000000000000000000"
- --account="0x19fba401d77e4113b15095e9aa7117bcd25adcfac7f6111f8298894eef443600,1000000000000000000000000"
- )
-
- if [ "$SOLIDITY_COVERAGE" != true ]; then
- node_modules/.bin/ganache-cli --gasLimit 0xfffffffffff "${accounts[@]}" > /dev/null &
- fi
-
- ganache_pid=$!
-}
-
-if [ "$SOLIDITY_COVERAGE" != true ]; then
- if ganache_running; then
- echo "Using existing ganache instance"
- else
- echo "Starting our own ganache instance"
- start_ganache
- fi
-fi
-
-if [ "$SOLIDITY_COVERAGE" = true ]; then
- node --max-old-space-size=4096 node_modules/.bin/truffle test 2>/dev/null; istanbul report lcov
-else
- node_modules/.bin/truffle test --network ganache "$@"
-fi
diff --git a/test/amb_erc20_to_native/foreign_mediator.test.js b/test/amb_erc20_to_native/foreign_mediator.test.js
deleted file mode 100644
index 4b23551e3..000000000
--- a/test/amb_erc20_to_native/foreign_mediator.test.js
+++ /dev/null
@@ -1,806 +0,0 @@
-const HomeAMBErc20ToNative = artifacts.require('HomeAMBErc20ToNative.sol')
-const ForeignAMBErc20ToNative = artifacts.require('ForeignAMBErc20ToNative.sol')
-const EternalStorageProxy = artifacts.require('EternalStorageProxy.sol')
-const ERC677BridgeToken = artifacts.require('ERC677BridgeToken.sol')
-const AMBMock = artifacts.require('AMBMock.sol')
-const Sacrifice = artifacts.require('Sacrifice.sol')
-
-const { expect } = require('chai')
-const { getEvents, expectEventInLogs, ether, strip0x } = require('../helpers/helpers')
-const { ZERO_ADDRESS, toBN } = require('../setup')
-
-const ZERO = toBN(0)
-const halfEther = ether('0.5')
-const oneEther = ether('1')
-const twoEthers = ether('2')
-const maxGasPerTx = oneEther
-const dailyLimit = twoEthers
-const maxPerTx = oneEther
-const minPerTx = ether('0.01')
-const executionDailyLimit = dailyLimit
-const executionMaxPerTx = maxPerTx
-const decimalShiftZero = 0
-const exampleMessageId = '0xf308b922ab9f8a7128d9d7bc9bce22cd88b2c05c8213f0e2d8104d78e0a9ecbb'
-const otherMessageId = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
-const failedMessageId = '0x2ebc2ccc755acc8eaf9252e19573af708d644ab63a39619adb080a3500a4ff2e'
-
-contract('ForeignAMBErc20ToNative', async accounts => {
- let contract
- let token
- let ambBridgeContract
- let otherSideMediator
- const owner = accounts[0]
- const user = accounts[1]
- const user2 = accounts[2]
- beforeEach(async () => {
- contract = await ForeignAMBErc20ToNative.new()
- ambBridgeContract = await AMBMock.new()
- await ambBridgeContract.setMaxGasPerTx(maxGasPerTx)
- otherSideMediator = await HomeAMBErc20ToNative.new()
- token = await ERC677BridgeToken.new('TEST', 'TST', 18)
- })
-
- describe('initialize', () => {
- it('should initialize parameters', async () => {
- // Given
- expect(await contract.isInitialized()).to.be.equal(false)
- expect(await contract.bridgeContract()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.dailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.maxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await contract.minPerTx()).to.be.bignumber.equal(ZERO)
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.executionMaxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.decimalShift()).to.be.bignumber.equal(ZERO)
- expect(await contract.owner()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.erc20token()).to.be.equal(ZERO_ADDRESS)
-
- // When
- // not valid bridge address
- await contract.initialize(
- ZERO_ADDRESS,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address
- ).should.be.rejected
-
- // dailyLimit > maxPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [maxPerTx, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address
- ).should.be.rejected
-
- // maxPerTx > minPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, minPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address
- ).should.be.rejected
-
- // executionDailyLimit > executionMaxPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionDailyLimit],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address
- ).should.be.rejected
-
- // maxGasPerTx > bridge maxGasPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- twoEthers,
- decimalShiftZero,
- owner,
- token.address
- ).should.be.rejected
-
- // invalid address
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ZERO_ADDRESS
- ).should.be.rejected
-
- // not valid owner
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- ZERO_ADDRESS,
- token.address
- ).should.be.rejected
-
- // not valid decimal shift
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- 100,
- owner,
- token.address
- ).should.be.rejected
-
- const { logs } = await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address
- ).should.be.fulfilled
-
- // already initialized
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address
- ).should.be.rejected
-
- // Then
- expect(await contract.isInitialized()).to.be.equal(true)
- expect(await contract.bridgeContract()).to.be.equal(ambBridgeContract.address)
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(otherSideMediator.address)
- expect(await contract.dailyLimit()).to.be.bignumber.equal(dailyLimit)
- expect(await contract.maxPerTx()).to.be.bignumber.equal(maxPerTx)
- expect(await contract.minPerTx()).to.be.bignumber.equal(minPerTx)
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal(executionDailyLimit)
- expect(await contract.executionMaxPerTx()).to.be.bignumber.equal(executionMaxPerTx)
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(maxGasPerTx)
- expect(await contract.decimalShift()).to.be.bignumber.equal(ZERO)
- expect(await contract.owner()).to.be.equal(owner)
- expect(await contract.erc20token()).to.be.equal(token.address)
-
- expectEventInLogs(logs, 'ExecutionDailyLimitChanged', { newLimit: executionDailyLimit })
- expectEventInLogs(logs, 'DailyLimitChanged', { newLimit: dailyLimit })
- })
- })
-
- describe('getBridgeMode', () => {
- it('should return mediator mode and interface', async function() {
- const bridgeModeHash = '0xe177c00f' // 4 bytes of keccak256('erc-to-native-amb')
- expect(await contract.getBridgeMode()).to.be.equal(bridgeModeHash)
-
- const { major, minor, patch } = await contract.getBridgeInterfacesVersion()
- major.should.be.bignumber.gte(ZERO)
- minor.should.be.bignumber.gte(ZERO)
- patch.should.be.bignumber.gte(ZERO)
- })
- })
-
- describe('claimTokens', () => {
- beforeEach(async () => {
- const storageProxy = await EternalStorageProxy.new()
- await storageProxy.upgradeTo('1', contract.address).should.be.fulfilled
- contract = await ForeignAMBErc20ToNative.at(storageProxy.address)
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address
- ).should.be.fulfilled
- })
-
- it('should work with token different from bridged token', async () => {
- await token.mint(user, oneEther).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
-
- await token.transfer(contract.address, oneEther, { from: user }).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(oneEther)
-
- await contract.claimTokens(token.address, accounts[3], { from: owner }).should.be.rejected
-
- token = await ERC677BridgeToken.new('Test', 'TST', 18)
-
- await token.mint(user, oneEther).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
-
- await token.transfer(contract.address, oneEther, { from: user }).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(oneEther)
-
- await contract.claimTokens(token.address, accounts[3], { from: owner }).should.be.fulfilled
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(accounts[3])).to.be.bignumber.equal(oneEther)
- })
-
- it('should also work for native coins', async () => {
- // Contract doesn't have a fallback method to accept native tokens so it transfers using a self destruct contract
- await Sacrifice.new(contract.address, { value: oneEther }).catch(() => {})
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(oneEther)
- const balanceBefore = toBN(await web3.eth.getBalance(accounts[3]))
-
- await contract.claimTokens(ZERO_ADDRESS, accounts[3], { from: owner }).should.be.fulfilled
-
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ZERO)
- expect(toBN(await web3.eth.getBalance(accounts[3]))).to.be.bignumber.equal(balanceBefore.add(oneEther))
- })
- })
-
- describe('afterInitialization', () => {
- const value = oneEther
- let currentDay
- beforeEach(async () => {
- await token.mint(user, twoEthers, { from: owner }).should.be.fulfilled
-
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address
- ).should.be.fulfilled
-
- currentDay = await contract.getCurrentDay()
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- const initialEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(initialEvents.length).to.be.equal(0)
- })
-
- describe('onTokenTransfer', () => {
- afterEach(async () => {
- // Total supply remains the same
- expect(await token.totalSupply()).to.be.bignumber.equal(twoEthers)
- })
-
- it('should call AMB bridge and burnt tokens', async () => {
- // only token address can call it
- await contract.onTokenTransfer(user, halfEther, '0x', { from: owner }).should.be.rejected
-
- // must be within limits
- await token.transferAndCall(contract.address, twoEthers, '0x', { from: user }).should.be.rejected
-
- // When
- await token.transferAndCall(contract.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(user).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(halfEther)
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(halfEther)
- })
-
- it('should be able to specify a different receiver', async () => {
- // must be a valid address param
- await token.transferAndCall(contract.address, halfEther, '0x00', { from: user }).should.be.rejected
-
- // When
- await token.transferAndCall(contract.address, halfEther, user2, { from: user }).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(user2).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(halfEther)
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(halfEther)
- })
- })
- describe('relayTokens', () => {
- afterEach(async () => {
- // Total supply remains the same
- expect(await token.totalSupply()).to.be.bignumber.equal(twoEthers)
- })
-
- it('should allow to bridge tokens using approve and transferFrom', async () => {
- // Given
- await token.approve(contract.address, value, { from: user }).should.be.fulfilled
- expect(await token.allowance(user, contract.address)).to.be.bignumber.equal(value)
-
- // When
- await contract.relayTokens(user, value, { from: user }).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(value)
- })
-
- it('should allow to specify a different receiver without specifying sender', async () => {
- // Given
- await token.approve(contract.address, value, { from: user }).should.be.fulfilled
- expect(await token.allowance(user, contract.address)).to.be.bignumber.equal(value)
-
- // When
- await contract.relayTokens(user2, value, { from: user }).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(user2).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(value)
- })
-
- it('should fail if user did not approve the transfer', async () => {
- await contract.relayTokens(user, value, { from: user }).should.be.rejected
- })
-
- it('should fail if value is not within limits', async () => {
- await token.approve(contract.address, twoEthers, { from: user }).should.be.fulfilled
- expect(await token.allowance(user, contract.address)).to.be.bignumber.equal(twoEthers)
-
- await contract.relayTokens(user, twoEthers, { from: user }).should.be.rejected
- })
- })
-
- describe('handleBridgedTokens', () => {
- it('should unlock tokens on message from amb', async () => {
- await token.transferAndCall(contract.address, value, '0x', { from: user }).should.be.fulfilled
- await token.transferAndCall(contract.address, value, '0x', { from: user }).should.be.fulfilled
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(twoEthers)
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(twoEthers)
-
- // can't be called by user
- await contract.handleBridgedTokens(user, value, { from: user }).should.be.rejected
- // can't be called by owner
- await contract.handleBridgedTokens(user, value, { from: owner }).should.be.rejected
-
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- // message must be generated by mediator contract on the other network
- await ambBridgeContract.executeMessageCall(contract.address, owner, data, failedMessageId, 1000000).should.be
- .fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // Then
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(value)
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(value)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(value)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(value)
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(value.toString())
- expect(event[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
-
- for (const decimalShift of [2, -1]) {
- it(`should unlock tokens on message from amb with decimal shift of ${decimalShift}`, async () => {
- // Given
-
- contract = await ForeignAMBErc20ToNative.new()
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShift,
- owner,
- token.address
- ).should.be.fulfilled
- await token.transferAndCall(contract.address, value, '0x', { from: user }).should.be.fulfilled
- await token.transferAndCall(contract.address, value, '0x', { from: user }).should.be.fulfilled
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(twoEthers)
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(twoEthers)
-
- const valueOnForeign = toBN('1000')
- const valueOnHome = toBN(valueOnForeign * 10 ** decimalShift)
-
- const data = await contract.contract.methods.handleBridgedTokens(user, valueOnHome.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // Then
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(valueOnHome)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(valueOnForeign)
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(twoEthers.sub(valueOnForeign))
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(valueOnForeign.toString())
- expect(event[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
-
- it('should revert when out of execution limits on message from amb', async () => {
- await token.transferAndCall(contract.address, value, '0x', { from: user }).should.be.fulfilled
- await token.transferAndCall(contract.address, value, '0x', { from: user }).should.be.fulfilled
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(twoEthers)
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(twoEthers)
-
- // Given
- const outOfLimitValueData = await contract.contract.methods
- .handleBridgedTokens(user, twoEthers.toString())
- .encodeABI()
-
- // when
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- outOfLimitValueData,
- failedMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- // Then
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- })
- }
- })
-
- describe('requestFailedMessageFix', () => {
- it('should allow to request a failed message fix', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- failedMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
- })
-
- it('should be a failed transaction', async () => {
- await token.transferAndCall(contract.address, value, '0x', { from: user }).should.be.fulfilled
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // When
- await contract.requestFailedMessageFix(exampleMessageId).should.be.rejected
- })
-
- it('should be the receiver of the failed transaction', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- ambBridgeContract.address,
- otherSideMediator.address,
- data,
- failedMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.rejected
- })
-
- it('message sender should be mediator from other side', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(contract.address, contract.address, data, failedMessageId, 100)
- .should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.rejected
- })
-
- it('should allow to request a fix multiple times', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- failedMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- await contract.requestFailedMessageFix(failedMessageId).should.be.fulfilled
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.fulfilled
-
- // Then
- const allEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(allEvents.length).to.be.equal(2)
- expect(allEvents[0].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
- expect(allEvents[1].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
- })
- })
-
- describe('fixFailedMessage', () => {
- let transferMessageId
- beforeEach(async function() {
- // User transfer tokens
- await token.transferAndCall(contract.address, value, '0x', { from: user }).should.be.fulfilled
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(value)
-
- expect(await token.balanceOf(user)).to.be.bignumber.equal(value)
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- transferMessageId = events[0].returnValues.messageId
- })
-
- it('should fix locked tokens', async () => {
- // Given
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- // When
- const fixData = await contract.contract.methods.fixFailedMessage(transferMessageId).encodeABI()
-
- // Should be called by mediator from other side so it will fail
- await ambBridgeContract.executeMessageCall(
- contract.address,
- contract.address,
- fixData,
- failedMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- fixData,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- // Then
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(twoEthers)
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(ZERO)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(true)
-
- const event = await getEvents(contract, { event: 'FailedMessageFixed' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.messageId).to.be.equal(transferMessageId)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(value.toString())
-
- // can only fix it one time
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- fixData,
- otherMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(otherMessageId)).to.be.equal(false)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(twoEthers)
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(ZERO)
- })
-
- it('should be called by amb bridge', async () => {
- await contract.fixFailedMessage(transferMessageId, { from: owner }).should.be.rejected
- })
- })
-
- describe('fixFailedMessage with alternative receiver', () => {
- let transferMessageId
- beforeEach(async function() {
- // User transfer tokens
- await token.transferAndCall(contract.address, value, user2, { from: user }).should.be.fulfilled
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(value)
-
- expect(await token.balanceOf(user)).to.be.bignumber.equal(value)
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- transferMessageId = events[0].returnValues.messageId
- })
-
- it('should fix burnt tokens', async () => {
- // Given
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- // When
- const fixData = await contract.contract.methods.fixFailedMessage(transferMessageId).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- fixData,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- // Then
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(twoEthers)
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(ZERO)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(true)
-
- const event = await getEvents(contract, { event: 'FailedMessageFixed' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.messageId).to.be.equal(transferMessageId)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(value.toString())
- })
- })
- })
- describe('fixMediatorBalance', () => {
- let currentDay
- beforeEach(async () => {
- const storageProxy = await EternalStorageProxy.new()
- await storageProxy.upgradeTo('1', contract.address).should.be.fulfilled
- contract = await ForeignAMBErc20ToNative.at(storageProxy.address)
-
- await token.mint(user, twoEthers, { from: owner }).should.be.fulfilled
- await token.mint(contract.address, twoEthers, { from: owner }).should.be.fulfilled
-
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address
- ).should.be.fulfilled
-
- currentDay = await contract.getCurrentDay()
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- const initialEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(initialEvents.length).to.be.equal(0)
- })
-
- it('should allow to fix extra mediator balance', async () => {
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(twoEthers)
-
- await token.transferAndCall(contract.address, halfEther, '0x', { from: user }).should.be.fulfilled
- await contract.setDailyLimit(ether('3')).should.be.fulfilled
- await contract.setMaxPerTx(twoEthers).should.be.fulfilled
-
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(twoEthers.add(halfEther))
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(halfEther)
- let events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
-
- await contract.fixMediatorBalance(owner, { from: user }).should.be.rejected
- await contract.fixMediatorBalance(ZERO_ADDRESS, { from: owner }).should.be.rejected
- await contract.fixMediatorBalance(owner, { from: owner }).should.be.fulfilled
- await contract.fixMediatorBalance(owner, { from: owner }).should.be.rejected
-
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(twoEthers.add(halfEther))
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(twoEthers.add(halfEther))
-
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(twoEthers.add(halfEther))
- events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(2)
- })
-
- it('should allow to fix extra mediator balance with respect to limits', async () => {
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(twoEthers)
-
- await token.transferAndCall(contract.address, halfEther, '0x', { from: user }).should.be.fulfilled
- await contract.setMinPerTx('1').should.be.fulfilled
- await contract.setMaxPerTx(halfEther).should.be.fulfilled
- await contract.setDailyLimit(ether('1.25')).should.be.fulfilled
-
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(twoEthers.add(halfEther))
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(halfEther)
- let events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
-
- await contract.fixMediatorBalance(owner, { from: user }).should.be.rejected
- // should fix 0.5 ether
- await contract.fixMediatorBalance(owner, { from: owner }).should.be.fulfilled
-
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(oneEther)
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(oneEther)
-
- // should fix 0.25 ether
- await contract.fixMediatorBalance(owner, { from: owner }).should.be.fulfilled
- // no remaining daily quota
- await contract.fixMediatorBalance(owner, { from: owner }).should.be.rejected
-
- await contract.setDailyLimit(oneEther).should.be.fulfilled
-
- // no remaining daily quota
- await contract.fixMediatorBalance(owner, { from: owner }).should.be.rejected
-
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(ether('1.25'))
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ether('1.25'))
-
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(twoEthers.add(halfEther))
- events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(3)
- })
- })
-})
diff --git a/test/amb_erc20_to_native/home_mediator.test.js b/test/amb_erc20_to_native/home_mediator.test.js
deleted file mode 100644
index f6a611d53..000000000
--- a/test/amb_erc20_to_native/home_mediator.test.js
+++ /dev/null
@@ -1,1337 +0,0 @@
-const HomeAMBErc20ToNative = artifacts.require('HomeAMBErc20ToNative.sol')
-const BlockReward = artifacts.require('BlockRewardWithoutSystem.sol')
-const ForeignAMBErc20ToNative = artifacts.require('ForeignAMBErc20ToNative.sol')
-const EternalStorageProxy = artifacts.require('EternalStorageProxy.sol')
-const ERC677BridgeToken = artifacts.require('ERC677BridgeToken.sol')
-const AMBMock = artifacts.require('AMBMock.sol')
-const Sacrifice = artifacts.require('Sacrifice.sol')
-
-const { expect } = require('chai')
-const { getEvents, expectEventInLogs, ether, strip0x } = require('../helpers/helpers')
-const { ZERO_ADDRESS, toBN } = require('../setup')
-
-const ZERO = toBN(0)
-const oneEther = ether('1')
-const twoEthers = ether('2')
-const maxGasPerTx = oneEther
-const dailyLimit = twoEthers
-const maxPerTx = oneEther
-const minPerTx = ether('0.01')
-const executionDailyLimit = dailyLimit
-const executionMaxPerTx = maxPerTx
-const decimalShiftZero = 0
-const exampleMessageId = '0xf308b922ab9f8a7128d9d7bc9bce22cd88b2c05c8213f0e2d8104d78e0a9ecbb'
-const otherMessageId = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
-const failedMessageId = '0x2ebc2ccc755acc8eaf9252e19573af708d644ab63a39619adb080a3500a4ff2e'
-
-contract('HomeAMBErc20ToNative', async accounts => {
- let contract
- let blockReward
- let ambBridgeContract
- let otherSideMediator
- const owner = accounts[0]
- const user = accounts[1]
- const user2 = accounts[2]
- beforeEach(async () => {
- contract = await HomeAMBErc20ToNative.new()
- blockReward = await BlockReward.new()
- ambBridgeContract = await AMBMock.new()
- await ambBridgeContract.setMaxGasPerTx(maxGasPerTx)
- otherSideMediator = await ForeignAMBErc20ToNative.new()
- })
-
- describe('initialize', () => {
- it('should initialize parameters', async () => {
- // Given
- expect(await contract.isInitialized()).to.be.equal(false)
- expect(await contract.bridgeContract()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.dailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.maxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await contract.minPerTx()).to.be.bignumber.equal(ZERO)
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.executionMaxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.decimalShift()).to.be.bignumber.equal(ZERO)
- expect(await contract.owner()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.blockRewardContract()).to.be.equal(ZERO_ADDRESS)
-
- // When
- // not valid bridge address
- await contract.initialize(
- ZERO_ADDRESS,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address
- ).should.be.rejected
-
- // dailyLimit > maxPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [maxPerTx, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address
- ).should.be.rejected
-
- // maxPerTx > minPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, minPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address
- ).should.be.rejected
-
- // executionDailyLimit > executionMaxPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionDailyLimit],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address
- ).should.be.rejected
-
- // maxGasPerTx > bridge maxGasPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- twoEthers,
- decimalShiftZero,
- owner,
- blockReward.address
- ).should.be.rejected
-
- // invalid block reward address
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ZERO_ADDRESS
- ).should.be.rejected
-
- // invalid block reward address
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ambBridgeContract.address
- ).should.be.rejected
-
- // not valid owner
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- ZERO_ADDRESS,
- blockReward.address
- ).should.be.rejected
-
- // not valid decimal shift
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- 100,
- owner,
- blockReward.address
- ).should.be.rejected
-
- const { logs } = await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address
- ).should.be.fulfilled
-
- // already initialized
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address
- ).should.be.rejected
-
- // Then
- expect(await contract.isInitialized()).to.be.equal(true)
- expect(await contract.bridgeContract()).to.be.equal(ambBridgeContract.address)
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(otherSideMediator.address)
- expect(await contract.dailyLimit()).to.be.bignumber.equal(dailyLimit)
- expect(await contract.maxPerTx()).to.be.bignumber.equal(maxPerTx)
- expect(await contract.minPerTx()).to.be.bignumber.equal(minPerTx)
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal(executionDailyLimit)
- expect(await contract.executionMaxPerTx()).to.be.bignumber.equal(executionMaxPerTx)
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(maxGasPerTx)
- expect(await contract.decimalShift()).to.be.bignumber.equal(ZERO)
- expect(await contract.owner()).to.be.equal(owner)
- expect(await contract.blockRewardContract()).to.be.equal(blockReward.address)
-
- expectEventInLogs(logs, 'ExecutionDailyLimitChanged', { newLimit: executionDailyLimit })
- expectEventInLogs(logs, 'DailyLimitChanged', { newLimit: dailyLimit })
- })
- })
-
- describe('rewardableInitialize', () => {
- it('should initialize parameters for rewardable mediator', async () => {
- // Given
- expect(await contract.isInitialized()).to.be.equal(false)
- expect(await contract.bridgeContract()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.dailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.maxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await contract.minPerTx()).to.be.bignumber.equal(ZERO)
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.executionMaxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.decimalShift()).to.be.bignumber.equal(ZERO)
- expect(await contract.owner()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.blockRewardContract()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.getFee(await contract.HOME_TO_FOREIGN_FEE())).to.be.bignumber.equal(ZERO)
- expect(await contract.getFee(await contract.FOREIGN_TO_HOME_FEE())).to.be.bignumber.equal(ZERO)
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('0')
- expect(await contract.isRewardAddress(owner)).to.be.equal(false)
- await contract.getFee(exampleMessageId).should.be.rejected
-
- // empty reward list
- await contract.rewardableInitialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address,
- [],
- [ether('0.01'), ether('0.02')]
- ).should.be.rejected
-
- // too high fee
- await contract.rewardableInitialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address,
- [owner],
- [ether('1.01'), ether('0.02')]
- ).should.be.rejected
-
- // too high fee
- await contract.rewardableInitialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address,
- [owner],
- [ether('0.01'), ether('1')]
- ).should.be.rejected
-
- // invalid fees list
- await contract.rewardableInitialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address,
- [owner],
- [ether('0.01')]
- ).should.be.rejected
-
- const { logs } = await contract.rewardableInitialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address,
- [owner],
- [ether('0.01'), ether('0.02')]
- ).should.be.fulfilled
-
- // already initialized
- await contract.rewardableInitialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address,
- [owner],
- [ether('0.01'), ether('0.02')]
- ).should.be.rejected
-
- // already initialized
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address
- ).should.be.rejected
-
- // Then
- expect(await contract.isInitialized()).to.be.equal(true)
- expect(await contract.bridgeContract()).to.be.equal(ambBridgeContract.address)
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(otherSideMediator.address)
- expect(await contract.dailyLimit()).to.be.bignumber.equal(dailyLimit)
- expect(await contract.maxPerTx()).to.be.bignumber.equal(maxPerTx)
- expect(await contract.minPerTx()).to.be.bignumber.equal(minPerTx)
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal(executionDailyLimit)
- expect(await contract.executionMaxPerTx()).to.be.bignumber.equal(executionMaxPerTx)
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(maxGasPerTx)
- expect(await contract.decimalShift()).to.be.bignumber.equal(ZERO)
- expect(await contract.owner()).to.be.equal(owner)
- expect(await contract.blockRewardContract()).to.be.equal(blockReward.address)
- expect(await contract.getFee(await contract.HOME_TO_FOREIGN_FEE())).to.be.bignumber.equal(ether('0.01'))
- expect(await contract.getFee(await contract.FOREIGN_TO_HOME_FEE())).to.be.bignumber.equal(ether('0.02'))
- expect(await contract.rewardAddressList()).to.be.eql([owner])
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('1')
- expect(await contract.isRewardAddress(owner)).to.be.equal(true)
-
- expectEventInLogs(logs, 'ExecutionDailyLimitChanged', { newLimit: executionDailyLimit })
- expectEventInLogs(logs, 'DailyLimitChanged', { newLimit: dailyLimit })
- })
- })
-
- describe('getBridgeMode', () => {
- it('should return mediator mode and interface', async () => {
- const bridgeModeHash = '0xe177c00f' // 4 bytes of keccak256('erc-to-native-amb')
- expect(await contract.getBridgeMode()).to.be.equal(bridgeModeHash)
-
- const { major, minor, patch } = await contract.getBridgeInterfacesVersion()
- major.should.be.bignumber.gte(ZERO)
- minor.should.be.bignumber.gte(ZERO)
- patch.should.be.bignumber.gte(ZERO)
- })
- })
-
- describe('claimTokens', () => {
- beforeEach(async () => {
- const storageProxy = await EternalStorageProxy.new()
- await storageProxy.upgradeTo('1', contract.address).should.be.fulfilled
- contract = await HomeAMBErc20ToNative.at(storageProxy.address)
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address
- ).should.be.fulfilled
- })
-
- it('should work with token different from bridged token', async () => {
- const token = await ERC677BridgeToken.new('TEST', 'TST', 18)
- await token.mint(user, oneEther).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
-
- await token.transfer(contract.address, oneEther, { from: user }).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(oneEther)
-
- await contract.claimTokens(token.address, accounts[3], { from: owner }).should.be.fulfilled
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(accounts[3])).to.be.bignumber.equal(oneEther)
- })
-
- it('should not work for native coins', async () => {
- // Contract doesn't have a fallback method to accept native coins so it transfers using a self destruct contract
- await Sacrifice.new(contract.address, { value: oneEther }).catch(() => {})
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(oneEther)
-
- await contract.claimTokens(ZERO_ADDRESS, accounts[3], { from: owner }).should.be.rejected
- })
- })
-
- describe('afterInitialization', () => {
- const value = oneEther
- let currentDay
- beforeEach(async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address
- ).should.be.fulfilled
-
- currentDay = await contract.getCurrentDay()
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- const initialEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(initialEvents.length).to.be.equal(0)
-
- await blockReward.setBridgeContractAddress(contract.address).should.be.fulfilled
- })
-
- describe('setBlockRewardContract', () => {
- it('should set block reward contract', async () => {
- expect(await contract.blockRewardContract()).to.be.equal(blockReward.address)
-
- const blockReward2 = await BlockReward.new()
- await contract.setBlockRewardContract(blockReward2.address, { from: owner }).should.be.fulfilled
-
- expect(await contract.blockRewardContract()).to.be.equal(blockReward2.address)
- })
-
- it('should fail if not a block reward contract', async () => {
- await contract.setBlockRewardContract(ambBridgeContract.address, { from: owner }).should.be.rejected
- })
-
- it('should fail if not an owner', async () => {
- const blockReward2 = await BlockReward.new()
- await contract.setBlockRewardContract(blockReward2.address, { from: user }).should.be.rejected
- })
- })
-
- describe('handle deposited coins', () => {
- beforeEach(async () => {
- await contract.setExecutionDailyLimit(ether('100')).should.be.fulfilled
- await contract.setExecutionMaxPerTx(ether('10')).should.be.fulfilled
- const data = await contract.contract.methods.handleBridgedTokens(user, ether('10').toString()).encodeABI()
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- await blockReward.reward([], []).should.be.fulfilled
-
- await contract.setExecutionMaxPerTx(maxPerTx).should.be.fulfilled
- await contract.setExecutionDailyLimit(dailyLimit).should.be.fulfilled
-
- expect(await blockReward.mintedTotallyByBridge(contract.address)).to.be.bignumber.equal(ether('10'))
- })
-
- describe('fallback', async () => {
- it('should accept native coins', async () => {
- // When
- await contract.sendTransaction({
- from: user,
- value
- }).should.be.fulfilled
-
- // Then
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(value)
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- // Inlcude user address
- expect(events[0].returnValues.encodedData.includes(strip0x(user).toLowerCase())).to.be.equal(true)
- // Include mediator address
- expect(
- events[0].returnValues.encodedData.includes(strip0x(otherSideMediator.address).toLowerCase())
- ).to.be.equal(true)
- // Include handleBridgedTokens method selector
- expect(events[0].returnValues.encodedData.includes('8b6c0354')).to.be.equal(true)
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ZERO)
- expect(await contract.totalBurntCoins()).to.be.bignumber.equal(ether('1'))
- })
-
- it('native coins amount should be inside limits ', async () => {
- // value > maxPerTx
- await contract.sendTransaction({
- from: user,
- value: twoEthers
- }).should.be.rejected
-
- // value < minPerTx
- await contract.sendTransaction({
- from: user,
- value: ether('0.00001')
- }).should.be.rejected
-
- await contract.sendTransaction({
- from: user,
- value
- }).should.be.fulfilled
-
- await contract.sendTransaction({
- from: user,
- value
- }).should.be.fulfilled
-
- // Total value > dailyLimit
- await contract.sendTransaction({
- from: user,
- value
- }).should.be.rejected
-
- expect(await contract.totalBurntCoins()).to.be.bignumber.equal(ether('2'))
- })
- })
-
- describe('relayTokens', async () => {
- it('should accept native coins and a different receiver', async () => {
- // When
- await contract.relayTokens(user2, {
- from: user,
- value
- }).should.be.fulfilled
-
- // Then
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(value)
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- // Inlcude user2 address
- expect(events[0].returnValues.encodedData.includes(strip0x(user2).toLowerCase())).to.be.equal(true)
- // Include mediator address
- expect(
- events[0].returnValues.encodedData.includes(strip0x(otherSideMediator.address).toLowerCase())
- ).to.be.equal(true)
- // Include handleBridgedTokens method selector
- expect(events[0].returnValues.encodedData.includes('8b6c0354')).to.be.equal(true)
- expect(await contract.totalBurntCoins()).to.be.bignumber.equal(ether('1'))
- })
- it('native coins amount should be inside limits ', async () => {
- // value > maxPerTx
- await contract.relayTokens(user2, {
- from: user,
- value: twoEthers
- }).should.be.rejected
-
- // value < minPerTx
- await contract.relayTokens(user2, {
- from: user,
- value: ether('0.00001')
- }).should.be.rejected
-
- await contract.relayTokens(user2, {
- from: user,
- value
- }).should.be.fulfilled
-
- expect(await contract.totalBurntCoins()).to.be.bignumber.equal(ether('1'))
-
- await contract.relayTokens(user2, {
- from: user,
- value
- }).should.be.fulfilled
-
- // Total value > dailyLimit
- await contract.relayTokens(user2, {
- from: user,
- value
- }).should.be.rejected
-
- expect(await contract.totalBurntCoins()).to.be.bignumber.equal(ether('2'))
- })
- })
-
- describe('fixFailedMessage', () => {
- let transferMessageId
- beforeEach(async () => {
- // User transfer coins
- await contract.sendTransaction({
- from: user,
- value
- }).should.be.fulfilled
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- transferMessageId = events[0].returnValues.messageId
- })
-
- it('should fix locked tokens', async () => {
- // Given
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- // When
- const fixData = await contract.contract.methods.fixFailedMessage(transferMessageId).encodeABI()
-
- // Should be called by mediator from other side so it will fail
- await ambBridgeContract.executeMessageCall(
- contract.address,
- contract.address,
- fixData,
- failedMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- fixData,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- // Then
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(await blockReward.bridgeAmount(contract.address)).to.be.bignumber.equal(value)
- expect(await blockReward.extraReceiversLength()).to.be.bignumber.equal('1')
- expect(await blockReward.extraReceiverByIndex(0)).to.be.equal(user)
- expect(await blockReward.extraReceiverAmount(user)).to.be.bignumber.equal(value)
-
- const { receipt } = await blockReward.reward([], []).should.be.fulfilled
-
- expect(await blockReward.extraReceiversLength()).to.be.bignumber.equal('0')
- expect(await blockReward.extraReceiverAmount(user)).to.be.bignumber.equal(ZERO)
- expect(await blockReward.mintedForAccountInBlock(user, receipt.blockNumber)).to.be.bignumber.equal(value)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(true)
-
- const event = await getEvents(contract, { event: 'FailedMessageFixed' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.messageId).to.be.equal(transferMessageId)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(value.toString())
-
- // can only fix it one time
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- fixData,
- otherMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(otherMessageId)).to.be.equal(false)
- })
-
- it('should be called by amb bridge', async () => {
- await contract.fixFailedMessage(transferMessageId, { from: owner }).should.be.rejected
- })
- })
-
- describe('fixFailedMessage with alternative receiver', () => {
- let transferMessageId
- beforeEach(async () => {
- // User transfer tokens
- await contract.relayTokens(user2, {
- from: user,
- value
- }).should.be.fulfilled
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- transferMessageId = events[0].returnValues.messageId
- })
-
- it('should fix burnt tokens', async () => {
- // Given
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- // When
- const fixData = await contract.contract.methods.fixFailedMessage(transferMessageId).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- fixData,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- // Then
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(await blockReward.bridgeAmount(contract.address)).to.be.bignumber.equal(value)
- expect(await blockReward.extraReceiversLength()).to.be.bignumber.equal('1')
- expect(await blockReward.extraReceiverByIndex(0)).to.be.equal(user)
- expect(await blockReward.extraReceiverAmount(user)).to.be.bignumber.equal(value)
-
- const { receipt } = await blockReward.reward([], []).should.be.fulfilled
-
- expect(await blockReward.extraReceiversLength()).to.be.bignumber.equal('0')
- expect(await blockReward.extraReceiverAmount(user)).to.be.bignumber.equal(ZERO)
- expect(await blockReward.mintedForAccountInBlock(user, receipt.blockNumber)).to.be.bignumber.equal(value)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(true)
-
- const event = await getEvents(contract, { event: 'FailedMessageFixed' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.messageId).to.be.equal(transferMessageId)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(value.toString())
- })
- })
- })
-
- describe('handleBridgedTokens', () => {
- it('should add extra receiver tokens on message from amb', async () => {
- // can't be called by user
- await contract.handleBridgedTokens(user, value, { from: user }).should.be.rejected
- // can't be called by owner
- await contract.handleBridgedTokens(user, value, { from: owner }).should.be.rejected
-
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- // message must be generated by mediator contract on the other network
- await ambBridgeContract.executeMessageCall(contract.address, owner, data, failedMessageId, 1000000).should.be
- .fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // Then
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(value)
- expect(await blockReward.bridgeAmount(contract.address)).to.be.bignumber.equal(value)
- expect(await blockReward.extraReceiversLength()).to.be.bignumber.equal('1')
- expect(await blockReward.extraReceiverByIndex(0)).to.be.equal(user)
- expect(await blockReward.extraReceiverAmount(user)).to.be.bignumber.equal(value)
- expect(await blockReward.mintedTotallyByBridge(contract.address)).to.be.bignumber.equal(ZERO)
-
- const { receipt } = await blockReward.reward([], []).should.be.fulfilled
-
- expect(await blockReward.extraReceiversLength()).to.be.bignumber.equal('0')
- expect(await blockReward.extraReceiverAmount(user)).to.be.bignumber.equal(ZERO)
- expect(await blockReward.mintedTotallyByBridge(contract.address)).to.be.bignumber.equal(value)
- expect(await blockReward.mintedTotally()).to.be.bignumber.equal(value)
- expect(await blockReward.mintedForAccount(user)).to.be.bignumber.equal(value)
- expect(await blockReward.mintedInBlock(receipt.blockNumber)).to.be.bignumber.equal(value)
- expect(await blockReward.mintedForAccountInBlock(user, receipt.blockNumber)).to.be.bignumber.equal(value)
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(value.toString())
- expect(event[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
-
- for (const decimalShift of [2, -1]) {
- it(`should unlock tokens on message from amb with decimal shift of ${decimalShift}`, async () => {
- // Given
- contract = await HomeAMBErc20ToNative.new()
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShift,
- owner,
- blockReward.address
- ).should.be.fulfilled
- await blockReward.setBridgeContractAddress(contract.address)
-
- const valueOnForeign = toBN('1000')
- const valueOnHome = toBN(valueOnForeign * 10 ** decimalShift)
-
- const data = await contract.contract.methods.handleBridgedTokens(user, valueOnForeign.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // Then
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(valueOnForeign)
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(valueOnHome.toString())
- expect(event[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
- }
-
- it('should revert when out of execution limits on message from amb', async () => {
- // Given
- const outOfLimitValueData = await contract.contract.methods
- .handleBridgedTokens(user, twoEthers.toString())
- .encodeABI()
-
- // when
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- outOfLimitValueData,
- failedMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- // Then
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- })
- })
-
- describe('requestFailedMessageFix', () => {
- it('should allow to request a failed message fix', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- failedMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
- })
-
- it('should be a failed transaction', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // When
- await contract.requestFailedMessageFix(exampleMessageId).should.be.rejected
- })
-
- it('should be the receiver of the failed transaction', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- ambBridgeContract.address,
- otherSideMediator.address,
- data,
- failedMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.rejected
- })
-
- it('message sender should be mediator from other side', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(contract.address, contract.address, data, failedMessageId, 100)
- .should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.rejected
- })
-
- it('should allow to request a fix multiple times', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- failedMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- await contract.requestFailedMessageFix(failedMessageId).should.be.fulfilled
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.fulfilled
-
- // Then
- const allEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(allEvents.length).to.be.equal(2)
- expect(allEvents[0].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
- expect(allEvents[1].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
- })
- })
-
- describe('fixMediatorBalance', () => {
- beforeEach(async () => {
- const storageProxy = await EternalStorageProxy.new()
- await storageProxy.upgradeTo('1', contract.address).should.be.fulfilled
- contract = await HomeAMBErc20ToNative.at(storageProxy.address)
-
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [ether('5'), maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address
- ).should.be.fulfilled
-
- await blockReward.setBridgeContractAddress(contract.address).should.be.fulfilled
-
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await contract.totalBurntCoins()).to.be.bignumber.equal(ZERO)
- })
- it('should fix mediator imbalance', async () => {
- // force some native tokens to the contract without calling the fallback method
- await Sacrifice.new(contract.address, { value: ether('0.1') }).catch(() => {})
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ether('0.1'))
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
-
- // When
- // only owner can call the method
- await contract.fixMediatorBalance(user, { from: user }).should.be.rejected
-
- await contract.fixMediatorBalance(ZERO_ADDRESS, { from: owner }).should.be.rejected
-
- await contract.fixMediatorBalance(user, { from: owner }).should.be.fulfilled
-
- expect(await contract.totalBurntCoins()).to.be.bignumber.equal(ether('0.1'))
-
- // imbalance was already fixed
- await contract.fixMediatorBalance(user, { from: owner }).should.be.rejected
-
- // Then
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ZERO)
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ether('0.1'))
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- // Include user address
- expect(events[0].returnValues.encodedData.includes(strip0x(user).toLowerCase())).to.be.equal(true)
- // Include mediator address
- expect(
- events[0].returnValues.encodedData.includes(strip0x(otherSideMediator.address).toLowerCase())
- ).to.be.equal(true)
- // Include handleBridgedTokens method selector
- expect(events[0].returnValues.encodedData.includes('8b6c0354')).to.be.equal(true)
- })
-
- it('should fix mediator imbalance with respect to limits', async () => {
- // force some native tokens to the contract without calling the fallback method
- await Sacrifice.new(contract.address, { value: oneEther }).catch(() => {})
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(oneEther)
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
-
- await contract.setMinPerTx('1').should.be.fulfilled
- await contract.setMaxPerTx(ether('0.5')).should.be.fulfilled
-
- // When
- // only owner can call the method
- await contract.fixMediatorBalance(user, { from: user }).should.be.rejected
-
- await contract.fixMediatorBalance(user, { from: owner }).should.be.fulfilled
-
- expect(await contract.totalBurntCoins()).to.be.bignumber.equal(ether('0.5'))
-
- await contract.setDailyLimit(ether('0.75')).should.be.fulfilled
-
- await contract.fixMediatorBalance(user, { from: owner }).should.be.fulfilled
-
- expect(await contract.totalBurntCoins()).to.be.bignumber.equal(ether('0.75'))
-
- // daily limit quota reached
- await contract.fixMediatorBalance(user, { from: owner }).should.be.rejected
-
- await contract.setDailyLimit(ether('0.6')).should.be.fulfilled
-
- // daily limit quota reached
- await contract.fixMediatorBalance(user, { from: owner }).should.be.rejected
-
- // Then
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ether('0.25'))
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ether('0.75'))
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(2)
- // Include user address
- expect(events[0].returnValues.encodedData.includes(strip0x(user).toLowerCase())).to.be.equal(true)
- // Include mediator address
- expect(
- events[0].returnValues.encodedData.includes(strip0x(otherSideMediator.address).toLowerCase())
- ).to.be.equal(true)
- // Include handleBridgedTokens method selector
- expect(events[0].returnValues.encodedData.includes('8b6c0354')).to.be.equal(true)
- })
- })
- })
-
- describe('fee management', () => {
- const value = oneEther
- let currentDay
-
- beforeEach(async () => {
- await contract.rewardableInitialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address,
- [owner],
- [ether('0.01'), ether('0.02')]
- ).should.be.fulfilled
- await blockReward.setBridgeContractAddress(contract.address).should.be.fulfilled
-
- currentDay = await contract.getCurrentDay()
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- const initialEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(initialEvents.length).to.be.equal(0)
- })
-
- it('change reward addresses', async () => {
- await contract.addRewardAddress(accounts[8], { from: user }).should.be.rejected
- await contract.addRewardAddress(owner).should.be.rejected
- await contract.addRewardAddress(accounts[8]).should.be.fulfilled
-
- expect(await contract.rewardAddressList()).to.be.eql([accounts[8], owner])
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('2')
- expect(await contract.isRewardAddress(owner)).to.be.equal(true)
- expect(await contract.isRewardAddress(accounts[8])).to.be.equal(true)
-
- await contract.addRewardAddress(accounts[9]).should.be.fulfilled
- expect(await contract.rewardAddressList()).to.be.eql([accounts[9], accounts[8], owner])
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('3')
-
- await contract.removeRewardAddress(owner, { from: user }).should.be.rejected
- await contract.removeRewardAddress(accounts[7]).should.be.rejected
- await contract.removeRewardAddress(accounts[8]).should.be.fulfilled
- await contract.removeRewardAddress(accounts[8]).should.be.rejected
-
- expect(await contract.rewardAddressList()).to.be.eql([accounts[9], owner])
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('2')
- expect(await contract.isRewardAddress(accounts[8])).to.be.equal(false)
-
- await contract.removeRewardAddress(owner).should.be.fulfilled
- expect(await contract.rewardAddressList()).to.be.eql([accounts[9]])
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('1')
- expect(await contract.isRewardAddress(owner)).to.be.equal(false)
-
- await contract.removeRewardAddress(accounts[9]).should.be.fulfilled
- expect(await contract.rewardAddressList()).to.be.eql([])
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('0')
- expect(await contract.isRewardAddress(accounts[9])).to.be.equal(false)
- })
-
- describe('update fee parameters', () => {
- it('should update fee value', async () => {
- const feeType = await contract.HOME_TO_FOREIGN_FEE()
- await contract.setFee(feeType, ether('0.1'), { from: user }).should.be.rejected
- await contract.setFee(feeType, ether('1.1'), { from: owner }).should.be.rejected
- const { logs } = await contract.setFee(feeType, ether('0.1'), { from: owner }).should.be.fulfilled
-
- expectEventInLogs(logs, 'FeeUpdated')
- expect(await contract.getFee(feeType)).to.be.bignumber.equal(ether('0.1'))
- expect(await contract.getFee(await contract.FOREIGN_TO_HOME_FEE())).to.be.bignumber.equal(ether('0.02'))
- })
-
- it('should update opposite direction fee value', async () => {
- const feeType = await contract.FOREIGN_TO_HOME_FEE()
-
- await contract.setFee(feeType, ether('0.1'), { from: user }).should.be.rejected
- await contract.setFee(feeType, ether('1.1'), { from: owner }).should.be.rejected
- const { logs } = await contract.setFee(feeType, ether('0.1'), { from: owner }).should.be.fulfilled
-
- expectEventInLogs(logs, 'FeeUpdated')
- expect(await contract.getFee(feeType)).to.be.bignumber.equal(ether('0.1'))
- expect(await contract.getFee(await contract.HOME_TO_FOREIGN_FEE())).to.be.bignumber.equal(ether('0.01'))
- })
- })
-
- describe('distribute fee for foreign => home direction', async () => {
- it('should collect and distribute 0% fee', async () => {
- await contract.setFee(await contract.FOREIGN_TO_HOME_FEE(), ZERO).should.be.fulfilled
-
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(value)
- expect(await blockReward.extraReceiversLength()).to.be.bignumber.equal('1')
- expect(await blockReward.extraReceiverByIndex(0)).to.be.equal(user)
- expect(await blockReward.extraReceiverAmount(user)).to.be.bignumber.equal(value)
- expect(await contract.totalBurntCoins()).to.be.bignumber.equal(ZERO)
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(value.toString())
- expect(event[0].returnValues.messageId).to.be.equal(exampleMessageId)
-
- const feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(0)
- })
-
- it('should collect and distribute 2% fee', async () => {
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(value)
- expect(await blockReward.extraReceiversLength()).to.be.bignumber.equal('2')
- expect(await blockReward.extraReceiverByIndex(1)).to.be.equal(user)
- expect(await blockReward.extraReceiverByIndex(0)).to.be.equal(owner)
- expect(await blockReward.extraReceiverAmount(user)).to.be.bignumber.equal(ether('0.98'))
- expect(await blockReward.extraReceiverAmount(owner)).to.be.bignumber.equal(ether('0.02'))
- expect(await blockReward.mintedTotallyByBridge(contract.address)).to.be.bignumber.equal(ZERO)
-
- const { receipt } = await blockReward.reward([], []).should.be.fulfilled
-
- expect(await blockReward.extraReceiversLength()).to.be.bignumber.equal('0')
- expect(await blockReward.extraReceiverAmount(user)).to.be.bignumber.equal(ZERO)
- expect(await blockReward.mintedTotallyByBridge(contract.address)).to.be.bignumber.equal(value)
- expect(await blockReward.mintedTotally()).to.be.bignumber.equal(value)
- expect(await blockReward.mintedForAccount(user)).to.be.bignumber.equal(ether('0.98'))
- expect(await blockReward.mintedInBlock(receipt.blockNumber)).to.be.bignumber.equal(value)
- expect(await blockReward.mintedForAccountInBlock(user, receipt.blockNumber)).to.be.bignumber.equal(
- ether('0.98')
- )
- expect(await contract.totalBurntCoins()).to.be.bignumber.equal(ZERO)
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(ether('0.98').toString())
- expect(event[0].returnValues.messageId).to.be.equal(exampleMessageId)
-
- const feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(1)
- })
-
- it('should collect and distribute 2% fee between two reward addresses', async () => {
- await contract.addRewardAddress(accounts[9]).should.be.fulfilled
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('2')
-
- const data = await contract.contract.methods
- .handleBridgedTokens(user, ether('0.100000000000000100').toString(10))
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(ether('0.100000000000000100'))
- expect(await blockReward.extraReceiversLength()).to.be.bignumber.equal('3')
- expect(await blockReward.extraReceiverByIndex(0)).to.be.equal(accounts[9])
- expect(await blockReward.extraReceiverByIndex(1)).to.be.equal(owner)
- expect(await blockReward.extraReceiverByIndex(2)).to.be.equal(user)
- const amount1 = await blockReward.extraReceiverAmount(owner)
- const amount2 = await blockReward.extraReceiverAmount(accounts[9])
- expect(amount1.eq(ether('0.001')) || amount1.eq(ether('0.001000000000000001'))).to.be.equal(true)
- expect(amount2.eq(ether('0.001')) || amount2.eq(ether('0.001000000000000001'))).to.be.equal(true)
- expect(await blockReward.mintedTotallyByBridge(contract.address)).to.be.bignumber.equal(ZERO)
-
- await blockReward.reward([], []).should.be.fulfilled
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
-
- const feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(1)
- })
- })
-
- describe('distribute fee for home => foreign direction', async () => {
- beforeEach(async () => {
- await contract.setFee(await contract.FOREIGN_TO_HOME_FEE(), ZERO).should.be.fulfilled
-
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- await blockReward.reward([], []).should.be.fulfilled
- })
-
- it('should collect and distribute 0% fee', async () => {
- await contract.setFee(await contract.HOME_TO_FOREIGN_FEE(), ZERO).should.be.fulfilled
-
- const initialRewardBalance = toBN(await web3.eth.getBalance(owner))
-
- await contract.sendTransaction({
- from: user,
- value
- })
-
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(value)
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
-
- expect(events[0].returnValues.encodedData.includes('8b6c0354')).to.be.equal(true)
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ZERO)
- expect(toBN(await web3.eth.getBalance(owner))).to.be.bignumber.equal(initialRewardBalance)
- expect(await contract.totalBurntCoins()).to.be.bignumber.equal(value)
-
- const feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(0)
- })
-
- it('should collect and distribute 1% fee', async () => {
- const initialRewardBalance = toBN(await web3.eth.getBalance(owner))
-
- await contract.sendTransaction({
- from: user,
- value
- })
-
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(value)
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
-
- expect(events[0].returnValues.encodedData.includes('8b6c0354')).to.be.equal(true)
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ZERO)
- expect(toBN(await web3.eth.getBalance(owner))).to.be.bignumber.equal(initialRewardBalance.add(ether('0.01')))
- expect(await contract.totalBurntCoins()).to.be.bignumber.equal(ether('0.99'))
-
- const feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(1)
- })
-
- it('should collect and distribute 1% fee between two reward addresses', async () => {
- await contract.addRewardAddress(accounts[9]).should.be.fulfilled
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('2')
-
- const initialBalance1 = toBN(await web3.eth.getBalance(owner))
- const initialBalance2 = toBN(await web3.eth.getBalance(accounts[9]))
-
- await contract.sendTransaction({
- from: user,
- value: ether('0.200000000000000100')
- })
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
-
- expect(events[0].returnValues.encodedData.includes('8b6c0354')).to.be.equal(true)
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ZERO)
-
- const balance1 = toBN(await web3.eth.getBalance(owner))
- const balance2 = toBN(await web3.eth.getBalance(accounts[9]))
- expect(
- balance1.eq(initialBalance1.add(ether('0.001'))) ||
- balance1.eq(initialBalance1.add(ether('0.001000000000000001')))
- ).to.be.equal(true)
- expect(
- balance2.eq(initialBalance2.add(ether('0.001'))) ||
- balance2.eq(initialBalance2.add(ether('0.001000000000000001')))
- ).to.be.equal(true)
-
- const feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(1)
- })
- })
- })
-})
diff --git a/test/amb_native_to_erc20/foreign_mediator.test.js b/test/amb_native_to_erc20/foreign_mediator.test.js
deleted file mode 100644
index 9235b7ea2..000000000
--- a/test/amb_native_to_erc20/foreign_mediator.test.js
+++ /dev/null
@@ -1,1560 +0,0 @@
-const HomeAMBNativeToErc20 = artifacts.require('HomeAMBNativeToErc20.sol')
-const ForeignAMBNativeToErc20 = artifacts.require('ForeignAMBNativeToErc20.sol')
-const EternalStorageProxy = artifacts.require('EternalStorageProxy.sol')
-const ERC677BridgeToken = artifacts.require('ERC677BridgeToken.sol')
-const NoReturnTransferTokenMock = artifacts.require('NoReturnTransferTokenMock.sol')
-const ForeignFeeManagerAMBNativeToErc20 = artifacts.require('ForeignFeeManagerAMBNativeToErc20.sol')
-const AMBMock = artifacts.require('AMBMock.sol')
-const Sacrifice = artifacts.require('Sacrifice.sol')
-const ERC20Mock = artifacts.require('ERC20Mock.sol')
-const FeeReceiverMock = artifacts.require('FeeReceiverMock.sol')
-
-const { expect } = require('chai')
-const { getEvents, expectEventInLogs, ether, strip0x, createAccounts } = require('../helpers/helpers')
-const { ZERO_ADDRESS, ERROR_MSG, toBN } = require('../setup')
-
-const ZERO = toBN(0)
-const halfEther = ether('0.5')
-const oneEther = ether('1')
-const twoEthers = ether('2')
-const maxGasPerTx = oneEther
-const dailyLimit = twoEthers
-const maxPerTx = oneEther
-const minPerTx = ether('0.01')
-const executionDailyLimit = dailyLimit
-const executionMaxPerTx = maxPerTx
-const decimalShiftZero = 0
-const exampleMessageId = '0xf308b922ab9f8a7128d9d7bc9bce22cd88b2c05c8213f0e2d8104d78e0a9ecbb'
-const otherMessageId = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
-const failedMessageId = '0x2ebc2ccc755acc8eaf9252e19573af708d644ab63a39619adb080a3500a4ff2e'
-// 0.1% fee
-const fee = ether('0.001')
-
-contract('ForeignAMBNativeToErc20', async accounts => {
- let contract
- let token
- let ambBridgeContract
- let otherSideMediatorContract
- const owner = accounts[0]
- const user = accounts[1]
- const user2 = accounts[2]
- const rewardAccount = accounts[3]
- const rewardAccount2 = accounts[4]
- const rewardAccount3 = accounts[5]
- let rewardAccountList = [rewardAccount, rewardAccount2, rewardAccount3]
- beforeEach(async () => {
- contract = await ForeignAMBNativeToErc20.new()
- ambBridgeContract = await AMBMock.new()
- await ambBridgeContract.setMaxGasPerTx(maxGasPerTx)
- otherSideMediatorContract = await HomeAMBNativeToErc20.new()
- token = await ERC677BridgeToken.new('TEST', 'TST', 18)
- await token.setBridgeContract(contract.address)
- })
- describe('initialize', () => {
- let feeManager
- beforeEach(async () => {
- feeManager = await ForeignFeeManagerAMBNativeToErc20.new(
- owner,
- fee,
- rewardAccountList,
- contract.address,
- token.address
- )
- })
- it('should initialize parameters', async () => {
- // Given
- expect(await contract.isInitialized()).to.be.equal(false)
- expect(await contract.bridgeContract()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.dailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.maxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await contract.minPerTx()).to.be.bignumber.equal(ZERO)
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.executionMaxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.decimalShift()).to.be.bignumber.equal(ZERO)
- expect(await contract.owner()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.erc677token()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.feeManagerContract()).to.be.equal(ZERO_ADDRESS)
-
- // When
- // not valid bridge address
- await contract
- .initialize(
- ZERO_ADDRESS,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- feeManager.address
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // dailyLimit > maxPerTx
- await contract
- .initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [maxPerTx, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- feeManager.address
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // maxPerTx > minPerTx
- await contract
- .initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, minPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- feeManager.address
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // executionDailyLimit > executionMaxPerTx
- await contract
- .initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionDailyLimit],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- feeManager.address
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // maxGasPerTx > bridge maxGasPerTx
- await contract
- .initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- twoEthers,
- decimalShiftZero,
- owner,
- token.address,
- feeManager.address
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // invalid address
- await contract
- .initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ZERO_ADDRESS,
- feeManager.address
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // not valid owner
- await contract
- .initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- ZERO_ADDRESS,
- token.address,
- feeManager.address
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // not valid fee manager address
- await contract
- .initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- user
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // not valid decimal shift
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- 100,
- owner,
- token.address,
- feeManager.address
- ).should.be.rejected
-
- const { logs } = await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- feeManager.address
- ).should.be.fulfilled
-
- // already initialized
- await contract
- .initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- feeManager.address
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // Then
- expect(await contract.isInitialized()).to.be.equal(true)
- expect(await contract.bridgeContract()).to.be.equal(ambBridgeContract.address)
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(otherSideMediatorContract.address)
- expect(await contract.dailyLimit()).to.be.bignumber.equal(dailyLimit)
- expect(await contract.maxPerTx()).to.be.bignumber.equal(maxPerTx)
- expect(await contract.minPerTx()).to.be.bignumber.equal(minPerTx)
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal(executionDailyLimit)
- expect(await contract.executionMaxPerTx()).to.be.bignumber.equal(executionMaxPerTx)
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(maxGasPerTx)
- expect(await contract.decimalShift()).to.be.bignumber.equal(ZERO)
- expect(await contract.owner()).to.be.equal(owner)
- expect(await contract.erc677token()).to.be.equal(token.address)
- expect(await contract.feeManagerContract()).to.be.equal(feeManager.address)
-
- expectEventInLogs(logs, 'ExecutionDailyLimitChanged', { newLimit: executionDailyLimit })
- expectEventInLogs(logs, 'DailyLimitChanged', { newLimit: dailyLimit })
- })
- it('should initialize with zero fee manager address', async () => {
- // Given
- expect(await contract.feeManagerContract()).to.be.equal(ZERO_ADDRESS)
-
- // When
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- ZERO_ADDRESS
- ).should.be.fulfilled
-
- // Then
- expect(await contract.isInitialized()).to.be.equal(true)
- expect(await contract.feeManagerContract()).to.be.equal(ZERO_ADDRESS)
- })
- })
- describe('set amb bridge params', () => {
- beforeEach(async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- ZERO_ADDRESS
- ).should.be.fulfilled
- })
- it('only owner can set bridge contract', async () => {
- const notAContractAddress = accounts[2]
-
- expect(await contract.bridgeContract()).to.be.equal(ambBridgeContract.address)
-
- const newBridgeContract = await AMBMock.new()
-
- await contract.setBridgeContract(newBridgeContract.address, { from: user }).should.be.rejectedWith(ERROR_MSG)
- await contract.setBridgeContract(notAContractAddress, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.setBridgeContract(newBridgeContract.address, { from: owner }).should.be.fulfilled
- expect(await contract.bridgeContract()).to.be.equal(newBridgeContract.address)
- })
- it('only owner can set mediator contract', async () => {
- const user = accounts[1]
-
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(otherSideMediatorContract.address)
-
- const newMediatorContract = await ForeignAMBNativeToErc20.new()
-
- await contract
- .setMediatorContractOnOtherSide(newMediatorContract.address, { from: user })
- .should.be.rejectedWith(ERROR_MSG)
-
- await contract.setMediatorContractOnOtherSide(newMediatorContract.address, { from: owner }).should.be.fulfilled
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(newMediatorContract.address)
- })
- it('only owner can set request Gas Limit', async () => {
- const user = accounts[1]
-
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(maxGasPerTx)
-
- const newMaxGasPerTx = ether('0.5')
- const invalidMaxGasPerTx = ether('1.5')
-
- await contract.setRequestGasLimit(newMaxGasPerTx, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- // invalidMaxGasPerTx > ambBridgeContract.maxGasPerTx
- await contract.setRequestGasLimit(invalidMaxGasPerTx, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.setRequestGasLimit(newMaxGasPerTx, { from: owner }).should.be.fulfilled
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(newMaxGasPerTx)
- })
- })
- describe('set limits', () => {
- beforeEach(async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [3, 2, 1],
- [3, 2],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- ZERO_ADDRESS
- ).should.be.fulfilled
- })
- it('setMaxPerTx allows to set only to owner and cannot be more than daily limit', async () => {
- await contract.setMaxPerTx(2, { from: user }).should.be.rejectedWith(ERROR_MSG)
- await contract.setMaxPerTx(2, { from: owner }).should.be.fulfilled
- expect(await contract.maxPerTx()).to.be.bignumber.equal('2')
-
- await contract.setMaxPerTx(3, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
- it('setMinPerTx allows to set only to owner and cannot be more than daily limit and should be less than maxPerTx', async () => {
- await contract.setMinPerTx(1, { from: user }).should.be.rejectedWith(ERROR_MSG)
- await contract.setMinPerTx(1, { from: owner }).should.be.fulfilled
- expect(await contract.minPerTx()).to.be.bignumber.equal('1')
-
- await contract.setMinPerTx(2, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
- it('setDailyLimit allow to set by owner and should be greater than maxPerTx or zero', async () => {
- await contract.setDailyLimit(4, { from: user }).should.be.rejectedWith(ERROR_MSG)
- await contract.setDailyLimit(2, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.setDailyLimit(4, { from: owner }).should.be.fulfilled
- expect(await contract.dailyLimit()).to.be.bignumber.equal('4')
-
- await contract.setDailyLimit(0, { from: owner }).should.be.fulfilled
- expect(await contract.dailyLimit()).to.be.bignumber.equal(ZERO)
-
- await contract.setDailyLimit(4, { from: owner }).should.be.fulfilled
- expect(await contract.dailyLimit()).to.be.bignumber.equal('4')
- })
- it('setExecutionMaxPerTx allows to set only to owner and cannot be more than daily limit', async () => {
- await contract.setExecutionMaxPerTx(2, { from: user }).should.be.rejectedWith(ERROR_MSG)
- await contract.setExecutionMaxPerTx(2, { from: owner }).should.be.fulfilled
- expect(await contract.executionMaxPerTx()).to.be.bignumber.equal('2')
-
- await contract.setExecutionMaxPerTx(3, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
- it('setExecutionDailyLimit allow to set by owner and should be greater than maxPerTx or zero', async () => {
- await contract.setExecutionDailyLimit(4, { from: user }).should.be.rejectedWith(ERROR_MSG)
- await contract.setExecutionDailyLimit(2, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.setExecutionDailyLimit(4, { from: owner }).should.be.fulfilled
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal('4')
-
- await contract.setExecutionDailyLimit(0, { from: owner }).should.be.fulfilled
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal(ZERO)
-
- await contract.setExecutionDailyLimit(4, { from: owner }).should.be.fulfilled
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal('4')
- })
- })
- describe('getBridgeMode', () => {
- it('should return mediator mode and interface', async function() {
- const bridgeModeHash = '0x582ed8fd' // 4 bytes of keccak256('native-to-erc-amb')
- expect(await contract.getBridgeMode()).to.be.equal(bridgeModeHash)
-
- const { major, minor, patch } = await contract.getBridgeInterfacesVersion()
- major.should.be.bignumber.gte(ZERO)
- minor.should.be.bignumber.gte(ZERO)
- patch.should.be.bignumber.gte(ZERO)
- })
- })
- describe('claimTokens', () => {
- beforeEach(async () => {
- const storageProxy = await EternalStorageProxy.new()
- await storageProxy.upgradeTo('1', contract.address).should.be.fulfilled
- contract = await ForeignAMBNativeToErc20.at(storageProxy.address)
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- ZERO_ADDRESS
- ).should.be.fulfilled
- })
- it('should work with token that return bool on transfer', async () => {
- const token = await ERC677BridgeToken.new('Test', 'TST', 18)
-
- await token.mint(user, oneEther).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
-
- await token.transfer(contract.address, oneEther, { from: user }).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(oneEther)
-
- await contract.claimTokens(token.address, accounts[3], { from: owner }).should.be.fulfilled
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(accounts[3])).to.be.bignumber.equal(oneEther)
- })
- it('should works with token that not return on transfer', async () => {
- const token = await NoReturnTransferTokenMock.new()
-
- await token.mint(user, oneEther).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
-
- await token.transfer(contract.address, oneEther, { from: user }).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(oneEther)
-
- await contract.claimTokens(token.address, accounts[3], { from: owner }).should.be.fulfilled
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(accounts[3])).to.be.bignumber.equal(oneEther)
- })
- it('should also work for native coins', async () => {
- // Contract doesn't have a fallback method to accept native tokens so it transfers using a self destruct contract
- await Sacrifice.new(contract.address, { value: oneEther }).catch(() => {})
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(oneEther)
- const balanceBefore = toBN(await web3.eth.getBalance(accounts[3]))
-
- await contract.claimTokens(ZERO_ADDRESS, accounts[3], { from: owner }).should.be.fulfilled
-
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ZERO)
- expect(toBN(await web3.eth.getBalance(accounts[3]))).to.be.bignumber.equal(balanceBefore.add(oneEther))
- })
- })
- describe('owner', () => {
- beforeEach(async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- ZERO_ADDRESS
- ).should.be.fulfilled
- })
- it('should transfer ownership', async () => {
- // Given
- expect(await contract.owner()).to.be.equal(owner)
-
- // When
- const newOwner = accounts[7]
-
- await contract.transferOwnership(newOwner, { from: accounts[2] }).should.be.rejectedWith(ERROR_MSG)
- await contract.transferOwnership(ZERO_ADDRESS, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- const { logs } = await contract.transferOwnership(newOwner, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await contract.owner()).to.be.equal(newOwner)
- expectEventInLogs(logs, 'OwnershipTransferred', { previousOwner: owner, newOwner })
- })
- })
- describe('feeManager', () => {
- let feeManager
- beforeEach(async () => {
- feeManager = await ForeignFeeManagerAMBNativeToErc20.new(
- owner,
- fee,
- rewardAccountList,
- contract.address,
- token.address
- )
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- feeManager.address
- ).should.be.fulfilled
- })
- it('should allow to get and set the feeManager', async () => {
- // Given
- expect(await contract.feeManagerContract()).to.be.equal(feeManager.address)
-
- const newFeeManager = await ForeignFeeManagerAMBNativeToErc20.new(
- owner,
- fee,
- rewardAccountList,
- contract.address,
- token.address
- )
- // When
- // Only owner can set feeManager
- await contract.setFeeManagerContract(newFeeManager.address, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- // should be a valid feeManager
- await contract.setFeeManagerContract(accounts[3], { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.setFeeManagerContract(newFeeManager.address, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await contract.feeManagerContract()).to.be.equal(newFeeManager.address)
-
- // Also zero address can be set
- await contract.setFeeManagerContract(ZERO_ADDRESS, { from: owner }).should.be.fulfilled
- expect(await contract.feeManagerContract()).to.be.equal(ZERO_ADDRESS)
- })
- describe('ForeignFeeManagerAMBNativeToErc20', () => {
- let mediator
- before(async () => {
- mediator = await ForeignAMBNativeToErc20.new()
- })
- describe('constructor', () => {
- it('should validate parameters', async () => {
- // invalid owner
- await ForeignFeeManagerAMBNativeToErc20.new(
- ZERO_ADDRESS,
- fee,
- rewardAccountList,
- mediator.address,
- token.address
- ).should.be.rejectedWith(ERROR_MSG)
- // invalid fee value
- await ForeignFeeManagerAMBNativeToErc20.new(
- owner,
- twoEthers,
- rewardAccountList,
- mediator.address,
- token.address
- ).should.be.rejectedWith(ERROR_MSG)
- const bigRewardAccountList = createAccounts(web3, 50 + 1)
- // invalid account list
- await ForeignFeeManagerAMBNativeToErc20.new(
- owner,
- twoEthers,
- bigRewardAccountList,
- mediator.address,
- token.address
- ).should.be.rejectedWith(ERROR_MSG)
- // invalid account list
- await ForeignFeeManagerAMBNativeToErc20.new(
- owner,
- fee,
- [],
- mediator.address,
- token.address
- ).should.be.rejectedWith(ERROR_MSG)
- // invalid account list
- await ForeignFeeManagerAMBNativeToErc20.new(
- owner,
- fee,
- [...rewardAccountList, ZERO_ADDRESS],
- mediator.address,
- token.address
- ).should.be.rejectedWith(ERROR_MSG)
- // invalid account list
- await ForeignFeeManagerAMBNativeToErc20.new(
- owner,
- fee,
- [...rewardAccountList, mediator.address],
- mediator.address,
- token.address
- ).should.be.rejectedWith(ERROR_MSG)
- // invalid mediator contract address
- await ForeignFeeManagerAMBNativeToErc20.new(
- owner,
- fee,
- rewardAccountList,
- ZERO_ADDRESS,
- token.address
- ).should.be.rejectedWith(ERROR_MSG)
- // invalid token address
- await ForeignFeeManagerAMBNativeToErc20.new(
- owner,
- fee,
- rewardAccountList,
- mediator.address,
- ZERO_ADDRESS
- ).should.be.rejectedWith(ERROR_MSG)
- await ForeignFeeManagerAMBNativeToErc20.new(owner, fee, rewardAccountList, mediator.address, token.address)
- })
- })
- describe('rewardAccounts', () => {
- beforeEach(async () => {
- contract = await ForeignFeeManagerAMBNativeToErc20.new(
- owner,
- fee,
- rewardAccountList,
- mediator.address,
- token.address
- )
- })
- it('should allow to add accounts', async () => {
- // Given
- const rewardAccountsBefore = await contract.rewardAccountsList()
- expect(rewardAccountsBefore.length).to.be.equal(3)
- expect(rewardAccountsBefore[0]).to.be.equal(rewardAccountList[0])
- expect(rewardAccountsBefore[1]).to.be.equal(rewardAccountList[1])
- expect(rewardAccountsBefore[2]).to.be.equal(rewardAccountList[2])
-
- const newAccount = accounts[6]
-
- // When
- // only owner can add new accounts
- await contract.addRewardAccount(newAccount, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- // can't add mediator address as reward account
- await contract.addRewardAccount(mediator.address, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- // can't add zero address
- await contract.addRewardAccount(ZERO_ADDRESS, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.addRewardAccount(newAccount, { from: owner }).should.be.fulfilled
-
- // Can't add an account that already is part of the list
- await contract.addRewardAccount(newAccount, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- // Then
- const rewardAccounts = await contract.rewardAccountsList()
- expect(rewardAccounts.length).to.be.equal(4)
- expect(rewardAccounts[0]).to.be.equal(rewardAccountList[0])
- expect(rewardAccounts[1]).to.be.equal(rewardAccountList[1])
- expect(rewardAccounts[2]).to.be.equal(rewardAccountList[2])
- expect(rewardAccounts[3]).to.be.equal(newAccount)
- })
- it('should allow to remove an existing account', async () => {
- // Given
- const rewardAccountsBefore = await contract.rewardAccountsList()
- expect(rewardAccountsBefore.length).to.be.equal(3)
- expect(rewardAccountsBefore[0]).to.be.equal(rewardAccountList[0])
- expect(rewardAccountsBefore[1]).to.be.equal(rewardAccountList[1])
- expect(rewardAccountsBefore[2]).to.be.equal(rewardAccountList[2])
-
- const accountToRemove = rewardAccountList[1]
- // When
- // only owner can revomve accounts
- await contract.removeRewardAccount(accountToRemove, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- // Onlye accounts that are in the list can be removed
- await contract.removeRewardAccount(accounts[7], { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.removeRewardAccount(accountToRemove, { from: owner }).should.be.fulfilled
-
- // not in the list anymore
- await contract.removeRewardAccount(accountToRemove, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- // Then
- const rewardAccounts = await contract.rewardAccountsList()
- expect(rewardAccounts.length).to.be.equal(2)
- expect(rewardAccounts[0]).to.be.equal(rewardAccountList[0])
- expect(rewardAccounts[1]).to.be.equal(rewardAccountList[2])
- })
- })
- describe('fee', () => {
- beforeEach(async () => {
- contract = await ForeignFeeManagerAMBNativeToErc20.new(
- owner,
- fee,
- rewardAccountList,
- mediator.address,
- token.address
- )
- })
- it('should allow to get and set the fee', async () => {
- // Given
- expect(await contract.fee()).to.be.bignumber.equal(fee)
-
- const newFee = ether('0.02')
- const bigFee = twoEthers
-
- // When
- // Only owner can set fee
- await contract.setFee(newFee, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- // should be a valid fee
- await contract.setFee(bigFee, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.setFee(newFee, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await contract.fee()).to.be.bignumber.equal(newFee)
- })
- })
- describe('owner', () => {
- beforeEach(async () => {
- contract = await ForeignFeeManagerAMBNativeToErc20.new(
- owner,
- fee,
- rewardAccountList,
- mediator.address,
- token.address
- )
- })
- it('should transfer ownership', async () => {
- // Given
- expect(await contract.owner()).to.be.equal(owner)
-
- // When
- const newOwner = accounts[7]
-
- await contract.transferOwnership(newOwner, { from: accounts[2] }).should.be.rejectedWith(ERROR_MSG)
- await contract.transferOwnership(ZERO_ADDRESS, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- const { logs } = await contract.transferOwnership(newOwner, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await contract.owner()).to.be.equal(newOwner)
- expectEventInLogs(logs, 'OwnershipTransferred', { previousOwner: owner, newOwner })
- })
- })
- })
- })
- describe('onTokenTransfer', () => {
- beforeEach(async () => {
- await token.mint(user, twoEthers, { from: owner }).should.be.fulfilled
- await token.transferOwnership(contract.address)
-
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- ZERO_ADDRESS
- ).should.be.fulfilled
- })
- it('should call AMB bridge and burnt tokens', async () => {
- // Given
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- const initialEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(initialEvents.length).to.be.equal(0)
-
- // only token address can call it
- await contract.onTokenTransfer(user, halfEther, '0x', { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- // must be within limits
- await token.transferAndCall(contract.address, twoEthers, '0x', { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- // When
- const { logs } = await token.transferAndCall(contract.address, halfEther, '0x', { from: user }).should.be
- .fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(user).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(halfEther)
- expect(await token.totalSupply()).to.be.bignumber.equal(ether('1.5'))
- expectEventInLogs(logs, 'Burn', {
- burner: contract.address,
- value: halfEther
- })
- })
- it('should be able to specify a different receiver', async () => {
- // Given
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- const initialEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(initialEvents.length).to.be.equal(0)
-
- // only token address can call it
- await contract.onTokenTransfer(user, halfEther, '0x', { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- // must be within limits
- await token.transferAndCall(contract.address, twoEthers, '0x', { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- // must be a valid address param
- await token.transferAndCall(contract.address, halfEther, '0x00', { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- // When
- const { logs } = await token.transferAndCall(contract.address, halfEther, user2, { from: user }).should.be
- .fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(user2).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(halfEther)
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(halfEther)
- expect(await token.totalSupply()).to.be.bignumber.equal(ether('1.5'))
- expectEventInLogs(logs, 'Burn', {
- burner: contract.address,
- value: halfEther
- })
- })
- })
- describe('relayTokens', () => {
- beforeEach(async () => {
- await token.mint(user, twoEthers, { from: owner }).should.be.fulfilled
- await token.transferOwnership(contract.address)
-
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- ZERO_ADDRESS
- ).should.be.fulfilled
- })
- it('should allow to bridge tokens using approve and transferFrom', async () => {
- // Given
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- expect(await token.totalSupply()).to.be.bignumber.equal(twoEthers)
-
- const value = oneEther
- await token.approve(contract.address, value, { from: user }).should.be.fulfilled
- expect(await token.allowance(user, contract.address)).to.be.bignumber.equal(value)
-
- // When
- await contract.relayTokens(user, value, { from: user }).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(value)
- // Tokens were burnt
- expect(await token.totalSupply()).to.be.bignumber.equal(oneEther)
- })
- it('should allow to specify a different receiver without specifying sender', async () => {
- // Given
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- expect(await token.totalSupply()).to.be.bignumber.equal(twoEthers)
-
- const value = oneEther
- await token.approve(contract.address, value, { from: user }).should.be.fulfilled
- expect(await token.allowance(user, contract.address)).to.be.bignumber.equal(value)
-
- // When
- await contract.relayTokens(user2, value, { from: user }).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(user2).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(value)
- // Tokens were burnt
- expect(await token.totalSupply()).to.be.bignumber.equal(oneEther)
- })
- it('should fail if user did not approve the transfer', async () => {
- await contract.relayTokens(user, oneEther, { from: user }).should.be.rejectedWith(ERROR_MSG)
- })
- it('should fail if value is not within limits', async () => {
- const value = twoEthers
- await token.approve(contract.address, value, { from: user }).should.be.fulfilled
- expect(await token.allowance(user, contract.address)).to.be.bignumber.equal(value)
-
- await contract.relayTokens(user, value, { from: user }).should.be.rejectedWith(ERROR_MSG)
- })
- })
- describe('handleBridgedTokens', () => {
- beforeEach(async () => {
- await token.transferOwnership(contract.address)
-
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- ZERO_ADDRESS
- ).should.be.fulfilled
- })
- it('should mint tokens on message from amb', async () => {
- // Given
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- const initialEvents = await getEvents(token, { event: 'Mint' })
- expect(initialEvents.length).to.be.equal(0)
- expect(await token.totalSupply()).to.be.bignumber.equal(ZERO)
-
- // can't be called by user
- await contract.handleBridgedTokens(user, oneEther, { from: user }).should.be.rejectedWith(ERROR_MSG)
- // can't be called by owner
- await contract.handleBridgedTokens(user, oneEther, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- const data = await contract.contract.methods.handleBridgedTokens(user, oneEther.toString()).encodeABI()
-
- // message must be generated by mediator contract on the other network
- await ambBridgeContract.executeMessageCall(contract.address, owner, data, failedMessageId, 1000000).should.be
- .fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // Then
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(oneEther)
- const events = await getEvents(token, { event: 'Mint' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.to).to.be.equal(user)
- expect(events[0].returnValues.amount).to.be.equal(oneEther.toString())
- expect(await token.totalSupply()).to.be.bignumber.equal(oneEther)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(oneEther.toString())
- expect(event[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
- for (const decimalShift of [2, -1]) {
- it(`should mint tokens on message from amb with decimal shift of ${decimalShift}`, async () => {
- // Given
- token = await ERC677BridgeToken.new('test', 'TST', 16)
-
- contract = await ForeignAMBNativeToErc20.new()
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShift,
- owner,
- token.address,
- ZERO_ADDRESS
- ).should.be.fulfilled
-
- await token.transferOwnership(contract.address)
-
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- const initialEvents = await getEvents(token, { event: 'Mint' })
- expect(initialEvents.length).to.be.equal(0)
- expect(await token.totalSupply()).to.be.bignumber.equal(ZERO)
-
- const valueOnForeign = toBN('1000')
- const valueOnHome = toBN(valueOnForeign * 10 ** decimalShift)
-
- const data = await contract.contract.methods.handleBridgedTokens(user, valueOnHome.toString()).encodeABI()
-
- // message must be generated by mediator contract on the other network
- await ambBridgeContract.executeMessageCall(contract.address, owner, data, failedMessageId, 1000000).should.be
- .fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // Then
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(valueOnHome)
- const events = await getEvents(token, { event: 'Mint' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.to).to.be.equal(user)
- expect(events[0].returnValues.amount).to.be.equal(valueOnForeign.toString())
- expect(await token.totalSupply()).to.be.bignumber.equal(valueOnForeign)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(valueOnForeign)
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(valueOnForeign.toString())
- expect(event[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
- }
- it('should revert when out of execution limits on message from amb', async () => {
- // Given
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- const initialEvents = await getEvents(token, { event: 'Mint' })
- expect(initialEvents.length).to.be.equal(0)
- expect(await token.totalSupply()).to.be.bignumber.equal(ZERO)
-
- const outOfLimitValueData = await contract.contract.methods
- .handleBridgedTokens(user, twoEthers.toString())
- .encodeABI()
-
- // when
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- outOfLimitValueData,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(false)
-
- // Then
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- const events = await getEvents(token, { event: 'Mint' })
- expect(events.length).to.be.equal(0)
- expect(await token.totalSupply()).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- })
- })
- describe('requestFailedMessageFix', () => {
- beforeEach(async () => {
- await token.transferOwnership(contract.address)
-
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- ZERO_ADDRESS
- ).should.be.fulfilled
- })
- it('should allow to request a failed message fix', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, oneEther.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(exampleMessageId).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(exampleMessageId))).to.be.equal(true)
- })
- it('should be a failed transaction', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, oneEther.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // When
- await contract.requestFailedMessageFix(exampleMessageId).should.be.rejectedWith(ERROR_MSG)
- })
- it('should be the receiver of the failed transaction', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, oneEther.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- 100000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(exampleMessageId).should.be.rejectedWith(ERROR_MSG)
- })
- it('message sender should be mediator from other side', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, oneEther.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(contract.address, contract.address, data, exampleMessageId, 100).should
- .be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(exampleMessageId).should.be.rejectedWith(ERROR_MSG)
- })
- it('should allow to request a fix multiple times', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, oneEther.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(false)
-
- await contract.requestFailedMessageFix(exampleMessageId).should.be.fulfilled
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(exampleMessageId))).to.be.equal(true)
-
- // When
- await contract.requestFailedMessageFix(exampleMessageId).should.be.fulfilled
-
- // Then
- const allEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(allEvents.length).to.be.equal(2)
- expect(allEvents[0].returnValues.encodedData.includes(strip0x(exampleMessageId))).to.be.equal(true)
- expect(allEvents[1].returnValues.encodedData.includes(strip0x(exampleMessageId))).to.be.equal(true)
- })
- })
- describe('fixFailedMessage', () => {
- let transferMessageId
- beforeEach(async function() {
- await token.mint(user, twoEthers, { from: owner }).should.be.fulfilled
- await token.transferOwnership(contract.address)
-
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- ZERO_ADDRESS
- ).should.be.fulfilled
-
- expect(await token.balanceOf(user)).to.be.bignumber.equal(twoEthers)
- expect(await token.totalSupply()).to.be.bignumber.equal(twoEthers)
-
- // User transfer tokens
- await token.transferAndCall(contract.address, oneEther, '0x', { from: user }).should.be.fulfilled
-
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- transferMessageId = events[0].returnValues.messageId
- })
- it('should fix burnt tokens', async () => {
- // Given
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- // When
- const fixData = await contract.contract.methods.fixFailedMessage(transferMessageId).encodeABI()
-
- // Should be called by mediator from other side so it will fail
- await ambBridgeContract.executeMessageCall(contract.address, contract.address, fixData, otherMessageId, 1000000)
- .should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(otherMessageId)).to.be.equal(false)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- fixData,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- // Then
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(twoEthers)
- expect(await token.totalSupply()).to.be.bignumber.equal(twoEthers)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(true)
-
- const event = await getEvents(contract, { event: 'FailedMessageFixed' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.messageId).to.be.equal(transferMessageId)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(oneEther.toString())
-
- // can only fix it one time
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- fixData,
- otherMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(otherMessageId)).to.be.equal(false)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(twoEthers)
- })
- it('should be called by amb bridge', async () => {
- await contract.fixFailedMessage(transferMessageId, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
- })
- describe('fixFailedMessage with alternative receiver', () => {
- let transferMessageId
- beforeEach(async function() {
- await token.mint(user, twoEthers, { from: owner }).should.be.fulfilled
- await token.transferOwnership(contract.address)
-
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- ZERO_ADDRESS
- ).should.be.fulfilled
-
- expect(await token.balanceOf(user)).to.be.bignumber.equal(twoEthers)
- expect(await token.totalSupply()).to.be.bignumber.equal(twoEthers)
-
- // User transfer tokens
- await token.transferAndCall(contract.address, oneEther, user2, { from: user }).should.be.fulfilled
-
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- transferMessageId = events[0].returnValues.messageId
- })
- it('should fix burnt tokens', async () => {
- // Given
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- // When
- const fixData = await contract.contract.methods.fixFailedMessage(transferMessageId).encodeABI()
-
- // Should be called by mediator from other side so it will fail
- await ambBridgeContract.executeMessageCall(contract.address, contract.address, fixData, otherMessageId, 1000000)
- .should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(otherMessageId)).to.be.equal(false)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- fixData,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- // Then
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(twoEthers)
- expect(await token.totalSupply()).to.be.bignumber.equal(twoEthers)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(true)
-
- const event = await getEvents(contract, { event: 'FailedMessageFixed' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.messageId).to.be.equal(transferMessageId)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(oneEther.toString())
-
- // can only fix it one time
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- fixData,
- otherMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(otherMessageId)).to.be.equal(false)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(twoEthers)
- })
- })
- describe('handleBridgedTokens with fees', () => {
- it('should mint tokens and distribute fees on message from amb', async () => {
- // initialize
- const feeManager = await ForeignFeeManagerAMBNativeToErc20.new(
- owner,
- ether('0.001'),
- rewardAccountList,
- contract.address,
- token.address
- )
- await token.transferOwnership(contract.address)
-
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- feeManager.address
- ).should.be.fulfilled
-
- // Given
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- const initialEvents = await getEvents(token, { event: 'Mint' })
- expect(initialEvents.length).to.be.equal(0)
- expect(await token.totalSupply()).to.be.bignumber.equal(ZERO)
-
- const value = halfEther
- const relativeValue = 0.5
-
- // 0.1% fee
- const fee = 0.001
- const feePerValidator = toBN(166666666666666)
- const feePerValidatorPlusDiff = toBN(166666666666668)
- const valueCalc = relativeValue * (1 - fee)
- const finalUserValue = ether(valueCalc.toString())
- const feeAmountCalc = relativeValue * fee
- const feeAmount = ether(feeAmountCalc.toString())
-
- // can't be called by user
- await contract.handleBridgedTokens(user, value, { from: user }).should.be.rejectedWith(ERROR_MSG)
- // can't be called by owner
- await contract.handleBridgedTokens(user, value, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- // message must be generated by mediator contract on the other network
- await ambBridgeContract.executeMessageCall(contract.address, owner, data, failedMessageId, 1000000).should.be
- .fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- const initialBalanceRewardAddress1 = await token.balanceOf(rewardAccountList[0])
- const initialBalanceRewardAddress2 = await token.balanceOf(rewardAccountList[1])
- const initialBalanceRewardAddress3 = await token.balanceOf(rewardAccountList[2])
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // Then
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(value)
- const events = await getEvents(token, { event: 'Mint' })
- // 1 Mint to user, 1 Mint to fee manager
- expect(events.length).to.be.equal(2)
- // Use ERC20 contract so there is no conflict on getting the regular event Transfer and the generated by transferAndCall
- const erc20Token = await ERC20Mock.at(token.address)
- const transferEvents = await getEvents(erc20Token, { event: 'Transfer' })
- // 5 transfer events: 1 Mint to user, 1 Mint to fee manager, fee manager 1 transfer to each reward account
- expect(transferEvents.length).to.be.equal(5)
- expect(await token.totalSupply()).to.be.bignumber.equal(value)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(finalUserValue)
-
- const updatedBalanceRewardAddress1 = await token.balanceOf(rewardAccountList[0])
- const updatedBalanceRewardAddress2 = await token.balanceOf(rewardAccountList[1])
- const updatedBalanceRewardAddress3 = await token.balanceOf(rewardAccountList[2])
-
- expect(
- updatedBalanceRewardAddress1.eq(initialBalanceRewardAddress1.add(feePerValidator)) ||
- updatedBalanceRewardAddress1.eq(initialBalanceRewardAddress1.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- expect(
- updatedBalanceRewardAddress2.eq(initialBalanceRewardAddress2.add(feePerValidator)) ||
- updatedBalanceRewardAddress2.eq(initialBalanceRewardAddress2.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- expect(
- updatedBalanceRewardAddress3.eq(initialBalanceRewardAddress3.add(feePerValidator)) ||
- updatedBalanceRewardAddress3.eq(initialBalanceRewardAddress3.add(feePerValidatorPlusDiff))
- ).to.equal(true)
-
- const feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(1)
- expect(toBN(feeEvents[0].returnValues.feeAmount)).to.be.bignumber.equal(feeAmount)
- expect(feeEvents[0].returnValues.messageId).to.be.equal(exampleMessageId)
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(finalUserValue.toString())
- expect(event[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
- it('should allow a fee receiver to bridge back the tokens', async () => {
- // initialize
- const feeReceiver = await FeeReceiverMock.new(contract.address, token.address)
- rewardAccountList = [rewardAccount, rewardAccount2, feeReceiver.address]
-
- const feeManager = await ForeignFeeManagerAMBNativeToErc20.new(
- owner,
- ether('0.001'),
- rewardAccountList,
- contract.address,
- token.address
- )
-
- await token.transferOwnership(contract.address)
-
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, 1],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- token.address,
- feeManager.address
- ).should.be.fulfilled
-
- // Given
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- const initialEvents = await getEvents(token, { event: 'Mint' })
- expect(initialEvents.length).to.be.equal(0)
- expect(await token.totalSupply()).to.be.bignumber.equal(ZERO)
-
- const value = halfEther
- const relativeValue = 0.5
-
- // 0.1% fee
- const fee = 0.001
- const feePerValidator = toBN(166666666666666)
- const feePerValidatorPlusDiff = toBN(166666666666668)
- const valueCalc = relativeValue * (1 - fee)
- const finalUserValue = ether(valueCalc.toString())
- const feeAmountCalc = relativeValue * fee
- const feeAmount = ether(feeAmountCalc.toString())
-
- // can't be called by user
- await contract.handleBridgedTokens(user, value, { from: user }).should.be.rejectedWith(ERROR_MSG)
- // can't be called by owner
- await contract.handleBridgedTokens(user, value, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- // message must be generated by mediator contract on the other network
- await ambBridgeContract.executeMessageCall(contract.address, owner, data, failedMessageId, 1000000).should.be
- .fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- const initialBalanceRewardAddress1 = await token.balanceOf(rewardAccountList[0])
- const initialBalanceRewardAddress2 = await token.balanceOf(rewardAccountList[1])
- const initialBalanceRewardAddress3 = await token.balanceOf(rewardAccountList[2])
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // Then
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(value)
- const events = await getEvents(token, { event: 'Mint' })
- // 1 Mint to user, 1 Mint to fee manager
- expect(events.length).to.be.equal(2)
- // Use ERC20 contract so there is no conflict on getting the regular event Transfer and the generated by transferAndCall
- const erc20Token = await ERC20Mock.at(token.address)
- const transferEvents = await getEvents(erc20Token, { event: 'Transfer' })
- // 5 transfer events: 1 Mint to user, 1 Mint to fee manager, fee manager 1 transfer to each reward account,
- // bridge should not allow to send messages in backward direction, so fee manager should not be able to send tokens through the bridge
- expect(transferEvents.length).to.be.equal(5)
-
- const burnEvents = await getEvents(token, { event: 'Burn' })
- expect(burnEvents.length).to.be.equal(0)
-
- const totalSupply = await token.totalSupply()
-
- expect(totalSupply).to.be.bignumber.equal(value)
-
- expect(await token.balanceOf(user)).to.be.bignumber.equal(finalUserValue)
-
- const updatedBalanceRewardAddress1 = await token.balanceOf(rewardAccountList[0])
- const updatedBalanceRewardAddress2 = await token.balanceOf(rewardAccountList[1])
- const updatedBalanceRewardAddress3 = await token.balanceOf(rewardAccountList[2])
-
- expect(
- updatedBalanceRewardAddress1.eq(initialBalanceRewardAddress1.add(feePerValidator)) ||
- updatedBalanceRewardAddress1.eq(initialBalanceRewardAddress1.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- expect(
- updatedBalanceRewardAddress2.eq(initialBalanceRewardAddress2.add(feePerValidator)) ||
- updatedBalanceRewardAddress2.eq(initialBalanceRewardAddress2.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- expect(
- updatedBalanceRewardAddress3.eq(initialBalanceRewardAddress3.add(feePerValidator)) ||
- updatedBalanceRewardAddress3.eq(initialBalanceRewardAddress3.add(feePerValidatorPlusDiff))
- ).to.equal(true)
-
- const feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(1)
- expect(toBN(feeEvents[0].returnValues.feeAmount)).to.be.bignumber.equal(feeAmount)
- expect(feeEvents[0].returnValues.messageId).to.be.equal(exampleMessageId)
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(finalUserValue.toString())
- expect(event[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
- })
-})
diff --git a/test/amb_native_to_erc20/home_mediator.test.js b/test/amb_native_to_erc20/home_mediator.test.js
deleted file mode 100644
index 3b48e64ce..000000000
--- a/test/amb_native_to_erc20/home_mediator.test.js
+++ /dev/null
@@ -1,1635 +0,0 @@
-const HomeAMBNativeToErc20 = artifacts.require('HomeAMBNativeToErc20.sol')
-const ForeignAMBNativeToErc20 = artifacts.require('ForeignAMBNativeToErc20.sol')
-const EternalStorageProxy = artifacts.require('EternalStorageProxy.sol')
-const ERC677BridgeToken = artifacts.require('ERC677BridgeToken.sol')
-const NoReturnTransferTokenMock = artifacts.require('NoReturnTransferTokenMock.sol')
-const HomeFeeManagerAMBNativeToErc20 = artifacts.require('HomeFeeManagerAMBNativeToErc20.sol')
-const AMBMock = artifacts.require('AMBMock.sol')
-const Sacrifice = artifacts.require('Sacrifice.sol')
-
-const { expect } = require('chai')
-const { getEvents, expectEventInLogs, ether, strip0x, createAccounts } = require('../helpers/helpers')
-const { ZERO_ADDRESS, ERROR_MSG, toBN } = require('../setup')
-
-const ZERO = toBN(0)
-const halfEther = ether('0.5')
-const oneEther = ether('1')
-const twoEthers = ether('2')
-const threeEthers = ether('3')
-const maxGasPerTx = oneEther
-const dailyLimit = twoEthers
-const maxPerTx = oneEther
-const minPerTx = ether('0.01')
-const executionDailyLimit = dailyLimit
-const executionMaxPerTx = maxPerTx
-const decimalShiftZero = 0
-const exampleMessageId = '0xf308b922ab9f8a7128d9d7bc9bce22cd88b2c05c8213f0e2d8104d78e0a9ecbb'
-const otherMessageId = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
-const failedMessageId = '0x2ebc2ccc755acc8eaf9252e19573af708d644ab63a39619adb080a3500a4ff2e'
-// 0.1% fee
-const fee = ether('0.001')
-
-contract('HomeAMBNativeToErc20', async accounts => {
- let contract
- let ambBridgeContract
- let otherSideMediatorContract
- const owner = accounts[0]
- const user = accounts[1]
- const user2 = accounts[2]
- const rewardAccount = accounts[3]
- const rewardAccount2 = accounts[4]
- const rewardAccount3 = accounts[5]
- const rewardAccountList = [rewardAccount, rewardAccount2, rewardAccount3]
- beforeEach(async () => {
- contract = await HomeAMBNativeToErc20.new()
- ambBridgeContract = await AMBMock.new()
- await ambBridgeContract.setMaxGasPerTx(maxGasPerTx)
- otherSideMediatorContract = await ForeignAMBNativeToErc20.new()
- })
- describe('initialize', () => {
- let feeManager
- beforeEach(async () => {
- feeManager = await HomeFeeManagerAMBNativeToErc20.new(owner, fee, rewardAccountList, contract.address)
- })
- it('should initialize parameters', async () => {
- // Given
- expect(await contract.isInitialized()).to.be.equal(false)
- expect(await contract.bridgeContract()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.dailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.maxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await contract.minPerTx()).to.be.bignumber.equal(ZERO)
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.executionMaxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.decimalShift()).to.be.bignumber.equal(ZERO)
- expect(await contract.owner()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.feeManagerContract()).to.be.equal(ZERO_ADDRESS)
-
- // When
- // not valid bridge address
- await contract
- .initialize(
- ZERO_ADDRESS,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- feeManager.address
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // dailyLimit > maxPerTx
- await contract
- .initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [maxPerTx, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- feeManager.address
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // maxPerTx > minPerTx
- await contract
- .initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, minPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- feeManager.address
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // executionDailyLimit > executionMaxPerTx
- await contract
- .initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionDailyLimit],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- feeManager.address
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // maxGasPerTx > bridge maxGasPerTx
- await contract
- .initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- twoEthers,
- decimalShiftZero,
- owner,
- feeManager.address
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // not valid owner
- await contract
- .initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- ZERO_ADDRESS,
- feeManager.address
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // not valid fee manager address
- await contract
- .initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- user
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // not valid decimal shift
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- 100,
- owner,
- feeManager.address
- ).should.be.rejected
-
- const { logs } = await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- feeManager.address
- ).should.be.fulfilled
-
- // already initialized
- await contract
- .initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- feeManager.address
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // Then
- expect(await contract.isInitialized()).to.be.equal(true)
- expect(await contract.bridgeContract()).to.be.equal(ambBridgeContract.address)
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(otherSideMediatorContract.address)
- expect(await contract.dailyLimit()).to.be.bignumber.equal(dailyLimit)
- expect(await contract.maxPerTx()).to.be.bignumber.equal(maxPerTx)
- expect(await contract.minPerTx()).to.be.bignumber.equal(minPerTx)
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal(executionDailyLimit)
- expect(await contract.executionMaxPerTx()).to.be.bignumber.equal(executionMaxPerTx)
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(maxGasPerTx)
- expect(await contract.decimalShift()).to.be.bignumber.equal(ZERO)
- expect(await contract.owner()).to.be.equal(owner)
- expect(await contract.feeManagerContract()).to.be.equal(feeManager.address)
-
- expectEventInLogs(logs, 'ExecutionDailyLimitChanged', { newLimit: executionDailyLimit })
- expectEventInLogs(logs, 'DailyLimitChanged', { newLimit: dailyLimit })
- })
- it('should initialize with zero fee manager address', async () => {
- // Given
- expect(await contract.feeManagerContract()).to.be.equal(ZERO_ADDRESS)
-
- // When
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ZERO_ADDRESS
- ).should.be.fulfilled
-
- // Then
- expect(await contract.isInitialized()).to.be.equal(true)
- expect(await contract.feeManagerContract()).to.be.equal(ZERO_ADDRESS)
- })
- })
- describe('set amb bridge params', () => {
- beforeEach(async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ZERO_ADDRESS
- ).should.be.fulfilled
- })
- it('only owner can set bridge contract', async () => {
- const notAContractAddress = accounts[2]
-
- expect(await contract.bridgeContract()).to.be.equal(ambBridgeContract.address)
-
- const newBridgeContract = await AMBMock.new()
-
- await contract.setBridgeContract(newBridgeContract.address, { from: user }).should.be.rejectedWith(ERROR_MSG)
- await contract.setBridgeContract(notAContractAddress, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.setBridgeContract(newBridgeContract.address, { from: owner }).should.be.fulfilled
- expect(await contract.bridgeContract()).to.be.equal(newBridgeContract.address)
- })
- it('only owner can set mediator contract', async () => {
- const user = accounts[1]
-
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(otherSideMediatorContract.address)
-
- const newMediatorContract = await ForeignAMBNativeToErc20.new()
-
- await contract
- .setMediatorContractOnOtherSide(newMediatorContract.address, { from: user })
- .should.be.rejectedWith(ERROR_MSG)
-
- await contract.setMediatorContractOnOtherSide(newMediatorContract.address, { from: owner }).should.be.fulfilled
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(newMediatorContract.address)
- })
- it('only owner can set request Gas Limit', async () => {
- const user = accounts[1]
-
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(maxGasPerTx)
-
- const newMaxGasPerTx = ether('0.5')
- const invalidMaxGasPerTx = ether('1.5')
-
- await contract.setRequestGasLimit(newMaxGasPerTx, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- // invalidMaxGasPerTx > ambBridgeContract.maxGasPerTx
- await contract.setRequestGasLimit(invalidMaxGasPerTx, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.setRequestGasLimit(newMaxGasPerTx, { from: owner }).should.be.fulfilled
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(newMaxGasPerTx)
- })
- })
- describe('set limits', () => {
- const user = accounts[1]
- beforeEach(async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [3, 2, 1],
- [3, 2],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ZERO_ADDRESS
- ).should.be.fulfilled
- })
- it('setMaxPerTx allows to set only to owner and cannot be more than daily limit', async () => {
- await contract.setMaxPerTx(2, { from: user }).should.be.rejectedWith(ERROR_MSG)
- await contract.setMaxPerTx(2, { from: owner }).should.be.fulfilled
- expect(await contract.maxPerTx()).to.be.bignumber.equal('2')
-
- await contract.setMaxPerTx(3, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
- it('setMinPerTx allows to set only to owner and cannot be more than daily limit and should be less than maxPerTx', async () => {
- await contract.setMinPerTx(1, { from: user }).should.be.rejectedWith(ERROR_MSG)
- await contract.setMinPerTx(1, { from: owner }).should.be.fulfilled
- expect(await contract.minPerTx()).to.be.bignumber.equal('1')
-
- await contract.setMinPerTx(2, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
- it('setDailyLimit allow to set by owner and should be greater than maxPerTx or zero', async () => {
- await contract.setDailyLimit(4, { from: user }).should.be.rejectedWith(ERROR_MSG)
- await contract.setDailyLimit(2, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.setDailyLimit(4, { from: owner }).should.be.fulfilled
- expect(await contract.dailyLimit()).to.be.bignumber.equal('4')
-
- await contract.setDailyLimit(0, { from: owner }).should.be.fulfilled
- expect(await contract.dailyLimit()).to.be.bignumber.equal(ZERO)
-
- await contract.setDailyLimit(4, { from: owner }).should.be.fulfilled
- expect(await contract.dailyLimit()).to.be.bignumber.equal('4')
- })
- it('setExecutionMaxPerTx allows to set only to owner and cannot be more than daily limit', async () => {
- await contract.setExecutionMaxPerTx(2, { from: user }).should.be.rejectedWith(ERROR_MSG)
- await contract.setExecutionMaxPerTx(2, { from: owner }).should.be.fulfilled
- expect(await contract.executionMaxPerTx()).to.be.bignumber.equal('2')
-
- await contract.setExecutionMaxPerTx(3, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
- it('setExecutionDailyLimit allow to set by owner and should be greater than maxPerTx or zero', async () => {
- await contract.setExecutionDailyLimit(4, { from: user }).should.be.rejectedWith(ERROR_MSG)
- await contract.setExecutionDailyLimit(2, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.setExecutionDailyLimit(4, { from: owner }).should.be.fulfilled
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal('4')
-
- await contract.setExecutionDailyLimit(0, { from: owner }).should.be.fulfilled
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal(ZERO)
-
- await contract.setExecutionDailyLimit(4, { from: owner }).should.be.fulfilled
- expect(await contract.executionDailyLimit()).to.be.bignumber.equal('4')
- })
- })
- describe('getBridgeMode', () => {
- it('should return mediator mode and interface', async function() {
- const bridgeModeHash = '0x582ed8fd' // 4 bytes of keccak256('native-to-erc-amb')
- expect(await contract.getBridgeMode()).to.be.equal(bridgeModeHash)
-
- const { major, minor, patch } = await contract.getBridgeInterfacesVersion()
- major.should.be.bignumber.gte(ZERO)
- minor.should.be.bignumber.gte(ZERO)
- patch.should.be.bignumber.gte(ZERO)
- })
- })
- describe('fallback', () => {
- beforeEach(async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ZERO_ADDRESS
- ).should.be.fulfilled
- })
- it('should accept native tokens', async () => {
- // Given
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
-
- // When
- await contract.sendTransaction({
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- // Then
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(oneEther)
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- // Inlcude user address
- expect(events[0].returnValues.encodedData.includes(strip0x(user).toLowerCase())).to.be.equal(true)
- // Include mediator address
- expect(
- events[0].returnValues.encodedData.includes(strip0x(otherSideMediatorContract.address).toLowerCase())
- ).to.be.equal(true)
- // Include handleBridgedTokens method selector
- expect(events[0].returnValues.encodedData.includes('8b6c0354')).to.be.equal(true)
- })
- it('native token amount should be inside limits ', async () => {
- // Given
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
-
- // When
-
- // value > maxPerTx
- await contract
- .sendTransaction({
- from: user,
- value: twoEthers
- })
- .should.be.rejectedWith(ERROR_MSG)
-
- // value < minPerTx
- await contract
- .sendTransaction({
- from: user,
- value: ether('0.00001')
- })
- .should.be.rejectedWith(ERROR_MSG)
-
- await contract.sendTransaction({
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- await contract.sendTransaction({
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- // Total value > dailyLimit
- await contract
- .sendTransaction({
- from: user,
- value: oneEther
- })
- .should.be.rejectedWith(ERROR_MSG)
- })
- })
- describe('relayTokens', () => {
- beforeEach(async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ZERO_ADDRESS
- ).should.be.fulfilled
- })
- it('should accept native tokens and a different receiver', async () => {
- // Given
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
-
- // When
- await contract.relayTokens(user2, {
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- // Then
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(oneEther)
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- // Inlcude user2 address
- expect(events[0].returnValues.encodedData.includes(strip0x(user2).toLowerCase())).to.be.equal(true)
- // Include mediator address
- expect(
- events[0].returnValues.encodedData.includes(strip0x(otherSideMediatorContract.address).toLowerCase())
- ).to.be.equal(true)
- // Include handleBridgedTokens method selector
- expect(events[0].returnValues.encodedData.includes('8b6c0354')).to.be.equal(true)
- })
- it('native token amount should be inside limits ', async () => {
- // Given
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
-
- // When
-
- // value > maxPerTx
- await contract
- .relayTokens(user2, {
- from: user,
- value: twoEthers
- })
- .should.be.rejectedWith(ERROR_MSG)
-
- // value < minPerTx
- await contract
- .relayTokens(user2, {
- from: user,
- value: ether('0.00001')
- })
- .should.be.rejectedWith(ERROR_MSG)
-
- await contract.relayTokens(user2, {
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- await contract.relayTokens(user2, {
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- // Total value > dailyLimit
- await contract
- .relayTokens(user2, {
- from: user,
- value: oneEther
- })
- .should.be.rejectedWith(ERROR_MSG)
- })
- })
- describe('handleBridgedTokens', () => {
- beforeEach(async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ZERO_ADDRESS
- ).should.be.fulfilled
- })
- it('should unlock native tokens on message from amb', async () => {
- // Given
-
- // send native tokens to the contract
- await contract.sendTransaction({
- from: user2,
- value: oneEther
- }).should.be.fulfilled
-
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(oneEther)
-
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(ZERO)
-
- // When
- // can't be called by user
- await contract.handleBridgedTokens(user, oneEther, { from: user }).should.be.rejectedWith(ERROR_MSG)
- // can't be called by owner
- await contract.handleBridgedTokens(user, oneEther, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- const data = await contract.contract.methods.handleBridgedTokens(user, oneEther.toString()).encodeABI()
-
- // message must be generated by mediator contract on the other network, here owner is the sender
- await ambBridgeContract.executeMessageCall(contract.address, owner, data, failedMessageId, '1000000').should.be
- .fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- const balanceUserBefore = toBN(await web3.eth.getBalance(user))
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- '1000000'
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // Then
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(oneEther)
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ZERO)
- expect(toBN(await web3.eth.getBalance(user))).to.be.bignumber.equal(balanceUserBefore.add(oneEther))
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(oneEther.toString())
- expect(event[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
- for (const decimalShift of [2, -1]) {
- it(`should unlock native tokens on message from amb with decimal shift of ${decimalShift}`, async () => {
- // Given
- contract = await HomeAMBNativeToErc20.new()
-
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, ether('0.001')],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShift,
- owner,
- ZERO_ADDRESS
- ).should.be.fulfilled
-
- const valueOnForeign = ether('0.01')
- const valueOnHome = toBN(valueOnForeign * 10 ** decimalShift)
-
- // send native tokens to the contract
- await contract.sendTransaction({
- from: user2,
- value: valueOnHome
- }).should.be.fulfilled
-
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(valueOnHome)
-
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(ZERO)
-
- // When
- // can't be called by user
- await contract.handleBridgedTokens(user, valueOnForeign, { from: user }).should.be.rejectedWith(ERROR_MSG)
- // can't be called by owner
- await contract.handleBridgedTokens(user, valueOnForeign, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- const data = await contract.contract.methods.handleBridgedTokens(user, valueOnForeign.toString()).encodeABI()
-
- // message must be generated by mediator contract on the other network, here owner is the sender
- await ambBridgeContract.executeMessageCall(contract.address, owner, data, failedMessageId, '1000000').should.be
- .fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- const balanceUserBefore = toBN(await web3.eth.getBalance(user))
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- '1000000'
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // Then
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(valueOnForeign)
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ZERO)
- expect(toBN(await web3.eth.getBalance(user))).to.be.bignumber.equal(balanceUserBefore.add(valueOnHome))
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(valueOnHome.toString())
- expect(event[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
- }
- it('should revert when out of execution limits on message from amb', async () => {
- // Given
- // send native tokens to the contract
- await contract.sendTransaction({
- from: user2,
- value: oneEther
- }).should.be.fulfilled
-
- await contract.sendTransaction({
- from: user2,
- value: oneEther
- }).should.be.fulfilled
-
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(twoEthers)
-
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(ZERO)
-
- // When
- const data = await contract.contract.methods.handleBridgedTokens(user, twoEthers.toString()).encodeABI()
-
- const balanceUserBefore = toBN(await web3.eth.getBalance(user))
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- '1000000'
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(false)
-
- // Then
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(twoEthers)
- expect(toBN(await web3.eth.getBalance(user))).to.be.bignumber.equal(balanceUserBefore)
- })
- })
- describe('requestFailedMessageFix', () => {
- beforeEach(async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ZERO_ADDRESS
- ).should.be.fulfilled
- })
- it('should allow to request a failed message fix', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, oneEther.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(exampleMessageId).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(exampleMessageId))).to.be.equal(true)
- })
- it('should be a failed transaction', async () => {
- // Given
- // send native tokens to the contract
- await contract.sendTransaction({
- from: user2,
- value: oneEther
- }).should.be.fulfilled
-
- const data = await contract.contract.methods.handleBridgedTokens(user, oneEther.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // When
- await contract.requestFailedMessageFix(exampleMessageId).should.be.rejectedWith(ERROR_MSG)
- })
- it('should be the receiver of the failed transaction', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, oneEther.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- 100000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(exampleMessageId).should.be.rejectedWith(ERROR_MSG)
- })
- it('message sender should be mediator from other side', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, oneEther.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(contract.address, contract.address, data, exampleMessageId, 100).should
- .be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(exampleMessageId).should.be.rejectedWith(ERROR_MSG)
- })
- it('should allow to request a fix multiple times', async () => {
- // Given
- const data = await contract.contract.methods.handleBridgedTokens(user, oneEther.toString()).encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(false)
-
- await contract.requestFailedMessageFix(exampleMessageId).should.be.fulfilled
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(exampleMessageId))).to.be.equal(true)
-
- // When
- await contract.requestFailedMessageFix(exampleMessageId).should.be.fulfilled
-
- // Then
- const allEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(allEvents.length).to.be.equal(2)
- expect(allEvents[0].returnValues.encodedData.includes(strip0x(exampleMessageId))).to.be.equal(true)
- expect(allEvents[1].returnValues.encodedData.includes(strip0x(exampleMessageId))).to.be.equal(true)
- })
- })
- describe('fixFailedMessage', () => {
- let transferMessageId
- beforeEach(async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ZERO_ADDRESS
- ).should.be.fulfilled
-
- // User transfer native tokens
- await contract.sendTransaction({
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- transferMessageId = events[0].returnValues.messageId
- })
- it('should fix locked tokens', async () => {
- // Given
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- const balanceUserBefore = toBN(await web3.eth.getBalance(user))
- // When
- const fixData = await contract.contract.methods.fixFailedMessage(transferMessageId).encodeABI()
-
- // Should be called by mediator from other side so it will fail
- await ambBridgeContract.executeMessageCall(contract.address, contract.address, fixData, otherMessageId, 1000000)
- .should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(otherMessageId)).to.be.equal(false)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(oneEther)
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- fixData,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- // Then
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ZERO)
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(ZERO)
- expect(toBN(await web3.eth.getBalance(user))).to.be.bignumber.equal(balanceUserBefore.add(oneEther))
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(true)
-
- const event = await getEvents(contract, { event: 'FailedMessageFixed' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.messageId).to.be.equal(transferMessageId)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(oneEther.toString())
-
- // Second transfer from a different user so next try to fix an already fixed transaction doesn't fail because of
- // lack of funds
- await contract.sendTransaction({
- from: user2,
- value: oneEther
- }).should.be.fulfilled
-
- // can only fix it one time
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- fixData,
- otherMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(otherMessageId)).to.be.equal(false)
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(oneEther)
- expect(toBN(await web3.eth.getBalance(user))).to.be.bignumber.equal(balanceUserBefore.add(oneEther))
- })
- it('should be called by amb bridge', async () => {
- await contract.fixFailedMessage(transferMessageId, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
- })
- describe('fixFailedMessage for alternative receiver', () => {
- let transferMessageId
- beforeEach(async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ZERO_ADDRESS
- ).should.be.fulfilled
-
- // User transfer native tokens
- await contract.relayTokens(user2, {
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- transferMessageId = events[0].returnValues.messageId
- })
- it('should fix locked tokens', async () => {
- // Given
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- const balanceUserBefore = toBN(await web3.eth.getBalance(user))
- // When
- const fixData = await contract.contract.methods.fixFailedMessage(transferMessageId).encodeABI()
-
- // Should be called by mediator from other side so it will fail
- await ambBridgeContract.executeMessageCall(contract.address, contract.address, fixData, otherMessageId, 1000000)
- .should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(otherMessageId)).to.be.equal(false)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- fixData,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- // Then
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ZERO)
- expect(toBN(await web3.eth.getBalance(user))).to.be.bignumber.equal(balanceUserBefore.add(oneEther))
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(true)
-
- const event = await getEvents(contract, { event: 'FailedMessageFixed' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.messageId).to.be.equal(transferMessageId)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(oneEther.toString())
-
- // Second transfer from a different user so next try to fix an already fixed transaction doesn't fail because of
- // lack of funds
- await contract.sendTransaction({
- from: user2,
- value: oneEther
- }).should.be.fulfilled
-
- // can only fix it one time
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- fixData,
- otherMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(otherMessageId)).to.be.equal(false)
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(oneEther)
- expect(toBN(await web3.eth.getBalance(user))).to.be.bignumber.equal(balanceUserBefore.add(oneEther))
- })
- it('should be called by amb bridge', async () => {
- await contract.fixFailedMessage(transferMessageId, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
- })
- describe('claimTokens', () => {
- beforeEach(async () => {
- const storageProxy = await EternalStorageProxy.new()
- await storageProxy.upgradeTo('1', contract.address).should.be.fulfilled
- contract = await HomeAMBNativeToErc20.at(storageProxy.address)
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ZERO_ADDRESS
- ).should.be.fulfilled
- })
- it('should work with token that return bool on transfer', async () => {
- const token = await ERC677BridgeToken.new('Test', 'TST', 18)
-
- await token.mint(user, oneEther).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
-
- await token.transfer(contract.address, oneEther, { from: user }).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(oneEther)
-
- await contract.claimTokens(token.address, accounts[3], { from: owner }).should.be.fulfilled
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(accounts[3])).to.be.bignumber.equal(oneEther)
- })
- it('should works with token that not return on transfer', async () => {
- const token = await NoReturnTransferTokenMock.new()
-
- await token.mint(user, oneEther).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
-
- await token.transfer(contract.address, oneEther, { from: user }).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(oneEther)
-
- await contract.claimTokens(token.address, accounts[3], { from: owner }).should.be.fulfilled
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(accounts[3])).to.be.bignumber.equal(oneEther)
- })
- it('should not work for native coins for this type of mediator', async () => {
- await contract.sendTransaction({ from: user2, value: oneEther }).should.be.fulfilled
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(oneEther)
-
- await contract.claimTokens(ZERO_ADDRESS, accounts[3], { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
- })
- describe('feeManager', () => {
- let feeManager
- beforeEach(async () => {
- feeManager = await HomeFeeManagerAMBNativeToErc20.new(owner, fee, rewardAccountList, contract.address)
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- feeManager.address
- ).should.be.fulfilled
- })
- it('should allow to get and set the feeManager', async () => {
- // Given
- expect(await contract.feeManagerContract()).to.be.equal(feeManager.address)
-
- const newFeeManager = await HomeFeeManagerAMBNativeToErc20.new(owner, fee, rewardAccountList, contract.address)
- // When
- // Only owner can set feeManager
- await contract.setFeeManagerContract(newFeeManager.address, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- // should be a valid feeManager
- await contract.setFeeManagerContract(accounts[3], { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.setFeeManagerContract(newFeeManager.address, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await contract.feeManagerContract()).to.be.equal(newFeeManager.address)
-
- // Also zero address can be set
- await contract.setFeeManagerContract(ZERO_ADDRESS, { from: owner }).should.be.fulfilled
- expect(await contract.feeManagerContract()).to.be.equal(ZERO_ADDRESS)
- })
- describe('HomeFeeManagerAMBNativeToErc20', () => {
- let mediator
- before(async () => {
- mediator = await HomeAMBNativeToErc20.new()
- })
- describe('constructor', () => {
- it('should validate parameters', async () => {
- // invalid owner
- await HomeFeeManagerAMBNativeToErc20.new(
- ZERO_ADDRESS,
- fee,
- rewardAccountList,
- mediator.address
- ).should.be.rejectedWith(ERROR_MSG)
- // invalid fee value
- await HomeFeeManagerAMBNativeToErc20.new(
- owner,
- twoEthers,
- rewardAccountList,
- mediator.address
- ).should.be.rejectedWith(ERROR_MSG)
- const bigRewardAccountList = createAccounts(web3, 50 + 1)
- // invalid account list
- await HomeFeeManagerAMBNativeToErc20.new(
- owner,
- twoEthers,
- bigRewardAccountList,
- mediator.address
- ).should.be.rejectedWith(ERROR_MSG)
- // invalid account list
- await HomeFeeManagerAMBNativeToErc20.new(owner, fee, [], mediator.address).should.be.rejectedWith(ERROR_MSG)
- // invalid account list
- await HomeFeeManagerAMBNativeToErc20.new(
- owner,
- fee,
- [...rewardAccountList, ZERO_ADDRESS],
- mediator.address
- ).should.be.rejectedWith(ERROR_MSG)
- // invalid account list
- await HomeFeeManagerAMBNativeToErc20.new(
- owner,
- fee,
- [...rewardAccountList, mediator.address],
- mediator.address
- ).should.be.rejectedWith(ERROR_MSG)
- // invalid mediator contract
- await HomeFeeManagerAMBNativeToErc20.new(owner, fee, rewardAccountList, ZERO_ADDRESS).should.be.rejectedWith(
- ERROR_MSG
- )
- await HomeFeeManagerAMBNativeToErc20.new(owner, fee, rewardAccountList, mediator.address)
- })
- })
- describe('rewardAccounts', () => {
- beforeEach(async () => {
- contract = await HomeFeeManagerAMBNativeToErc20.new(owner, fee, rewardAccountList, mediator.address)
- })
- it('should allow to add accounts', async () => {
- // Given
- const rewardAccountsBefore = await contract.rewardAccountsList()
- expect(rewardAccountsBefore.length).to.be.equal(3)
- expect(rewardAccountsBefore[0]).to.be.equal(rewardAccountList[0])
- expect(rewardAccountsBefore[1]).to.be.equal(rewardAccountList[1])
- expect(rewardAccountsBefore[2]).to.be.equal(rewardAccountList[2])
-
- const newAccount = accounts[6]
-
- // When
- // only owner can add new accounts
- await contract.addRewardAccount(newAccount, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- // can't add mediator address as reward account
- await contract.addRewardAccount(mediator.address, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- // can't add zero address
- await contract.addRewardAccount(ZERO_ADDRESS, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.addRewardAccount(newAccount, { from: owner }).should.be.fulfilled
-
- // Can't add an account that already is part of the list
- await contract.addRewardAccount(newAccount, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- // Then
- const rewardAccounts = await contract.rewardAccountsList()
- expect(rewardAccounts.length).to.be.equal(4)
- expect(rewardAccounts[0]).to.be.equal(rewardAccountList[0])
- expect(rewardAccounts[1]).to.be.equal(rewardAccountList[1])
- expect(rewardAccounts[2]).to.be.equal(rewardAccountList[2])
- expect(rewardAccounts[3]).to.be.equal(newAccount)
- })
- it('should allow to remove an existing account', async () => {
- // Given
- const rewardAccountsBefore = await contract.rewardAccountsList()
- expect(rewardAccountsBefore.length).to.be.equal(3)
- expect(rewardAccountsBefore[0]).to.be.equal(rewardAccountList[0])
- expect(rewardAccountsBefore[1]).to.be.equal(rewardAccountList[1])
- expect(rewardAccountsBefore[2]).to.be.equal(rewardAccountList[2])
-
- const accountToRemove = rewardAccountList[1]
- // When
- // only owner can revomve accounts
- await contract.removeRewardAccount(accountToRemove, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- // Onlye accounts that are in the list can be removed
- await contract.removeRewardAccount(accounts[7], { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.removeRewardAccount(accountToRemove, { from: owner }).should.be.fulfilled
-
- // not in the list anymore
- await contract.removeRewardAccount(accountToRemove, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- // Then
- const rewardAccounts = await contract.rewardAccountsList()
- expect(rewardAccounts.length).to.be.equal(2)
- expect(rewardAccounts[0]).to.be.equal(rewardAccountList[0])
- expect(rewardAccounts[1]).to.be.equal(rewardAccountList[2])
- })
- })
- describe('fee', () => {
- beforeEach(async () => {
- contract = await HomeFeeManagerAMBNativeToErc20.new(owner, fee, rewardAccountList, mediator.address)
- })
- it('should allow to get and set the fee', async () => {
- // Given
- expect(await contract.fee()).to.be.bignumber.equal(fee)
-
- const newFee = ether('0.02')
- const bigFee = twoEthers
-
- // When
- // Only owner can set fee
- await contract.setFee(newFee, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- // should be a valid fee
- await contract.setFee(bigFee, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.setFee(newFee, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await contract.fee()).to.be.bignumber.equal(newFee)
- })
- })
- describe('owner', () => {
- beforeEach(async () => {
- contract = await HomeFeeManagerAMBNativeToErc20.new(owner, fee, rewardAccountList, mediator.address)
- })
- it('should transfer ownership', async () => {
- // Given
- expect(await contract.owner()).to.be.equal(owner)
-
- // When
- const newOwner = accounts[7]
-
- await contract.transferOwnership(newOwner, { from: accounts[2] }).should.be.rejectedWith(ERROR_MSG)
- await contract.transferOwnership(ZERO_ADDRESS, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- const { logs } = await contract.transferOwnership(newOwner, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await contract.owner()).to.be.equal(newOwner)
- expectEventInLogs(logs, 'OwnershipTransferred', { previousOwner: owner, newOwner })
- })
- })
- describe('fallback', () => {
- beforeEach(async () => {
- contract = await HomeFeeManagerAMBNativeToErc20.new(owner, fee, rewardAccountList, mediator.address)
- })
- it('should accept native tokens', async () => {
- // Given
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ZERO)
-
- // When
- const value = oneEther
- await contract.sendTransaction({
- from: user,
- value
- }).should.be.fulfilled
-
- // Then
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(value)
- })
- })
- })
- })
- describe('owner', () => {
- beforeEach(async () => {
- const feeManager = await HomeFeeManagerAMBNativeToErc20.new(owner, fee, rewardAccountList, contract.address)
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- feeManager.address
- ).should.be.fulfilled
- })
- it('should transfer ownership', async () => {
- // Given
- expect(await contract.owner()).to.be.equal(owner)
-
- // When
- const newOwner = accounts[7]
-
- await contract.transferOwnership(newOwner, { from: accounts[2] }).should.be.rejectedWith(ERROR_MSG)
- await contract.transferOwnership(ZERO_ADDRESS, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- const { logs } = await contract.transferOwnership(newOwner, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await contract.owner()).to.be.equal(newOwner)
- expectEventInLogs(logs, 'OwnershipTransferred', { previousOwner: owner, newOwner })
- })
- })
- describe('handleBridgedTokens with fees', () => {
- beforeEach(async () => {
- const feeManager = await HomeFeeManagerAMBNativeToErc20.new(owner, fee, rewardAccountList, contract.address)
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- feeManager.address
- ).should.be.fulfilled
- })
- it('should unlock native tokens and distribute fees on message from amb', async () => {
- // Given
- const value = halfEther
- const relativeValue = 0.5
- // send native tokens to the contract
- await contract.sendTransaction({
- from: user2,
- value
- }).should.be.fulfilled
-
- // 0.1% fee
- const fee = 0.001
- const feePerValidator = toBN(166666666666666)
- const feePerValidatorPlusDiff = toBN(166666666666668)
- const valueCalc = relativeValue * (1 - fee)
- const finalUserValue = ether(valueCalc.toString())
- const feeAmountCalc = relativeValue * fee
- const feeAmount = ether(feeAmountCalc.toString())
-
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(value)
-
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(ZERO)
-
- // When
- const data = await contract.contract.methods.handleBridgedTokens(user, value.toString()).encodeABI()
-
- const failedMessageId = '0x2ebc2ccc755acc8eaf9252e19573af708d644ab63a39619adb080a3500a4ff2e'
-
- // message must be generated by mediator contract on the other network, here owner is the sender
- await ambBridgeContract.executeMessageCall(contract.address, owner, data, failedMessageId, '1000000').should.be
- .fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- const balanceUserBefore = toBN(await web3.eth.getBalance(user))
- const initialBalanceRewardAddress1 = toBN(await web3.eth.getBalance(rewardAccountList[0]))
- const initialBalanceRewardAddress2 = toBN(await web3.eth.getBalance(rewardAccountList[1]))
- const initialBalanceRewardAddress3 = toBN(await web3.eth.getBalance(rewardAccountList[2]))
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- '1000000'
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // Then
- const updatedBalanceRewardAddress1 = toBN(await web3.eth.getBalance(rewardAccountList[0]))
- const updatedBalanceRewardAddress2 = toBN(await web3.eth.getBalance(rewardAccountList[1]))
- const updatedBalanceRewardAddress3 = toBN(await web3.eth.getBalance(rewardAccountList[2]))
-
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(value)
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ZERO)
- expect(toBN(await web3.eth.getBalance(user))).to.be.bignumber.equal(balanceUserBefore.add(finalUserValue))
-
- expect(
- updatedBalanceRewardAddress1.eq(initialBalanceRewardAddress1.add(feePerValidator)) ||
- updatedBalanceRewardAddress1.eq(initialBalanceRewardAddress1.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- expect(
- updatedBalanceRewardAddress2.eq(initialBalanceRewardAddress2.add(feePerValidator)) ||
- updatedBalanceRewardAddress2.eq(initialBalanceRewardAddress2.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- expect(
- updatedBalanceRewardAddress3.eq(initialBalanceRewardAddress3.add(feePerValidator)) ||
- updatedBalanceRewardAddress3.eq(initialBalanceRewardAddress3.add(feePerValidatorPlusDiff))
- ).to.equal(true)
-
- const events = await getEvents(contract, { event: 'FeeDistributed' })
- expect(events.length).to.be.equal(1)
- expect(toBN(events[0].returnValues.feeAmount)).to.be.bignumber.equal(feeAmount)
- expect(events[0].returnValues.messageId).to.be.equal(exampleMessageId)
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(finalUserValue.toString())
- expect(event[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
- })
- describe('fixMediatorBalance', async () => {
- beforeEach(async () => {
- const storageProxy = await EternalStorageProxy.new()
- await storageProxy.upgradeTo('1', contract.address).should.be.fulfilled
- contract = await HomeAMBNativeToErc20.at(storageProxy.address)
- })
- it('should fix mediator imbalance', async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [ether('5'), threeEthers, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ZERO_ADDRESS
- ).should.be.fulfilled
-
- // Given
-
- // send some native tokens to the contract
- await contract.sendTransaction({
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- await contract.sendTransaction({
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- await contract.sendTransaction({
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(threeEthers)
-
- // remove some native tokens from the contract
- const data = await contract.contract.methods.handleBridgedTokens(user, oneEther.toString()).encodeABI()
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- '1000000'
- ).should.be.fulfilled
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(oneEther)
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(twoEthers)
-
- // force some native tokens to the contract without calling the fallback method
- await Sacrifice.new(contract.address, { value: oneEther }).catch(() => {})
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(threeEthers)
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(threeEthers)
- expect(toBN(await contract.mediatorBalance())).to.be.bignumber.equal(twoEthers)
-
- // When
- // only owner can call the method
- await contract.fixMediatorBalance(user, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.fixMediatorBalance(ZERO_ADDRESS, { from: owner }).should.be.rejected
-
- await contract.fixMediatorBalance(user, { from: owner }).should.be.fulfilled
-
- // imbalance was already fixed
- await contract.fixMediatorBalance(user, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- // Then
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(threeEthers)
-
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ether('4'))
- expect(toBN(await contract.mediatorBalance())).to.be.bignumber.equal(threeEthers)
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(4)
- // Inlcude user address
- expect(events[3].returnValues.encodedData.includes(strip0x(user).toLowerCase())).to.be.equal(true)
- // Include mediator address
- expect(
- events[3].returnValues.encodedData.includes(strip0x(otherSideMediatorContract.address).toLowerCase())
- ).to.be.equal(true)
- // Include handleBridgedTokens method selector
- expect(events[3].returnValues.encodedData.includes('8b6c0354')).to.be.equal(true)
- })
- it('should fix mediator imbalance with respect to limits', async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [ether('4.5'), maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- ZERO_ADDRESS
- ).should.be.fulfilled
-
- // Given
-
- // send some native tokens to the contract
- await contract.sendTransaction({
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- await contract.sendTransaction({
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- await contract.sendTransaction({
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(threeEthers)
-
- // remove some native tokens from the contract
- const data = await contract.contract.methods.handleBridgedTokens(user, oneEther.toString()).encodeABI()
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- '1000000'
- ).should.be.fulfilled
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(oneEther)
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(twoEthers)
-
- // force some native tokens to the contract without calling the fallback method
- await Sacrifice.new(contract.address, { value: ether('2.5') }).catch(() => {})
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ether('4.5'))
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(threeEthers)
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(twoEthers)
-
- // When
- // only owner can call the method
- await contract.fixMediatorBalance(user, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.fixMediatorBalance(user, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ether('4'))
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ether('4.5'))
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(threeEthers)
-
- await contract.fixMediatorBalance(user, { from: owner }).should.be.fulfilled
-
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ether('4.5'))
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ether('4.5'))
- expect(await contract.mediatorBalance()).to.be.bignumber.equal(ether('3.5'))
-
- // reached daily quota limit
- await contract.fixMediatorBalance(user, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(5)
- // Inlcude user address
- expect(events[3].returnValues.encodedData.includes(strip0x(user).toLowerCase())).to.be.equal(true)
- // Include mediator address
- expect(
- events[3].returnValues.encodedData.includes(strip0x(otherSideMediatorContract.address).toLowerCase())
- ).to.be.equal(true)
- // Include handleBridgedTokens method selector
- expect(events[3].returnValues.encodedData.includes('8b6c0354')).to.be.equal(true)
- })
- it('should fix mediator imbalance correctly with fees', async () => {
- const feeManager = await HomeFeeManagerAMBNativeToErc20.new(owner, fee, rewardAccountList, contract.address)
-
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediatorContract.address,
- [ether('5'), maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- feeManager.address
- ).should.be.fulfilled
-
- // Given
-
- // send some native tokens to the contract
- await contract.sendTransaction({
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- await contract.sendTransaction({
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- await contract.sendTransaction({
- from: user,
- value: oneEther
- }).should.be.fulfilled
-
- const currentDay = await contract.getCurrentDay()
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(threeEthers)
-
- // remove some native tokens from the contract
- const data = await contract.contract.methods.handleBridgedTokens(user, oneEther.toString()).encodeABI()
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediatorContract.address,
- data,
- exampleMessageId,
- '1000000'
- ).should.be.fulfilled
- expect(await contract.totalExecutedPerDay(currentDay)).to.be.bignumber.equal(oneEther)
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(twoEthers)
-
- // force some native tokens to the contract without calling the fallback method
- await Sacrifice.new(contract.address, { value: oneEther }).catch(() => {})
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(threeEthers)
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(threeEthers)
- expect(toBN(await contract.mediatorBalance())).to.be.bignumber.equal(twoEthers)
-
- // When
- // only owner can call the method
- await contract.fixMediatorBalance(user, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- await contract.fixMediatorBalance(user, { from: owner }).should.be.fulfilled
-
- // imbalance was already fixed
- await contract.fixMediatorBalance(user, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- // Then
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(threeEthers)
-
- expect(await contract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ether('4'))
- expect(toBN(await contract.mediatorBalance())).to.be.bignumber.equal(threeEthers)
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(4)
- // Inlcude user address
- expect(events[3].returnValues.encodedData.includes(strip0x(user).toLowerCase())).to.be.equal(true)
- // Include mediator address
- expect(
- events[3].returnValues.encodedData.includes(strip0x(otherSideMediatorContract.address).toLowerCase())
- ).to.be.equal(true)
- // Include handleBridgedTokens method selector
- expect(events[3].returnValues.encodedData.includes('8b6c0354')).to.be.equal(true)
- })
- })
-})
diff --git a/test/compound/Dockerfile b/test/compound/Dockerfile
new file mode 100644
index 000000000..19acca4b0
--- /dev/null
+++ b/test/compound/Dockerfile
@@ -0,0 +1,22 @@
+FROM node:13
+
+RUN wget https://github.com/ethereum/solidity/releases/download/v0.5.16/solc-static-linux -O /usr/local/bin/solc
+RUN chmod +x /usr/local/bin/solc
+
+RUN git clone https://github.com/compound-finance/compound-protocol.git
+
+WORKDIR /compound-protocol
+
+RUN yarn
+RUN cd scenario && yarn
+
+RUN yarn compile
+RUN scenario/script/tsc
+
+COPY entrypoint.scen ./
+
+ENV PROVIDER='http://ganache:8545'
+ENV NO_TSC=1
+
+ENTRYPOINT ["yarn", "repl"]
+CMD ["-s", "entrypoint.scen", "c", "t"]
diff --git a/test/compound/contracts.js b/test/compound/contracts.js
new file mode 100644
index 000000000..6131a67a8
--- /dev/null
+++ b/test/compound/contracts.js
@@ -0,0 +1,13 @@
+const Comptroller = artifacts.require('IHarnessComptroller')
+const ERC20Mock = artifacts.require('ERC20Mock')
+const ICToken = artifacts.require('ICToken')
+
+async function getCompoundContracts() {
+ const comptroller = await Comptroller.at('0x85e855b22F01BdD33eE194490c7eB16b7EdaC019')
+ const dai = await ERC20Mock.at('0x0a4dBaF9656Fd88A32D087101Ee8bf399f4bd55f')
+ const cDai = await ICToken.at('0x615cba17EE82De39162BB87dBA9BcfD6E8BcF298')
+ const comp = await ERC20Mock.at('0x6f51036Ec66B08cBFdb7Bd7Fb7F40b184482d724')
+ return { comptroller, dai, cDai, comp }
+}
+
+module.exports = getCompoundContracts
diff --git a/test/compound/entrypoint.scen b/test/compound/entrypoint.scen
new file mode 100644
index 000000000..cb3bac6c0
--- /dev/null
+++ b/test/compound/entrypoint.scen
@@ -0,0 +1,33 @@
+MyAddress 0x3E5e9111Ae8eB78Fe1CC3bb8915d5D461F3Ef9A9
+
+-- Deploy contract
+NewComptroller
+ListedEtherToken cETH
+ListedCToken DAI cDAI
+Erc20 Deploy Standard COMP "COMP Token" 18
+
+-- Set contracts params
+Comptroller SetCollateralFactor cETH 0.9
+Comptroller SetCompSpeed cDAI 1
+Comptroller Send "setCompAddress(address)" (Address COMP)
+Give (Address Comptroller) 5000000e18 COMP
+
+-- Put ETH collateral
+SendMintEth Me 20e18 cETH
+EnterMarkets Me cETH
+
+-- Mint some DAI
+Give Me 500000e18 DAI
+
+-- Mint some cDAI
+Allow Me cDAI
+Mint Me 10e18 cDAI
+
+-- Print addresses
+Read Comptroller Address
+Read ERC20 DAI Address
+Read ERC20 Comp Address
+Read CToken cETH Address
+Read CToken cDAI Address
+
+Exit
diff --git a/test/docker-compose.yml b/test/docker-compose.yml
new file mode 100644
index 000000000..70ab307e4
--- /dev/null
+++ b/test/docker-compose.yml
@@ -0,0 +1,12 @@
+version: '3.8'
+services:
+ ganache:
+ image: trufflesuite/ganache-cli
+ command: --deterministic --gasLimit 20000000 --allowUnlimitedContractSize
+ ports:
+ - 8545:8545
+ compound:
+ image: kirillfedoseev/compound-test-deploy
+ # build: compound
+ stdin_open: true
+ tty: true
diff --git a/test/erc_to_erc/foreign_bridge.test.js b/test/erc_to_erc/foreign_bridge.test.js
deleted file mode 100644
index 487a77c3d..000000000
--- a/test/erc_to_erc/foreign_bridge.test.js
+++ /dev/null
@@ -1,979 +0,0 @@
-const ForeignBridge = artifacts.require('ForeignBridgeErcToErc.sol')
-const ForeignBridgeErc677ToErc677 = artifacts.require('ForeignBridgeErc677ToErc677.sol')
-const ForeignBridgeV2 = artifacts.require('ForeignBridgeV2.sol')
-const BridgeValidators = artifacts.require('BridgeValidators.sol')
-const EternalStorageProxy = artifacts.require('EternalStorageProxy.sol')
-const ERC677BridgeToken = artifacts.require('ERC677BridgeToken.sol')
-
-const { expect } = require('chai')
-const { ERROR_MSG, ZERO_ADDRESS, toBN } = require('../setup')
-const {
- createMessage,
- sign,
- signatureToVRS,
- ether,
- getEvents,
- expectEventInLogs,
- createFullAccounts,
- packSignatures
-} = require('../helpers/helpers')
-
-const oneEther = ether('1')
-const halfEther = ether('0.5')
-const requireBlockConfirmations = 8
-const gasPrice = web3.utils.toWei('1', 'gwei')
-const homeDailyLimit = oneEther
-const homeMaxPerTx = halfEther
-const maxPerTx = halfEther
-const minPerTx = ether('0.01')
-const dailyLimit = oneEther
-const ZERO = toBN(0)
-const MAX_VALIDATORS = 50
-const MAX_SIGNATURES = MAX_VALIDATORS
-const MAX_GAS = 8000000
-const decimalShiftZero = 0
-
-contract('ForeignBridge_ERC20_to_ERC20', async accounts => {
- let validatorContract
- let authorities
- let owner
- let token
- before(async () => {
- validatorContract = await BridgeValidators.new()
- authorities = [accounts[1], accounts[2]]
- owner = accounts[0]
- await validatorContract.initialize(1, authorities, owner)
- })
- describe('#initialize', async () => {
- it('should initialize', async () => {
- token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
- const foreignBridge = await ForeignBridge.new()
-
- expect(await foreignBridge.erc20token()).to.be.equal(ZERO_ADDRESS)
- expect(await foreignBridge.validatorContract()).to.be.equal(ZERO_ADDRESS)
- expect(await foreignBridge.deployedAtBlock()).to.be.bignumber.equal(ZERO)
- expect(await foreignBridge.isInitialized()).to.be.equal(false)
- expect(await foreignBridge.decimalShift()).to.be.bignumber.equal(ZERO)
- expect(await foreignBridge.requiredBlockConfirmations()).to.be.bignumber.equal(ZERO)
-
- await foreignBridge
- .initialize(
- ZERO_ADDRESS,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .initialize(
- validatorContract.address,
- ZERO_ADDRESS,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .initialize(
- validatorContract.address,
- owner,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .initialize(
- validatorContract.address,
- token.address,
- 0,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- 0,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .initialize(
- owner,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- await foreignBridge
- .initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, maxPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, dailyLimit, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // not valid decimal shift
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- 100
- ).should.be.rejected
-
- const { logs } = await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- '9'
- )
-
- expect(await foreignBridge.erc20token()).to.be.equal(token.address)
- expect(await foreignBridge.isInitialized()).to.be.equal(true)
- expect(await foreignBridge.validatorContract()).to.be.equal(validatorContract.address)
- expect(await foreignBridge.deployedAtBlock()).to.be.bignumber.above(ZERO)
- expect(await foreignBridge.requiredBlockConfirmations()).to.be.bignumber.equal(
- requireBlockConfirmations.toString()
- )
- expect(await foreignBridge.dailyLimit()).to.be.bignumber.equal(dailyLimit)
- expect(await foreignBridge.maxPerTx()).to.be.bignumber.equal(maxPerTx)
- expect(await foreignBridge.minPerTx()).to.be.bignumber.equal(minPerTx)
- expect(await foreignBridge.decimalShift()).to.be.bignumber.equal('9')
- expect(await foreignBridge.gasPrice()).to.be.bignumber.equal(gasPrice)
- const bridgeMode = '0xba4690f5' // 4 bytes of keccak256('erc-to-erc-core')
- expect(await foreignBridge.getBridgeMode()).to.be.equal(bridgeMode)
- const { major, minor, patch } = await foreignBridge.getBridgeInterfacesVersion()
- expect(major).to.be.bignumber.gte(ZERO)
- expect(minor).to.be.bignumber.gte(ZERO)
- expect(patch).to.be.bignumber.gte(ZERO)
-
- expectEventInLogs(logs, 'RequiredBlockConfirmationChanged', {
- requiredBlockConfirmations: toBN(requireBlockConfirmations)
- })
- expectEventInLogs(logs, 'GasPriceChanged', { gasPrice })
- expectEventInLogs(logs, 'DailyLimitChanged', { newLimit: dailyLimit })
- expectEventInLogs(logs, 'ExecutionDailyLimitChanged', { newLimit: homeDailyLimit })
- })
- })
- describe('#executeSignatures', async () => {
- const value = ether('0.25')
- let foreignBridge
- beforeEach(async () => {
- foreignBridge = await ForeignBridge.new()
- token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
- await token.mint(foreignBridge.address, value)
- })
- it('should allow to executeSignatures', async () => {
- const recipientAccount = accounts[3]
- const balanceBefore = await token.balanceOf(recipientAccount)
-
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
- false.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- const { logs } = await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
- logs[0].event.should.be.equal('RelayedMessage')
- logs[0].args.recipient.should.be.equal(recipientAccount)
- logs[0].args.value.should.be.bignumber.equal(value)
-
- const balanceAfter = await token.balanceOf(recipientAccount)
- const balanceAfterBridge = await token.balanceOf(foreignBridge.address)
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(value))
- balanceAfterBridge.should.be.bignumber.equal(ZERO)
- true.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- })
- it('should allow second withdrawal with different transactionHash but same recipient and value', async () => {
- const recipientAccount = accounts[3]
- const balanceBefore = await token.balanceOf(recipientAccount)
- // tx 1
- const transactionHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
- false.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
- // tx 2
- await token.mint(foreignBridge.address, value)
- const transactionHash2 = '0x77a496628a776a03d58d7e6059a5937f04bebd8ba4ff89f76dd4bb8ba7e291ee'
- const message2 = createMessage(recipientAccount, value, transactionHash2, foreignBridge.address)
- const signature2 = await sign(authorities[0], message2)
- const vrs2 = signatureToVRS(signature2)
- const oneSignature2 = packSignatures([vrs2])
- false.should.be.equal(await foreignBridge.relayedMessages(transactionHash2))
- const { logs } = await foreignBridge.executeSignatures(message2, oneSignature2).should.be.fulfilled
-
- logs[0].event.should.be.equal('RelayedMessage')
- logs[0].args.recipient.should.be.equal(recipientAccount)
- logs[0].args.value.should.be.bignumber.equal(value)
- const balanceAfter = await token.balanceOf(recipientAccount)
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(value.mul(toBN(2))))
- true.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- true.should.be.equal(await foreignBridge.relayedMessages(transactionHash2))
- })
-
- it('should not allow second withdraw (replay attack) with same transactionHash but different recipient', async () => {
- const recipientAccount = accounts[3]
- // tx 1
- const transactionHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
- false.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
- // tx 2
- await token.mint(foreignBridge.address, value)
- const message2 = createMessage(accounts[4], value, transactionHash, foreignBridge.address)
- const signature2 = await sign(authorities[0], message2)
- const vrs2 = signatureToVRS(signature2)
- const oneSignature2 = packSignatures([vrs2])
- true.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- await foreignBridge.executeSignatures(message2, oneSignature2).should.be.rejectedWith(ERROR_MSG)
- })
-
- it('should not allow withdraw over home max tx limit', async () => {
- const recipientAccount = accounts[3]
- const invalidValue = ether('0.75')
- await token.mint(foreignBridge.address, ether('5'))
-
- const transactionHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipientAccount, invalidValue, transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
-
- await foreignBridge.executeSignatures(message, oneSignature).should.be.rejectedWith(ERROR_MSG)
- })
-
- it('should not allow withdraw over daily home limit', async () => {
- const recipientAccount = accounts[3]
- await token.mint(foreignBridge.address, ether('5'))
-
- const transactionHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipientAccount, halfEther, transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
-
- await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
-
- const transactionHash2 = '0x69debd8fd1923c9cb3cd8ef6461e2740b2d037943b941729d5a47671a2bb8712'
- const message2 = createMessage(recipientAccount, halfEther, transactionHash2, foreignBridge.address)
- const signature2 = await sign(authorities[0], message2)
- const vrs2 = signatureToVRS(signature2)
- const oneSignature2 = packSignatures([vrs2])
-
- await foreignBridge.executeSignatures(message2, oneSignature2).should.be.fulfilled
-
- const transactionHash3 = '0x022695428093bb292db8e48bd1417c5e1b84c0bf673bd0fff23ed0fb6495b872'
- const message3 = createMessage(recipientAccount, halfEther, transactionHash3, foreignBridge.address)
- const signature3 = await sign(authorities[0], message3)
- const vrs3 = signatureToVRS(signature3)
- const oneSignature3 = packSignatures([vrs3])
-
- await foreignBridge.executeSignatures(message3, oneSignature3).should.be.rejectedWith(ERROR_MSG)
- })
- })
- describe('#withdraw with 2 minimum signatures', async () => {
- let multisigValidatorContract
- let twoAuthorities
- let ownerOfValidatorContract
- let foreignBridgeWithMultiSignatures
- const value = halfEther
- beforeEach(async () => {
- multisigValidatorContract = await BridgeValidators.new()
- token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
- twoAuthorities = [accounts[0], accounts[1]]
- ownerOfValidatorContract = accounts[3]
- await multisigValidatorContract.initialize(2, twoAuthorities, ownerOfValidatorContract, {
- from: ownerOfValidatorContract
- })
- foreignBridgeWithMultiSignatures = await ForeignBridge.new()
- await foreignBridgeWithMultiSignatures.initialize(
- multisigValidatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- { from: ownerOfValidatorContract }
- )
- await token.mint(foreignBridgeWithMultiSignatures.address, value)
- })
- it('withdraw should fail if not enough signatures are provided', async () => {
- const recipientAccount = accounts[4]
- // msg 1
- const transactionHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridgeWithMultiSignatures.address)
- const signature = await sign(twoAuthorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
- false.should.be.equal(await foreignBridgeWithMultiSignatures.relayedMessages(transactionHash))
- await foreignBridgeWithMultiSignatures.executeSignatures(message, oneSignature).should.be.rejectedWith(ERROR_MSG)
- // msg 2
- const signature2 = await sign(twoAuthorities[1], message)
- const vrs2 = signatureToVRS(signature2)
- const twoSignatures = packSignatures([vrs, vrs2])
- const { logs } = await foreignBridgeWithMultiSignatures.executeSignatures(message, twoSignatures).should.be
- .fulfilled
-
- logs[0].event.should.be.equal('RelayedMessage')
- logs[0].args.recipient.should.be.equal(recipientAccount)
- logs[0].args.value.should.be.bignumber.equal(value)
- true.should.be.equal(await foreignBridgeWithMultiSignatures.relayedMessages(transactionHash))
- })
- it('withdraw should fail if duplicate signature is provided', async () => {
- const recipientAccount = accounts[4]
- const transactionHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridgeWithMultiSignatures.address)
- const signature = await sign(twoAuthorities[0], message)
- const vrs = signatureToVRS(signature)
- const twoSignatures = packSignatures([vrs, vrs])
- false.should.be.equal(await foreignBridgeWithMultiSignatures.relayedMessages(transactionHash))
- await foreignBridgeWithMultiSignatures.executeSignatures(message, twoSignatures).should.be.rejectedWith(ERROR_MSG)
- })
-
- it('works with 5 validators and 3 required signatures', async () => {
- const recipient = accounts[8]
- const authoritiesFiveAccs = [accounts[1], accounts[2], accounts[3], accounts[4], accounts[5]]
- const ownerOfValidators = accounts[0]
- const validatorContractWith3Signatures = await BridgeValidators.new()
- await validatorContractWith3Signatures.initialize(3, authoritiesFiveAccs, ownerOfValidators)
- const erc20Token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
- const value = halfEther
- const foreignBridgeWithThreeSigs = await ForeignBridge.new()
-
- await foreignBridgeWithThreeSigs.initialize(
- validatorContractWith3Signatures.address,
- erc20Token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
- await erc20Token.mint(foreignBridgeWithThreeSigs.address, value)
-
- const txHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipient, value, txHash, foreignBridgeWithThreeSigs.address)
-
- // signature 1
- const signature = await sign(authoritiesFiveAccs[0], message)
- const vrs = signatureToVRS(signature)
-
- // signature 2
- const signature2 = await sign(authoritiesFiveAccs[1], message)
- const vrs2 = signatureToVRS(signature2)
-
- // signature 3
- const signature3 = await sign(authoritiesFiveAccs[2], message)
- const vrs3 = signatureToVRS(signature3)
-
- const threeSignatures = packSignatures([vrs, vrs2, vrs3])
-
- const { logs } = await foreignBridgeWithThreeSigs.executeSignatures(message, threeSignatures).should.be.fulfilled
- logs[0].event.should.be.equal('RelayedMessage')
- logs[0].args.recipient.should.be.equal(recipient)
- logs[0].args.value.should.be.bignumber.equal(value)
- true.should.be.equal(await foreignBridgeWithThreeSigs.relayedMessages(txHash))
- })
-
- it('works with max allowed number of signatures required', async () => {
- const recipient = accounts[8]
- const value = halfEther
- const validatorContract = await BridgeValidators.new()
- const authorities = createFullAccounts(web3, MAX_VALIDATORS)
- const addresses = authorities.map(account => account.address)
- const ownerOfValidators = accounts[0]
-
- await validatorContract.initialize(MAX_SIGNATURES, addresses, ownerOfValidators)
- const erc20Token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
- const foreignBridgeWithMaxSigs = await ForeignBridge.new()
-
- await foreignBridgeWithMaxSigs.initialize(
- validatorContract.address,
- erc20Token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
- await erc20Token.mint(foreignBridgeWithMaxSigs.address, value)
-
- const txHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipient, value, txHash, foreignBridgeWithMaxSigs.address)
-
- const vrsList = []
- for (let i = 0; i < MAX_SIGNATURES; i++) {
- const { signature } = await authorities[i].sign(message)
- vrsList[i] = signatureToVRS(signature)
- }
-
- const maxSignatures = packSignatures(vrsList)
-
- const { receipt } = await foreignBridgeWithMaxSigs.executeSignatures(message, maxSignatures).should.be.fulfilled
- expect(receipt.gasUsed).to.be.lte(MAX_GAS)
- })
- })
- describe('#upgradeable', async () => {
- it('can be upgraded', async () => {
- const REQUIRED_NUMBER_OF_VALIDATORS = 1
- const VALIDATORS = [accounts[1]]
- const PROXY_OWNER = accounts[0]
- // Validators Contract
- let validatorsProxy = await EternalStorageProxy.new().should.be.fulfilled
- const validatorsContractImpl = await BridgeValidators.new().should.be.fulfilled
- await validatorsProxy.upgradeTo('1', validatorsContractImpl.address).should.be.fulfilled
- validatorsContractImpl.address.should.be.equal(await validatorsProxy.implementation())
-
- validatorsProxy = await BridgeValidators.at(validatorsProxy.address)
- await validatorsProxy.initialize(REQUIRED_NUMBER_OF_VALIDATORS, VALIDATORS, PROXY_OWNER).should.be.fulfilled
- const token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
-
- // ForeignBridge V1 Contract
-
- let foreignBridgeProxy = await EternalStorageProxy.new().should.be.fulfilled
- const foreignBridgeImpl = await ForeignBridge.new().should.be.fulfilled
- await foreignBridgeProxy.upgradeTo('1', foreignBridgeImpl.address).should.be.fulfilled
-
- foreignBridgeProxy = await ForeignBridge.at(foreignBridgeProxy.address)
- await foreignBridgeProxy.initialize(
- validatorsProxy.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
-
- // Deploy V2
- const foreignImplV2 = await ForeignBridgeV2.new()
- const foreignBridgeProxyUpgrade = await EternalStorageProxy.at(foreignBridgeProxy.address)
- await foreignBridgeProxyUpgrade.upgradeTo('2', foreignImplV2.address).should.be.fulfilled
- foreignImplV2.address.should.be.equal(await foreignBridgeProxyUpgrade.implementation())
-
- const foreignBridgeV2Proxy = await ForeignBridgeV2.at(foreignBridgeProxy.address)
- await foreignBridgeV2Proxy.doSomething(accounts[2], { from: accounts[4] }).should.be.rejectedWith(ERROR_MSG)
- await foreignBridgeV2Proxy.doSomething(accounts[2], { from: PROXY_OWNER }).should.be.fulfilled
- ;(await foreignBridgeV2Proxy.something()).should.be.equal(accounts[2])
- })
- it('can be deployed via upgradeToAndCall', async () => {
- const tokenAddress = token.address
- const validatorsAddress = validatorContract.address
-
- const storageProxy = await EternalStorageProxy.new().should.be.fulfilled
- const foreignBridge = await ForeignBridge.new()
- const data = foreignBridge.contract.methods
- .initialize(
- validatorsAddress,
- tokenAddress,
- requireBlockConfirmations,
- gasPrice,
- ['3', '2', '1'],
- ['3', '2'],
- owner,
- decimalShiftZero
- )
- .encodeABI()
- await storageProxy.upgradeToAndCall('1', foreignBridge.address, data).should.be.fulfilled
- const finalContract = await ForeignBridge.at(storageProxy.address)
- true.should.be.equal(await finalContract.isInitialized())
- validatorsAddress.should.be.equal(await finalContract.validatorContract())
- })
- })
- describe('#claimTokens', async () => {
- it('can send erc20', async () => {
- const owner = accounts[0]
- token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
- const foreignBridgeImpl = await ForeignBridge.new()
- const storageProxy = await EternalStorageProxy.new().should.be.fulfilled
- await storageProxy.upgradeTo('1', foreignBridgeImpl.address).should.be.fulfilled
- const foreignBridge = await ForeignBridge.at(storageProxy.address)
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
-
- const tokenSecond = await ERC677BridgeToken.new('Roman Token', 'RST', 18)
-
- await tokenSecond.mint(accounts[0], halfEther).should.be.fulfilled
- expect(await tokenSecond.balanceOf(accounts[0])).to.be.bignumber.equal(halfEther)
-
- await tokenSecond.transfer(foreignBridge.address, halfEther)
- expect(await tokenSecond.balanceOf(accounts[0])).to.be.bignumber.equal(ZERO)
- expect(await tokenSecond.balanceOf(foreignBridge.address)).to.be.bignumber.equal(halfEther)
-
- await foreignBridge
- .claimTokens(tokenSecond.address, accounts[3], { from: accounts[3] })
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge.claimTokens(tokenSecond.address, accounts[3], { from: owner })
- expect(await tokenSecond.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ZERO)
- expect(await tokenSecond.balanceOf(accounts[3])).to.be.bignumber.equal(halfEther)
- })
- })
- describe('#ForeignBridgeErc677ToErc677_onTokenTransfer', async () => {
- it('should emit correct events on initialize', async () => {
- const owner = accounts[3]
- token = await ERC677BridgeToken.new('TEST', 'TST', 18, { from: owner })
- const foreignBridge = await ForeignBridgeErc677ToErc677.new()
- const { logs } = await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
-
- expectEventInLogs(logs, 'RequiredBlockConfirmationChanged', {
- requiredBlockConfirmations: toBN(requireBlockConfirmations)
- })
- expectEventInLogs(logs, 'GasPriceChanged', { gasPrice })
- expectEventInLogs(logs, 'ExecutionDailyLimitChanged', { newLimit: homeDailyLimit })
- expectEventInLogs(logs, 'DailyLimitChanged', { newLimit: dailyLimit })
- })
- it('can only be called from token contract', async () => {
- const owner = accounts[3]
- const user = accounts[4]
- token = await ERC677BridgeToken.new('TEST', 'TST', 18, { from: owner })
- const foreignBridge = await ForeignBridgeErc677ToErc677.new()
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
-
- await token.mint(user, halfEther, { from: owner }).should.be.fulfilled
- await token.transferOwnership(foreignBridge.address, { from: owner })
- await foreignBridge.onTokenTransfer(user, halfEther, '0x', { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await token.transferAndCall(foreignBridge.address, halfEther, '0x', { from: user }).should.be.fulfilled
- expect(await token.totalSupply()).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(halfEther)
-
- const events = await getEvents(foreignBridge, { event: 'UserRequestForAffirmation' })
- expect(events[0].returnValues.recipient).to.be.equal(user)
- expect(toBN(events[0].returnValues.value)).to.be.bignumber.equal(halfEther)
- })
- it('should not allow to transfer more than maxPerTx limit', async () => {
- const owner = accounts[3]
- const user = accounts[4]
- const valueMoreThanLimit = halfEther.add(toBN(1))
- token = await ERC677BridgeToken.new('TEST', 'TST', 18, { from: owner })
- const foreignBridge = await ForeignBridgeErc677ToErc677.new()
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
-
- await token.mint(user, valueMoreThanLimit, { from: owner }).should.be.fulfilled
- await token.transferOwnership(foreignBridge.address, { from: owner })
-
- await token
- .transferAndCall(foreignBridge.address, valueMoreThanLimit, '0x', { from: user })
- .should.be.rejectedWith(ERROR_MSG)
- valueMoreThanLimit.should.be.bignumber.equal(await token.totalSupply())
- valueMoreThanLimit.should.be.bignumber.equal(await token.balanceOf(user))
-
- await token.transferAndCall(foreignBridge.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- expect(await token.totalSupply()).to.be.bignumber.equal(valueMoreThanLimit)
- expect(await token.balanceOf(user)).to.be.bignumber.equal('1')
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(halfEther)
- const events = await getEvents(foreignBridge, { event: 'UserRequestForAffirmation' })
- expect(events[0].returnValues.recipient).to.be.equal(user)
- expect(toBN(events[0].returnValues.value)).to.be.bignumber.equal(halfEther)
- })
- it('should only let to transfer within daily limit', async () => {
- const owner = accounts[3]
- const user = accounts[4]
- const valueMoreThanLimit = halfEther.add(toBN(1))
- token = await ERC677BridgeToken.new('TEST', 'TST', 18, { from: owner })
- const foreignBridge = await ForeignBridgeErc677ToErc677.new()
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
-
- await token.mint(user, oneEther.add(toBN(1)), { from: owner }).should.be.fulfilled
- await token.transferOwnership(foreignBridge.address, { from: owner })
-
- await token
- .transferAndCall(foreignBridge.address, valueMoreThanLimit, '0x', { from: user })
- .should.be.rejectedWith(ERROR_MSG)
- oneEther.add(toBN(1)).should.be.bignumber.equal(await token.totalSupply())
- oneEther.add(toBN(1)).should.be.bignumber.equal(await token.balanceOf(user))
-
- await token.transferAndCall(foreignBridge.address, halfEther, '0x', { from: user }).should.be.fulfilled
- oneEther.add(toBN(1)).should.be.bignumber.equal(await token.totalSupply())
- valueMoreThanLimit.should.be.bignumber.equal(await token.balanceOf(user))
- const events = await getEvents(foreignBridge, { event: 'UserRequestForAffirmation' })
- expect(events[0].returnValues.recipient).to.be.equal(user)
- expect(toBN(events[0].returnValues.value)).to.be.bignumber.equal(halfEther)
-
- await token.transferAndCall(foreignBridge.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- expect(await token.totalSupply()).to.be.bignumber.equal(oneEther.add(toBN(1)))
- expect(await token.balanceOf(user)).to.be.bignumber.equal('1')
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(oneEther)
-
- await token.transferAndCall(foreignBridge.address, '1', '0x', { from: user }).should.be.rejectedWith(ERROR_MSG)
- })
- it('should not let to transfer less than minPerTx', async () => {
- const owner = accounts[3]
- const user = accounts[4]
- const valueLessThanMinPerTx = minPerTx.sub(toBN(1))
- token = await ERC677BridgeToken.new('TEST', 'TST', 18, { from: owner })
- const foreignBridge = await ForeignBridgeErc677ToErc677.new()
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
-
- await token.mint(user, oneEther, { from: owner }).should.be.fulfilled
- await token.transferOwnership(foreignBridge.address, { from: owner })
-
- await token
- .transferAndCall(foreignBridge.address, valueLessThanMinPerTx, '0x', { from: user })
- .should.be.rejectedWith(ERROR_MSG)
- expect(await token.totalSupply()).to.be.bignumber.equal(oneEther)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
-
- await token.transferAndCall(foreignBridge.address, minPerTx, '0x', { from: user }).should.be.fulfilled
-
- expect(await token.totalSupply()).to.be.bignumber.equal(oneEther)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther.sub(minPerTx))
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(minPerTx)
-
- const events = await getEvents(foreignBridge, { event: 'UserRequestForAffirmation' })
- expect(events[0].returnValues.recipient).to.be.equal(user)
- expect(toBN(events[0].returnValues.value)).to.be.bignumber.equal(minPerTx)
- })
- it('should be able to specify a different receiver', async () => {
- const owner = accounts[3]
- const user = accounts[4]
- const user2 = accounts[5]
- token = await ERC677BridgeToken.new('TEST', 'TST', 18, { from: owner })
- const foreignBridge = await ForeignBridgeErc677ToErc677.new()
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
- await token.mint(user, halfEther, { from: owner }).should.be.fulfilled
- await token.transferOwnership(foreignBridge.address, { from: owner })
- await token
- .transferAndCall(foreignBridge.address, halfEther, ZERO_ADDRESS, { from: user })
- .should.be.rejectedWith(ERROR_MSG)
- await token
- .transferAndCall(foreignBridge.address, halfEther, '0x0000', { from: user })
- .should.be.rejectedWith(ERROR_MSG)
- await token.transferAndCall(foreignBridge.address, halfEther, user2, { from: user }).should.be.fulfilled
-
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- const events = await getEvents(foreignBridge, { event: 'UserRequestForAffirmation' })
- expect(events[0].returnValues.recipient).to.be.equal(user2)
- expect(toBN(events[0].returnValues.value)).to.be.bignumber.equal(halfEther)
- })
- })
- describe('#decimalShift', async () => {
- for (const decimalShift of [2, -1]) {
- it(`Home to Foreign: withdraw with 1 signature with a decimalShift of ${decimalShift}`, async () => {
- const valueOnForeign = toBN('1000')
- // Value is decimals shifted from foreign to home: Native on home = 16+2 shift = 18 decimals
- const valueOnHome = toBN(valueOnForeign * 10 ** decimalShift)
- const foreignBridge = await ForeignBridge.new()
- token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 16)
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShift
- )
- await token.mint(foreignBridge.address, valueOnForeign)
-
- const recipientAccount = accounts[3]
- const balanceBefore = await token.balanceOf(recipientAccount)
-
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, valueOnHome, transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
- false.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- const { logs } = await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
- logs[0].event.should.be.equal('RelayedMessage')
- logs[0].args.recipient.should.be.equal(recipientAccount)
- logs[0].args.value.should.be.bignumber.equal(valueOnHome)
-
- const balanceAfter = await token.balanceOf(recipientAccount)
- const balanceAfterBridge = await token.balanceOf(foreignBridge.address)
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(valueOnForeign))
- balanceAfterBridge.should.be.bignumber.equal(ZERO)
- true.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- })
- it('Home to Foreign : withdraw works with 5 validators and 3 required signatures with a decimalShift of 2', async () => {
- const valueOnForeign = toBN('1000')
- // Value is decimals shifted from foreign to home: Native on home = 16+2 shift = 18 decimals
- const valueOnHome = toBN(valueOnForeign * 10 ** decimalShift)
- const recipient = accounts[8]
- const authoritiesFiveAccs = [accounts[1], accounts[2], accounts[3], accounts[4], accounts[5]]
- const ownerOfValidators = accounts[0]
- const validatorContractWith3Signatures = await BridgeValidators.new()
- await validatorContractWith3Signatures.initialize(3, authoritiesFiveAccs, ownerOfValidators)
- const erc20Token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 16)
-
- const foreignBridgeWithThreeSigs = await ForeignBridge.new()
-
- await foreignBridgeWithThreeSigs.initialize(
- validatorContractWith3Signatures.address,
- erc20Token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShift
- )
- await erc20Token.mint(foreignBridgeWithThreeSigs.address, valueOnForeign)
-
- const balanceBeforeRecipient = await erc20Token.balanceOf(recipient)
- const balanceBeforeBridge = await erc20Token.balanceOf(foreignBridgeWithThreeSigs.address)
-
- const txHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipient, valueOnHome, txHash, foreignBridgeWithThreeSigs.address)
-
- // signature 1
- const signature = await sign(authoritiesFiveAccs[0], message)
- const vrs = signatureToVRS(signature)
-
- // signature 2
- const signature2 = await sign(authoritiesFiveAccs[1], message)
- const vrs2 = signatureToVRS(signature2)
-
- // signature 3
- const signature3 = await sign(authoritiesFiveAccs[2], message)
- const vrs3 = signatureToVRS(signature3)
-
- const threeSignatures = packSignatures([vrs, vrs2, vrs3])
-
- const { logs } = await foreignBridgeWithThreeSigs.executeSignatures(message, threeSignatures).should.be
- .fulfilled
- logs[0].event.should.be.equal('RelayedMessage')
- logs[0].args.recipient.should.be.equal(recipient)
- logs[0].args.value.should.be.bignumber.equal(valueOnHome)
- true.should.be.equal(await foreignBridgeWithThreeSigs.relayedMessages(txHash))
- const balanceAfterRecipient = await erc20Token.balanceOf(recipient)
- balanceAfterRecipient.should.be.bignumber.equal(balanceBeforeRecipient.add(valueOnForeign))
- const balanceAfterBridge = await erc20Token.balanceOf(foreignBridgeWithThreeSigs.address)
- balanceBeforeBridge.should.be.bignumber.equal(balanceAfterBridge.add(valueOnForeign))
- })
- it('Foreign to Home: no impact in UserRequestForAffirmation event signal for bridges oracles with a decimalShift of 2.', async () => {
- const value = halfEther
- const owner = accounts[3]
- const user = accounts[4]
- token = await ERC677BridgeToken.new('TEST', 'TST', 16, { from: owner })
- const foreignBridge = await ForeignBridgeErc677ToErc677.new()
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShift
- )
-
- await token.mint(user, value, { from: owner }).should.be.fulfilled
- await token.transferOwnership(foreignBridge.address, { from: owner })
- await foreignBridge.onTokenTransfer(user, value, '0x', { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await token.transferAndCall(foreignBridge.address, value, '0x', { from: user }).should.be.fulfilled
- expect(await token.totalSupply()).to.be.bignumber.equal(value)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(value)
-
- const events = await getEvents(foreignBridge, { event: 'UserRequestForAffirmation' })
- expect(events[0].returnValues.recipient).to.be.equal(user)
- expect(toBN(events[0].returnValues.value)).to.be.bignumber.equal(value)
- })
- }
- })
- describe('#relayTokens', () => {
- const value = ether('0.25')
- const user = accounts[7]
- const recipient = accounts[8]
- let foreignBridge
- beforeEach(async () => {
- foreignBridge = await ForeignBridge.new()
- token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero
- )
- await token.mint(user, ether('2'))
- })
- it('should allow to bridge tokens using approve tranferFrom', async () => {
- // Given
- const currentDay = await foreignBridge.getCurrentDay()
- expect(await foreignBridge.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
- await foreignBridge.relayTokens(recipient, value, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- await token.approve(foreignBridge.address, value, { from: user }).should.be.fulfilled
-
- // When
- await foreignBridge.relayTokens(ZERO_ADDRESS, value, { from: user }).should.be.rejectedWith(ERROR_MSG)
- await foreignBridge.relayTokens(foreignBridge.address, value, { from: user }).should.be.rejectedWith(ERROR_MSG)
- await foreignBridge.relayTokens(recipient, 0, { from: user }).should.be.rejectedWith(ERROR_MSG)
- const { logs } = await foreignBridge.relayTokens(recipient, value, { from: user }).should.be.fulfilled
-
- // Then
- expect(await foreignBridge.totalSpentPerDay(currentDay)).to.be.bignumber.equal(value)
- expectEventInLogs(logs, 'UserRequestForAffirmation', {
- recipient,
- value
- })
- })
- it('should not be able to transfer more than limit', async () => {
- // Given
- const userSupply = ether('2')
- const bigValue = oneEther
- const smallValue = ether('0.001')
- const currentDay = await foreignBridge.getCurrentDay()
- expect(await foreignBridge.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
-
- await token.approve(foreignBridge.address, userSupply, { from: user }).should.be.fulfilled
-
- // When
- // value < minPerTx
- await foreignBridge.relayTokens(recipient, smallValue, { from: user }).should.be.rejectedWith(ERROR_MSG)
- // value > maxPerTx
- await foreignBridge.relayTokens(recipient, bigValue, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- await foreignBridge.relayTokens(recipient, halfEther, { from: user }).should.be.fulfilled
- await foreignBridge.relayTokens(recipient, halfEther, { from: user }).should.be.fulfilled
- // totalSpentPerDay > dailyLimit
- await foreignBridge.relayTokens(recipient, halfEther, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- // Then
- expect(await foreignBridge.totalSpentPerDay(currentDay)).to.be.bignumber.equal(oneEther)
- })
- })
-})
diff --git a/test/erc_to_erc/home_bridge.test.js b/test/erc_to_erc/home_bridge.test.js
deleted file mode 100644
index a5050f917..000000000
--- a/test/erc_to_erc/home_bridge.test.js
+++ /dev/null
@@ -1,2166 +0,0 @@
-const HomeBridge = artifacts.require('HomeBridgeErcToErc.sol')
-const POSDAOHomeBridge = artifacts.require('HomeBridgeErcToErcPOSDAO.sol')
-const EternalStorageProxy = artifacts.require('EternalStorageProxy.sol')
-const BridgeValidators = artifacts.require('BridgeValidators.sol')
-const ERC677BridgeToken = artifacts.require('ERC677BridgeToken.sol')
-const ERC677BridgeTokenRewardable = artifacts.require('ERC677BridgeTokenRewardable.sol')
-const FeeManagerErcToErcPOSDAO = artifacts.require('FeeManagerErcToErcPOSDAO.sol')
-const RewardableValidators = artifacts.require('RewardableValidators.sol')
-const BlockReward = artifacts.require('BlockRewardMock.sol')
-const OldBlockReward = artifacts.require('OldBlockReward')
-
-const { expect } = require('chai')
-const { ERROR_MSG, ZERO_ADDRESS, toBN } = require('../setup')
-const { createMessage, sign, getEvents, ether, expectEventInLogs, createAccounts } = require('../helpers/helpers')
-
-const minPerTx = ether('0.01')
-const requireBlockConfirmations = 8
-const gasPrice = web3.utils.toWei('1', 'gwei')
-const quarterEther = ether('0.25')
-const oneEther = ether('1')
-const halfEther = ether('0.5')
-const foreignDailyLimit = oneEther
-const foreignMaxPerTx = halfEther
-const ZERO = toBN(0)
-const MAX_GAS = 8000000
-const MAX_VALIDATORS = 50
-const decimalShiftZero = 0
-const markedAsProcessed = toBN(2)
- .pow(toBN(255))
- .add(toBN(1))
-
-contract('HomeBridge_ERC20_to_ERC20', async accounts => {
- let homeContract
- let validatorContract
- let authorities
- let owner
- let token
- before(async () => {
- validatorContract = await BridgeValidators.new()
- authorities = [accounts[1]]
- owner = accounts[0]
- await validatorContract.initialize(1, authorities, owner)
- })
- describe('#initialize', async () => {
- beforeEach(async () => {
- homeContract = await HomeBridge.new()
- token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
- })
- it('sets variables', async () => {
- expect(await homeContract.validatorContract()).to.be.equal(ZERO_ADDRESS)
- expect(await homeContract.deployedAtBlock()).to.be.bignumber.equal(ZERO)
- expect(await homeContract.dailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await homeContract.maxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await homeContract.decimalShift()).to.be.bignumber.equal(ZERO)
- expect(await homeContract.isInitialized()).to.be.equal(false)
-
- const { logs } = await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- '9'
- ).should.be.fulfilled
-
- expect(await homeContract.isInitialized()).to.be.equal(true)
- expect(await homeContract.validatorContract()).to.be.equal(validatorContract.address)
- expect(await homeContract.deployedAtBlock()).to.be.bignumber.above(ZERO)
- expect(await homeContract.dailyLimit()).to.be.bignumber.equal('3')
- expect(await homeContract.maxPerTx()).to.be.bignumber.equal('2')
- expect(await homeContract.minPerTx()).to.be.bignumber.equal('1')
- expect(await homeContract.decimalShift()).to.be.bignumber.equal('9')
- const bridgeMode = '0xba4690f5' // 4 bytes of keccak256('erc-to-erc-core')
- expect(await homeContract.getBridgeMode()).to.be.equal(bridgeMode)
- const { major, minor, patch } = await homeContract.getBridgeInterfacesVersion()
- expect(major).to.be.bignumber.gte(ZERO)
- expect(minor).to.be.bignumber.gte(ZERO)
- expect(patch).to.be.bignumber.gte(ZERO)
-
- expectEventInLogs(logs, 'RequiredBlockConfirmationChanged', {
- requiredBlockConfirmations: toBN(requireBlockConfirmations)
- })
- expectEventInLogs(logs, 'GasPriceChanged', { gasPrice })
- expectEventInLogs(logs, 'DailyLimitChanged', { newLimit: '3' })
- expectEventInLogs(logs, 'ExecutionDailyLimitChanged', { newLimit: foreignDailyLimit })
- })
- it('cant set maxPerTx > dailyLimit', async () => {
- expect(await homeContract.isInitialized()).to.be.equal(false)
-
- await homeContract
- .initialize(
- validatorContract.address,
- ['1', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await homeContract
- .initialize(
- validatorContract.address,
- ['3', '2', '2'],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- expect(await homeContract.isInitialized()).to.be.equal(false)
- })
-
- it('can be deployed via upgradeToAndCall', async () => {
- const storageProxy = await EternalStorageProxy.new().should.be.fulfilled
- const data = homeContract.contract.methods
- .initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- ['3', '2'],
- owner,
- decimalShiftZero
- )
- .encodeABI()
- await storageProxy.upgradeToAndCall('1', homeContract.address, data).should.be.fulfilled
- const finalContract = await HomeBridge.at(storageProxy.address)
-
- expect(await finalContract.isInitialized()).to.be.equal(true)
- expect(await finalContract.validatorContract()).to.be.equal(validatorContract.address)
- expect(await finalContract.dailyLimit()).to.be.bignumber.equal('3')
- expect(await finalContract.maxPerTx()).to.be.bignumber.equal('2')
- expect(await finalContract.minPerTx()).to.be.bignumber.equal('1')
- })
-
- it('cant initialize with invalid arguments', async () => {
- expect(await homeContract.isInitialized()).to.be.equal(false)
-
- await homeContract
- .initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- 0,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await homeContract
- .initialize(
- owner,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await homeContract
- .initialize(
- ZERO_ADDRESS,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await homeContract
- .initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- ZERO_ADDRESS,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await homeContract
- .initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- owner,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await homeContract
- .initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [halfEther, oneEther],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // not valid decimal shift
- await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- 100
- ).should.be.rejected
-
- await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- ).should.be.fulfilled
-
- expect(await homeContract.isInitialized()).to.be.equal(true)
- })
- it('can initialize with zero gas price ', async () => {
- // Given
- expect(await homeContract.isInitialized()).to.be.equal(false)
-
- // When
- await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- 0,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- ).should.be.fulfilled
-
- // Then
- expect(await homeContract.isInitialized()).to.be.equal(true)
- })
- })
-
- describe('#fallback', async () => {
- beforeEach(async () => {
- homeContract = await HomeBridge.new()
- token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
- await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- })
- it('reverts', async () => {
- await homeContract
- .sendTransaction({
- from: accounts[1],
- value: 1
- })
- .should.be.rejectedWith(ERROR_MSG)
- })
- })
-
- describe('#setting limits', async () => {
- let homeContract
- beforeEach(async () => {
- homeContract = await HomeBridge.new()
- token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
- await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- })
- it('#setMaxPerTx allows to set only to owner and cannot be more than daily limit', async () => {
- await homeContract.setMaxPerTx(2, { from: authorities[0] }).should.be.rejectedWith(ERROR_MSG)
- await homeContract.setMaxPerTx(2, { from: owner }).should.be.fulfilled
-
- await homeContract.setMaxPerTx(3, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
-
- it('#setMinPerTx allows to set only to owner and cannot be more than daily limit and should be less than maxPerTx', async () => {
- await homeContract.setMinPerTx(1, { from: authorities[0] }).should.be.rejectedWith(ERROR_MSG)
- await homeContract.setMinPerTx(1, { from: owner }).should.be.fulfilled
-
- await homeContract.setMinPerTx(2, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
- })
-
- describe('#executeAffirmation', async () => {
- let homeBridge
- beforeEach(async () => {
- homeBridge = await HomeBridge.new()
- token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
- await homeBridge.initialize(
- validatorContract.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- await token.transferOwnership(homeBridge.address)
- })
- it('should allow validator to withdraw', async () => {
- const recipient = accounts[5]
- const value = halfEther
- const balanceBefore = await token.balanceOf(recipient)
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const { logs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- })
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: authorities[0],
- transactionHash
- })
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
-
- const totalSupply = await token.totalSupply()
- const balanceAfter = await token.balanceOf(recipient)
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(value))
- totalSupply.should.be.bignumber.equal(value)
-
- const msgHash = web3.utils.soliditySha3(recipient, value, transactionHash)
- const senderHash = web3.utils.soliditySha3(authorities[0], msgHash)
- true.should.be.equal(await homeBridge.affirmationsSigned(senderHash))
- markedAsProcessed.should.be.bignumber.equal(await homeBridge.numAffirmationsSigned(msgHash))
- await homeBridge
- .executeAffirmation(recipient, value, transactionHash, { from: authorities[0] })
- .should.be.rejectedWith(ERROR_MSG)
- })
-
- it('should allow validator to withdraw with zero value', async () => {
- const recipient = accounts[5]
- const value = ZERO
- const balanceBefore = await token.balanceOf(recipient)
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- const { logs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- })
-
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: authorities[0],
- transactionHash
- })
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
-
- const totalSupply = await token.totalSupply()
- const balanceAfter = await token.balanceOf(recipient)
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(value))
- totalSupply.should.be.bignumber.equal(value)
-
- const msgHash = web3.utils.soliditySha3(recipient, value, transactionHash)
- const senderHash = web3.utils.soliditySha3(authorities[0], msgHash)
- true.should.be.equal(await homeBridge.affirmationsSigned(senderHash))
- markedAsProcessed.should.be.bignumber.equal(await homeBridge.numAffirmationsSigned(msgHash))
- await homeBridge
- .executeAffirmation(recipient, value, transactionHash, { from: authorities[0] })
- .should.be.rejectedWith(ERROR_MSG)
- })
-
- it('test with 2 signatures required', async () => {
- const token2sig = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
- const validatorContractWith2Signatures = await BridgeValidators.new()
- const authoritiesThreeAccs = [accounts[1], accounts[2], accounts[3]]
- const ownerOfValidators = accounts[0]
- await validatorContractWith2Signatures.initialize(2, authoritiesThreeAccs, ownerOfValidators)
- const homeBridgeWithTwoSigs = await HomeBridge.new()
- await homeBridgeWithTwoSigs.initialize(
- validatorContractWith2Signatures.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token2sig.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- await token2sig.transferOwnership(homeBridgeWithTwoSigs.address)
- const recipient = accounts[5]
- const value = halfEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const balanceBefore = await token2sig.balanceOf(recipient)
- const msgHash = web3.utils.soliditySha3(recipient, value, transactionHash)
-
- const { logs } = await homeBridgeWithTwoSigs.executeAffirmation(recipient, value, transactionHash, {
- from: authoritiesThreeAccs[0]
- }).should.be.fulfilled
-
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: authorities[0],
- transactionHash
- })
-
- expect(await token2sig.totalSupply()).to.be.bignumber.equal(ZERO)
- const notProcessed = await homeBridgeWithTwoSigs.numAffirmationsSigned(msgHash)
- notProcessed.should.be.bignumber.equal('1')
-
- await homeBridgeWithTwoSigs
- .executeAffirmation(recipient, value, transactionHash, { from: authoritiesThreeAccs[0] })
- .should.be.rejectedWith(ERROR_MSG)
- const secondSignature = await homeBridgeWithTwoSigs.executeAffirmation(recipient, value, transactionHash, {
- from: authoritiesThreeAccs[1]
- }).should.be.fulfilled
-
- const balanceAfter = await token2sig.balanceOf(recipient)
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(value))
-
- expectEventInLogs(secondSignature.logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
-
- const senderHash = web3.utils.soliditySha3(authoritiesThreeAccs[0], msgHash)
- true.should.be.equal(await homeBridgeWithTwoSigs.affirmationsSigned(senderHash))
-
- const senderHash2 = web3.utils.soliditySha3(authoritiesThreeAccs[1], msgHash)
- true.should.be.equal(await homeBridgeWithTwoSigs.affirmationsSigned(senderHash2))
-
- const processed = toBN(2)
- .pow(toBN(255))
- .add(toBN(2))
- expect(await homeBridgeWithTwoSigs.numAffirmationsSigned(msgHash)).to.be.bignumber.equal(processed)
- })
- it('should not allow to double submit', async () => {
- const recipient = accounts[5]
- const value = '1'
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
- await homeBridge
- .executeAffirmation(recipient, value, transactionHash, { from: authorities[0] })
- .should.be.rejectedWith(ERROR_MSG)
- })
-
- it('should not allow non-authorities to execute deposit', async () => {
- const recipient = accounts[5]
- const value = oneEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- await homeBridge
- .executeAffirmation(recipient, value, transactionHash, { from: accounts[7] })
- .should.be.rejectedWith(ERROR_MSG)
- })
-
- it('doesnt allow to deposit if requiredSignatures has changed', async () => {
- const token2sig = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
- const validatorContractWith2Signatures = await BridgeValidators.new()
- const authoritiesThreeAccs = [accounts[1], accounts[2], accounts[3]]
- const ownerOfValidators = accounts[0]
- await validatorContractWith2Signatures.initialize(2, authoritiesThreeAccs, ownerOfValidators)
- const homeBridgeWithTwoSigs = await HomeBridge.new()
- await homeBridgeWithTwoSigs.initialize(
- validatorContractWith2Signatures.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token2sig.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- await token2sig.transferOwnership(homeBridgeWithTwoSigs.address)
- const recipient = accounts[5]
- const value = halfEther.div(toBN(2))
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const balanceBefore = await token.balanceOf(recipient)
-
- await homeBridgeWithTwoSigs.executeAffirmation(recipient, value, transactionHash, {
- from: authoritiesThreeAccs[0]
- }).should.be.fulfilled
- await homeBridgeWithTwoSigs.executeAffirmation(recipient, value, transactionHash, {
- from: authoritiesThreeAccs[1]
- }).should.be.fulfilled
- balanceBefore.add(value).should.be.bignumber.equal(await token2sig.balanceOf(recipient))
- await validatorContractWith2Signatures.setRequiredSignatures(3).should.be.fulfilled
- await homeBridgeWithTwoSigs
- .executeAffirmation(recipient, value, transactionHash, { from: authoritiesThreeAccs[2] })
- .should.be.rejectedWith(ERROR_MSG)
- await validatorContractWith2Signatures.setRequiredSignatures(1).should.be.fulfilled
- await homeBridgeWithTwoSigs
- .executeAffirmation(recipient, value, transactionHash, { from: authoritiesThreeAccs[2] })
- .should.be.rejectedWith(ERROR_MSG)
- balanceBefore.add(value).should.be.bignumber.equal(await token2sig.balanceOf(recipient))
- })
- it('works with 5 validators and 3 required signatures', async () => {
- const recipient = accounts[8]
- const authoritiesFiveAccs = [accounts[1], accounts[2], accounts[3], accounts[4], accounts[5]]
- const ownerOfValidators = accounts[0]
- const validatorContractWith3Signatures = await BridgeValidators.new()
- await validatorContractWith3Signatures.initialize(3, authoritiesFiveAccs, ownerOfValidators)
- const token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
-
- const homeBridgeWithThreeSigs = await HomeBridge.new()
- await homeBridgeWithThreeSigs.initialize(
- validatorContractWith3Signatures.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- await token.transferOwnership(homeBridgeWithThreeSigs.address)
-
- const value = ether('0.5')
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- const { logs } = await homeBridgeWithThreeSigs.executeAffirmation(recipient, value, transactionHash, {
- from: authoritiesFiveAccs[0]
- }).should.be.fulfilled
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: authorities[0],
- transactionHash
- })
-
- await homeBridgeWithThreeSigs.executeAffirmation(recipient, value, transactionHash, {
- from: authoritiesFiveAccs[1]
- }).should.be.fulfilled
- const thirdSignature = await homeBridgeWithThreeSigs.executeAffirmation(recipient, value, transactionHash, {
- from: authoritiesFiveAccs[2]
- }).should.be.fulfilled
-
- expectEventInLogs(thirdSignature.logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
- })
- it('should not allow execute affirmation over foreign max tx limit', async () => {
- const recipient = accounts[5]
- const value = oneEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const { logs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
-
- expectEventInLogs(logs, 'AmountLimitExceeded', {
- recipient,
- value,
- transactionHash
- })
- })
- it('should fail if txHash already set as above of limits', async () => {
- const recipient = accounts[5]
- const value = oneEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const { logs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
-
- expectEventInLogs(logs, 'AmountLimitExceeded', {
- recipient,
- value,
- transactionHash
- })
-
- // should fail for the same message
- await homeBridge
- .executeAffirmation(recipient, value, transactionHash, { from: authorities[0] })
- .should.be.rejectedWith(ERROR_MSG)
- // should succeed for different transfer in the same message
- await homeBridge.executeAffirmation(accounts[6], value, transactionHash, { from: authorities[0] }).should.be
- .fulfilled
- })
- it('should not allow execute affirmation over daily foreign limit', async () => {
- const recipient = accounts[5]
- const value = halfEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const { logs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
-
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: authorities[0],
- transactionHash
- })
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
-
- const transactionHash2 = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const { logs: logs2 } = await homeBridge.executeAffirmation(recipient, value, transactionHash2, {
- from: authorities[0]
- }).should.be.fulfilled
-
- expectEventInLogs(logs2, 'SignedForAffirmation', {
- signer: authorities[0],
- transactionHash: transactionHash2
- })
- expectEventInLogs(logs2, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash: transactionHash2
- })
-
- const transactionHash3 = '0x69debd8fd1923c9cb3cd8ef6461e2740b2d037943b941729d5a47671a2bb8712'
- const { logs: logs3 } = await homeBridge.executeAffirmation(recipient, value, transactionHash3, {
- from: authorities[0]
- }).should.be.fulfilled
-
- expectEventInLogs(logs3, 'AmountLimitExceeded', {
- recipient,
- value,
- transactionHash: transactionHash3
- })
-
- const outOfLimitAmount = await homeBridge.outOfLimitAmount()
-
- outOfLimitAmount.should.be.bignumber.equal(halfEther)
-
- const transactionHash4 = '0xc9ffe298d85ec5c515153608924b7bdcf1835539813dcc82cdbcc071170c3196'
- const { logs: logs4 } = await homeBridge.executeAffirmation(recipient, value, transactionHash4, {
- from: authorities[0]
- }).should.be.fulfilled
-
- expectEventInLogs(logs4, 'AmountLimitExceeded', {
- recipient,
- value,
- transactionHash: transactionHash4
- })
-
- expect(await homeBridge.outOfLimitAmount()).to.be.bignumber.equal(oneEther)
- })
- })
- describe('#isAlreadyProcessed', async () => {
- it('returns ', async () => {
- const homeBridge = await HomeBridge.new()
- const bn = toBN(2).pow(toBN(255))
- const processedNumbers = [bn.add(toBN(1)).toString(10), bn.add(toBN(100)).toString(10)]
- true.should.be.equal(await homeBridge.isAlreadyProcessed(processedNumbers[0]))
- true.should.be.equal(await homeBridge.isAlreadyProcessed(processedNumbers[1]))
- false.should.be.equal(await homeBridge.isAlreadyProcessed(10))
- })
- })
-
- describe('#submitSignature', async () => {
- let validatorContractWith2Signatures
- let authoritiesThreeAccs
- let ownerOfValidators
- let homeBridgeWithTwoSigs
- beforeEach(async () => {
- const token2sig = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
- validatorContractWith2Signatures = await BridgeValidators.new()
- authoritiesThreeAccs = [accounts[1], accounts[2], accounts[3]]
- ownerOfValidators = accounts[0]
- await validatorContractWith2Signatures.initialize(2, authoritiesThreeAccs, ownerOfValidators)
- homeBridgeWithTwoSigs = await HomeBridge.new()
- await homeBridgeWithTwoSigs.initialize(
- validatorContractWith2Signatures.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token2sig.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- await token2sig.transferOwnership(homeBridgeWithTwoSigs.address)
- })
- it('allows a validator to submit a signature', async () => {
- const recipientAccount = accounts[8]
- const value = ether('0.5')
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, homeBridgeWithTwoSigs.address)
- const signature = await sign(authoritiesThreeAccs[0], message)
- const { logs } = await homeBridgeWithTwoSigs.submitSignature(signature, message, {
- from: authorities[0]
- }).should.be.fulfilled
- logs[0].event.should.be.equal('SignedForUserRequest')
- const msgHashFromLog = logs[0].args.messageHash
- const signatureFromContract = await homeBridgeWithTwoSigs.signature(msgHashFromLog, 0)
- const messageFromContract = await homeBridgeWithTwoSigs.message(msgHashFromLog)
-
- signature.should.be.equal(signatureFromContract)
- messageFromContract.should.be.equal(messageFromContract)
- const hashMsg = web3.utils.soliditySha3(message)
- expect(await homeBridgeWithTwoSigs.numMessagesSigned(hashMsg)).to.be.bignumber.equal('1')
- const hashSenderMsg = web3.utils.soliditySha3(authorities[0], hashMsg)
- true.should.be.equal(await homeBridgeWithTwoSigs.messagesSigned(hashSenderMsg))
- })
- it('when enough requiredSignatures are collected, CollectedSignatures event is emitted', async () => {
- const recipientAccount = accounts[8]
- const value = ether('0.5')
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, homeBridgeWithTwoSigs.address)
- const hashMsg = web3.utils.soliditySha3(message)
- const signature = await sign(authoritiesThreeAccs[0], message)
- const signature2 = await sign(authoritiesThreeAccs[1], message)
- expect(await validatorContractWith2Signatures.requiredSignatures()).to.be.bignumber.equal('2')
- await homeBridgeWithTwoSigs.submitSignature(signature, message, {
- from: authoritiesThreeAccs[0]
- }).should.be.fulfilled
- await homeBridgeWithTwoSigs
- .submitSignature(signature, message, { from: authoritiesThreeAccs[0] })
- .should.be.rejectedWith(ERROR_MSG)
- await homeBridgeWithTwoSigs
- .submitSignature(signature, message, { from: authoritiesThreeAccs[1] })
- .should.be.rejectedWith(ERROR_MSG)
- const { logs } = await homeBridgeWithTwoSigs.submitSignature(signature2, message, {
- from: authoritiesThreeAccs[1]
- }).should.be.fulfilled
- logs.length.should.be.equal(2)
- logs[1].event.should.be.equal('CollectedSignatures')
- logs[1].args.authorityResponsibleForRelay.should.be.equal(authoritiesThreeAccs[1])
- const markedAsProcessed = toBN(2)
- .pow(toBN(255))
- .add(toBN(2))
- markedAsProcessed.should.be.bignumber.equal(await homeBridgeWithTwoSigs.numMessagesSigned(hashMsg))
- })
- it('works with 5 validators and 3 required signatures', async () => {
- const recipientAccount = accounts[8]
- const authoritiesFiveAccs = [accounts[1], accounts[2], accounts[3], accounts[4], accounts[5]]
- const validatorContractWith3Signatures = await BridgeValidators.new()
- await validatorContractWith3Signatures.initialize(3, authoritiesFiveAccs, ownerOfValidators)
- const token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
-
- const homeBridgeWithThreeSigs = await HomeBridge.new()
- await homeBridgeWithThreeSigs.initialize(
- validatorContractWith3Signatures.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
-
- const value = ether('0.5')
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, homeBridgeWithThreeSigs.address)
- const signature = await sign(authoritiesFiveAccs[0], message)
- const signature2 = await sign(authoritiesFiveAccs[1], message)
- const signature3 = await sign(authoritiesFiveAccs[2], message)
- expect(await validatorContractWith3Signatures.requiredSignatures()).to.be.bignumber.equal('3')
-
- await homeBridgeWithThreeSigs.submitSignature(signature, message, {
- from: authoritiesFiveAccs[0]
- }).should.be.fulfilled
- await homeBridgeWithThreeSigs.submitSignature(signature2, message, {
- from: authoritiesFiveAccs[1]
- }).should.be.fulfilled
- const { logs } = await homeBridgeWithThreeSigs.submitSignature(signature3, message, {
- from: authoritiesFiveAccs[2]
- }).should.be.fulfilled
- logs.length.should.be.equal(2)
- logs[1].event.should.be.equal('CollectedSignatures')
- logs[1].args.authorityResponsibleForRelay.should.be.equal(authoritiesFiveAccs[2])
- })
- it('attack when increasing requiredSignatures', async () => {
- const recipientAccount = accounts[8]
- const value = ether('0.5')
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, homeBridgeWithTwoSigs.address)
- const signature = await sign(authoritiesThreeAccs[0], message)
- const signature2 = await sign(authoritiesThreeAccs[1], message)
- const signature3 = await sign(authoritiesThreeAccs[2], message)
- expect(await validatorContractWith2Signatures.requiredSignatures()).to.be.bignumber.equal('2')
-
- await homeBridgeWithTwoSigs.submitSignature(signature, message, {
- from: authoritiesThreeAccs[0]
- }).should.be.fulfilled
- await homeBridgeWithTwoSigs
- .submitSignature(signature, message, { from: authoritiesThreeAccs[0] })
- .should.be.rejectedWith(ERROR_MSG)
- await homeBridgeWithTwoSigs
- .submitSignature(signature, message, { from: authoritiesThreeAccs[1] })
- .should.be.rejectedWith(ERROR_MSG)
- const { logs } = await homeBridgeWithTwoSigs.submitSignature(signature2, message, {
- from: authoritiesThreeAccs[1]
- }).should.be.fulfilled
- logs.length.should.be.equal(2)
- logs[1].event.should.be.equal('CollectedSignatures')
- logs[1].args.authorityResponsibleForRelay.should.be.equal(authoritiesThreeAccs[1])
- await validatorContractWith2Signatures.setRequiredSignatures(3).should.be.fulfilled
- expect(await validatorContractWith2Signatures.requiredSignatures()).to.be.bignumber.equal('3')
-
- await homeBridgeWithTwoSigs
- .submitSignature(signature3, message, { from: authoritiesThreeAccs[2] })
- .should.be.rejectedWith(ERROR_MSG)
- })
- it('attack when decreasing requiredSignatures', async () => {
- const recipientAccount = accounts[8]
- const value = ether('0.5')
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, homeBridgeWithTwoSigs.address)
- const signature = await sign(authoritiesThreeAccs[0], message)
- const signature2 = await sign(authoritiesThreeAccs[1], message)
-
- expect(await validatorContractWith2Signatures.requiredSignatures()).to.be.bignumber.equal('2')
-
- await homeBridgeWithTwoSigs.submitSignature(signature, message, {
- from: authoritiesThreeAccs[0]
- }).should.be.fulfilled
- await validatorContractWith2Signatures.setRequiredSignatures(1).should.be.fulfilled
-
- expect(await validatorContractWith2Signatures.requiredSignatures()).to.be.bignumber.equal('1')
- const { logs } = await homeBridgeWithTwoSigs.submitSignature(signature2, message, {
- from: authoritiesThreeAccs[1]
- }).should.be.fulfilled
- logs.length.should.be.equal(2)
- logs[1].event.should.be.equal('CollectedSignatures')
- logs[1].args.authorityResponsibleForRelay.should.be.equal(authoritiesThreeAccs[1])
- })
- })
-
- describe('#requiredMessageLength', async () => {
- beforeEach(async () => {
- homeContract = await HomeBridge.new()
- })
-
- it('should return the required message length', async () => {
- const requiredMessageLength = await homeContract.requiredMessageLength()
- expect(requiredMessageLength).to.be.bignumber.equal('104')
- })
- })
-
- describe('#fixAssetsAboveLimits', async () => {
- let homeBridge
- beforeEach(async () => {
- const homeBridgeImpl = await HomeBridge.new()
- const storageProxy = await EternalStorageProxy.new().should.be.fulfilled
- await storageProxy.upgradeTo('1', homeBridgeImpl.address).should.be.fulfilled
- homeBridge = await HomeBridge.at(storageProxy.address)
- token = await ERC677BridgeToken.new('TEST', 'TST', 18)
- await homeBridge.initialize(
- validatorContract.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- ).should.be.fulfilled
- await token.transferOwnership(homeBridge.address).should.be.fulfilled
- })
- it('Should revert if value to unlock is bigger than max per transaction', async () => {
- const recipient = accounts[5]
- const value = oneEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const { logs: affirmationLogs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
-
- affirmationLogs[0].event.should.be.equal('AmountLimitExceeded')
- const messageId = affirmationLogs[0].args.messageId
-
- const outOfLimitAmount = await homeBridge.outOfLimitAmount()
- outOfLimitAmount.should.be.bignumber.equal(value)
-
- await homeBridge.fixAssetsAboveLimits(messageId, true, value).should.be.rejectedWith(ERROR_MSG)
- await homeBridge.fixAssetsAboveLimits(messageId, false, value).should.be.fulfilled
- })
- it('Should allow to partially reduce outOfLimitAmount and not emit UserRequestForSignature', async () => {
- const recipient = accounts[5]
- const value = oneEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const { logs: affirmationLogs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
-
- affirmationLogs[0].event.should.be.equal('AmountLimitExceeded')
- const messageId = affirmationLogs[0].args.messageId
-
- const outOfLimitAmount = await homeBridge.outOfLimitAmount()
- outOfLimitAmount.should.be.bignumber.equal(value)
-
- const { logs } = await homeBridge.fixAssetsAboveLimits(messageId, false, halfEther).should.be.fulfilled
-
- logs.length.should.be.equal(1)
- expectEventInLogs(logs, 'AssetAboveLimitsFixed', {
- messageId,
- value: halfEther,
- remaining: halfEther
- })
- expect(await homeBridge.outOfLimitAmount()).to.be.bignumber.equal(halfEther)
-
- const { logs: logsSecondTx } = await homeBridge.fixAssetsAboveLimits(messageId, false, halfEther).should.be
- .fulfilled
-
- logsSecondTx.length.should.be.equal(1)
- expectEventInLogs(logsSecondTx, 'AssetAboveLimitsFixed', {
- messageId,
- value: halfEther,
- remaining: ZERO
- })
- expect(await homeBridge.outOfLimitAmount()).to.be.bignumber.equal(ZERO)
- })
- it('Should allow to partially reduce outOfLimitAmount and emit UserRequestForSignature', async () => {
- const recipient = accounts[5]
- const value = oneEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const { logs: affirmationLogs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
-
- affirmationLogs[0].event.should.be.equal('AmountLimitExceeded')
- const messageId = affirmationLogs[0].args.messageId
-
- const outOfLimitAmount = await homeBridge.outOfLimitAmount()
- outOfLimitAmount.should.be.bignumber.equal(value)
-
- const { logs } = await homeBridge.fixAssetsAboveLimits(messageId, true, halfEther).should.be.fulfilled
-
- logs.length.should.be.equal(2)
- expectEventInLogs(logs, 'AssetAboveLimitsFixed', {
- messageId,
- value: halfEther,
- remaining: halfEther
- })
- expectEventInLogs(logs, 'UserRequestForSignature', {
- recipient,
- value: halfEther
- })
-
- expect(await homeBridge.outOfLimitAmount()).to.be.bignumber.equal(halfEther)
-
- const { logs: logsSecondTx } = await homeBridge.fixAssetsAboveLimits(messageId, true, halfEther).should.be
- .fulfilled
-
- logsSecondTx.length.should.be.equal(2)
- expectEventInLogs(logsSecondTx, 'AssetAboveLimitsFixed', {
- messageId,
- value: halfEther,
- remaining: ZERO
- })
- expectEventInLogs(logsSecondTx, 'UserRequestForSignature', {
- recipient,
- value: halfEther
- })
-
- expect(await homeBridge.outOfLimitAmount()).to.be.bignumber.equal(ZERO)
- })
- it('Should revert if try to unlock more than available', async () => {
- const recipient = accounts[5]
- const value = oneEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const { logs: affirmationLogs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
-
- affirmationLogs[0].event.should.be.equal('AmountLimitExceeded')
- const messageId = affirmationLogs[0].args.messageId
-
- const outOfLimitAmount = await homeBridge.outOfLimitAmount()
- outOfLimitAmount.should.be.bignumber.equal(value)
-
- const { logs } = await homeBridge.fixAssetsAboveLimits(messageId, true, halfEther).should.be.fulfilled
-
- logs.length.should.be.equal(2)
- expectEventInLogs(logs, 'AssetAboveLimitsFixed', {
- messageId,
- value: halfEther,
- remaining: halfEther
- })
- expectEventInLogs(logs, 'UserRequestForSignature', {
- recipient,
- value: halfEther
- })
-
- expect(await homeBridge.outOfLimitAmount()).to.be.bignumber.equal(halfEther)
-
- const { logs: logsSecondTx } = await homeBridge.fixAssetsAboveLimits(messageId, true, quarterEther).should.be
- .fulfilled
-
- logsSecondTx.length.should.be.equal(2)
- expectEventInLogs(logsSecondTx, 'AssetAboveLimitsFixed', {
- messageId,
- value: quarterEther,
- remaining: quarterEther
- })
- expectEventInLogs(logsSecondTx, 'UserRequestForSignature', {
- recipient,
- value: quarterEther
- })
-
- expect(await homeBridge.outOfLimitAmount()).to.be.bignumber.equal(quarterEther)
-
- await homeBridge.fixAssetsAboveLimits(messageId, true, halfEther).should.be.rejectedWith(ERROR_MSG)
- const { logs: logsThirdTx } = await homeBridge.fixAssetsAboveLimits(messageId, true, quarterEther).should.be
- .fulfilled
- expectEventInLogs(logsThirdTx, 'AssetAboveLimitsFixed', {
- messageId,
- value: quarterEther,
- remaining: ZERO
- })
- expectEventInLogs(logsThirdTx, 'UserRequestForSignature', {
- recipient,
- value: quarterEther
- })
-
- expect(await homeBridge.outOfLimitAmount()).to.be.bignumber.equal(ZERO)
- })
- it('Should not be allow to be called by an already fixed txHash', async () => {
- const recipient = accounts[5]
- const value = oneEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const transactionHash2 = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
-
- const { logs: logs1 } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
- const { logs: logs2 } = await homeBridge.executeAffirmation(recipient, value, transactionHash2, {
- from: authorities[0]
- }).should.be.fulfilled
-
- const messageId1 = logs1[0].args.messageId
- const messageId2 = logs2[0].args.messageId
-
- const outOfLimitAmount = await homeBridge.outOfLimitAmount()
- outOfLimitAmount.should.be.bignumber.equal(value.add(value))
-
- await homeBridge.fixAssetsAboveLimits(messageId1, false, halfEther).should.be.fulfilled
- await homeBridge.fixAssetsAboveLimits(messageId1, false, halfEther).should.be.fulfilled
-
- const newOutOfLimitAmount = await homeBridge.outOfLimitAmount()
- newOutOfLimitAmount.should.be.bignumber.equal(value)
-
- await homeBridge.fixAssetsAboveLimits(messageId1, false, halfEther).should.be.rejectedWith(ERROR_MSG)
-
- await homeBridge.fixAssetsAboveLimits(messageId2, false, halfEther).should.be.fulfilled
- await homeBridge.fixAssetsAboveLimits(messageId2, false, halfEther).should.be.fulfilled
-
- expect(await homeBridge.outOfLimitAmount()).to.be.bignumber.equal(ZERO)
-
- await homeBridge.fixAssetsAboveLimits(messageId2, false, halfEther).should.be.rejectedWith(ERROR_MSG)
- })
- it('Should fail if txHash didnt increase out of limit amount', async () => {
- const recipient = accounts[5]
- const value = oneEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const invalidMessageId = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
-
- const { logs: affirmationLogs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
-
- affirmationLogs[0].event.should.be.equal('AmountLimitExceeded')
-
- await homeBridge.fixAssetsAboveLimits(invalidMessageId, true, halfEther).should.be.rejectedWith(ERROR_MSG)
- })
- it('Should fail if not called by proxyOwner', async () => {
- const recipient = accounts[5]
- const value = oneEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- const { logs: affirmationLogs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
-
- affirmationLogs[0].event.should.be.equal('AmountLimitExceeded')
- const messageId = affirmationLogs[0].args.messageId
-
- await homeBridge
- .fixAssetsAboveLimits(messageId, true, halfEther, { from: recipient })
- .should.be.rejectedWith(ERROR_MSG)
- await homeBridge.fixAssetsAboveLimits(messageId, true, halfEther, { from: owner }).should.be.fulfilled
- })
- it('Should emit UserRequestForSignature with value reduced by fee', async () => {
- const recipient = accounts[5]
- const value = oneEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- const feeManager = await FeeManagerErcToErcPOSDAO.new()
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const valueCalc = 0.5 * (1 - fee)
- const finalValue = ether(valueCalc.toString())
- await homeBridge.setFeeManagerContract(feeManager.address, { from: owner }).should.be.fulfilled
- await homeBridge.setHomeFee(feeInWei, { from: owner }).should.be.fulfilled
-
- const { logs: affirmationLogs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
-
- expectEventInLogs(affirmationLogs, 'AmountLimitExceeded', {
- recipient,
- value,
- transactionHash
- })
- const messageId = affirmationLogs[0].args.messageId
-
- const outOfLimitAmount = await homeBridge.outOfLimitAmount()
- outOfLimitAmount.should.be.bignumber.equal(value)
-
- const { logs } = await homeBridge.fixAssetsAboveLimits(messageId, true, halfEther).should.be.fulfilled
-
- logs.length.should.be.equal(2)
- expectEventInLogs(logs, 'AssetAboveLimitsFixed', {
- messageId,
- value: halfEther,
- remaining: halfEther
- })
- expectEventInLogs(logs, 'UserRequestForSignature', {
- recipient,
- value: finalValue
- })
- })
-
- it('should not allow to fix assets after they were already processed', async () => {
- const recipient = accounts[5]
- const value = oneEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const { logs: affirmationLogs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
-
- affirmationLogs[0].event.should.be.equal('AmountLimitExceeded')
- const messageId = affirmationLogs[0].args.messageId
-
- await homeBridge.setExecutionDailyLimit(ether('2'), { from: owner }).should.be.fulfilled
- await homeBridge.setExecutionMaxPerTx(value, { from: owner }).should.be.fulfilled
- await homeBridge.setDailyLimit(ether('2'), { from: owner }).should.be.fulfilled
- await homeBridge.setMaxPerTx(value, { from: owner }).should.be.fulfilled
-
- await homeBridge.executeAffirmation(recipient, value, transactionHash, { from: authorities[0] }).should.be
- .fulfilled
-
- const outOfLimitAmount = await homeBridge.outOfLimitAmount()
- outOfLimitAmount.should.be.bignumber.equal(ZERO)
-
- await homeBridge.fixAssetsAboveLimits(messageId, false, value).should.be.rejectedWith(ERROR_MSG)
- })
-
- it('should not allow to executeAffirmation after assets were fixed', async () => {
- const recipient = accounts[5]
- const value = oneEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const { logs: affirmationLogs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
-
- affirmationLogs[0].event.should.be.equal('AmountLimitExceeded')
- const messageId = affirmationLogs[0].args.messageId
-
- const outOfLimitAmount = await homeBridge.outOfLimitAmount()
- outOfLimitAmount.should.be.bignumber.equal(value)
-
- await homeBridge.fixAssetsAboveLimits(messageId, false, halfEther).should.be.fulfilled
-
- await homeBridge.setExecutionDailyLimit(ether('2'), { from: owner }).should.be.fulfilled
- await homeBridge.setExecutionMaxPerTx(value, { from: owner }).should.be.fulfilled
- await homeBridge.setDailyLimit(ether('2'), { from: owner }).should.be.fulfilled
- await homeBridge.setMaxPerTx(value, { from: owner }).should.be.fulfilled
-
- await homeBridge.executeAffirmation(recipient, value, transactionHash, { from: authorities[0] }).should.be
- .rejected
-
- await homeBridge.fixAssetsAboveLimits(messageId, false, halfEther).should.be.fulfilled
-
- await homeBridge.executeAffirmation(recipient, value, transactionHash, { from: authorities[0] }).should.be
- .rejected
- })
- })
- describe('#claimTokens', () => {
- it('should be able to call claimTokens on tokenAddress', async () => {
- const token = await ERC677BridgeToken.new('Bridge Token', 'BT20', 18)
-
- const homeBridgeImpl = await HomeBridge.new()
- const storageProxy = await EternalStorageProxy.new().should.be.fulfilled
- await storageProxy.upgradeTo('1', homeBridgeImpl.address).should.be.fulfilled
- const homeBridge = await HomeBridge.at(storageProxy.address)
- await homeBridge.initialize(
- validatorContract.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- ).should.be.fulfilled
-
- await token.transferOwnership(homeBridge.address).should.be.fulfilled
-
- const tokenSecond = await ERC677BridgeToken.new('Test Token', 'TST', 18)
-
- await tokenSecond.mint(accounts[0], halfEther).should.be.fulfilled
- expect(await tokenSecond.balanceOf(accounts[0])).to.be.bignumber.equal(halfEther)
-
- await tokenSecond.transfer(token.address, halfEther)
- expect(await tokenSecond.balanceOf(accounts[0])).to.be.bignumber.equal(ZERO)
- expect(await tokenSecond.balanceOf(token.address)).to.be.bignumber.equal(halfEther)
-
- await homeBridge
- .claimTokensFromErc677(tokenSecond.address, accounts[3], { from: accounts[3] })
- .should.be.rejectedWith(ERROR_MSG)
- await homeBridge.claimTokensFromErc677(tokenSecond.address, accounts[3], { from: owner }).should.be.fulfilled
- expect(await tokenSecond.balanceOf(token.address)).to.be.bignumber.equal(ZERO)
- expect(await tokenSecond.balanceOf(accounts[3])).to.be.bignumber.equal(halfEther)
- })
- })
- describe('#rewardableInitialize', async () => {
- let homeFee
- let foreignFee
- let homeBridge
- let rewardableValidators
- let blockRewardContract
- const validators = [accounts[1]]
- const rewards = [accounts[2]]
- const requiredSignatures = 1
- beforeEach(async () => {
- token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 18)
- rewardableValidators = await RewardableValidators.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner).should.be.fulfilled
- homeBridge = await POSDAOHomeBridge.new()
- homeFee = ether('0.002')
- foreignFee = ether('0.002')
- blockRewardContract = await BlockReward.new()
- })
- it('sets variables', async () => {
- const feeManager = await FeeManagerErcToErcPOSDAO.new()
- expect(await homeBridge.validatorContract()).to.be.equal(ZERO_ADDRESS)
- expect(await homeBridge.deployedAtBlock()).to.be.bignumber.equal(ZERO)
- expect(await homeBridge.dailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await homeBridge.maxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await homeBridge.isInitialized()).to.be.equal(false)
-
- await homeBridge.rewardableInitialize(
- ZERO_ADDRESS,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- blockRewardContract.address,
- decimalShiftZero
- ).should.be.rejected
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- [0, foreignDailyLimit],
- token.address,
- foreignMaxPerTx,
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- blockRewardContract.address,
- decimalShiftZero
- ).should.be.rejected
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- ZERO_ADDRESS,
- [homeFee, foreignFee],
- blockRewardContract.address,
- decimalShiftZero
- ).should.be.rejected
- const { logs } = await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- blockRewardContract.address,
- '9'
- ).should.be.fulfilled
-
- expect(await homeBridge.isInitialized()).to.be.equal(true)
- expect(await homeBridge.validatorContract()).to.be.equal(rewardableValidators.address)
- expect(await homeBridge.deployedAtBlock()).to.be.bignumber.above(ZERO)
- expect(await homeBridge.dailyLimit()).to.be.bignumber.equal(oneEther)
- expect(await homeBridge.maxPerTx()).to.be.bignumber.equal(halfEther)
- expect(await homeBridge.minPerTx()).to.be.bignumber.equal(minPerTx)
- expect(await homeBridge.decimalShift()).to.be.bignumber.equal('9')
- const bridgeMode = '0xba4690f5' // 4 bytes of keccak256('erc-to-erc-core')
- expect(await homeBridge.getBridgeMode()).to.be.equal(bridgeMode)
- const { major, minor, patch } = await homeBridge.getBridgeInterfacesVersion()
- expect(major).to.be.bignumber.gte(ZERO)
- expect(minor).to.be.bignumber.gte(ZERO)
- expect(patch).to.be.bignumber.gte(ZERO)
-
- const feeManagerContract = await homeBridge.feeManagerContract()
- feeManagerContract.should.be.equals(feeManager.address)
- const bridgeHomeFee = await homeBridge.getHomeFee()
- bridgeHomeFee.should.be.bignumber.equal(homeFee)
- const bridgeForeignFee = await homeBridge.getForeignFee()
- bridgeForeignFee.should.be.bignumber.equal(foreignFee)
- const blockReward = await homeBridge.blockRewardContract()
- blockReward.should.be.equals(blockRewardContract.address)
-
- expectEventInLogs(logs, 'RequiredBlockConfirmationChanged', {
- requiredBlockConfirmations: toBN(requireBlockConfirmations)
- })
- expectEventInLogs(logs, 'GasPriceChanged', { gasPrice })
- expectEventInLogs(logs, 'DailyLimitChanged', { newLimit: oneEther })
- expectEventInLogs(logs, 'ExecutionDailyLimitChanged', { newLimit: foreignDailyLimit })
- })
- it('can update fee contract', async () => {
- const feeManager = await FeeManagerErcToErcPOSDAO.new()
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- blockRewardContract.address,
- decimalShiftZero
- ).should.be.fulfilled
-
- // Given
- const newFeeManager = await FeeManagerErcToErcPOSDAO.new()
-
- // When
- await homeBridge.setFeeManagerContract(newFeeManager.address, { from: owner }).should.be.fulfilled
-
- // Then
- const feeManagerContract = await homeBridge.feeManagerContract()
- feeManagerContract.should.be.equals(newFeeManager.address)
- })
- it('can update fee', async () => {
- const feeManager = await FeeManagerErcToErcPOSDAO.new()
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- blockRewardContract.address,
- decimalShiftZero
- ).should.be.fulfilled
-
- // Given
- const newHomeFee = ether('0.1')
- const newForeignFee = ether('0.4')
-
- // When
- await homeBridge.setHomeFee(newHomeFee, { from: owner }).should.be.fulfilled
- await homeBridge.setForeignFee(newForeignFee, { from: owner }).should.be.fulfilled
-
- // Then
- const bridgeHomeFee = await homeBridge.getHomeFee()
- const bridgeForeignFee = await homeBridge.getForeignFee()
- bridgeHomeFee.should.be.bignumber.equal(newHomeFee)
- bridgeForeignFee.should.be.bignumber.equal(newForeignFee)
- })
- it('fee should be less than 100%', async () => {
- const feeManager = await FeeManagerErcToErcPOSDAO.new()
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- blockRewardContract.address,
- decimalShiftZero
- ).should.be.fulfilled
-
- // Given
- const invalidFee = ether('1')
- const invalidBigFee = ether('2')
- const newHomeFee = ether('0.99')
- const newForeignFee = ether('0.99')
-
- // When
- await homeBridge.setHomeFee(invalidFee, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- await homeBridge.setForeignFee(invalidFee, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await homeBridge.setHomeFee(invalidBigFee, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- await homeBridge.setForeignFee(invalidBigFee, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await homeBridge.setHomeFee(newHomeFee, { from: owner }).should.be.fulfilled
- await homeBridge.setForeignFee(newForeignFee, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await homeBridge.getHomeFee()).to.be.bignumber.equals(newHomeFee)
- expect(await homeBridge.getForeignFee()).to.be.bignumber.equals(newForeignFee)
- })
- it('should return zero parameters for zero fee manager', async () => {
- // When
- await homeBridge.initialize(
- validatorContract.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- ).should.be.fulfilled
-
- // Then
- expect(await homeBridge.getFeeManagerMode()).to.be.equal('0x00000000')
- expect(await homeBridge.getHomeFee()).to.be.bignumber.equal(ZERO)
- expect(await homeBridge.getForeignFee()).to.be.bignumber.equal(ZERO)
- })
- it('should be able to get fee manager mode', async () => {
- // Given
- const feeManager = await FeeManagerErcToErcPOSDAO.new()
- const bothDirectionsModeHash = '0xd7de965f'
-
- // When
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- blockRewardContract.address,
- decimalShiftZero
- ).should.be.fulfilled
-
- // Then
- const feeManagerMode = await homeBridge.getFeeManagerMode()
- feeManagerMode.should.be.equals(bothDirectionsModeHash)
- })
- it('should be able to set blockReward contract', async () => {
- // Given
- const feeManager = await FeeManagerErcToErcPOSDAO.new()
-
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- blockRewardContract.address,
- decimalShiftZero
- ).should.be.fulfilled
-
- const blockReward = await homeBridge.blockRewardContract()
- blockReward.should.be.equals(blockRewardContract.address)
-
- // When
- const newBlockRewardContract = await BlockReward.new()
- await homeBridge.setBlockRewardContract(newBlockRewardContract.address).should.be.fulfilled
-
- // Then
- const newBlockReward = await homeBridge.blockRewardContract()
- newBlockReward.should.be.equals(newBlockRewardContract.address)
-
- const oldBlockRewardContract = await OldBlockReward.new()
- await homeBridge.setBlockRewardContract(oldBlockRewardContract.address).should.be.fulfilled
- oldBlockRewardContract.address.should.be.equal(await homeBridge.blockRewardContract())
- })
- })
- describe('#onTokenTransfer', async () => {
- let homeBridge
- beforeEach(async () => {
- homeBridge = await HomeBridge.new()
- token = await ERC677BridgeToken.new('Some ERC20', 'TEST', 18)
- })
- it('should trigger UserRequestForSignature with transfer value', async () => {
- // Given
- const owner = accounts[0]
- const user = accounts[4]
- await homeBridge.initialize(
- validatorContract.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- ).should.be.fulfilled
- const value = halfEther
- await token.mint(user, value, { from: owner }).should.be.fulfilled
-
- // When
- await token.transferAndCall(homeBridge.address, value, '0x', { from: user }).should.be.fulfilled
-
- // Then
- const events = await getEvents(homeBridge, { event: 'UserRequestForSignature' })
- expect(events[0].returnValues.recipient).to.be.equal(user)
- expect(toBN(events[0].returnValues.value)).to.be.bignumber.equal(value)
- })
- it('should be able to specify a different receiver', async () => {
- // Given
- const owner = accounts[0]
- const user = accounts[4]
- const user2 = accounts[5]
- await homeBridge.initialize(
- validatorContract.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- ).should.be.fulfilled
- const value = halfEther
- await token.mint(user, value, { from: owner }).should.be.fulfilled
-
- // When
- await token
- .transferAndCall(homeBridge.address, value, ZERO_ADDRESS, { from: user })
- .should.be.rejectedWith(ERROR_MSG)
- await token.transferAndCall(homeBridge.address, value, user2, { from: user }).should.be.fulfilled
-
- // Then
- const events = await getEvents(homeBridge, { event: 'UserRequestForSignature' })
- expect(events[0].returnValues.recipient).to.be.equal(user2)
- expect(toBN(events[0].returnValues.value)).to.be.bignumber.equal(value)
- })
- it('should trigger UserRequestForSignature with fee subtracted', async () => {
- // Given
- const homeBridge = await POSDAOHomeBridge.new()
- const owner = accounts[0]
- const user = accounts[4]
- const validators = [accounts[1]]
- const rewards = [accounts[2]]
- const requiredSignatures = 1
- const blockRewardContract = await BlockReward.new()
- const rewardableValidators = await RewardableValidators.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner).should.be.fulfilled
- const feeManager = await FeeManagerErcToErcPOSDAO.new()
- const fee = 0.001
- const homeFee = ether('0.001')
- const foreignFee = ether('0.001')
-
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- blockRewardContract.address,
- decimalShiftZero
- ).should.be.fulfilled
- const value = halfEther
- const finalValueCalc = 0.5 * (1 - fee)
- const finalValue = ether(finalValueCalc.toString())
- await token.mint(user, value, { from: owner }).should.be.fulfilled
-
- // When
- await token.transferAndCall(homeBridge.address, value, '0x', { from: user }).should.be.fulfilled
-
- // Then
- const events = await getEvents(homeBridge, { event: 'UserRequestForSignature' })
- expect(events[0].returnValues.recipient).to.be.equal(user)
- expect(toBN(events[0].returnValues.value)).to.be.bignumber.equal(finalValue)
- })
- })
- describe('#rewardable_submitSignatures', () => {
- let fee
- let homeFee
- let foreignFee
- let homeBridge
- let rewardableValidators
- let blockRewardContract
- let feeManager
- beforeEach(async () => {
- token = await ERC677BridgeTokenRewardable.new('Some ERC20', 'RSZT', 18, 100)
- rewardableValidators = await RewardableValidators.new()
- feeManager = await FeeManagerErcToErcPOSDAO.new()
- homeBridge = await POSDAOHomeBridge.new()
- fee = 0.001
- homeFee = ether(fee.toString())
- foreignFee = ether(fee.toString())
- blockRewardContract = await BlockReward.new()
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- blockRewardContract.address,
- decimalShiftZero
- ).should.be.fulfilled
- })
- it('should distribute fee to one validator', async () => {
- // Given
- const recipient = accounts[9]
- const owner = accounts[0]
- const validators = [accounts[1]]
- const rewards = [accounts[2]]
- const requiredSignatures = 1
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner).should.be.fulfilled
- await blockRewardContract.setValidatorsRewards(rewards)
- await blockRewardContract.setToken(token.address)
- await token.setBlockRewardContract(blockRewardContract.address, { from: owner })
- await token.transferOwnership(homeBridge.address, { from: owner })
-
- const valueCalc = 0.5 * (1 - fee)
- const value = ether(valueCalc.toString())
- const feeAmountCalc = 0.5 * fee
- const feeAmount = ether(feeAmountCalc.toString())
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipient, value, transactionHash, homeBridge.address)
- const signature = await sign(validators[0], message)
-
- const blockRewardBalanceBefore = await token.balanceOf(blockRewardContract.address)
- blockRewardBalanceBefore.should.be.bignumber.equal('0')
-
- // When
- const { logs } = await homeBridge.submitSignature(signature, message, { from: validators[0] }).should.be.fulfilled
-
- // Then
- logs.length.should.be.equal(3)
- logs[1].event.should.be.equal('CollectedSignatures')
- expectEventInLogs(logs, 'FeeDistributedFromSignatures', {
- feeAmount,
- transactionHash
- })
-
- const finalBridgeBalance = await token.balanceOf(homeBridge.address)
- finalBridgeBalance.should.be.bignumber.equal('0')
-
- const feeDistributed = await blockRewardContract.feeAmount()
- feeDistributed.should.be.bignumber.equal(feeAmount)
-
- const rewardAddressBalanceAfter = await blockRewardContract.validatorRewardList(0)
- rewardAddressBalanceAfter.should.be.bignumber.equal(feeAmount)
-
- const blockRewardBalanceAfter = await token.balanceOf(blockRewardContract.address)
- blockRewardBalanceAfter.should.be.bignumber.equal(feeAmount)
- })
- it('should distribute fee to 3 validators', async () => {
- // Given
- const recipient = accounts[8]
- const owner = accounts[9]
- const validators = [accounts[1], accounts[2], accounts[3]]
- const rewards = [accounts[4], accounts[5], accounts[6]]
- const requiredSignatures = 2
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner).should.be.fulfilled
- await blockRewardContract.setValidatorsRewards(rewards)
- await blockRewardContract.setToken(token.address)
- await token.setBlockRewardContract(blockRewardContract.address)
- await token.transferOwnership(homeBridge.address)
-
- const calcValue = 0.5 * (1 - fee)
- const value = ether(calcValue.toString())
- const calcFeeAmount = 0.5 * fee
- const feeAmount = ether(calcFeeAmount.toString())
- const feePerValidator = toBN(166666666666666)
- const feePerValidatorPlusDiff = toBN(166666666666668)
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipient, value, transactionHash, homeBridge.address)
- const signature = await sign(validators[0], message)
- const signature2 = await sign(validators[1], message)
-
- // When
- await homeBridge.submitSignature(signature, message, { from: validators[0] }).should.be.fulfilled
- const { logs } = await homeBridge.submitSignature(signature2, message, {
- from: validators[1]
- }).should.be.fulfilled
-
- // Then
- logs.length.should.be.equal(3)
- logs[1].event.should.be.equal('CollectedSignatures')
- expectEventInLogs(logs, 'FeeDistributedFromSignatures', {
- feeAmount,
- transactionHash
- })
-
- const finalBridgeBalance = await token.balanceOf(homeBridge.address)
- finalBridgeBalance.should.be.bignumber.equal('0')
-
- const feeDistributed = await blockRewardContract.feeAmount()
- feeDistributed.should.be.bignumber.equal(feeAmount)
-
- const balanceRewardAddress1 = await blockRewardContract.validatorRewardList(0)
- const balanceRewardAddress2 = await blockRewardContract.validatorRewardList(1)
- const balanceRewardAddress3 = await blockRewardContract.validatorRewardList(2)
-
- expect(balanceRewardAddress1.eq(feePerValidator) || balanceRewardAddress1.eq(feePerValidatorPlusDiff)).to.equal(
- true
- )
- expect(balanceRewardAddress2.eq(feePerValidator) || balanceRewardAddress2.eq(feePerValidatorPlusDiff)).to.equal(
- true
- )
- expect(balanceRewardAddress3.eq(feePerValidator) || balanceRewardAddress3.eq(feePerValidatorPlusDiff)).to.equal(
- true
- )
- })
- it('should distribute fee to 5 validators', async () => {
- // Given
- const recipient = accounts[0]
- const owner = accounts[0]
- const validators = [accounts[0], accounts[1], accounts[2], accounts[3], accounts[4]]
- const rewards = [accounts[5], accounts[6], accounts[7], accounts[8], accounts[9]]
- const requiredSignatures = 3
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner).should.be.fulfilled
- await blockRewardContract.setValidatorsRewards(rewards)
- await blockRewardContract.setToken(token.address)
- await token.setBlockRewardContract(blockRewardContract.address)
- await token.transferOwnership(homeBridge.address)
-
- const valueCalc = 0.5 * (1 - fee)
- const value = ether(valueCalc.toString())
- const feeAmountCalc = 0.5 * fee
- const feeAmount = ether(feeAmountCalc.toString())
- const feePerValidator = feeAmount.div(toBN(5))
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipient, value, transactionHash, homeBridge.address)
- const signature = await sign(validators[0], message)
- const signature2 = await sign(validators[1], message)
- const signature3 = await sign(validators[2], message)
-
- // When
- await homeBridge.submitSignature(signature, message, { from: validators[0] }).should.be.fulfilled
- await homeBridge.submitSignature(signature2, message, { from: validators[1] }).should.be.fulfilled
- const { logs } = await homeBridge.submitSignature(signature3, message, {
- from: validators[2]
- }).should.be.fulfilled
-
- // Then
- logs.length.should.be.equal(3)
- logs[1].event.should.be.equal('CollectedSignatures')
- expectEventInLogs(logs, 'FeeDistributedFromSignatures', {
- feeAmount,
- transactionHash
- })
-
- const finalBridgeBalance = await token.balanceOf(homeBridge.address)
- finalBridgeBalance.should.be.bignumber.equal('0')
-
- const feeDistributed = await blockRewardContract.feeAmount()
- feeDistributed.should.be.bignumber.equal(feeAmount)
-
- const balanceRewardAddress1 = await blockRewardContract.validatorRewardList(0)
- const balanceRewardAddress2 = await blockRewardContract.validatorRewardList(1)
- const balanceRewardAddress3 = await blockRewardContract.validatorRewardList(2)
- const balanceRewardAddress4 = await blockRewardContract.validatorRewardList(3)
- const balanceRewardAddress5 = await blockRewardContract.validatorRewardList(4)
-
- balanceRewardAddress1.should.be.bignumber.equal(feePerValidator)
- balanceRewardAddress2.should.be.bignumber.equal(feePerValidator)
- balanceRewardAddress3.should.be.bignumber.equal(feePerValidator)
- balanceRewardAddress4.should.be.bignumber.equal(feePerValidator)
- balanceRewardAddress5.should.be.bignumber.equal(feePerValidator)
- })
- it('should distribute fee to max allowed number of validator', async () => {
- // Given
- const recipient = accounts[9]
- const owner = accounts[0]
- const validators = createAccounts(web3, MAX_VALIDATORS)
- validators[0] = accounts[2]
- const rewards = createAccounts(web3, MAX_VALIDATORS)
- const requiredSignatures = 1
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner).should.be.fulfilled
- await blockRewardContract.setValidatorsRewards(rewards)
- await blockRewardContract.setToken(token.address)
- await token.setBlockRewardContract(blockRewardContract.address, { from: owner })
- await token.transferOwnership(homeBridge.address, { from: owner })
-
- const valueCalc = 0.5 * (1 - fee)
- const value = ether(valueCalc.toString())
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipient, value, transactionHash, homeBridge.address)
- const signature = await sign(validators[0], message)
-
- const blockRewardBalanceBefore = await token.balanceOf(blockRewardContract.address)
- blockRewardBalanceBefore.should.be.bignumber.equal('0')
-
- // When
- const { receipt } = await homeBridge.submitSignature(signature, message, {
- from: validators[0]
- }).should.be.fulfilled
- expect(receipt.gasUsed).to.be.lte(MAX_GAS)
- })
- })
- describe('#rewardable_executeAffirmation', () => {
- let fee
- let homeFee
- let foreignFee
- let homeBridge
- let rewardableValidators
- let blockRewardContract
- let feeManager
- beforeEach(async () => {
- token = await ERC677BridgeTokenRewardable.new('Some ERC20', 'RSZT', 18, 100)
- rewardableValidators = await RewardableValidators.new()
- feeManager = await FeeManagerErcToErcPOSDAO.new()
- homeBridge = await POSDAOHomeBridge.new()
- fee = 0.001
- homeFee = ether(fee.toString())
- foreignFee = ether(fee.toString())
- blockRewardContract = await BlockReward.new()
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- blockRewardContract.address,
- decimalShiftZero
- ).should.be.fulfilled
- })
- it('should distribute fee to one validator', async () => {
- // Given
- const recipient = accounts[9]
- const owner = accounts[0]
- const validators = [accounts[1]]
- const rewards = [accounts[2]]
- const requiredSignatures = 1
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner).should.be.fulfilled
- await blockRewardContract.setValidatorsRewards(rewards)
- await blockRewardContract.setToken(token.address)
- await token.setBlockRewardContract(blockRewardContract.address)
- await token.transferOwnership(homeBridge.address)
-
- const initialValue = halfEther
- const valueCalc = 0.5 * (1 - fee)
- const value = ether(valueCalc.toString())
- const feeAmountCalc = 0.5 * fee
- const feeAmount = ether(feeAmountCalc.toString())
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
-
- const rewardAddressBalanceBefore = await token.balanceOf(rewards[0])
- rewardAddressBalanceBefore.should.be.bignumber.equal('0')
-
- // When
- const { logs } = await homeBridge.executeAffirmation(recipient, initialValue, transactionHash, {
- from: validators[0]
- }).should.be.fulfilled
-
- // Then
- expectEventInLogs(logs, 'FeeDistributedFromAffirmation', {
- feeAmount,
- transactionHash
- })
-
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient,
- value: initialValue,
- transactionHash
- })
-
- const feeDistributed = await blockRewardContract.feeAmount()
- feeDistributed.should.be.bignumber.equal(feeAmount)
-
- const rewardAddressBalanceAfter = await blockRewardContract.validatorRewardList(0)
- rewardAddressBalanceAfter.should.be.bignumber.equal(feeAmount)
-
- const recipientBalance = await token.balanceOf(recipient)
- recipientBalance.should.be.bignumber.equal(value)
- })
- it('should distribute fee to 3 validators', async () => {
- // Given
- const recipient = accounts[8]
- const owner = accounts[9]
- const validators = [accounts[1], accounts[2], accounts[3]]
- const rewards = [accounts[4], accounts[5], accounts[6]]
- const requiredSignatures = 2
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner).should.be.fulfilled
- await blockRewardContract.setValidatorsRewards(rewards)
- await blockRewardContract.setToken(token.address)
- await token.setBlockRewardContract(blockRewardContract.address)
- await token.transferOwnership(homeBridge.address)
-
- const initialValue = halfEther
- const valueCalc = 0.5 * (1 - fee)
- const value = ether(valueCalc.toString())
- const feeAmountCalc = 0.5 * fee
- const feeAmount = ether(feeAmountCalc.toString())
- const feePerValidator = toBN(166666666666666)
- const feePerValidatorPlusDiff = toBN(166666666666668)
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
-
- const rewardAddressBalanceBefore = await token.balanceOf(rewards[0])
- rewardAddressBalanceBefore.should.be.bignumber.equal('0')
-
- // When
- await homeBridge.executeAffirmation(recipient, initialValue, transactionHash, {
- from: validators[0]
- }).should.be.fulfilled
- const { logs } = await homeBridge.executeAffirmation(recipient, initialValue, transactionHash, {
- from: validators[1]
- }).should.be.fulfilled
-
- // Then
- expectEventInLogs(logs, 'FeeDistributedFromAffirmation', {
- feeAmount,
- transactionHash
- })
-
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient,
- value: initialValue,
- transactionHash
- })
-
- const feeDistributed = await blockRewardContract.feeAmount()
- feeDistributed.should.be.bignumber.equal(feeAmount)
-
- const recipientBalance = await token.balanceOf(recipient)
- recipientBalance.should.be.bignumber.equal(value)
-
- const balanceRewardAddress1 = await blockRewardContract.validatorRewardList(0)
- const balanceRewardAddress2 = await blockRewardContract.validatorRewardList(1)
- const balanceRewardAddress3 = await blockRewardContract.validatorRewardList(2)
-
- expect(balanceRewardAddress1.eq(feePerValidator) || balanceRewardAddress1.eq(feePerValidatorPlusDiff)).to.equal(
- true
- )
- expect(balanceRewardAddress2.eq(feePerValidator) || balanceRewardAddress2.eq(feePerValidatorPlusDiff)).to.equal(
- true
- )
- expect(balanceRewardAddress3.eq(feePerValidator) || balanceRewardAddress3.eq(feePerValidatorPlusDiff)).to.equal(
- true
- )
- })
- it('should distribute fee to 5 validators', async () => {
- // Given
- const recipient = accounts[0]
- const owner = accounts[0]
- const validators = [accounts[0], accounts[1], accounts[2], accounts[3], accounts[4]]
- const rewards = [accounts[5], accounts[6], accounts[7], accounts[8], accounts[9]]
- const requiredSignatures = 3
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner).should.be.fulfilled
- await blockRewardContract.setValidatorsRewards(rewards)
- await blockRewardContract.setToken(token.address)
- await token.setBlockRewardContract(blockRewardContract.address)
- await token.transferOwnership(homeBridge.address)
-
- const initialValue = halfEther
- const valueCalc = 0.5 * (1 - fee)
- const value = ether(valueCalc.toString())
- const feeAmountCalc = 0.5 * fee
- const feeAmount = ether(feeAmountCalc.toString())
- const feePerValidator = feeAmount.div(toBN(5))
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
-
- const rewardAddressBalanceBefore = await token.balanceOf(rewards[0])
- rewardAddressBalanceBefore.should.be.bignumber.equal('0')
-
- // When
- await homeBridge.executeAffirmation(recipient, initialValue, transactionHash, {
- from: validators[0]
- }).should.be.fulfilled
- await homeBridge.executeAffirmation(recipient, initialValue, transactionHash, {
- from: validators[1]
- }).should.be.fulfilled
- const { logs } = await homeBridge.executeAffirmation(recipient, initialValue, transactionHash, {
- from: validators[2]
- }).should.be.fulfilled
-
- // Then
- expectEventInLogs(logs, 'FeeDistributedFromAffirmation', {
- feeAmount,
- transactionHash
- })
-
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient,
- value: initialValue,
- transactionHash
- })
-
- const feeDistributed = await blockRewardContract.feeAmount()
- feeDistributed.should.be.bignumber.equal(feeAmount)
-
- const recipientBalance = await token.balanceOf(recipient)
- recipientBalance.should.be.bignumber.equal(value)
-
- const balanceRewardAddress1 = await blockRewardContract.validatorRewardList(0)
- const balanceRewardAddress2 = await blockRewardContract.validatorRewardList(1)
- const balanceRewardAddress3 = await blockRewardContract.validatorRewardList(2)
- const balanceRewardAddress4 = await blockRewardContract.validatorRewardList(3)
- const balanceRewardAddress5 = await blockRewardContract.validatorRewardList(4)
-
- balanceRewardAddress1.should.be.bignumber.equal(feePerValidator)
- balanceRewardAddress2.should.be.bignumber.equal(feePerValidator)
- balanceRewardAddress3.should.be.bignumber.equal(feePerValidator)
- balanceRewardAddress4.should.be.bignumber.equal(feePerValidator)
- balanceRewardAddress5.should.be.bignumber.equal(feePerValidator)
- })
-
- it('should distribute fee to max allowed number of validators', async () => {
- // Given
- const recipient = accounts[0]
- const owner = accounts[0]
- const validators = createAccounts(web3, MAX_VALIDATORS)
- validators[0] = accounts[2]
- const rewards = createAccounts(web3, MAX_VALIDATORS)
- const requiredSignatures = 1
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- await blockRewardContract.setValidatorsRewards(rewards)
- await blockRewardContract.setToken(token.address)
- await token.setBlockRewardContract(blockRewardContract.address)
- await token.transferOwnership(homeBridge.address)
-
- const initialValue = halfEther
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
-
- // When
- const { receipt } = await homeBridge.executeAffirmation(recipient, initialValue, transactionHash, {
- from: validators[0]
- }).should.be.fulfilled
- expect(receipt.gasUsed).to.be.lte(MAX_GAS)
- })
- })
- describe('#decimals Shift', async () => {
- for (const decimalShift of [2, -1]) {
- it(`Foreign to Home: works with 5 validators and 3 required signatures with decimal shift ${decimalShift}`, async () => {
- const recipient = accounts[8]
- const authoritiesFiveAccs = [accounts[1], accounts[2], accounts[3], accounts[4], accounts[5]]
- const ownerOfValidators = accounts[0]
- const validatorContractWith3Signatures = await BridgeValidators.new()
- await validatorContractWith3Signatures.initialize(3, authoritiesFiveAccs, ownerOfValidators)
- const token = await ERC677BridgeToken.new('Some ERC20', 'RSZT', 16)
-
- const homeBridgeWithThreeSigs = await HomeBridge.new()
- await homeBridgeWithThreeSigs.initialize(
- validatorContractWith3Signatures.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShift
- )
- await token.transferOwnership(homeBridgeWithThreeSigs.address)
-
- const valueOnForeign = toBN('1000')
- // Value is decimals shifted from foreign to home: Native on home = 16+2 shift = 18 decimals
- const valueOnHome = toBN(valueOnForeign * 10 ** decimalShift)
- const balanceBeforeRecipient = await token.balanceOf(recipient)
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- const { logs } = await homeBridgeWithThreeSigs.executeAffirmation(recipient, valueOnForeign, transactionHash, {
- from: authoritiesFiveAccs[0]
- }).should.be.fulfilled
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: authorities[0],
- transactionHash
- })
-
- await homeBridgeWithThreeSigs.executeAffirmation(recipient, valueOnForeign, transactionHash, {
- from: authoritiesFiveAccs[1]
- }).should.be.fulfilled
- const thirdSignature = await homeBridgeWithThreeSigs.executeAffirmation(
- recipient,
- valueOnForeign,
- transactionHash,
- { from: authoritiesFiveAccs[2] }
- ).should.be.fulfilled
-
- expectEventInLogs(thirdSignature.logs, 'AffirmationCompleted', {
- recipient,
- value: valueOnForeign,
- transactionHash
- })
- const balanceAfterRecipient = await token.balanceOf(recipient)
- balanceAfterRecipient.should.be.bignumber.equal(balanceBeforeRecipient.add(valueOnHome))
- })
- it(`Foreign to Home: test decimal shift ${decimalShift}, no impact on UserRequestForSignature value`, async () => {
- // Given
- const homeBridge = await HomeBridge.new()
- token = await ERC677BridgeToken.new('Some ERC20', 'TEST', 16)
- const owner = accounts[0]
- const user = accounts[4]
- await homeBridge.initialize(
- validatorContract.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShift
- ).should.be.fulfilled
- const value = halfEther
- await token.mint(user, value, { from: owner }).should.be.fulfilled
-
- // When
- await token.transferAndCall(homeBridge.address, value, '0x', { from: user }).should.be.fulfilled
-
- // Then
- const events = await getEvents(homeBridge, { event: 'UserRequestForSignature' })
- expect(events[0].returnValues.recipient).to.be.equal(user)
- expect(toBN(events[0].returnValues.value)).to.be.bignumber.equal(value)
- })
- }
- })
-})
diff --git a/test/erc_to_native/foreign_bridge.test.js b/test/erc_to_native/foreign_bridge.test.js
index 20a3645f8..a3f6f8ad8 100644
--- a/test/erc_to_native/foreign_bridge.test.js
+++ b/test/erc_to_native/foreign_bridge.test.js
@@ -1,17 +1,9 @@
const ForeignBridge = artifacts.require('ForeignBridgeErcToNative.sol')
-const ForeignBridgeV2 = artifacts.require('ForeignBridgeV2.sol')
const BridgeValidators = artifacts.require('BridgeValidators.sol')
const EternalStorageProxy = artifacts.require('EternalStorageProxy.sol')
const ERC677BridgeToken = artifacts.require('ERC677BridgeToken.sol')
const ERC20Mock = artifacts.require('ERC20Mock.sol')
const ForeignBridgeErcToNativeMock = artifacts.require('ForeignBridgeErcToNativeMock.sol')
-const VatMock = artifacts.require('VatMock')
-const DaiJoinMock = artifacts.require('DaiJoinMock')
-const PotMock = artifacts.require('PotMock')
-const ChaiMock = artifacts.require('ChaiMock')
-const DaiMock = artifacts.require('DaiMock')
-const InterestReceiverMock = artifacts.require('InterestReceiverMock.sol')
-const InterestReceiverMockWithoutRelay = artifacts.require('ERC677ReceiverTest.sol')
const { expect } = require('chai')
const { ERROR_MSG, ZERO_ADDRESS, toBN } = require('../setup')
@@ -22,12 +14,11 @@ const {
ether,
expectEventInLogs,
createFullAccounts,
- delay,
packSignatures
} = require('../helpers/helpers')
+const getCompoundContracts = require('../compound/contracts')
const halfEther = ether('0.5')
-const minDaiLimit = ether('100')
const requireBlockConfirmations = 8
const gasPrice = web3.utils.toWei('1', 'gwei')
const oneEther = ether('1')
@@ -41,25 +32,6 @@ const MAX_VALIDATORS = 50
const MAX_SIGNATURES = MAX_VALIDATORS
const MAX_GAS = 8000000
const decimalShiftZero = 0
-const ZERO_DSR = '1000000000000000000000000000'
-const LOW_DSR = '1000000021979553151239153028'
-const MEDIUM_DSR = '1111111111111111111111111111'
-const HIGH_DSR = '2111111111111111111111111111'
-
-const RELAY_TOKENS_FAILED_TOPIC = web3.utils.keccak256('RelayTokensFailed(address,uint256)')
-const TOKENS_SWAPPED_TOPIC = web3.utils.keccak256('TokensSwapped(address,address,uint256)')
-
-async function createChaiToken(token, bridge, owner) {
- const vat = await VatMock.new({ from: owner })
- const daiJoin = await DaiJoinMock.new(vat.address, token.address, { from: owner })
- const pot = await PotMock.new(vat.address, { from: owner })
- await vat.rely(pot.address)
- await vat.rely(daiJoin.address)
- await token.rely(daiJoin.address)
- const chaiToken = await ChaiMock.new(vat.address, pot.address, daiJoin.address, token.address, { from: owner })
- await bridge.setChaiToken(chaiToken.address)
- return { chaiToken, pot }
-}
contract('ForeignBridge_ERC20_to_Native', async accounts => {
let validatorContract
@@ -381,137 +353,6 @@ contract('ForeignBridge_ERC20_to_Native', async accounts => {
await foreignBridge.executeSignatures(message3, oneSignature3).should.be.rejectedWith(ERROR_MSG)
})
})
- describe('#executeSignatures with chai', async () => {
- const value = ether('0.25')
- let foreignBridge
- let chaiToken
- beforeEach(async () => {
- foreignBridge = await ForeignBridgeErcToNativeMock.new()
- token = await DaiMock.new({ from: owner })
- chaiToken = (await createChaiToken(token, foreignBridge, owner)).chaiToken
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridge.address
- )
- await token.mint(foreignBridge.address, value)
- })
-
- it('should executeSignatures with enabled chai token, enough dai', async () => {
- await foreignBridge.methods['initializeChaiToken()']()
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(value)
-
- const recipientAccount = accounts[3]
- const balanceBefore = await token.balanceOf(recipientAccount)
-
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
- false.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
-
- const { logs } = await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
-
- logs[0].event.should.be.equal('RelayedMessage')
- logs[0].args.recipient.should.be.equal(recipientAccount)
- logs[0].args.value.should.be.bignumber.equal(value)
- const balanceAfter = await token.balanceOf(recipientAccount)
- const balanceAfterBridge = await token.balanceOf(foreignBridge.address)
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(value))
- balanceAfterBridge.should.be.bignumber.equal(ZERO)
- true.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
-
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ZERO)
- })
-
- it('should executeSignatures with enabled chai token, not enough dai, low dai limit', async () => {
- await foreignBridge.methods['initializeChaiToken()']({ from: owner })
- await token.mint(foreignBridge.address, ether('1'), { from: owner })
- // in case of low limit, bridge should withdraw tokens up to specified DAI limit
- await foreignBridge.setMinDaiTokenBalance(ether('0.1'), { from: owner })
- await foreignBridge.convertDaiToChai()
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.gt(ZERO)
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('0.1'))
-
- const recipientAccount = accounts[3]
- const balanceBefore = await token.balanceOf(recipientAccount)
-
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
- false.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
-
- // wait for a small interest in DSR
- await delay(1500)
-
- const { logs } = await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
-
- logs[0].event.should.be.equal('TokensSwapped')
- logs[0].args.from.should.be.equal(chaiToken.address)
- logs[0].args.to.should.be.equal(token.address)
- logs[0].args.value.should.be.bignumber.equal(value)
- logs[1].event.should.be.equal('RelayedMessage')
- logs[1].args.recipient.should.be.equal(recipientAccount)
- logs[1].args.value.should.be.bignumber.equal(value)
- const balanceAfter = await token.balanceOf(recipientAccount)
- const balanceAfterBridge = await token.balanceOf(foreignBridge.address)
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(value))
- balanceAfterBridge.should.be.bignumber.equal(ether('0.1'))
- true.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- })
-
- it('should executeSignatures with enabled chai token, not enough dai, high dai limit', async () => {
- await foreignBridge.methods['initializeChaiToken()']({ from: owner })
- await token.mint(foreignBridge.address, ether('1'), { from: owner })
- await foreignBridge.setMinDaiTokenBalance(ether('0.1'), { from: owner })
- await foreignBridge.convertDaiToChai()
- // in case of high limit, bridge should withdraw all invested tokens
- await foreignBridge.setMinDaiTokenBalance(ether('5'), { from: owner })
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.gt(ZERO)
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.gte(ether('0.1'))
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.lte(ether('0.11'))
-
- const recipientAccount = accounts[3]
- const balanceBefore = await token.balanceOf(recipientAccount)
-
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
- false.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
-
- // wait for a small interest in DSR
- await delay(1500)
-
- const { logs } = await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
-
- logs[0].event.should.be.equal('TokensSwapped')
- logs[0].args.from.should.be.equal(chaiToken.address)
- logs[0].args.to.should.be.equal(token.address)
- logs[0].args.value.should.be.bignumber.equal(ether('1.15'))
- logs[1].event.should.be.equal('RelayedMessage')
- logs[1].args.recipient.should.be.equal(recipientAccount)
- logs[1].args.value.should.be.bignumber.equal(value)
- const balanceAfter = await token.balanceOf(recipientAccount)
- const balanceAfterBridge = await token.balanceOf(foreignBridge.address)
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(value))
- balanceAfterBridge.should.be.bignumber.gte(ether('1'))
- true.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- // small remaining interest, collected between calls to convertDaiToChai() and executeSignatures()
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.lt(ether('0.0001'))
- })
- })
describe('#withdraw with 2 minimum signatures', async () => {
let multisigValidatorContract
let twoAuthorities
@@ -701,7 +542,7 @@ contract('ForeignBridge_ERC20_to_Native', async accounts => {
)
// Deploy V2
- const foreignImplV2 = await ForeignBridgeV2.new()
+ const foreignImplV2 = await ForeignBridge.new()
const foreignBridgeProxyUpgrade = await EternalStorageProxy.at(foreignBridgeProxy.address)
await foreignBridgeProxyUpgrade.upgradeTo('2', foreignImplV2.address).should.be.fulfilled
foreignImplV2.address.should.be.equal(await foreignBridgeProxyUpgrade.implementation())
@@ -1002,803 +843,136 @@ contract('ForeignBridge_ERC20_to_Native', async accounts => {
expect(await foreignBridge.totalSpentPerDay(currentDay)).to.be.bignumber.equal(oneEther)
})
})
- describe('#relayTokens with chai', async () => {
- const user = accounts[7]
- const recipient = accounts[8]
- const value = ether('0.25')
- let foreignBridge
- let chaiToken
- beforeEach(async () => {
- foreignBridge = await ForeignBridgeErcToNativeMock.new()
- token = await DaiMock.new({ from: owner })
- chaiToken = (await createChaiToken(token, foreignBridge, owner)).chaiToken
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridge.address
- )
- await token.mint(user, ether('2'))
- })
-
- it('should allow to bridge tokens with chai token enabled', async () => {
- await foreignBridge.methods['initializeChaiToken()']()
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ZERO)
-
- const currentDay = await foreignBridge.getCurrentDay()
- expect(await foreignBridge.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
-
- await foreignBridge
- .relayTokens(recipient, value, {
- from: user
- })
- .should.be.rejectedWith(ERROR_MSG)
-
- await token.approve(foreignBridge.address, value, { from: user }).should.be.fulfilled
-
- await foreignBridge
- .relayTokens(ZERO_ADDRESS, value, {
- from: user
- })
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .relayTokens(foreignBridge.address, value, {
- from: user
- })
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .relayTokens(user, 0, {
- from: user
- })
- .should.be.rejectedWith(ERROR_MSG)
- const { logs } = await foreignBridge.relayTokens(user, value, {
- from: user
- }).should.be.fulfilled
-
- expect(await foreignBridge.totalSpentPerDay(currentDay)).to.be.bignumber.equal(value)
- expectEventInLogs(logs, 'UserRequestForAffirmation', {
- recipient: user,
- value
- })
-
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(value)
- })
-
- it('should allow to bridge tokens with chai token enabled, excess tokens', async () => {
- await foreignBridge.methods['initializeChaiToken()']()
- await token.mint(foreignBridge.address, ether('201'))
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ZERO)
-
- await token.approve(foreignBridge.address, value, { from: user }).should.be.fulfilled
- const { logs } = await foreignBridge.relayTokens(user, value, {
- from: user
- }).should.be.fulfilled
+ describe('compound connector', () => {
+ const faucet = accounts[6] // account where all Compound-related DAIs where minted
- expectEventInLogs(logs, 'UserRequestForAffirmation', {
- recipient: user,
- value
- })
+ let dai
+ let cDai
+ let comptroller
+ let comp
+ let foreignBridge
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.gt(ZERO)
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(minDaiLimit)
+ before(async () => {
+ const contracts = await getCompoundContracts()
+ dai = contracts.dai
+ cDai = contracts.cDai
+ comptroller = contracts.comptroller
+ comp = contracts.comp
})
- })
-
- describe('chai token', async () => {
- let token
- let foreignBridge
- let chaiToken
- let pot
- let interestRecipient
beforeEach(async () => {
- token = await DaiMock.new({ from: owner })
foreignBridge = await ForeignBridgeErcToNativeMock.new()
await foreignBridge.initialize(
validatorContract.address,
- token.address,
+ dai.address,
requireBlockConfirmations,
gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
+ [ether('1000000'), ether('100000'), minPerTx],
[homeDailyLimit, homeMaxPerTx],
owner,
decimalShiftZero,
otherSideBridge.address
)
- const chaiContracts = await createChaiToken(token, foreignBridge, owner)
- chaiToken = chaiContracts.chaiToken
- pot = chaiContracts.pot
- interestRecipient = await InterestReceiverMockWithoutRelay.new({ from: owner })
- })
-
- describe('initializeChaiToken', () => {
- it('should be initialized', async () => {
- await foreignBridge.methods['initializeChaiToken()']().should.be.fulfilled
- })
-
- it('should fail to initialize twice', async () => {
- await foreignBridge.methods['initializeChaiToken()']().should.be.fulfilled
- await foreignBridge.methods['initializeChaiToken()']().should.be.rejected
- })
-
- it('should fail if not an owner', async () => {
- await foreignBridge.methods['initializeChaiToken()']({ from: accounts[1] }).should.be.rejected
- })
- })
-
- describe('initializeChaiToken with interest receiver', () => {
- it('should be initialized', async () => {
- await foreignBridge.methods['initializeChaiToken(address)'](accounts[3]).should.be.fulfilled
- })
-
- it('should fail to initialize twice', async () => {
- await foreignBridge.methods['initializeChaiToken(address)'](accounts[3]).should.be.fulfilled
- await foreignBridge.methods['initializeChaiToken(address)'](accounts[3]).should.be.rejected
- })
-
- it('should fail if not an owner', async () => {
- await foreignBridge.methods['initializeChaiToken(address)'](accounts[3], { from: accounts[1] }).should.be
- .rejected
- })
-
- it('should fail if zero address', async () => {
- await foreignBridge.methods['initializeChaiToken(address)'](ZERO_ADDRESS, { from: accounts[1] }).should.be
- .rejected
- })
- })
-
- describe('chaiTokenEnabled', () => {
- it('should return false', async () => {
- expect(await foreignBridge.isChaiTokenEnabled()).to.be.equal(false)
- })
-
- it('should return true', async () => {
- await foreignBridge.methods['initializeChaiToken()']().should.be.fulfilled
- expect(await foreignBridge.isChaiTokenEnabled()).to.be.equal(true)
- })
- })
-
- describe('removeChaiToken', () => {
- beforeEach(async () => {
- await foreignBridge.methods['initializeChaiToken()']().should.be.fulfilled
- await foreignBridge.setInterestReceiver(accounts[2]).should.be.fulfilled
- })
-
- it('should be removed', async () => {
- expect(await foreignBridge.isChaiTokenEnabled()).to.be.equal(true)
- await foreignBridge.removeChaiToken().should.be.fulfilled
- expect(await foreignBridge.isChaiTokenEnabled()).to.be.equal(false)
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ZERO)
- })
-
- it('should be removed with tokens withdraw', async () => {
- await token.mint(foreignBridge.address, oneEther, { from: owner })
- await foreignBridge.setMinDaiTokenBalance(ether('0.1'), { from: owner })
- await foreignBridge.convertDaiToChai()
- expect(await foreignBridge.isChaiTokenEnabled()).to.be.equal(true)
-
- await delay(1500)
-
- await foreignBridge.removeChaiToken().should.be.fulfilled
- expect(await foreignBridge.isChaiTokenEnabled()).to.be.equal(false)
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ZERO)
- expect(await chaiToken.balanceOf(accounts[2])).to.be.bignumber.gt(ZERO)
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.gte(halfEther)
- })
-
- it('should fail if not an owner', async () => {
- await foreignBridge.removeChaiToken({ from: accounts[1] }).should.be.rejected
- await foreignBridge.removeChaiToken({ from: owner }).should.be.fulfilled
- })
-
- it('should fail if chai token is not enabled', async () => {
- await foreignBridge.removeChaiToken({ from: owner }).should.be.fulfilled
- await foreignBridge.removeChaiToken({ from: owner }).should.be.rejected
- })
+ await dai.approve(foreignBridge.address, ether('100'), { from: faucet })
+ await foreignBridge.relayTokens(faucet, ether('10'), { from: faucet })
})
- describe('min dai limit', () => {
- beforeEach(async () => {
- await foreignBridge.methods['initializeChaiToken()']({ from: owner })
- })
-
- it('should return minDaiTokenBalance', async () => {
- expect(await foreignBridge.minDaiTokenBalance()).to.be.bignumber.equal(minDaiLimit)
- })
-
- it('should update minDaiTokenBalance', async () => {
- await foreignBridge.setMinDaiTokenBalance(ether('101'), { from: owner }).should.be.fulfilled
- expect(await foreignBridge.minDaiTokenBalance()).to.be.bignumber.equal(ether('101'))
- })
-
- it('should fail to update if not an owner', async () => {
- await foreignBridge.setMinDaiTokenBalance(ether('101'), { from: accounts[1] }).should.be.rejected
- })
- })
-
- describe('interestReceiver', () => {
- beforeEach(async () => {
- await foreignBridge.methods['initializeChaiToken()']({ from: owner })
- })
-
- it('should return interestReceiver', async () => {
- expect(await foreignBridge.interestReceiver()).to.be.equal(ZERO_ADDRESS)
- })
-
- it('should update interestReceiver', async () => {
- await foreignBridge.setInterestReceiver(accounts[2], { from: owner }).should.be.fulfilled
- expect(await foreignBridge.interestReceiver()).to.be.equal(accounts[2])
- })
-
- it('should fail to setInterestReceiver if not an owner', async () => {
- await foreignBridge.setInterestReceiver(accounts[2], { from: accounts[1] }).should.be.rejected
- })
-
- it('should fail to setInterestReceiver if receiver is bridge address', async () => {
- await foreignBridge.setInterestReceiver(foreignBridge.address, { from: owner }).should.be.rejected
- })
- })
-
- describe('interestCollectionPeriod', () => {
- beforeEach(async () => {
- await foreignBridge.methods['initializeChaiToken()']({ from: owner })
- })
-
- it('should return interestCollectionPeriod', async () => {
- expect(await foreignBridge.interestCollectionPeriod()).to.be.bignumber.gt(ZERO)
- })
-
- it('should update interestCollectionPeriod', async () => {
- await foreignBridge.setInterestCollectionPeriod('100', { from: owner }).should.be.fulfilled
- expect(await foreignBridge.interestCollectionPeriod()).to.be.bignumber.equal('100')
- })
-
- it('should fail to setInterestCollectionPeriod if not an owner', async () => {
- await foreignBridge.setInterestCollectionPeriod('100', { from: accounts[1] }).should.be.rejected
- })
- })
-
- describe('isDaiNeedsToBeInvested', () => {
- it('should return false on empty balance', async () => {
- await foreignBridge.methods['initializeChaiToken()']()
- expect(await foreignBridge.isDaiNeedsToBeInvested()).to.be.equal(false)
- })
+ async function generateInterest() {
+ await cDai.borrow(ether('10'), { from: faucet }).should.be.fulfilled
+ await comptroller.fastForward(200000).should.be.fulfilled
+ await cDai.repayBorrow(ether('20'), { from: faucet }).should.be.fulfilled
+ }
- it('should return false on insufficient balance', async () => {
- await foreignBridge.methods['initializeChaiToken()']()
- await token.mint(foreignBridge.address, ether('101'), { from: owner })
- expect(await foreignBridge.isDaiNeedsToBeInvested()).to.be.equal(false)
- })
+ it('should initialize interest', async () => {
+ expect(await dai.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('10'))
+ expect(await foreignBridge.isInterestEnabled(dai.address)).to.be.equal(false)
- it('should return true on sufficient balance', async () => {
- await foreignBridge.methods['initializeChaiToken()']()
- await token.mint(foreignBridge.address, ether('201'), { from: owner })
- expect(await foreignBridge.isDaiNeedsToBeInvested()).to.be.equal(true)
- })
+ const args = [dai.address, oneEther, ether('0.01'), accounts[2]]
+ await foreignBridge.initializeInterest(...args, { from: user }).should.be.rejected
+ await foreignBridge.initializeInterest(...args, { from: owner }).should.be.fulfilled
- it('should return false if chai token is not defined', async () => {
- await token.mint(foreignBridge.address, ether('201'), { from: owner })
- expect(await foreignBridge.isDaiNeedsToBeInvested()).to.be.equal(false)
- })
+ expect(await dai.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('10'))
+ expect(await cDai.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ZERO)
+ expect(await foreignBridge.isInterestEnabled(dai.address)).to.be.equal(true)
+ expect(await foreignBridge.minCashThreshold(dai.address)).to.be.bignumber.equal(oneEther)
+ expect(await foreignBridge.minInterestPaid(dai.address)).to.be.bignumber.equal(ether('0.01'))
})
- describe('convertDaiToChai', () => {
- it('should convert all dai except defined limit', async () => {
- await foreignBridge.methods['initializeChaiToken()']()
- await token.mint(foreignBridge.address, ether('101'))
- const { logs } = await foreignBridge.convertDaiToChai({ from: accounts[1] }).should.be.fulfilled
-
- logs[0].event.should.be.equal('TokensSwapped')
- logs[0].args.from.should.be.equal(token.address)
- logs[0].args.to.should.be.equal(chaiToken.address)
- logs[0].args.value.should.be.bignumber.equal(ether('1'))
-
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('100'))
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.gt(ZERO)
- })
+ it('should enable and earn interest', async () => {
+ const initialBalance = await dai.balanceOf(accounts[2])
+ await foreignBridge.initializeInterest(dai.address, oneEther, ether('0.01'), accounts[2])
- it('should revert when there is nothing to convert', async () => {
- await foreignBridge.methods['initializeChaiToken()']()
- await token.mint(foreignBridge.address, ether('101'))
- await foreignBridge.convertDaiToChai({ from: accounts[1] }).should.be.fulfilled
+ expect(await foreignBridge.interestAmount(dai.address)).to.be.bignumber.equal(ZERO)
+ await foreignBridge.invest(dai.address).should.be.fulfilled
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('100'))
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.gt(ZERO)
+ expect(await dai.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('1'))
+ expect(await dai.balanceOf(accounts[2])).to.be.bignumber.equal(initialBalance)
+ expect(await cDai.balanceOf(foreignBridge.address)).to.be.bignumber.gt(ZERO)
+ expect(await foreignBridge.interestAmount(dai.address)).to.be.bignumber.equal(ZERO)
- await foreignBridge.convertDaiToChai({ from: accounts[1] }).should.be.rejected
- })
+ await generateInterest()
- it('should not allow to convert if chai token is disabled', async () => {
- await token.mint(foreignBridge.address, ether('101'))
- await foreignBridge.convertDaiToChai({ from: owner }).should.be.rejected
- })
+ expect(await foreignBridge.interestAmount(dai.address)).to.be.bignumber.gt(ZERO)
})
- describe('_convertChaiToDai', async () => {
- beforeEach(async () => {
- await foreignBridge.methods['initializeChaiToken()']()
- await token.mint(foreignBridge.address, ether('5'))
- await foreignBridge.setMinDaiTokenBalance(ether('1'), { from: owner })
- await foreignBridge.convertDaiToChai()
-
- await delay(1500)
-
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('1'))
- expect(await foreignBridge.investedAmountInDai()).to.be.bignumber.equal(ether('4'))
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.gt(ether('3.9'))
- })
-
- it('should handle 0 amount', async () => {
- const { logs } = await foreignBridge.convertChaiToDai('0', { from: accounts[1] }).should.be.fulfilled
-
- expect(logs.length).to.be.equal(0)
-
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('1'))
- expect(await foreignBridge.investedAmountInDai()).to.be.bignumber.equal(ether('4'))
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.gt(ether('3.9'))
- })
-
- it('should handle overestimated amount', async () => {
- const { logs } = await foreignBridge.convertChaiToDai(ether('10'), { from: accounts[1] }).should.be.fulfilled
-
- logs[0].event.should.be.equal('TokensSwapped')
- logs[0].args.from.should.be.equal(chaiToken.address)
- logs[0].args.to.should.be.equal(token.address)
- logs[0].args.value.should.be.bignumber.equal(ether('4'))
-
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('5'))
- expect(await foreignBridge.investedAmountInDai()).to.be.bignumber.equal(ether('0'))
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.lt(ether('0.1'))
- })
-
- it('should handle amount == invested', async () => {
- const { logs } = await foreignBridge.convertChaiToDai(ether('4'), { from: accounts[1] }).should.be.fulfilled
-
- logs[0].event.should.be.equal('TokensSwapped')
- logs[0].args.from.should.be.equal(chaiToken.address)
- logs[0].args.to.should.be.equal(token.address)
- logs[0].args.value.should.be.bignumber.equal(ether('4'))
+ it('should pay interest', async () => {
+ const initialBalance = await dai.balanceOf(accounts[2])
+ await foreignBridge.initializeInterest(dai.address, oneEther, ether('0.01'), accounts[2])
+ await foreignBridge.invest(dai.address).should.be.fulfilled
+ await generateInterest()
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('5'))
- expect(await foreignBridge.investedAmountInDai()).to.be.bignumber.equal(ether('0'))
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.lt(ether('0.1'))
- })
-
- it('should handle 0 < amount < invested', async () => {
- const { logs } = await foreignBridge.convertChaiToDai(ether('3'), { from: accounts[1] }).should.be.fulfilled
+ expect(await foreignBridge.interestAmount(dai.address)).to.be.bignumber.gt(ether('0.01'))
- logs[0].event.should.be.equal('TokensSwapped')
- logs[0].args.from.should.be.equal(chaiToken.address)
- logs[0].args.to.should.be.equal(token.address)
- logs[0].args.value.should.be.bignumber.equal(ether('3'))
+ await foreignBridge.payInterest(dai.address).should.be.fulfilled
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('4'))
- expect(await foreignBridge.investedAmountInDai()).to.be.bignumber.equal(ether('1'))
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.gt(ether('0.9'))
- })
+ expect(await dai.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('1'))
+ expect(await dai.balanceOf(accounts[2])).to.be.bignumber.gt(initialBalance)
+ expect(await cDai.balanceOf(foreignBridge.address)).to.be.bignumber.gt(ZERO)
+ expect(await foreignBridge.interestAmount(dai.address)).to.be.bignumber.lt(ether('0.01'))
})
- describe('payInterest', () => {
- beforeEach(async () => {
- await foreignBridge.methods['initializeChaiToken()']()
- await token.mint(foreignBridge.address, halfEther)
- await foreignBridge.setMinDaiTokenBalance(ether('0.1'), { from: owner })
- await foreignBridge.convertDaiToChai()
-
- await delay(1500)
- })
-
- it('should pay full interest to regular account', async () => {
- await foreignBridge.setInterestReceiver(accounts[2], { from: owner })
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('0.1'))
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.gt(ZERO)
- expect(await token.balanceOf(accounts[2])).to.be.bignumber.equal(ZERO)
- expect(await foreignBridge.lastInterestPayment()).to.be.bignumber.equal(ZERO)
-
- const { logs } = await foreignBridge.payInterest({ from: accounts[1] }).should.be.fulfilled
- expectEventInLogs(logs, 'PaidInterest', {
- to: accounts[2]
- })
-
- expect(await foreignBridge.lastInterestPayment()).to.be.bignumber.gt(ZERO)
- expect(await chaiToken.balanceOf(accounts[2])).to.be.bignumber.gt(ZERO)
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.gt(ZERO)
- expect(await foreignBridge.dsrBalance()).to.be.bignumber.gte(ether('0.4'))
- })
-
- it('should pay full interest to contract', async () => {
- await foreignBridge.setInterestReceiver(interestRecipient.address, { from: owner })
- expect(await token.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('0.1'))
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.gt(ZERO)
- expect(await token.balanceOf(interestRecipient.address)).to.be.bignumber.equal(ZERO)
- expect(await foreignBridge.lastInterestPayment()).to.be.bignumber.equal(ZERO)
-
- const { logs } = await foreignBridge.payInterest({ from: accounts[1] }).should.be.fulfilled
- expectEventInLogs(logs, 'PaidInterest', {
- to: interestRecipient.address
- })
-
- expect(await chaiToken.balanceOf(interestRecipient.address)).to.be.bignumber.gt(ZERO)
- expect(await foreignBridge.lastInterestPayment()).to.be.bignumber.gt(ZERO)
- expect(await chaiToken.balanceOf(foreignBridge.address)).to.be.bignumber.gt(ZERO)
- expect(await foreignBridge.dsrBalance()).to.be.bignumber.gte(ether('0.4'))
- })
-
- it('should not allow not pay interest twice within short time period', async () => {
- await foreignBridge.setInterestReceiver(accounts[2], { from: owner })
-
- await foreignBridge.payInterest({ from: accounts[1] }).should.be.fulfilled
-
- await delay(1500)
-
- await foreignBridge.payInterest({ from: accounts[1] }).should.be.rejected
- })
-
- it('should allow to pay interest after some time', async () => {
- await foreignBridge.setInterestCollectionPeriod('5', { from: owner }) // 5 seconds
- await foreignBridge.setInterestReceiver(accounts[2], { from: owner })
+ it('should disable interest', async () => {
+ await foreignBridge.initializeInterest(dai.address, oneEther, ether('0.01'), accounts[2])
+ await foreignBridge.invest(dai.address).should.be.fulfilled
+ await generateInterest()
+ await foreignBridge.payInterest(dai.address).should.be.fulfilled
- await foreignBridge.payInterest({ from: accounts[1] }).should.be.fulfilled
+ expect(await dai.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('1'))
- await delay(1500)
+ await foreignBridge.disableInterest(dai.address, { from: user }).should.be.rejected
+ await foreignBridge.disableInterest(dai.address, { from: owner }).should.be.fulfilled
- await foreignBridge.payInterest({ from: accounts[1] }).should.be.rejected
-
- await delay(5000)
-
- await foreignBridge.payInterest({ from: accounts[1] }).should.be.fulfilled
- })
-
- it('should not allow to pay interest if chaiToken is disabled', async () => {
- await foreignBridge.setInterestReceiver(accounts[2], { from: owner })
- await foreignBridge.removeChaiToken({ from: owner })
-
- await foreignBridge.payInterest().should.be.rejected
- })
-
- it('should not pay interest on empty address', async () => {
- await foreignBridge.payInterest().should.be.rejected
- })
+ expect(await dai.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ether('10'))
+ expect(await cDai.balanceOf(foreignBridge.address)).to.be.bignumber.gt(ZERO)
})
- describe('payInterest for upgradeabilityOwner', () => {
- it('should allow to pay interest without time restrictions', async () => {
- let foreignBridgeProxy = await EternalStorageProxy.new({ from: accounts[2] }).should.be.fulfilled
- await foreignBridgeProxy.upgradeTo('1', foreignBridge.address, { from: accounts[2] }).should.be.fulfilled
- foreignBridgeProxy = await ForeignBridgeErcToNativeMock.at(foreignBridgeProxy.address)
- foreignBridgeProxy.setChaiToken(chaiToken.address)
- await foreignBridgeProxy.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridge.address,
- { from: accounts[2] }
- )
-
- await foreignBridgeProxy.methods['initializeChaiToken()']()
- await token.mint(foreignBridgeProxy.address, halfEther)
- await foreignBridgeProxy.setMinDaiTokenBalance(ether('0.1'), { from: owner })
- await foreignBridgeProxy.convertDaiToChai()
- await foreignBridgeProxy.setInterestReceiver(accounts[2], { from: owner })
-
- await delay(1500)
-
- await foreignBridgeProxy.payInterest({ from: accounts[2] }).should.be.fulfilled
+ it('configuration', async () => {
+ await foreignBridge.initializeInterest(dai.address, oneEther, ether('0.01'), accounts[2])
- await delay(1500)
+ await foreignBridge.setMinCashThreshold(dai.address, ether('2'), { from: user }).should.be.rejected
+ await foreignBridge.setMinCashThreshold(dai.address, ether('2'), { from: owner }).should.be.fulfilled
+ expect(await foreignBridge.minCashThreshold(dai.address)).to.be.bignumber.equal(ether('2'))
- await foreignBridgeProxy.payInterest({ from: accounts[2] }).should.be.fulfilled
+ await foreignBridge.setMinInterestPaid(dai.address, oneEther, { from: user }).should.be.rejected
+ await foreignBridge.setMinInterestPaid(dai.address, oneEther, { from: owner }).should.be.fulfilled
+ expect(await foreignBridge.minInterestPaid(dai.address)).to.be.bignumber.equal(oneEther)
- expect(await foreignBridgeProxy.lastInterestPayment()).to.be.bignumber.gt(ZERO)
- expect(await chaiToken.balanceOf(accounts[2])).to.be.bignumber.gt(ZERO)
- expect(await chaiToken.balanceOf(foreignBridgeProxy.address)).to.be.bignumber.gt(ZERO)
- expect(await foreignBridgeProxy.dsrBalance()).to.be.bignumber.gte(ether('0.4'))
- })
+ await foreignBridge.setInterestReceiver(dai.address, accounts[1], { from: user }).should.be.rejected
+ await foreignBridge.setInterestReceiver(dai.address, accounts[1], { from: owner }).should.be.fulfilled
+ expect(await foreignBridge.interestReceiver(dai.address)).to.be.equal(accounts[1])
})
- describe('claimTokens', async () => {
- let foreignBridgeProxy
+ it('should claim comp', async () => {
+ await foreignBridge.initializeInterest(dai.address, oneEther, ether('0.01'), accounts[2])
+ await foreignBridge.setMinInterestPaid(comp.address, 1)
+ await foreignBridge.setInterestReceiver(comp.address, accounts[2])
+ await foreignBridge.invest(dai.address)
+ await generateInterest()
- beforeEach(async () => {
- foreignBridgeProxy = await EternalStorageProxy.new({ from: accounts[2] }).should.be.fulfilled
- await foreignBridgeProxy.upgradeTo('1', foreignBridge.address, { from: accounts[2] }).should.be.fulfilled
- foreignBridgeProxy = await ForeignBridgeErcToNativeMock.at(foreignBridgeProxy.address)
- foreignBridgeProxy.setChaiToken(chaiToken.address)
- await foreignBridgeProxy.initialize(
- validatorContract.address,
- token.address,
- requireBlockConfirmations,
- gasPrice,
- [dailyLimit, maxPerTx, minPerTx],
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridge.address,
- { from: accounts[2] }
- )
- })
-
- it('should not allow to claim Chai, if it is enabled', async () => {
- await foreignBridgeProxy.methods['initializeChaiToken()']({ from: owner })
- await token.mint(foreignBridgeProxy.address, halfEther)
- await foreignBridgeProxy.setMinDaiTokenBalance(ether('0.1'), { from: owner })
- await foreignBridgeProxy.convertDaiToChai()
- expect(await foreignBridgeProxy.isChaiTokenEnabled()).to.be.equal(true)
-
- await foreignBridgeProxy.claimTokens(chaiToken.address, accounts[2], { from: accounts[2] }).should.be.rejected
- })
-
- it('should allow to claim chai after it is disabled', async () => {
- expect(await foreignBridgeProxy.isChaiTokenEnabled()).to.be.equal(false)
- await token.mint(accounts[3], halfEther)
- await token.approve(chaiToken.address, halfEther, { from: accounts[3] })
- await chaiToken.join(accounts[3], halfEther, { from: accounts[3] }).should.be.fulfilled
-
- await foreignBridgeProxy.claimTokens(chaiToken.address, accounts[2], { from: accounts[2] }).should.be.fulfilled
- })
- })
-
- describe('InterestReceiver contract', async () => {
- const xDaiReceiver = accounts[9]
- const receiverOwner = accounts[3]
- describe('constructor', async () => {
- it('should create contract with valid parameters', async () => {
- interestRecipient = await InterestReceiverMock.new(receiverOwner, foreignBridge.address, xDaiReceiver, {
- from: owner
- }).should.be.fulfilled
- expect(await interestRecipient.owner()).to.be.equal(receiverOwner)
- expect(await interestRecipient.bridgeContract()).to.be.equal(foreignBridge.address)
- expect(await interestRecipient.receiverInXDai()).to.be.equal(xDaiReceiver)
- })
-
- it('should not allow EOA in bridge contract parameter', async () => {
- await InterestReceiverMock.new(receiverOwner, accounts[4], xDaiReceiver, { from: owner }).should.be.rejected
- })
- })
-
- describe('setBridgeContract', async () => {
- beforeEach(async () => {
- interestRecipient = await InterestReceiverMock.new(receiverOwner, foreignBridge.address, xDaiReceiver, {
- from: owner
- })
- })
-
- it('should update bridge contract address', async () => {
- await interestRecipient.setBridgeContract(interestRecipient.address, { from: receiverOwner }).should.be
- .fulfilled
- expect(await interestRecipient.bridgeContract()).to.be.equal(interestRecipient.address)
- })
-
- it('should not allow EOA for bridge contract argument', async () => {
- await interestRecipient.setBridgeContract(accounts[4], { from: receiverOwner }).should.be.rejected
- })
-
- it('should not allow to change bridge if not an owner', async () => {
- await interestRecipient.setBridgeContract(interestRecipient.address, { from: accounts[2] }).should.be.rejected
- })
- })
-
- describe('setReceiverInXDai', async () => {
- beforeEach(async () => {
- interestRecipient = await InterestReceiverMock.new(receiverOwner, foreignBridge.address, xDaiReceiver, {
- from: owner
- })
- })
-
- it('should update bridge contract address', async () => {
- await interestRecipient.setReceiverInXDai(ZERO_ADDRESS, { from: receiverOwner }).should.be.rejected
- await interestRecipient.setReceiverInXDai(accounts[8], { from: receiverOwner }).should.be.fulfilled
- expect(await interestRecipient.receiverInXDai()).to.be.equal(accounts[8])
- })
-
- it('should not allow to change bridge if not an owner', async () => {
- await interestRecipient.setReceiverInXDai(accounts[8], { from: accounts[2] }).should.be.rejected
- })
- })
-
- describe('onTokenTransfer', async () => {
- beforeEach(async () => {
- interestRecipient = await InterestReceiverMock.new(receiverOwner, foreignBridge.address, xDaiReceiver, {
- from: owner
- })
- await interestRecipient.setChaiToken(chaiToken.address)
- await foreignBridge.methods['initializeChaiToken(address)'](interestRecipient.address)
- await token.mint(foreignBridge.address, halfEther)
- await foreignBridge.setMinDaiTokenBalance(ether('0.1'), { from: owner })
- await foreignBridge.convertDaiToChai()
-
- await delay(1500)
- })
-
- it('should relay incoming interest back to xDai chain', async () => {
- await foreignBridge.setMinPerTx('1')
- const { logs, receipt } = await foreignBridge.payInterest().should.be.fulfilled
- expectEventInLogs(logs, 'PaidInterest', {
- to: interestRecipient.address
- })
- expectEventInLogs(logs, 'UserRequestForAffirmation', {
- recipient: xDaiReceiver
- })
- expect(receipt.rawLogs.some(({ topics }) => topics[0] === RELAY_TOKENS_FAILED_TOPIC)).to.be.equal(false)
- expect(await chaiToken.balanceOf(interestRecipient.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(interestRecipient.address)).to.be.bignumber.equal(ZERO)
- expect(await token.allowance(interestRecipient.address, foreignBridge.address)).to.be.bignumber.equal(ZERO)
- })
-
- it('should emit RelayTokensFailed if transaction is out of bounds', async () => {
- const { logs, receipt } = await foreignBridge.payInterest().should.be.fulfilled
- expectEventInLogs(logs, 'PaidInterest', {
- to: interestRecipient.address
- })
- expect(() =>
- expectEventInLogs(logs, 'UserRequestForAffirmation', {
- recipient: xDaiReceiver
- })
- ).to.throw()
- expect(receipt.rawLogs.some(({ topics }) => topics[0] === RELAY_TOKENS_FAILED_TOPIC)).to.be.equal(true)
- expect(receipt.rawLogs.some(({ topics }) => topics[0] === TOKENS_SWAPPED_TOPIC)).to.be.equal(true)
- expect(await chaiToken.balanceOf(interestRecipient.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(interestRecipient.address)).to.be.bignumber.gt(ZERO)
- expect(await token.allowance(interestRecipient.address, foreignBridge.address)).to.be.bignumber.equal(ZERO)
- })
-
- it('should be able to repeat relayTokensAttempt', async () => {
- const { receipt } = await foreignBridge.payInterest().should.be.fulfilled
-
- expect(receipt.rawLogs.some(({ topics }) => topics[0] === RELAY_TOKENS_FAILED_TOPIC)).to.be.equal(true)
- expect(await chaiToken.balanceOf(interestRecipient.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(interestRecipient.address)).to.be.bignumber.gt(ZERO)
- expect(await token.allowance(interestRecipient.address, foreignBridge.address)).to.be.bignumber.equal(ZERO)
-
- await foreignBridge.setMinPerTx('1')
-
- const { logs } = await interestRecipient.onTokenTransfer(
- foreignBridge.address,
- await token.balanceOf(interestRecipient.address),
- '0x'
- ).should.be.fulfilled
- expect(() => expectEventInLogs(logs, 'TokensSwapped')).to.throw()
- expect(() => expectEventInLogs(logs, 'RelayTokensFailed')).to.throw()
- expect(await token.balanceOf(interestRecipient.address)).to.be.bignumber.equal(ZERO)
- })
- })
-
- describe('claimTokens', async () => {
- beforeEach(async () => {
- interestRecipient = await InterestReceiverMock.new(receiverOwner, foreignBridge.address, xDaiReceiver, {
- from: owner
- })
- await interestRecipient.setChaiToken(chaiToken.address)
- })
-
- it('should allow to claim tokens from recipient account', async () => {
- const tokenSecond = await ERC677BridgeToken.new('Second token', 'TST2', 18)
-
- await tokenSecond.mint(accounts[0], halfEther).should.be.fulfilled
- expect(await tokenSecond.balanceOf(accounts[0])).to.be.bignumber.equal(halfEther)
-
- await tokenSecond.transfer(interestRecipient.address, halfEther)
- expect(await tokenSecond.balanceOf(accounts[0])).to.be.bignumber.equal(ZERO)
- expect(await tokenSecond.balanceOf(interestRecipient.address)).to.be.bignumber.equal(halfEther)
-
- await interestRecipient.claimTokens(tokenSecond.address, receiverOwner, { from: accounts[1] }).should.be
- .rejected
- await interestRecipient.claimTokens(tokenSecond.address, receiverOwner, { from: receiverOwner }).should.be
- .fulfilled
- expect(await tokenSecond.balanceOf(interestRecipient.address)).to.be.bignumber.equal(ZERO)
- expect(await tokenSecond.balanceOf(receiverOwner)).to.be.bignumber.equal(halfEther)
- })
-
- it('should not allow to claim tokens for chai token', async () => {
- await interestRecipient.claimTokens(chaiToken.address, receiverOwner, { from: receiverOwner }).should.be
- .rejected
- })
-
- it('should not allow to claim tokens for dai token', async () => {
- await interestRecipient.claimTokens(token.address, receiverOwner, { from: receiverOwner }).should.be.rejected
- })
- })
- })
-
- describe('Zero DSR', async () => {
- beforeEach(async () => {
- await foreignBridge.setExecutionDailyLimit(ether('100'))
- await foreignBridge.methods['initializeChaiToken()']()
- await foreignBridge.setMinDaiTokenBalance(ether('0.1')).should.be.fulfilled
- await foreignBridge.setInterestReceiver(accounts[2]).should.be.fulfilled
-
- await pot.methods['file(bytes32,uint256)'](web3.utils.utf8ToHex('dsr'), HIGH_DSR).should.be.fulfilled
-
- await delay(3000) // wait for some non-trivial chi
-
- await pot.methods['file(bytes32,uint256)'](web3.utils.utf8ToHex('dsr'), LOW_DSR).should.be.fulfilled
- })
-
- it('should allow to executeSignatures when DSR is zero', async () => {
- await token.mint(foreignBridge.address, ether('10')).should.be.fulfilled
-
- await pot.methods['file(bytes32,uint256)'](web3.utils.utf8ToHex('dsr'), ZERO_DSR).should.be.fulfilled
- await foreignBridge.convertDaiToChai().should.be.fulfilled
-
- expect(await foreignBridge.dsrBalance()).to.be.bignumber.lt(ether('9.9'))
-
- await delay(1500)
-
- for (let i = 0; i < 10; i++) {
- const transactionHash = `0x${i}045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80`
- const message = createMessage(accounts[1], ether('0.25'), transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const oneSignature = packSignatures([signatureToVRS(signature)])
-
- await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
- }
- })
-
- it('should allow to executeSignatures when DSR is zero with many conversions', async () => {
- await token.mint(foreignBridge.address, halfEther).should.be.fulfilled
-
- await pot.methods['file(bytes32,uint256)'](web3.utils.utf8ToHex('dsr'), ZERO_DSR).should.be.fulfilled
- await foreignBridge.convertDaiToChai().should.be.fulfilled
-
- expect(await foreignBridge.dsrBalance()).to.be.bignumber.lt(ether('0.4'))
-
- await delay(1500)
-
- for (let i = 0; i < 10; i++) {
- await token.mint(foreignBridge.address, ether('0.25')).should.be.fulfilled
- await foreignBridge.convertDaiToChai().should.be.fulfilled
-
- const transactionHash = `0x${i}045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80`
- const message = createMessage(accounts[1], ether('0.25'), transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const oneSignature = packSignatures([signatureToVRS(signature)])
-
- await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
- }
- })
-
- it('should allow to executeSignatures after pay interest', async () => {
- await token.mint(foreignBridge.address, ether('10')).should.be.fulfilled
-
- await pot.methods['file(bytes32,uint256)'](web3.utils.utf8ToHex('dsr'), MEDIUM_DSR).should.be.fulfilled
-
- await delay(1500)
-
- await foreignBridge.convertDaiToChai().should.be.fulfilled
-
- await delay(3000) // wait for some interest
-
- await pot.methods['file(bytes32,uint256)'](web3.utils.utf8ToHex('dsr'), ZERO_DSR).should.be.fulfilled
-
- expect(await foreignBridge.dsrBalance()).to.be.bignumber.gt(ether('13'))
-
- await delay(1500)
-
- await foreignBridge.payInterest().should.be.fulfilled
-
- expect(await foreignBridge.dsrBalance()).to.be.bignumber.gte(ether('9.9'))
-
- for (let i = 0; i < 10; i++) {
- const transactionHash = `0x${i}045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80`
- const message = createMessage(accounts[1], ether('0.25'), transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const oneSignature = packSignatures([signatureToVRS(signature)])
-
- await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
- }
- })
+ const initialBalance = await comp.balanceOf(accounts[2])
+ await foreignBridge.claimCompAndPay()
+ expect(await comp.balanceOf(accounts[2])).to.be.bignumber.gt(initialBalance)
})
})
})
diff --git a/test/libraries/tokenReader.test.js b/test/libraries/tokenReader.test.js
deleted file mode 100644
index 6583bcebb..000000000
--- a/test/libraries/tokenReader.test.js
+++ /dev/null
@@ -1,13 +0,0 @@
-const TokenReaderTest = artifacts.require('TokenReaderTest.sol')
-require('../setup')
-
-contract('TokenReader Library', () => {
- describe('test different possible tokens', () => {
- for (let i = 1; i <= 7; i++) {
- it(`should handle Token${i}`, async () => {
- const test = await TokenReaderTest.new()
- await test[`test${i}`]().should.be.fulfilled
- })
- }
- })
-})
diff --git a/test/multi_amb_erc20_to_erc677/foreign_mediator.test.js b/test/multi_amb_erc20_to_erc677/foreign_mediator.test.js
deleted file mode 100644
index 401ff33d9..000000000
--- a/test/multi_amb_erc20_to_erc677/foreign_mediator.test.js
+++ /dev/null
@@ -1,951 +0,0 @@
-const HomeMultiAMBErc20ToErc677 = artifacts.require('HomeMultiAMBErc20ToErc677.sol')
-const ForeignMultiAMBErc20ToErc677 = artifacts.require('ForeignMultiAMBErc20ToErc677.sol')
-const EternalStorageProxy = artifacts.require('EternalStorageProxy.sol')
-const AMBMock = artifacts.require('AMBMock.sol')
-const ERC20Mock = artifacts.require('ERC20Mock.sol')
-const ERC677BridgeToken = artifacts.require('ERC677BridgeToken.sol')
-const Sacrifice = artifacts.require('Sacrifice.sol')
-
-const { expect } = require('chai')
-const { getEvents, expectEventInLogs, ether, strip0x } = require('../helpers/helpers')
-const { ZERO_ADDRESS, toBN } = require('../setup')
-
-const ZERO = toBN(0)
-const halfEther = ether('0.5')
-const oneEther = ether('1')
-const twoEthers = ether('2')
-const maxGasPerTx = oneEther
-const dailyLimit = twoEthers
-const maxPerTx = oneEther
-const minPerTx = ether('0.01')
-const executionDailyLimit = dailyLimit
-const executionMaxPerTx = maxPerTx
-const exampleMessageId = '0xf308b922ab9f8a7128d9d7bc9bce22cd88b2c05c8213f0e2d8104d78e0a9ecbb'
-const otherMessageId = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
-const failedMessageId = '0x2ebc2ccc755acc8eaf9252e19573af708d644ab63a39619adb080a3500a4ff2e'
-
-contract('ForeignMultiAMBErc20ToErc677', async accounts => {
- let contract
- let token
- let ambBridgeContract
- let otherSideMediator
- let currentDay
- const owner = accounts[0]
- const user = accounts[1]
- const user2 = accounts[2]
- const value = oneEther
- beforeEach(async () => {
- contract = await ForeignMultiAMBErc20ToErc677.new()
- ambBridgeContract = await AMBMock.new()
- await ambBridgeContract.setMaxGasPerTx(maxGasPerTx)
- otherSideMediator = await HomeMultiAMBErc20ToErc677.new()
- token = await ERC677BridgeToken.new('TEST', 'TST', 18)
- currentDay = await contract.getCurrentDay()
- })
-
- const sendFunctions = [
- async function emptyAlternativeReceiver() {
- await token.transferAndCall(contract.address, value, '0x', { from: user }).should.be.fulfilled
- return user
- },
- async function sameAlternativeReceiver() {
- await token.transferAndCall(contract.address, value, user, { from: user }).should.be.fulfilled
- return user
- },
- async function differentAlternativeReceiver() {
- await token.transferAndCall(contract.address, value, user2, { from: user }).should.be.fulfilled
- return user2
- },
- async function simpleRelayTokens1() {
- await token.approve(contract.address, value, { from: user }).should.be.fulfilled
- await contract.methods['relayTokens(address,uint256)'](token.address, value, { from: user }).should.be.fulfilled
- return user
- },
- async function simpleRelayTokens2() {
- await token.approve(contract.address, value, { from: user }).should.be.fulfilled
- await contract.methods['relayTokens(address,address,uint256)'](token.address, user, value, { from: user }).should
- .be.fulfilled
- return user
- },
- async function relayTokensWithAlternativeReceiver1() {
- await token.approve(contract.address, value, { from: user }).should.be.fulfilled
- await contract.methods['relayTokens(address,address,uint256)'](token.address, user2, value, { from: user }).should
- .be.fulfilled
- return user2
- }
- ]
-
- describe('initialize', () => {
- it('should initialize parameters', async () => {
- // Given
- expect(await contract.isInitialized()).to.be.equal(false)
- expect(await contract.bridgeContract()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.dailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- expect(await contract.maxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- expect(await contract.minPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- expect(await contract.executionDailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- expect(await contract.executionMaxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.owner()).to.be.equal(ZERO_ADDRESS)
-
- // When
- // not valid bridge address
- await contract.initialize(
- ZERO_ADDRESS,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner
- ).should.be.rejected
-
- // dailyLimit > maxPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [maxPerTx, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner
- ).should.be.rejected
-
- // maxPerTx > minPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, minPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner
- ).should.be.rejected
-
- // executionDailyLimit > executionMaxPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionDailyLimit],
- maxGasPerTx,
- owner
- ).should.be.rejected
-
- // maxGasPerTx > bridge maxGasPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- twoEthers,
- owner
- ).should.be.rejected
-
- // not valid owner
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- ZERO_ADDRESS
- ).should.be.rejected
-
- const { logs } = await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner
- ).should.be.fulfilled
-
- // already initialized
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner
- ).should.be.rejected
-
- // Then
- expect(await contract.isInitialized()).to.be.equal(true)
- expect(await contract.bridgeContract()).to.be.equal(ambBridgeContract.address)
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(otherSideMediator.address)
- expect(await contract.dailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(dailyLimit)
- expect(await contract.maxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(maxPerTx)
- expect(await contract.minPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(minPerTx)
- expect(await contract.executionDailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(executionDailyLimit)
- expect(await contract.executionMaxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(executionMaxPerTx)
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(maxGasPerTx)
- expect(await contract.owner()).to.be.equal(owner)
-
- expectEventInLogs(logs, 'ExecutionDailyLimitChanged', { token: ZERO_ADDRESS, newLimit: executionDailyLimit })
- expectEventInLogs(logs, 'DailyLimitChanged', { token: ZERO_ADDRESS, newLimit: dailyLimit })
- })
- })
-
- describe('getBridgeMode', () => {
- it('should return mediator mode and interface', async function() {
- const bridgeModeHash = '0xb1516c26' // 4 bytes of keccak256('multi-erc-to-erc-amb')
- expect(await contract.getBridgeMode()).to.be.equal(bridgeModeHash)
-
- const { major, minor, patch } = await contract.getBridgeInterfacesVersion()
- major.should.be.bignumber.gte(ZERO)
- minor.should.be.bignumber.gte(ZERO)
- patch.should.be.bignumber.gte(ZERO)
- })
- })
-
- describe('claimTokens', () => {
- beforeEach(async () => {
- const storageProxy = await EternalStorageProxy.new()
- await storageProxy.upgradeTo('1', contract.address).should.be.fulfilled
- contract = await ForeignMultiAMBErc20ToErc677.at(storageProxy.address)
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner
- ).should.be.fulfilled
- })
-
- it('should only work with unknown token', async () => {
- await token.mint(user, oneEther).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
-
- await token.transferAndCall(contract.address, oneEther, '0x', { from: user }).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(oneEther)
-
- await contract.claimTokens(token.address, accounts[3], { from: user }).should.be.rejected
- await contract.claimTokens(token.address, accounts[3], { from: owner }).should.be.rejected
-
- token = await ERC20Mock.new('Test', 'TST', 18)
-
- await token.mint(user, oneEther).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
-
- await token.transfer(contract.address, oneEther, { from: user }).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(oneEther)
-
- await contract.claimTokens(token.address, accounts[3], { from: user }).should.be.rejected
- await contract.claimTokens(token.address, accounts[3], { from: owner }).should.be.fulfilled
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(accounts[3])).to.be.bignumber.equal(oneEther)
- })
-
- it('should also work for native coins', async () => {
- await Sacrifice.new(contract.address, { value: oneEther }).catch(() => {})
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(oneEther)
- const balanceBefore = toBN(await web3.eth.getBalance(accounts[3]))
-
- await contract.claimTokens(ZERO_ADDRESS, accounts[3], { from: user }).should.be.rejected
- await contract.claimTokens(ZERO_ADDRESS, accounts[3], { from: owner }).should.be.fulfilled
-
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ZERO)
- expect(toBN(await web3.eth.getBalance(accounts[3]))).to.be.bignumber.equal(balanceBefore.add(oneEther))
- })
- })
-
- describe('afterInitialization', () => {
- beforeEach(async () => {
- await token.mint(user, twoEthers, { from: owner }).should.be.fulfilled
-
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner
- ).should.be.fulfilled
-
- const initialEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(initialEvents.length).to.be.equal(0)
- })
-
- describe('update mediator parameters', () => {
- describe('limits', () => {
- it('should allow to update default daily limits', async () => {
- await contract.setDailyLimit(ZERO_ADDRESS, ether('5'), { from: user }).should.be.rejected
- await contract.setExecutionDailyLimit(ZERO_ADDRESS, ether('5'), { from: user }).should.be.rejected
- await contract.setDailyLimit(ZERO_ADDRESS, ether('0.5'), { from: owner }).should.be.rejected
- await contract.setExecutionDailyLimit(ZERO_ADDRESS, ether('0.5'), { from: owner }).should.be.rejected
- await contract.setDailyLimit(ZERO_ADDRESS, ether('5'), { from: owner }).should.be.fulfilled
- await contract.setExecutionDailyLimit(ZERO_ADDRESS, ether('5'), { from: owner }).should.be.fulfilled
-
- expect(await contract.dailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(ether('5'))
- expect(await contract.executionDailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(ether('5'))
-
- await contract.setDailyLimit(ZERO_ADDRESS, ZERO, { from: owner }).should.be.fulfilled
- await contract.setExecutionDailyLimit(ZERO_ADDRESS, ZERO, { from: owner }).should.be.fulfilled
-
- expect(await contract.dailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- expect(await contract.executionDailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- })
-
- it('should allow to update default max per tx limits', async () => {
- await contract.setMaxPerTx(ZERO_ADDRESS, ether('1.5'), { from: user }).should.be.rejected
- await contract.setExecutionMaxPerTx(ZERO_ADDRESS, ether('1.5'), { from: user }).should.be.rejected
- await contract.setMaxPerTx(ZERO_ADDRESS, ether('5'), { from: owner }).should.be.rejected
- await contract.setExecutionMaxPerTx(ZERO_ADDRESS, ether('5'), { from: owner }).should.be.rejected
- // await contract.setMaxPerTx(ZERO_ADDRESS, ether('0.001'), { from: owner }).should.be.rejected
- await contract.setMaxPerTx(ZERO_ADDRESS, ether('1.5'), { from: owner }).should.be.fulfilled
- await contract.setExecutionMaxPerTx(ZERO_ADDRESS, ether('1.5'), { from: owner }).should.be.fulfilled
-
- expect(await contract.maxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ether('1.5'))
- expect(await contract.executionMaxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ether('1.5'))
-
- await contract.setMaxPerTx(ZERO_ADDRESS, ZERO, { from: owner }).should.be.fulfilled
- await contract.setExecutionMaxPerTx(ZERO_ADDRESS, ZERO, { from: owner }).should.be.fulfilled
-
- expect(await contract.maxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- expect(await contract.executionMaxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- })
-
- it('should allow to update default min per tx limit', async () => {
- await contract.setMinPerTx(ZERO_ADDRESS, ether('0.1'), { from: user }).should.be.rejected
- await contract.setMinPerTx(ZERO_ADDRESS, ZERO, { from: owner }).should.be.rejected
- await contract.setMinPerTx(ZERO_ADDRESS, ether('0.1'), { from: owner }).should.be.fulfilled
-
- expect(await contract.minPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ether('0.1'))
-
- await contract.setMinPerTx(ZERO_ADDRESS, ZERO, { from: owner }).should.be.rejected
- })
-
- it('should only allow to update parameters for known tokens', async () => {
- await contract.setDailyLimit(token.address, ether('5'), { from: owner }).should.be.rejected
- await contract.setMaxPerTx(token.address, ether('1.5'), { from: owner }).should.be.rejected
- await contract.setMinPerTx(token.address, ether('0.02'), { from: owner }).should.be.rejected
- await contract.setExecutionDailyLimit(token.address, ether('5'), { from: owner }).should.be.rejected
- await contract.setExecutionMaxPerTx(token.address, ether('1.5'), { from: owner }).should.be.rejected
-
- await token.transferAndCall(contract.address, value, '0x', { from: user })
-
- await contract.setDailyLimit(token.address, ether('5'), { from: owner }).should.be.fulfilled
- await contract.setMaxPerTx(token.address, ether('1.5'), { from: owner }).should.be.fulfilled
- await contract.setMinPerTx(token.address, ether('0.02'), { from: owner }).should.be.fulfilled
- await contract.setExecutionDailyLimit(token.address, ether('6'), { from: owner }).should.be.fulfilled
- await contract.setExecutionMaxPerTx(token.address, ether('1.6'), { from: owner }).should.be.fulfilled
-
- expect(await contract.dailyLimit(token.address)).to.be.bignumber.equal(ether('5'))
- expect(await contract.maxPerTx(token.address)).to.be.bignumber.equal(ether('1.5'))
- // expect(await contract.minPerTx(token.address)).to.be.bignumber.equal(ether('0.02'))
- expect(await contract.minPerTx(token.address)).to.be.bignumber.equal('1')
- expect(await contract.executionDailyLimit(token.address)).to.be.bignumber.equal(ether('6'))
- expect(await contract.executionMaxPerTx(token.address)).to.be.bignumber.equal(ether('1.6'))
- })
- })
- })
-
- describe('onTokenTransfer', () => {
- afterEach(async () => {
- // Total supply remains the same
- expect(await token.totalSupply()).to.be.bignumber.equal(twoEthers)
- })
-
- it('should call AMB bridge and lock tokens', async () => {
- expect(await contract.isTokenRegistered(token.address)).to.be.equal(false)
- // only token address can call it
- await contract.onTokenTransfer(user, halfEther, '0x', { from: owner }).should.be.rejected
-
- // must be within limits
- await token.transferAndCall(contract.address, twoEthers, '0x', { from: user }).should.be.rejected
-
- // When
- await token.transferAndCall(contract.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(user).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(halfEther)
- expect(await contract.mediatorBalance(token.address)).to.be.bignumber.equal(halfEther)
- expect(await contract.isTokenRegistered(token.address)).to.be.equal(true)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(halfEther)
-
- const depositEvents = await getEvents(contract, { event: 'TokensBridgingInitiated' })
- expect(depositEvents.length).to.be.equal(1)
- expect(depositEvents[0].returnValues.token).to.be.equal(token.address)
- expect(depositEvents[0].returnValues.sender).to.be.equal(user)
- expect(depositEvents[0].returnValues.value).to.be.equal(halfEther.toString())
- expect(depositEvents[0].returnValues.messageId).to.include('0x11223344')
- })
-
- it('should respect global shutdown', async () => {
- await contract.setDailyLimit(ZERO_ADDRESS, ZERO).should.be.fulfilled
- await token.transferAndCall(contract.address, halfEther, '0x', { from: user }).should.be.rejected
- await contract.setDailyLimit(ZERO_ADDRESS, dailyLimit).should.be.fulfilled
- await token.transferAndCall(contract.address, halfEther, '0x', { from: user }).should.be.fulfilled
- })
-
- it('should be able to specify a different receiver', async () => {
- expect(await contract.isTokenRegistered(token.address)).to.be.equal(false)
- // must be a valid address param
- await token.transferAndCall(contract.address, halfEther, '0x00', { from: user }).should.be.rejected
-
- // When
- await token.transferAndCall(contract.address, halfEther, user2, { from: user }).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(user2).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(halfEther)
- expect(await contract.mediatorBalance(token.address)).to.be.bignumber.equal(halfEther)
- expect(await contract.isTokenRegistered(token.address)).to.be.equal(true)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(halfEther)
-
- const depositEvents = await getEvents(contract, { event: 'TokensBridgingInitiated' })
- expect(depositEvents.length).to.be.equal(1)
- expect(depositEvents[0].returnValues.token).to.be.equal(token.address)
- expect(depositEvents[0].returnValues.sender).to.be.equal(user)
- expect(depositEvents[0].returnValues.value).to.be.equal(halfEther.toString())
- expect(depositEvents[0].returnValues.messageId).to.include('0x11223344')
- })
- })
-
- describe('relayTokens', () => {
- afterEach(async () => {
- // Total supply remains the same
- expect(await token.totalSupply()).to.be.bignumber.equal(twoEthers)
- })
-
- it('should allow to bridge tokens using approve and relayTokens', async () => {
- // Given
- await token.approve(contract.address, value, { from: user }).should.be.fulfilled
- expect(await token.allowance(user, contract.address)).to.be.bignumber.equal(value)
-
- // When
- await contract.methods['relayTokens(address,address,uint256)'](token.address, user, value, { from: user })
- .should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(user).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(value)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(value)
-
- const depositEvents = await getEvents(contract, { event: 'TokensBridgingInitiated' })
- expect(depositEvents.length).to.be.equal(1)
- expect(depositEvents[0].returnValues.token).to.be.equal(token.address)
- expect(depositEvents[0].returnValues.sender).to.be.equal(user)
- expect(depositEvents[0].returnValues.value).to.be.equal(value.toString())
- expect(depositEvents[0].returnValues.messageId).to.include('0x11223344')
- })
-
- it('should allow to specify a different receiver without specifying sender', async () => {
- // Given
- await token.approve(contract.address, value, { from: user }).should.be.fulfilled
- expect(await token.allowance(user, contract.address)).to.be.bignumber.equal(value)
-
- // When
- await contract.methods['relayTokens(address,address,uint256)'](token.address, user2, value, { from: user })
- .should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(user2).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(value)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(value)
-
- const depositEvents = await getEvents(contract, { event: 'TokensBridgingInitiated' })
- expect(depositEvents.length).to.be.equal(1)
- expect(depositEvents[0].returnValues.token).to.be.equal(token.address)
- expect(depositEvents[0].returnValues.sender).to.be.equal(user)
- expect(depositEvents[0].returnValues.value).to.be.equal(value.toString())
- expect(depositEvents[0].returnValues.messageId).to.include('0x11223344')
- })
-
- it('should allow to specify no receiver and no sender', async () => {
- // Given
- await token.approve(contract.address, value, { from: user }).should.be.fulfilled
- expect(await token.allowance(user, contract.address)).to.be.bignumber.equal(value)
-
- // When
- await contract.methods['relayTokens(address,uint256)'](token.address, value, { from: user }).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(user).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(value)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(value)
-
- const depositEvents = await getEvents(contract, { event: 'TokensBridgingInitiated' })
- expect(depositEvents.length).to.be.equal(1)
- expect(depositEvents[0].returnValues.token).to.be.equal(token.address)
- expect(depositEvents[0].returnValues.sender).to.be.equal(user)
- expect(depositEvents[0].returnValues.value).to.be.equal(value.toString())
- expect(depositEvents[0].returnValues.messageId).to.include('0x11223344')
- })
-
- it('should fail if user did not approve the transfer', async () => {
- await contract.methods['relayTokens(address,address,uint256)'](token.address, user, value, { from: user })
- .should.be.rejected
- })
-
- it('should fail if value is not within limits', async () => {
- await token.approve(contract.address, twoEthers, { from: user }).should.be.fulfilled
- expect(await token.allowance(user, contract.address)).to.be.bignumber.equal(twoEthers)
-
- await contract.methods['relayTokens(address,address,uint256)'](token.address, user, twoEthers, { from: user })
- .should.be.rejected
- })
- })
-
- describe('token registration', () => {
- for (const send of sendFunctions) {
- it(`should make subsequent calls deployAndHandleBridgedTokens handleBridgedTokens to when using ${send.name}`, async () => {
- const receiver = await send()
-
- let events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- let encodedData = strip0x(events[0].returnValues.encodedData)
- const { messageId } = events[0].returnValues
- let calldata = encodedData.slice(2 * (4 + 20 + 8 + 20 + 20 + 4 + 1 + 1 + 1 + 2 + 2)) // remove AMB header
- expect(calldata.slice(0, 8)).to.be.equal('2ae87cdd')
- let args = web3.eth.abi.decodeParameters(
- ['address', 'string', 'string', 'uint8', 'address', 'uint256'],
- calldata.slice(8)
- )
- expect(args[0]).to.be.equal(token.address)
- expect(args[1]).to.be.equal(await token.name())
- expect(args[2]).to.be.equal(await token.symbol())
- expect(args[3]).to.be.equal((await token.decimals()).toString())
- expect(args[4]).to.be.equal(receiver)
- expect(args[5]).to.be.equal(value.toString())
- expect(await contract.tokenRegistrationMessageId(token.address)).to.be.equal(messageId)
-
- await send()
-
- events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(2)
- encodedData = strip0x(events[1].returnValues.encodedData)
- calldata = encodedData.slice(2 * (4 + 20 + 8 + 20 + 20 + 4 + 1 + 1 + 1 + 2 + 2)) // remove AMB header
- expect(calldata.slice(0, 8)).to.be.equal('125e4cfb')
- args = web3.eth.abi.decodeParameters(['address', 'address', 'uint256'], calldata.slice(8))
- expect(args[0]).to.be.equal(token.address)
- expect(args[1]).to.be.equal(receiver)
- expect(args[2]).to.be.equal(value.toString())
- })
- }
-
- for (const decimals of [3, 18, 20]) {
- it(`should initialize limits according to decimals = ${decimals}`, async () => {
- const f1 = toBN(`1${'0'.repeat(decimals)}`)
- const f2 = toBN('1000000000000000000')
-
- token = await ERC677BridgeToken.new('TEST', 'TST', decimals)
- await token.mint(user, value.mul(f1).div(f2)).should.be.fulfilled
- await token.transferAndCall(contract.address, value.mul(f1).div(f2), '0x', { from: user }).should.be.fulfilled
-
- expect(await contract.dailyLimit(token.address)).to.be.bignumber.equal(dailyLimit.mul(f1).div(f2))
- expect(await contract.maxPerTx(token.address)).to.be.bignumber.equal(maxPerTx.mul(f1).div(f2))
- // expect(await contract.minPerTx(token.address)).to.be.bignumber.equal(minPerTx.mul(f1).div(f2))
- expect(await contract.minPerTx(token.address)).to.be.bignumber.equal('1')
- expect(await contract.executionDailyLimit(token.address)).to.be.bignumber.equal(
- executionDailyLimit.mul(f1).div(f2)
- )
- expect(await contract.executionMaxPerTx(token.address)).to.be.bignumber.equal(
- executionMaxPerTx.mul(f1).div(f2)
- )
- })
- }
-
- it(`should initialize limits according to decimals = 0`, async () => {
- token = await ERC677BridgeToken.new('TEST', 'TST', 0)
- await token.mint(user, '1').should.be.fulfilled
- await token.transferAndCall(contract.address, '1', '0x', { from: user }).should.be.fulfilled
-
- expect(await contract.dailyLimit(token.address)).to.be.bignumber.equal('10000')
- expect(await contract.maxPerTx(token.address)).to.be.bignumber.equal('100')
- expect(await contract.minPerTx(token.address)).to.be.bignumber.equal('1')
- expect(await contract.executionDailyLimit(token.address)).to.be.bignumber.equal('10000')
- expect(await contract.executionMaxPerTx(token.address)).to.be.bignumber.equal('100')
- })
- })
-
- describe('handleBridgedTokens', () => {
- it('should unlock tokens on message from amb', async () => {
- await token.transferAndCall(contract.address, value, '0x', { from: user }).should.be.fulfilled
- await token.transferAndCall(contract.address, value, '0x', { from: user }).should.be.fulfilled
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(twoEthers)
- expect(await contract.mediatorBalance(token.address)).to.be.bignumber.equal(twoEthers)
-
- // can't be called by user
- await contract.handleBridgedTokens(token.address, user, value, { from: user }).should.be.rejected
- // can't be called by owner
- await contract.handleBridgedTokens(token.address, user, value, { from: owner }).should.be.rejected
-
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- // message must be generated by mediator contract on the other network
- await ambBridgeContract.executeMessageCall(contract.address, owner, data, failedMessageId, 1000000).should.be
- .fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // Then
- expect(await contract.totalExecutedPerDay(token.address, currentDay)).to.be.bignumber.equal(value)
- expect(await contract.mediatorBalance(token.address)).to.be.bignumber.equal(value)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(value)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(value)
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.token).to.be.equal(token.address)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(value.toString())
- expect(event[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
-
- it('should not allow to use unregistered tokens', async () => {
- const otherToken = await ERC20Mock.new('Test', 'TST', 18)
- await otherToken.mint(contract.address, value)
- const data = await contract.contract.methods
- .handleBridgedTokens(otherToken.address, user, value.toString())
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- failedMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
- })
-
- it('should not allow to operate when global shutdown is enabled', async () => {
- await token.transferAndCall(contract.address, value, '0x', { from: user }).should.be.fulfilled
- await token.transferAndCall(contract.address, value, '0x', { from: user }).should.be.fulfilled
-
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- await contract.setExecutionDailyLimit(ZERO_ADDRESS, ZERO).should.be.fulfilled
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(false)
- await contract.setExecutionDailyLimit(ZERO_ADDRESS, executionDailyLimit).should.be.fulfilled
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- otherMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(otherMessageId)).to.be.equal(true)
- })
- })
-
- describe('requestFailedMessageFix', () => {
- it('should allow to request a failed message fix', async () => {
- // Given
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- failedMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
- })
-
- it('should be a failed transaction', async () => {
- await token.transferAndCall(contract.address, value, '0x', { from: user }).should.be.fulfilled
- // Given
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // When
- await contract.requestFailedMessageFix(exampleMessageId).should.be.rejected
- })
-
- it('should be the receiver of the failed transaction', async () => {
- // Given
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- ambBridgeContract.address,
- otherSideMediator.address,
- data,
- failedMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.rejected
- })
-
- it('message sender should be mediator from other side', async () => {
- // Given
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(contract.address, contract.address, data, failedMessageId, 100)
- .should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.rejected
- })
-
- it('should allow to request a fix multiple times', async () => {
- // Given
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- failedMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- await contract.requestFailedMessageFix(failedMessageId).should.be.fulfilled
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.fulfilled
-
- // Then
- const allEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(allEvents.length).to.be.equal(2)
- expect(allEvents[0].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
- expect(allEvents[1].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
- })
- })
-
- describe('fixFailedMessage', () => {
- let transferMessageId
- for (const send of sendFunctions) {
- it(`should fix tokens locked via ${send.name}`, async () => {
- expect(await token.balanceOf(user)).to.be.bignumber.equal(twoEthers)
- // User transfer tokens
- await send()
- expect(await contract.mediatorBalance(token.address)).to.be.bignumber.equal(value)
-
- expect(await token.balanceOf(user)).to.be.bignumber.equal(value)
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- transferMessageId = events[0].returnValues.messageId
- // Given
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- // When
- await contract.fixFailedMessage(transferMessageId, { from: user }).should.be.rejected
- await contract.fixFailedMessage(transferMessageId, { from: owner }).should.be.rejected
- const fixData = await contract.contract.methods.fixFailedMessage(transferMessageId).encodeABI()
-
- // Should be called by mediator from other side so it will fail
- await ambBridgeContract.executeMessageCall(
- contract.address,
- contract.address,
- fixData,
- failedMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- fixData,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- // Then
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(twoEthers)
- expect(await contract.mediatorBalance(token.address)).to.be.bignumber.equal(ZERO)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(true)
- expect(await contract.tokenRegistrationMessageId(token.address)).to.be.equal(
- '0x0000000000000000000000000000000000000000000000000000000000000000'
- )
- expect(await contract.minPerTx(token.address)).to.be.bignumber.equal('0')
- expect(await contract.maxPerTx(token.address)).to.be.bignumber.equal('0')
- expect(await contract.dailyLimit(token.address)).to.be.bignumber.equal('0')
- expect(await contract.executionMaxPerTx(token.address)).to.be.bignumber.equal('0')
- expect(await contract.executionDailyLimit(token.address)).to.be.bignumber.equal('0')
-
- const event = await getEvents(contract, { event: 'FailedMessageFixed' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.messageId).to.be.equal(transferMessageId)
- expect(event[0].returnValues.token).to.be.equal(token.address)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(value.toString())
-
- // can only fix it one time
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- fixData,
- otherMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(otherMessageId)).to.be.equal(false)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(twoEthers)
- expect(await contract.mediatorBalance(token.address)).to.be.bignumber.equal(ZERO)
- })
- }
- })
- })
-
- describe('fixMediatorBalance', () => {
- beforeEach(async () => {
- const storageProxy = await EternalStorageProxy.new()
- await storageProxy.upgradeTo('1', contract.address).should.be.fulfilled
- contract = await ForeignMultiAMBErc20ToErc677.at(storageProxy.address)
-
- await token.mint(user, twoEthers, { from: owner }).should.be.fulfilled
- await token.mint(contract.address, twoEthers, { from: owner }).should.be.fulfilled
-
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner
- ).should.be.fulfilled
-
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(ZERO)
- const initialEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(initialEvents.length).to.be.equal(0)
- })
-
- it('should allow to fix extra mediator balance', async () => {
- expect(await contract.mediatorBalance(token.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(twoEthers)
-
- await token.transferAndCall(contract.address, halfEther, '0x', { from: user }).should.be.fulfilled
- await contract.setDailyLimit(token.address, ether('5')).should.be.fulfilled
- await contract.setMaxPerTx(token.address, ether('2')).should.be.fulfilled
-
- expect(await contract.mediatorBalance(token.address)).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(twoEthers.add(halfEther))
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(halfEther)
- let events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
-
- await contract.fixMediatorBalance(token.address, owner, { from: user }).should.be.rejected
- await contract.fixMediatorBalance(ZERO_ADDRESS, owner, { from: owner }).should.be.rejected
- await contract.fixMediatorBalance(token.address, ZERO_ADDRESS, { from: owner }).should.be.rejected
- await contract.fixMediatorBalance(token.address, owner, { from: owner }).should.be.fulfilled
- await contract.fixMediatorBalance(token.address, owner, { from: owner }).should.be.rejected
-
- expect(await contract.mediatorBalance(token.address)).to.be.bignumber.equal(twoEthers.add(halfEther))
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(twoEthers.add(halfEther))
-
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(twoEthers.add(halfEther))
- events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(2)
- })
-
- it('should allow to fix extra mediator balance with respect to limits', async () => {
- expect(await contract.mediatorBalance(token.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(twoEthers)
-
- await token.transferAndCall(contract.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- expect(await contract.mediatorBalance(token.address)).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(twoEthers.add(halfEther))
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(halfEther)
- let events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
-
- await contract.fixMediatorBalance(token.address, owner, { from: user }).should.be.rejected
- await contract.fixMediatorBalance(ZERO_ADDRESS, owner, { from: owner }).should.be.rejected
- await contract.fixMediatorBalance(token.address, owner, { from: owner }).should.be.fulfilled
-
- expect(await contract.mediatorBalance(token.address)).to.be.bignumber.equal(ether('1.5'))
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ether('2.5'))
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(ether('1.5'))
-
- await contract.fixMediatorBalance(token.address, owner, { from: owner }).should.be.fulfilled
-
- expect(await contract.mediatorBalance(token.address)).to.be.bignumber.equal(twoEthers)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ether('2.5'))
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(twoEthers)
-
- await contract.fixMediatorBalance(token.address, owner, { from: owner }).should.be.rejected
- await contract.setDailyLimit(token.address, ether('1.5')).should.be.fulfilled
- await contract.fixMediatorBalance(token.address, owner, { from: owner }).should.be.rejected
-
- events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(3)
- })
- })
-})
diff --git a/test/multi_amb_erc20_to_erc677/home_mediator.test.js b/test/multi_amb_erc20_to_erc677/home_mediator.test.js
deleted file mode 100644
index 2bf5870ad..000000000
--- a/test/multi_amb_erc20_to_erc677/home_mediator.test.js
+++ /dev/null
@@ -1,1462 +0,0 @@
-const HomeMultiAMBErc20ToErc677 = artifacts.require('HomeMultiAMBErc20ToErc677.sol')
-const ForeignMultiAMBErc20ToErc677 = artifacts.require('ForeignMultiAMBErc20ToErc677.sol')
-const EternalStorageProxy = artifacts.require('EternalStorageProxy.sol')
-const AMBMock = artifacts.require('AMBMock.sol')
-const ERC677BridgeToken = artifacts.require('ERC677BridgeToken.sol')
-const PermittableToken = artifacts.require('PermittableToken.sol')
-const Sacrifice = artifacts.require('Sacrifice.sol')
-
-const { expect } = require('chai')
-const { getEvents, expectEventInLogs, ether, strip0x } = require('../helpers/helpers')
-const { ZERO_ADDRESS, toBN } = require('../setup')
-
-const ZERO = toBN(0)
-const halfEther = ether('0.5')
-const oneEther = ether('1')
-const twoEthers = ether('2')
-const maxGasPerTx = oneEther
-const dailyLimit = twoEthers
-const maxPerTx = oneEther
-const minPerTx = ether('0.01')
-const executionDailyLimit = dailyLimit
-const executionMaxPerTx = maxPerTx
-const exampleMessageId = '0xf308b922ab9f8a7128d9d7bc9bce22cd88b2c05c8213f0e2d8104d78e0a9ecbb'
-const otherMessageId = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
-const deployMessageId = '0x87b0c56ed7052872cd6ac5ad2e4d23b3e9bc7637837d099f083dae24aae5b2f2'
-const failedMessageId = '0x2ebc2ccc755acc8eaf9252e19573af708d644ab63a39619adb080a3500a4ff2e'
-
-contract('HomeMultiAMBErc20ToErc677', async accounts => {
- let contract
- let token
- let ambBridgeContract
- let otherSideAMBBridgeContract
- let otherSideMediator
- let currentDay
- let tokenImage
- let homeToken
- const owner = accounts[0]
- const user = accounts[1]
- const user2 = accounts[2]
- const value = oneEther
- beforeEach(async () => {
- contract = await HomeMultiAMBErc20ToErc677.new()
- ambBridgeContract = await AMBMock.new()
- otherSideAMBBridgeContract = await AMBMock.new()
- await ambBridgeContract.setMaxGasPerTx(maxGasPerTx)
- await otherSideAMBBridgeContract.setMaxGasPerTx(maxGasPerTx)
- otherSideMediator = await ForeignMultiAMBErc20ToErc677.new()
- await otherSideMediator.initialize(
- otherSideAMBBridgeContract.address,
- contract.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner
- )
- token = await ERC677BridgeToken.new('TEST', 'TST', 18)
- tokenImage = await PermittableToken.new('TEST', 'TST', 18, 1337)
- currentDay = await contract.getCurrentDay()
- })
-
- const sendFunctions = [
- async function simpleTransfer() {
- await homeToken.transfer(contract.address, value, { from: user }).should.be.fulfilled
- return user
- },
- async function emptyAlternativeReceiver() {
- await homeToken.transferAndCall(contract.address, value, '0x', { from: user }).should.be.fulfilled
- return user
- },
- async function sameAlternativeReceiver() {
- await homeToken.transferAndCall(contract.address, value, user, { from: user }).should.be.fulfilled
- return user
- },
- async function differentAlternativeReceiver() {
- await homeToken.transferAndCall(contract.address, value, user2, { from: user }).should.be.fulfilled
- return user2
- },
- async function simpleRelayTokens1() {
- await homeToken.approve(contract.address, value, { from: user }).should.be.fulfilled
- await contract.methods['relayTokens(address,uint256)'](homeToken.address, value, { from: user }).should.be
- .fulfilled
- return user
- },
- async function simpleRelayTokens2() {
- await homeToken.approve(contract.address, value, { from: user }).should.be.fulfilled
- await contract.methods['relayTokens(address,address,uint256)'](homeToken.address, user, value, { from: user })
- .should.be.fulfilled
- return user
- },
- async function relayTokensWithAlternativeReceiver1() {
- await homeToken.approve(contract.address, value, { from: user }).should.be.fulfilled
- await contract.methods['relayTokens(address,address,uint256)'](homeToken.address, user2, value, { from: user })
- .should.be.fulfilled
- return user2
- }
- ]
-
- async function bridgeToken(token, value = oneEther, forceFail = false) {
- await token.mint(user, value).should.be.fulfilled
- const { receipt } = await token.transferAndCall(otherSideMediator.address, value, '0x', { from: user }).should.be
- .fulfilled
- const encodedData = strip0x(
- web3.eth.abi.decodeParameters(
- ['bytes'],
- receipt.rawLogs.find(log => log.address === otherSideAMBBridgeContract.address).data
- )[0]
- )
- const data = `0x${encodedData.slice(2 * (4 + 20 + 8 + 20 + 20 + 4 + 1 + 1 + 1 + 2 + 2))}` // remove AMB header
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- deployMessageId,
- forceFail ? 100 : 2000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(deployMessageId)).to.be.equal(!forceFail)
-
- if (forceFail) return null
-
- const events = await getEvents(contract, { event: 'NewTokenRegistered' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.foreignToken).to.be.equal(token.address)
- const homeToken = await PermittableToken.at(events[0].returnValues.homeToken)
- const fee = await contract.getFee(await contract.FOREIGN_TO_HOME_FEE(), ZERO_ADDRESS)
- const rewardAccounts = (await contract.rewardAddressCount()).toNumber()
- const bridgedValue =
- rewardAccounts > 0
- ? toBN(value)
- .mul(oneEther.sub(fee))
- .div(oneEther)
- : value
- expect(await homeToken.balanceOf(user)).to.be.bignumber.equal(bridgedValue)
- return homeToken
- }
-
- describe('initialize', () => {
- it('should initialize parameters', async () => {
- // Given
- expect(await contract.isInitialized()).to.be.equal(false)
- expect(await contract.bridgeContract()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.dailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- expect(await contract.maxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- expect(await contract.minPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- expect(await contract.executionDailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- expect(await contract.executionMaxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(ZERO)
- expect(await contract.owner()).to.be.equal(ZERO_ADDRESS)
- expect(await contract.tokenImage()).to.be.equal(ZERO_ADDRESS)
-
- // When
- // not valid bridge address
- await contract.initialize(
- ZERO_ADDRESS,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner,
- tokenImage.address,
- [],
- [ZERO, ZERO]
- ).should.be.rejected
-
- // dailyLimit > maxPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [maxPerTx, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner,
- tokenImage.address,
- [],
- [ZERO, ZERO]
- ).should.be.rejected
-
- // maxPerTx > minPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, minPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner,
- tokenImage.address,
- [],
- [ZERO, ZERO]
- ).should.be.rejected
-
- // executionDailyLimit > executionMaxPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionDailyLimit],
- maxGasPerTx,
- owner,
- tokenImage.address,
- [],
- [ZERO, ZERO]
- ).should.be.rejected
-
- // maxGasPerTx > bridge maxGasPerTx
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- twoEthers,
- owner,
- tokenImage.address,
- [],
- [ZERO, ZERO]
- ).should.be.rejected
-
- // not valid owner
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- ZERO_ADDRESS,
- tokenImage.address,
- [],
- [ZERO, ZERO]
- ).should.be.rejected
-
- // token image is not a contract
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner,
- owner,
- [],
- [ZERO, ZERO]
- ).should.be.rejected
-
- const { logs } = await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner,
- tokenImage.address,
- [],
- [ZERO, ZERO]
- ).should.be.fulfilled
-
- // already initialized
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner,
- tokenImage.address,
- [],
- [ZERO, ZERO]
- ).should.be.rejected
-
- // Then
- expect(await contract.isInitialized()).to.be.equal(true)
- expect(await contract.bridgeContract()).to.be.equal(ambBridgeContract.address)
- expect(await contract.mediatorContractOnOtherSide()).to.be.equal(otherSideMediator.address)
- expect(await contract.dailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(dailyLimit)
- expect(await contract.maxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(maxPerTx)
- expect(await contract.minPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(minPerTx)
- expect(await contract.executionDailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(executionDailyLimit)
- expect(await contract.executionMaxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(executionMaxPerTx)
- expect(await contract.requestGasLimit()).to.be.bignumber.equal(maxGasPerTx)
- expect(await contract.owner()).to.be.equal(owner)
- expect(await contract.tokenImage()).to.be.equal(tokenImage.address)
-
- expectEventInLogs(logs, 'ExecutionDailyLimitChanged', { token: ZERO_ADDRESS, newLimit: executionDailyLimit })
- expectEventInLogs(logs, 'DailyLimitChanged', { token: ZERO_ADDRESS, newLimit: dailyLimit })
- })
- })
-
- describe('getBridgeMode', () => {
- it('should return mediator mode and interface', async function() {
- const bridgeModeHash = '0xb1516c26' // 4 bytes of keccak256('multi-erc-to-erc-amb')
- expect(await contract.getBridgeMode()).to.be.equal(bridgeModeHash)
-
- const { major, minor, patch } = await contract.getBridgeInterfacesVersion()
- major.should.be.bignumber.gte(ZERO)
- minor.should.be.bignumber.gte(ZERO)
- patch.should.be.bignumber.gte(ZERO)
- })
- })
-
- describe('claimTokens', () => {
- beforeEach(async () => {
- const storageProxy = await EternalStorageProxy.new()
- await storageProxy.upgradeTo('1', contract.address).should.be.fulfilled
- contract = await HomeMultiAMBErc20ToErc677.at(storageProxy.address)
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner,
- tokenImage.address,
- [user2],
- [ether('0.1'), ZERO]
- ).should.be.fulfilled
- })
-
- it('should only work with unknown token', async () => {
- const homeToken = await bridgeToken(token)
-
- await contract.claimTokens(homeToken.address, accounts[3], { from: user }).should.be.rejected
- await contract.claimTokens(homeToken.address, accounts[3], { from: owner }).should.be.rejected
-
- token = await ERC677BridgeToken.new('Test', 'TST', 18)
-
- await token.mint(user, oneEther).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
-
- await token.transfer(contract.address, oneEther, { from: user }).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(oneEther)
-
- await contract.claimTokens(token.address, accounts[3], { from: user }).should.be.rejected
- await contract.claimTokens(token.address, accounts[3], { from: owner }).should.be.fulfilled
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(accounts[3])).to.be.bignumber.equal(oneEther)
- })
-
- it('should also work for native coins', async () => {
- await Sacrifice.new(contract.address, { value: oneEther }).catch(() => {})
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(oneEther)
- const balanceBefore = toBN(await web3.eth.getBalance(accounts[3]))
-
- await contract.claimTokens(ZERO_ADDRESS, accounts[3], { from: user }).should.be.rejected
- await contract.claimTokens(ZERO_ADDRESS, accounts[3], { from: owner }).should.be.fulfilled
-
- expect(toBN(await web3.eth.getBalance(contract.address))).to.be.bignumber.equal(ZERO)
- expect(toBN(await web3.eth.getBalance(accounts[3]))).to.be.bignumber.equal(balanceBefore.add(oneEther))
- })
-
- it('should allow owner to claim tokens from token contract', async () => {
- const homeToken = await bridgeToken(token)
-
- await token.mint(user, 1).should.be.fulfilled
- await token.transfer(homeToken.address, 1, { from: user }).should.be.fulfilled
-
- await contract.claimTokensFromTokenContract(homeToken.address, token.address, accounts[3], { from: user }).should
- .be.rejected
- await contract.claimTokensFromTokenContract(homeToken.address, token.address, accounts[3], { from: owner }).should
- .be.fulfilled
-
- expect(await token.balanceOf(accounts[3])).to.be.bignumber.equal('1')
- })
- })
-
- describe('afterInitialization', () => {
- beforeEach(async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner,
- tokenImage.address,
- [],
- [ZERO, ZERO]
- ).should.be.fulfilled
-
- const initialEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(initialEvents.length).to.be.equal(0)
- })
-
- describe('deploy and register new token', () => {
- it('can be called only by mediator from the other side', async () => {
- await contract.deployAndHandleBridgedTokens(token.address, 'TOKEN', 'TOK', 18, user, value, { from: owner })
- .should.be.rejected
- const data = await contract.contract.methods
- .deployAndHandleBridgedTokens(token.address, 'TOKEN', 'TOK', 18, user, value.toString())
- .encodeABI()
- await ambBridgeContract.executeMessageCall(contract.address, owner, data, failedMessageId, 1000000).should.be
- .fulfilled
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- })
-
- it('should register new token in deployAndHandleBridgedTokens', async () => {
- const homeToken = await bridgeToken(token)
-
- expect(await homeToken.name()).to.be.equal('TEST on xDai')
- expect(await homeToken.symbol()).to.be.equal('TST')
- expect(await homeToken.decimals()).to.be.bignumber.equal('18')
- expect(await homeToken.version()).to.be.equal('1')
- expect(await homeToken.owner()).to.be.equal(contract.address)
- expect(await homeToken.bridgeContract()).to.be.equal(contract.address)
- expect(await homeToken.totalSupply()).to.be.bignumber.equal(value)
- expect(await homeToken.balanceOf(user)).to.be.bignumber.equal(value)
- expect(await contract.homeTokenAddress(token.address)).to.be.equal(homeToken.address)
- expect(await contract.foreignTokenAddress(homeToken.address)).to.be.equal(token.address)
- })
-
- it('should register new token with empty name', async () => {
- token = await ERC677BridgeToken.new('', 'TST', 18)
- const homeToken = await bridgeToken(token)
-
- expect(await homeToken.name()).to.be.equal('TST on xDai')
- expect(await homeToken.symbol()).to.be.equal('TST')
- expect(await homeToken.decimals()).to.be.bignumber.equal('18')
- })
-
- it('should register new token with empty symbol', async () => {
- token = await ERC677BridgeToken.new('TEST', '', 18)
- const homeToken = await bridgeToken(token)
-
- expect(await homeToken.name()).to.be.equal('TEST on xDai')
- expect(await homeToken.symbol()).to.be.equal('TEST')
- expect(await homeToken.decimals()).to.be.bignumber.equal('18')
- })
-
- it('should not register new token with empty name and empty symbol', async () => {
- const data1 = await contract.contract.methods
- .deployAndHandleBridgedTokens(accounts[0], '', '', 18, user, oneEther.toString(10))
- .encodeABI()
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data1,
- exampleMessageId,
- 2000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(false)
-
- const data2 = await contract.contract.methods
- .deployAndHandleBridgedTokens(accounts[1], 'TEST', '', 18, user, oneEther.toString(10))
- .encodeABI()
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data2,
- otherMessageId,
- 2000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(otherMessageId)).to.be.equal(true)
- })
-
- for (const decimals of [3, 18, 20]) {
- it(`should initialize limits according to decimals = ${decimals}`, async () => {
- const f1 = toBN(`1${'0'.repeat(decimals)}`)
- const f2 = toBN('1000000000000000000')
-
- token = await ERC677BridgeToken.new('TEST', 'TST', decimals)
- token = await bridgeToken(token, value.mul(f1).div(f2))
-
- expect(await token.decimals()).to.be.bignumber.equal(decimals.toString())
- expect(await contract.dailyLimit(token.address)).to.be.bignumber.equal(dailyLimit.mul(f1).div(f2))
- expect(await contract.maxPerTx(token.address)).to.be.bignumber.equal(maxPerTx.mul(f1).div(f2))
- // expect(await contract.minPerTx(token.address)).to.be.bignumber.equal(minPerTx.mul(f1).div(f2))
- expect(await contract.minPerTx(token.address)).to.be.bignumber.equal('1')
- expect(await contract.executionDailyLimit(token.address)).to.be.bignumber.equal(
- executionDailyLimit.mul(f1).div(f2)
- )
- expect(await contract.executionMaxPerTx(token.address)).to.be.bignumber.equal(
- executionMaxPerTx.mul(f1).div(f2)
- )
- })
- }
-
- it(`should initialize limits according to decimals = 0`, async () => {
- token = await ERC677BridgeToken.new('TEST', 'TST', 0)
- token = await bridgeToken(token, '1')
-
- expect(await token.decimals()).to.be.bignumber.equal('0')
- expect(await contract.dailyLimit(token.address)).to.be.bignumber.equal('10000')
- expect(await contract.maxPerTx(token.address)).to.be.bignumber.equal('100')
- expect(await contract.minPerTx(token.address)).to.be.bignumber.equal('1')
- expect(await contract.executionDailyLimit(token.address)).to.be.bignumber.equal('10000')
- expect(await contract.executionMaxPerTx(token.address)).to.be.bignumber.equal('100')
- })
-
- it('should initialize fees', async () => {
- const HOME_TO_FOREIGN_FEE = await contract.HOME_TO_FOREIGN_FEE()
- const FOREIGN_TO_HOME_FEE = await contract.FOREIGN_TO_HOME_FEE()
- await contract.setFee(HOME_TO_FOREIGN_FEE, ZERO_ADDRESS, ether('0.01'))
- await contract.setFee(FOREIGN_TO_HOME_FEE, ZERO_ADDRESS, ether('0.02'))
-
- expect(await contract.getFee(HOME_TO_FOREIGN_FEE, ZERO_ADDRESS)).to.be.bignumber.equal(ether('0.01'))
- expect(await contract.getFee(FOREIGN_TO_HOME_FEE, ZERO_ADDRESS)).to.be.bignumber.equal(ether('0.02'))
- expect(await contract.getFee(HOME_TO_FOREIGN_FEE, token.address)).to.be.bignumber.equal(ZERO)
- expect(await contract.getFee(FOREIGN_TO_HOME_FEE, token.address)).to.be.bignumber.equal(ZERO)
-
- const homeToken = await bridgeToken(token)
-
- expect(await contract.getFee(HOME_TO_FOREIGN_FEE, ZERO_ADDRESS)).to.be.bignumber.equal(ether('0.01'))
- expect(await contract.getFee(FOREIGN_TO_HOME_FEE, ZERO_ADDRESS)).to.be.bignumber.equal(ether('0.02'))
- expect(await contract.getFee(HOME_TO_FOREIGN_FEE, homeToken.address)).to.be.bignumber.equal(ether('0.01'))
- expect(await contract.getFee(FOREIGN_TO_HOME_FEE, homeToken.address)).to.be.bignumber.equal(ether('0.02'))
- })
- })
-
- describe('update mediator parameters', () => {
- describe('limits', () => {
- it('should allow to update default daily limits', async () => {
- await contract.setDailyLimit(ZERO_ADDRESS, ether('5'), { from: user }).should.be.rejected
- await contract.setExecutionDailyLimit(ZERO_ADDRESS, ether('5'), { from: user }).should.be.rejected
- await contract.setDailyLimit(ZERO_ADDRESS, ether('0.5'), { from: owner }).should.be.rejected
- await contract.setExecutionDailyLimit(ZERO_ADDRESS, ether('0.5'), { from: owner }).should.be.rejected
- await contract.setDailyLimit(ZERO_ADDRESS, ether('5'), { from: owner }).should.be.fulfilled
- await contract.setExecutionDailyLimit(ZERO_ADDRESS, ether('5'), { from: owner }).should.be.fulfilled
-
- expect(await contract.dailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(ether('5'))
- expect(await contract.executionDailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(ether('5'))
-
- await contract.setDailyLimit(ZERO_ADDRESS, ZERO, { from: owner }).should.be.fulfilled
- await contract.setExecutionDailyLimit(ZERO_ADDRESS, ZERO, { from: owner }).should.be.fulfilled
-
- expect(await contract.dailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- expect(await contract.executionDailyLimit(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- })
-
- it('should allow to update default max per tx limits', async () => {
- await contract.setMaxPerTx(ZERO_ADDRESS, ether('1.5'), { from: user }).should.be.rejected
- await contract.setExecutionMaxPerTx(ZERO_ADDRESS, ether('1.5'), { from: user }).should.be.rejected
- await contract.setMaxPerTx(ZERO_ADDRESS, ether('5'), { from: owner }).should.be.rejected
- await contract.setExecutionMaxPerTx(ZERO_ADDRESS, ether('5'), { from: owner }).should.be.rejected
- // await contract.setMaxPerTx(ZERO_ADDRESS, ether('0.001'), { from: owner }).should.be.rejected
- await contract.setMaxPerTx(ZERO_ADDRESS, ether('1.5'), { from: owner }).should.be.fulfilled
- await contract.setExecutionMaxPerTx(ZERO_ADDRESS, ether('1.5'), { from: owner }).should.be.fulfilled
-
- expect(await contract.maxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ether('1.5'))
- expect(await contract.executionMaxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ether('1.5'))
-
- await contract.setMaxPerTx(ZERO_ADDRESS, ZERO, { from: owner }).should.be.fulfilled
- await contract.setExecutionMaxPerTx(ZERO_ADDRESS, ZERO, { from: owner }).should.be.fulfilled
-
- expect(await contract.maxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- expect(await contract.executionMaxPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ZERO)
- })
-
- it('should allow to update default min per tx limit', async () => {
- await contract.setMinPerTx(ZERO_ADDRESS, ether('0.1'), { from: user }).should.be.rejected
- await contract.setMinPerTx(ZERO_ADDRESS, ZERO, { from: owner }).should.be.rejected
- await contract.setMinPerTx(ZERO_ADDRESS, ether('0.1'), { from: owner }).should.be.fulfilled
-
- expect(await contract.minPerTx(ZERO_ADDRESS)).to.be.bignumber.equal(ether('0.1'))
-
- await contract.setMinPerTx(ZERO_ADDRESS, ZERO, { from: owner }).should.be.rejected
- })
-
- it('should only allow to update parameters for known tokens', async () => {
- await contract.setDailyLimit(token.address, ether('5'), { from: owner }).should.be.rejected
- await contract.setMaxPerTx(token.address, ether('1.5'), { from: owner }).should.be.rejected
- await contract.setMinPerTx(token.address, ether('0.02'), { from: owner }).should.be.rejected
- await contract.setExecutionDailyLimit(token.address, ether('5'), { from: owner }).should.be.rejected
- await contract.setExecutionMaxPerTx(token.address, ether('1.5'), { from: owner }).should.be.rejected
-
- token = await bridgeToken(token)
-
- await contract.setDailyLimit(token.address, ether('5'), { from: owner }).should.be.fulfilled
- await contract.setMaxPerTx(token.address, ether('1.5'), { from: owner }).should.be.fulfilled
- await contract.setMinPerTx(token.address, ether('0.02'), { from: owner }).should.be.fulfilled
- await contract.setExecutionDailyLimit(token.address, ether('6'), { from: owner }).should.be.fulfilled
- await contract.setExecutionMaxPerTx(token.address, ether('1.6'), { from: owner }).should.be.fulfilled
-
- expect(await contract.dailyLimit(token.address)).to.be.bignumber.equal(ether('5'))
- expect(await contract.maxPerTx(token.address)).to.be.bignumber.equal(ether('1.5'))
- // expect(await contract.minPerTx(token.address)).to.be.bignumber.equal(ether('0.02'))
- expect(await contract.minPerTx(token.address)).to.be.bignumber.equal('1')
- expect(await contract.executionDailyLimit(token.address)).to.be.bignumber.equal(ether('6'))
- expect(await contract.executionMaxPerTx(token.address)).to.be.bignumber.equal(ether('1.6'))
- })
- })
-
- describe('tokenImage', () => {
- it('should allow to change token image', async () => {
- expect(await contract.tokenImage()).to.be.equal(tokenImage.address)
- await contract.setTokenImage(token.address, { from: user }).should.be.rejected
- await contract.setTokenImage(owner, { from: owner }).should.be.rejected
- await contract.setTokenImage(token.address, { from: owner }).should.be.fulfilled
- expect(await contract.tokenImage()).to.be.equal(token.address)
- })
- })
- })
-
- describe('onTokenTransfer', () => {
- beforeEach(async () => {
- homeToken = await bridgeToken(token)
- expect(await contract.isTokenRegistered(token.address)).to.be.equal(false)
- expect(await contract.isTokenRegistered(homeToken.address)).to.be.equal(true)
- })
-
- it('should call AMB bridge and burn tokens', async () => {
- // only token address can call it
- await contract.onTokenTransfer(user, halfEther, '0x', { from: owner }).should.be.rejected
-
- // must be within limits
- // await homeToken.transferAndCall(contract.address, ether('1.001'), '0x', { from: user }).should.be.rejected
- await homeToken.transferAndCall(contract.address, '0', '0x', { from: user }).should.be.rejected
-
- // When
- await homeToken.transferAndCall(contract.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(token.address).toLowerCase())).to.be.equal(true)
- expect(events[0].returnValues.encodedData.includes(strip0x(user).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(homeToken.address, currentDay)).to.be.bignumber.equal(halfEther)
- expect(await homeToken.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
-
- const depositEvents = await getEvents(contract, { event: 'TokensBridgingInitiated' })
- expect(depositEvents.length).to.be.equal(1)
- expect(depositEvents[0].returnValues.token).to.be.equal(homeToken.address)
- expect(depositEvents[0].returnValues.sender).to.be.equal(user)
- expect(depositEvents[0].returnValues.value).to.be.equal(halfEther.toString())
- expect(depositEvents[0].returnValues.messageId).to.include('0x11223344')
- })
-
- it('should respect global shutdown', async () => {
- await contract.setDailyLimit(ZERO_ADDRESS, ZERO).should.be.fulfilled
- await homeToken.transferAndCall(contract.address, halfEther, '0x', { from: user }).should.be.rejected
- await contract.setDailyLimit(ZERO_ADDRESS, dailyLimit).should.be.fulfilled
- await homeToken.transferAndCall(contract.address, halfEther, '0x', { from: user }).should.be.fulfilled
- })
-
- it('should be able to specify a different receiver', async () => {
- // must be a valid address param
- await homeToken.transferAndCall(contract.address, halfEther, '0x00', { from: user }).should.be.rejected
-
- // When
- await homeToken.transferAndCall(contract.address, halfEther, user2, { from: user }).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(token.address).toLowerCase())).to.be.equal(true)
- expect(events[0].returnValues.encodedData.includes(strip0x(user2).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(homeToken.address, currentDay)).to.be.bignumber.equal(halfEther)
- expect(await homeToken.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
-
- const depositEvents = await getEvents(contract, { event: 'TokensBridgingInitiated' })
- expect(depositEvents.length).to.be.equal(1)
- expect(depositEvents[0].returnValues.token).to.be.equal(homeToken.address)
- expect(depositEvents[0].returnValues.sender).to.be.equal(user)
- expect(depositEvents[0].returnValues.value).to.be.equal(halfEther.toString())
- expect(depositEvents[0].returnValues.messageId).to.include('0x11223344')
- })
- })
-
- describe('relayTokens', () => {
- beforeEach(async () => {
- homeToken = await bridgeToken(token)
- expect(await contract.isTokenRegistered(token.address)).to.be.equal(false)
- expect(await contract.isTokenRegistered(homeToken.address)).to.be.equal(true)
- })
-
- it('should allow to bridge tokens using approve and relayTokens', async () => {
- // Given
- await homeToken.approve(contract.address, value, { from: user }).should.be.fulfilled
- expect(await homeToken.allowance(user, contract.address)).to.be.bignumber.equal(value)
-
- // When
- await contract.methods['relayTokens(address,address,uint256)'](homeToken.address, user, value, { from: user })
- .should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(token.address).toLowerCase())).to.be.equal(true)
- expect(events[0].returnValues.encodedData.includes(strip0x(user).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(homeToken.address, currentDay)).to.be.bignumber.equal(value)
- expect(await homeToken.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
-
- const depositEvents = await getEvents(contract, { event: 'TokensBridgingInitiated' })
- expect(depositEvents.length).to.be.equal(1)
- expect(depositEvents[0].returnValues.token).to.be.equal(homeToken.address)
- expect(depositEvents[0].returnValues.sender).to.be.equal(user)
- expect(depositEvents[0].returnValues.value).to.be.equal(value.toString())
- expect(depositEvents[0].returnValues.messageId).to.include('0x11223344')
- })
-
- it('should allow to specify a different receiver without specifying sender', async () => {
- // Given
- await homeToken.approve(contract.address, value, { from: user }).should.be.fulfilled
- expect(await homeToken.allowance(user, contract.address)).to.be.bignumber.equal(value)
-
- // When
- await contract.methods['relayTokens(address,address,uint256)'](homeToken.address, user2, value, { from: user })
- .should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(token.address).toLowerCase())).to.be.equal(true)
- expect(events[0].returnValues.encodedData.includes(strip0x(user2).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(homeToken.address, currentDay)).to.be.bignumber.equal(value)
- expect(await homeToken.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
-
- const depositEvents = await getEvents(contract, { event: 'TokensBridgingInitiated' })
- expect(depositEvents.length).to.be.equal(1)
- expect(depositEvents[0].returnValues.token).to.be.equal(homeToken.address)
- expect(depositEvents[0].returnValues.sender).to.be.equal(user)
- expect(depositEvents[0].returnValues.value).to.be.equal(value.toString())
- expect(depositEvents[0].returnValues.messageId).to.include('0x11223344')
- })
-
- it('should allow to specify no receiver and no sender', async () => {
- // Given
- await homeToken.approve(contract.address, value, { from: user }).should.be.fulfilled
- expect(await homeToken.allowance(user, contract.address)).to.be.bignumber.equal(value)
-
- // When
- await contract.methods['relayTokens(address,uint256)'](homeToken.address, value, { from: user }).should.be
- .fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(token.address).toLowerCase())).to.be.equal(true)
- expect(events[0].returnValues.encodedData.includes(strip0x(user).toLowerCase())).to.be.equal(true)
- expect(await contract.totalSpentPerDay(homeToken.address, currentDay)).to.be.bignumber.equal(value)
- expect(await homeToken.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- })
-
- it('should fail if user did not approve the transfer', async () => {
- await contract.methods['relayTokens(address,address,uint256)'](homeToken.address, user, value, { from: user })
- .should.be.rejected
- })
-
- it('should fail if value is not within limits', async () => {
- await homeToken.approve(contract.address, twoEthers, { from: user }).should.be.fulfilled
- expect(await homeToken.allowance(user, contract.address)).to.be.bignumber.equal(twoEthers)
-
- // await contract.methods['relayTokens(address,address,uint256)'](homeToken.address, user, ether('0.0001'), {
- // from: user
- // }).should.be.rejected
- await contract.methods['relayTokens(address,address,uint256)'](homeToken.address, user, '0', { from: user })
- .should.be.rejected
- })
- })
-
- describe('handleBridgedTokens', () => {
- beforeEach(async () => {
- homeToken = await bridgeToken(token)
- })
-
- it('should mint tokens on message from amb', async () => {
- // can't be called by user
- await contract.handleBridgedTokens(token.address, user, value, { from: user }).should.be.rejected
- // can't be called by owner
- await contract.handleBridgedTokens(token.address, user, value, { from: owner }).should.be.rejected
-
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- // message must be generated by mediator contract on the other network
- await ambBridgeContract.executeMessageCall(contract.address, owner, data, failedMessageId, 1000000).should.be
- .fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // Then
- expect(await contract.totalExecutedPerDay(homeToken.address, currentDay)).to.be.bignumber.equal(twoEthers)
- expect(await homeToken.balanceOf(user)).to.be.bignumber.equal(twoEthers)
- expect(await homeToken.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
-
- const event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(2)
- expect(event[1].returnValues.token).to.be.equal(homeToken.address)
- expect(event[1].returnValues.recipient).to.be.equal(user)
- expect(event[1].returnValues.value).to.be.equal(value.toString())
- expect(event[1].returnValues.messageId).to.be.equal(exampleMessageId)
- })
-
- it('should not allow to operate when global shutdown is enabled', async () => {
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- await contract.setExecutionDailyLimit(ZERO_ADDRESS, ZERO).should.be.fulfilled
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(false)
- await contract.setExecutionDailyLimit(ZERO_ADDRESS, executionDailyLimit).should.be.fulfilled
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- otherMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(otherMessageId)).to.be.equal(true)
- })
-
- it('should not allow to use unregistered tokens', async () => {
- const data = await contract.contract.methods
- .handleBridgedTokens(homeToken.address, user, value.toString())
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- failedMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
- })
- })
-
- describe('requestFailedMessageFix for token registration', () => {
- it('should allow to request fix of first bridge operation for some token', async () => {
- await bridgeToken(token, value, true)
-
- await contract.requestFailedMessageFix(deployMessageId).should.be.fulfilled
- })
- })
-
- describe('requestFailedMessageFix', () => {
- beforeEach(async () => {
- await bridgeToken(token)
- })
-
- it('should allow to request a failed message fix', async () => {
- // Given
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- failedMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.fulfilled
-
- // Then
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
- })
-
- it('should be a failed transaction', async () => {
- // Given
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- // When
- await contract.requestFailedMessageFix(exampleMessageId).should.be.rejected
- })
-
- it('should be the receiver of the failed transaction', async () => {
- // Given
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- ambBridgeContract.address,
- otherSideMediator.address,
- data,
- failedMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.rejected
- })
-
- it('message sender should be mediator from other side', async () => {
- // Given
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(contract.address, contract.address, data, failedMessageId, 100)
- .should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.rejected
- })
-
- it('should allow to request a fix multiple times', async () => {
- // Given
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- failedMessageId,
- 100
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
-
- await contract.requestFailedMessageFix(failedMessageId).should.be.fulfilled
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
-
- // When
- await contract.requestFailedMessageFix(failedMessageId).should.be.fulfilled
-
- // Then
- const allEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(allEvents.length).to.be.equal(2)
- expect(allEvents[0].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
- expect(allEvents[1].returnValues.encodedData.includes(strip0x(failedMessageId))).to.be.equal(true)
- })
- })
-
- describe('fixFailedMessage', () => {
- let transferMessageId
-
- beforeEach(async () => {
- homeToken = await bridgeToken(token)
- })
-
- for (const send of sendFunctions) {
- it(`should fix tokens burnt via ${send.name}`, async () => {
- expect(await homeToken.balanceOf(user)).to.be.bignumber.equal(value)
- // User transfer tokens
- await send()
-
- expect(await homeToken.balanceOf(user)).to.be.bignumber.equal(ZERO)
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- transferMessageId = events[0].returnValues.messageId
- // Given
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- // When
- await contract.fixFailedMessage(transferMessageId, { from: user }).should.be.rejected
- await contract.fixFailedMessage(transferMessageId, { from: owner }).should.be.rejected
- const fixData = await contract.contract.methods.fixFailedMessage(transferMessageId).encodeABI()
-
- // Should be called by mediator from other side so it will fail
- await ambBridgeContract.executeMessageCall(
- contract.address,
- contract.address,
- fixData,
- failedMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(failedMessageId)).to.be.equal(false)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(false)
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- fixData,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- // Then
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(await homeToken.balanceOf(user)).to.be.bignumber.equal(value)
- expect(await contract.messageFixed(transferMessageId)).to.be.equal(true)
-
- const event = await getEvents(contract, { event: 'FailedMessageFixed' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.messageId).to.be.equal(transferMessageId)
- expect(event[0].returnValues.token).to.be.equal(homeToken.address)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(value.toString())
-
- // can only fix it one time
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- fixData,
- otherMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(otherMessageId)).to.be.equal(false)
- expect(await homeToken.balanceOf(user)).to.be.bignumber.equal(value)
- })
- }
- })
-
- describe('oracle driven lane permissions', () => {
- it('should allow to set/update lane permissions', async () => {
- expect(await contract.destinationLane(token.address, user, user2)).to.be.bignumber.equal('0')
-
- await contract.setTokenForwardingRule(token.address, true, { from: user }).should.be.rejected
- await contract.setTokenForwardingRule(token.address, true, { from: owner }).should.be.fulfilled
-
- expect(await contract.destinationLane(token.address, user, user2)).to.be.bignumber.equal('-1')
-
- await contract.setSenderExceptionForTokenForwardingRule(token.address, user, true, { from: user }).should.be
- .rejected
- await contract.setSenderExceptionForTokenForwardingRule(token.address, user, true, { from: owner }).should.be
- .fulfilled
-
- expect(await contract.destinationLane(token.address, user, user2)).to.be.bignumber.equal('1')
- expect(await contract.destinationLane(token.address, user2, user2)).to.be.bignumber.equal('-1')
-
- await contract.setSenderExceptionForTokenForwardingRule(token.address, user, false, { from: owner }).should.be
- .fulfilled
- await contract.setReceiverExceptionForTokenForwardingRule(token.address, user, true, { from: user }).should.be
- .rejected
- await contract.setReceiverExceptionForTokenForwardingRule(token.address, user, true, { from: owner }).should.be
- .fulfilled
-
- expect(await contract.destinationLane(token.address, user, user)).to.be.bignumber.equal('1')
- expect(await contract.destinationLane(token.address, user, user2)).to.be.bignumber.equal('-1')
-
- await contract.setTokenForwardingRule(token.address, false, { from: owner }).should.be.fulfilled
-
- expect(await contract.destinationLane(token.address, user2, user2)).to.be.bignumber.equal('0')
-
- await contract.setSenderForwardingRule(user2, true, { from: user }).should.be.rejected
- await contract.setSenderForwardingRule(user2, true, { from: owner }).should.be.fulfilled
-
- expect(await contract.destinationLane(token.address, user2, user2)).to.be.bignumber.equal('-1')
-
- await contract.setReceiverForwardingRule(user2, true, { from: user }).should.be.rejected
- await contract.setReceiverForwardingRule(user2, true, { from: owner }).should.be.fulfilled
-
- expect(await contract.destinationLane(token.address, user, user2)).to.be.bignumber.equal('-1')
- })
-
- it('should send a message to the manual lane', async () => {
- homeToken = await bridgeToken(token)
-
- await homeToken.transferAndCall(contract.address, ether('0.1'), '0x', { from: user }).should.be.fulfilled
- await contract.setTokenForwardingRule(token.address, true, { from: owner }).should.be.fulfilled
- await homeToken.transferAndCall(contract.address, ether('0.1'), '0x', { from: user }).should.be.fulfilled
-
- const events = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(2)
- expect(strip0x(events[0].returnValues.encodedData).slice(156, 158)).to.be.equal('00')
- expect(strip0x(events[1].returnValues.encodedData).slice(156, 158)).to.be.equal('80')
- })
- })
- })
-
- describe('fees management', () => {
- beforeEach(async () => {
- await contract.initialize(
- ambBridgeContract.address,
- otherSideMediator.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- owner,
- tokenImage.address,
- [owner],
- [ether('0.02'), ether('0.01')]
- ).should.be.fulfilled
-
- const initialEvents = await getEvents(ambBridgeContract, { event: 'MockedEvent' })
- expect(initialEvents.length).to.be.equal(0)
- })
-
- it('change reward addresses', async () => {
- await contract.addRewardAddress(accounts[8], { from: user }).should.be.rejected
- await contract.addRewardAddress(owner).should.be.rejected
- await contract.addRewardAddress(accounts[8]).should.be.fulfilled
-
- expect(await contract.rewardAddressList()).to.be.eql([accounts[8], owner])
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('2')
- expect(await contract.isRewardAddress(owner)).to.be.equal(true)
- expect(await contract.isRewardAddress(accounts[8])).to.be.equal(true)
-
- await contract.addRewardAddress(accounts[9]).should.be.fulfilled
- expect(await contract.rewardAddressList()).to.be.eql([accounts[9], accounts[8], owner])
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('3')
-
- await contract.removeRewardAddress(owner, { from: user }).should.be.rejected
- await contract.removeRewardAddress(accounts[7]).should.be.rejected
- await contract.removeRewardAddress(accounts[8]).should.be.fulfilled
- await contract.removeRewardAddress(accounts[8]).should.be.rejected
-
- expect(await contract.rewardAddressList()).to.be.eql([accounts[9], owner])
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('2')
- expect(await contract.isRewardAddress(accounts[8])).to.be.equal(false)
-
- await contract.removeRewardAddress(owner).should.be.fulfilled
- expect(await contract.rewardAddressList()).to.be.eql([accounts[9]])
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('1')
- expect(await contract.isRewardAddress(owner)).to.be.equal(false)
-
- await contract.removeRewardAddress(accounts[9]).should.be.fulfilled
- expect(await contract.rewardAddressList()).to.be.eql([])
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('0')
- expect(await contract.isRewardAddress(accounts[9])).to.be.equal(false)
- })
-
- describe('update fee parameters', () => {
- it('should update default fee value', async () => {
- const feeType = await contract.HOME_TO_FOREIGN_FEE()
- await contract.setFee(feeType, ZERO_ADDRESS, ether('0.1'), { from: user }).should.be.rejected
- await contract.setFee(feeType, ZERO_ADDRESS, ether('1.1'), { from: owner }).should.be.rejected
- const { logs } = await contract.setFee(feeType, ZERO_ADDRESS, ether('0.1'), { from: owner }).should.be.fulfilled
-
- expectEventInLogs(logs, 'FeeUpdated')
- expect(await contract.getFee(feeType, ZERO_ADDRESS)).to.be.bignumber.equal(ether('0.1'))
- expect(await contract.getFee(await contract.FOREIGN_TO_HOME_FEE(), ZERO_ADDRESS)).to.be.bignumber.equal(
- ether('0.01')
- )
- })
-
- it('should update default opposite direction fee value', async () => {
- const feeType = await contract.FOREIGN_TO_HOME_FEE()
- await contract.setFee(feeType, ZERO_ADDRESS, ether('0.1'), { from: user }).should.be.rejected
- await contract.setFee(feeType, ZERO_ADDRESS, ether('1.1'), { from: owner }).should.be.rejected
- const { logs } = await contract.setFee(feeType, ZERO_ADDRESS, ether('0.1'), { from: owner }).should.be.fulfilled
-
- expectEventInLogs(logs, 'FeeUpdated')
- expect(await contract.getFee(feeType, ZERO_ADDRESS)).to.be.bignumber.equal(ether('0.1'))
- expect(await contract.getFee(await contract.HOME_TO_FOREIGN_FEE(), ZERO_ADDRESS)).to.be.bignumber.equal(
- ether('0.02')
- )
- })
-
- it('should update fee value for registered token', async () => {
- const feeType = await contract.HOME_TO_FOREIGN_FEE()
- await token.mint(user, twoEthers, { from: owner }).should.be.fulfilled
-
- await contract.setFee(feeType, token.address, ether('0.1'), { from: user }).should.be.rejected
- await contract.setFee(feeType, token.address, ether('1.1'), { from: owner }).should.be.rejected
- await contract.setFee(feeType, token.address, ether('0.1'), { from: owner }).should.be.rejected
-
- token = await bridgeToken(token)
-
- await contract.setFee(feeType, token.address, ether('0.1'), { from: user }).should.be.rejected
- await contract.setFee(feeType, token.address, ether('1.1'), { from: owner }).should.be.rejected
- const { logs } = await contract.setFee(feeType, token.address, ether('0.1'), { from: owner }).should.be
- .fulfilled
-
- expectEventInLogs(logs, 'FeeUpdated')
- // expect(await contract.getFee(feeType, token.address)).to.be.bignumber.equal(ether('0.1'))
- expect(await contract.getFee(feeType, token.address)).to.be.bignumber.equal(ether('0.02'))
- expect(await contract.getFee(await contract.FOREIGN_TO_HOME_FEE(), token.address)).to.be.bignumber.equal(
- ether('0.01')
- )
- })
-
- it('should update opposite direction fee value for registered token', async () => {
- const feeType = await contract.FOREIGN_TO_HOME_FEE()
- await token.mint(user, twoEthers, { from: owner }).should.be.fulfilled
-
- await contract.setFee(feeType, token.address, ether('0.1'), { from: user }).should.be.rejected
- await contract.setFee(feeType, token.address, ether('1.1'), { from: owner }).should.be.rejected
- await contract.setFee(feeType, token.address, ether('0.1'), { from: owner }).should.be.rejected
- token = await bridgeToken(token)
- await contract.setFee(feeType, token.address, ether('0.1'), { from: user }).should.be.rejected
- await contract.setFee(feeType, token.address, ether('1.1'), { from: owner }).should.be.rejected
- const { logs } = await contract.setFee(feeType, token.address, ether('0.1'), { from: owner }).should.be
- .fulfilled
-
- expectEventInLogs(logs, 'FeeUpdated')
- // expect(await contract.getFee(feeType, token.address)).to.be.bignumber.equal(ether('0.1'))
- expect(await contract.getFee(feeType, token.address)).to.be.bignumber.equal(ether('0.01'))
- expect(await contract.getFee(await contract.HOME_TO_FOREIGN_FEE(), token.address)).to.be.bignumber.equal(
- ether('0.02')
- )
- })
- })
-
- describe('distribute fee for foreign => home direction', async () => {
- beforeEach(async () => {
- await token.mint(user, twoEthers, { from: owner }).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(twoEthers)
- })
-
- it('should collect and distribute 0% fee', async () => {
- await contract.setFee(await contract.FOREIGN_TO_HOME_FEE(), ZERO_ADDRESS, ZERO).should.be.fulfilled
- const homeToken = await bridgeToken(token)
-
- let event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.token).to.be.equal(homeToken.address)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(value.toString())
- expect(event[0].returnValues.messageId).to.be.equal(deployMessageId)
-
- let feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(0)
-
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(await contract.totalExecutedPerDay(homeToken.address, currentDay)).to.be.bignumber.equal(twoEthers)
-
- event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(2)
- expect(event[1].returnValues.token).to.be.equal(homeToken.address)
- expect(event[1].returnValues.recipient).to.be.equal(user)
- expect(event[1].returnValues.value).to.be.equal(value.toString())
- expect(event[1].returnValues.messageId).to.be.equal(exampleMessageId)
-
- feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(0)
-
- expect(await homeToken.balanceOf(user)).to.be.bignumber.equal(twoEthers)
- expect(await homeToken.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- expect(await homeToken.balanceOf(owner)).to.be.bignumber.equal(ZERO)
- })
-
- it('should collect and distribute 1% fee', async () => {
- const homeToken = await bridgeToken(token)
-
- let event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
- expect(event[0].returnValues.token).to.be.equal(homeToken.address)
- expect(event[0].returnValues.recipient).to.be.equal(user)
- expect(event[0].returnValues.value).to.be.equal(ether('0.99').toString())
- expect(event[0].returnValues.messageId).to.be.equal(deployMessageId)
-
- let feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(1)
-
- expect(await homeToken.balanceOf(user)).to.be.bignumber.equal(ether('0.99'))
- expect(await homeToken.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- expect(await homeToken.balanceOf(owner)).to.be.bignumber.equal(ether('0.01'))
-
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString())
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(await contract.totalExecutedPerDay(homeToken.address, currentDay)).to.be.bignumber.equal(twoEthers)
-
- event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(2)
- expect(event[1].returnValues.token).to.be.equal(homeToken.address)
- expect(event[1].returnValues.recipient).to.be.equal(user)
- expect(event[1].returnValues.value).to.be.equal(ether('0.99').toString())
- expect(event[1].returnValues.messageId).to.be.equal(exampleMessageId)
-
- feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(2)
-
- expect(await homeToken.balanceOf(user)).to.be.bignumber.equal(ether('1.98'))
- expect(await homeToken.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- expect(await homeToken.balanceOf(owner)).to.be.bignumber.equal(ether('0.02'))
- })
-
- it('should collect and distribute 1% fee between two reward addresses', async () => {
- await contract.addRewardAddress(accounts[9]).should.be.fulfilled
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('2')
- const homeToken = await bridgeToken(token, ether('0.200000000000000100'))
-
- let event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(1)
-
- let feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(1)
-
- expect(await homeToken.balanceOf(user)).to.be.bignumber.equal(ether('0.198000000000000099'))
- expect(await homeToken.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- const balance1 = (await homeToken.balanceOf(owner)).toString()
- const balance2 = (await homeToken.balanceOf(accounts[9])).toString()
- expect(
- (balance1 === '1000000000000001' && balance2 === '1000000000000000') ||
- (balance1 === '1000000000000000' && balance2 === '1000000000000001')
- ).to.be.equal(true)
-
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, ether('0.200000000000000100').toString(10))
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
- expect(await contract.totalExecutedPerDay(homeToken.address, currentDay)).to.be.bignumber.equal(
- ether('0.400000000000000200')
- )
-
- event = await getEvents(contract, { event: 'TokensBridged' })
- expect(event.length).to.be.equal(2)
-
- feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(2)
- })
- })
-
- describe('distribute fee for home => foreign direction', async () => {
- beforeEach(async () => {
- await contract.setFee(await contract.FOREIGN_TO_HOME_FEE(), ZERO_ADDRESS, ZERO).should.be.fulfilled
- const homeToken = await bridgeToken(token)
-
- const data = await contract.contract.methods
- .handleBridgedTokens(token.address, user, value.toString(10))
- .encodeABI()
-
- await ambBridgeContract.executeMessageCall(
- contract.address,
- otherSideMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
- expect(await ambBridgeContract.messageCallStatus(exampleMessageId)).to.be.equal(true)
-
- token = homeToken
- })
-
- it('should collect and distribute 0% fee', async () => {
- await contract.setFee(await contract.HOME_TO_FOREIGN_FEE(), token.address, ZERO).should.be.fulfilled
-
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(ZERO)
- await token.transfer(contract.address, value, { from: user })
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(value)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- await token.transfer(contract.address, value, { from: user })
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(twoEthers)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
-
- const feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(0)
- })
-
- it('should collect and distribute 2% fee', async () => {
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(ZERO)
- await token.transfer(contract.address, value, { from: user })
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(value)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(owner)).to.be.bignumber.equal(ether('0.02'))
- await token.transfer(contract.address, value, { from: user })
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(twoEthers)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(owner)).to.be.bignumber.equal(ether('0.04'))
-
- const feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(2)
- })
-
- it('should collect and distribute 2% fee between two reward addresses', async () => {
- await contract.addRewardAddress(accounts[9]).should.be.fulfilled
- expect(await contract.rewardAddressCount()).to.be.bignumber.equal('2')
-
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(ZERO)
- await token.transfer(contract.address, ether('0.100000000000000050'), { from: user })
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(
- ether('0.100000000000000050')
- )
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
-
- const balance1 = (await token.balanceOf(owner)).toString()
- const balance2 = (await token.balanceOf(accounts[9])).toString()
- expect(
- (balance1 === '1000000000000001' && balance2 === '1000000000000000') ||
- (balance1 === '1000000000000000' && balance2 === '1000000000000001')
- ).to.be.equal(true)
-
- await token.transfer(contract.address, value, { from: user }).should.be.fulfilled
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(
- ether('1.100000000000000050')
- )
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
-
- const feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(2)
- })
-
- it('should not collect and distribute fee if sender is a reward address', async () => {
- await token.transfer(owner, value, { from: user }).should.be.fulfilled
-
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(ZERO)
- await token.transfer(contract.address, value, { from: owner }).should.be.fulfilled
- expect(await contract.totalSpentPerDay(token.address, currentDay)).to.be.bignumber.equal(value)
- expect(await token.balanceOf(contract.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(owner)).to.be.bignumber.equal(ZERO)
-
- const feeEvents = await getEvents(contract, { event: 'FeeDistributed' })
- expect(feeEvents.length).to.be.equal(0)
- })
- })
- })
-})
diff --git a/test/native_to_erc/foreign_bridge_test.js b/test/native_to_erc/foreign_bridge_test.js
deleted file mode 100644
index 78259f155..000000000
--- a/test/native_to_erc/foreign_bridge_test.js
+++ /dev/null
@@ -1,1588 +0,0 @@
-const ForeignBridge = artifacts.require('ForeignBridgeNativeToErc.sol')
-const ForeignBridgeV2 = artifacts.require('ForeignBridgeV2.sol')
-const HomeBridge = artifacts.require('HomeBridgeNativeToErc.sol')
-const BridgeValidators = artifacts.require('BridgeValidators.sol')
-const EternalStorageProxy = artifacts.require('EternalStorageProxy.sol')
-const FeeManagerNativeToErc = artifacts.require('FeeManagerNativeToErc.sol')
-const RewardableValidators = artifacts.require('RewardableValidators.sol')
-const POA20 = artifacts.require('ERC677BridgeToken.sol')
-const NoReturnTransferTokenMock = artifacts.require('NoReturnTransferTokenMock.sol')
-
-const { expect } = require('chai')
-const { ERROR_MSG, ZERO_ADDRESS, toBN } = require('../setup')
-const {
- createMessage,
- sign,
- signatureToVRS,
- getEvents,
- ether,
- expectEventInLogs,
- createAccounts,
- createFullAccounts,
- packSignatures
-} = require('../helpers/helpers')
-
-const oneEther = ether('1')
-const halfEther = ether('0.5')
-const minPerTx = ether('0.01')
-const requireBlockConfirmations = 8
-const gasPrice = web3.utils.toWei('1', 'gwei')
-const homeDailyLimit = oneEther
-const homeMaxPerTx = halfEther
-const ZERO = toBN(0)
-const MAX_GAS = 8000000
-const MAX_VALIDATORS = 50
-const MAX_SIGNATURES = MAX_VALIDATORS
-const decimalShiftZero = 0
-
-contract('ForeignBridge', async accounts => {
- let validatorContract
- let authorities
- let owner
- let token
- let otherSideBridgeAddress
- before(async () => {
- validatorContract = await BridgeValidators.new()
- authorities = [accounts[1], accounts[2]]
- owner = accounts[0]
- await validatorContract.initialize(1, authorities, owner)
- const otherSideBridge = await HomeBridge.new()
- otherSideBridgeAddress = otherSideBridge.address
- })
-
- describe('#initialize', async () => {
- it('should initialize', async () => {
- token = await POA20.new('POA ERC20 Foundation', 'POA20', 18)
- const foreignBridge = await ForeignBridge.new()
-
- expect(await foreignBridge.validatorContract()).to.be.equal(ZERO_ADDRESS)
- expect(await foreignBridge.deployedAtBlock()).to.be.bignumber.equal(ZERO)
- expect(await foreignBridge.isInitialized()).to.be.equal(false)
- expect(await foreignBridge.requiredBlockConfirmations()).to.be.bignumber.equal(ZERO)
- expect(await foreignBridge.dailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await foreignBridge.maxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await foreignBridge.decimalShift()).to.be.bignumber.equal(ZERO)
-
- await foreignBridge
- .initialize(
- ZERO_ADDRESS,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .initialize(
- validatorContract.address,
- ZERO_ADDRESS,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- 0,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .initialize(
- owner,
- token.address,
- [oneEther, halfEther, minPerTx],
- requireBlockConfirmations,
- gasPrice,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .initialize(
- validatorContract.address,
- owner,
- [oneEther, halfEther, minPerTx],
- requireBlockConfirmations,
- gasPrice,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- 0,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // not valid decimal shift
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- '100',
- otherSideBridgeAddress
- ).should.be.rejected
-
- // not valid otherSideBridgeAddress
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- '9',
- ZERO_ADDRESS
- ).should.be.rejected
-
- const { logs } = await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- '9',
- otherSideBridgeAddress
- )
-
- expect(await foreignBridge.isInitialized()).to.be.equal(true)
- expect(await foreignBridge.validatorContract()).to.be.equal(validatorContract.address)
- expect(await foreignBridge.deployedAtBlock()).to.be.bignumber.above(ZERO)
- expect(await foreignBridge.requiredBlockConfirmations()).to.be.bignumber.equal(
- requireBlockConfirmations.toString()
- )
- expect(await foreignBridge.gasPrice()).to.be.bignumber.equal(gasPrice)
- expect(await foreignBridge.dailyLimit()).to.be.bignumber.equal(oneEther)
- expect(await foreignBridge.maxPerTx()).to.be.bignumber.equal(halfEther)
- expect(await foreignBridge.minPerTx()).to.be.bignumber.equal(minPerTx)
- expect(await foreignBridge.decimalShift()).to.be.bignumber.equal('9')
- const bridgeMode = '0x92a8d7fe' // 4 bytes of keccak256('native-to-erc-core')
- expect(await foreignBridge.getBridgeMode()).to.be.equal(bridgeMode)
- const { major, minor, patch } = await foreignBridge.getBridgeInterfacesVersion()
- expect(major).to.be.bignumber.gte(ZERO)
- expect(minor).to.be.bignumber.gte(ZERO)
- expect(patch).to.be.bignumber.gte(ZERO)
-
- expectEventInLogs(logs, 'RequiredBlockConfirmationChanged', {
- requiredBlockConfirmations: toBN(requireBlockConfirmations)
- })
- expectEventInLogs(logs, 'GasPriceChanged', { gasPrice })
- expectEventInLogs(logs, 'ExecutionDailyLimitChanged', { newLimit: homeDailyLimit })
- expectEventInLogs(logs, 'DailyLimitChanged', { newLimit: oneEther })
- })
- })
-
- describe('#executeSignatures', async () => {
- let foreignBridge
- beforeEach(async () => {
- foreignBridge = await ForeignBridge.new()
- token = await POA20.new('POA ERC20 Foundation', 'POA20', 18)
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- await token.transferOwnership(foreignBridge.address)
- })
- it('should allow to deposit', async () => {
- const recipientAccount = accounts[3]
- const balanceBefore = await token.balanceOf(recipientAccount)
- const totalSupplyBefore = await token.totalSupply()
- const value = ether('0.25')
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
- false.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- const { logs } = await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
- logs[0].event.should.be.equal('RelayedMessage')
- logs[0].args.recipient.should.be.equal(recipientAccount)
- logs[0].args.value.should.be.bignumber.equal(value)
- logs[0].args.transactionHash.should.be.equal(transactionHash)
-
- const balanceAfter = await token.balanceOf(recipientAccount)
- const totalSupplyAfter = await token.totalSupply()
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(value))
- totalSupplyAfter.should.be.bignumber.equal(totalSupplyBefore.add(value))
- true.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- })
- it('should reject if address is not foreign address', async () => {
- const recipientAccount = accounts[3]
- const value = ether('0.25')
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, accounts[0])
- const signature = await sign(authorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
- false.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- await foreignBridge.executeSignatures(message, oneSignature).should.be.rejectedWith(ERROR_MSG)
- })
- it('should allow second deposit with different transactionHash but same recipient and value', async () => {
- const recipientAccount = accounts[3]
- const balanceBefore = await token.balanceOf(recipientAccount)
- // tx 1
- const value = ether('0.25')
- const transactionHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
- false.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
- // tx 2
- const transactionHash2 = '0x77a496628a776a03d58d7e6059a5937f04bebd8ba4ff89f76dd4bb8ba7e291ee'
- const message2 = createMessage(recipientAccount, value, transactionHash2, foreignBridge.address)
- const signature2 = await sign(authorities[0], message2)
- const vrs2 = signatureToVRS(signature2)
- const oneSignature2 = packSignatures([vrs2])
- false.should.be.equal(await foreignBridge.relayedMessages(transactionHash2))
- const { logs } = await foreignBridge.executeSignatures(message2, oneSignature2).should.be.fulfilled
-
- logs[0].event.should.be.equal('RelayedMessage')
- logs[0].args.recipient.should.be.equal(recipientAccount)
- logs[0].args.value.should.be.bignumber.equal(value)
- logs[0].args.transactionHash.should.be.equal(transactionHash2)
- const totalSupply = await token.totalSupply()
- const balanceAfter = await token.balanceOf(recipientAccount)
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(value.mul(toBN(2))))
- totalSupply.should.be.bignumber.equal(value.mul(toBN(2)))
- true.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- true.should.be.equal(await foreignBridge.relayedMessages(transactionHash2))
- })
-
- it('should not allow second deposit (replay attack) with same transactionHash but different recipient', async () => {
- const recipientAccount = accounts[3]
- // tx 1
- const value = halfEther
- const transactionHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
- false.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
- // tx 2
- const message2 = createMessage(accounts[4], value, transactionHash, foreignBridge.address)
- const signature2 = await sign(authorities[0], message2)
- const vrs2 = signatureToVRS(signature2)
- const oneSignature2 = packSignatures([vrs2])
- true.should.be.equal(await foreignBridge.relayedMessages(transactionHash))
- await foreignBridge.executeSignatures(message2, oneSignature2).should.be.rejectedWith(ERROR_MSG)
- })
-
- it('should not allow withdraw over home max tx limit', async () => {
- const recipientAccount = accounts[3]
- const invalidValue = ether('0.75')
-
- const transactionHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipientAccount, invalidValue, transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
-
- await foreignBridge.executeSignatures(message, oneSignature).should.be.rejectedWith(ERROR_MSG)
- })
-
- it('should not allow withdraw over daily home limit', async () => {
- const recipientAccount = accounts[3]
-
- const transactionHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipientAccount, halfEther, transactionHash, foreignBridge.address)
- const signature = await sign(authorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
-
- await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
-
- const transactionHash2 = '0x69debd8fd1923c9cb3cd8ef6461e2740b2d037943b941729d5a47671a2bb8712'
- const message2 = createMessage(recipientAccount, halfEther, transactionHash2, foreignBridge.address)
- const signature2 = await sign(authorities[0], message2)
- const vrs2 = signatureToVRS(signature2)
- const oneSignature2 = packSignatures([vrs2])
-
- await foreignBridge.executeSignatures(message2, oneSignature2).should.be.fulfilled
-
- const transactionHash3 = '0x022695428093bb292db8e48bd1417c5e1b84c0bf673bd0fff23ed0fb6495b872'
- const message3 = createMessage(recipientAccount, halfEther, transactionHash3, foreignBridge.address)
- const signature3 = await sign(authorities[0], message3)
- const vrs3 = signatureToVRS(signature3)
- const oneSignature3 = packSignatures([vrs3])
-
- await foreignBridge.executeSignatures(message3, oneSignature3).should.be.rejectedWith(ERROR_MSG)
- })
- })
-
- describe('#executeSignatures with 2 minimum signatures', async () => {
- let multisigValidatorContract
- let twoAuthorities
- let ownerOfValidatorContract
- let foreignBridgeWithMultiSignatures
- beforeEach(async () => {
- multisigValidatorContract = await BridgeValidators.new()
- token = await POA20.new('POA ERC20 Foundation', 'POA20', 18)
- twoAuthorities = [accounts[0], accounts[1]]
- ownerOfValidatorContract = accounts[3]
- await multisigValidatorContract.initialize(2, twoAuthorities, ownerOfValidatorContract, {
- from: ownerOfValidatorContract
- })
- foreignBridgeWithMultiSignatures = await ForeignBridge.new()
- await foreignBridgeWithMultiSignatures.initialize(
- multisigValidatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress,
- { from: ownerOfValidatorContract }
- )
- await token.transferOwnership(foreignBridgeWithMultiSignatures.address)
- })
- it('deposit should fail if not enough signatures are provided', async () => {
- const recipientAccount = accounts[4]
- // msg 1
- const value = halfEther
- const transactionHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridgeWithMultiSignatures.address)
- const signature = await sign(twoAuthorities[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
- false.should.be.equal(await foreignBridgeWithMultiSignatures.relayedMessages(transactionHash))
- await foreignBridgeWithMultiSignatures.executeSignatures(message, oneSignature).should.be.rejectedWith(ERROR_MSG)
- // msg 2
- const signature2 = await sign(twoAuthorities[1], message)
- const vrs2 = signatureToVRS(signature2)
- const twoSignatures = packSignatures([vrs, vrs2])
- const { logs } = await foreignBridgeWithMultiSignatures.executeSignatures(message, twoSignatures).should.be
- .fulfilled
-
- logs[0].event.should.be.equal('RelayedMessage')
- logs[0].args.recipient.should.be.equal(recipientAccount)
- logs[0].args.value.should.be.bignumber.equal(value)
- logs[0].args.transactionHash.should.be.equal(transactionHash)
- true.should.be.equal(await foreignBridgeWithMultiSignatures.relayedMessages(transactionHash))
- })
- it('deposit should fail if duplicate signature is provided', async () => {
- const recipientAccount = accounts[4]
- // msg 1
- const value = halfEther
- const transactionHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridgeWithMultiSignatures.address)
- const signature = await sign(twoAuthorities[0], message)
- const vrs = signatureToVRS(signature)
- const twoSignatures = packSignatures([vrs, vrs])
- false.should.be.equal(await foreignBridgeWithMultiSignatures.relayedMessages(transactionHash))
- await foreignBridgeWithMultiSignatures.executeSignatures(message, twoSignatures).should.be.rejectedWith(ERROR_MSG)
- })
- it('works with 5 validators and 3 required signatures', async () => {
- const recipient = accounts[8]
- const authoritiesFiveAccs = [accounts[1], accounts[2], accounts[3], accounts[4], accounts[5]]
- const ownerOfValidators = accounts[0]
- const validatorContractWith3Signatures = await BridgeValidators.new()
- await validatorContractWith3Signatures.initialize(3, authoritiesFiveAccs, ownerOfValidators)
- const erc20Token = await POA20.new('Some ERC20', 'RSZT', 18)
- const value = halfEther
- const foreignBridgeWithThreeSigs = await ForeignBridge.new()
-
- await foreignBridgeWithThreeSigs.initialize(
- validatorContractWith3Signatures.address,
- erc20Token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- await erc20Token.transferOwnership(foreignBridgeWithThreeSigs.address)
-
- const txHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipient, value, txHash, foreignBridgeWithThreeSigs.address)
-
- // signature 1
- const signature = await sign(authoritiesFiveAccs[0], message)
- const vrs = signatureToVRS(signature)
-
- // signature 2
- const signature2 = await sign(authoritiesFiveAccs[1], message)
- const vrs2 = signatureToVRS(signature2)
-
- // signature 3
- const signature3 = await sign(authoritiesFiveAccs[2], message)
- const vrs3 = signatureToVRS(signature3)
-
- const thressSignature = packSignatures([vrs, vrs2, vrs3])
-
- const { logs } = await foreignBridgeWithThreeSigs.executeSignatures(message, thressSignature).should.be.fulfilled
- logs[0].event.should.be.equal('RelayedMessage')
- logs[0].args.recipient.should.be.equal(recipient)
- logs[0].args.value.should.be.bignumber.equal(value)
- true.should.be.equal(await foreignBridgeWithThreeSigs.relayedMessages(txHash))
- })
- it('works with max allowed number of signatures required', async () => {
- const recipient = accounts[8]
- const value = halfEther
- const validatorContract = await BridgeValidators.new()
- const authorities = createFullAccounts(web3, MAX_VALIDATORS)
- const addresses = authorities.map(account => account.address)
- const ownerOfValidators = accounts[0]
-
- await validatorContract.initialize(MAX_SIGNATURES, addresses, ownerOfValidators)
- const erc20Token = await POA20.new('Some ERC20', 'RSZT', 18)
- const foreignBridgeWithMaxSigs = await ForeignBridge.new()
-
- await foreignBridgeWithMaxSigs.initialize(
- validatorContract.address,
- erc20Token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- await erc20Token.transferOwnership(foreignBridgeWithMaxSigs.address)
-
- const txHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipient, value, txHash, foreignBridgeWithMaxSigs.address)
-
- const vrsList = []
- for (let i = 0; i < MAX_SIGNATURES; i++) {
- const { signature } = await authorities[i].sign(message)
- vrsList[i] = signatureToVRS(signature)
- }
-
- const maxSignatures = packSignatures(vrsList)
-
- const { receipt } = await foreignBridgeWithMaxSigs.executeSignatures(message, maxSignatures).should.be.fulfilled
- expect(receipt.gasUsed).to.be.lte(MAX_GAS)
- })
- it('Should fail if length of signatures is wrong', async () => {
- const recipient = accounts[8]
- const authoritiesFiveAccs = [accounts[1], accounts[2], accounts[3], accounts[4], accounts[5]]
- const ownerOfValidators = accounts[0]
- const validatorContractWith3Signatures = await BridgeValidators.new()
- await validatorContractWith3Signatures.initialize(3, authoritiesFiveAccs, ownerOfValidators)
- const erc20Token = await POA20.new('Some ERC20', 'RSZT', 18)
- const value = halfEther
- const foreignBridgeWithThreeSigs = await ForeignBridge.new()
-
- await foreignBridgeWithThreeSigs.initialize(
- validatorContractWith3Signatures.address,
- erc20Token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- await erc20Token.transferOwnership(foreignBridgeWithThreeSigs.address)
-
- const txHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipient, value, txHash, foreignBridgeWithThreeSigs.address)
-
- // signature 1
- const signature = await sign(authoritiesFiveAccs[0], message)
- const vrs = signatureToVRS(signature)
-
- // signature 2
- const signature2 = await sign(authoritiesFiveAccs[1], message)
- const vrs2 = signatureToVRS(signature2)
-
- // signature 3
- const signature3 = await sign(authoritiesFiveAccs[2], message)
- const vrs3 = signatureToVRS(signature3)
-
- const threeSignatures = packSignatures([vrs, vrs2, vrs3])
- await foreignBridgeWithThreeSigs
- .executeSignatures(message, `0x04${threeSignatures.slice(4)}`)
- .should.be.rejectedWith(ERROR_MSG)
- const { logs } = await foreignBridgeWithThreeSigs.executeSignatures(message, threeSignatures).should.be.fulfilled
- logs[0].event.should.be.equal('RelayedMessage')
- logs[0].args.recipient.should.be.equal(recipient)
- logs[0].args.value.should.be.bignumber.equal(value)
- true.should.be.equal(await foreignBridgeWithThreeSigs.relayedMessages(txHash))
- })
- })
-
- describe('#onTokenTransfer', async () => {
- it('can only be called from token contract', async () => {
- const owner = accounts[3]
- const user = accounts[4]
- token = await POA20.new('POA ERC20 Foundation', 'POA20', 18, { from: owner })
- const foreignBridge = await ForeignBridge.new()
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- await token.mint(user, halfEther, { from: owner }).should.be.fulfilled
- await token.transferOwnership(foreignBridge.address, { from: owner })
- await foreignBridge.onTokenTransfer(user, halfEther, '0x', { from: owner }).should.be.rejectedWith(ERROR_MSG)
- await token.transferAndCall(foreignBridge.address, halfEther, '0x', { from: user }).should.be.fulfilled
- expect(await token.totalSupply()).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- })
- it('should not allow to burn more than the limit', async () => {
- const owner = accounts[3]
- const user = accounts[4]
- const valueMoreThanLimit = halfEther.add(toBN(1))
- token = await POA20.new('POA ERC20 Foundation', 'POA20', 18, { from: owner })
- const foreignBridge = await ForeignBridge.new()
-
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- await token.mint(user, valueMoreThanLimit, { from: owner }).should.be.fulfilled
- await token.transferOwnership(foreignBridge.address, { from: owner })
-
- await token
- .transferAndCall(foreignBridge.address, valueMoreThanLimit, '0x', { from: user })
- .should.be.rejectedWith(ERROR_MSG)
-
- valueMoreThanLimit.should.be.bignumber.equal(await token.totalSupply())
- valueMoreThanLimit.should.be.bignumber.equal(await token.balanceOf(user))
-
- await token.transferAndCall(foreignBridge.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- expect(await token.totalSupply()).to.be.bignumber.equal('1')
- expect(await token.balanceOf(user)).to.be.bignumber.equal('1')
-
- const events = await getEvents(foreignBridge, { event: 'UserRequestForAffirmation' })
- expect(events[0].returnValues.recipient).to.be.equal(user)
- expect(toBN(events[0].returnValues.value)).to.be.bignumber.equal(halfEther)
- })
- it('should only let to send within maxPerTx limit', async () => {
- const owner = accounts[3]
- const user = accounts[4]
- const valueMoreThanLimit = halfEther.add(toBN(1))
- token = await POA20.new('POA ERC20 Foundation', 'POA20', 18, { from: owner })
- const foreignBridge = await ForeignBridge.new()
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- await token.mint(user, oneEther.add(toBN(1)), { from: owner }).should.be.fulfilled
-
- await token.transferOwnership(foreignBridge.address, { from: owner })
-
- await token
- .transferAndCall(foreignBridge.address, valueMoreThanLimit, '0x', { from: user })
- .should.be.rejectedWith(ERROR_MSG)
-
- oneEther.add(toBN(1)).should.be.bignumber.equal(await token.totalSupply())
- oneEther.add(toBN(1)).should.be.bignumber.equal(await token.balanceOf(user))
-
- await token.transferAndCall(foreignBridge.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- valueMoreThanLimit.should.be.bignumber.equal(await token.totalSupply())
- valueMoreThanLimit.should.be.bignumber.equal(await token.balanceOf(user))
-
- await token.transferAndCall(foreignBridge.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- expect(await token.totalSupply()).to.be.bignumber.equal('1')
- expect(await token.balanceOf(user)).to.be.bignumber.equal('1')
- await token.transferAndCall(foreignBridge.address, '1', '0x', { from: user }).should.be.rejectedWith(ERROR_MSG)
- })
- it('should not let withdraw less than minPerTx', async () => {
- const owner = accounts[3]
- const user = accounts[4]
- const valueLessThanMinPerTx = minPerTx.sub(toBN(1))
- token = await POA20.new('POA ERC20 Foundation', 'POA20', 18, { from: owner })
- const foreignBridge = await ForeignBridge.new()
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- await token.mint(user, oneEther, { from: owner }).should.be.fulfilled
- await token.transferOwnership(foreignBridge.address, { from: owner })
-
- await token
- .transferAndCall(foreignBridge.address, valueLessThanMinPerTx, '0x', { from: user })
- .should.be.rejectedWith(ERROR_MSG)
-
- oneEther.should.be.bignumber.equal(await token.totalSupply())
- oneEther.should.be.bignumber.equal(await token.balanceOf(user))
-
- await token.transferAndCall(foreignBridge.address, minPerTx, '0x', { from: user }).should.be.fulfilled
-
- oneEther.sub(minPerTx).should.be.bignumber.equal(await token.totalSupply())
- oneEther.sub(minPerTx).should.be.bignumber.equal(await token.balanceOf(user))
- })
- it('should be able to specify a different receiver', async () => {
- const owner = accounts[3]
- const user = accounts[4]
- const user2 = accounts[5]
- token = await POA20.new('POA ERC20 Foundation', 'POA20', 18, { from: owner })
- const foreignBridge = await ForeignBridge.new()
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- await token.mint(user, halfEther, { from: owner }).should.be.fulfilled
- await token.transferOwnership(foreignBridge.address, { from: owner })
- await token
- .transferAndCall(foreignBridge.address, halfEther, otherSideBridgeAddress, { from: user })
- .should.be.rejectedWith(ERROR_MSG)
- await token
- .transferAndCall(foreignBridge.address, halfEther, '0x00', { from: user })
- .should.be.rejectedWith(ERROR_MSG)
- await token.transferAndCall(foreignBridge.address, halfEther, user2, { from: user }).should.be.fulfilled
- expect(await token.totalSupply()).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- const events = await getEvents(foreignBridge, { event: 'UserRequestForAffirmation' })
- expect(events[0].returnValues.recipient).to.be.equal(user2)
- expect(toBN(events[0].returnValues.value)).to.be.bignumber.equal(halfEther)
- })
- })
-
- describe('#setting limits', async () => {
- let foreignBridge
- beforeEach(async () => {
- token = await POA20.new('POA ERC20 Foundation', 'POA20', 18)
- foreignBridge = await ForeignBridge.new()
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- await token.transferOwnership(foreignBridge.address)
- })
- it('#setMaxPerTx allows to set only to owner and cannot be more than daily limit', async () => {
- await foreignBridge.setMaxPerTx(halfEther, { from: authorities[0] }).should.be.rejectedWith(ERROR_MSG)
- await foreignBridge.setMaxPerTx(halfEther, { from: owner }).should.be.fulfilled
-
- await foreignBridge.setMaxPerTx(oneEther, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
-
- it('#setMinPerTx allows to set only to owner and cannot be more than daily limit and should be less than maxPerTx', async () => {
- await foreignBridge.setMinPerTx(minPerTx, { from: authorities[0] }).should.be.rejectedWith(ERROR_MSG)
- await foreignBridge.setMinPerTx(minPerTx, { from: owner }).should.be.fulfilled
-
- await foreignBridge.setMinPerTx(oneEther, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
- })
-
- describe('#upgradeable', async () => {
- it('can be upgraded', async () => {
- const REQUIRED_NUMBER_OF_VALIDATORS = 1
- const VALIDATORS = [accounts[1]]
- const PROXY_OWNER = accounts[0]
- const FOREIGN_DAILY_LIMIT = oneEther
- const FOREIGN_MAX_AMOUNT_PER_TX = halfEther
- const FOREIGN_MIN_AMOUNT_PER_TX = minPerTx
- // Validators Contract
- let validatorsProxy = await EternalStorageProxy.new().should.be.fulfilled
- const validatorsContractImpl = await BridgeValidators.new().should.be.fulfilled
- await validatorsProxy.upgradeTo('1', validatorsContractImpl.address).should.be.fulfilled
- validatorsContractImpl.address.should.be.equal(await validatorsProxy.implementation())
-
- validatorsProxy = await BridgeValidators.at(validatorsProxy.address)
- await validatorsProxy.initialize(REQUIRED_NUMBER_OF_VALIDATORS, VALIDATORS, PROXY_OWNER).should.be.fulfilled
- // POA20
- const token = await POA20.new('POA ERC20 Foundation', 'POA20', 18)
-
- // ForeignBridge V1 Contract
-
- let foreignBridgeProxy = await EternalStorageProxy.new().should.be.fulfilled
- const foreignBridgeImpl = await ForeignBridge.new().should.be.fulfilled
- await foreignBridgeProxy.upgradeTo('1', foreignBridgeImpl.address).should.be.fulfilled
-
- foreignBridgeProxy = await ForeignBridge.at(foreignBridgeProxy.address)
- await foreignBridgeProxy.initialize(
- validatorsProxy.address,
- token.address,
- [FOREIGN_DAILY_LIMIT, FOREIGN_MAX_AMOUNT_PER_TX, FOREIGN_MIN_AMOUNT_PER_TX],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- await token.transferOwnership(foreignBridgeProxy.address).should.be.fulfilled
-
- foreignBridgeProxy.address.should.be.equal(await token.owner())
-
- // Deploy V2
- const foreignImplV2 = await ForeignBridgeV2.new()
- const foreignBridgeProxyUpgrade = await EternalStorageProxy.at(foreignBridgeProxy.address)
- await foreignBridgeProxyUpgrade.upgradeTo('2', foreignImplV2.address).should.be.fulfilled
- foreignImplV2.address.should.be.equal(await foreignBridgeProxyUpgrade.implementation())
- })
- it('can be deployed via upgradeToAndCall', async () => {
- const tokenAddress = token.address
- const validatorsAddress = validatorContract.address
- const FOREIGN_DAILY_LIMIT = '3'
- const FOREIGN_MAX_AMOUNT_PER_TX = '2'
- const FOREIGN_MIN_AMOUNT_PER_TX = '1'
-
- const storageProxy = await EternalStorageProxy.new().should.be.fulfilled
- const foreignBridge = await ForeignBridge.new()
- const data = foreignBridge.contract.methods
- .initialize(
- validatorsAddress,
- tokenAddress,
- [FOREIGN_DAILY_LIMIT, FOREIGN_MAX_AMOUNT_PER_TX, FOREIGN_MIN_AMOUNT_PER_TX],
- gasPrice,
- requireBlockConfirmations,
- ['3', '2'],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- .encodeABI()
- await storageProxy.upgradeToAndCall('1', foreignBridge.address, data).should.be.fulfilled
- const finalContract = await ForeignBridge.at(storageProxy.address)
- true.should.be.equal(await finalContract.isInitialized())
- validatorsAddress.should.be.equal(await finalContract.validatorContract())
-
- expect(await finalContract.dailyLimit()).to.be.bignumber.equal(FOREIGN_DAILY_LIMIT)
- expect(await finalContract.maxPerTx()).to.be.bignumber.equal(FOREIGN_MAX_AMOUNT_PER_TX)
- expect(await finalContract.minPerTx()).to.be.bignumber.equal(FOREIGN_MIN_AMOUNT_PER_TX)
- })
- it('can transfer ownership', async () => {
- const token = await POA20.new('POA ERC20 Foundation', 'POA20', 18)
- const foreignBridge = await ForeignBridge.new()
- const storageProxy = await EternalStorageProxy.new().should.be.fulfilled
- const data = foreignBridge.contract.methods
- .initialize(
- validatorContract.address,
- token.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- ['3', '2'],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- .encodeABI()
- await storageProxy.upgradeToAndCall('1', foreignBridge.address, data).should.be.fulfilled
- await storageProxy.transferProxyOwnership(owner).should.be.fulfilled
- })
- })
-
- describe('#claimTokens', async () => {
- it('can send erc20', async () => {
- const owner = accounts[0]
- token = await POA20.new('POA ERC20 Foundation', 'POA20', 18)
- const foreignBridgeImpl = await ForeignBridge.new()
- const storageProxy = await EternalStorageProxy.new().should.be.fulfilled
- await storageProxy.upgradeTo('1', foreignBridgeImpl.address).should.be.fulfilled
- const foreignBridge = await ForeignBridge.at(storageProxy.address)
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- await token.transferOwnership(foreignBridge.address)
-
- const tokenSecond = await POA20.new('Roman Token', 'RST', 18)
-
- await tokenSecond.mint(accounts[0], halfEther).should.be.fulfilled
- expect(await tokenSecond.balanceOf(accounts[0])).to.be.bignumber.equal(halfEther)
-
- await tokenSecond.transfer(foreignBridge.address, halfEther)
- expect(await tokenSecond.balanceOf(accounts[0])).to.be.bignumber.equal(ZERO)
- expect(await tokenSecond.balanceOf(foreignBridge.address)).to.be.bignumber.equal(halfEther)
-
- await foreignBridge.claimTokens(tokenSecond.address, accounts[3], { from: owner })
- expect(await tokenSecond.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ZERO)
- expect(await tokenSecond.balanceOf(accounts[3])).to.be.bignumber.equal(halfEther)
- })
- it('also calls claimTokens on tokenAddress', async () => {
- const owner = accounts[0]
- token = await POA20.new('POA ERC20 Foundation', 'POA20', 18)
- const foreignBridgeImpl = await ForeignBridge.new()
- const storageProxy = await EternalStorageProxy.new().should.be.fulfilled
- await storageProxy.upgradeTo('1', foreignBridgeImpl.address).should.be.fulfilled
- const foreignBridge = await ForeignBridge.at(storageProxy.address)
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- await token.transferOwnership(foreignBridge.address)
-
- const tokenSecond = await POA20.new('Roman Token', 'RST', 18)
-
- await tokenSecond.mint(accounts[0], 150).should.be.fulfilled
- expect(await tokenSecond.balanceOf(accounts[0])).to.be.bignumber.equal('150')
-
- await tokenSecond.transfer(token.address, '150')
- expect(await tokenSecond.balanceOf(accounts[0])).to.be.bignumber.equal(ZERO)
- expect(await tokenSecond.balanceOf(token.address)).to.be.bignumber.equal('150')
-
- await foreignBridge.claimTokensFromErc677(tokenSecond.address, accounts[3], { from: owner })
- expect(await tokenSecond.balanceOf(token.address)).to.be.bignumber.equal(ZERO)
- expect(await tokenSecond.balanceOf(accounts[3])).to.be.bignumber.equal('150')
- })
- it('works with token that not return on transfer', async () => {
- const owner = accounts[0]
- token = await POA20.new('POA ERC20 Foundation', 'POA20', 18)
- const foreignBridgeImpl = await ForeignBridge.new()
- const storageProxy = await EternalStorageProxy.new().should.be.fulfilled
- await storageProxy.upgradeTo('1', foreignBridgeImpl.address).should.be.fulfilled
- const foreignBridge = await ForeignBridge.at(storageProxy.address)
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
-
- const tokenMock = await NoReturnTransferTokenMock.new()
-
- await tokenMock.mint(accounts[0], halfEther).should.be.fulfilled
- expect(await tokenMock.balanceOf(accounts[0])).to.be.bignumber.equal(halfEther)
-
- await tokenMock.transfer(foreignBridge.address, halfEther).should.be.fulfilled
- expect(await tokenMock.balanceOf(accounts[0])).to.be.bignumber.equal(ZERO)
- expect(await tokenMock.balanceOf(foreignBridge.address)).to.be.bignumber.equal(halfEther)
-
- await foreignBridge.claimTokens(tokenMock.address, accounts[3], { from: owner }).should.be.fulfilled
- expect(await tokenMock.balanceOf(foreignBridge.address)).to.be.bignumber.equal(ZERO)
- expect(await tokenMock.balanceOf(accounts[3])).to.be.bignumber.equal(halfEther)
- })
- })
-
- describe('#rewardableInitialize', async () => {
- let homeFee
- let foreignBridge
- let token
- let rewardableValidators
- const validators = [accounts[1]]
- const rewards = [accounts[2]]
- const requiredSignatures = 1
- beforeEach(async () => {
- token = await POA20.new('POA ERC20 Foundation', 'POA20', 18)
- rewardableValidators = await RewardableValidators.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner).should.be.fulfilled
- foreignBridge = await ForeignBridge.new()
- homeFee = ether('0.001')
- })
- it('sets variables', async () => {
- const feeManager = await FeeManagerNativeToErc.new()
- expect(await foreignBridge.validatorContract()).to.be.equal(ZERO_ADDRESS)
- expect(await foreignBridge.deployedAtBlock()).to.be.bignumber.equal(ZERO)
- expect(await foreignBridge.isInitialized()).to.be.equal(false)
- expect(await foreignBridge.requiredBlockConfirmations()).to.be.bignumber.equal(ZERO)
- expect(await foreignBridge.dailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await foreignBridge.maxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await foreignBridge.decimalShift()).to.be.bignumber.equal(ZERO)
-
- await foreignBridge
- .rewardableInitialize(
- ZERO_ADDRESS,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- feeManager.address,
- homeFee,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .rewardableInitialize(
- rewardableValidators.address,
- ZERO_ADDRESS,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- feeManager.address,
- homeFee,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .rewardableInitialize(
- rewardableValidators.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- 0,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- feeManager.address,
- homeFee,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .rewardableInitialize(
- owner,
- token.address,
- [oneEther, halfEther, minPerTx],
- requireBlockConfirmations,
- gasPrice,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- feeManager.address,
- homeFee,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .rewardableInitialize(
- rewardableValidators.address,
- owner,
- [oneEther, halfEther, minPerTx],
- requireBlockConfirmations,
- gasPrice,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- feeManager.address,
- homeFee,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge
- .rewardableInitialize(
- rewardableValidators.address,
- owner,
- [oneEther, halfEther, minPerTx],
- requireBlockConfirmations,
- gasPrice,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- ZERO_ADDRESS,
- homeFee,
- decimalShiftZero,
- otherSideBridgeAddress
- )
- .should.be.rejectedWith(ERROR_MSG)
- await foreignBridge.rewardableInitialize(
- rewardableValidators.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- feeManager.address,
- homeFee,
- '9',
- otherSideBridgeAddress
- ).should.be.fulfilled
-
- expect(await foreignBridge.isInitialized()).to.be.equal(true)
- expect(await foreignBridge.validatorContract()).to.be.equal(rewardableValidators.address)
- expect(await foreignBridge.deployedAtBlock()).to.be.bignumber.above(ZERO)
- expect(await foreignBridge.requiredBlockConfirmations()).to.be.bignumber.equal(
- requireBlockConfirmations.toString()
- )
- expect(await foreignBridge.gasPrice()).to.be.bignumber.equal(gasPrice)
- expect(await foreignBridge.dailyLimit()).to.be.bignumber.equal(oneEther)
- expect(await foreignBridge.maxPerTx()).to.be.bignumber.equal(halfEther)
- expect(await foreignBridge.minPerTx()).to.be.bignumber.equal(minPerTx)
- expect(await foreignBridge.decimalShift()).to.be.bignumber.equal('9')
- const bridgeMode = '0x92a8d7fe' // 4 bytes of keccak256('native-to-erc-core')
- expect(await foreignBridge.getBridgeMode()).to.be.equal(bridgeMode)
- const { major, minor, patch } = await foreignBridge.getBridgeInterfacesVersion()
- expect(major).to.be.bignumber.gte(ZERO)
- expect(minor).to.be.bignumber.gte(ZERO)
- expect(patch).to.be.bignumber.gte(ZERO)
-
- expect(await foreignBridge.feeManagerContract()).to.be.equals(feeManager.address)
- expect(await foreignBridge.getHomeFee()).to.be.bignumber.equals(homeFee)
- })
-
- it('can update fee contract', async () => {
- const feeManager = await FeeManagerNativeToErc.new()
- await foreignBridge.rewardableInitialize(
- rewardableValidators.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- feeManager.address,
- homeFee,
- decimalShiftZero,
- otherSideBridgeAddress
- ).should.be.fulfilled
-
- // Given
- const newFeeManager = await FeeManagerNativeToErc.new()
-
- // When
- await foreignBridge.setFeeManagerContract(newFeeManager.address, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await foreignBridge.feeManagerContract()).to.be.equals(newFeeManager.address)
- })
-
- it('can update fee', async () => {
- const feeManager = await FeeManagerNativeToErc.new()
- await foreignBridge.rewardableInitialize(
- rewardableValidators.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- feeManager.address,
- homeFee,
- decimalShiftZero,
- otherSideBridgeAddress
- ).should.be.fulfilled
-
- // Given
- const newHomeFee = ether('0.1')
-
- // When
- await foreignBridge.setHomeFee(newHomeFee, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await foreignBridge.getHomeFee()).to.be.bignumber.equals(newHomeFee)
- })
- it('fee should be less than 100%', async () => {
- const feeManager = await FeeManagerNativeToErc.new()
- await foreignBridge.rewardableInitialize(
- rewardableValidators.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- feeManager.address,
- homeFee,
- decimalShiftZero,
- otherSideBridgeAddress
- ).should.be.fulfilled
-
- // Given
- const invalidFee = ether('1')
- const invalidBigFee = ether('2')
- const newHomeFee = ether('0.99')
-
- // When
- await foreignBridge.setHomeFee(invalidFee, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- await foreignBridge.setHomeFee(invalidBigFee, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- await foreignBridge.setHomeFee(newHomeFee, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await foreignBridge.getHomeFee()).to.be.bignumber.equals(newHomeFee)
- })
-
- it('should return zero parameters for zero fee manager', async () => {
- // When
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShiftZero,
- otherSideBridgeAddress
- )
-
- // Then
- expect(await foreignBridge.getFeeManagerMode()).to.be.equal('0x00000000')
- expect(await foreignBridge.getHomeFee()).to.be.bignumber.equal(ZERO)
- })
-
- it('should be able to get fee manager mode', async () => {
- // Given
- const feeManager = await FeeManagerNativeToErc.new()
- const oneDirectionsModeHash = '0xf2aed8f7'
-
- // When
- await foreignBridge.rewardableInitialize(
- rewardableValidators.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- feeManager.address,
- homeFee,
- decimalShiftZero,
- otherSideBridgeAddress
- ).should.be.fulfilled
-
- // Then
- expect(await foreignBridge.getFeeManagerMode()).to.be.equals(oneDirectionsModeHash)
- })
- })
-
- describe('#RewardableBridge_executeSignatures', async () => {
- let feeManager
- let foreignBridge
- let token
- let rewardableValidators
- beforeEach(async () => {
- feeManager = await FeeManagerNativeToErc.new()
- token = await POA20.new('POA ERC20 Foundation', 'POA20', 18)
- rewardableValidators = await RewardableValidators.new()
- foreignBridge = await ForeignBridge.new()
- })
- it('should distribute fee to validator', async () => {
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const value = halfEther
- const valueCalc = 0.5 * (1 - fee)
- const feeAmountCalc = 0.5 * fee
- const finalUserValue = ether(valueCalc.toString())
- const feeAmount = ether(feeAmountCalc.toString())
-
- const validators = [accounts[1]]
- const rewards = [accounts[2]]
- const requiredSignatures = 1
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner).should.be.fulfilled
- await foreignBridge.rewardableInitialize(
- rewardableValidators.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- feeManager.address,
- feeInWei,
- decimalShiftZero,
- otherSideBridgeAddress
- ).should.be.fulfilled
- await token.transferOwnership(foreignBridge.address)
-
- const recipientAccount = accounts[3]
- const balanceBefore = await token.balanceOf(recipientAccount)
- const initialBalanceRewardAddress = await token.balanceOf(rewards[0])
- const totalSupplyBefore = await token.totalSupply()
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridge.address)
- const signature = await sign(validators[0], message)
- const vrs = signatureToVRS(signature)
- const oneSignature = packSignatures([vrs])
-
- const { logs } = await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
-
- logs[0].event.should.be.equal('FeeDistributedFromSignatures')
- logs[0].args.feeAmount.should.be.bignumber.equal(feeAmount)
- logs[0].args.transactionHash.should.be.equal(transactionHash)
-
- logs[1].event.should.be.equal('RelayedMessage')
- logs[1].args.recipient.should.be.equal(recipientAccount)
- logs[1].args.value.should.be.bignumber.equal(value)
- logs[1].args.transactionHash.should.be.equal(transactionHash)
-
- const balanceAfter = await token.balanceOf(recipientAccount)
- const totalSupplyAfter = await token.totalSupply()
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(finalUserValue))
- totalSupplyAfter.should.be.bignumber.equal(totalSupplyBefore.add(value))
-
- const updatedBalanceRewardAddress = await token.balanceOf(rewards[0])
- updatedBalanceRewardAddress.should.be.bignumber.equal(initialBalanceRewardAddress.add(feeAmount))
- })
- it('should distribute fee to 3 validators', async () => {
- // Given
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const feePerValidator = toBN(166666666666666)
- const feePerValidatorPlusDiff = toBN(166666666666668)
- const value = halfEther
- const valueCalc = 0.5 * (1 - fee)
- const feeAmountCalc = 0.5 * fee
- const finalUserValue = ether(valueCalc.toString())
- const feeAmount = ether(feeAmountCalc.toString())
-
- const validators = [accounts[1], accounts[2], accounts[3]]
- const rewards = [accounts[4], accounts[5], accounts[6]]
- const requiredSignatures = 3
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner).should.be.fulfilled
- await foreignBridge.rewardableInitialize(
- rewardableValidators.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- feeManager.address,
- feeInWei,
- decimalShiftZero,
- otherSideBridgeAddress
- ).should.be.fulfilled
- await token.transferOwnership(foreignBridge.address)
-
- const recipientAccount = accounts[7]
- const balanceBefore = await token.balanceOf(recipientAccount)
- const totalSupplyBefore = await token.totalSupply()
-
- const initialBalanceRewardAddress1 = await token.balanceOf(rewards[0])
- const initialBalanceRewardAddress2 = await token.balanceOf(rewards[1])
- const initialBalanceRewardAddress3 = await token.balanceOf(rewards[2])
-
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridge.address)
- const signature1 = await sign(validators[0], message)
- const signature2 = await sign(validators[1], message)
- const signature3 = await sign(validators[2], message)
- const vrs = signatureToVRS(signature1)
- const vrs2 = signatureToVRS(signature2)
- const vrs3 = signatureToVRS(signature3)
-
- const threeSignatures = packSignatures([vrs, vrs2, vrs3])
-
- // When
- const { logs } = await foreignBridge.executeSignatures(message, threeSignatures).should.be.fulfilled
-
- // Then
- logs[0].event.should.be.equal('FeeDistributedFromSignatures')
- logs[0].args.feeAmount.should.be.bignumber.equal(feeAmount)
- logs[0].args.transactionHash.should.be.equal(transactionHash)
-
- logs[1].event.should.be.equal('RelayedMessage')
- logs[1].args.recipient.should.be.equal(recipientAccount)
- logs[1].args.value.should.be.bignumber.equal(value)
- logs[1].args.transactionHash.should.be.equal(transactionHash)
-
- const balanceAfter = await token.balanceOf(recipientAccount)
- const totalSupplyAfter = await token.totalSupply()
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(finalUserValue))
- totalSupplyAfter.should.be.bignumber.equal(totalSupplyBefore.add(value))
-
- const updatedBalanceRewardAddress1 = await token.balanceOf(rewards[0])
- const updatedBalanceRewardAddress2 = await token.balanceOf(rewards[1])
- const updatedBalanceRewardAddress3 = await token.balanceOf(rewards[2])
-
- expect(
- updatedBalanceRewardAddress1.eq(initialBalanceRewardAddress1.add(feePerValidator)) ||
- updatedBalanceRewardAddress1.eq(initialBalanceRewardAddress1.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- expect(
- updatedBalanceRewardAddress2.eq(initialBalanceRewardAddress2.add(feePerValidator)) ||
- updatedBalanceRewardAddress2.eq(initialBalanceRewardAddress2.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- expect(
- updatedBalanceRewardAddress3.eq(initialBalanceRewardAddress3.add(feePerValidator)) ||
- updatedBalanceRewardAddress3.eq(initialBalanceRewardAddress3.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- })
- it('should distribute fee to 5 validators', async () => {
- // Given
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const value = halfEther
- const valueCalc = 0.5 * (1 - fee)
- const feeAmountCalc = 0.5 * fee
- const finalUserValue = ether(valueCalc.toString())
- const feeAmount = ether(feeAmountCalc.toString())
- const feePerValidator = feeAmount.div(toBN(5))
-
- const validators = [accounts[0], accounts[1], accounts[2], accounts[3], accounts[4]]
- const rewards = [accounts[5], accounts[6], accounts[7], accounts[8], accounts[9]]
- const requiredSignatures = 3
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner).should.be.fulfilled
- await foreignBridge.rewardableInitialize(
- rewardableValidators.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- feeManager.address,
- feeInWei,
- decimalShiftZero,
- otherSideBridgeAddress
- ).should.be.fulfilled
- await token.transferOwnership(foreignBridge.address)
-
- const recipientAccount = accounts[0]
- const balanceBefore = await token.balanceOf(recipientAccount)
- const totalSupplyBefore = await token.totalSupply()
-
- const initialBalanceRewardAddress1 = await token.balanceOf(rewards[0])
- const initialBalanceRewardAddress2 = await token.balanceOf(rewards[1])
- const initialBalanceRewardAddress3 = await token.balanceOf(rewards[2])
- const initialBalanceRewardAddress4 = await token.balanceOf(rewards[3])
- const initialBalanceRewardAddress5 = await token.balanceOf(rewards[4])
-
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridge.address)
- const signature1 = await sign(validators[0], message)
- const signature2 = await sign(validators[1], message)
- const signature3 = await sign(validators[2], message)
- const vrs = signatureToVRS(signature1)
- const vrs2 = signatureToVRS(signature2)
- const vrs3 = signatureToVRS(signature3)
-
- const threeSignatures = packSignatures([vrs, vrs2, vrs3])
-
- // When
- const { logs } = await foreignBridge.executeSignatures(message, threeSignatures).should.be.fulfilled
-
- // Then
- logs[0].event.should.be.equal('FeeDistributedFromSignatures')
- logs[0].args.feeAmount.should.be.bignumber.equal(feeAmount)
- logs[0].args.transactionHash.should.be.equal(transactionHash)
-
- logs[1].event.should.be.equal('RelayedMessage')
- logs[1].args.recipient.should.be.equal(recipientAccount)
- logs[1].args.value.should.be.bignumber.equal(value)
- logs[1].args.transactionHash.should.be.equal(transactionHash)
-
- const balanceAfter = await token.balanceOf(recipientAccount)
- const totalSupplyAfter = await token.totalSupply()
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(finalUserValue))
- totalSupplyAfter.should.be.bignumber.equal(totalSupplyBefore.add(value))
-
- const updatedBalanceRewardAddress1 = await token.balanceOf(rewards[0])
- const updatedBalanceRewardAddress2 = await token.balanceOf(rewards[1])
- const updatedBalanceRewardAddress3 = await token.balanceOf(rewards[2])
- const updatedBalanceRewardAddress4 = await token.balanceOf(rewards[3])
- const updatedBalanceRewardAddress5 = await token.balanceOf(rewards[4])
-
- updatedBalanceRewardAddress1.should.be.bignumber.equal(initialBalanceRewardAddress1.add(feePerValidator))
- updatedBalanceRewardAddress2.should.be.bignumber.equal(initialBalanceRewardAddress2.add(feePerValidator))
- updatedBalanceRewardAddress3.should.be.bignumber.equal(initialBalanceRewardAddress3.add(feePerValidator))
- updatedBalanceRewardAddress4.should.be.bignumber.equal(initialBalanceRewardAddress4.add(feePerValidator))
- updatedBalanceRewardAddress5.should.be.bignumber.equal(initialBalanceRewardAddress5.add(feePerValidator))
- })
- it('should distribute fee to max allowed number of validators', async () => {
- // Given
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const value = halfEther
-
- const validators = createAccounts(web3, MAX_VALIDATORS)
- validators[0] = accounts[2]
- const rewards = createAccounts(web3, MAX_VALIDATORS)
- const requiredSignatures = 1
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner).should.be.fulfilled
- await foreignBridge.rewardableInitialize(
- rewardableValidators.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- feeManager.address,
- feeInWei,
- decimalShiftZero,
- otherSideBridgeAddress
- ).should.be.fulfilled
- await token.transferOwnership(foreignBridge.address)
-
- const recipientAccount = accounts[0]
-
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, foreignBridge.address)
- const signature = await sign(validators[0], message)
- const vrs = signatureToVRS(signature)
-
- const oneSignature = packSignatures([vrs])
-
- // When
- const { receipt } = await foreignBridge.executeSignatures(message, oneSignature).should.be.fulfilled
- expect(receipt.gasUsed).to.be.lte(MAX_GAS)
- })
- })
- describe('#decimalShift', async () => {
- for (const decimalShift of [2, -1]) {
- it(`Home to Foreign: withdraw works with decimalShift of ${decimalShift}`, async () => {
- const recipient = accounts[8]
- const authoritiesFiveAccs = [accounts[1], accounts[2], accounts[3], accounts[4], accounts[5]]
- const ownerOfValidators = accounts[0]
- const validatorContractWith3Signatures = await BridgeValidators.new()
- await validatorContractWith3Signatures.initialize(3, authoritiesFiveAccs, ownerOfValidators)
- const erc20Token = await POA20.new('Some ERC20', 'RSZT', 16)
- const valueOnForeign = toBN('1000')
- const valueOnHome = toBN(valueOnForeign * 10 ** decimalShift)
- const foreignBridgeWithThreeSigs = await ForeignBridge.new()
-
- await foreignBridgeWithThreeSigs.initialize(
- validatorContractWith3Signatures.address,
- erc20Token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShift,
- otherSideBridgeAddress
- )
- await erc20Token.transferOwnership(foreignBridgeWithThreeSigs.address)
-
- const balanceBeforeRecipient = await erc20Token.balanceOf(recipient)
- const txHash = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const message = createMessage(recipient, valueOnHome, txHash, foreignBridgeWithThreeSigs.address)
-
- // signature 1
- const signature = await sign(authoritiesFiveAccs[0], message)
- const vrs = signatureToVRS(signature)
-
- // signature 2
- const signature2 = await sign(authoritiesFiveAccs[1], message)
- const vrs2 = signatureToVRS(signature2)
-
- // signature 3
- const signature3 = await sign(authoritiesFiveAccs[2], message)
- const vrs3 = signatureToVRS(signature3)
-
- const threeSignatures = packSignatures([vrs, vrs2, vrs3])
-
- const { logs } = await foreignBridgeWithThreeSigs.executeSignatures(message, threeSignatures).should.be
- .fulfilled
- logs[0].event.should.be.equal('RelayedMessage')
- logs[0].args.recipient.should.be.equal(recipient)
- logs[0].args.value.should.be.bignumber.equal(valueOnHome)
- true.should.be.equal(await foreignBridgeWithThreeSigs.relayedMessages(txHash))
- const balanceAfterRecipient = await erc20Token.balanceOf(recipient)
- balanceAfterRecipient.should.be.bignumber.equal(balanceBeforeRecipient.add(valueOnForeign))
- const balanceAfterBridge = await erc20Token.balanceOf(foreignBridgeWithThreeSigs.address)
- balanceAfterBridge.should.be.bignumber.equal(ZERO)
- })
- it(`Foreign to Home: no impact in transferAndCall event signal for bridges oracles with a decimalShift of ${decimalShift}`, async () => {
- const owner = accounts[3]
- const user = accounts[4]
- const value = halfEther
- token = await POA20.new('POA ERC20 Foundation', 'POA20', 16, { from: owner })
- const foreignBridge = await ForeignBridge.new()
- await foreignBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [homeDailyLimit, homeMaxPerTx],
- owner,
- decimalShift,
- otherSideBridgeAddress
- )
- await token.mint(user, value, { from: owner }).should.be.fulfilled
- expect(await token.balanceOf(user)).to.be.bignumber.equal(value)
- await token.transferOwnership(foreignBridge.address, { from: owner })
- const { logs } = await token.transferAndCall(foreignBridge.address, value, '0x', { from: user })
- logs[0].event.should.be.equal('Transfer')
- logs[0].args.value.should.be.bignumber.equal(value)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ZERO)
- })
- }
- })
-})
diff --git a/test/native_to_erc/home_bridge_test.js b/test/native_to_erc/home_bridge_test.js
deleted file mode 100644
index 9d052e59a..000000000
--- a/test/native_to_erc/home_bridge_test.js
+++ /dev/null
@@ -1,2620 +0,0 @@
-const HomeBridge = artifacts.require('HomeBridgeNativeToErc.sol')
-const EternalStorageProxy = artifacts.require('EternalStorageProxy.sol')
-const BridgeValidators = artifacts.require('BridgeValidators.sol')
-const RevertFallback = artifacts.require('RevertFallback.sol')
-const FeeManagerNativeToErc = artifacts.require('FeeManagerNativeToErc.sol')
-const FeeManagerNativeToErcBothDirections = artifacts.require('FeeManagerNativeToErcBothDirections.sol')
-const RewardableValidators = artifacts.require('RewardableValidators.sol')
-const ERC677BridgeToken = artifacts.require('ERC677BridgeToken.sol')
-const NoReturnTransferTokenMock = artifacts.require('NoReturnTransferTokenMock.sol')
-
-const { expect } = require('chai')
-const { ERROR_MSG, ZERO_ADDRESS, toBN } = require('../setup')
-const { createMessage, sign, ether, expectEventInLogs, createAccounts } = require('../helpers/helpers')
-
-const minPerTx = ether('0.01')
-const requireBlockConfirmations = 8
-const gasPrice = web3.utils.toWei('1', 'gwei')
-const oneEther = ether('1')
-const twoEther = ether('2')
-const halfEther = ether('0.5')
-const foreignDailyLimit = oneEther
-const foreignMaxPerTx = halfEther
-const ZERO = toBN(0)
-const MAX_GAS = 8000000
-const MAX_VALIDATORS = 50
-const decimalShiftZero = 0
-
-contract('HomeBridge', async accounts => {
- let homeContract
- let validatorContract
- let authorities
- let owner
- before(async () => {
- validatorContract = await BridgeValidators.new()
- authorities = [accounts[1]]
- owner = accounts[0]
- await validatorContract.initialize(1, authorities, owner)
- })
-
- describe('#initialize', async () => {
- beforeEach(async () => {
- homeContract = await HomeBridge.new()
- })
- it('sets variables', async () => {
- expect(await homeContract.validatorContract()).to.be.equal(ZERO_ADDRESS)
- expect(await homeContract.deployedAtBlock()).to.be.bignumber.equal(ZERO)
- expect(await homeContract.dailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await homeContract.maxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await homeContract.decimalShift()).to.be.bignumber.equal(ZERO)
- expect(await homeContract.isInitialized()).to.be.equal(false)
-
- const { logs } = await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- '9'
- ).should.be.fulfilled
-
- expect(await homeContract.isInitialized()).to.be.equal(true)
- expect(await homeContract.validatorContract()).to.be.equal(validatorContract.address)
- expect(await homeContract.deployedAtBlock()).to.be.bignumber.above(ZERO)
- expect(await homeContract.dailyLimit()).to.be.bignumber.equal('3')
- expect(await homeContract.maxPerTx()).to.be.bignumber.equal('2')
- expect(await homeContract.minPerTx()).to.be.bignumber.equal('1')
- expect(await homeContract.gasPrice()).to.be.bignumber.equal(gasPrice)
- expect(await homeContract.decimalShift()).to.be.bignumber.equal('9')
- const bridgeMode = '0x92a8d7fe' // 4 bytes of keccak256('native-to-erc-core')
- expect(await homeContract.getBridgeMode()).to.be.equal(bridgeMode)
- const { major, minor, patch } = await homeContract.getBridgeInterfacesVersion()
- expect(major).to.be.bignumber.gte(ZERO)
- expect(minor).to.be.bignumber.gte(ZERO)
- expect(patch).to.be.bignumber.gte(ZERO)
-
- expectEventInLogs(logs, 'RequiredBlockConfirmationChanged', {
- requiredBlockConfirmations: toBN(requireBlockConfirmations)
- })
- expectEventInLogs(logs, 'GasPriceChanged', { gasPrice })
- expectEventInLogs(logs, 'ExecutionDailyLimitChanged', { newLimit: foreignDailyLimit })
- expectEventInLogs(logs, 'DailyLimitChanged', { newLimit: '3' })
- })
- it('cant set maxPerTx > dailyLimit', async () => {
- false.should.be.equal(await homeContract.isInitialized())
- await homeContract
- .initialize(
- validatorContract.address,
- ['1', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await homeContract
- .initialize(
- validatorContract.address,
- ['3', '2', '2'],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- false.should.be.equal(await homeContract.isInitialized())
- })
- it('can set gas Price ', async () => {
- // Given
- await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- ).should.be.fulfilled
-
- expect(await homeContract.gasPrice()).to.be.bignumber.equal(gasPrice)
-
- // When
- const newGasPrice = web3.utils.toWei('2', 'gwei')
-
- await homeContract.setGasPrice(newGasPrice, { from: accounts[2] }).should.be.rejectedWith(ERROR_MSG)
- await homeContract.setGasPrice(0, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- const { logs } = await homeContract.setGasPrice(newGasPrice, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await homeContract.gasPrice()).to.be.bignumber.equal(newGasPrice)
- expectEventInLogs(logs, 'GasPriceChanged', { gasPrice: newGasPrice })
- })
- it('can set Required Block Confirmations', async () => {
- // Given
- await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- ).should.be.fulfilled
-
- expect(await homeContract.requiredBlockConfirmations()).to.be.bignumber.equal(toBN(requireBlockConfirmations))
-
- // When
- const newRequiredBlockConfirmations = 15
- await homeContract
- .setRequiredBlockConfirmations(newRequiredBlockConfirmations, { from: accounts[2] })
- .should.be.rejectedWith(ERROR_MSG)
- await homeContract.setRequiredBlockConfirmations(0, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- const { logs } = await homeContract.setRequiredBlockConfirmations(newRequiredBlockConfirmations, { from: owner })
- .should.be.fulfilled
-
- // Then
- expect(await homeContract.requiredBlockConfirmations()).to.be.bignumber.equal(toBN(newRequiredBlockConfirmations))
- expectEventInLogs(logs, 'RequiredBlockConfirmationChanged', {
- requiredBlockConfirmations: toBN(newRequiredBlockConfirmations)
- })
- })
- it('can be deployed via upgradeToAndCall', async () => {
- const storageProxy = await EternalStorageProxy.new().should.be.fulfilled
- const data = homeContract.contract.methods
- .initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- ['3', '2'],
- owner,
- decimalShiftZero
- )
- .encodeABI()
- await storageProxy.upgradeTo('1', accounts[5]).should.be.rejectedWith(ERROR_MSG)
- await storageProxy.upgradeToAndCall('1', accounts[5], data).should.be.rejectedWith(ERROR_MSG)
- await storageProxy.upgradeToAndCall('1', homeContract.address, data).should.be.fulfilled
- const finalContract = await HomeBridge.at(storageProxy.address)
-
- expect(await finalContract.isInitialized()).to.be.equal(true)
- expect(await finalContract.validatorContract()).to.be.equal(validatorContract.address)
- expect(await finalContract.dailyLimit()).to.be.bignumber.equal('3')
- expect(await finalContract.maxPerTx()).to.be.bignumber.equal('2')
- expect(await finalContract.minPerTx()).to.be.bignumber.equal('1')
- })
- it('cant initialize with invalid arguments', async () => {
- false.should.be.equal(await homeContract.isInitialized())
- await homeContract
- .initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- 0,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await homeContract
- .initialize(
- owner,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await homeContract
- .initialize(
- ZERO_ADDRESS,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
-
- // not valid decimal shift
- await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- '100'
- ).should.be.rejected
-
- await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- ).should.be.fulfilled
- true.should.be.equal(await homeContract.isInitialized())
- })
- it('can transfer ownership', async () => {
- // Given
- await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- ).should.be.fulfilled
-
- expect(await homeContract.owner()).to.be.equal(owner)
-
- // When
- const newOwner = accounts[7]
-
- await homeContract.transferOwnership(newOwner, { from: accounts[2] }).should.be.rejectedWith(ERROR_MSG)
- await homeContract.transferOwnership(ZERO_ADDRESS, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- const { logs } = await homeContract.transferOwnership(newOwner, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await homeContract.owner()).to.be.equal(newOwner)
- expectEventInLogs(logs, 'OwnershipTransferred', { previousOwner: owner, newOwner })
- })
- it('can transfer proxyOwnership', async () => {
- const storageProxy = await EternalStorageProxy.new().should.be.fulfilled
- const data = homeContract.contract.methods
- .initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- ['3', '2'],
- owner,
- decimalShiftZero
- )
- .encodeABI()
- await storageProxy.upgradeToAndCall('1', homeContract.address, data).should.be.fulfilled
- await storageProxy.transferProxyOwnership(owner).should.be.fulfilled
-
- expect(await storageProxy.version()).to.be.bignumber.equal(toBN('1'))
- })
- })
-
- describe('#fallback', async () => {
- beforeEach(async () => {
- homeContract = await HomeBridge.new()
- await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- })
- it('should accept native coins', async () => {
- const currentDay = await homeContract.getCurrentDay()
- expect(await homeContract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
-
- const { logs } = await homeContract.sendTransaction({
- from: accounts[1],
- value: 1
- }).should.be.fulfilled
- expect(await homeContract.totalSpentPerDay(currentDay)).to.be.bignumber.equal('1')
-
- expectEventInLogs(logs, 'UserRequestForSignature', { recipient: accounts[1], value: toBN(1) })
-
- await homeContract
- .sendTransaction({
- from: accounts[1],
- value: 3
- })
- .should.be.rejectedWith(ERROR_MSG)
-
- await homeContract.setDailyLimit(4).should.be.fulfilled
- await homeContract.sendTransaction({
- from: accounts[1],
- value: 1
- }).should.be.fulfilled
-
- expect(await homeContract.totalSpentPerDay(currentDay)).to.be.bignumber.equal('2')
- })
-
- it('doesnt let you send more than max amount per tx', async () => {
- await homeContract.sendTransaction({
- from: accounts[1],
- value: 1
- }).should.be.fulfilled
- await homeContract
- .sendTransaction({
- from: accounts[1],
- value: 3
- })
- .should.be.rejectedWith(ERROR_MSG)
- await homeContract.setMaxPerTx(100).should.be.rejectedWith(ERROR_MSG)
- await homeContract.setDailyLimit(100).should.be.fulfilled
- await homeContract.setMaxPerTx(99).should.be.fulfilled
- // meets max per tx and daily limit
- await homeContract.sendTransaction({
- from: accounts[1],
- value: 99
- }).should.be.fulfilled
- // above daily limit
- await homeContract
- .sendTransaction({
- from: accounts[1],
- value: 1
- })
- .should.be.rejectedWith(ERROR_MSG)
- })
-
- it('should not let to deposit less than minPerTx', async () => {
- const newDailyLimit = 100
- const newMaxPerTx = 50
- const newMinPerTx = 20
- await homeContract.setDailyLimit(newDailyLimit).should.be.fulfilled
- await homeContract.setMaxPerTx(newMaxPerTx).should.be.fulfilled
- await homeContract.setMinPerTx(newMinPerTx).should.be.fulfilled
-
- await homeContract.sendTransaction({
- from: accounts[1],
- value: newMinPerTx
- }).should.be.fulfilled
- await homeContract
- .sendTransaction({
- from: accounts[1],
- value: newMinPerTx - 1
- })
- .should.be.rejectedWith(ERROR_MSG)
- })
- })
-
- describe('#relayTokens', async () => {
- const user = accounts[1]
- const user2 = accounts[2]
- beforeEach(async () => {
- homeContract = await HomeBridge.new()
- await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- })
- it('should accept native coins and alternative receiver', async () => {
- const currentDay = await homeContract.getCurrentDay()
- expect(await homeContract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
-
- const { logs } = await homeContract.relayTokens(user2, {
- from: user,
- value: 1
- }).should.be.fulfilled
- expect(await homeContract.totalSpentPerDay(currentDay)).to.be.bignumber.equal('1')
-
- expectEventInLogs(logs, 'UserRequestForSignature', { recipient: user2, value: toBN(1) })
-
- await homeContract
- .relayTokens(user2, {
- from: user,
- value: 3
- })
- .should.be.rejectedWith(ERROR_MSG)
-
- await homeContract.setDailyLimit(4).should.be.fulfilled
- await homeContract.relayTokens(user2, {
- from: user,
- value: 1
- }).should.be.fulfilled
-
- expect(await homeContract.totalSpentPerDay(currentDay)).to.be.bignumber.equal('2')
- })
-
- it('doesnt let you send more than max amount per tx', async () => {
- await homeContract.relayTokens(user2, {
- from: user,
- value: 1
- }).should.be.fulfilled
- await homeContract
- .relayTokens(user2, {
- from: user,
- value: 3
- })
- .should.be.rejectedWith(ERROR_MSG)
- await homeContract.setMaxPerTx(100).should.be.rejectedWith(ERROR_MSG)
- await homeContract.setDailyLimit(100).should.be.fulfilled
- await homeContract.setMaxPerTx(99).should.be.fulfilled
- // meets max per tx and daily limit
- await homeContract.relayTokens(user2, {
- from: user,
- value: 99
- }).should.be.fulfilled
- // above daily limit
- await homeContract
- .relayTokens(user2, {
- from: user,
- value: 1
- })
- .should.be.rejectedWith(ERROR_MSG)
- })
-
- it('should not let to deposit less than minPerTx', async () => {
- const newDailyLimit = 100
- const newMaxPerTx = 50
- const newMinPerTx = 20
- await homeContract.setDailyLimit(newDailyLimit).should.be.fulfilled
- await homeContract.setMaxPerTx(newMaxPerTx).should.be.fulfilled
- await homeContract.setMinPerTx(newMinPerTx).should.be.fulfilled
-
- await homeContract.relayTokens(user2, {
- from: user,
- value: newMinPerTx
- }).should.be.fulfilled
- await homeContract
- .relayTokens(user2, {
- from: user,
- value: newMinPerTx - 1
- })
- .should.be.rejectedWith(ERROR_MSG)
- })
- })
-
- describe('#setting limits', async () => {
- let homeContract
- beforeEach(async () => {
- homeContract = await HomeBridge.new()
- await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- })
- it('#setMaxPerTx allows to set only to owner and cannot be more than daily limit', async () => {
- await homeContract.setMaxPerTx(2, { from: authorities[0] }).should.be.rejectedWith(ERROR_MSG)
- await homeContract.setMaxPerTx(2, { from: owner }).should.be.fulfilled
-
- await homeContract.setMaxPerTx(3, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
- it('#setMinPerTx allows to set only to owner and cannot be more than daily limit and should be less than maxPerTx', async () => {
- await homeContract.setMinPerTx(1, { from: authorities[0] }).should.be.rejectedWith(ERROR_MSG)
- await homeContract.setMinPerTx(1, { from: owner }).should.be.fulfilled
-
- await homeContract.setMinPerTx(2, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- })
- it('#setDailyLimit allow to set by owner and should be greater than maxPerTx or zero', async () => {
- await homeContract.setDailyLimit(4, { from: authorities[0] }).should.be.rejectedWith(ERROR_MSG)
- await homeContract.setDailyLimit(2, { from: owner }).should.be.rejectedWith(ERROR_MSG)
-
- await homeContract.setDailyLimit(4, { from: owner }).should.be.fulfilled
- expect(await homeContract.dailyLimit()).to.be.bignumber.equal('4')
-
- await homeContract.setDailyLimit(0, { from: owner }).should.be.fulfilled
- expect(await homeContract.dailyLimit()).to.be.bignumber.equal(ZERO)
-
- await homeContract.setDailyLimit(4, { from: owner }).should.be.fulfilled
- expect(await homeContract.dailyLimit()).to.be.bignumber.equal('4')
- })
- })
-
- describe('#executeAffirmation', async () => {
- let homeBridge
- beforeEach(async () => {
- homeBridge = await HomeBridge.new()
- await homeBridge.initialize(
- validatorContract.address,
- [twoEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- await homeBridge.sendTransaction({
- from: accounts[2],
- value: halfEther
- }).should.be.fulfilled
- })
- it('should allow validator to executeAffirmation', async () => {
- const recipient = accounts[5]
- const value = halfEther
- const balanceBefore = toBN(await web3.eth.getBalance(recipient))
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const { logs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- })
-
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: authorities[0],
- transactionHash
- })
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
- const homeBalanceAfter = toBN(await web3.eth.getBalance(homeBridge.address))
- const balanceAfter = toBN(await web3.eth.getBalance(recipient))
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(value))
- homeBalanceAfter.should.be.bignumber.equal(ZERO)
-
- const msgHash = web3.utils.soliditySha3(recipient, value, transactionHash)
- const senderHash = web3.utils.soliditySha3(authorities[0], msgHash)
- true.should.be.equal(await homeBridge.affirmationsSigned(senderHash))
- })
-
- it('should allow validator to executeAffirmation with zero value', async () => {
- const recipient = accounts[5]
- const value = ZERO
- const balanceBefore = toBN(await web3.eth.getBalance(recipient))
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const { logs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- })
-
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: authorities[0],
- transactionHash
- })
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
-
- const balanceAfter = toBN(await web3.eth.getBalance(recipient))
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(value))
-
- const msgHash = web3.utils.soliditySha3(recipient, value, transactionHash)
- const senderHash = web3.utils.soliditySha3(authorities[0], msgHash)
- true.should.be.equal(await homeBridge.affirmationsSigned(senderHash))
- })
-
- it('test with 2 signatures required', async () => {
- const validatorContractWith2Signatures = await BridgeValidators.new()
- const authoritiesThreeAccs = [accounts[1], accounts[2], accounts[3]]
- const ownerOfValidators = accounts[0]
- await validatorContractWith2Signatures.initialize(2, authoritiesThreeAccs, ownerOfValidators)
- const homeBridgeWithTwoSigs = await HomeBridge.new()
- await homeBridgeWithTwoSigs.initialize(
- validatorContractWith2Signatures.address,
- [twoEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
-
- await homeBridgeWithTwoSigs.sendTransaction({
- from: accounts[2],
- value: halfEther
- }).should.be.fulfilled
- const homeBalanceBefore = toBN(await web3.eth.getBalance(homeBridgeWithTwoSigs.address))
- homeBalanceBefore.should.be.bignumber.equal(halfEther)
-
- const recipient = accounts[5]
- const value = halfEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const balanceBefore = toBN(await web3.eth.getBalance(recipient))
- const msgHash = web3.utils.soliditySha3(recipient, value, transactionHash)
-
- const { logs } = await homeBridgeWithTwoSigs.executeAffirmation(recipient, value, transactionHash, {
- from: authoritiesThreeAccs[0]
- }).should.be.fulfilled
-
- expectEventInLogs(logs, 'SignedForAffirmation', { signer: authorities[0], transactionHash })
- halfEther.should.be.bignumber.equal(await web3.eth.getBalance(homeBridgeWithTwoSigs.address))
- const notProcessed = await homeBridgeWithTwoSigs.numAffirmationsSigned(msgHash)
- notProcessed.should.be.bignumber.equal('1')
-
- await homeBridgeWithTwoSigs
- .executeAffirmation(recipient, value, transactionHash, { from: authoritiesThreeAccs[0] })
- .should.be.rejectedWith(ERROR_MSG)
- const secondSignature = await homeBridgeWithTwoSigs.executeAffirmation(recipient, value, transactionHash, {
- from: authoritiesThreeAccs[1]
- }).should.be.fulfilled
-
- const balanceAfter = toBN(await web3.eth.getBalance(recipient))
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(value))
- expect(toBN(await web3.eth.getBalance(homeBridgeWithTwoSigs.address))).to.be.bignumber.equal(ZERO)
-
- expectEventInLogs(secondSignature.logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
-
- const senderHash = web3.utils.soliditySha3(authoritiesThreeAccs[0], msgHash)
- true.should.be.equal(await homeBridgeWithTwoSigs.affirmationsSigned(senderHash))
-
- const senderHash2 = web3.utils.soliditySha3(authoritiesThreeAccs[1], msgHash)
- true.should.be.equal(await homeBridgeWithTwoSigs.affirmationsSigned(senderHash2))
-
- const markedAsProcessed = await homeBridgeWithTwoSigs.numAffirmationsSigned(msgHash)
- const processed = toBN(2)
- .pow(toBN(255))
- .add(toBN(2))
- markedAsProcessed.should.be.bignumber.equal(processed)
- })
- it('should not allow to double submit', async () => {
- const recipient = accounts[5]
- const value = '1'
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
- await homeBridge
- .executeAffirmation(recipient, value, transactionHash, { from: authorities[0] })
- .should.be.rejectedWith(ERROR_MSG)
- })
-
- it('should not allow non-authorities to execute withdraw', async () => {
- const recipient = accounts[5]
- const value = oneEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- await homeBridge
- .executeAffirmation(recipient, value, transactionHash, { from: accounts[7] })
- .should.be.rejectedWith(ERROR_MSG)
- })
-
- it('doesnt allow to withdraw if requiredSignatures has changed', async () => {
- const validatorContractWith2Signatures = await BridgeValidators.new()
- const authoritiesThreeAccs = [accounts[1], accounts[2], accounts[3]]
- const ownerOfValidators = accounts[0]
- await validatorContractWith2Signatures.initialize(2, authoritiesThreeAccs, ownerOfValidators)
- const homeBridgeWithTwoSigs = await HomeBridge.new()
- await homeBridgeWithTwoSigs.initialize(
- validatorContractWith2Signatures.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
-
- await homeBridgeWithTwoSigs.sendTransaction({
- from: accounts[2],
- value: halfEther
- }).should.be.fulfilled
- const homeBalanceBefore = toBN(await web3.eth.getBalance(homeBridgeWithTwoSigs.address))
- homeBalanceBefore.should.be.bignumber.equal(halfEther)
-
- const recipient = accounts[5]
- const value = halfEther.div(toBN(2))
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const balanceBefore = toBN(await web3.eth.getBalance(recipient))
-
- await homeBridgeWithTwoSigs.executeAffirmation(recipient, value, transactionHash, {
- from: authoritiesThreeAccs[0]
- }).should.be.fulfilled
- await homeBridgeWithTwoSigs.executeAffirmation(recipient, value, transactionHash, {
- from: authoritiesThreeAccs[1]
- }).should.be.fulfilled
- expect(toBN(await web3.eth.getBalance(recipient))).to.be.bignumber.equal(balanceBefore.add(value))
-
- await validatorContractWith2Signatures.setRequiredSignatures(3).should.be.fulfilled
- await homeBridgeWithTwoSigs
- .executeAffirmation(recipient, value, transactionHash, { from: authoritiesThreeAccs[2] })
- .should.be.rejectedWith(ERROR_MSG)
-
- await validatorContractWith2Signatures.setRequiredSignatures(1).should.be.fulfilled
- await homeBridgeWithTwoSigs
- .executeAffirmation(recipient, value, transactionHash, { from: authoritiesThreeAccs[2] })
- .should.be.rejectedWith(ERROR_MSG)
- expect(toBN(await web3.eth.getBalance(recipient))).to.be.bignumber.equal(balanceBefore.add(value))
- })
-
- it('force withdraw if the recepient has fallback to revert', async () => {
- const revertFallbackContract = await RevertFallback.new()
- await revertFallbackContract.receiveEth({ from: accounts[0], value: halfEther })
- expect(toBN(await web3.eth.getBalance(revertFallbackContract.address))).to.be.bignumber.equal(halfEther)
-
- const transactionHash = '0x106335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const { logs } = await homeBridge.executeAffirmation(revertFallbackContract.address, halfEther, transactionHash, {
- from: authorities[0]
- })
-
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: authorities[0],
- transactionHash
- })
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient: revertFallbackContract.address,
- value: halfEther,
- transactionHash
- })
- const homeBalanceAfter = toBN(await web3.eth.getBalance(homeBridge.address))
- const balanceAfter = toBN(await web3.eth.getBalance(revertFallbackContract.address))
- balanceAfter.should.be.bignumber.equal(halfEther.add(halfEther))
- homeBalanceAfter.should.be.bignumber.equal(ZERO)
- })
- it('works with 5 validators and 3 required signatures', async () => {
- const recipient = accounts[8]
- const authoritiesFiveAccs = [accounts[1], accounts[2], accounts[3], accounts[4], accounts[5]]
- const ownerOfValidators = accounts[0]
- const validatorContractWith3Signatures = await BridgeValidators.new()
- await validatorContractWith3Signatures.initialize(3, authoritiesFiveAccs, ownerOfValidators)
-
- const homeBridgeWithThreeSigs = await HomeBridge.new()
- await homeBridgeWithThreeSigs.initialize(
- validatorContractWith3Signatures.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
-
- const value = halfEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- await homeBridgeWithThreeSigs.sendTransaction({
- from: recipient,
- value: halfEther
- }).should.be.fulfilled
-
- const { logs } = await homeBridgeWithThreeSigs.executeAffirmation(recipient, value, transactionHash, {
- from: authoritiesFiveAccs[0]
- }).should.be.fulfilled
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: authorities[0],
- transactionHash
- })
-
- await homeBridgeWithThreeSigs.executeAffirmation(recipient, value, transactionHash, {
- from: authoritiesFiveAccs[1]
- }).should.be.fulfilled
- const thirdSignature = await homeBridgeWithThreeSigs.executeAffirmation(recipient, value, transactionHash, {
- from: authoritiesFiveAccs[2]
- }).should.be.fulfilled
-
- expectEventInLogs(thirdSignature.logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
- })
- it('should not allow execute affirmation over foreign max tx limit', async () => {
- const recipient = accounts[5]
- const value = oneEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- await homeBridge
- .executeAffirmation(recipient, value, transactionHash, { from: authorities[0] })
- .should.be.rejectedWith(ERROR_MSG)
- })
- it('should not allow execute affirmation over daily foreign limit', async () => {
- await homeBridge.sendTransaction({ from: accounts[2], value: halfEther }).should.be.fulfilled
- await homeBridge.sendTransaction({ from: accounts[2], value: halfEther }).should.be.fulfilled
-
- const recipient = accounts[5]
- const value = halfEther
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
- const { logs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: authorities[0]
- }).should.be.fulfilled
-
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: authorities[0],
- transactionHash
- })
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
-
- const transactionHash2 = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
- const { logs: logs2 } = await homeBridge.executeAffirmation(recipient, value, transactionHash2, {
- from: authorities[0]
- }).should.be.fulfilled
-
- expectEventInLogs(logs2, 'SignedForAffirmation', {
- signer: authorities[0],
- transactionHash: transactionHash2
- })
- expectEventInLogs(logs2, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash: transactionHash2
- })
-
- const transactionHash3 = '0x69debd8fd1923c9cb3cd8ef6461e2740b2d037943b941729d5a47671a2bb8712'
- await homeBridge
- .executeAffirmation(recipient, value, transactionHash3, { from: authorities[0] })
- .should.be.rejectedWith(ERROR_MSG)
- })
- })
-
- describe('#isAlreadyProcessed', async () => {
- it('returns ', async () => {
- const homeBridge = await HomeBridge.new()
- const bn = toBN(2).pow(toBN(255))
- const processedNumbers = [bn.add(toBN(1)).toString(10), bn.add(toBN(100)).toString(10)]
- true.should.be.equal(await homeBridge.isAlreadyProcessed(processedNumbers[0]))
- true.should.be.equal(await homeBridge.isAlreadyProcessed(processedNumbers[1]))
- false.should.be.equal(await homeBridge.isAlreadyProcessed(10))
- })
- })
-
- describe('#submitSignature', async () => {
- let validatorContractWith2Signatures
- let authoritiesThreeAccs
- let ownerOfValidators
- let homeBridgeWithTwoSigs
- beforeEach(async () => {
- validatorContractWith2Signatures = await BridgeValidators.new()
- authoritiesThreeAccs = [accounts[1], accounts[2], accounts[3]]
- ownerOfValidators = accounts[0]
- await validatorContractWith2Signatures.initialize(2, authoritiesThreeAccs, ownerOfValidators)
- homeBridgeWithTwoSigs = await HomeBridge.new()
- await homeBridgeWithTwoSigs.initialize(
- validatorContractWith2Signatures.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
- })
- it('allows a validator to submit a signature', async () => {
- const recipientAccount = accounts[8]
- const value = halfEther
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, homeBridgeWithTwoSigs.address)
- const signature = await sign(authoritiesThreeAccs[0], message)
- const { logs } = await homeBridgeWithTwoSigs.submitSignature(signature, message, {
- from: authorities[0]
- }).should.be.fulfilled
- logs[0].event.should.be.equal('SignedForUserRequest')
- const msgHashFromLog = logs[0].args.messageHash
- const signatureFromContract = await homeBridgeWithTwoSigs.signature(msgHashFromLog, 0)
- const messageFromContract = await homeBridgeWithTwoSigs.message(msgHashFromLog)
- signature.should.be.equal(signatureFromContract)
- messageFromContract.should.be.equal(messageFromContract)
- const hashMsg = web3.utils.soliditySha3(message)
- const hashSenderMsg = web3.utils.soliditySha3(authorities[0], hashMsg)
- true.should.be.equal(await homeBridgeWithTwoSigs.messagesSigned(hashSenderMsg))
- })
- it('when enough requiredSignatures are collected, CollectedSignatures event is emitted', async () => {
- const recipientAccount = accounts[8]
- const value = halfEther
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, homeBridgeWithTwoSigs.address)
- const signature = await sign(authoritiesThreeAccs[0], message)
- const signature2 = await sign(authoritiesThreeAccs[1], message)
- expect(await validatorContractWith2Signatures.requiredSignatures()).to.be.bignumber.equal('2')
- await homeBridgeWithTwoSigs.submitSignature(signature, message, {
- from: authoritiesThreeAccs[0]
- }).should.be.fulfilled
- await homeBridgeWithTwoSigs
- .submitSignature(signature, message, { from: authoritiesThreeAccs[0] })
- .should.be.rejectedWith(ERROR_MSG)
- await homeBridgeWithTwoSigs
- .submitSignature(signature, message, { from: authoritiesThreeAccs[1] })
- .should.be.rejectedWith(ERROR_MSG)
- const { logs } = await homeBridgeWithTwoSigs.submitSignature(signature2, message, {
- from: authoritiesThreeAccs[1]
- }).should.be.fulfilled
- logs.length.should.be.equal(2)
- logs[1].event.should.be.equal('CollectedSignatures')
- logs[1].args.authorityResponsibleForRelay.should.be.equal(authoritiesThreeAccs[1])
- })
- it('works with 5 validators and 3 required signatures', async () => {
- const recipientAccount = accounts[8]
- const authoritiesFiveAccs = [accounts[1], accounts[2], accounts[3], accounts[4], accounts[5]]
- const validatorContractWith3Signatures = await BridgeValidators.new()
- await validatorContractWith3Signatures.initialize(3, authoritiesFiveAccs, ownerOfValidators)
-
- const homeBridgeWithThreeSigs = await HomeBridge.new()
- await homeBridgeWithThreeSigs.initialize(
- validatorContractWith3Signatures.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- )
-
- const value = halfEther
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, homeBridgeWithThreeSigs.address)
- const signature = await sign(authoritiesFiveAccs[0], message)
- const signature2 = await sign(authoritiesFiveAccs[1], message)
- const signature3 = await sign(authoritiesFiveAccs[2], message)
- expect(await validatorContractWith3Signatures.requiredSignatures()).to.be.bignumber.equal('3')
-
- await homeBridgeWithThreeSigs.submitSignature(signature, message, {
- from: authoritiesFiveAccs[0]
- }).should.be.fulfilled
- await homeBridgeWithThreeSigs.submitSignature(signature2, message, {
- from: authoritiesFiveAccs[1]
- }).should.be.fulfilled
- const { logs } = await homeBridgeWithThreeSigs.submitSignature(signature3, message, {
- from: authoritiesFiveAccs[2]
- }).should.be.fulfilled
- logs.length.should.be.equal(2)
- logs[1].event.should.be.equal('CollectedSignatures')
- logs[1].args.authorityResponsibleForRelay.should.be.equal(authoritiesFiveAccs[2])
- })
- it('attack when increasing requiredSignatures', async () => {
- const recipientAccount = accounts[8]
- const value = halfEther
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, homeBridgeWithTwoSigs.address)
- const signature = await sign(authoritiesThreeAccs[0], message)
- const signature2 = await sign(authoritiesThreeAccs[1], message)
- const signature3 = await sign(authoritiesThreeAccs[2], message)
- expect(await validatorContractWith2Signatures.requiredSignatures()).to.be.bignumber.equal('2')
-
- await homeBridgeWithTwoSigs.submitSignature(signature, message, {
- from: authoritiesThreeAccs[0]
- }).should.be.fulfilled
- await homeBridgeWithTwoSigs
- .submitSignature(signature, message, { from: authoritiesThreeAccs[0] })
- .should.be.rejectedWith(ERROR_MSG)
- await homeBridgeWithTwoSigs
- .submitSignature(signature, message, { from: authoritiesThreeAccs[1] })
- .should.be.rejectedWith(ERROR_MSG)
- const { logs } = await homeBridgeWithTwoSigs.submitSignature(signature2, message, {
- from: authoritiesThreeAccs[1]
- }).should.be.fulfilled
-
- logs.length.should.be.equal(2)
- logs[1].event.should.be.equal('CollectedSignatures')
- logs[1].args.authorityResponsibleForRelay.should.be.equal(authoritiesThreeAccs[1])
-
- await validatorContractWith2Signatures.setRequiredSignatures(3).should.be.fulfilled
- expect(await validatorContractWith2Signatures.requiredSignatures()).to.be.bignumber.equal('3')
-
- await homeBridgeWithTwoSigs
- .submitSignature(signature3, message, { from: authoritiesThreeAccs[2] })
- .should.be.rejectedWith(ERROR_MSG)
- })
- it('attack when decreasing requiredSignatures', async () => {
- const recipientAccount = accounts[8]
- const value = halfEther
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(recipientAccount, value, transactionHash, homeBridgeWithTwoSigs.address)
- const signature = await sign(authoritiesThreeAccs[0], message)
- const signature2 = await sign(authoritiesThreeAccs[1], message)
- expect(await validatorContractWith2Signatures.requiredSignatures()).to.be.bignumber.equal('2')
-
- await homeBridgeWithTwoSigs.submitSignature(signature, message, {
- from: authoritiesThreeAccs[0]
- }).should.be.fulfilled
- await validatorContractWith2Signatures.setRequiredSignatures(1).should.be.fulfilled
- expect(await validatorContractWith2Signatures.requiredSignatures()).to.be.bignumber.equal('1')
- const { logs } = await homeBridgeWithTwoSigs.submitSignature(signature2, message, {
- from: authoritiesThreeAccs[1]
- }).should.be.fulfilled
-
- logs.length.should.be.equal(2)
- logs[1].event.should.be.equal('CollectedSignatures')
- logs[1].args.authorityResponsibleForRelay.should.be.equal(authoritiesThreeAccs[1])
- })
- })
-
- describe('#requiredMessageLength', async () => {
- beforeEach(async () => {
- homeContract = await HomeBridge.new()
- })
-
- it('should return the required message length', async () => {
- expect(await homeContract.requiredMessageLength()).to.be.bignumber.equal('104')
- })
- })
-
- describe('#claimTokens', () => {
- it('should work with token that return bool on transfer', async () => {
- const storageProxy = await EternalStorageProxy.new()
- const data = homeContract.contract.methods
- .initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- ['3', '2'],
- owner,
- decimalShiftZero
- )
- .encodeABI()
- await storageProxy.upgradeToAndCall('1', homeContract.address, data).should.be.fulfilled
- const homeBridge = await HomeBridge.at(storageProxy.address)
-
- const token = await ERC677BridgeToken.new('Test', 'TST', 18)
-
- await token.mint(accounts[0], halfEther).should.be.fulfilled
- expect(await token.balanceOf(accounts[0])).to.be.bignumber.equal(halfEther)
-
- await token.transfer(homeBridge.address, halfEther).should.be.fulfilled
- expect(await token.balanceOf(accounts[0])).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(homeBridge.address)).to.be.bignumber.equal(halfEther)
-
- await homeBridge.claimTokens(token.address, accounts[3], { from: owner }).should.be.fulfilled
- expect(await token.balanceOf(homeBridge.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(accounts[3])).to.be.bignumber.equal(halfEther)
- })
- it('should works with token that not return on transfer', async () => {
- const storageProxy = await EternalStorageProxy.new()
- const data = homeContract.contract.methods
- .initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- ['3', '2'],
- owner,
- decimalShiftZero
- )
- .encodeABI()
- await storageProxy.upgradeToAndCall('1', homeContract.address, data).should.be.fulfilled
- const homeBridge = await HomeBridge.at(storageProxy.address)
-
- const tokenMock = await NoReturnTransferTokenMock.new()
-
- await tokenMock.mint(accounts[0], halfEther).should.be.fulfilled
- expect(await tokenMock.balanceOf(accounts[0])).to.be.bignumber.equal(halfEther)
-
- await tokenMock.transfer(homeBridge.address, halfEther).should.be.fulfilled
- expect(await tokenMock.balanceOf(accounts[0])).to.be.bignumber.equal(ZERO)
- expect(await tokenMock.balanceOf(homeBridge.address)).to.be.bignumber.equal(halfEther)
-
- await homeBridge.claimTokens(tokenMock.address, accounts[3], { from: owner }).should.be.fulfilled
- expect(await tokenMock.balanceOf(homeBridge.address)).to.be.bignumber.equal(ZERO)
- expect(await tokenMock.balanceOf(accounts[3])).to.be.bignumber.equal(halfEther)
- })
- it('should not work for native coins', async () => {
- const storageProxy = await EternalStorageProxy.new()
- const data = homeContract.contract.methods
- .initialize(
- validatorContract.address,
- [oneEther.toString(), halfEther.toString(), '1'],
- gasPrice,
- requireBlockConfirmations,
- [oneEther.toString(), halfEther.toString()],
- owner,
- decimalShiftZero
- )
- .encodeABI()
- await storageProxy.upgradeToAndCall('1', homeContract.address, data).should.be.fulfilled
- const homeBridge = await HomeBridge.at(storageProxy.address)
-
- await homeBridge.sendTransaction({ from: accounts[2], value: halfEther }).should.be.fulfilled
- expect(toBN(await web3.eth.getBalance(homeBridge.address))).to.be.bignumber.equal(halfEther)
-
- await homeBridge.claimTokens(ZERO_ADDRESS, accounts[3], { from: accounts[3] }).should.be.rejected
- await homeBridge.claimTokens(ZERO_ADDRESS, accounts[3], { from: owner }).should.be.rejected
- })
- })
-
- describe('#rewardableInitialize', async () => {
- let homeFee
- let foreignFee
- let homeBridge
- let rewardableValidators
- const validators = [accounts[1]]
- const rewards = [accounts[2]]
- const requiredSignatures = 1
- beforeEach(async () => {
- rewardableValidators = await RewardableValidators.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner).should.be.fulfilled
- homeBridge = await HomeBridge.new()
- homeFee = ZERO
- foreignFee = ether('0.002')
- })
- it('sets variables', async () => {
- const feeManager = await FeeManagerNativeToErc.new()
- expect(await homeBridge.validatorContract()).to.be.equal(ZERO_ADDRESS)
- expect(await homeBridge.deployedAtBlock()).to.be.bignumber.equal(ZERO)
- expect(await homeBridge.dailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await homeBridge.maxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await homeBridge.isInitialized()).to.be.equal(false)
-
- await homeBridge
- .rewardableInitialize(
- ZERO_ADDRESS,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await homeBridge
- .rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- 0,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await homeBridge
- .rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- 0,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await homeBridge
- .rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- ZERO_ADDRESS,
- [homeFee, foreignFee],
- decimalShiftZero
- )
- .should.be.rejectedWith(ERROR_MSG)
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- decimalShiftZero
- ).should.be.fulfilled
-
- expect(await homeBridge.isInitialized()).to.be.equal(true)
- expect(await homeBridge.validatorContract()).to.be.equal(rewardableValidators.address)
- expect(await homeBridge.deployedAtBlock()).to.be.bignumber.above(ZERO)
- expect(await homeBridge.dailyLimit()).to.be.bignumber.equal(oneEther)
- expect(await homeBridge.maxPerTx()).to.be.bignumber.equal(halfEther)
- expect(await homeBridge.minPerTx()).to.be.bignumber.equal(minPerTx)
- expect(await homeBridge.gasPrice()).to.be.bignumber.equal(gasPrice)
- const bridgeMode = '0x92a8d7fe' // 4 bytes of keccak256('native-to-erc-core')
- expect(await homeBridge.getBridgeMode()).to.be.equal(bridgeMode)
- const { major, minor, patch } = await homeBridge.getBridgeInterfacesVersion()
- expect(major).to.be.bignumber.gte(ZERO)
- expect(minor).to.be.bignumber.gte(ZERO)
- expect(patch).to.be.bignumber.gte(ZERO)
-
- const feeManagerContract = await homeBridge.feeManagerContract()
- feeManagerContract.should.be.equals(feeManager.address)
- const bridgeForeignFee = await homeBridge.getForeignFee()
- bridgeForeignFee.should.be.bignumber.equal(foreignFee)
- })
-
- it('can update fee contract', async () => {
- const feeManager = await FeeManagerNativeToErc.new()
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- decimalShiftZero
- ).should.be.fulfilled
-
- // Given
- const newFeeManager = await FeeManagerNativeToErc.new()
-
- // When
- await homeBridge.setFeeManagerContract(newFeeManager.address, { from: owner }).should.be.fulfilled
-
- // Then
- const feeManagerContract = await homeBridge.feeManagerContract()
- feeManagerContract.should.be.equals(newFeeManager.address)
- })
-
- it('can update fee', async () => {
- const feeManager = await FeeManagerNativeToErc.new()
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- decimalShiftZero
- ).should.be.fulfilled
-
- // Given
- const newForeignFee = ether('0.2')
-
- // When
- await homeBridge.setForeignFee(newForeignFee, { from: owner }).should.be.fulfilled
-
- // Then
- const bridgeForeignFee = await homeBridge.getForeignFee()
- bridgeForeignFee.should.be.bignumber.equal(newForeignFee)
- })
- it('fee should be less than 100%', async () => {
- const feeManager = await FeeManagerNativeToErc.new()
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- decimalShiftZero
- ).should.be.fulfilled
-
- // Given
- const invalidFee = ether('1')
- const invalidBigFee = ether('2')
- const newForeignFee = ether('0.99')
-
- // When
- await homeBridge.setForeignFee(invalidFee, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- await homeBridge.setForeignFee(invalidBigFee, { from: owner }).should.be.rejectedWith(ERROR_MSG)
- await homeBridge.setForeignFee(newForeignFee, { from: owner }).should.be.fulfilled
-
- // Then
- expect(await homeBridge.getForeignFee()).to.be.bignumber.equals(newForeignFee)
- })
- it('should return zero parameters for zero fee manager', async () => {
- // When
- await homeBridge.initialize(
- validatorContract.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShiftZero
- ).should.be.fulfilled
-
- // Then
- expect(await homeBridge.getFeeManagerMode()).to.be.equal('0x00000000')
- expect(await homeBridge.getHomeFee()).to.be.bignumber.equal(ZERO)
- expect(await homeBridge.getForeignFee()).to.be.bignumber.equal(ZERO)
- })
- it('should be able to get fee manager mode', async () => {
- // Given
- const feeManager = await FeeManagerNativeToErc.new()
- const oneDirectionsModeHash = '0xf2aed8f7'
-
- // When
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- decimalShiftZero
- ).should.be.fulfilled
-
- // Then
- const feeManagerMode = await homeBridge.getFeeManagerMode()
- feeManagerMode.should.be.equals(oneDirectionsModeHash)
- })
- it('should be able to get fee manager mode for both directions', async () => {
- // Given
- const feeManager = await FeeManagerNativeToErcBothDirections.new()
- const bothDirectionsModeHash = '0xd7de965f'
-
- // When
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [homeFee, foreignFee],
- decimalShiftZero
- ).should.be.fulfilled
-
- // Then
- const feeManagerMode = await homeBridge.getFeeManagerMode()
- feeManagerMode.should.be.equals(bothDirectionsModeHash)
- })
- })
-
- describe('#feeManager_OneDirection_fallback', () => {
- it('should not subtract fee from value', async () => {
- // Initialize
- const user = accounts[0]
- const owner = accounts[9]
- const validators = [accounts[1]]
- const rewards = [accounts[2]]
- const requiredSignatures = 1
- const rewardableValidators = await RewardableValidators.new()
- const homeBridge = await HomeBridge.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- const feeManager = await FeeManagerNativeToErc.new()
-
- // Given
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const notUsedFee = ZERO
- const value = halfEther
-
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [notUsedFee, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
-
- // When
- const { logs } = await homeBridge.sendTransaction({
- from: user,
- value
- }).should.be.fulfilled
-
- // Then
- expectEventInLogs(logs, 'UserRequestForSignature', {
- recipient: user,
- value
- })
- })
- })
-
- describe('#feeManager_OneDirection_relayRequest', () => {
- it('should not subtract fee from value', async () => {
- // Initialize
- const user = accounts[0]
- const user2 = accounts[4]
- const owner = accounts[9]
- const validators = [accounts[1]]
- const rewards = [accounts[2]]
- const requiredSignatures = 1
- const rewardableValidators = await RewardableValidators.new()
- const homeBridge = await HomeBridge.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- const feeManager = await FeeManagerNativeToErc.new()
-
- // Given
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const notUsedFee = ZERO
- const value = halfEther
-
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [notUsedFee, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
-
- // When
- const { logs } = await homeBridge.relayTokens(user2, {
- from: user,
- value
- }).should.be.fulfilled
-
- // Then
- expectEventInLogs(logs, 'UserRequestForSignature', {
- recipient: user2,
- value
- })
- })
- })
-
- describe('#feeManager_OneDirection_submitSignature', () => {
- it('should not distribute fee to validator', async () => {
- // Initialize
- const user = accounts[0]
- const owner = accounts[9]
- const validators = [accounts[1]]
- const rewards = [accounts[2]]
- const requiredSignatures = 1
- const rewardableValidators = await RewardableValidators.new()
- const homeBridge = await HomeBridge.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- const feeManager = await FeeManagerNativeToErc.new()
-
- // Given
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const notUsedFee = ZERO
- const value = halfEther
-
- const rewardAddressBalanceBefore = await web3.eth.getBalance(rewards[0])
-
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [notUsedFee, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
-
- await homeBridge.sendTransaction({
- from: user,
- value
- }).should.be.fulfilled
-
- // When
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(user, value, transactionHash, homeBridge.address)
- const signature = await sign(validators[0], message)
- const { logs } = await homeBridge.submitSignature(signature, message, { from: validators[0] }).should.be.fulfilled
-
- // Then
- logs.length.should.be.equal(2)
- logs[1].event.should.be.equal('CollectedSignatures')
-
- const bridgeBalance = toBN(await web3.eth.getBalance(homeBridge.address))
- bridgeBalance.should.be.bignumber.equal(value)
-
- const rewardAddressBalanceAfter = toBN(await web3.eth.getBalance(rewards[0]))
- rewardAddressBalanceAfter.should.be.bignumber.equal(rewardAddressBalanceBefore)
- })
- })
-
- describe('#feeManager_OneDirection_ExecuteAffirmation', async () => {
- it('should distribute fee to validator', async () => {
- // Initialize
- const owner = accounts[9]
- const validators = [accounts[1]]
- const rewards = [accounts[2]]
- const requiredSignatures = 1
- const rewardableValidators = await RewardableValidators.new()
- const homeBridge = await HomeBridge.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- const feeManager = await FeeManagerNativeToErc.new()
-
- // Given
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const notUsedFee = ZERO
- const value = halfEther
- const valueCalc = 0.5 * (1 - fee)
- const finalUserValue = ether(valueCalc.toString())
- const feeAmountCalc = 0.5 * fee
- const feeAmount = ether(feeAmountCalc.toString())
-
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [notUsedFee, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
- await homeBridge.sendTransaction({
- from: accounts[0],
- value: halfEther
- }).should.be.fulfilled
-
- const recipient = accounts[5]
- const balanceBefore = toBN(await web3.eth.getBalance(recipient))
- const rewardAddressBalanceBefore = toBN(await web3.eth.getBalance(rewards[0]))
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- // When
- const { logs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[0]
- }).should.be.fulfilled
-
- // Then
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: validators[0],
- transactionHash
- })
- expectEventInLogs(logs, 'FeeDistributedFromAffirmation', {
- feeAmount,
- transactionHash
- })
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
-
- const balanceAfter = toBN(await web3.eth.getBalance(recipient))
- const rewardAddressBalanceAfter = toBN(await web3.eth.getBalance(rewards[0]))
-
- rewardAddressBalanceAfter.should.be.bignumber.equal(rewardAddressBalanceBefore.add(feeAmount))
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(finalUserValue))
- })
- it('should distribute fee to 3 validators', async () => {
- // Given
- const owner = accounts[9]
- const validators = [accounts[1], accounts[2], accounts[3]]
- const rewards = [accounts[4], accounts[5], accounts[6]]
- const requiredSignatures = 2
- const rewardableValidators = await RewardableValidators.new()
-
- const value = halfEther
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const notUsedFee = ZERO
- const feePerValidator = toBN(166666666666666)
- const feePerValidatorPlusDiff = toBN(166666666666668)
- const valueCalc = 0.5 * (1 - fee)
- const finalUserValue = ether(valueCalc.toString())
- const feeAmountCalc = 0.5 * fee
- const feeAmount = ether(feeAmountCalc.toString())
-
- const homeBridge = await HomeBridge.new()
- const feeManager = await FeeManagerNativeToErc.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [notUsedFee, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
- await homeBridge.sendTransaction({
- from: accounts[0],
- value: halfEther
- }).should.be.fulfilled
-
- const recipient = accounts[8]
- const balanceBefore = toBN(await web3.eth.getBalance(recipient))
-
- const initialBalanceRewardAddress1 = toBN(await web3.eth.getBalance(rewards[0]))
- const initialBalanceRewardAddress2 = toBN(await web3.eth.getBalance(rewards[1]))
- const initialBalanceRewardAddress3 = toBN(await web3.eth.getBalance(rewards[2]))
-
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- // When
- const { logs: logsValidator1 } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[0]
- }).should.be.fulfilled
- const { logs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[1]
- }).should.be.fulfilled
-
- // Then
- logsValidator1.length.should.be.equals(1)
-
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: validators[1],
- transactionHash
- })
- expectEventInLogs(logs, 'FeeDistributedFromAffirmation', {
- feeAmount,
- transactionHash
- })
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
-
- const balanceAfter = toBN(await web3.eth.getBalance(recipient))
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(finalUserValue))
-
- const updatedBalanceRewardAddress1 = toBN(await web3.eth.getBalance(rewards[0]))
- const updatedBalanceRewardAddress2 = toBN(await web3.eth.getBalance(rewards[1]))
- const updatedBalanceRewardAddress3 = toBN(await web3.eth.getBalance(rewards[2]))
-
- expect(
- updatedBalanceRewardAddress1.eq(initialBalanceRewardAddress1.add(feePerValidator)) ||
- updatedBalanceRewardAddress1.eq(initialBalanceRewardAddress1.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- expect(
- updatedBalanceRewardAddress2.eq(initialBalanceRewardAddress2.add(feePerValidator)) ||
- updatedBalanceRewardAddress2.eq(initialBalanceRewardAddress2.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- expect(
- updatedBalanceRewardAddress3.eq(initialBalanceRewardAddress3.add(feePerValidator)) ||
- updatedBalanceRewardAddress3.eq(initialBalanceRewardAddress3.add(feePerValidatorPlusDiff))
- ).to.equal(true)
-
- const homeBridgeBalance = toBN(await web3.eth.getBalance(homeBridge.address))
- homeBridgeBalance.should.be.bignumber.equal(ZERO)
- })
- it('should distribute fee to 5 validators', async () => {
- // Given
- const owner = accounts[0]
- const validators = [accounts[0], accounts[1], accounts[2], accounts[3], accounts[4]]
- const rewards = [accounts[5], accounts[6], accounts[7], accounts[8], accounts[9]]
- const requiredSignatures = 5
-
- const value = halfEther
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const notUsedFee = ZERO
- const feeAmountCalc = 0.5 * fee
- const feeAmount = ether(feeAmountCalc.toString())
- const feePerValidator = feeAmount.div(toBN(5))
-
- const rewardableValidators = await RewardableValidators.new()
- const homeBridge = await HomeBridge.new()
- const feeManager = await FeeManagerNativeToErc.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [notUsedFee, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
- await homeBridge.sendTransaction({
- from: accounts[0],
- value: halfEther
- }).should.be.fulfilled
-
- const recipient = '0xf4BEF13F9f4f2B203FAF0C3cBbaAbe1afE056955'
- const balanceBefore = toBN(await web3.eth.getBalance(recipient))
-
- const initialBalanceRewardAddress1 = toBN(await web3.eth.getBalance(rewards[0]))
- const initialBalanceRewardAddress2 = toBN(await web3.eth.getBalance(rewards[1]))
- const initialBalanceRewardAddress3 = toBN(await web3.eth.getBalance(rewards[2]))
- const initialBalanceRewardAddress4 = toBN(await web3.eth.getBalance(rewards[3]))
- const initialBalanceRewardAddress5 = toBN(await web3.eth.getBalance(rewards[4]))
-
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- // When
- const { logs: logsValidator1 } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[0]
- }).should.be.fulfilled
- await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[1]
- }).should.be.fulfilled
- await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[2]
- }).should.be.fulfilled
- await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[3]
- }).should.be.fulfilled
- const { logs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[4]
- }).should.be.fulfilled
-
- // Then
- logsValidator1.length.should.be.equals(1)
-
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: validators[4],
- transactionHash
- })
- expectEventInLogs(logs, 'FeeDistributedFromAffirmation', {
- feeAmount,
- transactionHash
- })
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
-
- const balanceAfter = toBN(await web3.eth.getBalance(recipient))
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(value.sub(feeAmount)))
-
- const updatedBalanceRewardAddress1 = toBN(await web3.eth.getBalance(rewards[0]))
- const updatedBalanceRewardAddress2 = toBN(await web3.eth.getBalance(rewards[1]))
- const updatedBalanceRewardAddress3 = toBN(await web3.eth.getBalance(rewards[2]))
- const updatedBalanceRewardAddress4 = toBN(await web3.eth.getBalance(rewards[3]))
- const updatedBalanceRewardAddress5 = toBN(await web3.eth.getBalance(rewards[4]))
-
- updatedBalanceRewardAddress1.should.be.bignumber.equal(initialBalanceRewardAddress1.add(feePerValidator))
- updatedBalanceRewardAddress2.should.be.bignumber.equal(initialBalanceRewardAddress2.add(feePerValidator))
- updatedBalanceRewardAddress3.should.be.bignumber.equal(initialBalanceRewardAddress3.add(feePerValidator))
- updatedBalanceRewardAddress4.should.be.bignumber.equal(initialBalanceRewardAddress4.add(feePerValidator))
- updatedBalanceRewardAddress5.should.be.bignumber.equal(initialBalanceRewardAddress5.add(feePerValidator))
- })
- it('should distribute fee to max allowed number of validators', async () => {
- // Given
- const owner = accounts[0]
- const validators = createAccounts(web3, MAX_VALIDATORS)
- validators[0] = accounts[2]
- const rewards = createAccounts(web3, MAX_VALIDATORS)
- const requiredSignatures = 1
-
- const value = halfEther
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const notUsedFee = ZERO
-
- const rewardableValidators = await RewardableValidators.new()
- const homeBridge = await HomeBridge.new()
- const feeManager = await FeeManagerNativeToErc.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [notUsedFee, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
- await homeBridge.sendTransaction({
- from: accounts[0],
- value: halfEther
- }).should.be.fulfilled
-
- const recipient = '0xf4BEF13F9f4f2B203FAF0C3cBbaAbe1afE056955'
-
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- // When
- const { receipt } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[0]
- }).should.be.fulfilled
- expect(receipt.gasUsed).to.be.lte(MAX_GAS)
- })
- })
-
- describe('#feeManager_BothDirections_fallback', () => {
- it('should subtract fee from value', async () => {
- // Initialize
- const user = accounts[0]
- const owner = accounts[9]
- const validators = [accounts[1]]
- const rewards = [accounts[2]]
- const requiredSignatures = 1
- const rewardableValidators = await RewardableValidators.new()
- const homeBridge = await HomeBridge.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- const feeManager = await FeeManagerNativeToErcBothDirections.new()
-
- // Given
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const value = halfEther
-
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [feeInWei, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
-
- // When
- const { logs } = await homeBridge.sendTransaction({
- from: user,
- value
- }).should.be.fulfilled
-
- // Then
- const valueCalc = 0.5 * (1 - fee)
- const finalValue = ether(valueCalc.toString())
- expectEventInLogs(logs, 'UserRequestForSignature', {
- recipient: user,
- value: finalValue
- })
- })
- })
-
- describe('#feeManager_BothDirections_relayRequest', () => {
- it('should subtract fee from value', async () => {
- // Initialize
- const user = accounts[0]
- const user2 = accounts[4]
- const owner = accounts[9]
- const validators = [accounts[1]]
- const rewards = [accounts[2]]
- const requiredSignatures = 1
- const rewardableValidators = await RewardableValidators.new()
- const homeBridge = await HomeBridge.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- const feeManager = await FeeManagerNativeToErcBothDirections.new()
-
- // Given
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const value = halfEther
-
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [feeInWei, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
-
- // When
- const { logs } = await homeBridge.relayTokens(user2, {
- from: user,
- value
- }).should.be.fulfilled
-
- // Then
- const valueCalc = 0.5 * (1 - fee)
- const finalValue = ether(valueCalc.toString())
- expectEventInLogs(logs, 'UserRequestForSignature', {
- recipient: user2,
- value: finalValue
- })
- })
- })
-
- describe('#feeManager_BothDirections_submitSignature', () => {
- it('should distribute fee to validator', async () => {
- // Initialize
- const user = accounts[0]
- const owner = accounts[9]
- const validators = [accounts[1]]
- const rewards = [accounts[2]]
- const requiredSignatures = 1
- const rewardableValidators = await RewardableValidators.new()
- const homeBridge = await HomeBridge.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- const feeManager = await FeeManagerNativeToErcBothDirections.new()
-
- // Given
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const initialValue = halfEther
- const valueCalc = 0.5 * (1 - fee)
- const value = ether(valueCalc.toString())
- const feeAmountCalc = 0.5 * fee
- const feeAmount = ether(feeAmountCalc.toString())
-
- const rewardAddressBalanceBefore = toBN(await web3.eth.getBalance(rewards[0]))
-
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [feeInWei, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
-
- await homeBridge.sendTransaction({
- from: user,
- value: initialValue
- }).should.be.fulfilled
-
- // When
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(user, value, transactionHash, homeBridge.address)
- const signature = await sign(validators[0], message)
- const { logs } = await homeBridge.submitSignature(signature, message, { from: validators[0] }).should.be.fulfilled
-
- // Then
- logs.length.should.be.equal(3)
- logs[1].event.should.be.equal('CollectedSignatures')
- expectEventInLogs(logs, 'FeeDistributedFromSignatures', {
- feeAmount,
- transactionHash
- })
-
- const bridgeBalance = toBN(await web3.eth.getBalance(homeBridge.address))
- bridgeBalance.should.be.bignumber.equal(value)
-
- const rewardAddressBalanceAfter = toBN(await web3.eth.getBalance(rewards[0]))
- rewardAddressBalanceAfter.should.be.bignumber.equal(rewardAddressBalanceBefore.add(feeAmount))
- })
- it('should distribute fee to 3 validators', async () => {
- // Initialize
- const user = accounts[0]
- const owner = accounts[9]
- const validators = [accounts[1], accounts[2], accounts[3]]
- const rewards = [accounts[4], accounts[5], accounts[6]]
- const requiredSignatures = 3
- const rewardableValidators = await RewardableValidators.new()
- const homeBridge = await HomeBridge.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- const feeManager = await FeeManagerNativeToErcBothDirections.new()
-
- // Given
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const feePerValidator = toBN(166666666666666)
- const feePerValidatorPlusDiff = toBN(166666666666668)
- const initialValue = halfEther
- const valueCalc = 0.5 * (1 - fee)
- const value = ether(valueCalc.toString())
- const feeAmountCalc = 0.5 * fee
- const feeAmount = ether(feeAmountCalc.toString())
-
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [feeInWei, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
-
- await homeBridge.sendTransaction({
- from: user,
- value: initialValue
- }).should.be.fulfilled
-
- const initialBalanceRewardAddress1 = toBN(await web3.eth.getBalance(rewards[0]))
- const initialBalanceRewardAddress2 = toBN(await web3.eth.getBalance(rewards[1]))
- const initialBalanceRewardAddress3 = toBN(await web3.eth.getBalance(rewards[2]))
-
- // When
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(user, value, transactionHash, homeBridge.address)
- const signature = await sign(validators[0], message)
- const signature2 = await sign(validators[1], message)
- const signature3 = await sign(validators[2], message)
-
- await homeBridge.submitSignature(signature, message, { from: validators[0] }).should.be.fulfilled
- await homeBridge.submitSignature(signature2, message, { from: validators[1] }).should.be.fulfilled
- const { logs } = await homeBridge.submitSignature(signature3, message, {
- from: validators[2]
- }).should.be.fulfilled
-
- // Then
- logs.length.should.be.equal(3)
- logs[1].event.should.be.equal('CollectedSignatures')
- expectEventInLogs(logs, 'FeeDistributedFromSignatures', {
- feeAmount,
- transactionHash
- })
-
- const updatedBalanceRewardAddress1 = toBN(await web3.eth.getBalance(rewards[0]))
- const updatedBalanceRewardAddress2 = toBN(await web3.eth.getBalance(rewards[1]))
- const updatedBalanceRewardAddress3 = toBN(await web3.eth.getBalance(rewards[2]))
-
- expect(
- updatedBalanceRewardAddress1.eq(initialBalanceRewardAddress1.add(feePerValidator)) ||
- updatedBalanceRewardAddress1.eq(initialBalanceRewardAddress1.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- expect(
- updatedBalanceRewardAddress2.eq(initialBalanceRewardAddress2.add(feePerValidator)) ||
- updatedBalanceRewardAddress2.eq(initialBalanceRewardAddress2.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- expect(
- updatedBalanceRewardAddress3.eq(initialBalanceRewardAddress3.add(feePerValidator)) ||
- updatedBalanceRewardAddress3.eq(initialBalanceRewardAddress3.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- })
- it('should distribute fee to 5 validators', async () => {
- // Initialize
- const user = accounts[0]
- const owner = accounts[9]
- const validators = [accounts[0], accounts[1], accounts[2], accounts[3], accounts[4]]
- const rewards = [accounts[5], accounts[6], accounts[7], accounts[8], accounts[9]]
- const requiredSignatures = 5
- const rewardableValidators = await RewardableValidators.new()
- const homeBridge = await HomeBridge.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- const feeManager = await FeeManagerNativeToErcBothDirections.new()
-
- // Given
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const initialValue = halfEther
- const valueCalc = 0.5 * (1 - fee)
- const value = ether(valueCalc.toString())
- const feeAmountCalc = 0.5 * fee
- const feeAmount = ether(feeAmountCalc.toString())
- const feePerValidator = feeAmount.div(toBN(5))
-
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [feeInWei, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
-
- await homeBridge.sendTransaction({
- from: user,
- value: initialValue
- }).should.be.fulfilled
-
- const initialBalanceRewardAddress1 = toBN(await web3.eth.getBalance(rewards[0]))
- const initialBalanceRewardAddress2 = toBN(await web3.eth.getBalance(rewards[1]))
- const initialBalanceRewardAddress3 = toBN(await web3.eth.getBalance(rewards[2]))
- const initialBalanceRewardAddress4 = toBN(await web3.eth.getBalance(rewards[3]))
- const initialBalanceRewardAddress5 = toBN(await web3.eth.getBalance(rewards[4]))
-
- // When
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(user, value, transactionHash, homeBridge.address)
- const signature = await sign(validators[0], message)
- const signature2 = await sign(validators[1], message)
- const signature3 = await sign(validators[2], message)
- const signature4 = await sign(validators[3], message)
- const signature5 = await sign(validators[4], message)
-
- await homeBridge.submitSignature(signature, message, { from: validators[0] }).should.be.fulfilled
- await homeBridge.submitSignature(signature2, message, { from: validators[1] }).should.be.fulfilled
- await homeBridge.submitSignature(signature3, message, { from: validators[2] }).should.be.fulfilled
- await homeBridge.submitSignature(signature4, message, { from: validators[3] }).should.be.fulfilled
- const { logs } = await homeBridge.submitSignature(signature5, message, {
- from: validators[4]
- }).should.be.fulfilled
-
- // Then
- logs.length.should.be.equal(3)
- logs[1].event.should.be.equal('CollectedSignatures')
- expectEventInLogs(logs, 'FeeDistributedFromSignatures', {
- feeAmount,
- transactionHash
- })
-
- const updatedBalanceRewardAddress1 = toBN(await web3.eth.getBalance(rewards[0]))
- const updatedBalanceRewardAddress2 = toBN(await web3.eth.getBalance(rewards[1]))
- const updatedBalanceRewardAddress3 = toBN(await web3.eth.getBalance(rewards[2]))
- const updatedBalanceRewardAddress4 = toBN(await web3.eth.getBalance(rewards[3]))
- const updatedBalanceRewardAddress5 = toBN(await web3.eth.getBalance(rewards[4]))
-
- updatedBalanceRewardAddress1.should.be.bignumber.equal(initialBalanceRewardAddress1.add(feePerValidator))
- updatedBalanceRewardAddress2.should.be.bignumber.equal(initialBalanceRewardAddress2.add(feePerValidator))
- updatedBalanceRewardAddress3.should.be.bignumber.equal(initialBalanceRewardAddress3.add(feePerValidator))
- updatedBalanceRewardAddress4.should.be.bignumber.equal(initialBalanceRewardAddress4.add(feePerValidator))
- updatedBalanceRewardAddress5.should.be.bignumber.equal(initialBalanceRewardAddress5.add(feePerValidator))
- })
- it('should distribute fee to max allowed number of validators', async () => {
- // Initialize
- const user = accounts[0]
- const owner = accounts[9]
- const validators = createAccounts(web3, MAX_VALIDATORS)
- validators[0] = accounts[2]
- const rewards = createAccounts(web3, MAX_VALIDATORS)
- const requiredSignatures = 1
- const rewardableValidators = await RewardableValidators.new()
- const homeBridge = await HomeBridge.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- const feeManager = await FeeManagerNativeToErcBothDirections.new()
-
- // Given
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const initialValue = halfEther
- const valueCalc = 0.5 * (1 - fee)
- const value = ether(valueCalc.toString())
-
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [feeInWei, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
-
- await homeBridge.sendTransaction({
- from: user,
- value: initialValue
- }).should.be.fulfilled
-
- // When
- const transactionHash = '0x1045bfe274b88120a6b1e5d01b5ec00ab5d01098346e90e7c7a3c9b8f0181c80'
- const message = createMessage(user, value, transactionHash, homeBridge.address)
- const signature = await sign(validators[0], message)
-
- const { receipt } = await homeBridge.submitSignature(signature, message, {
- from: validators[0]
- }).should.be.fulfilled
- expect(receipt.gasUsed).to.be.lte(MAX_GAS)
- })
- })
-
- describe('#feeManager_BothDirections_ExecuteAffirmation', async () => {
- it('should distribute fee to validator', async () => {
- // Initialize
- const owner = accounts[9]
- const validators = [accounts[1]]
- const rewards = [accounts[2]]
- const requiredSignatures = 1
- const rewardableValidators = await RewardableValidators.new()
- const homeBridge = await HomeBridge.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- const feeManager = await FeeManagerNativeToErcBothDirections.new()
-
- // Given
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const value = halfEther
- const valueCalc = 0.5 * (1 - fee)
- const finalUserValue = ether(valueCalc.toString())
- const feeAmountCalc = 0.5 * fee
- const feeAmount = ether(feeAmountCalc.toString())
-
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [feeInWei, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
- await homeBridge.sendTransaction({
- from: accounts[0],
- value: halfEther
- }).should.be.fulfilled
-
- const recipient = accounts[5]
- const balanceBefore = toBN(await web3.eth.getBalance(recipient))
- const rewardAddressBalanceBefore = toBN(await web3.eth.getBalance(rewards[0]))
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- // When
- const { logs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[0]
- }).should.be.fulfilled
-
- // Then
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: validators[0],
- transactionHash
- })
- expectEventInLogs(logs, 'FeeDistributedFromAffirmation', {
- feeAmount,
- transactionHash
- })
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
-
- const balanceAfter = toBN(await web3.eth.getBalance(recipient))
- const rewardAddressBalanceAfter = toBN(await web3.eth.getBalance(rewards[0]))
-
- rewardAddressBalanceAfter.should.be.bignumber.equal(rewardAddressBalanceBefore.add(feeAmount))
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(finalUserValue))
- })
- it('should distribute fee to 3 validators', async () => {
- // Given
- const owner = accounts[9]
- const validators = [accounts[1], accounts[2], accounts[3]]
- const rewards = [accounts[4], accounts[5], accounts[6]]
- const requiredSignatures = 2
- const rewardableValidators = await RewardableValidators.new()
-
- const value = halfEther
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const feePerValidator = toBN(166666666666666)
- const feePerValidatorPlusDiff = toBN(166666666666668)
- const valueCalc = 0.5 * (1 - fee)
- const finalUserValue = ether(valueCalc.toString())
- const feeAmountCalc = 0.5 * fee
- const feeAmount = ether(feeAmountCalc.toString())
-
- const homeBridge = await HomeBridge.new()
- const feeManager = await FeeManagerNativeToErcBothDirections.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [feeInWei, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
- await homeBridge.sendTransaction({
- from: accounts[0],
- value: halfEther
- }).should.be.fulfilled
-
- const recipient = accounts[8]
- const balanceBefore = toBN(await web3.eth.getBalance(recipient))
-
- const initialBalanceRewardAddress1 = toBN(await web3.eth.getBalance(rewards[0]))
- const initialBalanceRewardAddress2 = toBN(await web3.eth.getBalance(rewards[1]))
- const initialBalanceRewardAddress3 = toBN(await web3.eth.getBalance(rewards[2]))
-
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- // When
- const { logs: logsValidator1 } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[0]
- }).should.be.fulfilled
- const { logs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[1]
- }).should.be.fulfilled
-
- // Then
- logsValidator1.length.should.be.equals(1)
-
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: validators[1],
- transactionHash
- })
- expectEventInLogs(logs, 'FeeDistributedFromAffirmation', {
- feeAmount,
- transactionHash
- })
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
-
- const balanceAfter = toBN(await web3.eth.getBalance(recipient))
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(finalUserValue))
-
- const updatedBalanceRewardAddress1 = toBN(await web3.eth.getBalance(rewards[0]))
- const updatedBalanceRewardAddress2 = toBN(await web3.eth.getBalance(rewards[1]))
- const updatedBalanceRewardAddress3 = toBN(await web3.eth.getBalance(rewards[2]))
-
- expect(
- updatedBalanceRewardAddress1.eq(initialBalanceRewardAddress1.add(feePerValidator)) ||
- updatedBalanceRewardAddress1.eq(initialBalanceRewardAddress1.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- expect(
- updatedBalanceRewardAddress2.eq(initialBalanceRewardAddress2.add(feePerValidator)) ||
- updatedBalanceRewardAddress2.eq(initialBalanceRewardAddress2.add(feePerValidatorPlusDiff))
- ).to.equal(true)
- expect(
- updatedBalanceRewardAddress3.eq(initialBalanceRewardAddress3.add(feePerValidator)) ||
- updatedBalanceRewardAddress3.eq(initialBalanceRewardAddress3.add(feePerValidatorPlusDiff))
- ).to.equal(true)
-
- const homeBridgeBalance = toBN(await web3.eth.getBalance(homeBridge.address))
- homeBridgeBalance.should.be.bignumber.equal('0')
- })
- it('should distribute fee to 5 validators', async () => {
- // Given
- const owner = accounts[0]
- const validators = [accounts[0], accounts[1], accounts[2], accounts[3], accounts[4]]
- const rewards = [accounts[5], accounts[6], accounts[7], accounts[8], accounts[9]]
- const requiredSignatures = 5
-
- const value = halfEther
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
- const feeAmountCalc = 0.5 * fee
- const feeAmount = ether(feeAmountCalc.toString())
- const feePerValidator = feeAmount.div(toBN(5))
-
- const rewardableValidators = await RewardableValidators.new()
- const homeBridge = await HomeBridge.new()
- const feeManager = await FeeManagerNativeToErcBothDirections.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [feeInWei, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
- await homeBridge.sendTransaction({
- from: accounts[0],
- value: halfEther
- }).should.be.fulfilled
-
- const recipient = '0xf4BEF13F9f4f2B203FAF0C3cBbaAbe1afE056955'
- const balanceBefore = toBN(await web3.eth.getBalance(recipient))
-
- const initialBalanceRewardAddress1 = toBN(await web3.eth.getBalance(rewards[0]))
- const initialBalanceRewardAddress2 = toBN(await web3.eth.getBalance(rewards[1]))
- const initialBalanceRewardAddress3 = toBN(await web3.eth.getBalance(rewards[2]))
- const initialBalanceRewardAddress4 = toBN(await web3.eth.getBalance(rewards[3]))
- const initialBalanceRewardAddress5 = toBN(await web3.eth.getBalance(rewards[4]))
-
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- // When
- const { logs: logsValidator1 } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[0]
- }).should.be.fulfilled
- await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[1]
- }).should.be.fulfilled
- await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[2]
- }).should.be.fulfilled
- await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[3]
- }).should.be.fulfilled
- const { logs } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[4]
- }).should.be.fulfilled
-
- // Then
- logsValidator1.length.should.be.equals(1)
-
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: validators[4],
- transactionHash
- })
- expectEventInLogs(logs, 'FeeDistributedFromAffirmation', {
- feeAmount,
- transactionHash
- })
- expectEventInLogs(logs, 'AffirmationCompleted', {
- recipient,
- value,
- transactionHash
- })
-
- const balanceAfter = toBN(await web3.eth.getBalance(recipient))
- balanceAfter.should.be.bignumber.equal(balanceBefore.add(value.sub(feeAmount)))
-
- const updatedBalanceRewardAddress1 = toBN(await web3.eth.getBalance(rewards[0]))
- const updatedBalanceRewardAddress2 = toBN(await web3.eth.getBalance(rewards[1]))
- const updatedBalanceRewardAddress3 = toBN(await web3.eth.getBalance(rewards[2]))
- const updatedBalanceRewardAddress4 = toBN(await web3.eth.getBalance(rewards[3]))
- const updatedBalanceRewardAddress5 = toBN(await web3.eth.getBalance(rewards[4]))
-
- updatedBalanceRewardAddress1.should.be.bignumber.equal(initialBalanceRewardAddress1.add(feePerValidator))
- updatedBalanceRewardAddress2.should.be.bignumber.equal(initialBalanceRewardAddress2.add(feePerValidator))
- updatedBalanceRewardAddress3.should.be.bignumber.equal(initialBalanceRewardAddress3.add(feePerValidator))
- updatedBalanceRewardAddress4.should.be.bignumber.equal(initialBalanceRewardAddress4.add(feePerValidator))
- updatedBalanceRewardAddress5.should.be.bignumber.equal(initialBalanceRewardAddress5.add(feePerValidator))
- })
- it('should distribute fee to max allowed number of validators', async () => {
- // Given
- const owner = accounts[0]
- const validators = createAccounts(web3, MAX_VALIDATORS)
- validators[0] = accounts[2]
- const rewards = createAccounts(web3, MAX_VALIDATORS)
- const requiredSignatures = 1
-
- const value = halfEther
- // 0.1% fee
- const fee = 0.001
- const feeInWei = ether(fee.toString())
-
- const rewardableValidators = await RewardableValidators.new()
- const homeBridge = await HomeBridge.new()
- const feeManager = await FeeManagerNativeToErcBothDirections.new()
- await rewardableValidators.initialize(requiredSignatures, validators, rewards, owner, {
- from: owner
- }).should.be.fulfilled
- await homeBridge.rewardableInitialize(
- rewardableValidators.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- feeManager.address,
- [feeInWei, feeInWei],
- decimalShiftZero
- ).should.be.fulfilled
- await homeBridge.sendTransaction({
- from: accounts[0],
- value: halfEther
- }).should.be.fulfilled
-
- const recipient = '0xf4BEF13F9f4f2B203FAF0C3cBbaAbe1afE056955'
-
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- const { receipt } = await homeBridge.executeAffirmation(recipient, value, transactionHash, {
- from: validators[0]
- }).should.be.fulfilled
- expect(receipt.gasUsed).to.be.lte(MAX_GAS)
- })
- })
- describe('#decimalShift', async () => {
- for (const decimalShift of [2, -1]) {
- it(`Foreign to Home: works with 5 validators and 3 required signatures with decimal shift ${decimalShift}`, async () => {
- const recipient = accounts[8]
- const authoritiesFiveAccs = [accounts[1], accounts[2], accounts[3], accounts[4], accounts[5]]
- const ownerOfValidators = accounts[0]
- const validatorContractWith3Signatures = await BridgeValidators.new()
- await validatorContractWith3Signatures.initialize(3, authoritiesFiveAccs, ownerOfValidators)
-
- const homeBridgeWithThreeSigs = await HomeBridge.new()
- await homeBridgeWithThreeSigs.initialize(
- validatorContractWith3Signatures.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShift
- )
-
- const valueOnForeign = toBN('1000')
- const valueOnHome = toBN(valueOnForeign * 10 ** decimalShift)
- const transactionHash = '0x806335163828a8eda675cff9c84fa6e6c7cf06bb44cc6ec832e42fe789d01415'
-
- await homeBridgeWithThreeSigs.sendTransaction({
- from: recipient,
- value: halfEther
- }).should.be.fulfilled
-
- const balanceBeforeRecipient = toBN(await web3.eth.getBalance(recipient))
-
- const { logs } = await homeBridgeWithThreeSigs.executeAffirmation(recipient, valueOnForeign, transactionHash, {
- from: authoritiesFiveAccs[0]
- }).should.be.fulfilled
- expectEventInLogs(logs, 'SignedForAffirmation', {
- signer: authorities[0],
- transactionHash
- })
-
- await homeBridgeWithThreeSigs.executeAffirmation(recipient, valueOnForeign, transactionHash, {
- from: authoritiesFiveAccs[1]
- }).should.be.fulfilled
- const thirdSignature = await homeBridgeWithThreeSigs.executeAffirmation(
- recipient,
- valueOnForeign,
- transactionHash,
- { from: authoritiesFiveAccs[2] }
- ).should.be.fulfilled
-
- expectEventInLogs(thirdSignature.logs, 'AffirmationCompleted', {
- recipient,
- value: valueOnForeign,
- transactionHash
- })
-
- const balanceAfterRecipient = toBN(await web3.eth.getBalance(recipient))
- balanceAfterRecipient.should.be.bignumber.equal(balanceBeforeRecipient.add(valueOnHome))
- })
- it(`Foreign to Home: test decimal shift ${decimalShift}, no impact on UserRequestForSignature value`, async () => {
- homeContract = await HomeBridge.new()
- await homeContract.initialize(
- validatorContract.address,
- ['3', '2', '1'],
- gasPrice,
- requireBlockConfirmations,
- [foreignDailyLimit, foreignMaxPerTx],
- owner,
- decimalShift
- )
- const currentDay = await homeContract.getCurrentDay()
- expect(await homeContract.totalSpentPerDay(currentDay)).to.be.bignumber.equal(ZERO)
-
- const { logs } = await homeContract.sendTransaction({
- from: accounts[1],
- value: 1
- }).should.be.fulfilled
- expect(await homeContract.totalSpentPerDay(currentDay)).to.be.bignumber.equal('1')
-
- expectEventInLogs(logs, 'UserRequestForSignature', { recipient: accounts[1], value: toBN(1) })
-
- await homeContract
- .sendTransaction({
- from: accounts[1],
- value: 3
- })
- .should.be.rejectedWith(ERROR_MSG)
-
- await homeContract.setDailyLimit(4).should.be.fulfilled
- await homeContract.sendTransaction({
- from: accounts[1],
- value: 1
- }).should.be.fulfilled
-
- expect(await homeContract.totalSpentPerDay(currentDay)).to.be.bignumber.equal('2')
- })
- }
- })
-})
diff --git a/test/poa20_test.js b/test/poa20_test.js
index 906ff510f..88d58deef 100644
--- a/test/poa20_test.js
+++ b/test/poa20_test.js
@@ -4,28 +4,19 @@ const POA20RewardableMock = artifacts.require('ERC677BridgeTokenRewardableMock')
const ERC677ReceiverTest = artifacts.require('ERC677ReceiverTest.sol')
const BlockRewardTest = artifacts.require('BlockRewardMock.sol')
const StakingTest = artifacts.require('Staking.sol')
-const HomeErcToErcBridge = artifacts.require('HomeBridgeErcToErc.sol')
-const ForeignNativeToErcBridge = artifacts.require('ForeignBridgeNativeToErc.sol')
+const ForeignBridge = artifacts.require('ForeignBridgeErcToNative.sol')
const BridgeValidators = artifacts.require('BridgeValidators.sol')
-const TokenProxy = artifacts.require('TokenProxy.sol')
-const PermittableTokenMock = artifacts.require('PermittableTokenMock.sol')
const { expect } = require('chai')
const ethUtil = require('ethereumjs-util')
-const { ERROR_MSG, ERROR_MSG_OPCODE, ZERO_ADDRESS, BN } = require('./setup')
+const { ERROR_MSG, ERROR_MSG_OPCODE, ZERO_ADDRESS, BN, toBN } = require('./setup')
const { ether, expectEventInLogs } = require('./helpers/helpers')
const permitSign = require('./helpers/eip712.sign.permit')
const minPerTx = ether('0.01')
-const requireBlockConfirmations = 8
-const gasPrice = web3.utils.toWei('1', 'gwei')
const oneEther = ether('1')
-const halfEther = ether('0.5')
-const executionDailyLimit = oneEther
-const executionMaxPerTx = halfEther
const ZERO = new BN(0)
-const decimalShiftZero = 0
function testERC677BridgeToken(accounts, rewardable, permittable, createToken) {
let token
@@ -68,22 +59,22 @@ function testERC677BridgeToken(accounts, rewardable, permittable, createToken) {
describe('#bridgeContract', async () => {
it('can set bridge contract', async () => {
- const homeErcToErcContract = await HomeErcToErcBridge.new()
- expect(await isBridge(token, homeErcToErcContract.address)).to.be.equal(false)
+ const bridge = await ForeignBridge.new()
+ expect(await isBridge(token, bridge.address)).to.be.equal(false)
- await addBridge(token, homeErcToErcContract.address).should.be.fulfilled
- expect(await isBridge(token, homeErcToErcContract.address)).to.be.equal(true)
+ await addBridge(token, bridge.address).should.be.fulfilled
+ expect(await isBridge(token, bridge.address)).to.be.equal(true)
})
it('only owner can set bridge contract', async () => {
- const homeErcToErcContract = await HomeErcToErcBridge.new()
- expect(await isBridge(token, homeErcToErcContract.address)).to.be.equal(false)
+ const bridge = await ForeignBridge.new()
+ expect(await isBridge(token, bridge.address)).to.be.equal(false)
- await addBridge(token, homeErcToErcContract.address, { from: user }).should.be.rejectedWith(ERROR_MSG)
- expect(await isBridge(token, homeErcToErcContract.address)).to.be.equal(false)
+ await addBridge(token, bridge.address, { from: user }).should.be.rejectedWith(ERROR_MSG)
+ expect(await isBridge(token, bridge.address)).to.be.equal(false)
- await addBridge(token, homeErcToErcContract.address, { from: owner }).should.be.fulfilled
- expect(await isBridge(token, homeErcToErcContract.address)).to.be.equal(true)
+ await addBridge(token, bridge.address, { from: owner }).should.be.fulfilled
+ expect(await isBridge(token, bridge.address)).to.be.equal(true)
})
it('fail to set invalid bridge contract address', async () => {
@@ -243,36 +234,11 @@ function testERC677BridgeToken(accounts, rewardable, permittable, createToken) {
})
describe('#transfer', async () => {
- let homeErcToErcContract
- let foreignNativeToErcBridge
let validatorContract
beforeEach(async () => {
validatorContract = await BridgeValidators.new()
const authorities = [accounts[2]]
await validatorContract.initialize(1, authorities, owner)
- homeErcToErcContract = await HomeErcToErcBridge.new()
- await homeErcToErcContract.initialize(
- validatorContract.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [executionDailyLimit, executionMaxPerTx],
- owner,
- decimalShiftZero
- )
- foreignNativeToErcBridge = await ForeignNativeToErcBridge.new()
- await foreignNativeToErcBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [executionDailyLimit, executionMaxPerTx],
- owner,
- decimalShiftZero,
- homeErcToErcContract.address
- )
})
it('sends tokens to recipient', async () => {
await token.mint(user, '1', { from: owner }).should.be.fulfilled
@@ -288,40 +254,20 @@ function testERC677BridgeToken(accounts, rewardable, permittable, createToken) {
})
it('sends tokens to bridge contract', async () => {
- await addBridge(token, homeErcToErcContract.address).should.be.fulfilled
+ const dummyReceiver = await ERC677ReceiverTest.new()
await token.mint(user, oneEther, { from: owner }).should.be.fulfilled
- const result = await token.transfer(homeErcToErcContract.address, minPerTx, { from: user }).should.be.fulfilled
- expectEventInLogs(result.logs, 'Transfer', {
- from: user,
- to: homeErcToErcContract.address,
- value: minPerTx
- })
-
- await addBridge(token, foreignNativeToErcBridge.address).should.be.fulfilled
- const result2 = await token.transfer(foreignNativeToErcBridge.address, minPerTx, {
+ await addBridge(token, dummyReceiver.address).should.be.fulfilled
+ const { logs } = await token.transfer(dummyReceiver.address, minPerTx, {
from: user
}).should.be.fulfilled
- expectEventInLogs(result2.logs, 'Transfer', {
+ expectEventInLogs(logs, 'Transfer', {
from: user,
- to: foreignNativeToErcBridge.address,
+ to: dummyReceiver.address,
value: minPerTx
})
})
- it('fail to send tokens to bridge contract out of limits', async () => {
- const lessThanMin = ether('0.0001')
- await token.mint(user, oneEther, { from: owner }).should.be.fulfilled
-
- await addBridge(token, homeErcToErcContract.address).should.be.fulfilled
- await token.transfer(homeErcToErcContract.address, lessThanMin, { from: user }).should.be.rejectedWith(ERROR_MSG)
-
- await addBridge(token, foreignNativeToErcBridge.address).should.be.fulfilled
- await token
- .transfer(foreignNativeToErcBridge.address, lessThanMin, { from: user })
- .should.be.rejectedWith(ERROR_MSG)
- })
-
if (rewardable) {
it('fail to send tokens to BlockReward contract directly', async () => {
const amount = ether('1')
@@ -430,36 +376,11 @@ function testERC677BridgeToken(accounts, rewardable, permittable, createToken) {
})
describe('#transferAndCall', () => {
- let homeErcToErcContract
- let foreignNativeToErcBridge
let validatorContract
beforeEach(async () => {
validatorContract = await BridgeValidators.new()
const authorities = [accounts[2]]
await validatorContract.initialize(1, authorities, owner)
- homeErcToErcContract = await HomeErcToErcBridge.new()
- await homeErcToErcContract.initialize(
- validatorContract.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- token.address,
- [executionDailyLimit, executionMaxPerTx],
- owner,
- decimalShiftZero
- )
- foreignNativeToErcBridge = await ForeignNativeToErcBridge.new()
- await foreignNativeToErcBridge.initialize(
- validatorContract.address,
- token.address,
- [oneEther, halfEther, minPerTx],
- gasPrice,
- requireBlockConfirmations,
- [executionDailyLimit, executionMaxPerTx],
- owner,
- decimalShiftZero,
- homeErcToErcContract.address
- )
})
it('calls contractFallback', async () => {
const receiver = await ERC677ReceiverTest.new()
@@ -486,51 +407,26 @@ function testERC677BridgeToken(accounts, rewardable, permittable, createToken) {
})
it('sends tokens to bridge contract', async () => {
- await addBridge(token, homeErcToErcContract.address).should.be.fulfilled
+ const dummyReceiver = await ERC677ReceiverTest.new()
await token.mint(user, oneEther, { from: owner }).should.be.fulfilled
- const result = await token.transferAndCall(homeErcToErcContract.address, minPerTx, '0x', {
- from: user
- }).should.be.fulfilled
- expectEventInLogs(result.logs, 'Transfer', {
- from: user,
- to: homeErcToErcContract.address,
- value: minPerTx
- })
-
- await addBridge(token, foreignNativeToErcBridge.address).should.be.fulfilled
- const result2 = await token.transferAndCall(foreignNativeToErcBridge.address, minPerTx, '0x', { from: user })
- .should.be.fulfilled
- expectEventInLogs(result2.logs, 'Transfer', {
+ await addBridge(token, dummyReceiver.address).should.be.fulfilled
+ const { logs } = await token.transferAndCall(dummyReceiver.address, minPerTx, '0x', { from: user }).should.be
+ .fulfilled
+ expectEventInLogs(logs, 'Transfer', {
from: user,
- to: foreignNativeToErcBridge.address,
+ to: dummyReceiver.address,
value: minPerTx
})
})
it('fail to sends tokens to contract that does not contains onTokenTransfer method', async () => {
- await addBridge(token, homeErcToErcContract.address).should.be.fulfilled
await token.mint(user, oneEther, { from: owner }).should.be.fulfilled
await token
.transferAndCall(validatorContract.address, minPerTx, '0x', { from: user })
.should.be.rejectedWith(ERROR_MSG)
})
-
- it('fail to send tokens to bridge contract out of limits', async () => {
- const lessThanMin = ether('0.0001')
- await token.mint(user, oneEther, { from: owner }).should.be.fulfilled
-
- await addBridge(token, homeErcToErcContract.address).should.be.fulfilled
- await token
- .transferAndCall(homeErcToErcContract.address, lessThanMin, '0x', { from: user })
- .should.be.rejectedWith(ERROR_MSG)
-
- await addBridge(token, foreignNativeToErcBridge.address).should.be.fulfilled
- await token
- .transferAndCall(foreignNativeToErcBridge.address, lessThanMin, '0x', { from: user })
- .should.be.rejectedWith(ERROR_MSG)
- })
})
describe('#claimtokens', async () => {
it('can take send ERC20 tokens', async () => {
@@ -774,7 +670,7 @@ function testERC677BridgeToken(accounts, rewardable, permittable, createToken) {
await token.permit(holder, spender, nonce, expiry, allowed, signature.v, signature.r, signature.s).should.be
.fulfilled
;(await token.expirations.call(holder, spender)).should.be.bignumber.equal(new BN(expiry))
- const data = await token.contract.methods.approve(spender, -1).encodeABI()
+ const data = await token.contract.methods.approve(spender, infinite).encodeABI()
await web3.eth.sendTransaction({ from: holder, to: token.address, data, gas: 100000 }).should.be.fulfilled
;(await token.expirations.call(holder, spender)).should.be.bignumber.equal(ZERO)
})
@@ -800,7 +696,7 @@ function testERC677BridgeToken(accounts, rewardable, permittable, createToken) {
await token.permit(holder, spender, nonce, expiry, allowed, signature.v, signature.r, signature.s).should.be
.fulfilled
;(await token.expirations.call(holder, spender)).should.be.bignumber.equal(new BN(expiry))
- let data = await token.contract.methods.approve(spender, -2).encodeABI()
+ let data = await token.contract.methods.approve(spender, infinite.sub(toBN(1))).encodeABI()
await web3.eth.sendTransaction({ from: holder, to: token.address, data, gas: 100000 }).should.be.fulfilled
;(await token.expirations.call(holder, spender)).should.be.bignumber.equal(new BN(expiry))
data = await token.contract.methods.increaseAllowance(spender, 1).encodeABI()
@@ -957,30 +853,3 @@ contract('ERC677BridgeToken', accounts => {
contract('ERC677BridgeTokenRewardable', accounts => {
testERC677BridgeToken(accounts, true, true, args => POA20RewardableMock.new(...args))
})
-
-contract('TokenProxy', accounts => {
- const createToken = async args => {
- const impl = await PermittableTokenMock.new(...args)
- const proxy = await TokenProxy.new(impl.address, ...args)
- return PermittableTokenMock.at(proxy.address)
- }
-
- testERC677BridgeToken(accounts, false, true, createToken)
-
- describe('constants', () => {
- let token
- beforeEach(async () => {
- token = await createToken(['POA ERC20 Foundation', 'POA20', 18, 100])
- })
-
- it('should return version', async () => {
- expect(await token.version()).to.be.equal('1')
- })
-
- it('should return PERMIT_TYPEHASH', async () => {
- expect(await token.PERMIT_TYPEHASH()).to.be.equal(
- '0xea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb'
- )
- })
- })
-})
diff --git a/test/stake_token_mediators/foreign_mediator.test.js b/test/stake_token_mediators/foreign_mediator.test.js
deleted file mode 100644
index abe72037d..000000000
--- a/test/stake_token_mediators/foreign_mediator.test.js
+++ /dev/null
@@ -1,291 +0,0 @@
-const ForeignStakeTokenMediator = artifacts.require('ForeignStakeTokenMediator.sol')
-const HomeStakeTokenMediator = artifacts.require('HomeStakeTokenMediator.sol')
-const EternalStorageProxy = artifacts.require('EternalStorageProxy.sol')
-const ERC677BridgeToken = artifacts.require('ERC677BridgeToken.sol')
-const AMBMock = artifacts.require('AMBMock.sol')
-
-const { expect } = require('chai')
-const { ether, getEvents } = require('../helpers/helpers')
-const { toBN } = require('../setup')
-
-const ZERO = toBN(0)
-const halfEther = ether('0.5')
-const oneEther = ether('1')
-const twoEthers = ether('2')
-const maxGasPerTx = oneEther
-const dailyLimit = twoEthers
-const maxPerTx = oneEther
-const minPerTx = ether('0.01')
-const executionDailyLimit = dailyLimit
-const executionMaxPerTx = maxPerTx
-const exampleMessageId = '0xf308b922ab9f8a7128d9d7bc9bce22cd88b2c05c8213f0e2d8104d78e0a9ecbb'
-const otherMessageId = '0x35d3818e50234655f6aebb2a1cfbf30f59568d8a4ec72066fac5a25dbe7b8121'
-const decimalShiftZero = 0
-
-contract('ForeignStakeTokenMediator', async accounts => {
- const owner = accounts[0]
- const user = accounts[1]
- let foreignBridge
- let homeMediator
- let foreignMediator
- let token
- beforeEach(async function() {
- foreignBridge = await AMBMock.new()
- await foreignBridge.setMaxGasPerTx(maxGasPerTx)
- token = await ERC677BridgeToken.new('Test token', 'TST', 18)
- homeMediator = await HomeStakeTokenMediator.new()
- foreignMediator = await ForeignStakeTokenMediator.new()
- await foreignMediator.initialize(
- foreignBridge.address,
- homeMediator.address,
- token.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner
- ).should.be.fulfilled
- })
-
- describe('getBridgeMode', () => {
- it('should return stake bridging mode and interface', async function() {
- const bridgeModeHash = '0x16ea01e9' // 4 bytes of keccak256('stake-erc-to-erc-amb')
- expect(await foreignMediator.getBridgeMode()).to.be.equal(bridgeModeHash)
-
- const { major, minor, patch } = await foreignMediator.getBridgeInterfacesVersion()
- major.should.be.bignumber.gte(ZERO)
- minor.should.be.bignumber.gte(ZERO)
- patch.should.be.bignumber.gte(ZERO)
- })
- })
-
- describe('bridge tokens to mainnet', async () => {
- it('should use tokens from bridge balance', async () => {
- await token.mint(foreignMediator.address, twoEthers)
- await token.transferOwnership(foreignMediator.address)
-
- expect(await token.totalSupply()).to.be.bignumber.equal(twoEthers)
-
- const data = foreignMediator.contract.methods.handleBridgedTokens(user, halfEther.toString(10)).encodeABI()
- await foreignBridge.executeMessageCall(
- foreignMediator.address,
- homeMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await token.totalSupply()).to.be.bignumber.equal(twoEthers)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(foreignMediator.address)).to.be.bignumber.equal(twoEthers.sub(halfEther))
-
- const events = await getEvents(foreignMediator, { event: 'TokensBridged' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.recipient).to.be.equal(user)
- expect(events[0].returnValues.value).to.be.equal(halfEther.toString())
- expect(events[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
-
- it('should use all tokens from bridge balance', async () => {
- await token.mint(foreignMediator.address, halfEther)
- await token.transferOwnership(foreignMediator.address)
-
- expect(await token.totalSupply()).to.be.bignumber.equal(halfEther)
-
- const data = foreignMediator.contract.methods.handleBridgedTokens(user, halfEther.toString(10)).encodeABI()
- await foreignBridge.executeMessageCall(
- foreignMediator.address,
- homeMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await token.totalSupply()).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(foreignMediator.address)).to.be.bignumber.equal(ZERO)
-
- const events = await getEvents(foreignMediator, { event: 'TokensBridged' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.recipient).to.be.equal(user)
- expect(events[0].returnValues.value).to.be.equal(halfEther.toString())
- expect(events[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
-
- it('should mint lacking tokens', async () => {
- await token.mint(foreignMediator.address, halfEther)
- await token.transferOwnership(foreignMediator.address)
-
- expect(await token.totalSupply()).to.be.bignumber.equal(halfEther)
-
- const data = foreignMediator.contract.methods.handleBridgedTokens(user, ether('0.6').toString(10)).encodeABI()
- await foreignBridge.executeMessageCall(
- foreignMediator.address,
- homeMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await token.totalSupply()).to.be.bignumber.equal(ether('0.6'))
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ether('0.6'))
- expect(await token.balanceOf(foreignMediator.address)).to.be.bignumber.equal(ZERO)
-
- const events = await getEvents(foreignMediator, { event: 'TokensBridged' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.recipient).to.be.equal(user)
- expect(events[0].returnValues.value).to.be.equal(ether('0.6').toString())
- expect(events[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
-
- it('should mint lacking tokens, zero initial balance', async () => {
- await token.transferOwnership(foreignMediator.address)
-
- expect(await token.totalSupply()).to.be.bignumber.equal(ZERO)
-
- const data = foreignMediator.contract.methods.handleBridgedTokens(user, halfEther.toString(10)).encodeABI()
- await foreignBridge.executeMessageCall(
- foreignMediator.address,
- homeMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await token.totalSupply()).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(foreignMediator.address)).to.be.bignumber.equal(ZERO)
-
- const events = await getEvents(foreignMediator, { event: 'TokensBridged' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.recipient).to.be.equal(user)
- expect(events[0].returnValues.value).to.be.equal(halfEther.toString())
- expect(events[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
- })
-
- describe('return fixed tokens', async () => {
- beforeEach(async () => {
- await token.mint(user, oneEther)
- await token.transferOwnership(foreignMediator.address)
-
- expect(await token.totalSupply()).to.be.bignumber.equal(oneEther)
- })
-
- it('should free fixed tokens, without minting new tokens', async () => {
- await token.transferAndCall(foreignMediator.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- const events = await getEvents(foreignBridge, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- const transferMessageId = events[0].returnValues.messageId
- expect(await token.balanceOf(user)).to.be.bignumber.equal(halfEther)
-
- const data = foreignMediator.contract.methods.fixFailedMessage(transferMessageId).encodeABI()
- await foreignBridge.executeMessageCall(
- foreignMediator.address,
- homeMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await token.totalSupply()).to.be.bignumber.equal(oneEther)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
- expect(await token.balanceOf(foreignMediator.address)).to.be.bignumber.equal(ZERO)
- })
-
- it('should free fixed tokens, with minting new tokens', async () => {
- await token.transferAndCall(foreignMediator.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- const events = await getEvents(foreignBridge, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- const transferMessageId = events[0].returnValues.messageId
- expect(await token.balanceOf(user)).to.be.bignumber.equal(halfEther)
-
- const data1 = foreignMediator.contract.methods.handleBridgedTokens(user, halfEther.toString(10)).encodeABI()
- await foreignBridge.executeMessageCall(
- foreignMediator.address,
- homeMediator.address,
- data1,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await token.totalSupply()).to.be.bignumber.equal(oneEther)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
- expect(await token.balanceOf(foreignMediator.address)).to.be.bignumber.equal(ZERO)
-
- const data2 = foreignMediator.contract.methods.fixFailedMessage(transferMessageId).encodeABI()
- await foreignBridge.executeMessageCall(
- foreignMediator.address,
- homeMediator.address,
- data2,
- otherMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await token.totalSupply()).to.be.bignumber.equal(ether('1.5'))
- expect(await token.balanceOf(user)).to.be.bignumber.equal(ether('1.5'))
- expect(await token.balanceOf(foreignMediator.address)).to.be.bignumber.equal(ZERO)
- })
- })
-
- describe('bridge tokens from mainnet', async () => {
- beforeEach(async () => {
- await token.mint(user, oneEther)
- await token.transferOwnership(foreignMediator.address)
-
- expect(await token.totalSupply()).to.be.bignumber.equal(oneEther)
- })
-
- it('should accept tokens within limits', async () => {
- await token.transferAndCall(foreignMediator.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- const events = await getEvents(foreignBridge, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- const message = events[0].returnValues.encodedData
- const sender = `0x${message.slice(message.length - 104, message.length - 64)}`
- const bridgedValue = toBN(message.slice(message.length - 64))
- expect(sender).to.be.equal(user.toLowerCase())
- expect(bridgedValue).to.be.bignumber.equal(halfEther)
- expect(await token.totalSupply()).to.be.bignumber.equal(oneEther)
- expect(await token.balanceOf(foreignMediator.address)).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(halfEther)
- })
-
- it('should not accept zero tokens', async () => {
- await token.transferAndCall(foreignMediator.address, ZERO, '0x', { from: user }).should.be.rejected
- await token.transferAndCall(foreignMediator.address, halfEther, '0x', { from: user }).should.be.fulfilled
- })
-
- it('should not accept tokens if receiver is a mediator on the other side', async () => {
- await token.transferAndCall(foreignMediator.address, halfEther, homeMediator.address, { from: user }).should.be
- .rejected
- await token.transferAndCall(foreignMediator.address, halfEther, user, { from: user }).should.be.fulfilled
- })
- })
-
- describe('claimTokens', () => {
- it('should not allow to claim bridged token', async () => {
- const storageProxy = await EternalStorageProxy.new()
- await storageProxy.upgradeTo('1', foreignMediator.address).should.be.fulfilled
- foreignMediator = await ForeignStakeTokenMediator.at(storageProxy.address)
- token = await ERC677BridgeToken.new('test', 'TST', 18)
- await token.mint(foreignMediator.address, twoEthers, { from: owner }).should.be.fulfilled
-
- await foreignMediator.initialize(
- foreignBridge.address,
- homeMediator.address,
- token.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner
- ).should.be.fulfilled
-
- await foreignMediator.claimTokens(token.address, accounts[3], { from: accounts[3] }).should.be.rejected
- await foreignMediator.claimTokens(token.address, accounts[3], { from: owner }).should.be.rejected
- })
- })
-})
diff --git a/test/stake_token_mediators/home_mediator.test.js b/test/stake_token_mediators/home_mediator.test.js
deleted file mode 100644
index 9552b433f..000000000
--- a/test/stake_token_mediators/home_mediator.test.js
+++ /dev/null
@@ -1,440 +0,0 @@
-const ForeignStakeTokenMediator = artifacts.require('ForeignStakeTokenMediator.sol')
-const HomeStakeTokenMediator = artifacts.require('HomeStakeTokenMediator.sol')
-const ERC677BridgeTokenRewardable = artifacts.require('ERC677BridgeTokenRewardable.sol')
-const AMBMock = artifacts.require('AMBMock.sol')
-const BlockReward = artifacts.require('BlockRewardMock.sol')
-const MintHandlerMock = artifacts.require('MintHandlerMock.sol')
-
-const { expect } = require('chai')
-const { ether, expectEventInLogs, getEvents } = require('../helpers/helpers')
-const { toBN, ZERO_ADDRESS } = require('../setup')
-
-const ZERO = toBN(0)
-const halfEther = ether('0.5')
-const oneEther = ether('1')
-const twoEthers = ether('2')
-const maxGasPerTx = oneEther
-const dailyLimit = twoEthers
-const maxPerTx = oneEther
-const minPerTx = ether('0.01')
-const homeFee = ether('0.01')
-const executionDailyLimit = dailyLimit
-const executionMaxPerTx = maxPerTx
-const exampleMessageId = '0xf308b922ab9f8a7128d9d7bc9bce22cd88b2c05c8213f0e2d8104d78e0a9ecbb'
-const decimalShiftZero = 0
-
-contract('HomeStakeTokenMediator', async accounts => {
- const owner = accounts[0]
- const user = accounts[1]
- const authorities = [accounts[2], accounts[3]]
- let homeBridge
- let homeMediator
- let foreignMediator
- let token
- let blockReward
- beforeEach(async () => {
- homeBridge = await AMBMock.new()
- await homeBridge.setMaxGasPerTx(maxGasPerTx)
- token = await ERC677BridgeTokenRewardable.new('Test token', 'TST', 18, 100)
- blockReward = await BlockReward.new()
- await blockReward.setValidatorsRewards(authorities)
- await blockReward.setToken(token.address)
- await token.setBlockRewardContract(blockReward.address)
- homeMediator = await HomeStakeTokenMediator.new()
- foreignMediator = await ForeignStakeTokenMediator.new()
- })
-
- describe('rewardableInitialize', async () => {
- it('should initialize', async () => {
- expect(await homeMediator.isInitialized()).to.be.equal(false)
- expect(await homeMediator.bridgeContract()).to.be.equal(ZERO_ADDRESS)
- expect(await homeMediator.mediatorContractOnOtherSide()).to.be.equal(ZERO_ADDRESS)
- expect(await homeMediator.erc677token()).to.be.equal(ZERO_ADDRESS)
- expect(await homeMediator.dailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await homeMediator.maxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await homeMediator.minPerTx()).to.be.bignumber.equal(ZERO)
- expect(await homeMediator.executionDailyLimit()).to.be.bignumber.equal(ZERO)
- expect(await homeMediator.executionMaxPerTx()).to.be.bignumber.equal(ZERO)
- expect(await homeMediator.requestGasLimit()).to.be.bignumber.equal(ZERO)
- expect(await homeMediator.owner()).to.be.equal(ZERO_ADDRESS)
- expect(await homeMediator.getFee()).to.be.bignumber.equal(ZERO)
- expect(await homeMediator.blockRewardContract()).to.be.equal(ZERO_ADDRESS)
-
- const { logs } = await homeMediator.rewardableInitialize(
- homeBridge.address,
- foreignMediator.address,
- token.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address,
- homeFee
- ).should.be.fulfilled
-
- // already initialized
- await homeMediator.rewardableInitialize(
- homeBridge.address,
- foreignMediator.address,
- token.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- blockReward.address,
- homeFee
- ).should.be.rejected
-
- expect(await homeMediator.isInitialized()).to.be.equal(true)
- expect(await homeMediator.bridgeContract()).to.be.equal(homeBridge.address)
- expect(await homeMediator.mediatorContractOnOtherSide()).to.be.equal(foreignMediator.address)
- expect(await homeMediator.erc677token()).to.be.equal(token.address)
- expect(await homeMediator.dailyLimit()).to.be.bignumber.equal(dailyLimit)
- expect(await homeMediator.maxPerTx()).to.be.bignumber.equal(maxPerTx)
- expect(await homeMediator.minPerTx()).to.be.bignumber.equal(minPerTx)
- expect(await homeMediator.executionDailyLimit()).to.be.bignumber.equal(executionDailyLimit)
- expect(await homeMediator.executionMaxPerTx()).to.be.bignumber.equal(executionMaxPerTx)
- expect(await homeMediator.requestGasLimit()).to.be.bignumber.equal(maxGasPerTx)
- expect(await homeMediator.owner()).to.be.equal(owner)
- expect(await homeMediator.getFee()).to.be.bignumber.equal(homeFee)
- expect(await homeMediator.blockRewardContract()).to.be.equal(blockReward.address)
-
- expectEventInLogs(logs, 'ExecutionDailyLimitChanged', { newLimit: executionDailyLimit })
- expectEventInLogs(logs, 'DailyLimitChanged', { newLimit: dailyLimit })
- expectEventInLogs(logs, 'FeeUpdated', { fee: homeFee })
- })
-
- it('should not accept invalid blockReward', async () => {
- // invalid block reward
- await homeMediator.rewardableInitialize(
- homeBridge.address,
- foreignMediator.address,
- token.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner,
- foreignMediator.address,
- homeFee
- ).should.be.rejected
- })
- })
-
- describe('getBridgeMode', () => {
- it('should return stake bridging mode and interface', async function() {
- const bridgeModeHash = '0x16ea01e9' // 4 bytes of keccak256('stake-erc-to-erc-amb')
- expect(await homeMediator.getBridgeMode()).to.be.equal(bridgeModeHash)
-
- const { major, minor, patch } = await homeMediator.getBridgeInterfacesVersion()
- major.should.be.bignumber.gte(ZERO)
- minor.should.be.bignumber.gte(ZERO)
- patch.should.be.bignumber.gte(ZERO)
- })
- })
-
- describe('after initialization', async () => {
- beforeEach(async () => {
- await homeMediator.initialize(
- homeBridge.address,
- foreignMediator.address,
- token.address,
- [dailyLimit, maxPerTx, minPerTx],
- [executionDailyLimit, executionMaxPerTx],
- maxGasPerTx,
- decimalShiftZero,
- owner
- ).should.be.fulfilled
- })
-
- describe('setBlockRewardContract', async () => {
- it('should set block reward contract', async () => {
- expect(await homeMediator.blockRewardContract()).to.be.equal(ZERO_ADDRESS)
-
- await homeMediator.setBlockRewardContract(blockReward.address, { from: owner }).should.be.fulfilled
-
- expect(await homeMediator.blockRewardContract()).to.be.equal(blockReward.address)
-
- const blockReward2 = await BlockReward.new()
- await homeMediator.setBlockRewardContract(blockReward2.address, { from: owner }).should.be.fulfilled
-
- expect(await homeMediator.blockRewardContract()).to.be.equal(blockReward2.address)
- })
-
- it('should fail if not a block reward contract', async () => {
- await homeMediator.setBlockRewardContract(foreignMediator.address, { from: owner }).should.be.rejected
- })
-
- it('should fail if not an owner', async () => {
- await homeMediator.setBlockRewardContract(blockReward.address, { from: user }).should.be.rejected
- })
- })
-
- describe('setFee', async () => {
- it('should set fee', async () => {
- const { logs } = await homeMediator.setFee(ether('0.05'), { from: owner }).should.be.fulfilled
-
- expectEventInLogs(logs, 'FeeUpdated', { fee: ether('0.05') })
- })
-
- it('should fail if fee is too high', async () => {
- await homeMediator.setFee(ether('1.05'), { from: owner }).should.be.rejected
- await homeMediator.setFee(ether('1'), { from: owner }).should.be.rejected
- await homeMediator.setFee(ether('0.99'), { from: owner }).should.be.fulfilled
- })
-
- it('should fail if not an owner', async () => {
- await homeMediator.setFee(ether('0.05'), { from: user }).should.be.rejected
- })
- })
-
- describe('getFee', async () => {
- it('should get actual fee', async () => {
- await homeMediator.setFee(ether('0.05'), { from: owner }).should.be.fulfilled
-
- expect(await homeMediator.getFee()).to.be.bignumber.equal(ether('0.05'))
- })
- })
-
- describe('isFeeCollectingActivated', async () => {
- it('should return false when no block reward and no fee', async () => {
- expect(await homeMediator.isFeeCollectingActivated()).to.be.equal(false)
- })
-
- it('should return false when block reward is configured but no fee', async () => {
- await homeMediator.setBlockRewardContract(blockReward.address)
-
- expect(await homeMediator.isFeeCollectingActivated()).to.be.equal(false)
- })
-
- it('should return false when no block reward but fee is set', async () => {
- await homeMediator.setFee(ether('0.05'), { from: owner }).should.be.fulfilled
-
- expect(await homeMediator.isFeeCollectingActivated()).to.be.equal(false)
- })
-
- it('should return true when both block reward and fee are configured', async () => {
- await homeMediator.setFee(ether('0.05'), { from: owner }).should.be.fulfilled
- await homeMediator.setBlockRewardContract(blockReward.address)
-
- expect(await homeMediator.isFeeCollectingActivated()).to.be.equal(true)
- })
- })
-
- describe('calculateFee', async () => {
- it('should calculate fee for given value', async () => {
- expect(await homeMediator.calculateFee(ether('0'))).to.be.bignumber.equal(ZERO)
- expect(await homeMediator.calculateFee(ether('1'))).to.be.bignumber.equal(ZERO)
- expect(await homeMediator.calculateFee(ether('2'))).to.be.bignumber.equal(ZERO)
- expect(await homeMediator.calculateFee('21')).to.be.bignumber.equal(ZERO)
- expect(await homeMediator.calculateFee('20')).to.be.bignumber.equal(ZERO)
- expect(await homeMediator.calculateFee('19')).to.be.bignumber.equal(ZERO)
-
- await homeMediator.setFee(ether('0.05'), { from: owner }).should.be.fulfilled
-
- expect(await homeMediator.calculateFee(ether('0'))).to.be.bignumber.equal(ether('0'))
- expect(await homeMediator.calculateFee(ether('1'))).to.be.bignumber.equal(ether('0.05'))
- expect(await homeMediator.calculateFee(ether('2'))).to.be.bignumber.equal(ether('0.1'))
- expect(await homeMediator.calculateFee('21')).to.be.bignumber.equal('1')
- expect(await homeMediator.calculateFee('20')).to.be.bignumber.equal('1')
- expect(await homeMediator.calculateFee('19')).to.be.bignumber.equal('0')
- })
- })
-
- describe('bridge tokens from xDai chain', async () => {
- beforeEach(async () => {
- await token.mint(user, oneEther)
- await token.transferOwnership(homeMediator.address)
-
- expect(await token.totalSupply()).to.be.bignumber.equal(oneEther)
- })
-
- it('should accept tokens, no fee', async () => {
- await homeMediator.setBlockRewardContract(blockReward.address)
- await token.transferAndCall(homeMediator.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- const events = await getEvents(homeBridge, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- const message = events[0].returnValues.encodedData
- const bridgedValue = toBN(message.slice(message.length - 64))
- expect(bridgedValue).to.be.bignumber.equal(halfEther)
- expect(await token.totalSupply()).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(homeMediator.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(blockReward.address)).to.be.bignumber.equal(ZERO)
- })
-
- it('should accept tokens, configured fee', async () => {
- await homeMediator.setBlockRewardContract(blockReward.address)
- await homeMediator.setFee(ether('0.1')).should.be.fulfilled
-
- await token.transferAndCall(homeMediator.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- const events = await getEvents(homeBridge, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- const message = events[0].returnValues.encodedData
- const bridgedValue = toBN(message.slice(message.length - 64))
-
- expect(bridgedValue).to.be.bignumber.equal(ether('0.45'))
- expect(await token.totalSupply()).to.be.bignumber.equal(ether('0.55'))
- expect(await token.balanceOf(homeMediator.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(blockReward.address)).to.be.bignumber.equal(ether('0.05'))
- })
-
- it('should accept tokens, block reward contract is not configured', async () => {
- await homeMediator.setFee(ether('0.1')).should.be.fulfilled
-
- await token.transferAndCall(homeMediator.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- const events = await getEvents(homeBridge, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- const message = events[0].returnValues.encodedData
- const bridgedValue = toBN(message.slice(message.length - 64))
-
- expect(bridgedValue).to.be.bignumber.equal(halfEther)
- expect(await token.totalSupply()).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(homeMediator.address)).to.be.bignumber.equal(ZERO)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(blockReward.address)).to.be.bignumber.equal(ZERO)
- })
-
- it('should not accept zero tokens', async () => {
- await token.transferAndCall(homeMediator.address, ZERO, '0x', { from: user }).should.be.rejected
- await token.transferAndCall(homeMediator.address, halfEther, '0x', { from: user }).should.be.fulfilled
- })
-
- it('should not accept tokens if receiver is a mediator on the other side', async () => {
- await token.transferAndCall(homeMediator.address, halfEther, foreignMediator.address, { from: user }).should.be
- .rejected
- await token.transferAndCall(homeMediator.address, halfEther, user, { from: user }).should.be.fulfilled
- })
- })
-
- describe('bridge tokens to xDai chain', async () => {
- it('should mint new tokens ', async () => {
- await token.transferOwnership(homeMediator.address)
-
- expect(await token.totalSupply()).to.be.bignumber.equal(ZERO)
-
- const data = homeMediator.contract.methods.handleBridgedTokens(user, halfEther.toString(10)).encodeABI()
- await homeBridge.executeMessageCall(
- homeMediator.address,
- foreignMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await token.totalSupply()).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(homeMediator.address)).to.be.bignumber.equal(ZERO)
-
- const events = await getEvents(homeMediator, { event: 'TokensBridged' })
- expect(events.length).to.be.equal(1)
- expect(events[0].returnValues.recipient).to.be.equal(user)
- expect(events[0].returnValues.value).to.be.equal(halfEther.toString())
- expect(events[0].returnValues.messageId).to.be.equal(exampleMessageId)
- })
- })
-
- describe('return fixed tokens', async () => {
- it('should mint fixed tokens,', async () => {
- await token.mint(user, oneEther)
- await token.transferOwnership(homeMediator.address)
-
- expect(await token.totalSupply()).to.be.bignumber.equal(oneEther)
-
- await token.transferAndCall(homeMediator.address, halfEther, '0x', { from: user }).should.be.fulfilled
-
- const events = await getEvents(homeBridge, { event: 'MockedEvent' })
- expect(events.length).to.be.equal(1)
- const transferMessageId = events[0].returnValues.messageId
- expect(await token.balanceOf(user)).to.be.bignumber.equal(halfEther)
- expect(await token.totalSupply()).to.be.bignumber.equal(halfEther)
-
- const data = homeMediator.contract.methods.fixFailedMessage(transferMessageId).encodeABI()
- await homeBridge.executeMessageCall(
- homeMediator.address,
- foreignMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await token.totalSupply()).to.be.bignumber.equal(oneEther)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(oneEther)
- expect(await token.balanceOf(homeMediator.address)).to.be.bignumber.equal(ZERO)
- })
- })
-
- describe('transferTokenOwnership', async () => {
- it('should transfer token ownership to different contract', async () => {
- await token.transferOwnership(homeMediator.address)
-
- expect(await token.owner()).to.be.equal(homeMediator.address)
-
- await homeMediator.transferTokenOwnership(accounts[2]).should.be.fulfilled
-
- expect(await token.owner()).to.be.equal(accounts[2])
- })
-
- it('should fail if not an owner', async () => {
- await token.transferOwnership(homeMediator.address)
-
- await homeMediator.transferTokenOwnership(accounts[2], { from: user }).should.be.rejected
- })
-
- it('should fail if not a current token owner', async () => {
- await homeMediator.transferTokenOwnership(accounts[2], { from: owner }).should.be.rejected
- })
- })
-
- describe('mintHandler', async () => {
- let mintHandler
-
- beforeEach(async () => {
- mintHandler = await MintHandlerMock.new(token.address)
- await mintHandler.addBridge(homeMediator.address)
- })
-
- it('should allow to set different mint handler', async () => {
- expect(await homeMediator.getMintHandler()).to.be.equal(token.address)
-
- await homeMediator.setMintHandler(mintHandler.address, { from: owner }).should.be.fulfilled
-
- expect(await homeMediator.getMintHandler()).to.be.equal(mintHandler.address)
- })
-
- it('should fail if not an owner', async () => {
- await homeMediator.setMintHandler(mintHandler.address, { from: accounts[1] }).should.be.rejected
- })
-
- it('should fail if not a contract', async () => {
- await homeMediator.setMintHandler(accounts[2], { from: owner }).should.be.rejected
- })
-
- it('should process bridge tokens through mint handler', async () => {
- await homeMediator.setMintHandler(mintHandler.address, { from: owner }).should.be.fulfilled
- await token.transferOwnership(mintHandler.address)
-
- expect(await token.totalSupply()).to.be.bignumber.equal(ZERO)
-
- const data = homeMediator.contract.methods.handleBridgedTokens(user, halfEther.toString(10)).encodeABI()
- await homeBridge.executeMessageCall(
- homeMediator.address,
- foreignMediator.address,
- data,
- exampleMessageId,
- 1000000
- ).should.be.fulfilled
-
- expect(await token.totalSupply()).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(user)).to.be.bignumber.equal(halfEther)
- expect(await token.balanceOf(homeMediator.address)).to.be.bignumber.equal(ZERO)
- })
- })
- })
-})
diff --git a/test/test.sh b/test/test.sh
new file mode 100755
index 000000000..29968ce18
--- /dev/null
+++ b/test/test.sh
@@ -0,0 +1,32 @@
+#!/usr/bin/env bash
+
+set -e
+
+trap cleanup EXIT
+
+cleanup() {
+ if [ "$KEEP_RUNNING" != true ]; then
+ docker-compose -f test/docker-compose.yml down
+ fi
+}
+cleanup
+
+ganache_running() {
+ nc -z localhost 8545
+}
+
+if ganache_running; then
+ echo "Using existing ganache instance"
+else
+ echo "Starting our own ganache instance"
+ docker-compose -f test/docker-compose.yml up -d ganache
+ sleep 5
+ echo "Deploy Compound protocol contracts"
+ docker-compose -f test/docker-compose.yml up compound || true
+fi
+
+if [ "$SOLIDITY_COVERAGE" = true ]; then
+ node --max-old-space-size=4096 node_modules/.bin/truffle test 2>/dev/null; istanbul report lcov
+else
+ node_modules/.bin/truffle test --network ganache "$@"
+fi
diff --git a/truffle-config.js b/truffle-config.js
index d7346f634..04bb4947d 100644
--- a/truffle-config.js
+++ b/truffle-config.js
@@ -1,6 +1,6 @@
const { CoverageSubprovider, Web3ProviderEngine } = require('@0x/sol-coverage')
const { TruffleArtifactAdapter } = require('@0x/sol-trace')
-const { GanacheSubprovider } = require('@0x/subproviders')
+const RPCSubprovider = require('web3-provider-engine/subproviders/rpc')
const contractsBuildDirectory = './build/contracts'
const evmVersion = 'byzantium'
@@ -27,57 +27,7 @@ if (process.env.SOLIDITY_COVERAGE === 'true') {
ignoreFilesGlobs: ['**/Migrations.sol', '**/node_modules/**', '**/mocks/**', '**/interfaces/**', '**/helpers/**']
})
provider.addProvider(global.coverageSubprovider)
- const ganacheSubprovider = new GanacheSubprovider({
- accounts: [
- {
- secretKey: '0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501200',
- balance: '1000000000000000000000000'
- },
- {
- secretKey: '0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501201',
- balance: '1000000000000000000000000'
- },
- {
- secretKey: '0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501202',
- balance: '1000000000000000000000000'
- },
- {
- secretKey: '0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501203',
- balance: '1000000000000000000000000'
- },
- {
- secretKey: '0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501204',
- balance: '1000000000000000000000000'
- },
- {
- secretKey: '0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501205',
- balance: '1000000000000000000000000'
- },
- {
- secretKey: '0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501206',
- balance: '1000000000000000000000000'
- },
- {
- secretKey: '0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501207',
- balance: '1000000000000000000000000'
- },
- {
- secretKey: '0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501208',
- balance: '1000000000000000000000000'
- },
- {
- secretKey: '0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501209',
- balance: '1000000000000000000000000'
- },
- {
- secretKey: '0x19fba401d77e4113b15095e9aa7117bcd25adcfac7f6111f8298894eef443600',
- balance: '1000000000000000000000000'
- }
- ],
- port: 8545,
- gasLimit: 10000000
- })
- provider.addProvider(ganacheSubprovider)
+ provider.addProvider(new RPCSubprovider({ rpcUrl: 'http://localhost:8545' }))
provider.start(err => {
if (err !== undefined) {
process.exit(1)
@@ -92,14 +42,16 @@ module.exports = {
development: {
provider,
network_id: '*',
- gas: 10000000
+ gas: 10000000,
+ disableConfirmationListener: true
},
ganache: {
host: '127.0.0.1',
port: 8545,
network_id: '*', // eslint-disable-line camelcase
gasPrice: 100000000000,
- gas: 10000000
+ gas: 10000000,
+ disableConfirmationListener: true
}
},
compilers: {