> For the complete documentation index, see [llms.txt](https://bitfi-2.gitbook.io/bitfi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bitfi-2.gitbook.io/bitfi/developer/epoch-and-ratio/epoch-updates.md).

# Epoch Updates

## bfBTC Epoch Updates

Epoch updates are triggered when:

* The value of open positions changes beyond a predefined threshold.
* A specified time interval elapses.

Upon meeting these conditions, the manager triggers an epoch update. The management wallet updates the contract to the next epoch and updates the exchange ratio (`Ratio`).

After the update, all deposit and withdrawal transactions use the latest epoch's value to calculate bfBTC amounts.

Due to performance differences between Binance Smart Chain and Ethereum, Ethereum epoch updates might lag behind BSC updates. The delay typically does not exceed one minute.

## bfUSD Epoch Updates

The same epoch mechanism is used for bfUSD on Ethereum. When `updateEpoch` is called for the bfUSD manager contract, it refreshes the ratios for both Horizon (hbfUSD) and Pulsar (pbfUSD) vaults and settles pending withdrawals based on the updated ratios.

For bfUSD vaults, Horizon (`hbfUSD`) and Pulsar (`pbfUSD`) additionally use an **Epoch Vesting** mechanism: when the epoch ratio increases, the new ratio is linearly vested over a fixed window rather than applied instantly. This reduces short-term arbitrage opportunities around the epoch boundary. For full details, including formulas and the latest design update, see [bfUSD Epoch Vesting](/bitfi/developer/epoch-and-ratio/bfusd-epoch-vesting.md).

After a bfUSD epoch update:

* `currentRatio` and `epochRatios` for hbfUSD and pbfUSD reflect the new exchange rate between shares and bfUSD.
* Unstake & standard redemption requests that have reached their claimable epoch can be processed, allowing users to claim bfUSD at the proposed epoch ratio or claim USDT.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bitfi-2.gitbook.io/bitfi/developer/epoch-and-ratio/epoch-updates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
