@ethereumjs/util / getBinaryTreeIndicesForStorageSlot
getBinaryTreeIndicesForStorageSlot(
storageKey
):object
Defined in: packages/util/src/binaryTree.ts:133
Calculates the position of the storage key in the BinaryTree tree, determining both the tree index (the node in the tree) and the subindex (the position within the node).
bigint
The key representing a specific storage slot.
object
subIndex:
number
treeIndex:
bigint