Proxy Oracles

Oracles enable cauldrons to price the collateral and are a crucial part of the abracadabra infrastructure. Each cauldron has it's own oracle. Abracadabra uses proxy oracles with the Abracadabra Multisig as an owner, to upgrade the oracle implementation if it was to become deprecated, maintaining high levels of security.

Abracadabra uses a variety of Oracle providers depending on chains and assets. The exact oracle can always verified using the oracle() function of the Cauldron. Those oracles include:

Constructor​

nonpayable​

Parameters

No parameters found in the constructor.

Functions​


changeOracleImplementationnonpayable​

Parameters

NameType

newOracle

address

Return values

No return values for this function.

claimOwnershipnonpayable​

Parameters

No parameters for this function.

Return values

No return values for this function.

getnonpayable​

Parameters

NameType

data

bytes

Return values

NameType

/

bool

/

uint256

nameview​

Parameters

NameType

/

bytes

Return values

NameType

/

string

oracleImplementationview​

Parameters

No parameters for this function.

Return values

NameType

/

address

ownerview​

Parameters

No parameters for this function.

Return values

NameType

/

address

peekview​

Parameters

NameType

data

bytes

Return values

NameType

/

bool

/

uint256

peekSpotview​

Parameters

NameType

data

bytes

Return values

NameType

rate

uint256

pendingOwnerview​

Parameters

No parameters for this function.

Return values

NameType

/

address

symbolview​

Parameters

NameType

/

bytes

Return values

NameType

/

string

transferOwnershipnonpayable​

Parameters

NameType

newOwner

address

direct

bool

renounce

bool

Return values

No return values for this function.

Events (for EVM logging)​


LogOracleImplementationChange​

Parameters

NameTypeIndexed

oldOracle

address

true

newOracle

address

true

OwnershipTransferred​

Parameters

NameTypeIndexed

previousOwner

address

true

newOwner

address

true

Last updated