mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-09 20:11:02 +00:00
fix: correct wHEZ asset ID from 0 to 2
tokenWrapper pallet on Asset Hub creates wHEZ as Asset ID 2, not 0. Asset IDs on Asset Hub: - Asset 1: PEZ - Asset 2: wHEZ (via tokenWrapper) - Asset 1000: wUSDT Updated: - shared/constants/index.ts: KNOWN_TOKENS - shared/lib/wallet.ts: ASSET_IDS.WHEZ default - AccountBalance.tsx: pool queries - InitializeHezPoolModal.tsx: balance query
This commit is contained in:
@@ -47,11 +47,16 @@ export const KURDISTAN_COLORS = {
|
||||
} as const;
|
||||
|
||||
/**
|
||||
* Known tokens on the Pezkuwi blockchain
|
||||
* Known tokens on the Pezkuwi blockchain (Asset Hub)
|
||||
*
|
||||
* Asset IDs on Asset Hub:
|
||||
* - Asset 1: PEZ (Pezkuwi Token)
|
||||
* - Asset 2: wHEZ (Wrapped HEZ via tokenWrapper)
|
||||
* - Asset 1000: wUSDT (Wrapped USDT)
|
||||
*/
|
||||
export const KNOWN_TOKENS: Record<number, TokenInfo> = {
|
||||
0: {
|
||||
id: 0,
|
||||
2: {
|
||||
id: 2,
|
||||
symbol: 'wHEZ',
|
||||
name: 'Wrapped HEZ',
|
||||
decimals: 12,
|
||||
|
||||
Reference in New Issue
Block a user