diff --git a/contracts/avalanche/connectors/swap/events.sol b/contracts/avalanche/connectors/swap/events.sol deleted file mode 100644 index da92aeb2..00000000 --- a/contracts/avalanche/connectors/swap/events.sol +++ /dev/null @@ -1,13 +0,0 @@ -//SPDX-License-Identifier: MIT -pragma solidity ^0.7.0; - -contract Events { - event LogSwapAggregator( - string _connector, - address indexed buyToken, - address indexed sellToken, - uint256 buyAmt, - uint256 sellAmt, - uint256 setId - ); -} diff --git a/contracts/avalanche/connectors/swap/main.sol b/contracts/avalanche/connectors/swap/main.sol index 452d1085..0cfa98ef 100644 --- a/contracts/avalanche/connectors/swap/main.sol +++ b/contracts/avalanche/connectors/swap/main.sol @@ -9,9 +9,8 @@ pragma experimental ABIEncoderV2; // import files import { SwapHelpers } from "./helpers.sol"; -import { Events } from "./events.sol"; -abstract contract Swap is SwapHelpers, Events { +abstract contract Swap is SwapHelpers { /** * @dev Swap ETH/ERC20_Token using dex aggregators. * @notice Swap tokens from exchanges like 1INCH, 0x etc, with calculation done off-chain. diff --git a/contracts/mainnet/connectors/swap/events.sol b/contracts/mainnet/connectors/swap/events.sol deleted file mode 100644 index da92aeb2..00000000 --- a/contracts/mainnet/connectors/swap/events.sol +++ /dev/null @@ -1,13 +0,0 @@ -//SPDX-License-Identifier: MIT -pragma solidity ^0.7.0; - -contract Events { - event LogSwapAggregator( - string _connector, - address indexed buyToken, - address indexed sellToken, - uint256 buyAmt, - uint256 sellAmt, - uint256 setId - ); -} diff --git a/contracts/mainnet/connectors/swap/main.sol b/contracts/mainnet/connectors/swap/main.sol index 3f209a3d..a76c2432 100644 --- a/contracts/mainnet/connectors/swap/main.sol +++ b/contracts/mainnet/connectors/swap/main.sol @@ -9,9 +9,8 @@ pragma experimental ABIEncoderV2; // import files import { SwapHelpers } from "./helpers.sol"; -import { Events } from "./events.sol"; -abstract contract Swap is SwapHelpers, Events { +abstract contract Swap is SwapHelpers { /** * @dev Swap ETH/ERC20_Token using dex aggregators. * @notice Swap tokens from exchanges like 1INCH, 0x etc, with calculation done off-chain. diff --git a/contracts/polygon/connectors/swap/events.sol b/contracts/polygon/connectors/swap/events.sol deleted file mode 100644 index da92aeb2..00000000 --- a/contracts/polygon/connectors/swap/events.sol +++ /dev/null @@ -1,13 +0,0 @@ -//SPDX-License-Identifier: MIT -pragma solidity ^0.7.0; - -contract Events { - event LogSwapAggregator( - string _connector, - address indexed buyToken, - address indexed sellToken, - uint256 buyAmt, - uint256 sellAmt, - uint256 setId - ); -} diff --git a/contracts/polygon/connectors/swap/main.sol b/contracts/polygon/connectors/swap/main.sol index 24251a72..ada14dc6 100644 --- a/contracts/polygon/connectors/swap/main.sol +++ b/contracts/polygon/connectors/swap/main.sol @@ -9,9 +9,8 @@ pragma experimental ABIEncoderV2; // import files import { SwapHelpers } from "./helpers.sol"; -import { Events } from "./events.sol"; -abstract contract Swap is SwapHelpers, Events { +abstract contract Swap is SwapHelpers { /** * @dev Swap ETH/ERC20_Token using dex aggregators. * @notice Swap tokens from exchanges like 1INCH, 0x etc, with calculation done off-chain.