Skip to content

Commit

Permalink
lint: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasmatt committed Oct 29, 2024
1 parent 8fe206e commit 79f8772
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 155 deletions.
122 changes: 0 additions & 122 deletions x/evm/embeds/artifacts/contracts/IOracle.sol/IChainlink.json

This file was deleted.

33 changes: 0 additions & 33 deletions x/evm/embeds/contracts/IOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,39 +19,6 @@ interface IOracle {
returns (uint256 price, uint64 blockTimeMs, uint64 blockHeight);
}

// solhint-disable-next-line interface-starts-with-i
interface IChainlink {
function decimals() external view returns (uint8);

function description() external view returns (string memory);

function version() external view returns (uint256);

function getRoundData(
uint80 _roundId
)
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);

function latestRoundData()
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
}

address constant ORACLE_PRECOMPILE_ADDRESS = 0x0000000000000000000000000000000000000801;

IOracle constant ORACLE_GATEWAY = IOracle(ORACLE_PRECOMPILE_ADDRESS);

0 comments on commit 79f8772

Please sign in to comment.