https://github.com/bunsdev/prismswap-fair-lp-oracle
https://github.com/bunsdev/prismswap-fair-lp-oracle
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bunsdev/prismswap-fair-lp-oracle
- Owner: BunsDev
- Created: 2022-04-25T00:55:16.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-23T07:54:26.000Z (about 4 years ago)
- Last Synced: 2025-07-04T16:34:06.518Z (12 months ago)
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Prismswap Fair LP Price Oracle
This repository contains the source code for an oracle contract that returns the fair price of [Prism Protocol](https://prismprotocol.app)'s Prismswap AMM. Prices are calculated using [Nipun Pitimanaaree](https://twitter.com/nipun_pit)'s fair LP token pricing formula ([source](https://blog.alphaventuredao.io/fair-lp-token-pricing/)) and based heavily off [Larry](https://twitter.com/larry0x)'s implementation used in [Mars Protocol](https://marsprotocol.io/)'s Field of Mars contracts.