Skip to content

Commit

Permalink
fix get_price interface
Browse files Browse the repository at this point in the history
  • Loading branch information
JSHan94 committed Dec 11, 2024
1 parent c4f9544 commit 0f790fa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/interfaces/IConnectOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ interface IConnectOracle {
}

function get_all_currency_pairs() external returns (string memory);
function get_price(
string memory base,
string memory quote
) external returns (Price memory);
function get_price(string memory pair_id) external returns (Price memory);
function get_prices(
string[] memory pair_ids
) external returns (Price[] memory);
Expand Down

0 comments on commit 0f790fa

Please sign in to comment.