Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • VBridge

Index

Constructors

Properties

linkedVAnchors: Map<string, IAnchor[]>
vAnchors: Map<string, IAnchor>
vBridgeSides: Map<number, SignatureBridgeSide>
webbTokenAddresses: Map<number, string>

Methods

  • getVAnchor(chainId: number): IAnchor
  • getWebbTokenAddress(chainId: number): string
  • transact(inputs: Utxo[], outputs: Utxo[], fee: BigNumberish, recipient: string, relayer: string, signer: Signer): Promise<void>
  • transactWrap(tokenAddress: string, inputs: Utxo[], outputs: Utxo[], fee: BigNumberish, recipient: string, relayer: string, signer: Signer): Promise<void>
  • update(chainId: number, anchorSize: BigNumberish): Promise<void>
  • updateLinkedVAnchors(srcAnchor: IAnchor): Promise<void>
  • Updates the state of the BridgeSides and Anchors with the new state of the @param srcAnchor.

    Parameters

    • srcAnchor: IAnchor

      The anchor that has updated.

    Returns Promise<void>

  • createLinkedVAnchorMap(createdVAnchors: IAnchor[][]): Promise<Map<string, IAnchor[]>>

Generated using TypeDoc