Skip to content

Commit

Permalink
update moonwellOracle
Browse files Browse the repository at this point in the history
  • Loading branch information
JoscelynFarr committed Apr 30, 2024
1 parent f2838bf commit bf98556
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/FlashLoanLiquidateMtoken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

pragma solidity ^0.8.19;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./interfaces/IJUSDBank.sol";
Expand All @@ -16,7 +15,7 @@ interface MTokenInterface {
function redeem(uint redeemTokens) external returns (uint);
}

contract FlashLoanLiquidateMtoken is Ownable {
contract FlashLoanLiquidateMtoken {
using SafeERC20 for IERC20;
using SignedDecimalMath for uint256;

Expand Down
4 changes: 2 additions & 2 deletions src/oracle/MoonwellOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeCast.sol";

interface MTokenInterface {
function exchangeRateStored() external view returns (uint);
function exchangeRateStored() external view returns (uint256);
}

contract MoonwellOracle {
uint256 public price;
address public immutable source;
string public description;

constructor(string memory _description, address _source) {
constructor(address _source, string memory _description) {
description = _description;
source = _source;
}
Expand Down

0 comments on commit bf98556

Please sign in to comment.