explorer: make wrapped sol available through search (#12003)
* make wrapped sol available through search * fix formatting * remove existing wrapped sol constant from utils/tx
This commit is contained in:
parent
b22de369b7
commit
28cf896a64
|
@ -63,4 +63,8 @@ const MAINNET_TOKENS: { [key: string]: TokenDetails } = {
|
|||
symbol: "USDC",
|
||||
name: "Wrapped USDC",
|
||||
},
|
||||
So11111111111111111111111111111111111111112: {
|
||||
symbol: "SOL",
|
||||
name: "Wrapped SOL",
|
||||
},
|
||||
};
|
||||
|
|
|
@ -49,10 +49,6 @@ const SYSVAR_ID: { [key: string]: string } = {
|
|||
Sysvar1111111111111111111111111111111111111: "SYSVAR",
|
||||
};
|
||||
|
||||
const WRAPPED_SOL: { [key: string]: string } = {
|
||||
So11111111111111111111111111111111111111112: "Wrapped SOL",
|
||||
};
|
||||
|
||||
export const SYSVAR_IDS = {
|
||||
[SYSVAR_CLOCK_PUBKEY.toBase58()]: "SYSVAR_CLOCK",
|
||||
SysvarEpochSchedu1e111111111111111111111111: "SYSVAR_EPOCH_SCHEDULE",
|
||||
|
@ -74,7 +70,6 @@ export function addressLabel(
|
|||
LOADER_IDS[address] ||
|
||||
SYSVAR_IDS[address] ||
|
||||
SYSVAR_ID[address] ||
|
||||
WRAPPED_SOL[address] ||
|
||||
TokenRegistry.get(address, cluster)?.name
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue