Skip to content

Conversation

@EndymionJkb
Copy link
Contributor

@EndymionJkb EndymionJkb commented Aug 5, 2025

This PR adds a page on BPT Oracles, specifically focusing on the BPT as Collateral use case. The main page introduces the concept, provides an overview of how the pricing is accomplished (focusing on stable pools as the most complex case, but also detailing the simpler algorithm employed by weighted pools), summarizes the derivation of the associated equations, and provides references: a developer guide for partners/builders, and Sergio's paper for the underlying mathematical concepts and proofs.

There is also a "contracts" page showing all the related contracts (along with an illustration of how they're related), and describing how to use them. (The main page is also referenced from the general BPT page.)

And finally, there's a page with a numerical example of a de-pegged stable pool, showing all steps involved in calculating its BPT price. This might be overkill? I needed to do that for my own understanding, but we don't typically do that in public docs. Maybe good for the auditors?

Closes #274

@vercel
Copy link

vercel bot commented Aug 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs-v3 Ready Ready Preview Comment Aug 22, 2025 2:53pm

Copy link
Contributor

@joaobrunoah joaobrunoah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just left a comment about Stable Pool oracles, but it looks great

order: 4
title: BPT Oracle Numerical Example
---
# Numerical example
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This page is simply awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add BPT token oracle section

3 participants