Class FxTokensSDK

Hierarchy

  • FxTokensSDK

Constructors

Properties

config: FxTokensConfig
graph: GraphSDK
tokens: Omit<FxToken, "price">[]

Methods

  • Parameters

    • fxTokenSymbol: string
    • signer: Signer

    Returns ERC20

  • Parameters

    • fxTokenSymbol: string
    • provider: Provider

    Returns Promisified<FxTokenMulticall>

  • Parameters

    • fxToken: string
    • account: string
    • signer: Signer

    Returns Promise<BigNumber>

  • Parameters

    • fxToken: string
    • account: string
    • network: "arbitrum" | "polygon"
    • signer: Signer

    Returns Promise<BigNumber>

  • Parameters

    • fxTokenSymbol: string
    • amount: BigNumber
    • signer: Signer
    • options: Overrides = {}

    Returns Promise<ContractTransaction>

  • Parameters

    • fxTokenSymbol: string
    • amount: BigNumber
    • network: "arbitrum" | "polygon"
    • signer: Signer
    • options: Overrides = {}

    Returns Promise<ContractTransaction>

Generated using TypeDoc