Skip to content
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 packages/ui/app/market/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default function Market() {
<div className="w-full my-4 flex flex-wrap">
<NetworkSelector
dropdownSelectedChain={+chain}
upcomingChains={['FX', 'Kroma', 'Unichain']}
// upcomingChains={['FX', 'Kroma', 'Unichain']}
/>
</div>
<div className="bg-grayone w-full rounded-xl py-4 px-4 lg:px-[1%] xl:px-[3%]">
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ export default function Navbar() {
label="Earn"
isActive={pathname === '/earn'}
/>
<NavLink
{/* <NavLink
href="/claim"
label="Claim"
isActive={pathname === '/claim'}
/>
/> */}
<NavLink
href="/incentives"
label="Incentivize"
Expand Down
6 changes: 3 additions & 3 deletions packages/ui/components/markets/NetworkSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ const ACTIVE_NETWORKS = [
'Worldchain',
'Swell',
'Soneium',
'Superseed',
'Ozean Testnet',
'Camp Testnet'
'Superseed'
// 'Ozean Testnet',
// 'Camp Testnet'
];

export const ALL_CHAINS_VALUE = 0;
Expand Down
38 changes: 1 addition & 37 deletions packages/ui/config/web3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,40 +74,6 @@ export const swellchain: AppKitNetwork = {
}
};

export const camptest: AppKitNetwork = {
id: 325000,
name: 'Camp Testnet',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc-campnetwork.xyz']
}
},
blockExplorers: {
default: {
name: 'Camp Testnet Explorer',
url: 'https://camp-network-testnet.blockscout.com',
apiUrl: 'https://camp-network-testnet.blockscout.com/api'
}
}
};

export const ozeantest: AppKitNetwork = {
id: 7849306,
name: 'Ozean Testnet',
nativeCurrency: { name: 'USDX', symbol: 'USDX', decimals: 18 },
rpcUrls: {
default: { http: ['https://ozean-testnet.rpc.caldera.xyz/http'] }
},
blockExplorers: {
default: {
name: 'Ozean Testnet Explorer',
url: 'https://ozean-testnet.explorer.caldera.xyz',
apiUrl: 'https://ozean-testnet.explorer.caldera.xyz/api'
}
}
};

export const soneium: AppKitNetwork = {
id: 1868,
name: 'Soneium',
Expand Down Expand Up @@ -140,9 +106,7 @@ export const networks: AppKitNetwork[] = [
superseed,
worldchain,
fraxtal,
swellchain,
camptest,
ozeantest
swellchain
];

export const metadata = {
Expand Down
34 changes: 1 addition & 33 deletions packages/ui/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,7 @@ import type { TxStep } from '@ui/types/ComponentPropsType';

import type { Address } from 'viem';

import {
camptest,
ink,
ozeantest,
soneium,
swellchain
} from '@ionicprotocol/chains';
import { ink, soneium, swellchain } from '@ionicprotocol/chains';
import { SupportedChainsArray } from '@ionicprotocol/types';

export const SUPPORTED_NETWORKS_REGEX = new RegExp(
Expand Down Expand Up @@ -421,32 +415,6 @@ export const pools: Record<number, PoolParams> = {
}
]
},
[camptest.chainId]: {
name: 'Camp Testnet',
arrow: 'ffffff',
bg: 'bg-camp',
text: 'text-white',
border: 'border-camp',
logo: '/img/logo/CAMP.png',
pools: [{ id: '0', name: 'Main Pool', assets: ['WETH'] }]
},
[ozeantest.chainId]: {
arrow: 'ffffff',
name: 'Ozean Testnet',
hexcode: '#2467ed',
bg: 'bg-blue-600',
accentbg: 'bg-blue-600',
text: 'text-white',
border: 'border-base',
logo: '/img/logo/OZEAN.png',
pools: [
{
id: '0',
name: 'Main Pool',
assets: ['WUSDX']
}
]
},
[soneium.chainId]: {
name: 'Soneium',
arrow: 'ffffff',
Expand Down