Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sorawit committed Oct 1, 2020
1 parent b13422e commit 67175ba
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion bridges/evm/contracts/stdref/IStdReference.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,27 @@ abstract contract IStdReference {
}

/// Returns the price data for the given base/quote pair. Revert if not available.
function getReferenceData(string memory _base, string memory _quote)
external
view
returns (ReferenceData memory);

/// Similar to getReferenceData, but with multiple base/quote pairs at once.
function getReferenceDataBulk(string[] memory _bases, string[] memory _quotes)
external
view
returns (ReferenceData[] memory);
}

abstract contract StdReferenceBase is IStdReference {
function getReferenceData(string memory _base, string memory _quote)
public
virtual
view
returns (ReferenceData memory);

/// Similar to getReferenceData, but with multiple base/quote pairs at once.
function getRefenceDataBulk(string[] memory _bases, string[] memory _quotes)
function getReferenceDataBulk(string[] memory _bases, string[] memory _quotes)
public
view
returns (ReferenceData[] memory)
Expand Down

0 comments on commit 67175ba

Please sign in to comment.