Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BaseContract
    • MockBatchedVAASender

Index

Constructors

constructor

  • new MockBatchedVAASender(addressOrName: string, contractInterface: ContractInterface, signerOrProvider?: Signer | Provider): MockBatchedVAASender
  • Parameters

    • addressOrName: string
    • contractInterface: ContractInterface
    • Optional signerOrProvider: Signer | Provider

    Returns MockBatchedVAASender

Properties

_deployedPromise

_deployedPromise: Promise<Contract>

_runningEvents

_runningEvents: {}

Type declaration

  • [eventTag: string]: RunningEvent

_wrappedEmits

_wrappedEmits: {}

Type declaration

  • [eventTag: string]: (...args: any[]) => void
      • (...args: any[]): void
      • Parameters

        • Rest ...args: any[]

        Returns void

Readonly address

address: string

callStatic

callStatic: { sendMultipleMessages: any; setup: any }

Type declaration

  • sendMultipleMessages: function
    • sendMultipleMessages(nonce: BigNumberish, payload: BytesLike, consistencyLevel: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber] & { messageSequence0: BigNumber; messageSequence1: BigNumber; messageSequence2: BigNumber }>
    • Parameters

      • nonce: BigNumberish
      • payload: BytesLike
      • consistencyLevel: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber, BigNumber, BigNumber] & { messageSequence0: BigNumber; messageSequence1: BigNumber; messageSequence2: BigNumber }>

  • setup: function
    • setup(_wormholeCore: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _wormholeCore: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

Readonly deployTransaction

deployTransaction: TransactionResponse

estimateGas

estimateGas: { sendMultipleMessages: any; setup: any }

Type declaration

  • sendMultipleMessages: function
    • sendMultipleMessages(nonce: BigNumberish, payload: BytesLike, consistencyLevel: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • nonce: BigNumberish
      • payload: BytesLike
      • consistencyLevel: BigNumberish
      • Optional overrides: PayableOverrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • setup: function
    • setup(_wormholeCore: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _wormholeCore: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

filters

filters: {}

Type declaration

functions

functions: { sendMultipleMessages: any; setup: any }

Type declaration

  • sendMultipleMessages: function
    • sendMultipleMessages(nonce: BigNumberish, payload: BytesLike, consistencyLevel: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • nonce: BigNumberish
      • payload: BytesLike
      • consistencyLevel: BigNumberish
      • Optional overrides: PayableOverrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • setup: function
    • setup(_wormholeCore: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _wormholeCore: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

interface

interface: MockBatchedVAASenderInterface

populateTransaction

populateTransaction: { sendMultipleMessages: any; setup: any }

Type declaration

  • sendMultipleMessages: function
    • sendMultipleMessages(nonce: BigNumberish, payload: BytesLike, consistencyLevel: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • nonce: BigNumberish
      • payload: BytesLike
      • consistencyLevel: BigNumberish
      • Optional overrides: PayableOverrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • setup: function
    • setup(_wormholeCore: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _wormholeCore: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

Readonly provider

provider: Provider

Readonly resolvedAddress

resolvedAddress: Promise<string>

Readonly signer

signer: Signer

Methods

_checkRunningEvents

  • _checkRunningEvents(runningEvent: RunningEvent): void
  • Parameters

    • runningEvent: RunningEvent

    Returns void

_deployed

  • _deployed(blockTag?: BlockTag): Promise<Contract>
  • Parameters

    • Optional blockTag: BlockTag

    Returns Promise<Contract>

_wrapEvent

  • _wrapEvent(runningEvent: RunningEvent, log: Log, listener: Listener): Event
  • Parameters

    • runningEvent: RunningEvent
    • log: Log
    • listener: Listener

    Returns Event

attach

  • Parameters

    • addressOrName: string

    Returns MockBatchedVAASender

connect

  • Parameters

    • signerOrProvider: string | Signer | Provider

    Returns MockBatchedVAASender

deployed

  • Returns Promise<MockBatchedVAASender>

emit

  • emit(eventName: string | EventFilter, ...args: any[]): boolean
  • Parameters

    • eventName: string | EventFilter
    • Rest ...args: any[]

    Returns boolean

fallback

  • fallback(overrides?: TransactionRequest): Promise<TransactionResponse>
  • Parameters

    • Optional overrides: TransactionRequest

    Returns Promise<TransactionResponse>

listenerCount

  • listenerCount(eventName?: string | EventFilter): number
  • Parameters

    • Optional eventName: string | EventFilter

    Returns number

listeners

  • listeners<EventArgsArray, EventArgsObject>(eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject>): TypedListener<EventArgsArray, EventArgsObject>[]
  • listeners(eventName?: string): Listener[]
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • Optional eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns TypedListener<EventArgsArray, EventArgsObject>[]

  • Parameters

    • Optional eventName: string

    Returns Listener[]

off

  • off<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): MockBatchedVAASender
  • off(eventName: string, listener: Listener): MockBatchedVAASender
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns MockBatchedVAASender

  • Parameters

    • eventName: string
    • listener: Listener

    Returns MockBatchedVAASender

on

  • on<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): MockBatchedVAASender
  • on(eventName: string, listener: Listener): MockBatchedVAASender
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns MockBatchedVAASender

  • Parameters

    • eventName: string
    • listener: Listener

    Returns MockBatchedVAASender

once

  • once<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): MockBatchedVAASender
  • once(eventName: string, listener: Listener): MockBatchedVAASender
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns MockBatchedVAASender

  • Parameters

    • eventName: string
    • listener: Listener

    Returns MockBatchedVAASender

queryFilter

  • queryFilter<EventArgsArray, EventArgsObject>(event: TypedEventFilter<EventArgsArray, EventArgsObject>, fromBlockOrBlockhash?: string | number, toBlock?: string | number): Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • event: TypedEventFilter<EventArgsArray, EventArgsObject>
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>

removeAllListeners

  • removeAllListeners<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>): MockBatchedVAASender
  • removeAllListeners(eventName?: string): MockBatchedVAASender
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns MockBatchedVAASender

  • Parameters

    • Optional eventName: string

    Returns MockBatchedVAASender

removeListener

  • removeListener<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): MockBatchedVAASender
  • removeListener(eventName: string, listener: Listener): MockBatchedVAASender
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns MockBatchedVAASender

  • Parameters

    • eventName: string
    • listener: Listener

    Returns MockBatchedVAASender

sendMultipleMessages

  • sendMultipleMessages(nonce: BigNumberish, payload: BytesLike, consistencyLevel: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • nonce: BigNumberish
    • payload: BytesLike
    • consistencyLevel: BigNumberish
    • Optional overrides: PayableOverrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

setup

  • setup(_wormholeCore: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _wormholeCore: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

Static getContractAddress

  • getContractAddress(transaction: { from: string; nonce: BigNumberish }): string
  • Parameters

    • transaction: { from: string; nonce: BigNumberish }
      • from: string
      • nonce: BigNumberish

    Returns string

Static getInterface

  • getInterface(contractInterface: ContractInterface): Interface
  • Parameters

    • contractInterface: ContractInterface

    Returns Interface

Static isIndexed

  • isIndexed(value: any): value is Indexed
  • Parameters

    • value: any

    Returns value is Indexed

Generated using TypeDoc