IOracle.sol

View Source: contracts/interfaces/IOracle.solarrow-up-right

↘ Derived Contracts: MakerDAOOraclearrow-up-right, MockOraclearrow-up-right, StableOraclearrow-up-right

IOracle

Functions

getCurrencyAddress

⤿ Overridden Implementation(s): MakerDAOOracle.getCurrencyAddressarrow-up-right,MockOracle.getCurrencyAddressarrow-up-right,StableOracle.getCurrencyAddressarrow-up-right

Returns address of oracle currency (0x0 for ETH)

function getCurrencyAddress() external view
returns(currency address)

Arguments

Name

Type

Description

getCurrencySymbol

⤿ Overridden Implementation(s): MakerDAOOracle.getCurrencySymbolarrow-up-right,MockOracle.getCurrencySymbolarrow-up-right,StableOracle.getCurrencySymbolarrow-up-right

Returns symbol of oracle currency (0x0 for ETH)

Arguments

Name

Type

Description

getCurrencyDenominated

⤿ Overridden Implementation(s): MakerDAOOracle.getCurrencyDenominatedarrow-up-right,MockOracle.getCurrencyDenominatedarrow-up-right,StableOracle.getCurrencyDenominatedarrow-up-right

Returns denomination of price

Arguments

Name

Type

Description

getPrice

⤿ Overridden Implementation(s): MakerDAOOracle.getPricearrow-up-right,MockOracle.getPricearrow-up-right,StableOracle.getPricearrow-up-right

Returns price - should throw if not valid

Arguments

Name

Type

Description

Last updated

Was this helpful?