-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Velocimeter FVM * Adjust token imports
- Loading branch information
1 parent
edb9fe1
commit c584bf8
Showing
14 changed files
with
333 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export const fvm = { | ||
router: '0x2E14B53E2cB669f3A974CeaF6C735e134F3Aa9BC', | ||
voter: '0xc9Ea7A2337f27935Cd3ccFB2f725B0428e731FBF', | ||
} as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
const { FANTOM_CHAIN_ID: chainId } = require('../../../constants'); | ||
const { getSolidlyGaugeApys } = require('../common/getSolidlyGaugeApys'); | ||
|
||
const stablePools = require('../../../data/fantom/fvmStableLpPools.json'); | ||
const volatilePools = require('../../../data/fantom/fvmLpPools.json'); | ||
import { addressBook } from '../../../../packages/address-book/address-book'; | ||
const { | ||
fantom: { | ||
tokens: { FVM }, | ||
}, | ||
} = addressBook; | ||
|
||
const pools = [...stablePools, ...volatilePools]; | ||
const getFvmApys = async () => | ||
getSolidlyGaugeApys({ | ||
chainId: chainId, | ||
pools: pools, | ||
oracleId: 'oFVM', | ||
oracle: 'tokens', | ||
decimals: '1e18', | ||
reward: FVM.address, | ||
boosted: false, | ||
// log: true, | ||
}); | ||
|
||
module.exports = getFvmApys; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const getSolidlyStablePrices = require('../common/getSolidlyStablePrices'); | ||
const pools = require('../../../data/fantom/fvmStableLpPools.json'); | ||
const { FANTOM_CHAIN_ID } = require('../../../constants'); | ||
|
||
const getFvmStablePrices = async tokenPrices => { | ||
return await getSolidlyStablePrices(FANTOM_CHAIN_ID, pools, tokenPrices); | ||
}; | ||
|
||
module.exports = getFvmStablePrices; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
[ | ||
{ | ||
"name": "fvm-wftm-sftmx", | ||
"address": "0xAC8909fB68C33fFBf977E55b07b5Fe85552Ef97d", | ||
"gauge": "0x7f244DAA7aE845a20D621d876896530b58D0a681", | ||
"decimals": "1e18", | ||
"chainId": 250, | ||
"beefyFee": 0.095, | ||
"lp0": { | ||
"address": "0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83", | ||
"oracle": "tokens", | ||
"oracleId": "WFTM", | ||
"decimals": "1e18" | ||
}, | ||
"lp1": { | ||
"address": "0xd7028092c830b5C8FcE061Af2E593413EbbC1fc1", | ||
"oracle": "tokens", | ||
"oracleId": "sFTMX", | ||
"decimals": "1e18" | ||
} | ||
}, | ||
{ | ||
"name": "fvm-wftm-ofvm", | ||
"address": "0x9b014996cfA03BE2584c6E3f0e48E7c998032AD6", | ||
"gauge": "0x3921c989D757B970e88f7a7a08eAa93b7bF6c84f", | ||
"decimals": "1e18", | ||
"chainId": 250, | ||
"beefyFee": 0.095, | ||
"lp0": { | ||
"address": "0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83", | ||
"oracle": "tokens", | ||
"oracleId": "WFTM", | ||
"decimals": "1e18" | ||
}, | ||
"lp1": { | ||
"address": "0xF9EDdca6B1e548B0EC8cDDEc131464F462b8310D", | ||
"oracle": "tokens", | ||
"oracleId": "oFVM", | ||
"decimals": "1e18" | ||
} | ||
}, | ||
{ | ||
"name": "fvm-lzweth-lzwbtc", | ||
"address": "0x04636D31Be7a53BB91E48166B2458C6c35cC7BF2", | ||
"gauge": "0x3900EE825056dcd49B5aE4BDF2d16F38B764bfe7", | ||
"decimals": "1e18", | ||
"chainId": 250, | ||
"beefyFee": 0.095, | ||
"lp0": { | ||
"address": "0x695921034f0387eAc4e11620EE91b1b15A6A09fE", | ||
"oracle": "tokens", | ||
"oracleId": "lzWETH", | ||
"decimals": "1e18" | ||
}, | ||
"lp1": { | ||
"address": "0xf1648C50d2863f780c57849D812b4B7686031A3D", | ||
"oracle": "tokens", | ||
"oracleId": "lzWBTC", | ||
"decimals": "1e8" | ||
} | ||
}, | ||
{ | ||
"name": "fvm-fvm-wftm", | ||
"address": "0x0E8f117a563Be78Eb5A391A066d0d43Dd187a9E0", | ||
"gauge": "0xa3643a5d5B672a267199227CD3E95eD0B41DBD52", | ||
"decimals": "1e18", | ||
"chainId": 250, | ||
"beefyFee": 0.095, | ||
"lp0": { | ||
"address": "0x07BB65fAaC502d4996532F834A1B7ba5dC32Ff96", | ||
"oracle": "tokens", | ||
"oracleId": "FVM", | ||
"decimals": "1e18" | ||
}, | ||
"lp1": { | ||
"address": "0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83", | ||
"oracle": "tokens", | ||
"oracleId": "WFTM", | ||
"decimals": "1e18" | ||
} | ||
}, | ||
{ | ||
"name": "fvm-wftm-lzusdc", | ||
"address": "0x1a35C7357BC8D0eB9342d73D4f13c4a6f64AC1d6", | ||
"gauge": "0x78751a5577fb9875acCeDe0965691D46960C1216", | ||
"decimals": "1e18", | ||
"chainId": 250, | ||
"beefyFee": 0.095, | ||
"lp0": { | ||
"address": "0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83", | ||
"oracle": "tokens", | ||
"oracleId": "WFTM", | ||
"decimals": "1e18" | ||
}, | ||
"lp1": { | ||
"address": "0x28a92dde19D9989F39A49905d7C9C2FAc7799bDf", | ||
"oracle": "tokens", | ||
"oracleId": "lzUSDC", | ||
"decimals": "1e6" | ||
} | ||
}, | ||
{ | ||
"name": "fvm-wftm-lzweth", | ||
"address": "0x3A3F84b45f857DF60360b2B007eeF495576642DE", | ||
"gauge": "0x30d0672C6E51F3169D8d19e2EAB12D0E7Aa16e17", | ||
"decimals": "1e18", | ||
"chainId": 250, | ||
"beefyFee": 0.095, | ||
"lp0": { | ||
"address": "0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83", | ||
"oracle": "tokens", | ||
"oracleId": "WFTM", | ||
"decimals": "1e18" | ||
}, | ||
"lp1": { | ||
"address": "0x695921034f0387eAc4e11620EE91b1b15A6A09fE", | ||
"oracle": "tokens", | ||
"oracleId": "lzWETH", | ||
"decimals": "1e18" | ||
} | ||
} | ||
] |
Oops, something went wrong.