From 16e50dc8c7287e8a06049ecaa94514f2fe250e84 Mon Sep 17 00:00:00 2001 From: NingBo Wang <2536935847@qq.com> Date: Thu, 4 Jan 2024 08:04:12 +0800 Subject: [PATCH] Add BifrostPolkadot vASTR (#1086) --- src/assets/img/token/vastr.png | Bin 0 -> 19294 bytes src/modules/xcm/tokens/index.ts | 10 ++++++++++ .../implementations/xcm/BifrostXcmRepository.ts | 6 ++++++ 3 files changed, 16 insertions(+) create mode 100644 src/assets/img/token/vastr.png diff --git a/src/assets/img/token/vastr.png b/src/assets/img/token/vastr.png new file mode 100644 index 0000000000000000000000000000000000000000..873f62e86608932f0a276177ac17550ac1f050b4 GIT binary patch literal 19294 zcmV)1K+V62P)Q{vx*U)F;o+XMzR9_mm({5#Og2 zMNmn+>py>`?w z>+w$p0`G8OWT!%bHbU+K0nr9wGjeNP{3?Wdz{ZiiwhckVVcP}~fxVtC@q`@+t^Z!# z>~_3^;T=Z+D|&X+CNhJq!WI|65KC>#YA)tH=S8#VSCnCoaEx3M)@`D$JUVjE5$kC` z5rlpF_nPLd#ybq&F$8e+{>^PLtjmP3m)f?dE&fa|THjcpXCnzA?h~fC|GIH=?!!9( z-qr;0)k81025jR3;?rfYP|Gs7AQY17#I^ExXPLX-v+m_?xt@EDbF4gI_-jdN;U3HO z16I?o*L-j6+gDAzEeYW2{af1z>C0_cZC=bUs%#e#4zl#7&?4RTh;89HULBN`2j1Uv z(DS?} zY6MUh2w;3DjJjY*HQKHZgyb=0hC#;|zVi~6g}7`c;>4ysriq?R8hcYoxxPQ0%pn_* z<3r>>pU63;z&qX-2pU&?Z){6D-XeHQ2w=sI9kqi&e2JKCh0jJWV0$@_=;(4EvkM2| z2IfY~FfJUy)JT+;VZ0HrFO|Z+bPC&(32aX!&~0WsPdL&$S!D4rUP$TqjE{0&3+;eZK(iD6?bPRk_R z$8=W&MphNR_iY!pb@_j_w5-OP2yYqzFxU4Rf#u}REknV_$k*RasKybcEV@sruEOz^ zTc{msHQ zR|yr5_dk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WkRQ76Q@!Mb9HUN+szFXCxso%7r?dOv zoRhtf&+sHOtsNHbw}gEk5|!)gF3cCRhkYONhR9zh+eds{2oGbs?9P6k$feh;`H-VN zh*)kkL}W$X<%fTkcO(ILq34mdW`qK*hDAn|fd$01t%T0ntUxZLxt*NZXu{5?lz`Tvmom!fvN-Z>Q}(@ccTo9)h{PY{}6> z_TixCL6UNm2qa^80Y^=VxSJtWpOpDMBoO*2pSzx-yiZtZtgkz-IF*wN|3AIEbYO6( R27v$o002ovPDHLkV1f*#A07Yz literal 0 HcmV?d00001 diff --git a/src/modules/xcm/tokens/index.ts b/src/modules/xcm/tokens/index.ts index 5398cd73c..6b05d4bf7 100644 --- a/src/modules/xcm/tokens/index.ts +++ b/src/modules/xcm/tokens/index.ts @@ -143,6 +143,16 @@ export const xcmToken = { originChain: Chain.UNIQUE, minBridgeAmount: '0.1', }, + { + symbol: 'vASTR', + isNativeToken: false, + assetId: '18446744073709551632', + originAssetId: 'vASTR', + logo: require('/src/assets/img/token/vastr.png'), + isXcmCompatible: true, + originChain: Chain.BIFROST_POLKADOT, + minBridgeAmount: '0.1', + }, ], [endpointKey.SHIDEN]: [ { diff --git a/src/v2/repositories/implementations/xcm/BifrostXcmRepository.ts b/src/v2/repositories/implementations/xcm/BifrostXcmRepository.ts index 060616766..245561dbe 100644 --- a/src/v2/repositories/implementations/xcm/BifrostXcmRepository.ts +++ b/src/v2/repositories/implementations/xcm/BifrostXcmRepository.ts @@ -13,6 +13,7 @@ const BNC = { Native: 'BNC' }; const vDOT = { VToken2: 0 }; const vKSM = { VToken: 'KSM' }; const ASTR = { Token2: 3 }; +const vASTR = { vToken2: 3 }; const SDN = { Token2: 3 }; /** @@ -49,6 +50,8 @@ export class BifrostXcmRepository extends XcmRepository { tokenData = vKSM; } else if (token.originAssetId == 'ASTR') { tokenData = ASTR; + } else if (token.originAssetId == 'vASTR') { + tokenData = vASTR; } else if (token.originAssetId == 'SDN') { tokenData = SDN; } else { @@ -113,6 +116,9 @@ export class BifrostXcmRepository extends XcmRepository { } else if (token.originAssetId == 'ASTR') { const bal = await api.query.tokens.accounts(address, ASTR); return bal.free.toString(); + } else if (token.originAssetId == 'vASTR') { + const bal = await api.query.tokens.accounts(address, vASTR); + return bal.free.toString(); } else if (token.originAssetId == 'SDN') { const bal = await api.query.tokens.accounts(address, SDN); return bal.free.toString();