mento-protocol / reserve-site

Mento Reserve Website
https://reserve.mento.org
1 stars 3 forks source link

Update outstanding supply at reserve.mento.org to account for Mobius pool #11

Closed ole-nov closed 1 year ago

ole-nov commented 1 year ago

Description:

The outstanding supply of cUSD on the reserve website shows more token than actually exists. This is because the liquidity in the Mento 1:1 Mobius pool is owned by the protocol.

From the reserve perspective, the cUSD in the Mobius pool doesn't exist. Only when user makes a swap and adds USDCet to the pool, it is 'minted'.

Which means, we should subtract it from outstanding supply of cUSD. Mento 1:1 Mobius pool: https://www.mobius.money/pool/0xfa3df877f98ac5ecd87456a7accaa948462412f0

Acceptance criteria:

bayological commented 1 year ago

👉 Pull request