Skip to content

Commit

Permalink
improve address QR
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretSaturn committed Nov 25, 2024
1 parent 6c9f365 commit 340924d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 106 deletions.
13 changes: 11 additions & 2 deletions src/pages/portfolio/components/AddressQR.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function AddressQR() {
<div className="flex-1 flex flex-row gap-4 items-center justify-center xl:justify-center">
<Link
to="/send"
className="px-4 py-2.5 inline-block bg-cyan-500 dark:bg-cyan-500/20 text-white dark:text-cyan-200 hover:text-cyan-100 hover:bg-cyan-400 dark:hover:bg-cyan-500/50 text-center transition-colors rounded-xl font-semibold text-sm"
className="px-4 py-2.5 inline-block bg-cyan-500 dark:bg-cyan-500/20 text-white dark:text-cyan-200 hover:text-cyan-100 hover:bg-cyan-400 dark:hover:bg-cyan-500/50 text-center transition-colors rounded-xl font-semibold text-xs"
onClick={() => {
trackMixPanelEvent('Clicked Send SCRT')
}}
Expand All @@ -86,13 +86,22 @@ export default function AddressQR() {
</Link>
<Link
to="/get-scrt"
className="px-4 py-2.5 inline-block bg-cyan-500 dark:bg-cyan-500/20 text-white dark:text-cyan-200 hover:text-cyan-100 hover:bg-cyan-400 dark:hover:bg-cyan-500/50 text-center transition-colors rounded-xl font-semibold text-sm"
className="px-4 py-2.5 inline-block bg-cyan-500 dark:bg-cyan-500/20 text-white dark:text-cyan-200 hover:text-cyan-100 hover:bg-cyan-400 dark:hover:bg-cyan-500/50 text-center transition-colors rounded-xl font-semibold text-xs"
onClick={() => {
trackMixPanelEvent('Clicked Get SCRT')
}}
>
Get SCRT
</Link>
<Link
to="/bridge"
className="px-4 py-2.5 inline-block bg-cyan-500 dark:bg-cyan-500/20 text-white dark:text-cyan-200 hover:text-cyan-100 hover:bg-cyan-400 dark:hover:bg-cyan-500/50 text-center transition-colors rounded-xl font-semibold text-xs"
onClick={() => {
trackMixPanelEvent('Clicked bridge')
}}
>
Bridge
</Link>
</div>
</div>

Expand Down
104 changes: 0 additions & 104 deletions src/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3481,110 +3481,6 @@ export const tokens: Token[] = [

// These are snip 20 tokens that are IBC compatible (no need to wrap them manually)
export const snips: Token[] = [
{
name: 'ADM',
description: 'Admirari DAO Token',
is_snip20: true,
address: 'secret1zzuffktc25904mwus8ched6q6p5ewksy80m33h',
code_hash: '6ee652c96cc3b954ea763d55b039a53784a4b15f28ccac14134c8f91e2d4c91c',
image: '/adm.svg',
decimals: 6,
coingecko_id: '',
deposits: [
{
chain_name: 'Archway',
denom: ibcDenom(
[{ incomingChannelId: 'channel-39', incomingPortId: 'transfer' }],
'cw20:secret1zzuffktc25904mwus8ched6q6p5ewksy80m33h'
),
channel_id: 'channel-39',
gas: 300_000
},
{
chain_name: 'Composable',
denom: ibcDenom(
[{ incomingChannelId: 'channel-26', incomingPortId: 'transfer' }],
'cw20:secret1zzuffktc25904mwus8ched6q6p5ewksy80m33h'
),
channel_id: 'channel-26',
gas: 300_000
},
{
chain_name: 'Gravity Bridge',
denom: ibcDenom(
[{ incomingChannelId: 'channel-150', incomingPortId: 'transfer' }],
'cw20:secret1zzuffktc25904mwus8ched6q6p5ewksy80m33h'
),
channel_id: 'channel-150',
gas: 300_000
},
{
chain_name: 'Osmosis',
denom: ibcDenom(
[{ incomingChannelId: 'channel-476', incomingPortId: 'transfer' }],
'cw20:secret1zzuffktc25904mwus8ched6q6p5ewksy80m33h'
),
channel_id: 'channel-476',
gas: 300_000
},
{
chain_name: 'Kujira',
denom: ibcDenom(
[{ incomingChannelId: 'channel-44', incomingPortId: 'transfer' }],
'cw20:secret1zzuffktc25904mwus8ched6q6p5ewksy80m33h'
),
channel_id: 'channel-44',
gas: 300_000
},
{
chain_name: 'Juno',
denom: ibcDenom(
[{ incomingChannelId: 'channel-163', incomingPortId: 'transfer' }],
'cw20:secret1zzuffktc25904mwus8ched6q6p5ewksy80m33h'
),
channel_id: 'channel-163',
gas: 300_000
}
],
withdrawals: [
{
chain_name: 'Archway',
denom: 'secret1zzuffktc25904mwus8ched6q6p5ewksy80m33h',
channel_id: 'channel-90',
gas: 350_000
},
{
chain_name: 'Composable',
denom: 'secret1zzuffktc25904mwus8ched6q6p5ewksy80m33h',
channel_id: 'channel-83',
gas: 350_000
},
{
chain_name: 'Gravity Bridge',
denom: 'secret1zzuffktc25904mwus8ched6q6p5ewksy80m33h',
channel_id: 'channel-148',
gas: 350_000
},
{
chain_name: 'Osmosis',
denom: 'secret1zzuffktc25904mwus8ched6q6p5ewksy80m33h',
channel_id: 'channel-44',
gas: 350_000
},
{
chain_name: 'Kujira',
denom: 'secret1zzuffktc25904mwus8ched6q6p5ewksy80m33h',
channel_id: 'channel-46',
gas: 350_000
},
{
chain_name: 'Juno',
denom: 'secret1zzuffktc25904mwus8ched6q6p5ewksy80m33h',
channel_id: 'channel-45',
gas: 350_000
}
]
},
{
name: 'ALTER',
description: 'ALTER dApp Token',
Expand Down

0 comments on commit 340924d

Please sign in to comment.