Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.25 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.25 KB

saddle-frontend

CI

An open source UI for Saddle 🤠

The UI is deployed on IPFS and accessible at saddle.exchange or saddlefinance.eth.link.

Installation

$ npm install

Create a .env.local file with

  • a valid REACT_APP_NETWORK_URL (e.g. Alchemy, Infura)
  • a valid blocknative API key
REACT_APP_NETWORK_URL="https://eth-mainnet.alchemyapi.io/v2/YOUR_KEY_HERE"
REACT_APP_NOTIFY_DAPP_ID="block-native-api-key-here"

Usage

$ npm run start

Math

Max and min SDL reward per Gauge (per second rate)

Min: 0.4 _ SDLPriceUSD _ Minter.rate() _ (GaugeController.gauge_relative_weight / 1e18) / (gauge.working_supply _ lpTokenPriceUSD))

Max: SDLPriceUSD _ Minter.rate() _ (GaugeController.gauge_relative_weight / 1e18) / (gauge.working_supply * lpTokenPriceUSD))

Each partner reward per Gauge (per second rate)

Min: 0.4 _ Reward[i].rate _ rewardTokenPriceUSD / (gauge.working*supply * lpTokenPriceUSD)

Max: Reward[i].rate _ rewardTokenPriceUSD / (gauge.working_supply * lpTokenPriceUSD)