Maple
Search…
USD Oracle
UsdOracle is a constant price oracle feed that always returns 1 USD in 8 decimal precision.

Functions

getLatestPrice

Returns the constant USD price.
1
function getLatestPrice(
2
) view returns (
3
int256
4
)
Copied!

Return Values:

Index
Name
Type
Internal Type
Description
0
int256
int256
Last modified 3mo ago
Copy link