Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
240 changes: 0 additions & 240 deletions docs/concepts/advanced/valuing-bpt/bpt-as-collateral.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/concepts/advanced/valuing-bpt/valuing-bpt.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---
title: Overview
references:
- details: StablePool BPT as Collateral
link: /concepts/advanced/valuing-bpt/bpt-as-collateral.html
---

# Valuing BPT
Expand Down Expand Up @@ -77,10 +74,6 @@ A few examples:
- The `WETH/wstETH` pool will return a rate relative to `WETH`
- `bb-a-USD` will return a rate relative to USD, calculated as a weighted average of the underlying stablecoins (`DAI`, `USDC`, `USDT`) in the nested linear pools (`bb-a-DAI`, `bb-a-USDC`, `bb-a-USDT`)

#### Using Stable Pool BPT as Collateral

Note that the method above does not account for price divergence from the assumed peg. If `stETH` depegs from `ETH` or any stablecoin depegs from USD, `pool.getRate()` will suffer inaccuracies. To price Stable Pool BPT for more mission-critical use cases such as money market collateral, please refer to [this page](./bpt-as-collateral.md).

### Linear Pools

Linear Pools have a `pool.getRate()` function that return the exchange rate of a BPT to the underlying base asset (`mainToken`) of the pool.