mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
15 lines
391 B
TypeScript
15 lines
391 B
TypeScript
import type { TokenTransfer } from 'types/api/tokenTransfer';
|
|
|
|
export const getTokenTransferTypeText = (type: TokenTransfer['type']) => {
|
|
switch (type) {
|
|
case 'token_minting':
|
|
return 'Token minting';
|
|
case 'token_burning':
|
|
return 'Token burning';
|
|
case 'token_spawning':
|
|
return 'Token creating';
|
|
case 'token_transfer':
|
|
return 'Token transfer';
|
|
}
|
|
};
|