yield-contract/contracts/logics/settle/eth/crvMining.sol

26 lines
593 B
Solidity
Raw Normal View History

2020-09-10 07:26:30 +00:00
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.8;
import { DSMath } from "../../../libs/safeMath.sol";
contract LogicOne {
address poolToken;
function compCrvMine(uint amt) public {
// borrow from Compound & deposit in Curve (static logic for DAI)
// check if status is safe and only have assets in the specific tokens
}
function compCrvRedeem(uint amt) public {
// Withdraw from Curve and payback on Compound
}
constructor (address ethPool) public {
poolToken = address(ethPool);
}
receive() external payable {}
}