Skip to content

Commit 8239608

Browse files
Copilot0xrinegade
andcommitted
Replace RIN token with SVMAI token throughout codebase
Co-authored-by: 0xrinegade <[email protected]>
1 parent 09d7330 commit 8239608

File tree

8 files changed

+2737
-2584
lines changed

8 files changed

+2737
-2584
lines changed

src/components/Navbar/Navbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@ export const Navbar = () => {
7070
padding="md"
7171
borderRadius="xxl"
7272
>
73-
Stake RIN
73+
Stake SVMAI
7474
</Button>
7575
</LogoBlock>
7676
<LinksBlock>{feedbackLinks}</LinksBlock>
7777
<MainLinksWrap>
7878
<MainLinksBlock>
7979
<NavLink
8080
as="a"
81-
href="https://svmseek.com/chart/spot/RIN_USDC"
81+
href="https://svmseek.com/chart/spot/SVMAI_USDC"
8282
activeClassName="selected"
8383
>
8484
Trade

src/components/RebrandingPopup/RebrandingPopup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const RebrandingPopup = ({
106106
We are happy to announce that we have rebranded CCAI and are ready to present – SVMSeek!
107107
</WhiteText>
108108
<WhiteText theme={theme} style={{ color: theme.customPalette.text.grey, marginBottom: '2rem' }}>
109-
The CCAI token has also been renamed to RIN. CCAI tokens in your wallets are automatically changed to RIN.
109+
The CCAI token has also been renamed to SVMAI. CCAI tokens in your wallets are automatically changed to SVMAI.
110110
</WhiteText>
111111
<WhiteText theme={theme} style={{ color: theme.customPalette.text.grey, marginBottom: '2rem' }}>
112112
The new name comes with exciting developments for future holders of tokens and traders like you, so make sure to follow us on twitter as we announce these new features.

src/pages/Wallet/components/AddTokenPopup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ export default function AddTokenDialog({
245245
)}
246246
<RowContainer width="90%" margin={'2rem 0 0 0'}>
247247
<Input
248-
placeholder={'Token Symbol (e.g. RIN)'}
248+
placeholder={'Token Symbol (e.g. SVMAI)'}
249249
value={tokenSymbol}
250250
onKeyDown={handleKeyDown}
251251
onChange={(e) => setTokenSymbol(e.target.value)}

src/pages/Wallet/components/AssetsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ const AssetItem = ({
470470
};
471471

472472
if (tokenSymbol === 'CCAI') {
473-
tokenSymbol = 'RIN';
473+
tokenSymbol = 'SVMAI';
474474
}
475475

476476
if (tokenName === 'Cryptocurrencies.Ai') {

src/utils/tokens/tokens.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import { MAINNET_URL } from "../connection";
1111
export const TOKENS = {
1212
[MAINNET_URL]: [
1313
{
14-
mintAddress: 'E5ndSkaB17Dm7CsD22dvcjfrYSDLCxFcMd6z8ddCk5wp',
15-
tokenSymbol: 'RIN',
14+
mintAddress: 'Cpzvdx6pppc9TNArsGsqgShCsKC9NCCjA2gtzHvUpump',
15+
tokenSymbol: 'SVMAI',
1616
},
1717
{
1818
mintAddress: '4pk3pf9nJDN1im1kNwWJN1ThjE8pCYCTexXYGyFjqKVf',

src/utils/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export const getAllTokensData = async (
198198

199199
const dataForToken = {
200200
name: name === 'Cryptocurrencies.Ai' ? 'SVMSeek' : name,
201-
symbol: symbol === 'CCAI' ? 'RIN' : symbol,
201+
symbol: symbol === 'CCAI' ? 'SVMAI' : symbol,
202202
decimals: el.account.data.parsed.info.tokenAmount.decimals,
203203
amount: el.account.data.parsed.info.tokenAmount.uiAmount,
204204
mint: el.account.data.parsed.info.mint,

src/utils/wallet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ export function useBalanceInfo(publicKey) {
475475
mint,
476476
owner,
477477
tokenName: name === 'Cryptocurrencies.Ai' ? 'SVMSeek' : name,
478-
tokenSymbol: symbol === 'CCAI' ? 'RIN' : symbol,
478+
tokenSymbol: symbol === 'CCAI' ? 'SVMAI' : symbol,
479479
tokenLogoUri: logoUri,
480480
valid: true,
481481
};

yarn.lock

Lines changed: 2728 additions & 2575 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)