UNPKG

violet-swapr

Version:

An SDK for building applications on top of DXswap.

25 lines (24 loc) 1.07 kB
import { BigintIsh, ChainId } from '../constants'; import JSBI from 'jsbi'; import { Percent, TokenAmount } from './fractions'; import { PricedTokenAmount } from './fractions/priced-token-amount'; import { Token } from 'entities'; export declare class SingleSidedLiquidityMiningCampaign { readonly chainId: ChainId; readonly address?: string; readonly startsAt: BigintIsh; readonly endsAt: BigintIsh; readonly rewards: PricedTokenAmount[]; readonly stakeToken: Token; readonly staked: PricedTokenAmount; readonly duration: BigintIsh; readonly locked: boolean; readonly stakingCap: TokenAmount; constructor(startsAt: BigintIsh, endsAt: BigintIsh, stakeToken: Token, rewards: PricedTokenAmount[], staked: PricedTokenAmount, locked: boolean, stakingCap: TokenAmount, address?: string); get remainingDuration(): JSBI; get remainingDistributionPercentage(): Percent; get remainingRewards(): PricedTokenAmount[]; get apy(): Percent; get currentlyActive(): boolean; get ended(): boolean; }