Class BridgeSDK

Hierarchy

  • BridgeSDK

Constructors

Properties

config: BridgeConfig

Methods

  • Parameters

    • bridgeId: number

    Returns "ethereum" | "arbitrum" | "polygon" | "arbitrum-goerli"

  • Parameters

    • args: BridgeDepositArguments
    • signer: Signer
    • options: Overrides = {}

    Returns Promise<ContractTransaction>

  • Parameters

    • tokenSymbol: string
    • amount: BigNumber
    • withdrawNetwork: "ethereum" | "arbitrum" | "polygon" | "arbitrum-goerli"

    Returns Promise<boolean>

  • Parameters

    • network: "ethereum" | "arbitrum" | "polygon" | "arbitrum-goerli"
    • signerOrProvider: Signer | Provider

    Returns Bridge

  • Parameters

    • account: string
    • token: string
    • network: "ethereum" | "arbitrum" | "polygon" | "arbitrum-goerli"
    • signer: Signer

    Returns Promise<BigNumber>

  • Parameters

    • tokenSymbol: string
    • withdrawNetwork: "ethereum" | "arbitrum" | "polygon" | "arbitrum-goerli"

    Returns Promise<BigNumber>

  • Parameters

    • args: BridgeGetNonceArguments
    • signer: Signer

    Returns Promise<BigNumber>

  • Parameters

    • network: "ethereum" | "arbitrum" | "polygon" | "arbitrum-goerli"
    • txHash: string

    Returns Promise<any>

  • Parameters

    • network: "ethereum" | "arbitrum" | "polygon" | "arbitrum-goerli"
    • txHash: string

    Returns Promise<any>

  • Parameters

    • token: string
    • network: "ethereum" | "arbitrum" | "polygon" | "arbitrum-goerli"
    • amount: BigNumber
    • signer: Signer
    • options: Overrides = {}

    Returns Promise<ContractTransaction>

  • Parameters

    • args: BridgeWithdrawArguments
    • signer: Signer
    • options: Overrides = {}

    Returns Promise<ContractTransaction>

Generated using TypeDoc