diff --git a/src/types/explorer.ts b/src/types/explorer.ts index d1eab29..5bdf22c 100644 --- a/src/types/explorer.ts +++ b/src/types/explorer.ts @@ -199,6 +199,7 @@ export const enum ResourceTypes { NON_FUNGIBLE = "nonfungible", PERMISSIONED_GENERIC = "permissionedGeneric", PERMISSIONLESS_GENERIC = "permissionlessGeneric", + SEMI_FUNGIBLE = "semifungible", } export type SharedConfig = { diff --git a/src/utils/Helpers.tsx b/src/utils/Helpers.tsx index d512912..95e1f94 100644 --- a/src/utils/Helpers.tsx +++ b/src/utils/Helpers.tsx @@ -198,6 +198,8 @@ export const formatTransferType = (transferType: ResourceTypes): string => { return "Generic" case ResourceTypes.PERMISSIONLESS_GENERIC: return "Generic" + case ResourceTypes.SEMI_FUNGIBLE: + return "Semifungible" default: return "Fungible" } @@ -273,7 +275,7 @@ export const renderAmountValue = ( resourceID: string, fromDomainInfo: SharedConfigDomain | undefined, ): string | undefined => { - if (type === ResourceTypes.PERMISSIONLESS_GENERIC) { + if (type === ResourceTypes.PERMISSIONLESS_GENERIC || type === ResourceTypes.SEMI_FUNGIBLE) { return "Contract call" }