Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace bridge

Index

Functions

getClaimAddressSolana

  • getClaimAddressSolana(programAddress: PublicKeyInitData, signedVaa: SignedVaa): Promise<PublicKey>

getEmitterAddressAlgorand

  • getEmitterAddressAlgorand(appId: bigint): string

getEmitterAddressEth

  • getEmitterAddressEth(contractAddress: number | BytesLike | Hexable): string

Const getEmitterAddressInjective

  • getEmitterAddressInjective(programAddress: string): Promise<string>

getEmitterAddressNear

  • getEmitterAddressNear(programAddress: string): string

getEmitterAddressSolana

  • getEmitterAddressSolana(programAddress: PublicKeyInitData): string

getEmitterAddressTerra

  • getEmitterAddressTerra(programAddress: string): Promise<string>

Const getEmitterAddressXpla

  • getEmitterAddressXpla(programAddress: string): Promise<string>

getSignedVAAHash

  • getSignedVAAHash(signedVaa: SignedVaa): string

parseSequenceFromLogAlgorand

  • parseSequenceFromLogAlgorand(result: Record<string, any>): string

parseSequenceFromLogAptos

  • parseSequenceFromLogAptos(coreBridgeAddress: string, result: Types.UserTransaction): string | null
  • Given a transaction result, return the first WormholeMessage event sequence

    Parameters

    • coreBridgeAddress: string

      Wormhole Core bridge address

    • result: Types.UserTransaction

      the result of client.waitForTransactionWithResult(txHash)

    Returns string | null

    sequence

parseSequenceFromLogEth

  • parseSequenceFromLogEth(receipt: ContractReceipt, bridgeAddress: string): string

parseSequenceFromLogInjective

  • parseSequenceFromLogInjective(info: any): string

parseSequenceFromLogNear

  • parseSequenceFromLogNear(outcome: FinalExecutionOutcome): string | null

parseSequenceFromLogSolana

  • parseSequenceFromLogSolana(info: TransactionResponse): string

parseSequenceFromLogSui

  • parseSequenceFromLogSui(originalCoreBridgePackageId: string, response: SuiTransactionBlockResponse): string | null

parseSequenceFromLogTerra

  • parseSequenceFromLogTerra(info: TxInfo): string

parseSequenceFromLogXpla

  • parseSequenceFromLogXpla(info: XplaTxInfo): string

parseSequencesFromLogEth

  • parseSequencesFromLogEth(receipt: ContractReceipt, bridgeAddress: string): string[]

parseSequencesFromLogSolana

  • parseSequencesFromLogSolana(info: TransactionResponse): undefined | string[]

parseSequencesFromLogTerra

  • parseSequencesFromLogTerra(info: TxInfo): string[]

Generated using TypeDoc