Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

saltyfacu/yearn-rocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yearn Rocks 🤘🎸

If you want to run the UI yourself, check the following steps:

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Add a vault

Add a new element to the config.js array:

'path': { // URL path
  TITLE: "yVault", // Title of the vault, let you imagination fly
  LOGO: "🏆🪙", // Emojis to show on top, make it fun please
  VAULT_ABI: yVaultV2, // Usually that one, unless doing a custom one
  VAULT_TYPE: 'yearn', // 'yearn', 'experimental' to select in which column it should show
  VAULT_ADDR: "0x33bd0f9618cf38fea8f7f01e1514ab63b9bde64b", // Vault address
  WANT_ADDR: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", // Token address
  WANT_SYMBOL: "USDC", // want symbol to show in UI
  COINGECKO_SYMBOL: "usd-coin", // Coingecko symbol, check it on their page
  VAULT_DEV : "emilianobonassi", // Developer of the vault
  BLOCK_ACTIVATED: 1606599919, // When the vault was activated (not implemented yet)
  VAULT_STATUS: "active", // 'active', 'withdraw'. Not active vaults have a label to show status
}