2021-02-07 16:40:28 +00:00
|
|
|
pragma solidity ^0.7.0;
|
2020-11-20 14:49:48 +00:00
|
|
|
|
|
|
|
import { TokenInterface } from "../../common/interfaces.sol";
|
|
|
|
import { DSMath } from "../../common/math.sol";
|
|
|
|
import { Basic } from "../../common/basic.sol";
|
|
|
|
|
|
|
|
|
2021-02-05 18:33:49 +00:00
|
|
|
abstract contract Helpers is DSMath, Basic {
|
2020-11-20 14:49:48 +00:00
|
|
|
/**
|
2021-03-21 09:13:05 +00:00
|
|
|
* @dev 1Inch Address
|
2020-11-20 14:49:48 +00:00
|
|
|
*/
|
2021-03-21 09:13:05 +00:00
|
|
|
address internal constant oneInchAddr = 0x111111125434b319222CdBf8C261674aDB56F3ae;
|
2020-11-20 14:49:48 +00:00
|
|
|
|
|
|
|
/**
|
2021-03-21 09:13:05 +00:00
|
|
|
* @dev 1inch swap function sig
|
2020-11-20 14:49:48 +00:00
|
|
|
*/
|
2021-03-21 09:13:05 +00:00
|
|
|
bytes4 internal constant oneInchSig = 0x90411a32;
|
2020-11-20 14:49:48 +00:00
|
|
|
}
|