PriceOracleSentinel

PriceOracleSentinel

This contract validates if the operations are allowed depending on the PriceOracle health.

The PriceOracle is considered healthy once its completely up and the grace period has passed.

View Methods

isBorrowAllowed

function isBorrowAllowed()

Return Value

isLiquidationAllowed

function isLiquidationAllowed()

Return Value

getSequencerOracle

function getSequencerOracle()

Return Value

getGracePeriod

function getGracePeriod()

Return Value


Write Methods

setSequencerOracle

function setSequencerOracle(address newSequencerOracle)

Can be called only by PoolAdmin.

Call Params

setGracePeriod

function setGracePeriod(uint256 newGracePeriod)

Can be called only by PoolAdmin or RiskAdmin.

Call Params


Last updated