Options
All
  • Public
  • Public/Protected
  • All
Menu

@nomad-xyz/sdk-bridge

Index

Type aliases

Action: Transfer
AnnotatedSend: Annotated<bridgeEvents.SendTypes, bridgeEvents.SendEvent>
AnyBridgeMessage: TransferMessage
ParsedBridgeMessage<T>: { action: T; token: TokenIdentifier }

Type parameters

Type declaration

ParsedTransferMessage: ParsedBridgeMessage<Transfer>
ResolvedTokenInfo: { domain: number; id: BytesLike; tokens: Map<number, bridge.BridgeToken> }

Type declaration

  • domain: number
  • id: BytesLike
  • tokens: Map<number, bridge.BridgeToken>
SendArgs: { amount: BigNumber; from: string; toDomain: number; toId: string; token: string }

Type declaration

  • amount: BigNumber
  • from: string
  • toDomain: number
  • toId: string
  • token: string
SendEvent: TypedEvent<bridgeEvents.SendTypes & bridgeEvents.SendArgs>
SendTypes: [string, string, number, string, BigNumber]
TokenDeployedArgs: { domain: number; id: string; representation: string }

Type declaration

  • domain: number
  • id: string
  • representation: string
TokenDeployedTypes: [number, string, string]

Variables

testnetTokens: { Alfajores: TokenIdentifier; Kovan: TokenIdentifier } = testnetWellKnown

Type declaration

tokens: { Celo: TokenIdentifier; LINK: TokenIdentifier; Sushi: TokenIdentifier; UNI: TokenIdentifier; USDC: TokenIdentifier; USDT: TokenIdentifier; WBTC: TokenIdentifier; WMATIC: TokenIdentifier; Weth: TokenIdentifier; cEUR: TokenIdentifier; cUSD: TokenIdentifier } = wellKnown

Functions

Generated using TypeDoc