Class CollateralsSDK

Hierarchy

  • CollateralsSDK

Constructors

Properties

config: CollateralsConfig
graph: GraphSDK
tokens: CollateralToken[]

Methods

  • Parameters

    • collateralSymbol: CollateralSymbol
    • account: string
    • action: "deposit" | "mintAndDeposit"
    • signer: Signer

    Returns Promise<BigNumber>

  • Parameters

    • collateralSymbol: CollateralSymbol
    • amount: BigNumber
    • action: "deposit" | "mintAndDeposit"
    • signer: Signer
    • options: Overrides = {}

    Returns Promise<ContractTransaction>

  • Parameters

    Returns Promise<ContractTransaction>

Generated using TypeDoc