-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
pragma solidity ^0.8.24; | ||
|
||
interface ISlinky { | ||
struct Price { | ||
uint256 price; | ||
uint256 timestamp; | ||
uint64 height; | ||
uint64 nonce; | ||
uint64 decimal; | ||
uint64 id; | ||
} | ||
|
||
function get_all_currency_pairs() external returns (string memory); | ||
function get_price(string memory base, string memory quote) external returns (Price memory); | ||
function get_prices(string[] memory pair_ids) external returns (Price[] memory); | ||
} |