mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
updated events
This commit is contained in:
parent
77caa8df66
commit
c650bc0392
|
@ -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
|
||||
);
|
||||
}
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
);
|
||||
}
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
);
|
||||
}
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user