UNPKG

@multiversx/sdk-dapp-swap

Version:

A library to hold the main logic for swapping between tokens on the MultiversX blockchain

28 lines 793 B
import { EsdtType, NftCollectionType } from './tokens.types'; export declare enum PairStatesEnum { active = "Active", inactive = "Inactive", partialActive = "PartialActive" } export interface SimpleLockType { address: string; lockedToken: NftCollectionType; lpProxyToken: NftCollectionType; farmProxyToken: NftCollectionType; intermediatedPairs: string[]; intermediatedFarms: string[]; } export interface LockedTokensInfoType { unlockEpoch: number; lockingSC: SimpleLockType; } export interface PairType { address: string; firstToken: EsdtType; secondToken: EsdtType; feesAPR: string; totalFeePercent: number; specialFeePercent: number; lockedTokensInfo?: LockedTokensInfoType; } //# sourceMappingURL=pairs.types.d.ts.map