yield-contract/contracts/logics/settle/eth/exchangeRate.sol
2020-09-12 01:52:48 +10:00

19 lines
350 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.6.8;
import { DSMath } from "../../../libs/safeMath.sol";
interface PoolInterface {
function setExchangeRate() external;
}
contract LogicOne {
function setExchangeRate() public payable {
PoolInterface(address(this)).setExchangeRate();
}
receive() external payable {}
}