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

19 lines
350 B
Solidity
Raw Normal View History

2020-09-10 07:30:33 +00:00
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.8;
import { DSMath } from "../../../libs/safeMath.sol";
2020-09-11 15:52:48 +00:00
interface PoolInterface {
function setExchangeRate() external;
}
2020-09-10 07:30:33 +00:00
2020-09-11 15:52:48 +00:00
contract LogicOne {
2020-09-10 07:30:33 +00:00
2020-09-11 15:52:48 +00:00
function setExchangeRate() public payable {
PoolInterface(address(this)).setExchangeRate();
2020-09-10 07:30:33 +00:00
}
receive() external payable {}
}