mento-protocol / reserve-site

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

Outstanding supply should take into account the cUSD held in the reserve multisig #28

Closed bayological closed 1 year ago

bayological commented 1 year ago

Description The total outstanding supply of cUSD that is displayed on the site needs to take into account any cUSD held by the reserve multisig. This was done previously but should be double-checked to ensure the numbers are correct.

Previous PR: https://github.com/mento-protocol/reserve-site/pull/24

Acceptance Criteria

bayological commented 1 year ago

Story Points: 2 See the discussion in Sprint Poker #​​9

Powered by Parabol

philbow61 commented 1 year ago

Code to deduct multisig cUSD from outstanding supply displayed on site Image

Outstanding supply of stables displayed on site Image

Code commented out Image

Outstanding supply of stables displayed on site without code to deduct multisig cUSD Image

30.994.493,52 - 30.414.553,93 = 579.939,59 which is the amount in the reserve multisig

Multisig balance of cUSD Image