fix: correct XCM teleport - use teyrchain, fix arrow direction

This commit is contained in:
2026-02-07 22:28:12 +03:00
parent e76bec3284
commit 99e9cd981f
3 changed files with 9 additions and 14 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "pezkuwi-telegram-miniapp",
"version": "1.0.160",
"version": "1.0.161",
"type": "module",
"description": "Pezkuwichain Telegram Mini App - Forum, Announcements, Rewards",
"author": "Pezkuwichain Team",
+5 -10
View File
@@ -7,7 +7,6 @@ import { useState, useEffect } from 'react';
import {
X,
ArrowDown,
ArrowUp,
Loader2,
CheckCircle,
AlertCircle,
@@ -220,14 +219,14 @@ export function FundFeesModal({ isOpen, onClose }: Props) {
let assets: any;
if (direction === 'to-parachain') {
// Relay Chain → Parachain
// Relay Chain → Teyrchain
const targetTeyrchainId = selectedChain.teyrchainId;
dest = {
V3: {
parents: 0,
interior: {
X1: { Parachain: targetTeyrchainId },
X1: { teyrchain: targetTeyrchainId },
},
},
};
@@ -471,7 +470,7 @@ export function FundFeesModal({ isOpen, onClose }: Props) {
>
<ArrowLeftRight className="w-4 h-4 text-yellow-500" />
<span className="text-sm">
{direction === 'to-parachain' ? 'Relay → Parachain' : 'Parachain → Relay'}
{direction === 'to-parachain' ? 'Relay → Teyrchain' : 'Teyrchain → Relay'}
</span>
</button>
</div>
@@ -495,11 +494,7 @@ export function FundFeesModal({ isOpen, onClose }: Props) {
</div>
<div className="flex justify-center">
{direction === 'to-parachain' ? (
<ArrowDown className="w-5 h-5 text-yellow-500" />
) : (
<ArrowUp className="w-5 h-5 text-yellow-500" />
)}
<ArrowDown className="w-5 h-5 text-yellow-500" />
</div>
<div className="flex justify-between items-center">
@@ -525,7 +520,7 @@ export function FundFeesModal({ isOpen, onClose }: Props) {
<p className="text-sm text-yellow-400">
{direction === 'to-parachain'
? `${selectedChain.description} kêmî 0.1 HEZ tê pêşniyarkirin.`
: 'HEZ ji parachainê vedigere Relay Chainê.'}
: 'HEZ ji teyrchainê vedigere Relay Chainê.'}
</p>
</div>
+3 -3
View File
@@ -1,5 +1,5 @@
{
"version": "1.0.160",
"buildTime": "2026-02-07T18:31:26.019Z",
"buildNumber": 1770489086020
"version": "1.0.161",
"buildTime": "2026-02-07T19:28:12.310Z",
"buildNumber": 1770492492311
}