@ixily/activ
Version:
Alpha Capture Trade Idea Verification. Blockchain ownership proven trade ideas and strategies.
24 lines (23 loc) • 2.95 kB
TypeScript
import { CONTRACT_INTERFACES, IPaging, IPortfolioRebalanceOpaque, IPortfolioView, IStrategyWithCreator, IWeb3AuthorizationOptions } from '../..';
export declare const ViewsSourceMessModule: {
startLocalServer: (details: IWeb3AuthorizationOptions) => Promise<void>;
pauseLocalServer: () => void;
listContracts: () => 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) => 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) => 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, creatorWallet: string, page?: number, limit?: number, filterType?: CONTRACT_INTERFACES.ITradeIdeaIdeaKind[] | 'bypass', filterIncludeEncrypted?: boolean, bypassPaginationAndGetAll?: boolean) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
listStrategyIdeas: (strategyUniqueKey: string, page?: number, limit?: number, filterType?: CONTRACT_INTERFACES.ITradeIdeaIdeaKind[] | 'bypass', filterIncludeEncrypted?: boolean, bypassPaginationAndGetAll?: boolean) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
getIdeaByUniqueId: (uniqueIdeaId: string) => Promise<CONTRACT_INTERFACES.ITradeIdea>;
getPublicStrategyWithCreator: (strategyUniqueKey: string) => Promise<IStrategyWithCreator>;
getStrategyPortfolio: (strategyUniqueKey: string) => Promise<IPortfolioView | 'ENCRYPTED'>;
listStrategyRebalances: (strategyUniqueKey: string, page?: number, limit?: number) => Promise<IPaging<IPortfolioRebalanceOpaque>>;
getStrategyRebalance: (strategyUniqueKey: string, rebalanceReference: string) => Promise<IPortfolioRebalanceOpaque>;
listStrategyRebalancesInPeriod: (strategyUniqueKey: string, start: number, end: number, page?: number, limit?: number) => Promise<IPaging<IPortfolioRebalanceOpaque>>;
};