(hash: string)
| 6 | }; |
| 7 | |
| 8 | export const truncateHash = (hash: string) => { |
| 9 | return hash ? `${hash.slice(0, 6)}…${hash.slice(-4)}` : "-"; |
| 10 | }; |
| 11 | |
| 12 | export const convertHexadecimal = (value: string): number => { |
| 13 | return parseInt(value, 16); |
nothing calls this directly
no outgoing calls
no test coverage detected