Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

Const debug

debug: IDebugger = debugModule("codec:storage:utils")

Functions

equalSlots

  • equalSlots(slot1: Slot | undefined, slot2: Slot | undefined): boolean

isWordsLength

slotAddress

  • slotAddress(slot: Slot): BN
  • convert a slot to a word corresponding to actual storage address

    if slot is an array, return hash of array values. if slot array is nested, recurse on sub-arrays

    Parameters

    • slot: Slot

      number or possibly-nested array of numbers

    Returns BN

storageLengthToBytes

Generated using TypeDoc