Options
All
  • Public
  • Public/Protected
  • All
Menu

Checkpoint implementation

Hierarchy

  • CheckpointRepo

Index

Properties

allCPs: Checkpoints

All possible values that are loaded in advance. This allows to prevent asset name clashes between scripts.

precedingCP: Checkpoints

Accumulates state as scripts are executed. This way it hides values generated by remaining checkpoints. It is what should be exposed to the running scripts.

strippedCP: Checkpoints

Variables that current script introduced, short version of what was added. Used for state persistence.

Methods

  • getMetadata(networkName: string, key: string): undefined | string
  • Gets metadata key-value for a specified network.

    Parameters

    • networkName: string
    • key: string

    Returns undefined | string

  • isDefined(networkName: string, name: string): boolean
  • networkExistsInCurrentCP(networkName: string): boolean
  • putMetadata(networkName: string, key: string, value: string): CheckpointRepo

Generated using TypeDoc