Skip to content

saddle-finance/saddle-frontend

Repository files navigation

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)

Releases

No releases published

Packages

No packages published

Languages