# 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:

* [Chainlink](https://chain.link/)
* [Redstone](https://redstone.finance/)

### `Constructor`[​](https://smart-docs.vercel.app/contract#constructor) <a href="#constructor" id="constructor"></a>

#### `nonpayable`[​](https://smart-docs.vercel.app/contract#constructor) <a href="#constructor" id="constructor"></a>

**Parameters**

No parameters found in the constructor.

### Functions[​](https://smart-docs.vercel.app/contract#functions) <a href="#functions" id="functions"></a>

* [changeOracleImplementation](#changeoracleimplementation)
* [claimOwnership](#claimownership)
* [get](#get)
* [name](#name)
* [oracleImplementation](#oracleimplementation)
* [owner](#owner)
* [peek](#peek)
* [peekSpot](#peekspot)
* [pendingOwner](#pendingowner)
* [symbol](#symbol)
* [transferOwnership](#transferownership)

***

#### `changeOracleImplementationnonpayable`[​](https://smart-docs.vercel.app/contract#changeOracleImplementation) <a href="#changeoracleimplementation" id="changeoracleimplementation"></a>

**Parameters**

| Name          | Type      |
| ------------- | --------- |
| **newOracle** | `address` |

**Return values**

No return values for this function.

#### `claimOwnershipnonpayable`[​](https://smart-docs.vercel.app/contract#claimOwnership) <a href="#claimownership" id="claimownership"></a>

**Parameters**

No parameters for this function.

**Return values**

No return values for this function.

#### `getnonpayable`[​](https://smart-docs.vercel.app/contract#get) <a href="#get" id="get"></a>

**Parameters**

| Name     | Type    |
| -------- | ------- |
| **data** | `bytes` |

**Return values**

| Name  | Type      |
| ----- | --------- |
| **/** | `bool`    |
| **/** | `uint256` |

#### `nameview`[​](https://smart-docs.vercel.app/contract#name) <a href="#name" id="name"></a>

**Parameters**

| Name  | Type    |
| ----- | ------- |
| **/** | `bytes` |

**Return values**

| Name  | Type     |
| ----- | -------- |
| **/** | `string` |

#### `oracleImplementationview`[​](https://smart-docs.vercel.app/contract#oracleImplementation) <a href="#oracleimplementation" id="oracleimplementation"></a>

**Parameters**

No parameters for this function.

**Return values**

| Name  | Type      |
| ----- | --------- |
| **/** | `address` |

#### `ownerview`[​](https://smart-docs.vercel.app/contract#owner) <a href="#owner" id="owner"></a>

**Parameters**

No parameters for this function.

**Return values**

| Name  | Type      |
| ----- | --------- |
| **/** | `address` |

#### `peekview`[​](https://smart-docs.vercel.app/contract#peek) <a href="#peek" id="peek"></a>

**Parameters**

| Name     | Type    |
| -------- | ------- |
| **data** | `bytes` |

**Return values**

| Name  | Type      |
| ----- | --------- |
| **/** | `bool`    |
| **/** | `uint256` |

#### `peekSpotview`[​](https://smart-docs.vercel.app/contract#peekSpot) <a href="#peekspot" id="peekspot"></a>

**Parameters**

| Name     | Type    |
| -------- | ------- |
| **data** | `bytes` |

**Return values**

| Name     | Type      |
| -------- | --------- |
| **rate** | `uint256` |

#### `pendingOwnerview`[​](https://smart-docs.vercel.app/contract#pendingOwner) <a href="#pendingowner" id="pendingowner"></a>

**Parameters**

No parameters for this function.

**Return values**

| Name  | Type      |
| ----- | --------- |
| **/** | `address` |

#### `symbolview`[​](https://smart-docs.vercel.app/contract#symbol) <a href="#symbol" id="symbol"></a>

**Parameters**

| Name  | Type    |
| ----- | ------- |
| **/** | `bytes` |

**Return values**

| Name  | Type     |
| ----- | -------- |
| **/** | `string` |

#### `transferOwnershipnonpayable`[​](https://smart-docs.vercel.app/contract#transferOwnership) <a href="#transferownership" id="transferownership"></a>

**Parameters**

| Name         | Type      |
| ------------ | --------- |
| **newOwner** | `address` |
| **direct**   | `bool`    |
| **renounce** | `bool`    |

**Return values**

No return values for this function.

### Events (for EVM logging)[​](https://smart-docs.vercel.app/contract#events-for-evm-logging) <a href="#events-for-evm-logging" id="events-for-evm-logging"></a>

* [LogOracleImplementationChange](https://smart-docs.vercel.app/contract#LogOracleImplementationChange)
* [OwnershipTransferred](https://smart-docs.vercel.app/contract#OwnershipTransferred)

***

#### `LogOracleImplementationChange`[​](https://smart-docs.vercel.app/contract#LogOracleImplementationChange) <a href="#logoracleimplementationchange" id="logoracleimplementationchange"></a>

**Parameters**

| Name          | Type      | Indexed |
| ------------- | --------- | ------- |
| **oldOracle** | `address` | `true`  |
| **newOracle** | `address` | `true`  |

#### `OwnershipTransferred`[​](https://smart-docs.vercel.app/contract#OwnershipTransferred) <a href="#ownershiptransferred" id="ownershiptransferred"></a>

**Parameters**

| Name              | Type      | Indexed |
| ----------------- | --------- | ------- |
| **previousOwner** | `address` | `true`  |
| **newOwner**      | `address` | `true`  |
