Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contract.from_explorer('0xee8389d235e092b2945fe363e97cdbed121a0439') errors #1047

Closed
BlinkyStitt opened this issue Apr 10, 2021 · 4 comments · Fixed by #1290
Closed

Contract.from_explorer('0xee8389d235e092b2945fe363e97cdbed121a0439') errors #1047

BlinkyStitt opened this issue Apr 10, 2021 · 4 comments · Fixed by #1290
Labels
bug Something isn't working

Comments

@BlinkyStitt
Copy link
Collaborator

BlinkyStitt commented Apr 10, 2021

Environment information

  • brownie Version: 1.14.4
  • I'm using --network mainnet so ganache isn't relevant.

What was wrong?

>>> Contract.from_explorer("0xee8389d235e092b2945fe363e97cdbed121a0439")
Fetching source of 0xee8389d235E092b2945fE363e97CDBeD121A0439 from api.etherscan.io...
CompilerError: solc returned the following errors:

./contracts/Governable.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/Governable.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/proxy/Initializable.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/proxy/Initializable.sol';
^-----------------------------------------------------------------------------------^

./contracts/HomoraBank.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/HomoraBank.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol';
^----------------------------------------------------------------------------------^

./contracts/HomoraBank.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol';
^-------------------------------------------------------------------------------------^

./contracts/HomoraBank.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155.sol';
^--------------------------------------------------------------------------------------^

./contracts/HomoraBank.sol:6:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol';
^-----------------------------------------------------------------------------^

./contracts/HomoraBank.sol:7:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/Math.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/Math.sol';
^-------------------------------------------------------------------------^

./contracts/HomoraBank.sol:8:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/proxy/Initializable.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/proxy/Initializable.sol';
^-----------------------------------------------------------------------------------^

./contracts/SafeBox.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/SafeBox.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/ERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/ERC20.sol';
^---------------------------------------------------------------------------------^

./contracts/SafeBox.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol';
^----------------------------------------------------------------------------------^

./contracts/SafeBox.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol';
^-------------------------------------------------------------------------------------^

./contracts/SafeBox.sol:6:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/cryptography/MerkleProof.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/cryptography/MerkleProof.sol';
^----------------------------------------------------------------------------------------^

./contracts/SafeBox.sol:7:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol';
^-----------------------------------------------------------------------------^

./contracts/SafeBox.sol:8:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/utils/ReentrancyGuard.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/utils/ReentrancyGuard.sol';
^-------------------------------------------------------------------------------------^

./contracts/SafeBoxETH.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/SafeBoxETH.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/ERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/ERC20.sol';
^---------------------------------------------------------------------------------^

./contracts/SafeBoxETH.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/cryptography/MerkleProof.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/cryptography/MerkleProof.sol';
^----------------------------------------------------------------------------------------^

./contracts/SafeBoxETH.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol';
^-----------------------------------------------------------------------------^

./contracts/SafeBoxETH.sol:6:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/utils/ReentrancyGuard.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/utils/ReentrancyGuard.sol';
^-------------------------------------------------------------------------------------^

./contracts/mock/MockCErc20.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/mock/MockCErc20.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol';
^----------------------------------------------------------------------------------^

./contracts/mock/MockCErc20.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol';
^-----------------------------------------------------------------------------^

./contracts/mock/MockCErc20_2.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/mock/MockCErc20_2.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol';
^-------------------------------------------------------------------------------------^

./contracts/mock/MockCErc20_2.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol';
^-----------------------------------------------------------------------------^

./contracts/mock/MockERC20.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/mock/MockERC20.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/ERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/ERC20.sol';
^---------------------------------------------------------------------------------^

./contracts/mock/MockUniswapV2Factory.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/mock/MockUniswapV2Router02.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/mock/MockWETH.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/oracle/BalancerPairOracle.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/oracle/BalancerPairOracle.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol';
^-----------------------------------------------------------------------------^

./contracts/oracle/BaseKP3ROracle.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/oracle/BaseKP3ROracle.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/proxy/Initializable.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/proxy/Initializable.sol';
^-----------------------------------------------------------------------------------^

./contracts/oracle/CoreOracle.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/oracle/CurveOracle.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/oracle/CurveOracle.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol';
^-----------------------------------------------------------------------------^

./contracts/oracle/ERC20KP3ROracle.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/oracle/ProxyOracle.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/oracle/ProxyOracle.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol';
^-----------------------------------------------------------------------------^

./contracts/oracle/SimpleOracle.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/oracle/UniswapV2Oracle.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/oracle/UniswapV2Oracle.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol';
^-----------------------------------------------------------------------------^

./contracts/oracle/UsingBaseOracle.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/spell/BalancerSpellV1.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/spell/BalancerSpellV1.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol';
^----------------------------------------------------------------------------------^

./contracts/spell/BalancerSpellV1.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol';
^-----------------------------------------------------------------------------^

./contracts/spell/BasicSpell.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/spell/BasicSpell.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol';
^----------------------------------------------------------------------------------^

./contracts/spell/BasicSpell.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol';
^-------------------------------------------------------------------------------------^

./contracts/spell/CurveSpellV1.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/spell/CurveSpellV1.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol';
^----------------------------------------------------------------------------------^

./contracts/spell/CurveSpellV1.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol';
^-----------------------------------------------------------------------------^

./contracts/spell/HouseHoldSpell.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/spell/HouseHoldSpell.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol';
^----------------------------------------------------------------------------------^

./contracts/spell/SushiswapSpellV1.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/spell/SushiswapSpellV1.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol';
^----------------------------------------------------------------------------------^

./contracts/spell/SushiswapSpellV1.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol';
^-----------------------------------------------------------------------------^

./contracts/spell/UniswapV2SpellV1.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/spell/UniswapV2SpellV1.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol';
^----------------------------------------------------------------------------------^

./contracts/spell/UniswapV2SpellV1.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol';
^-----------------------------------------------------------------------------^

./contracts/utils/BConst.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/utils/BNum.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/utils/ERC1155NaiveReceiver.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/utils/ERC1155NaiveReceiver.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155Receiver.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155Receiver.sol';
^---------------------------------------------------------------------------------------------^

./contracts/utils/ERC1155NaiveReceiver.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155Receiver.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155Receiver.sol';
^----------------------------------------------------------------------------------------------^

./contracts/utils/HomoraMath.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/utils/HomoraMath.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol';
^-----------------------------------------------------------------------------^

./contracts/wrapper/WERC20.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/wrapper/WERC20.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155.sol';
^-------------------------------------------------------------------------------------^

./contracts/wrapper/WERC20.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol';
^----------------------------------------------------------------------------------^

./contracts/wrapper/WERC20.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol';
^-------------------------------------------------------------------------------------^

./contracts/wrapper/WERC20.sol:6:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/utils/ReentrancyGuard.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/utils/ReentrancyGuard.sol';
^-------------------------------------------------------------------------------------^

./contracts/wrapper/WLiquidityGauge.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/wrapper/WLiquidityGauge.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155.sol';
^-------------------------------------------------------------------------------------^

./contracts/wrapper/WLiquidityGauge.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol';
^----------------------------------------------------------------------------------^

./contracts/wrapper/WLiquidityGauge.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol';
^-------------------------------------------------------------------------------------^

./contracts/wrapper/WLiquidityGauge.sol:6:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/utils/ReentrancyGuard.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/utils/ReentrancyGuard.sol';
^-------------------------------------------------------------------------------------^

./contracts/wrapper/WMasterChef.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/wrapper/WMasterChef.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155.sol';
^-------------------------------------------------------------------------------------^

./contracts/wrapper/WMasterChef.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol';
^----------------------------------------------------------------------------------^

./contracts/wrapper/WMasterChef.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol';
^-------------------------------------------------------------------------------------^

./contracts/wrapper/WMasterChef.sol:6:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/utils/ReentrancyGuard.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/utils/ReentrancyGuard.sol';
^-------------------------------------------------------------------------------------^

./contracts/wrapper/WStakingRewards.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./contracts/wrapper/WStakingRewards.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155.sol';
^-------------------------------------------------------------------------------------^

./contracts/wrapper/WStakingRewards.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol';
^----------------------------------------------------------------------------------^

./contracts/wrapper/WStakingRewards.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol';
^-------------------------------------------------------------------------------------^

./contracts/wrapper/WStakingRewards.sol:6:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/utils/ReentrancyGuard.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/utils/ReentrancyGuard.sol';
^-------------------------------------------------------------------------------------^

./interfaces/IBalancerPool.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IBank.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IBaseOracle.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/ICErc20.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/ICErc20_2.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/ICurvePool.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/ICurveRegistry.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IERC20Wrapper.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IKeep3rV1Oracle.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/ILiquidityGauge.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IMasterChef.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IOracle.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IStakingRewards.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IUniswapV2Factory.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IUniswapV2Pair.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IUniswapV2Router01.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IUniswapV2Router02.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IWERC20.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IWERC20.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155.sol';
^--------------------------------------------------------------------------------------^

./interfaces/IWETH.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IWLiquidityGauge.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IWLiquidityGauge.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155.sol';
^--------------------------------------------------------------------------------------^

./interfaces/IWLiquidityGauge.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol';
^----------------------------------------------------------------------------------^

./interfaces/IWMasterChef.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IWMasterChef.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155.sol';
^--------------------------------------------------------------------------------------^

./interfaces/IWMasterChef.sol:4:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol';
^----------------------------------------------------------------------------------^

./interfaces/IWStakingRewards.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

./interfaces/IWStakingRewards.sol:3:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155.sol" not found: File not found.
import 'OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155.sol';
^--------------------------------------------------------------------------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/introspection/ERC165.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/introspection/IERC165.sol" not found: File not found.
import "./IERC165.sol";
^---------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155.sol" not found: File not found.
import "./IERC1155.sol";
^----------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155.sol:6:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155MetadataURI.sol" not found: File not found.
import "./IERC1155MetadataURI.sol";
^---------------------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155.sol:7:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155Receiver.sol" not found: File not found.
import "./IERC1155Receiver.sol";
^------------------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155.sol:8:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/GSN/Context.sol" not found: File not found.
import "../../GSN/Context.sol";
^-----------------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155.sol:9:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/introspection/ERC165.sol" not found: File not found.
import "../../introspection/ERC165.sol";
^--------------------------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155.sol:10:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import "../../math/SafeMath.sol";
^-------------------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155.sol:11:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/utils/Address.sol" not found: File not found.
import "../../utils/Address.sol";
^-------------------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155Receiver.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155Receiver.sol" not found: File not found.
import "./IERC1155Receiver.sol";
^------------------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/ERC1155Receiver.sol:6:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/introspection/ERC165.sol" not found: File not found.
import "../../introspection/ERC165.sol";
^--------------------------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/introspection/IERC165.sol" not found: File not found.
import "../../introspection/IERC165.sol";
^---------------------------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155MetadataURI.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155.sol" not found: File not found.
import "./IERC1155.sol";
^----------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC1155/IERC1155Receiver.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/introspection/IERC165.sol" not found: File not found.
import "../../introspection/IERC165.sol";
^---------------------------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/ERC20.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/GSN/Context.sol" not found: File not found.
import "../../GSN/Context.sol";
^-----------------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/ERC20.sol:6:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import "./IERC20.sol";
^--------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/ERC20.sol:7:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import "../../math/SafeMath.sol";
^-------------------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/ERC20.sol:8:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/utils/Address.sol" not found: File not found.
import "../../utils/Address.sol";
^-------------------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol:5:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/IERC20.sol" not found: File not found.
import "./IERC20.sol";
^--------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol:6:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/math/SafeMath.sol" not found: File not found.
import "../../math/SafeMath.sol";
^-------------------------------^

OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/token/ERC20/SafeERC20.sol:7:1: ParserError: Source "/Users/ski/.brownie/packages/OpenZeppelin/openzeppelin-contracts@3.2.0/contracts/utils/Address.sol" not found: File not found.
import "../../utils/Address.sol";
^-------------------------------^

How can it be fixed?

It looks like it needs to download OZ.

@poolpitako
Copy link
Contributor

I am getting a complete different output:

>>> a = Contract.from_explorer("0xee8389d235e092b2945fe363e97cdbed121a0439")
Fetching source of 0xee8389d235E092b2945fE363e97CDBeD121A0439 from api.etherscan.io...
/Users/user/.pyenv/versions/3.8.7/lib/python3.8/site-packages/brownie/network/contract.py:1220: BrownieCompilerWarning: 0xee8389d235E092b2945fE363e97CDBeD121A0439: Locally compiled and on-chain bytecode do not match!
  warnings.warn(
  File "<console>", line 1, in <module>
  File "brownie/network/contract.py", line 1229, in from_explorer
    _add_deployment(self)
  File "brownie/network/state.py", line 611, in _add_deployment
    hash_ = sha1(source.encode()).hexdigest()
AttributeError: 'NoneType' object has no attribute 'encode'

plz specify brownie and ganache versions

@BlinkyStitt
Copy link
Collaborator Author

If I download OZ and drop it into the packages folder, I get the same error as @poolpitako

@iamdefinitelyahuman
Copy link
Member

This is strange - it should be pulling all the OZ deps from the etherscan API.

@iamdefinitelyahuman iamdefinitelyahuman added the bug Something isn't working label Apr 16, 2021
@sabotagebeats
Copy link
Contributor

Confirming bug exists as described in v1.14.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants