Skip to main content

parseErc1167(bytecode: Uint8Array): Uint8Array | null

Extracts the implementation address from ERC-1167 minimal proxy bytecode. Parameters:
  • bytecode: Uint8Array - Proxy bytecode (45 or 55 bytes)
Returns: Uint8Array | null - 20-byte implementation address or null if invalid Example:
Defined in: src/primitives/Proxy/parseErc1167.js

See Also