Type alias LpStakingData

LpStakingData: Omit<LpStaking & LpData, "tokensInLp" | "contractAddress"> & {
    account?: {
        claimableRewards: BigNumber;
        deposited: BigNumber;
    };
    address: string;
    distributionDuration: BigNumber;
    distributionPeriodEnds: BigNumber;
    distributionRate: BigNumber;
    name: LpStakingName;
    rewardsBalance: BigNumber;
    tokensInLp: {
        address: string;
        balance: BigNumber;
        decimals: number;
        symbol: string;
    }[];
    totalDeposited: BigNumber;
}

tokensInLp in this type is not fully TokenInfo as it is fetched from the LP contract rather than a token list.

Type declaration

  • Optional account?: {
        claimableRewards: BigNumber;
        deposited: BigNumber;
    }
    • claimableRewards: BigNumber
    • deposited: BigNumber
  • address: string

    Deprecated

    Use stakingContractAddress instead

  • distributionDuration: BigNumber
  • distributionPeriodEnds: BigNumber
  • distributionRate: BigNumber
  • name: LpStakingName
  • rewardsBalance: BigNumber
  • tokensInLp: {
        address: string;
        balance: BigNumber;
        decimals: number;
        symbol: string;
    }[]
  • totalDeposited: BigNumber

Generated using TypeDoc