ethereumjs-monorepo

@ethereumjs/util


@ethereumjs/util / getBinaryTreeKeyForCodeChunk

Function: getBinaryTreeKeyForCodeChunk()

getBinaryTreeKeyForCodeChunk(address, chunkId, hashFunction): Uint8Array<ArrayBuffer>

Defined in: packages/util/src/binaryTree.ts:174

Build the binary-tree key for a contract code chunk.

Parameters

address

Address

chunkId

number

hashFunction

(input) => Uint8Array

Hash used to derive the address stem

Returns

Uint8Array<ArrayBuffer>