@ixily/activ
Version:
Alpha Capture Trade Idea Verification. Blockchain ownership proven trade ideas and strategies.
22 lines (21 loc) • 2.95 kB
TypeScript
import { CONTRACT_INTERFACES, IPaging, IPortfolioRebalanceOpaque, IPortfolioView, IStrategyWithCreator, ISupportedBlockchainNetwork } from '../..';
export declare const ViewsSourceServerModule: {
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, accessorWallet: 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>>;
getIdeaByUniqueId: (uniqueIdeaIndex: string) => Promise<CONTRACT_INTERFACES.ITradeIdea>;
getPublicStrategyWithCreator: (uniqueStrategyKey: 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>;
listStrategyRebalances: (strategyUniqueKey: string, page?: number, limit?: number) => Promise<IPaging<IPortfolioRebalanceOpaque>>;
getStrategyRebalance: (strategyUniqueKey: string, rebalanceId: string) => Promise<IPortfolioRebalanceOpaque>;
listStrategyRebalancesInPeriod: (strategyUniqueKey: string, startDate: number, endDate: number, page?: number, limit?: number) => Promise<IPaging<IPortfolioRebalanceOpaque>>;
};