IPriceFeed
Interface for fetching current prices of securities.
Functions
getPrice
Returns the current price of a given security.
function getPrice(bytes32 securityId) external view returns (uint256 price);
Parameters
Name
Type
Description
securityId
bytes32
The identifier of the security.
Returns
Name
Type
Description
price
uint256
The current price.
Last updated
Was this helpful?