Skip to content

Commit 88cb397

Browse files
committed
cleanup: remove legacy Starknet/ZkLend/Ekubo references from code files
1 parent 794b83b commit 88cb397

13 files changed

Lines changed: 38 additions & 50 deletions

File tree

quantara/frontend/src/components/home/about/About.jsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
import React from 'react';
2-
import ZkLend from '@/assets/icons/zklend_eth_collateral.svg?react';
2+
import DepositIcon from '@/assets/icons/borrow_usdc.svg?react';
33
import BorrowUSDC from '@/assets/icons/borrow_usdc.svg?react';
4-
import EkuboSwap from '@/assets/icons/ekubo_swap.svg?react';
4+
import SwapIcon from '@/assets/icons/borrow_usdc.svg?react';
55
import Repeat from '@/assets/icons/repeats.svg?react';
66
import StarMaker from '@/components/layout/star-maker/StarMaker';
77

88
const CardData = [
99
{
1010
number: '1',
11-
title: 'ZkLend ETH collateral',
12-
description: 'ETH/STRK from your wallet is deposited as collateral on ZkLend.',
13-
icon: ZkLend,
11+
title: 'Deposit Collateral',
12+
description: 'Your assets are deposited as collateral into the lending protocol.',
13+
icon: DepositIcon,
1414
},
1515
{
1616
number: '2',
17-
title: 'Borrow USDC',
18-
description: 'You borrow USDC against that collateral.',
17+
title: 'Borrow & Swap',
18+
description: 'The protocol borrows against your collateral and swaps via the AMM.',
1919
icon: BorrowUSDC,
2020
},
2121
{
2222
number: '3',
23-
title: 'Ekubo Swap',
24-
description: 'The USDC is swapped back to ETH on Ekubo.',
25-
icon: EkuboSwap,
23+
title: 'Re-Deposit',
24+
description: 'Swapped assets are re-deposited to increase your position.',
25+
icon: SwapIcon,
2626
},
2727
{
2828
number: '4',
29-
title: 'Repeats',
30-
description: 'The process repeats, compounding up to five times.',
29+
title: 'Compounds',
30+
description: 'The process repeats, compounding up to five times for maximum leverage.',
3131
icon: Repeat,
3232
},
3333
];

quantara/frontend/src/components/home/home/Home.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { useNavigate } from 'react-router-dom';
33
import SmallStar from '@/assets/particles/small_star.svg?react';
44
import StarMaker from '@/components/layout/star-maker/StarMaker';
55
import Decoration from '@/assets/particles/deco.svg?react';
6-
import Starknet from '@/assets/particles/starknet.svg?react';
76
import { useWalletStore } from '@/stores/useWalletStore';
87
import { notify } from '@/components/layout/notifier/Notifier';
98
import LaunchButton from '../../gradientbutton';
@@ -79,7 +78,6 @@ function Home() {
7978
))}
8079
<StarMaker starData={starData} />
8180

82-
<Starknet className="absolute top-0 right-[20px] z-[-1]" />
8381
</div>
8482
<div className="mx-auto flex flex-col items-center justify-center px-[1em] md:mt-[5em] lg:mt-0">
8583
<h2 className="font-text mx-auto text-center text-[50px] leading-[50px] font-medium text-[var(--primary)] lg:text-[70px] lg:leading-[75px]">

quantara/frontend/src/components/home/partnership/Partnership.jsx

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
import React from 'react';
2-
import ZklendLogo from '@/assets/images/zklend_logo.svg?react';
3-
import EkuboLogo from '@/assets/images/ekubo_logo.svg?react';
42
import Star from '@/assets/particles/star.svg?react';
5-
const Partnership = () => {
6-
const logos = [];
7-
const logoCount = 20;
8-
9-
for (let i = 0; i < logoCount; i++) {
10-
logos.push(<ZklendLogo key={`zklend-${i}`} className="mx-5 h-[100px] w-[150px] shrink-0" />);
11-
logos.push(<EkuboLogo key={`ekubo-${i}`} className="mx-5 h-[100px] w-[150px] shrink-0" />);
12-
}
133

4+
const Partnership = () => {
145
const starData = [{ top: 10, left: 75, size: 15 }];
156

167
return (
@@ -27,10 +18,10 @@ const Partnership = () => {
2718
}}
2819
/>
2920
))}
30-
<h1 className="mb-[130px] text-center text-[48px] font-semibold text-white">Partnership</h1>
31-
<div className="relative flex h-[150px] w-screen items-center overflow-hidden bg-gradient-to-r from-[var(--gradient-from)] via-purple-400 to-purple-500">
32-
<div className="partnership-logo animate-scroll relative flex items-center justify-start [&>*]:mx-[20px] [&>*]:h-[100px] [&>*]:w-[150px] [&>*]:flex-shrink-0">
33-
{logos}
21+
<h1 className="mb-[130px] text-center text-[48px] font-semibold text-white">Built on Stellar</h1>
22+
<div className="relative flex h-[150px] w-screen items-center justify-center overflow-hidden bg-gradient-to-r from-[var(--gradient-from)] via-purple-400 to-purple-500">
23+
<div className="text-center text-2xl font-semibold text-white opacity-80">
24+
Leveraging the Stellar ecosystem for fast, low-cost DeFi
3425
</div>
3526
</div>
3627
</div>

quantara/frontend/src/pages/DashboardLayout.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const dashboardItems = [
4141
},
4242
];
4343

44-
export default function DashboardLayout({ children, title = 'zkLend Position' }) {
44+
export default function DashboardLayout({ children, title = 'Position' }) {
4545
const isMobile = useCheckMobile();
4646
console.log(formIcon)
4747
return (

quantara/frontend/src/pages/leaderboard/Leaderboard.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const Leaderboard = () => {
3131
<div className="mx-auto w-[764px]">
3232
{/* Header */}
3333
<div className="mb-8">
34-
<h1 className="text-center text-2xl font-bold">zkLend Leaderboard</h1>
34+
<h1 className="text-center text-2xl font-bold">Leaderboard</h1>
3535
</div>
3636

3737
{/* Stats Cards */}

quantara/frontend/src/pages/spotnet/defi-spring/DefiSpring.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const DefiSpringPage = () => {
3232
{
3333
type: 'text',
3434
value:
35-
'Welcome to the DeFi Spring Program!\nWhere you can earn rewards through the zkLend protocol. As part of this initiative, participants will have the opportunity to receive STRK token rewards for engaging with the platform. Here’s everything you need to know to get started and make the most of your participation.',
35+
'Welcome to the DeFi Spring Program!\nWhere you can earn rewards through the protocol. As part of this initiative, participants will have the opportunity to receive STRK token rewards for engaging with the platform. Here’s everything you need to know to get started and make the most of your participation.',
3636
},
3737
],
3838
},
@@ -59,9 +59,9 @@ export const DefiSpringPage = () => {
5959
type: 'list',
6060
items: [
6161
'Reward Phases: Rewards are earned in phases, each lasting from Thursday to Wednesday. After each phase ends, it will take about 1 day for the rewards to be claimable.',
62-
'Reward Claims: Rewards can be claimed via zkLend Rewards.',
62+
'Reward Claims: Rewards can be claimed via the protocol rewards system.',
6363
'Accrued Rewards: The total rewards earned will be visible at the end of the program. You can claim your rewards all at once at that time.',
64-
'Final Claim Deadline: Be sure to claim your rewards before the DeFi Spring program ends. Any unclaimed rewards will be returned to the Starknet Foundation.',
64+
'Final Claim Deadline: Be sure to claim your rewards before the DeFi Spring program ends. Any unclaimed rewards will be returned to the program treasury.',
6565
],
6666
},
6767
],
@@ -74,7 +74,7 @@ export const DefiSpringPage = () => {
7474
{
7575
type: 'list',
7676
items: [
77-
'Dynamic APRs: The APRs (Annual Percentage Rates) are updated daily based on market conditions, pool sizes, and allocations from the Starknet Foundation. These rates may change throughout the program.',
77+
'Dynamic APRs: The APRs (Annual Percentage Rates) are updated daily based on market conditions and pool sizes. These rates may change throughout the program.',
7878
'Incentive Strategy: Different actions, such as depositing or borrowing, may receive varying rewards depending on market dynamics',
7979
'Recursive Borrow Adjustment: Rewards are based on your net deposit after accounting for borrowed funds. For example, if you deposit 100 ETH and borrow 50 ETH, your net deposit is considered 50 ETH. Recursive borrowers will see a higher APR than what they ultimately claim.',
8080
'Stablecoin Considerations: From Phase 3 onward, stablecoins (USDC, USDT, DAI) will be treated as the same asset for reward calculations. Your eligible net deposit for these will be calculated as the value of stablecoins deposited minus the value of stablecoins borrowed.',

quantara/frontend/src/pages/stake/Stake.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import { cn } from '@/utils/cn';
77
import GasFee from '@/components/vault/gas-fee/GasFee';
88

99
function Stake() {
10-
const [selectedNetwork, setSelectedNetwork] = useState('Starknet');
10+
const [selectedNetwork, setSelectedNetwork] = useState('Stellar');
1111
const [amount, setAmount] = useState('0');
1212
const [showDrop, setShowDrop] = useState(false);
1313

14-
const networks = [{ name: 'Starknet', image: STRK }];
14+
const networks = [{ name: 'Stellar', image: STRK }];
1515
const handleChange = (network) => {
1616
setSelectedNetwork(network.name);
1717
};
@@ -27,7 +27,7 @@ function Stake() {
2727
<VaultLayout>
2828
<div className="flex h-full min-h-screen w-screen flex-col items-center justify-center p-[7%] lg:ml-32 2xl:h-screen">
2929
<div className="flex h-full w-full max-w-[650px] flex-col items-center justify-center">
30-
<h1 className="mt-5 mb-10 text-center text-2xl text-white">zkLend Staking</h1>
30+
<h1 className="mt-5 mb-10 text-center text-2xl text-white">Staking</h1>
3131
<div className="flex h-[103px] w-full items-stretch justify-between space-x-5">
3232
<MetricCard title="STRK Balance" value="0.046731" icon={STRK} />
3333
<MetricCard title="APY Balance" value="0.046731" icon={USDCc} />

quantara/frontend/src/pages/terms-and-conditions/TermsAndConditions.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ const TermsAndConditionsPage = () => {
3131
{
3232
type: 'text',
3333
value:
34-
'Using zkLend involves certain risks. Please review and understand these risks before interacting with the platform.',
34+
'Using the Quantara protocol involves certain risks. Please review and understand these risks before interacting with the platform.',
3535
},
3636
{
3737
type: 'orderedList',
3838
items: [
3939
'Smart Contract Risks. Transactions on [Product Name] are governed by smart contracts. Once confirmed, smart contract transactions cannot be reversed. While our contracts are thoroughly audited, there may still be unforeseen issues. Users should review contract code and understand that they are solely responsible for any losses due to contract bugs or exploits.',
4040
'Market Volatility. Digital assets are subject to high price volatility. Values can fluctuate significantly in a short period, potentially leading to substantial losses. Users should be cautious and only invest funds they can afford to lose.',
4141
'Liquidity Risks. Some DeFi pools may have low liquidity, affecting users’ ability to withdraw funds immediately. This may result in delays or loss in value due to slippage during transactions.',
42-
'Third-Party Integrations. zkLend may integrate with third-party protocols, dApps, or platforms. These third-party services come with their own risks, and [Product Name] is not responsible for issues arising from third-party integrations, including security vulnerabilities or loss of funds.',
43-
'Privacy and Security. Users are responsible for securing their private keys and wallet credentials. Loss or compromise of these credentials may result in a total loss of funds, as zkLend cannot recover lost private keys. It is advised to use a secure, trusted wallet and enable additional security measures when available.',
42+
'Third-Party Integrations. The protocol may integrate with third-party protocols, dApps, or platforms. These third-party services come with their own risks, and Quantara is not responsible for issues arising from third-party integrations, including security vulnerabilities or loss of funds.',
43+
'Privacy and Security. Users are responsible for securing their private keys and wallet credentials. Loss or compromise of these credentials may result in a total loss of funds, as the protocol cannot recover lost private keys. It is advised to use a secure, trusted wallet and enable additional security measures when available.',
4444
],
4545
},
4646
],

quantara/frontend/src/pages/withdraw/Withdraw.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function Withdraw() {
1010
<VaultLayout>
1111
<div className="flex h-full w-screen flex-col items-center justify-center lg:ml-32 2xl:h-screen">
1212
<div>
13-
<h1 className="mt-5 mb-10 text-center text-2xl text-white">zKLend Withdraw</h1>
13+
<h1 className="mt-5 mb-10 text-center text-2xl text-white">Withdraw</h1>
1414
<div className="flex items-center space-x-5">
1515
<MetricCard title="Total Amount staked" value="324,909,894" />
1616
<MetricCard title="Daily Boost Multiplier" value="0.5%" />

quantara/web_app/contract_tools/airdrop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class AirdropFetcher:
1313
A class to fetch and validate airdrop data for a specified contract.
1414
"""
1515

16-
# Default endpoint – replace with the actual Quantara / protocol airdrop API
16+
# Default endpoint – replace with the actual protocol airdrop API
1717
REWARD_API_ENDPOINT = "https://app.zklend.com/api/reward/all/"
1818

1919
def __init__(self):

0 commit comments

Comments
 (0)