ethereumjs-monorepo

@ethereumjs/util


@ethereumjs/util / getBinaryTreeKeyForStorageSlot

Function: getBinaryTreeKeyForStorageSlot()

getBinaryTreeKeyForStorageSlot(address, storageKey, hashFunction): Uint8Array<ArrayBuffer>

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

Build the binary-tree key for an account storage slot.

Parameters

address

Address

storageKey

bigint

hashFunction

(input) => Uint8Array

Hash used to derive the address stem

Returns

Uint8Array<ArrayBuffer>