GithubHelp home page GithubHelp logo

nanexcool / daistats Goto Github PK

View Code? Open in Web Editor NEW
75.0 10.0 50.0 39.33 MB

Dai Stats

Home Page: https://daistats.com

License: GNU General Public License v3.0

HTML 1.44% JavaScript 95.62% CSS 0.28% Python 2.66%

daistats's Introduction

This project was bootstrapped with Create React App.

Daistats

Clone this repo, then run:

yarn

then...

yarn start

And that's it :)

If you use npm replace with npm install and npm start

daistats's People

Contributors

0xmarto avatar antoncoding avatar apbendi avatar brianmcmichael avatar coinyon avatar dependabot[bot] avatar devenoges avatar freeatnet avatar godsflaw avatar iamchrissmith avatar madumas avatar michaelelliot avatar nanexcool avatar oisinkyne avatar pacxiu avatar sistemico avatar sneg55 avatar zdumitru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

daistats's Issues

429 Error | DAI Stats Site Down

Problem

The website (https://daistats.com/#/) tries to load, goes through a loading screen (image 1), then does not load (image 2).

Visual

Here is what the error looks like for the site visitor.

Image 1

This is what the top of the site looks like when first visited (everything not pictured is white / blank).
image 1

Image 2

This is what the site looks like after it has given up on loading the charts.
image 2

Thoughts

This is an API issue with the app hitting an error in the process of loading all the different stats. By inspecting the page and looking at the console (Image 3), there's a stream of errors from the infura requests. Each of those loads a 404 Error page.

That is happening in 2 steps

  1. 429 Error from requesting a page with a 404 Error too many times
  2. Type error as the data was not received

Potential Causes

The Infura page loads 404 Error (doesn't exist).

Here's the link the page is trying to call: https://mainnet.infura.io/v3/84842078b09946638c03157f83405213

Console Errors Visual

Here's what the errors look like from inspecting the console.

Image 3

image 3

rETH price looks broken

For the RETH-A pool, the site shows value locked = $0.07, which is obviously wrong. Perhaps some problem with fetching the price or with decimal scaling?

Extra Metrics

  • show next possible OSM price change time
  • under SCD MKR price, show uniswap MKR/ETH price
  • under Dai in Uniswap, show Mkr in Uniswap
  • show time of last Eth & Bat flip liquidation, also flap and flop

One row per collateral

There are 8 different collaterals now. And more are on the way. With that many collateral types it is difficult to have an overview of what is where. I was thinking to have one row per collatteral that would look something like that:

Dai generated from ETH ETH Ceiling (in Dai) ETH Stability Fee ETH Locked (in ETH) ETH Price ETH Address
Dai generated from BAT BAT Ceiling (in Dai) BAT Stability Fee BAT Locked (in BAT) BAT Price BAT Address
Dai generated from WBTC WBTC Ceiling (in Dai) WBTC Stability Fee WBTC Locked (in WBTC) WBTC Price WBTC Address
etc...

And when a new collateral is added, it will be a new row added to the table that would have the same format.

If that is fine, I can also make a PR to bring it to that format.

Not an issue , just need some info.

What are flip auctions shown on daistats?
How is chai supply shown calculated?
Also for usdt 378M/400M is shown and locked USDT is 385M. So how do you get 400M, as the max dai that usdt can back?

Doesn't work on Mozilla Firefox

Hi, I wasn't able to visit the website using Firefox 72.0.1 (64-bit):
image

(I've opened the website in Chromium and it works.)

Move assets to deprecated collateral section

Following assets have now been deprecated (0 debt ceiling and 0 outstanding DAI debt) and can be moved to deprecated collateral section:

  • UNIV2USDCETH-A
  • CRVV1ETHSTETH-A
  • RWA006-A
  • RWA008-A
  • RWA010-A
  • RWA011-A

Add "deprecated" subsection to collateral tab

I think it could improve UX to move all of the fully offboarded ERC-20 vault types (those with both 0 maximum debt ceiling [line] and 0 outstanding debt) to a separate "deprecated" tab.

Currently, the following assets would qualify as deprecated: BAT-A, USDC-B, TUSD-A, KNC-A, ZRX-A, USDT-A, COMP-A, LRC-A, BAL-A, AAVE-A, UNIV2LINKETH-A, and UNIV2AAVEETH-A

This would reduce the number of assets in the ERC-20 list by more than a quarter, making it easier to navigate.

Add button to trigger IAM DC adjustment

I think it would be helpful to have a button that updates the ETH-B DC. IE trigger exec() on the DC IAM contract. It could be helpful if it is only pressable when it's actually available for execution.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.