(bytes: string)
| 78 | * @returns true if already in ScriptRef format |
| 79 | */ |
| 80 | export function isScriptRefFormat(bytes: string): boolean { |
| 81 | return bytes.startsWith('8200') || |
| 82 | bytes.startsWith('8201') || |
| 83 | bytes.startsWith('8202') || |
| 84 | bytes.startsWith('8203'); |
| 85 | } |
| 86 | |
| 87 | /** |
| 88 | * Wraps script bytes in ScriptRef format |
no outgoing calls
no test coverage detected