UNPKG

@ixily/activ

Version:

Alpha Capture Trade Idea Verification. Blockchain ownership proven trade ideas and strategies.

28 lines (27 loc) 3.37 kB
import { CONTRACT_INTERFACES, IPaging, IStrategyWithCreator, IPortfolioView, IPortfolioRebalanceOpaque, ISupportedBlockchainNetwork } from '../..'; export declare const ViewsSourceGateModule: { listContracts: (network?: ISupportedBlockchainNetwork) => Promise<string[]>; getCreator: (contract: string, creatorWallet: string) => Promise<CONTRACT_INTERFACES.ITradeIdeaCreator>; listCreatorStrategies: (contract: string, creatorWallet: string, page?: number, limit?: number) => Promise<IPaging<IStrategyWithCreator>>; listStrategiesWithAccessibleIdeasBy: (contract: string, accessorWallet: string, page?: number, limit?: number) => Promise<IPaging<IStrategyWithCreator>>; listStrategiesSubscribedToBy: (contract: string, subscriberWallet: string, page?: number, limit?: number) => Promise<IPaging<IStrategyWithCreator>>; listStrategiesPublic: (contract?: string, page?: number, limit?: number, network?: ISupportedBlockchainNetwork) => Promise<IPaging<IStrategyWithCreator>>; listIdeasUniqueIndexesByLatest: (contract: string, page?: number, limit?: number) => Promise<IPaging<string>>; listLatestIdeas: (contract: string, page?: number, limit?: number) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>; listLatestPublicIdeas: (contract?: string, page?: number, limit?: number, network?: ISupportedBlockchainNetwork) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>; listCreatorIdeas: (contract: string, creatorWallet: string, page?: number, limit?: number, filterType?: CONTRACT_INTERFACES.ITradeIdeaIdeaKind[] | 'bypass', filterIncludeEncrypted?: boolean, bypassPaginationAndGetAll?: boolean) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>; listOwnedIdeas: (contract: string, ownerWallet: string, page?: number, limit?: number, filterType?: CONTRACT_INTERFACES.ITradeIdeaIdeaKind[] | 'bypass', filterIncludeEncrypted?: boolean, bypassPaginationAndGetAll?: boolean) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>; getStrategy: (uniqueStrategyReference: string) => Promise<CONTRACT_INTERFACES.ITradeIdeaStrategy>; getStrategyWithCreator: (uniqueStrategyReference: string) => Promise<{ strategy: CONTRACT_INTERFACES.ITradeIdeaStrategy; creator: CONTRACT_INTERFACES.ITradeIdeaCreator; }>; getIdeaByUniqueContractAndId: (contract: string, ideaNftId: number) => Promise<CONTRACT_INTERFACES.ITradeIdea>; getIdeaByUniqueId: (uniqueIdeaId: string) => Promise<CONTRACT_INTERFACES.ITradeIdea>; getPublicStrategyWithCreator: (strategyUniqueKey: string) => Promise<IStrategyWithCreator>; listStrategyIdeas: (strategyUniqueKey: string, page?: number, limit?: number, filterType?: CONTRACT_INTERFACES.ITradeIdeaIdeaKind[] | 'bypass', filterIncludeEncrypted?: boolean, bypassPaginationAndGetAll?: boolean) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>; getStrategyPortfolio: (strategyUniqueKey: string) => Promise<IPortfolioView | 'ENCRYPTED'>; listStrategyRebalances: (strategyUniqueKey: string, page?: number, limit?: number) => Promise<IPaging<IPortfolioRebalanceOpaque>>; getStrategyRebalance: (strategyUniqueKey: string, rebalanceId: string) => Promise<IPortfolioRebalanceOpaque>; listStrategyRebalancesInPeriod: (strategyUniqueKey: string, start: number, end: number, page?: number, limit?: number) => Promise<IPaging<IPortfolioRebalanceOpaque>>; };