Skip to content

Commit

Permalink
use upstream interface
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Sep 19, 2024
1 parent 53f1377 commit 7b94145
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 15 deletions.
2 changes: 1 addition & 1 deletion contracts/concrete/oracle/FtsoCurrentPriceUsdOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity =0.8.25;

import {IPriceOracleV1} from "../../interface/IPriceOracleV1.sol";
import {LibFtsoCurrentPriceUsd} from "rain.flare/src/lib/price/LibFtsoCurrentPriceUsd.sol";
import {LibFtsoCurrentPriceUsd} from "rain.flare/lib/price/LibFtsoCurrentPriceUsd.sol";
import {LibIntOrAString, IntOrAString} from "rain.intorastring/lib/LibIntOrAString.sol";

struct FtsoCurrentPriceUsdOracleConfig {
Expand Down
2 changes: 1 addition & 1 deletion contracts/concrete/oracle/SceptreStakedFlrOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity =0.8.25;

import {IPriceOracleV1} from "../../interface/IPriceOracleV1.sol";
import {IStakedFlr} from "../../interface/sceptre/IStakedFlr.sol";
import {IStakedFlr} from "rain.flare/interface/IStakedFlr.sol";

contract SceptreStakedFlrOracle is IPriceOracleV1 {
IStakedFlr public immutable iStakedFlr;
Expand Down
11 changes: 0 additions & 11 deletions contracts/interface/sceptre/IStakedFlr.sol

This file was deleted.

1 change: 1 addition & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ remappings = [
"rain.factory/=lib/rain.factory/src/",
"rain.intorastring/=lib/rain.interpreter/lib/rain.intorastring/src/",
"forge-std/=lib/rain.interpreter/lib/forge-std/src/",
"rain.flare/=lib/rain.flare/src/",
]
2 changes: 1 addition & 1 deletion script/Deploy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
import {Receipt as ReceiptContract} from "contracts/concrete/receipt/Receipt.sol";
import {SceptreStakedFlrOracle} from "contracts/concrete/oracle/SceptreStakedFlrOracle.sol";
import {TwoPriceOracle, TwoPriceOracleConfig} from "contracts/concrete/oracle/TwoPriceOracle.sol";
import {IStakedFlr} from "contracts/interface/sceptre/IStakedFlr.sol";
import {IStakedFlr} from "rain.flare/interface/IStakedFlr.sol";

bytes32 constant DEPLOYMENT_SUITE_IMPLEMENTATIONS = keccak256("implementations");
bytes32 constant DEPLOYMENT_SUITE_OWNABLE_ORACLE_VAULT = keccak256("ownable-oracle-vault");
Expand Down

0 comments on commit 7b94145

Please sign in to comment.