Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi: add support for DCR-USDT pair on /markets view #2002

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Sep 23, 2024

  1. multi: add support for DCR-USDT pair on /markets view

    - Add Mexc exchange `DCR-USDT` pair.
    - Add Binance `DCR-USDT` pair.
    - Fix minor bugs
    
    Breaking Changes:
    
        1. `ratesproto`: Rate messages are no longer `DCR-BTC` only, a new `currencyPair` field indicates which market rate is sent.
          
`ExchangeSubscription` field changed from `btcIndex` to `index`.
        2. `exchanges`: Aggregated chart data has been removed. This is because combining usdt and btc market bids and asks is not
           ideal and serves very little purpose. Each market has its own chart.
        3. Renamed three fields on `exchanges.ExchangeBotState`:
             - `btc_index` -> `index`
             - `dcr_btc_exchanges` -> `dcr_exchanges` (this field now returns a nested map of supported markets)
             - `btc_indices` -> `indices` (this field now returns a nested map of supported indices)
        4. Affected API Endpoints:
             -  `/exchangerate` (`exchanges.ExchangeRates.Exchanges` json field returns a nested map of support markets)
             -  `/exchanges` (returns modified `exchanges.ExchangeBotState`)
    
    Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
    ukane-philemon committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    d323ae3 View commit details
    Browse the repository at this point in the history
  2. dcrpg:remove duplicates for votes, misses and treasury table

    Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
    ukane-philemon committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    5ded975 View commit details
    Browse the repository at this point in the history
  3. update site dist

    Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
    ukane-philemon committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    ffce1c6 View commit details
    Browse the repository at this point in the history