Skip to content

Commit

Permalink
Merge pull request #1117 from mars-protocol/develop
Browse files Browse the repository at this point in the history
v2.7.0
  • Loading branch information
linkielink authored Sep 9, 2024
2 parents 69cd1a5 + f830423 commit 19b7191
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/hls/getHLSStakingAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default async function getHLSStakingAssets(chainConfig: ChainConfig, asse
depositCap: {
denom: depositCap.denom,
used: BN(depositCap.amount),
max: BN(depositCap.cap),
max: BN(depositCap.cap).times(0.95),
},
apy,
} as HLSStrategy
Expand Down
4 changes: 3 additions & 1 deletion src/components/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ const menuTree = (chainConfig: ChainConfig): MenuTreeEntry[] => [
...(chainConfig.perps ? [{ pages: ['perps'] as Page[], label: 'Perps' }] : []),
{ pages: chainConfig.farm || chainConfig.perps ? ['lend', 'farm'] : ['lend'], label: 'Earn' },
{ pages: ['borrow'], label: 'Borrow' },
...(chainConfig.hls ? [{ pages: ['hls-staking'] as Page[], label: 'High Leverage' }] : []),
...(chainConfig.hls
? [{ pages: ['hls-staking', 'hls-farm'] as Page[], label: 'High Leverage' }]
: []),
{ pages: ['portfolio'], label: 'Portfolio' },
{ pages: ['governance'], label: 'Governance', externalUrl: DocURL.COUNCIL },
]
Expand Down

0 comments on commit 19b7191

Please sign in to comment.