mirror of
https://github.com/pezkuwichain/pezkuwi-telegram-miniapp.git
synced 2026-06-20 03:21:04 +00:00
Compare commits
2 Commits
master
...
039ce697c8
| Author | SHA1 | Date | |
|---|---|---|---|
| 039ce697c8 | |||
| 39ff9e959f |
Generated
+1125
-452
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pezkuwi-telegram-miniapp",
|
"name": "pezkuwi-telegram-miniapp",
|
||||||
"version": "1.0.230",
|
"version": "1.0.233",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Pezkuwichain Telegram Mini App - Forum, Announcements, Rewards",
|
"description": "Pezkuwichain Telegram Mini App - Forum, Announcements, Rewards",
|
||||||
"author": "Pezkuwichain Team",
|
"author": "Pezkuwichain Team",
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ interface TokenConfig {
|
|||||||
logo: string;
|
logo: string;
|
||||||
isDefault: boolean;
|
isDefault: boolean;
|
||||||
priority: number; // Lower = higher in list
|
priority: number; // Lower = higher in list
|
||||||
|
standard?: 'PEZ-20'; // fungible Asset Hub asset → PEZ-20 token standard
|
||||||
}
|
}
|
||||||
|
|
||||||
const DEFAULT_TOKENS: TokenConfig[] = [
|
const DEFAULT_TOKENS: TokenConfig[] = [
|
||||||
@@ -98,6 +99,7 @@ const DEFAULT_TOKENS: TokenConfig[] = [
|
|||||||
logo: '/tokens/PEZ.png',
|
logo: '/tokens/PEZ.png',
|
||||||
isDefault: true,
|
isDefault: true,
|
||||||
priority: 1,
|
priority: 1,
|
||||||
|
standard: 'PEZ-20',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
assetId: ASSET_IDS.WUSDT,
|
assetId: ASSET_IDS.WUSDT,
|
||||||
@@ -108,6 +110,7 @@ const DEFAULT_TOKENS: TokenConfig[] = [
|
|||||||
logo: '/tokens/USDT.png',
|
logo: '/tokens/USDT.png',
|
||||||
isDefault: true,
|
isDefault: true,
|
||||||
priority: 2,
|
priority: 2,
|
||||||
|
standard: 'PEZ-20',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
assetId: ASSET_IDS.DOT,
|
assetId: ASSET_IDS.DOT,
|
||||||
@@ -838,6 +841,18 @@ export function TokensCard({ onSendToken }: Props) {
|
|||||||
<div>
|
<div>
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<span className="font-semibold">{token.displaySymbol}</span>
|
<span className="font-semibold">{token.displaySymbol}</span>
|
||||||
|
{token.standard === 'PEZ-20' && (
|
||||||
|
<a
|
||||||
|
href="https://docs.pezkuwichain.io/token-standards"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
onClick={(e) => e.stopPropagation()}
|
||||||
|
title="PEZ-20 token standard on Pezkuwi Asset Hub"
|
||||||
|
className="text-[10px] bg-blue-500/20 text-blue-300 px-1.5 py-0.5 rounded no-underline"
|
||||||
|
>
|
||||||
|
PEZ-20
|
||||||
|
</a>
|
||||||
|
)}
|
||||||
{token.assetId <= -100 && (
|
{token.assetId <= -100 && (
|
||||||
<span className="text-[10px] bg-purple-500/20 text-purple-400 px-1.5 py-0.5 rounded">
|
<span className="text-[10px] bg-purple-500/20 text-purple-400 px-1.5 py-0.5 rounded">
|
||||||
LP
|
LP
|
||||||
|
|||||||
+3
-3
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "1.0.230",
|
"version": "1.0.233",
|
||||||
"buildTime": "2026-02-27T23:33:39.279Z",
|
"buildTime": "2026-06-13T04:42:17.513Z",
|
||||||
"buildNumber": 1772235219280
|
"buildNumber": 1781325737513
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user