Options
Public
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

Const debug

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

Functions

allocateContractState

allocateMembers

allocateStruct

getStateAllocations

  • This function gets allocations for the state variables of the contracts; this is distinct from getStorageAllocations, which gets allocations for storage structs.

    While mostly state variables are kept in storage, constant ones are not. And immutable ones, once those are introduced, will be kept in code! (But those don't exist yet so this function doesn't handle them yet.)

    Parameters

    Returns StateAllocations

getStateVariables

getStorageAllocations

storageSize

storageSizeAndAllocate

Generated using TypeDoc