Giter VIP home page Giter VIP logo

yam-www's Introduction

Yam.finance ๐Ÿ 

The Yam core website application.

What is YAM?

YAM is the governance token for the YAM protocol. A decentralized cryptocurrency with treasury managed by the community. The community can then use those funds via YAM governance to build out the protocol.

Available at

https://yam.finance/ - Live website Netlify Status

https://develop.yam.finance/ - Devleopment builds Netlify Status

Developments

Install deps

yarn install

Start the project

yarn start

Contributions

If you are interested to contribute feel free to open an issue or submit PR to the develop branch. If an issue has the tag assigned means it has already been assigned to someone.

For any other questions or bugs that you like to submit please join the chat to speak about it.

License

MIT

yam-www's People

Contributors

brockelmore avatar chendatony31 avatar clintonbembryjr avatar eltociear avatar ethedev avatar nateawelch avatar peterz-codes avatar rossgalloway avatar sali0 avatar verycb avatar zashton 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

Watchers

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

yam-www's Issues

Prepare rebase details

Notes

  • YAM value to be minted, if any projected *
  • YAM value to be substracted, if any projected *
  • Next projected values changes (if any other is ready)

Dashboard price color update

๐Ÿ“Ÿ Dashboard price color update

On the dashboard page, we need to show the percentage of "Current price" with color depending on the positive or negative % number.

  • if positive % showing it green
  • if negative % showing it red

Delegate Actions - p2

๐Ÿ› Delegation Page

Currently we are showing the delegate functionality in a section at the govern page, we need to keep that there but in the same time adding it on its own specific page, to be able to access it separately, as on https://yam.finance/delegate

Todo:

  • moving it to become a separate component (moving with the whole card)
  • adding /delegate on the router with its own page
  • adding the component on both the new delegate page and the bottom of the govern page

Add projects page

We need to list all the projects we launched/launching on a page, with separate buttons. So far we will have 3 projects to prepare for, listed below. Each project button should take the user to the project page.

  • Umbrella /umbrella
  • Degenerative /degenerative -> https://degenerative.finance/
  • Yam Dao House /daohouse -> https://tokensets.com/portfolio/yamhouse

Includes: #141 #142 #143

Full Scaling factor history

I know its a bit busy, but scaling factor should have a much longer history on chart than others. Currently, the graph doesnt do much for us. Other charts are concentrated on reserves so i think shorter history there is fine, but scaling factor gives an overall view of the protocol in a single chart so should be bigger time range

Update treasury: add recently moved out ETH, LP of ETH-uGAS

We need to add the recently moved-out ETH.

  • 50% of this ETH was used to mint uGAS Feb tokens
  • the other 50% of this ETH was used against the ugas feb tokens for adding LP into Uniswap
  • to add the moved-out ETH (100% in eth) back to the treasury on the dashboard chart (+table after: #114)

Notes:
Transaction can be inspected here.

Update Yam Homepage

We want to update our website homepage, we already worked on it so we just need to move it and update copy.

Checking the last 7 commits here, and this PR:

There are tons of things we dont need from there, the home page is all what we need.

  • to move the homepage on our website exactly how it looks like here (this is how it looks like: https://deploy-preview-17--serene-kowalevski-2ebf5d.netlify.app/)
  • to make sure nothing is breaking on our website while adding this
  • also notice how the footer and the header are looking like and this should only be for the homepage, keep it as is for the other pages, making new components for these to use it only on homepage can be a choice to go with

Add vested claim page

We need to separate migration from claim, since we will be removing the migration page, to do the following:

  • removing the migration page link from the header
  • adding new page /claim, and adding there the claim component
  • adding the "claim" as a sub menu header under farm

Value autoload

Add autoload to the 24h Change on dashboard, as its not getting automatically reloaded

Add and adjust buttons on the govern page

Adjustments on Govern

  • adjust the current buttons to fit in full on the row
  • add/show "Register" in case the user hasnt registered yet
  • add/show the "Unregister" button in case the user has already registered

Note:

  • Registration is identified when an account delegate to its own self.
  • All the buttons should be on the same row.

Fix gray chart bug

Reproduce:

  • go to the dashboard
  • disconnect/reconnect wallet
  • you will see the background color of the charts change to dark

Add Localization

๐ŸŽŒ Localization

We need to add localization on the website, adding many languages to come.
The setup should be simple and for each language words/sentences should be in its own separate json file in an object, english included. Also we need to save the selected language value in local storage and auto loading it whenever the user comes back to the website. For the selector of the languages we need to have it in the footer for now, right or left side either works.

What we want to add for now:

  • chinese
  • greek

Interactions fixes

๐Ÿ”ฌ Interactions fixes

We usually build our products quite fast, that can cause few things to slide off the quality level we eventually require the product to reach. This issue includes the fix of couple of things on the website, testing your ability on simple web3 by doing so.

  • On the farm page, after you click "Harvest & Unstake YAM/ETH" the wallet shows up, then if you reject the action on the wallet the same button gets stuck showing "Redeeming...", it should just show how it initially was.
  • +

Update treasury data

Yam Treasury x Yam House

  • add for the treasury datas, the newly moved 810k yUSD of yamHOUSE
  • displaying it on the chart
  • displaying it on the assets table
  • including it on dashboard topcards "Treasury value"
  • including it in the calculation of the home page "Treasury value"

Notes:

Update mobile menu

  • Adjusting the mobile menu to be the same used on both wide and small devices
  • Taking in consideration the sub menu links

Treasury assets display - p2

๐Ÿ’ฐ Treasury assets logic

On the top of the previously #107 issue worked on, now we need to have one point of data for all the treasury assets.

  • updating the useTreasury hook to include the collection of all treasury assets that are included both on the chart and on the table, so this source can be used to distribute the data to these and other components whenever needed, one source of data including every calculation needed
  • adding every asset we will have on this hook into the table and the chart so both will load the exact same assets and values
  • on the assets table adding a download function with a button, downloads the treasury assets data on an .xlsx file
  • on the assets table adding each asset picture on the left side of the asset name

Delegate Actions

๐Ÿ› Delegate Actions

We need to add a section on the govern page to allow a user to delegate to an address or remove delegation, we need to give the user 2 different choices, delegating to an address if the user was farming, delegating to an address if the user was not farming, so we need to have the following:

  • adding a section box on the govern page where everything will go into
  • inside this section we need to add 4 buttons and 2 inputs
  • first input for the user to add an address to delegate to if he was not farming
  • first button to click delegate on, which will relate to the first input if he was not farming
  • second input for the user to add an address to delegate to if he was farming
  • second button to click delegate on, which will relate to the second input if he was farming
  • third button to click on to remove delegation which can relate to either inputs (to check first which contract by using delegates function on the Read Contract on both contracts)

Notes

Update Govern page - p2

Couple of things are not clear on the popup to view the proposal details, we need to update this and redesign it to make it clearer:

  • changing the design of the popup modal

References to soon-to-be deprecated rebaser

We are updating the rebaser soon. We will need to point any code that directly references the current rebaser to be changed to the new rebaser (once deployed and set as the primary rebaser).

This includes:

  • The dashboard
  • The rebase button

If there are other things, please put them in this issue

Update Govern page

As we move forward more proposals will come to our govern page, we need to clean things up in there:

  • add pagination to the proposals tabel and only load the nessesary proposals
  • pagination should be maximum showing the last 10 proposals for now (changable if need)

Treasury asset breakdown

With the upcoming DPI purchase, we need to add dashboard info for a breakdown of the treasury since it wont just be yUSD and YAM any more

Dashboard references previous reserve contract

We have upgraded the reserve contract. The dashboard does not account for this currently. We may need to do something like we do for governance page that brings in data for both v1 and v2 governors.

Update header menu

On the header menu, we want to add: on some of the navigation labels the possibility to have sub links, inside a dropdown block, which will appear whenever the user hover on.

Example:

  • We will have a Projects label, and each time a user hovers on it, it will drop down for now:
    • Umbrella
    • Degenerative

Eventually more things are to come.

Update Charts

  • show only specific range by default
  • add ability to navigate on the charts
  • fix the Sold Per Rebase & Minted Per Rebase charts
  • replace blocknumber on the axis with date (dd mm yy)

Treasury assets display - p1

๐Ÿ’ฐ Treasury assets display

We want to visually breakdown and show every single asset of the treasury and related information of each on a separate page in a list. we need to display the following by detail:

  • every asset that the treasury owns
  • add the newly collected UMA tokens
  • total count of the asset in the treasury
  • the single value of an asset
  • the total value of an asset in the treasury
  • the total value of the treasury with all combined assets

Notes:

  • you can make use of what we already have in the chart component that exists on the dashboard currently to pull the numbers.
  • here is the etherscan link of the treasury, keeping in mind it only display there what we have on that address.

Enhancement on treasury assets

  • adding a popup where we can see all the assets of the treasury, popup opens on clicking the small treasury card

Archived:

  • getting the new on chain yUSD treasury balance after we exactly purchased the DPI on this block/timestamp 11133885/1603739830 check this line

Update nav header

  • add sub menu routerlink for /delegate under Govern in the nav
  • remove the Farm sub menu routerlink, since we already have Farm flat in the nav

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.