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

UI fixes 01292025 #2578

Merged
merged 7 commits into from
Feb 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@web3-onboard/trust": "^2.1.1",
"@web3-onboard/walletconnect": "^2.6.1",
"bignumber.js": "^9.0.1",
"blockchain-addressbook": "^0.47.133",
"blockchain-addressbook": "^0.47.135",
"clsx": "^1.1.1",
"date-fns": "^2.29.3",
"eip-712": "^1.0.0",
Expand Down
3 changes: 1 addition & 2 deletions src/config/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export const config = {
],
},
optimism: {
name: 'Optimism',
name: 'OP Mainnet',
chainId: 10,
rpc: ['https://mainnet.optimism.io'],
explorerUrl: 'https://optimistic.etherscan.io',
Expand Down Expand Up @@ -751,7 +751,6 @@ export const config = {
sonic: {
name: 'Sonic',
chainId: 146,
new: true,
rpc: ['https://rpc.soniclabs.com'],
explorerUrl: 'https://sonicscan.org/',
multicallAddress: '0x0D17eE2ed4e67b626B43C3695586E5aE6a039949',
Expand Down
23 changes: 23 additions & 0 deletions src/config/points.json
Original file line number Diff line number Diff line change
Expand Up @@ -944,5 +944,28 @@
"url": "https://docs.soniclabs.com/funding/airdrop"
}
]
},
{
"id": "scroll-points",
"docs": "https://scroll.network/scroll-points",
"points": [
{
"id": "scroll-points",
"name": "Scroll Points"
}
],
"eligibility": [
{
"type": "on-chain-lp",
"chain": "scroll"
}
],
"accounting": [
{
"id": "scroll",
"role": "Scroll points",
"url": ""
}
]
}
]
34 changes: 34 additions & 0 deletions src/config/vault/scroll.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"platformId": "tokan",
"assets": ["USDC", "USDT"],
"risks": ["COMPLEXITY_LOW", "BATTLE_TESTED", "IL_HIGH", "MCAP_LARGE", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "lp",
"addLiquidityUrl": "https://app.tokan.exchange/liquidity",
"network": "scroll",
Expand Down Expand Up @@ -47,6 +48,7 @@
"platformId": "tokan",
"assets": ["WETH", "wstETH"],
"risks": ["COMPLEXITY_LOW", "BATTLE_TESTED", "IL_NONE", "MCAP_LARGE", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "lp",
"addLiquidityUrl": "https://app.tokan.exchange/liquidity",
"network": "scroll",
Expand Down Expand Up @@ -76,6 +78,7 @@
"platformId": "tokan",
"assets": ["WBTC", "ETH"],
"risks": ["COMPLEXITY_LOW", "BATTLE_TESTED", "IL_HIGH", "MCAP_LARGE", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "lp",
"addLiquidityUrl": "https://app.tokan.exchange/liquidity",
"network": "scroll",
Expand Down Expand Up @@ -106,6 +109,7 @@
"platformId": "tokan",
"assets": ["TKN", "ETH"],
"risks": ["COMPLEXITY_LOW", "BATTLE_TESTED", "IL_HIGH", "MCAP_MICRO", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "lp",
"addLiquidityUrl": "https://app.tokan.exchange/liquidity",
"network": "scroll",
Expand Down Expand Up @@ -163,6 +167,7 @@
"platformId": "nuri",
"assets": ["WBTC", "WETH"],
"risks": ["COMPLEXITY_LOW", "IL_HIGH", "MCAP_LARGE", "AUDIT", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -196,6 +201,7 @@
"platformId": "nuri",
"assets": ["WBTC", "WETH"],
"risks": [],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -230,6 +236,7 @@
"feeTier": "0.05",
"assets": ["WBTC", "WETH"],
"risks": ["IL_HIGH", "MCAP_LARGE", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand All @@ -256,6 +263,7 @@
"platformId": "nuri",
"assets": ["WETH", "wstETH"],
"risks": ["COMPLEXITY_LOW", "IL_NONE", "MCAP_LARGE", "AUDIT", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -289,6 +297,7 @@
"platformId": "nuri",
"assets": ["WETH", "wstETH"],
"risks": [],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -323,6 +332,7 @@
"feeTier": "0.05",
"assets": ["WETH", "wstETH"],
"risks": ["IL_NONE", "MCAP_LARGE", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand All @@ -349,6 +359,7 @@
"platformId": "nuri",
"assets": ["WETH", "USDT"],
"risks": ["COMPLEXITY_LOW", "IL_HIGH", "MCAP_LARGE", "AUDIT", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -382,6 +393,7 @@
"platformId": "nuri",
"assets": ["WETH", "USDT"],
"risks": [],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -416,6 +428,7 @@
"feeTier": "0.05",
"assets": ["WETH", "USDT"],
"risks": ["IL_HIGH", "MCAP_LARGE", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand All @@ -442,6 +455,7 @@
"platformId": "nuri",
"assets": ["USDC", "WETH"],
"risks": ["COMPLEXITY_LOW", "IL_HIGH", "MCAP_LARGE", "AUDIT", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -475,6 +489,7 @@
"platformId": "nuri",
"assets": ["USDC", "WETH"],
"risks": [],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -509,6 +524,7 @@
"feeTier": "0.05",
"assets": ["USDC", "WETH"],
"risks": ["IL_HIGH", "MCAP_LARGE", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -539,6 +555,7 @@
"platformId": "oku",
"assets": ["SCR", "USDC"],
"risks": [],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -570,6 +587,7 @@
"feeTier": "1",
"assets": ["SCR", "USDC"],
"risks": ["IL_HIGH", "MCAP_MEDIUM", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand All @@ -596,6 +614,7 @@
"platformId": "nuri",
"assets": ["USDC", "SCR"],
"risks": ["COMPLEXITY_LOW", "IL_HIGH", "MCAP_MEDIUM", "AUDIT", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -629,6 +648,7 @@
"platformId": "nuri",
"assets": ["USDC", "SCR"],
"risks": [],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -663,6 +683,7 @@
"feeTier": "1",
"assets": ["USDC", "SCR"],
"risks": ["IL_HIGH", "MCAP_MEDIUM", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand All @@ -689,6 +710,7 @@
"platformId": "nuri",
"assets": ["WETH", "SCR"],
"risks": ["COMPLEXITY_LOW", "IL_HIGH", "MCAP_LARGE", "AUDIT", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -722,6 +744,7 @@
"platformId": "nuri",
"assets": ["WETH", "SCR"],
"risks": [],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -756,6 +779,7 @@
"feeTier": "1",
"assets": ["WETH", "SCR"],
"risks": ["IL_HIGH", "MCAP_LARGE", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -786,6 +810,7 @@
"platformId": "sushi",
"assets": ["WETH", "SCR"],
"risks": [],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -817,6 +842,7 @@
"feeTier": "1",
"assets": ["WETH", "SCR"],
"risks": ["IL_HIGH", "MCAP_MEDIUM", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand All @@ -843,6 +869,7 @@
"platformId": "nuri",
"assets": ["loreUSD", "USDC"],
"risks": ["COMPLEXITY_LOW", "BATTLE_TESTED", "IL_NONE", "MCAP_MICRO", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "lp",
"addLiquidityUrl": "https://www.nuri.exchange/manage/v1/0x4775dFFd8762eE4C8DE49f4FD6D02A1f0d8f1698",
"network": "scroll",
Expand Down Expand Up @@ -871,6 +898,7 @@
"platformId": "nuri",
"assets": ["NURI", "ETH"],
"risks": ["COMPLEXITY_LOW", "BATTLE_TESTED", "IL_HIGH", "MCAP_MICRO", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "lp",
"addLiquidityUrl": "https://www.nuri.exchange/manage/v1/0x8ae1c699c9c62fac468a1e253e15b571b69a7ffe",
"network": "scroll",
Expand Down Expand Up @@ -903,6 +931,7 @@
"platformId": "sushi",
"assets": ["USDC", "WETH"],
"risks": [],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -934,6 +963,7 @@
"feeTier": "0.05",
"assets": ["USDC", "WETH"],
"risks": ["IL_HIGH", "MCAP_LARGE", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -964,6 +994,7 @@
"platformId": "sushi",
"assets": ["USDC", "USDT"],
"risks": [],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -995,6 +1026,7 @@
"feeTier": "0.01",
"assets": ["USDC", "USDT"],
"risks": ["IL_NONE", "MCAP_LARGE", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -1025,6 +1057,7 @@
"platformId": "oku",
"assets": ["USDC", "WETH"],
"risks": [],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down Expand Up @@ -1056,6 +1089,7 @@
"feeTier": "0.05",
"assets": ["USDC", "WETH"],
"risks": ["IL_HIGH", "MCAP_LARGE", "CONTRACTS_VERIFIED"],
"pointStructureIds": ["scroll-points"],
"strategyTypeId": "compounds",
"network": "scroll",
"zaps": [
Expand Down
2 changes: 1 addition & 1 deletion src/config/vault/sonic.json
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@
"id": "silov2-sonic-usdce-ws",
"name": "USDC.e (wS Market)",
"type": "standard",
"token": "USDC.e (wS Market)",
"token": "USDCe",
"tokenAddress": "0x29219dd400f2Bf60E5a23d13Be72B486D4038894",
"tokenDecimals": 6,
"tokenProviderId": "silo",
Expand Down
7 changes: 3 additions & 4 deletions src/images/networks/optimism.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/locales/en/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,9 @@
"Vault-Share-Lenster": "Lenster",
"Vault-Share-Telegram": "Telegram",
"Vault-Share-CopyLink": "Copy Link",
"Vault-Share-Message-normal": "Check out the current yield of {{vaultApy}} APY on Beefy's autocompounding {{vaultName}} vault.\n{{chainTag}} {{beefyHandle}}",
"Vault-Share-Message-clm": "Check out the current yield of {{vaultApy}} APY on Beefy's {{vaultName}} CLM.\n{{chainTag}} {{beefyHandle}}",
"Vault-Share-Message-clm-pool": "Check out the current yield of {{vaultApy}} APY on Beefy's {{vaultName}} CLM Pool.\n{{chainTag}} {{beefyHandle}}",
"Vault-Share-Message-normal": "Check out the current yield of {{vaultApy}} APY on Beefy's autocompounding {{vaultName}}.\n{{chainTag}} {{beefyHandle}}",
"Vault-Share-Message-clm": "Check out the current yield of {{vaultApy}} APY on Beefy's {{vaultName}}.\n{{chainTag}} {{beefyHandle}}",
"Vault-Share-Message-clm-pool": "Check out the current yield of {{vaultApy}} APY on Beefy's {{vaultName}}.\n{{chainTag}} {{beefyHandle}}",
"Vault-Share-Message-boosted": "Check out this boosted {{beefyHandle}} vault\n\uD83D\uDD25 {{vaultName}}: {{vaultApy}} APY\nEarn bonus {{boostTokenTag}} on {{chainTag}} courtesy of {{partnerHandleOrTag}}",
"Vault-Share-Message-gov": "Check it out: Earn {{vaultApy}} APY in {{earnTokenTag}} with Beefy's {{vaultName}}\n{{chainTag}} {{beefyHandle}}",
"Boost-PartnerLink-website": "Website",
Expand Down
10 changes: 6 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2882,10 +2882,12 @@ blakejs@^1.1.0:
resolved "https://registry.yarnpkg.com/blakejs/-/blakejs-1.2.1.tgz#5057e4206eadb4a97f7c0b6e197a505042fc3814"
integrity sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ==

blockchain-addressbook@^0.47.133:
version "0.47.133"
resolved "https://registry.yarnpkg.com/blockchain-addressbook/-/blockchain-addressbook-0.47.133.tgz#4f689e8c825c962acd62d7f71c85b9497442c003"
integrity sha512-FOzPtUKGjyrJEuf4csffMYCiSANAcLqVtAIUtNE310C75ndvnQjzZbKMWY96qyWpR5HJPSNBi87HSk/pZSnfAg==

blockchain-addressbook@^0.47.135:
version "0.47.135"
resolved "https://registry.yarnpkg.com/blockchain-addressbook/-/blockchain-addressbook-0.47.135.tgz#d5a4444762556dfc60ee4fa6c94fd5c38c8b6fdb"
integrity sha512-a56j2WHhDVyJ6ij86uk78U3+sDK24mT213KHF2W9tZhpJ/S6+TbSGsHPyRG5Zl1LXbbd8ubc37ZQ0rdk73hS1A==


bluebird@^3.5.0:
version "3.7.2"
Expand Down