Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SignatureBridge

Index

Constructors

Properties

anchors: Map<string, IAnchor>
bridgeSides: Map<number, SignatureBridgeSide>
linkedAnchors: Map<string, IAnchor[]>
webbTokenAddresses: Map<number, string>

Methods

  • deposit(destinationChainId: number, anchorSize: BigNumberish, signer: Signer): Promise<IAnchorDeposit>
  • getAnchor(chainId: number, anchorSize: BigNumberish): IAnchor
  • getWebbTokenAddress(chainId: number): string
  • update(chainId: number, anchorSize: BigNumberish): Promise<void>
  • updateLinkedAnchors(srcAnchor: IAnchor): Promise<void>
  • withdraw(depositInfo: IAnchorDeposit, anchorSize: BigNumberish, recipient: string, relayer: string, signer: Signer): Promise<boolean>
  • withdrawAndUnwrap(depositInfo: IAnchorDeposit, tokenAddress: string, anchorSize: BigNumberish, recipient: string, relayer: string, signer: Signer): Promise<boolean>
  • wrapAndDeposit(destinationChainId: number, tokenAddress: string, anchorSize: BigNumberish, wrappingFee?: number, signer: Signer): Promise<IAnchorDeposit>
  • createAnchorIdString(anchorIdentifier: AnchorIdentifier): string
  • createAnchorIdentifier(anchorString: string): AnchorIdentifier
  • createLinkedAnchorMap(createdAnchors: IAnchor[][]): Promise<Map<string, IAnchor[]>>

Generated using TypeDoc