ethereumjs-monorepo

@ethereumjs/util


@ethereumjs/util / getBinaryTreeIndicesForStorageSlot

Function: getBinaryTreeIndicesForStorageSlot()

getBinaryTreeIndicesForStorageSlot(storageKey): object

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

Map a storage slot to its binary-tree node index and in-node subindex.

Parameters

storageKey

bigint

Returns

object

subIndex

subIndex: number

treeIndex

treeIndex: bigint