mirror of
https://github.com/Instadapp/yield-contract.git
synced 2024-07-29 21:47:29 +00:00
basic logic structure
This commit is contained in:
parent
1d4844e219
commit
bb3a20595a
25
contracts/logics/settle/eth/basic.sol
Normal file
25
contracts/logics/settle/eth/basic.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 deploy(address _dsa, uint amt) public {
|
||||
// check if DSA is authorised
|
||||
// transfer assets to DSA
|
||||
}
|
||||
|
||||
function redeem(address _dsa, uint amt) public {
|
||||
// withdraw assets from DSA
|
||||
}
|
||||
|
||||
constructor (address ethPool) public {
|
||||
poolToken = address(ethPool);
|
||||
}
|
||||
|
||||
receive() external payable {}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user