Coder Social home page Coder Social logo

compound-info's People

Contributors

alexreyes avatar arslanbekzhaparov avatar colesperks avatar spennyp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

compound-info's Issues

Discrepency between Compound APY, and flipsides

This is likely due to Flipside and Compound using different block times. Can confirm with the web3 query for the rates, where I compute the APY with the block times.

Also, should take daily average from flipside (not just a point in the day)

Update: messaged Flipside folks and they fixed it on their end

Add tooltips everywhere

See figma for how these should look. Should also use a tooltip package for position calcs

APY chart Y-axis bug

When you select 3 month data, with DAI or other assets and toggle between supply and borrow, one of them has wild y-axis tick values!

Issue seems to be resolved with new chart formatting

Add links to tooltips

This is a bit tricky, because we need to change the tooltip close logic to have it stay open when you mouse over to the tooltip.

The idea is that the tooltip needs to stay open while we hover over on top of it so that we can interact with the links (otherwise it is just a tease).

Chart hover over tooltip design

Currently the border color is weird, can you add to the figma file how the hover over tooltip on the chart should look (the one that shows the date)

Add new tokens TruUSD and LINK

This data is not yet provided by Flipside, message them about plans to add (and also ask about backlogged data)

Once the data is added, this ticket will be closed by:

  • adding the coins to COINS in constants
  • adding the coins svg image assets
  • Adding the coins to makeQueryV2.py, rerunning that script, and updating the queries in flipside

Add filters to table column headers

Like uniswap tables, click the header to filter by that, click again to filter in the other direction (asc, desc)

Filter function is there, need to add the filter by interaction (onClick) and arrows

See figma for how these should look

Update theme file to contain the new theme as defined in figma

This is a blocker for many of the other tickets below.

Notable changes:

  • new spacing naming convention (suggest we have it as spacing.XXS, spacing.XS, ...)
  • new text color naming convention
  • more/different background colors
  • Border radius
  • New screen size query values - remove the ones we aren't using

Fetch all the data that will be needed for the rest of the coin pages (see Figma)

#Instantaneous Core Data for each market:

  • Value supplied
  • Value borrowed
  • Collateral factor
  • num borrowers
  • num suppliers
  • Reserve factor
  • Borrow cap
  • Borrow rate
  • Supply rate
  • Asset price
  • borrow distribution APY (missing from comp API)
  • supply distribution APY (missing from comp API)

Derived data:

  • TVL: sup - borrow
  • Max borrow: min(borrow cap, sup*colat factor)
  • Available liquidity: borrow - max borrow
  • Interest paid per day
  • Utilization: borrow/max borrow

Gas cost design

How does the gas look for each market, or do we keep the modal?

Add footer

Has powered by, and made by (see Figma)

Done in previous tickets

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.