IPriceBound

Functions

setOracleFloorBasisPoints

function setOracleFloorBasisPoints(
    uint256 newFloor
) external

sets the floor price in BP

Parameters

Name
Type
Description

newFloor

uint256

setOracleCeilingBasisPoints

function setOracleCeilingBasisPoints(
    uint256 newCeiling
) external

sets the ceiling price in BP

Parameters

Name
Type
Description

newCeiling

uint256

floor

get the floor price in basis points

ceiling

get the ceiling price in basis points

isPriceValid

return wether the current oracle price is valid or not

Events

OracleFloorUpdate

event emitted when minimum floor price is updated

Parameters

Name
Type
Description

oldFloor

uint256

newFloor

uint256

### OracleCeilingUpdate

event emitted when maximum ceiling price is updated

Parameters

Name
Type
Description

oldCeiling

uint256

newCeiling

uint256

Last updated