MellowOracleReport

Documentation for eth_defi.mellow.vault.MellowOracleReport Python class.

class MellowOracleReport

Bases: object

Latest Mellow oracle report for an asset.

Attributes summary

price_d18

Raw Mellow priceD18 value.

timestamp

Unix timestamp stored by the oracle.

is_suspicious

Whether the report is flagged suspicious by oracle validation.

Methods summary

__init__(price_d18, timestamp, is_suspicious)

price_d18: int

Raw Mellow priceD18 value.

timestamp: int

Unix timestamp stored by the oracle.

is_suspicious: bool

Whether the report is flagged suspicious by oracle validation.

__init__(price_d18, timestamp, is_suspicious)
Parameters
  • price_d18 (int) –

  • timestamp (int) –

  • is_suspicious (bool) –

Return type

None