updated events

This commit is contained in:
Richa-iitr 2022-06-14 09:29:01 +05:30
parent 77caa8df66
commit c650bc0392
6 changed files with 3 additions and 45 deletions

View File

@ -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
);
}

View File

@ -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.

View File

@ -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
);
}

View File

@ -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.

View File

@ -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
);
}

View File

@ -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.