dsa-connectors/contracts/polygon/connectors/1inch/1inch-v3/helpers.sol

24 lines
627 B
Solidity
Raw Normal View History

2022-03-22 16:17:41 +00:00
//SPDX-License-Identifier: MIT
2021-09-22 18:43:16 +00:00
pragma solidity ^0.7.0;
2021-12-24 12:48:06 +00:00
import { TokenInterface } from "../../../common/interfaces.sol";
import { DSMath } from "../../../common/math.sol";
import { Basic } from "../../../common/basic.sol";
2021-09-22 18:43:16 +00:00
abstract contract Helpers is DSMath, Basic {
/**
* @dev 1Inch Address
*/
address internal constant oneInchAddr = 0x11111112542D85B3EF69AE05771c2dCCff4fAa26;
/**
* @dev 1inch swap function sig
*/
bytes4 internal constant oneInchSwapSig = 0x7c025200;
/**
* @dev 1inch swap function sig
*/
bytes4 internal constant oneInchUnoswapSig = 0x2e95b6c8;
}