IOracle.sol

View Source: contracts/interfaces/IOracle.sol

↘ Derived Contracts: MakerDAOOracle, MockOracle, StableOracle

IOracle

Functions

getCurrencyAddress

⤿ Overridden Implementation(s): MakerDAOOracle.getCurrencyAddress,MockOracle.getCurrencyAddress,StableOracle.getCurrencyAddress

Returns address of oracle currency (0x0 for ETH)

function getCurrencyAddress() external view
returns(currency address)

Arguments

Name

Type

Description

getCurrencySymbol

⤿ Overridden Implementation(s): MakerDAOOracle.getCurrencySymbol,MockOracle.getCurrencySymbol,StableOracle.getCurrencySymbol

Returns symbol of oracle currency (0x0 for ETH)

Arguments

Name

Type

Description

getCurrencyDenominated

⤿ Overridden Implementation(s): MakerDAOOracle.getCurrencyDenominated,MockOracle.getCurrencyDenominated,StableOracle.getCurrencyDenominated

Returns denomination of price

Arguments

Name

Type

Description

getPrice

⤿ Overridden Implementation(s): MakerDAOOracle.getPrice,MockOracle.getPrice,StableOracle.getPrice

Returns price - should throw if not valid

Arguments

Name

Type

Description

Last updated

Was this helpful?