Skip to main content

abstractBackendPlugin

Index

Constructors

constructor

  • new BackendPlugin(params: { args: string[]; jobId?: string; name: string; task: string }): BackendPlugin
  • Parameters

    • params: { args: string[]; jobId?: string; name: string; task: string }

    Returns BackendPlugin

Properties

args

args: string[]

optionaljobId

jobId?: string

name

name: string

task

task: string

Methods

abstractcompile

  • compile(cache: Cache): Promise<void>
  • Parameters

    • cache: Cache

    Returns Promise<void>

abstractcreate

  • create(transaction: string): Promise<undefined | string>
  • Parameters

    • transaction: string

    Returns Promise<undefined | string>

abstractmerge

  • merge(proof1: string, proof2: string): Promise<undefined | string>
  • Parameters

    • proof1: string
    • proof2: string

    Returns Promise<undefined | string>

abstractmint

  • mint(transaction: string): Promise<undefined | string>
  • Parameters

    • transaction: string

    Returns Promise<undefined | string>

abstractsend

  • send(transaction: string): Promise<undefined | string>
  • Parameters

    • transaction: string

    Returns Promise<undefined | string>

abstractverify

  • verify(proof: string): Promise<undefined | string>
  • Parameters

    • proof: string

    Returns Promise<undefined | string>