mirror of
https://github.com/Instadapp/yield-contract.git
synced 2024-07-29 21:47:29 +00:00
setExchangeRate basic logic structure
This commit is contained in:
parent
49f98c31e7
commit
36673344e5
20
contracts/logics/settle/eth/exchangeRate.sol
Normal file
20
contracts/logics/settle/eth/exchangeRate.sol
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
pragma solidity ^0.6.8;
|
||||||
|
|
||||||
|
import { DSMath } from "../../../libs/safeMath.sol";
|
||||||
|
|
||||||
|
contract LogicOne {
|
||||||
|
|
||||||
|
address poolToken;
|
||||||
|
|
||||||
|
function setExchangeRate() public {
|
||||||
|
// run setExchangeRate in address(this)
|
||||||
|
}
|
||||||
|
|
||||||
|
constructor (address ethPool) public {
|
||||||
|
poolToken = address(ethPool);
|
||||||
|
}
|
||||||
|
|
||||||
|
receive() external payable {}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user