Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CallBatch

Index

Constructors

  • new CallBatch(context: NomadContext, governorDomain: number, callerKnowsWhatTheyAreDoing: boolean): CallBatch
  • Parameters

    • context: NomadContext
    • governorDomain: number
    • callerKnowsWhatTheyAreDoing: boolean

    Returns CallBatch

Properties

built?: PopulatedTransaction
context: NomadContext
governorCore: CoreContracts
local: Readonly<Call>[]
remote: Map<number, Readonly<Call>[]>

Accessors

  • get domains(): number[]

Methods

  • batchHash(domain: number): string
  • Parameters

    • domain: number

    Returns string

  • build(): Promise<PopulatedTransaction>
  • Returns Promise<PopulatedTransaction>

  • execute(): Promise<TransactionResponse>
  • executeDomain(domain: number): Promise<TransactionResponse>
  • Parameters

    • domain: number

    Returns Promise<TransactionResponse>

  • pushLocal(call: Partial<Call>): void
  • pushRemote(domain: number, call: Partial<Call>): void
  • Parameters

    • domain: number
    • call: Partial<Call>

    Returns void

  • sign(): Promise<string>
  • waitAll(): Promise<TransactionReceipt[]>
  • Returns Promise<TransactionReceipt[]>

  • waitDomain(domain: number): Promise<TransactionReceipt>
  • Parameters

    • domain: number

    Returns Promise<TransactionReceipt>

  • fromContext(context: NomadContext): Promise<CallBatch>

Generated using TypeDoc