(hex: string, offset: i32)
| 98 | } |
| 99 | |
| 100 | function wordAt(hex: string, offset: i32): string { |
| 101 | return hex.slice(offset, offset + WORD_SIZE); |
| 102 | } |
| 103 | |
| 104 | function hexToAddress(hex: string): Address { |
| 105 | return Address.fromString(toHex(hex.slice(24, 64))); |