Skip to content

Commit

Permalink
feat: new type for transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
wainola committed Apr 17, 2024
1 parent 1792eb7 commit 174a528
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/types/explorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ export const enum ResourceTypes {
NON_FUNGIBLE = "nonfungible",
PERMISSIONED_GENERIC = "permissionedGeneric",
PERMISSIONLESS_GENERIC = "permissionlessGeneric",
SEMI_FUNGIBLE = "semifungible",
}

export type SharedConfig = {
Expand Down
2 changes: 2 additions & 0 deletions src/utils/Helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 174a528

Please sign in to comment.