# YieldOracle constants

[Git Source](https://github.com/Ion-Protocol/ion-protocol/blob/88cc595825f1dc2eb738fb93e172a3e8ab7a5c43/src/YieldOracle.sol)

#### [APY\_PRECISION](https://docs.ionprotocol.io/devs/smart-contract-architecture/broken-reference) <a href="#apy_precision" id="apy_precision"></a>

```
uint8 constant APY_PRECISION = 8;
```

#### [PROVIDER\_PRECISION](https://docs.ionprotocol.io/devs/smart-contract-architecture/broken-reference) <a href="#provider_precision" id="provider_precision"></a>

```
uint8 constant PROVIDER_PRECISION = 18;
```

#### [LOOK\_BACK](https://docs.ionprotocol.io/devs/smart-contract-architecture/broken-reference) <a href="#look_back" id="look_back"></a>

```
uint32 constant LOOK_BACK = 7;
```

#### [PERIODS](https://docs.ionprotocol.io/devs/smart-contract-architecture/broken-reference) <a href="#periods" id="periods"></a>

```
uint256 constant PERIODS = 365 * (10 ** APY_PRECISION) / LOOK_BACK;
```

#### [ILK\_COUNT](https://docs.ionprotocol.io/devs/smart-contract-architecture/broken-reference) <a href="#ilk_count" id="ilk_count"></a>

```
uint32 constant ILK_COUNT = 3;
```

#### [UPDATE\_LOCK\_LENGTH](https://docs.ionprotocol.io/devs/smart-contract-architecture/broken-reference) <a href="#update_lock_length" id="update_lock_length"></a>

```
uint256 constant UPDATE_LOCK_LENGTH = 84_600;
```
