Skip to content

Commit

Permalink
fix: Adjust treasury contracts to reflect mainnet deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed Oct 21, 2022
1 parent 16313e2 commit e0580a8
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 102 deletions.
12 changes: 5 additions & 7 deletions contracts/ecosystem/AaveEcosystemReserveV2.sol
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.11;
pragma solidity ^0.8.10;

import {IERC20} from '@aave/core-v3/contracts/dependencies/openzeppelin/contracts/IERC20.sol';
import {IStreamable} from './interfaces/IStreamable.sol';
import {IERC20} from './interfaces/IERC20.sol';

import './libs/ReentrancyGuard.sol';
import './libs/SafeERC20.sol';

import './AdminControlledEcosystemReserve.sol';
import {AdminControlledEcosystemReserve} from './AdminControlledEcosystemReserve.sol';
import {ReentrancyGuard} from './libs/ReentrancyGuard.sol';
import {SafeERC20} from './libs/SafeERC20.sol';

/**
* @title AaveEcosystemReserve v2
Expand Down
19 changes: 7 additions & 12 deletions contracts/ecosystem/AdminControlledEcosystemReserve.sol
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
/**
*Submitted for verification at Etherscan.io on 2022-05-02
*/

// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.11;

import './interfaces/IStreamable.sol';
import './interfaces/IERC20.sol';
import './interfaces/IAdminControlledEcosystemReserve.sol';
pragma solidity ^0.8.10;

import './libs/VersionedInitializable.sol';
import './libs/Address.sol';
import './libs/SafeERC20.sol';
import {IERC20} from '@aave/core-v3/contracts/dependencies/openzeppelin/contracts/IERC20.sol';
import {IAdminControlledEcosystemReserve} from './interfaces/IAdminControlledEcosystemReserve.sol';
import {VersionedInitializable} from './libs/VersionedInitializable.sol';
import {SafeERC20} from './libs/SafeERC20.sol';
import {ReentrancyGuard} from './libs/ReentrancyGuard.sol';
import {Address} from './libs/Address.sol';

/**
* @title AdminControlledEcosystemReserve
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.11;
pragma solidity ^0.8.10;

import {IERC20} from '../interfaces/IERC20.sol';
import {IERC20} from '@aave/core-v3/contracts/dependencies/openzeppelin/contracts/IERC20.sol';

interface IAdminControlledEcosystemReserve {
/** @notice Emitted when the funds admin changes
Expand Down
77 changes: 0 additions & 77 deletions contracts/ecosystem/interfaces/IERC20.sol

This file was deleted.

4 changes: 2 additions & 2 deletions contracts/ecosystem/interfaces/IStreamable.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.11;
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

interface IStreamable {
struct Stream {
Expand Down
2 changes: 1 addition & 1 deletion contracts/ecosystem/libs/SafeERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

pragma solidity ^0.8.0;

import {IERC20} from '../interfaces/IERC20.sol';
import {IERC20} from '@aave/core-v3/contracts/dependencies/openzeppelin/contracts/IERC20.sol';
import {Address} from './Address.sol';

/**
Expand Down
2 changes: 1 addition & 1 deletion contracts/ecosystem/libs/VersionedInitializable.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;
pragma solidity ^0.8.10;

/**
* @title VersionedInitializable
Expand Down

0 comments on commit e0580a8

Please sign in to comment.