gamedaoco / gamedao-refinement

issues to be refined until ready for development
0 stars 0 forks source link

foreign exchange values for currencies #46

Open 5-mark opened 2 years ago

5-mark commented 2 years ago

User Story

As user I want to know how much value cryptocurrencies and tokens have in my local fiat currency so that I can put treasury portfolios or my own balance into context.

Acceptance Criteria

  1. All supported asset exchange rates can be retrieved through our Graph
  2. The Graph should act as it would get the data from an oracle
  3. Fx rates:

trading pairs:

USDZERO ZEROUSD USDGAME GAMEUSD USDAUSD AUSDUSD USDPLAY PLAYUSD

example query:

subscription {
  fx('USDZERO',value)
}
  1. The exchange rates should have a +/- 5% volatility for each unstable token (ZERO, GAME)
  2. the frontend Graph should consume the data fx rates and possibly index the corresponding fiat values of treasuries and wallets

Additional Information

How to test

  1. a
  2. b
  3. c
  4. d