Function setLocalContext

  • Emulate a local context by giving the write access to all contracts as well a emulating a local callStack.

    Remarks

    The local emulation is done by modifying the call stack to have identical caller and callee addresses.

    If the given localAddress is not passed, uses the current contract address as the caller address.

    Parameters

    • Optional address: string

      the optional address to use for the local emulation

    Returns void

Generated using TypeDoc