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

Name
Type

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

Name
Type

data

bytes

Return values

Name
Type

/

bool

/

uint256

nameview

Parameters

Name
Type

/

bytes

Return values

Name
Type

/

string

oracleImplementationview

Parameters

No parameters for this function.

Return values

Name
Type

/

address

ownerview

Parameters

No parameters for this function.

Return values

Name
Type

/

address

peekview

Parameters

Name
Type

data

bytes

Return values

Name
Type

/

bool

/

uint256

peekSpotview

Parameters

Name
Type

data

bytes

Return values

Name
Type

rate

uint256

pendingOwnerview

Parameters

No parameters for this function.

Return values

Name
Type

/

address

symbolview

Parameters

Name
Type

/

bytes

Return values

Name
Type

/

string

transferOwnershipnonpayable

Parameters

Name
Type

newOwner

address

direct

bool

renounce

bool

Return values

No return values for this function.

Events (for EVM logging)


LogOracleImplementationChange

Parameters

Name
Type
Indexed

oldOracle

address

true

newOracle

address

true

OwnershipTransferred

Parameters

Name
Type
Indexed

previousOwner

address

true

newOwner

address

true

Last updated