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

Clean repo #241

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/BIFI/infra/BeefyStrategyMulticall.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;
pragma solidity ^0.8.0;

import "../interfaces/beefy/IVault.sol";

Expand Down
8 changes: 4 additions & 4 deletions contracts/BIFI/infra/BeefyTreasury.sol
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin-4/contracts/access/Ownable.sol";
import "@openzeppelin-4/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin-4/contracts/token/ERC20/utils/SafeERC20.sol";

contract BeefyTreasury is Ownable {
using SafeERC20 for IERC20;
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/beamswap/IBeamChef.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;
pragma solidity ^0.8.0;

interface IBeamChef {
function deposit(uint256 _pid, uint256 _amount) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/beefy/IStrategy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pragma solidity >=0.6.0 <0.9.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin-4/contracts/token/ERC20/IERC20.sol";

interface IStrategy {
function vault() external view returns (address);
Expand Down
4 changes: 2 additions & 2 deletions contracts/BIFI/interfaces/beefy/IStrategyComplete.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin-4/contracts/token/ERC20/IERC20.sol";

interface IStrategyComplete {
function vault() external view returns (address);
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/beefy/IVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pragma solidity >=0.6.0 <0.9.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin-4/contracts/token/ERC20/IERC20.sol";
import "./IStrategy.sol";

interface IVault is IERC20 {
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/common/IComptroller.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;
pragma solidity ^0.8.0;

interface IComptroller {
function claimComp(address holder, address[] calldata _iTokens) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/common/IERC20Extended.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.9.0;
pragma solidity ^0.8.0;

interface IERC20Extended {
function symbol() external view returns (string memory);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;
pragma experimental ABIEncoderV2;
pragma solidity ^0.8.0;


interface IUniswapRouterV3WithDeadline {
struct ExactInputSingleParams {
Expand Down
4 changes: 2 additions & 2 deletions contracts/BIFI/interfaces/common/IVToken.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin-4/contracts/token/ERC20/ERC20.sol";

interface IVToken is IERC20 {
function underlying() external returns (address);
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/common/IxWant.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
pragma solidity ^0.8.0;

interface IxWant {
function enter(uint256 _amount) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/kyber/IDMMRouter.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity >0.6.0;
pragma solidity >0.8.0;

import "@openzeppelin-4/contracts/token/ERC20/ERC20.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/mai/IFarm.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;
pragma solidity ^0.8.0;

interface IFarm {
function deposit(uint256 _pid, uint256 _amount) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/pancake/IMasterChef.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;
pragma solidity ^0.8.0;

interface IMasterChef {
function deposit(uint256 _pid, uint256 _amount) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/pancake/ISmartChef.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;
pragma solidity ^0.8.0;

interface ISmartChef {
function deposit(uint256 _amount) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/pancake/IVeCakeStaker.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;
pragma solidity ^0.8.0;

interface IVeCakeStaker {
function deposit(address _chef, uint256 _pid, uint256 _amount) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/spooky/ISpookyChefV2.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;
pragma solidity ^0.8.0;

interface ISpookyChefV2 {
function deposit(uint256 _pid, uint256 _amount) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/spooky/ISpookyRewarder.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;
pragma solidity ^0.8.0;

interface ISpookyRewarder {
function pendingToken(uint _pid, address _user) external view returns (uint pending);
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/spooky/IXChef.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;
pragma solidity >=0.8.0;

interface IXChef {
function deposit(uint256 pid, uint256 amount) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/spooky/IXPool.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;
pragma solidity >=0.8.0;

interface IXPool {
function enter(uint256 amount) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/traderjoe/IStableJoeStaking.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;
pragma solidity ^0.8.0;

interface IStableJoeStaking {
function deposit(uint256 _amount) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/BIFI/interfaces/traderjoe/IVeJoeStaker.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;
pragma solidity ^0.8.0;

interface IVeJoeStaker {
function deposit(address _chef, uint256 _pid, uint256 _amount) external;
Expand Down
6 changes: 3 additions & 3 deletions contracts/BIFI/mocks/TestToken.sol
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin-4/contracts/token/ERC20/ERC20.sol";

contract TestToken is ERC20 {
constructor(
uint256 _initialSupply,
string memory _name,
string memory _symbol
) public ERC20(_name, _symbol) {
) ERC20(_name, _symbol) {
_mint(msg.sender, _initialSupply);
}
}
Loading
Loading