Skip to content

Commit

Permalink
chore: replace V2/interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
guidiaz committed Feb 14, 2024
1 parent 7aebf47 commit 67ac34a
Show file tree
Hide file tree
Showing 22 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions contracts/WitnetOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ pragma solidity >=0.7.0 <0.9.0;

import "./WitnetRequestBytecodes.sol";
import "./WitnetRequestFactory.sol";
import "./interfaces/V2/IWitnetOracle.sol";
import "./interfaces/V2/IWitnetOracleEvents.sol";
import "./interfaces/IWitnetOracle.sol";
import "./interfaces/IWitnetOracleEvents.sol";

/// @title Witnet Request Board functionality base contract.
/// @author The Witnet Foundation.
Expand Down
4 changes: 2 additions & 2 deletions contracts/WitnetPriceFeeds.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ pragma solidity >=0.7.0 <0.9.0;

import "./apps/WitnetFeeds.sol";

import "./interfaces/V2/IWitnetPriceFeeds.sol";
import "./interfaces/V2/IWitnetPriceSolverDeployer.sol";
import "./interfaces/IWitnetPriceFeeds.sol";
import "./interfaces/IWitnetPriceSolverDeployer.sol";

/// @title WitnetPriceFeeds: Price Feeds live repository reliant on the Witnet Oracle blockchain.
/// @author The Witnet Foundation.
Expand Down
2 changes: 1 addition & 1 deletion contracts/WitnetRequestBytecodes.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pragma solidity >=0.7.0 <0.9.0;
pragma experimental ABIEncoderV2;

import "./interfaces/V2/IWitnetRequestBytecodes.sol";
import "./interfaces/IWitnetRequestBytecodes.sol";

abstract contract WitnetRequestBytecodes
is
Expand Down
2 changes: 1 addition & 1 deletion contracts/WitnetRequestFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pragma experimental ABIEncoderV2;

import "./WitnetRequestBytecodes.sol";
import "./WitnetOracle.sol";
import "./interfaces/V2/IWitnetRequestFactory.sol";
import "./interfaces/IWitnetRequestFactory.sol";

abstract contract WitnetRequestFactory
is
Expand Down
2 changes: 1 addition & 1 deletion contracts/apps/WitnetConsumer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.0;

import "./UsingWitnet.sol";
import "../interfaces/V2/IWitnetConsumer.sol";
import "../interfaces/IWitnetConsumer.sol";

abstract contract WitnetConsumer
is
Expand Down
6 changes: 3 additions & 3 deletions contracts/apps/WitnetFeeds.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

pragma solidity >=0.7.0 <0.9.0;

import "../interfaces/V2/IFeeds.sol";
import "../interfaces/V2/IWitnetFeeds.sol";
import "../interfaces/V2/IWitnetFeedsAdmin.sol";
import "../interfaces/IFeeds.sol";
import "../interfaces/IWitnetFeeds.sol";
import "../interfaces/IWitnetFeedsAdmin.sol";

import "ado-contracts/contracts/interfaces/IERC2362.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/apps/WitnetPriceSolverBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pragma solidity >=0.8.0 <0.9.0;

import "../data/WitnetPriceFeedsData.sol";
import "../interfaces/V2/IWitnetPriceFeeds.sol";
import "../interfaces/IWitnetPriceFeeds.sol";

abstract contract WitnetPriceSolverBase
is
Expand Down
4 changes: 2 additions & 2 deletions contracts/core/defaults/WitnetRequestBoardTrustableBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import "../../WitnetRequestFactory.sol";
import "../../data/WitnetRequestBoardDataACLs.sol";
import "../../interfaces/IWitnetRequest.sol";
import "../../interfaces/IWitnetRequestBoardAdminACLs.sol";
import "../../interfaces/V2/IWitnetRequestBoardReporter.sol";
import "../../interfaces/V2/IWitnetConsumer.sol";
import "../../interfaces/IWitnetRequestBoardReporter.sol";
import "../../interfaces/IWitnetConsumer.sol";
import "../../libs/WitnetErrorsLib.sol";
import "../../patterns/Payable.sol";

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "../../libs/Witnet.sol";
import "../libs/Witnet.sol";

interface IWitnetConsumer {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

pragma solidity >=0.8.0 <0.9.0;

import "../../WitnetRequestBytecodes.sol";
import "../../WitnetOracle.sol";
import "../WitnetOracle.sol";
import "../WitnetRequestBytecodes.sol";

interface IWitnetFeeds {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

pragma solidity >=0.8.0 <0.9.0;

import "../../libs/WitnetV2.sol";
import "../../WitnetRequest.sol";
import "../libs/WitnetV2.sol";
import "../WitnetRequest.sol";

interface IWitnetFeedsAdmin {
function acceptOwnership() external;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;

import "../../libs/WitnetV2.sol";
import "../libs/WitnetV2.sol";

interface IWitnetOracle {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;

import "../../libs/WitnetV2.sol";
import "../libs/WitnetV2.sol";

interface IWitnetOracleEvents {

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pragma solidity >=0.8.0 <0.9.0;

import "../../libs/WitnetV2.sol";
import "../libs/WitnetV2.sol";

interface IWitnetPriceSolver {
struct Price {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;

import "../../libs/Witnet.sol";
import "../libs/Witnet.sol";

interface IWitnetRequestBytecodes {

Expand Down
4 changes: 2 additions & 2 deletions contracts/libs/WitnetPriceFeedsLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
pragma solidity >=0.7.0 <0.9.0;
pragma experimental ABIEncoderV2;

import "../interfaces/V2/IWitnetPriceSolver.sol";
import "../interfaces/V2/IWitnetPriceSolverDeployer.sol";
import "../interfaces/IWitnetPriceSolver.sol";
import "../interfaces/IWitnetPriceSolverDeployer.sol";

import "../libs/Slices.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = {
WitnetRequestFactory: require("../artifacts/contracts/WitnetRequestFactory.sol/WitnetRequestFactory.json"),
WitnetRequestTemplate: require("../artifacts/contracts/WitnetRequestTemplate.sol/WitnetRequestTemplate.json"),
WitnetUpgradableBase: require("../artifacts/contracts/core/WitnetUpgradableBase.sol/WitnetUpgradableBase.json"),
IWitnetPriceSolver: require("../artifacts/contracts/interfaces/V2/IWitnetPriceSolver.sol/IWitnetPriceSolver.json"),
IWitnetPriceSolver: require("../artifacts/contracts/interfaces/IWitnetPriceSolver.sol/IWitnetPriceSolver.json"),
},
settings: require("../settings"),
utils,
Expand Down

0 comments on commit 67ac34a

Please sign in to comment.