OKP4 rule engine.

Hierarchy (view full)

Constructors

Properties

connection?: Chain.Connection
instance?: {
    address?: string;
}

Type declaration

  • Optional address?: string
v2.1.0: typeof LawStone_v2_1_0 = ...

Methods

  • Make a query against this law stone's program.

    Parameters

    • query: string

    Returns Promise<unknown>

  • Permanently prevent this law stone from answering further queries.

    Returns Promise<unknown>

  • Execute a transaction on the specified instance as the specified Connection.

    Parameters

    • message: Message
    • options: {
          execFee?: IFee;
          execMemo?: string;
          execSend?: ICoin[];
      } = {}
      • Optional execFee?: IFee
      • Optional execMemo?: string
      • Optional execSend?: ICoin[]

    Returns Promise<unknown>

  • Execute a query on the specified instance as the specified Connection.

    Type Parameters

    • Q

    Parameters

    Returns Promise<Q>

  • Create an init message for a law stone.

    Parameters

    • storage_address: string
    • program: string

    Returns {
        program: string;
        storage_address: string;
    }

    • program: string
    • storage_address: string

Generated using TypeDoc