@@ -8,7 +8,6 @@ type TKatanaTooltipProps = {
88 katanaNativeYield : number
99 fixedRateKatanRewardsAPR : number
1010 katanaAppRewardsAPR : number
11- katanaBonusAPR : number
1211 steerPointsPerDollar ?: number
1312 isEligibleForSpectraBoost ?: boolean
1413 nativeYieldLabel ?: string
@@ -32,16 +31,14 @@ type TKatanaApyRowProps = {
3231 iconSrc : string
3332 label : string
3433 value : number
35- muted ?: boolean
3634}
3735
38- function KatanaApyRow ( { iconSrc, label, value, muted = false } : TKatanaApyRowProps ) : ReactElement {
36+ function KatanaApyRow ( { iconSrc, label, value } : TKatanaApyRowProps ) : ReactElement {
3937 return (
4038 < div
41- className = { cl (
42- 'flex w-full flex-row items-start justify-between gap-3 whitespace-normal md:text-sm text-bold pb-2' ,
43- muted ? 'text-text-secondary/35' : 'text-text-secondary'
44- ) }
39+ className = {
40+ 'flex w-full flex-row items-start justify-between gap-3 whitespace-normal pb-2 text-text-secondary md:text-sm text-bold'
41+ }
4542 >
4643 < div className = { 'flex flex-row items-center space-x-2' } >
4744 < ImageWithFallback src = { iconSrc } alt = { '' } width = { 16 } height = { 16 } />
@@ -56,7 +53,6 @@ export function KatanaApyTooltipContent({
5653 katanaNativeYield,
5754 fixedRateKatanRewardsAPR,
5855 katanaAppRewardsAPR,
59- katanaBonusAPR,
6056 steerPointsPerDollar,
6157 isEligibleForSpectraBoost,
6258 nativeYieldLabel,
@@ -70,6 +66,8 @@ export function KatanaApyTooltipContent({
7066 const tokenAddress = getVaultToken ( currentVault ) . address . toLowerCase ( )
7167 const tokenLogoSrc = `${ baseAssetsUrl } /tokens/${ chainId } /${ tokenAddress } /logo-32.png`
7268 const chainLogoSrc = `${ baseAssetsUrl } /chains/${ chainId } /logo-32.png`
69+ const hasFixedRateRewards = fixedRateKatanRewardsAPR > 0
70+ const hasAppRewards = katanaAppRewardsAPR > 0
7371 const hasSteerPoints = ( steerPointsPerDollar || 0 ) > 0
7472
7573 return (
@@ -84,49 +82,50 @@ export function KatanaApyTooltipContent({
8482 < p className = { '-mt-1 mb-2 w-full text-left text-xs text-text-secondary wrap-break-word' } >
8583 { 'Yield Earned on Katana' }
8684 </ p >
87- < KatanaApyRow iconSrc = { chainLogoSrc } label = { 'Base Rewards APR ' } value = { fixedRateKatanRewardsAPR } />
88- < p className = { '-mt-1 mb-2 w-full text-left text-xs text-text-secondary wrap-break-word' } >
89- { 'Limited time fixed KAT rewards' }
90- </ p >
91- < p className = { '-mt-1 mb-2 w-full text-left text-xs text-text-secondary break-words' } >
92- { '* claimable after 28 days, subject to ' }
85+ { hasFixedRateRewards ? (
86+ < >
87+ < KatanaApyRow iconSrc = { chainLogoSrc } label = { 'Base Rewards APR ' } value = { fixedRateKatanRewardsAPR } />
88+ < p className = { '-mt-1 mb-2 w-full text-left text-xs text-text-secondary wrap-break-word' } >
89+ { 'Limited time KAT rewards' }
90+ </ p >
91+ < p className = { '-mt-1 mb-2 w-full text-left text-xs text-text-secondary break-words' } >
92+ { '* claimable after 28 days, subject to ' }
93+ < a
94+ href = { 'https://x.com/katana/status/1961475531188126178' }
95+ target = { '_blank' }
96+ rel = { 'noopener noreferrer' }
97+ className = { KATANA_LINK_CLASS }
98+ >
99+ { 'haircut schedule.' }
100+ </ a >
101+ </ p >
102+ </ >
103+ ) : null }
104+ { hasAppRewards ? (
105+ < >
106+ < KatanaApyRow iconSrc = { chainLogoSrc } label = { 'App Rewards APR ' } value = { katanaAppRewardsAPR } />
107+ < p className = { '-mt-1 mb-2 w-full text-left text-xs text-text-secondary wrap-break-word' } >
108+ { 'KAT rewards passed through from apps' }
109+ </ p >
110+ </ >
111+ ) : null }
112+ { /* keeping the section below as we will probably need it soon */ }
113+ { /* <p className={'mt-2 w-full text-left text-xs text-text-secondary wrap-break-word'}>
114+ {
115+ 'In order to claim all KAT rewards earned before TGE, users must remain in the vault for 30 days, until April 18th, 2026.'
116+ }
117+ </p> */ }
118+ < p className = { 'mt-2 w-full text-left text-xs text-text-secondary wrap-break-word' } >
119+ { 'Read more about KAT tokenomics ' }
93120 < a
94- href = { 'https://x.com/katana/status/1961475531188126178 ' }
121+ href = { 'https://katana.network/blog/the-network-is-katana-the-token-is-kat ' }
95122 target = { '_blank' }
96123 rel = { 'noopener noreferrer' }
97124 className = { KATANA_LINK_CLASS }
98125 >
99- { 'haircut schedule .' }
126+ { 'here .' }
100127 </ a >
101128 </ p >
102- < KatanaApyRow iconSrc = { chainLogoSrc } label = { 'App Rewards APR ' } value = { katanaAppRewardsAPR } />
103- < p className = { '-mt-1 mb-2 w-full text-left text-xs text-text-secondary wrap-break-word' } >
104- { 'Kat Rewards passed through from Apps' }
105- </ p >
106- < KatanaApyRow iconSrc = { chainLogoSrc } label = { 'Deposit Bonus APR ' } value = { katanaBonusAPR } muted />
107- < p className = { '-mt-1 mb-0 w-full text-left text-xs text-text-secondary/35 wrap-break-word' } >
108- { 'Applied if you deposited before Sept. 1st and hold for 90 days' }
109- </ p >
110-
111- < div className = { 'mt-2 p-3 pb-0 text-text-secondary md:text-xs text-bold' } >
112- < li className = { '-mt-1 mb-2 w-full text-left wrap-break-word' } >
113- { 'KAT tokens are locked until TGE, which is now targeted to occur on or before the end of March 2026.' }
114- </ li >
115- < li className = { '-mt-1 mb-2 w-full text-left wrap-break-word' } >
116- { 'KAT APR is calculated using an assumed $1B Fully Diluted Valuation.' }
117- </ li >
118- < li className = { '-mt-1 mb-2 w-full text-left wrap-break-word' } >
119- { 'Read more about KAT tokenomics ' }
120- < a
121- href = { 'https://katana.network/blog/the-network-is-katana-the-token-is-kat' }
122- target = { '_blank' }
123- rel = { 'noopener noreferrer' }
124- className = { KATANA_LINK_CLASS }
125- >
126- { 'here.' }
127- </ a >
128- </ li >
129- </ div >
130129 { isEligibleForSpectraBoost && (
131130 < >
132131 < div className = { 'my-2 h-px w-full bg-surface-tertiary/60' } />
0 commit comments