Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

feat(origin-dollar): Adds Wrapped OUSD (wOUSD) and Vote Escrowed OGV (veOGV) #944

Merged
merged 5 commits into from
Jul 25, 2022

Conversation

mikeshultz
Copy link
Contributor

Description

Adds OUSD related positions:

  • Wrapped OUSD (wOUSD) - A non-elastic vault for OUSD that allows for balance tracking for contracts that cannot support an elastic balance
  • Vote Escrowed OGV - Governance voting locking of OGV
  • veOGN staking rewards - Rewards for staking OGV for veOGV according to time locked

I tried to follow Aave's implementation for claimable rewards. I'd like them to be showed as "claimable" in the UI. Let me know if I'm missing something.

Checklist

  • I have followed the Contributing Guidelines
  • (optional) As a contributor, my Ethereum address/ENS is: mikeshultz.eth
  • (optional) As a contributor, my Twitter handle is: @mikeshultz

How to test?

@mikeshultz mikeshultz changed the title feat(origin-dollar): Adds Wrapped OUSD (wOUSD) and Vote Escrowed OGV … feat(origin-dollar): Adds Wrapped OUSD (wOUSD) and Vote Escrowed OGV (veOGV) Jul 25, 2022
displayProps: {
label: `Vote Escrowed ${getLabelFromToken(ogv)}`,
secondaryLabel: `Up to ${(apy * 100).toFixed(3)}% APY`,
images: ['https://governance.ousd.com/veogv.svg'],
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a Liquidity item in statsItems here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Would be helpful if this kind of stuff was documented. I'll base this off of something else in the repo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Mind verifying what I added is correct?

@immasandwich immasandwich merged commit d9743c0 into Zapper-fi:main Jul 25, 2022
volt62 pushed a commit to volt62/zapper-studio that referenced this pull request Aug 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants