Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add balancer idle (and all other PRs and reverted updates) #257

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
4bd5e45
new icons for display
ryanycw Jan 20, 2023
1b32c0c
add new constants
ryanycw Jan 20, 2023
998cbb0
add new addresses
ryanycw Jan 20, 2023
90d1b53
add new pools data
ryanycw Jan 20, 2023
745fb8f
add new tokens data
ryanycw Jan 20, 2023
a59c0a4
pool infos of aura
ryanycw Jan 20, 2023
ebc7a4b
adjust file layer
ryanycw Jan 30, 2023
b60e9ff
Merge remote-tracking branch 'origin/master' into aura-init
ryanycw Jan 31, 2023
d3bbab3
adjust params
ryanycw Feb 6, 2023
89ded3c
remove unuse params
ryanycw Feb 6, 2023
aaf5ab6
adjust price functions
ryanycw Feb 6, 2023
38d5de1
Merge remote-tracking branch 'origin/master' into aura-init
ryanycw Feb 16, 2023
8c8eb2a
add quickswap gamma pools
Crypto-One-dev Feb 19, 2023
3cd20ae
fix some issues commented
Crypto-One-dev Feb 20, 2023
bfe26f8
remove rounding decimals
Crypto-One-dev Feb 20, 2023
3012d7d
update gamma url
Crypto-One-dev Feb 20, 2023
423fbbe
lint fix
Crypto-One-dev Feb 20, 2023
83d627c
add tradingAPY
ryanycw Feb 22, 2023
d1a2661
change pool name
ryanycw Feb 22, 2023
d3b4d3b
add api urls
ryanycw Feb 22, 2023
3cf6ef7
sync returns between eth and matic
ryanycw Feb 22, 2023
f6f795c
add api of lido and rocket pool for stake eth
ryanycw Feb 22, 2023
3bd682b
add info for aura
ryanycw Feb 22, 2023
4091c61
add stakeEth reward
ryanycw Feb 22, 2023
3d675e1
remove pending vault
ryanycw Feb 22, 2023
53bd2ad
Merge branch 'master' into quickswap-gamma
Crypto-One-dev Feb 23, 2023
9e421f1
revert file back
ryanycw Feb 26, 2023
fa59ca3
Merge branch 'harvest-finance:master' into aura-init
ryanycw Feb 26, 2023
66bc997
minor fixes with PR#250 suggestions
ryanycw Feb 26, 2023
600ca7a
Merge branch 'harvest-finance:master' into aura-init
ryanycw Feb 26, 2023
cb0f22f
Add Aura vaults including Idle boosted
CryptJS13 Mar 2, 2023
5b3b427
Change hardwork settings
CryptJS13 Feb 22, 2023
9493534
Update 2EUR vaults
CryptJS13 Feb 7, 2023
23f9665
Rearange Polygon vaults
CryptJS13 Mar 2, 2023
2ff3bf8
Merge pull request #245 from Crypto-One-dev/nanoly-endpoint
Feb 23, 2023
2bcf09b
Move to inactive
CryptJS13 Mar 2, 2023
67f6142
Merge commit 'refs/pull/248/head' of https://github.com/harvest-finan…
CryptJS13 Mar 2, 2023
34c1f68
Merge branch 'master' of https://github.com/harvest-finance/harvest-a…
CryptJS13 Mar 14, 2023
c17bb57
Move Balancer Idle to inactive
CryptJS13 Mar 14, 2023
ceb2640
Remove log
CryptJS13 Mar 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions data/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const VAULT_CATEGORIES_IDS = {
STABLE_POLYGON: 'STABLE_POLYGON',
CONVEX: 'CONVEX',
MESHSWAP: 'MESHSWAP',
AURA: 'AURA',
APESTAKE: 'APESTAKE',
}

Expand Down Expand Up @@ -84,6 +85,7 @@ const VAULT_CATEGORIES_NAMES = {
CONVEX: 'Convex',
MESHSWAP: 'MeshSwap',
APESTAKE: 'ApeStake',
AURA: 'Aura',
}

const CHAINS_ID = {
Expand Down Expand Up @@ -115,6 +117,7 @@ const GET_PRICE_TYPES = {
NOTIONAL: 'NOTIONAL',
MESHSWAP_PAIR: 'MESHSWAP_PAIR',
WRAPPED_TOKEN: 'WRAPPED_TOKEN',
QUICKSWAP_GAMMA: 'QUICKSWAP_GAMMA',
}

const ESTIMATED_APY_TYPES = {
Expand Down Expand Up @@ -157,7 +160,9 @@ const ESTIMATED_APY_TYPES = {
NOTIONAL: 'NOTIONAL',
APE: 'APE',
MESHSWAP: 'MESHSWAP',
AURA: 'AURA',
APE_STAKE: 'APE_STAKE',
QUICKSWAP_GAMMA: 'QUICKSWAP_GAMMA',
}

const COLLATERAL_TYPE = {
Expand Down Expand Up @@ -196,6 +201,7 @@ const TRADING_APY_TYPES = {
MSTABLE: 'MSTABLE',
LOOKS: 'LOOKS',
APE: 'APE',
QUICKSWAP_GAMMA: 'QUICKSWAP_GAMMA',
}

const POOL_TYPES = {
Expand Down
Binary file added data/icons/aura-auraBAL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/icons/aura.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/icons/balancer-auraBALlp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/icons/balancer-bbaUSD.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/icons/balancer-rETH.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/icons/balancer-wstETH.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/icons/balancer-wstETHbbaUSD.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/icons/bbausd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/icons/dquick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/icons/usdc_weth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/icons/wmatic_eth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/icons/wmatic_usdc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
138 changes: 112 additions & 26 deletions data/mainnet/addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@
"NewVault": "0x683E683fBE6Cf9b635539712c999f3B3EdCB8664",
"NewStrategy": "0x50f3cfb398A25A5918B27c77465e9C3EdE7888B7",
"NewPool": "0xef4Da1CE3f487DA2Ed0BE23173F76274E0D47579",
"Miner": "0x0f9cb53Ebe405d49A0bbdBD291A65Ff571bC83e1"
"Miner": "0x0f9cb53Ebe405d49A0bbdBD291A65Ff571bC83e1",
"doHardwork": false
},
"crvBUSD": {
"NewVault": "0x4b1cBD6F6D8676AcE5E412C78B7a59b4A1bbb68a",
Expand Down Expand Up @@ -733,7 +734,8 @@
"Underlying": "0xc4AD29ba4B3c580e6D59105FFf484999997675Ff",
"NewVault": "0x33ED34dD7C40EF807356316B484d595dDDA832ab",
"NewPool": "0xfbFBE380489882831DAD5258cFD2e29307E23B82",
"Miner": "0xD51a44d3FaE010294C616388b506AcdA1bfAAE46"
"Miner": "0xD51a44d3FaE010294C616388b506AcdA1bfAAE46",
"doHardwork": false
},
"crvCVXCRV": {
"Underlying": "0x9D0464996170c6B9e75eED71c68B99dDEDf279e8",
Expand Down Expand Up @@ -864,8 +866,7 @@
"0xFe2e637202056d30016725477c5da089Ab0A043A"
],
"NewVault": "0x65383Abd40f9f831018dF243287F7AE3612c62AC",
"NewPool": "0x11301B7C82Cd953734440aaF0D5Dd0B36E2aB1d8",
"doHardwork": "onlyProfit"
"NewPool": "0x11301B7C82Cd953734440aaF0D5Dd0B36E2aB1d8"
},
"UniV3_UST_USDT": {
"Underlying": [
Expand Down Expand Up @@ -909,8 +910,7 @@
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
],
"NewVault": "0x2357685B07469eE80A389819C7A41edCD70cd88C",
"NewPool": "0xd18F256b380b30d7Aa24c504b39f7320dF1b2dbE",
"doHardwork": "onlyProfit"
"NewPool": "0xd18F256b380b30d7Aa24c504b39f7320dF1b2dbE"
},
"UniV3_ETH_USDT": {
"Underlying": [
Expand Down Expand Up @@ -1368,7 +1368,8 @@
"Underlying": "0xC9467E453620f16b57a34a770C6bceBECe002587",
"NewVault": "0xc7fc2E6fd1d28fA86993F2d8707898c609535A4f",
"NewStrategy": "0x223f134f63723f366e6355Fa3FfbC02E6580E216",
"NewPool": "0xcEb6985B78D0f2d69274f1c37e192E82bA81CDad"
"NewPool": "0xcEb6985B78D0f2d69274f1c37e192E82bA81CDad",
"doHardwork": false
},
"convex_CVX_ETH": {
"Underlying": "0x3A283D9c08E8b55966afb64C515f5143cf907611",
Expand All @@ -1382,6 +1383,48 @@
"NewVault": "0x38B98a6704D75d701681B32800BdA8dD1C8147f6",
"NewStrategy": "0x31A641fa559836cBAf8b14cAa58444C27B7a03D2",
"NewPool": "0xfBB288bAa8b26eE54eB4a20F89E733f8F33B7C63"
},
"aura_auraBAL": {
"Underlying": "0x616e8BfA43F920657B3497DBf40D6b1A02D4608d",
"NewVault": "0x9C5B5d5EC8CfbF54F5441Bb52FD1283f39786B9A",
"NewStrategy": "0xb72c72Fd52D9b9c1333af48Ac27a3328a795270F",
"NewPool": "0x568D0Dc27Ae8096D373695D56D392558294111C1",
"PoolId": "0x5c6ee304399dbdb9c8ef030ab642b10820db8f56000200000000000000000014"
},
"aura_auraBAL_lp": {
"Underlying": "0x3dd0843A028C86e0b760b1A76929d1C5Ef93a2dd",
"NewVault": "0x7585adcc9c61802bAc69D3a9058437E3c6eFA558",
"NewStrategy": "0xDd22c1B7223e25Ca7188AE4B7106ACDEBa943E39",
"NewPool": "0x7C783b7FafFf3D186b57Fc11A09226023e3D4871",
"PoolId": "0x3dd0843a028c86e0b760b1a76929d1c5ef93a2dd000200000000000000000249"
},
"aura_bbaUSD": {
"Underlying": "0xA13a9247ea42D743238089903570127DdA72fE44",
"NewVault": "0x85472c764Ca52B189eB09497B683B2FD9cD79213",
"NewStrategy": "0x69ee8D71B7584bC5343Ef5ADD66383Dda5439940",
"NewPool": "0xF6Df2D95377d4Bf84ebCD734Ccc1Bbb2c0B38B73",
"PoolId": "0xa13a9247ea42d743238089903570127dda72fe4400000000000000000000035d"
},
"aura_rETH": {
"Underlying": "0x1E19CF2D73a72Ef1332C882F20534B6519Be0276",
"NewVault": "0x7ba1D55606900c5028Fb3BB82Fa0c198e3b0580E",
"NewStrategy": "0x3B6903F8Ea1C08621d34f455Dd2AC255688f12B0",
"NewPool": "0x62F5e9c01783232b11B4593DaC53C3E1b7c9f643",
"PoolId": "0x1e19cf2d73a72ef1332c882f20534b6519be0276000200000000000000000112"
},
"aura_wstETH": {
"Underlying": "0x32296969Ef14EB0c6d29669C550D4a0449130230",
"NewVault": "0xB3D81Fad8f5092903592249d30cdeBD681057153",
"NewStrategy": "0xd1eDA7215fF14381C1C5c578015F7AcE13C0D80F",
"NewPool": "0x136Ba87eEF4b93B161C3314309D45B2aA6cFB60b",
"PoolId": "0x32296969ef14eb0c6d29669c550d4a0449130230000200000000000000000080"
},
"aura_bbiUSD": {
"Underlying": "0x60683B05e9a39E3509D8fdb9C959f23170f8A0fa",
"NewVault": "0xe7792b29563f6DF9Ff3AcbB87087DAB90478Fc93",
"NewStrategy": "0x9ea84D87E80aCd655655144943565C1060166821",
"NewPool": "0xdF60231613482e72Aa0CC9EfBe8064C04769a18A",
"PoolId": "0x60683b05e9a39e3509d8fdb9c959f23170f8a0fa000000000000000000000489"
}
},
"BSC": {
Expand Down Expand Up @@ -1793,9 +1836,6 @@
"amWETH": "0x28424507fefb6f7f8E9D3860F56504E4e5f5f390",
"am3CRVToken": "0xE7a24EF0C5e95Ffb0f6684b813A78F2a3AD7D171",
"am3CRVPool": "0x445FE580eF8d70FF569aB36e80c647af338db351",
"amDAI": "0x27F8D03b3a2196956ED754baDc28D73be8830A6e",
"amUSDC": "0x1a13F4Ca1d028320A707D99520AbFefca3998b7F",
"amUSDT": "0x60D55F02A771d515e077c9C2403a1ef324885CeC",
"JRT_MAY22": "0xF5f480Edc68589B51F4217E6aA82Ef7Df5cf789e",
"JSGD": "0xa926db7a4CC0cb1736D5ac60495ca8Eb7214B503",
"XSGD": "0x769434dcA303597C8fc4997Bf3DAB233e961Eda2",
Expand Down Expand Up @@ -2185,14 +2225,6 @@
"RewardPool": "0x834579150Cc521e0afAB15568930e3BEc67B865A",
"useMsigProfitCalculation": true
},
"jarvis_2EUR_agEUR_HODL": {
"Underlying": "0x2fFbCE9099cBed86984286A54e5932414aF4B717",
"NewVault": "0xE4E6055A7eB29F2Fa507ba7f8c4FAcc0C5ef9a2A",
"NewStrategy": "0x76341494eeA3bfC9de420d1C02C3398833f45343",
"NewPool": "0x9c55488f8AdC23544B8571757169AE17865ABFC8",
"RewardPool": "0x7349Cc23B3A3E104ec2FA5A0BB29c8b022508779",
"useMsigProfitCalculation": true
},
"jarvis_JRTJUL22_USDC": {
"Underlying": "0x707C7f22d5E3C0234bCc53aeE51420d6cdD988f9",
"NewVault": "0xcFD80B11fefD581Fc45868ABD0d61e8437C050b1",
Expand Down Expand Up @@ -2334,14 +2366,6 @@
"RewardPool": "0x2BC39d179FAfC32B7796DDA3b936e491C87D245b",
"useMsigProfitCalculation": true
},
"jarvis_2EUR_PAR_HODL": {
"Underlying": "0x0f110c55EfE62c16D553A3d3464B77e1853d0e97",
"NewVault": "0x023E85B8415b460C56377525ED159aF9935E3370",
"NewStrategy": "0x3f34b360ccd52e22BFc2Caaa72Eb32c1b2Ea1196",
"NewPool": "0x2892FA6e9D7Fc9bc8C8e62BBe79AdDff41314d03",
"RewardPool": "0xeA9871A9451c281cc1180100FC074D7F28402288",
"useMsigProfitCalculation": true
},
"jarvis_JRTNOV22_USDC": {
"Underlying": "0x68Fd822a2Bda3dB31fFfA68089696ea4e55A9D36",
"NewVault": "0xE17e6EfbD0064992D1E4e9a4641f30e40be208a0",
Expand Down Expand Up @@ -2447,6 +2471,68 @@
"NewPool": "0xCacF3d04C7C31782fdbc66FFD9D7519B3124ed66",
"Gauge": "0xAA59736b80cf77d1E7D56B7bbA5A8050805F5064",
"PoolId": "0xb797adfb7b268faeaa90cadbfed464c76ee599cd0002000000000000000005ba"
},
"quickGamma_MATIC_ETH_narrow": {
"Underlying": "0x02203f2351E7aC6aB5051205172D3f772db7D814",
"NewVault": "0x506337cc631726A21788B9fDFb6BE6292bA7A835",
"NewStrategy": "0x20D5A2a81a2b23EE3D4ac94EB356f962f037e65A",
"NewPool": "0x55740C3a15394EBb635bdAfcbD7Fa8E285122606",
"MasterChef": "0x20ec0d06f447d550fc6edee42121bc8c1817b97d"
},
"quickGamma_MATIC_ETH_wide": {
"Underlying": "0x81Cec323BF8C4164c66ec066F53cc053A535f03D",
"NewVault": "0x2eD9699441CE48F2AA9C03Af66510D6d72750591",
"NewStrategy": "0xC17581fd31140313e634d47c4b001E9926a06087",
"NewPool": "0xdC331E735f820a306ae74ED10F6FFDdC210D0497",
"MasterChef": "0x20ec0d06f447d550fc6edee42121bc8c1817b97d"
},
"quickGamma_MATIC_USDC_narrow": {
"Underlying": "0x04d521E2c414E6d898c6F2599FdD863Edf49e247",
"NewVault": "0xa5422F737F24b10A0928D5E7f6cf404D077e1CD1",
"NewStrategy": "0x713613550CA9dbE91fAc20fB0e8fa33F1fb5822e",
"NewPool": "0xe0F5000e14367930A4781d2cEDa450888C7de163",
"MasterChef": "0x20ec0d06f447d550fc6edee42121bc8c1817b97d"
},
"quickGamma_MATIC_USDC_wide": {
"Underlying": "0x4A83253e88e77E8d518638974530d0cBbbF3b675",
"NewVault": "0xd76BC58b95acAC968Fe0Cf9fa210Bf4bE95cd249",
"NewStrategy": "0x20EB0769422c932ad34800A0211Fa136274c4B45",
"NewPool": "0x291e6768aA66Aa2c91D6aeaA917b1E79999D92f9",
"MasterChef": "0x20ec0d06f447d550fc6edee42121bc8c1817b97d"
},
"quickGamma_USDC_ETH_narrow": {
"Underlying": "0x3Cc20A6795c4b57d9817399F68E83e71C8626580",
"NewVault": "0x548E84517b2891E0316f604f4f5326a306F1830e",
"NewStrategy": "0xD5F0e427aeD0eB51077BA4b078e6431058526Dcb",
"NewPool": "0xD94c25aD1C9F6E39a20E7Ec598B4a88062bCa268",
"MasterChef": "0x20ec0d06f447d550fc6edee42121bc8c1817b97d"
},
"quickGamma_USDC_ETH_wide": {
"Underlying": "0x6077177d4c41E114780D9901C9b5c784841C523f",
"NewVault": "0x0eFe7d1E2C286833e592e887aA48a6A65F21Ee7B",
"NewStrategy": "0x84f6AA524c74D565d5A01E0e6ad388E4246E0378",
"NewPool": "0xFcC9682E08E3B001e9516683cbAAf573aFFc6415",
"MasterChef": "0x20ec0d06f447d550fc6edee42121bc8c1817b97d"
},
"balancer_2EUR_agEUR": {
"OldUnderlying": "0x2fFbCE9099cBed86984286A54e5932414aF4B717",
"Underlying": "0xa48D164F6eB0EDC68bd03B56fa59E12F24499aD1",
"NewVault": "0xE4E6055A7eB29F2Fa507ba7f8c4FAcc0C5ef9a2A",
"OldStrategy": "0x76341494eeA3bfC9de420d1C02C3398833f45343",
"NewStrategy": "0x044b1CfaDa044f9389DA761af520574E197dCCA4",
"NewPool": "0x9c55488f8AdC23544B8571757169AE17865ABFC8",
"Gauge": "0x8c73C7A998F54e3A936885C752c9955c78A5Febb",
"PoolId": "0xa48d164f6eb0edc68bd03b56fa59e12f24499ad10000000000000000000007c4"
},
"balancer_2EUR_PAR": {
"OldUnderlying": "0x0f110c55EfE62c16D553A3d3464B77e1853d0e97",
"Underlying": "0x7d60a4Cb5cA92E2Da965637025122296ea6854f9",
"NewVault": "0x023E85B8415b460C56377525ED159aF9935E3370",
"OldStrategy": "0x3f34b360ccd52e22BFc2Caaa72Eb32c1b2Ea1196",
"NewStrategy": "0x222E14Dc2f82d1d903e539C39B0C578B7353be7E",
"NewPool": "0x2892FA6e9D7Fc9bc8C8e62BBe79AdDff41314d03",
"Gauge": "0xD14875e2C65A46d15501C9296A9bCC0E17510978",
"PoolId": "0x7d60a4cb5ca92e2da965637025122296ea6854f900000000000000000000085e"
}
}
}
Expand Down
Loading