IPriceFeedProxy

Git Source

Author: bull.haus

Generic API for reading price feed data from different oracles.

Functions

description

Get human-readable price feed proxy description.

function description() external view returns (string memory);

Returns

NameTypeDescription
<none>stringHuman-readable price feed proxy description.

Errors

ImplausiblePrice

Requesting a price, which results in an impossible price, reverts the transaction with ImplausiblePrice.

error ImplausiblePrice();

SequencerDown

When requesting a price on Layer 2 while the sequencer is down, reverts with SequencerDown.

As long as the sequencer is down, no transactions can be performed by the user. Preventing anything related to asset prices (e.g. liquidations) protects users.

error SequencerDown();