mirror of
https://github.com/Instadapp/yield-contract.git
synced 2024-07-29 21:47:29 +00:00
curve mining basic structure
This commit is contained in:
parent
bb3a20595a
commit
49f98c31e7
25
contracts/logics/settle/eth/crvMining.sol
Normal file
25
contracts/logics/settle/eth/crvMining.sol
Normal file
|
@ -0,0 +1,25 @@
|
|||
// 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 {}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user