UNPKG

@albert-mr/genlayer-mcp-server

Version:

MCP server for generating GenLayer Intelligent Contracts with AI-native blockchain capabilities

37 lines 1.57 kB
export interface ContractField { name: string; type: string; description?: string; } export interface VectorStoreMetadata { name: string; type: string; } export interface LLMPromptTemplate { name: string; prompt: string; response_format?: string; criteria?: string; } export interface WebDataSource { url: string; mode: 'text' | 'html'; extraction_pattern?: string; description: string; } export declare class GenLayerContractGenerator { static generateBaseContract(contractName: string, fields?: ContractField[]): string; static addLLMInteractions(contractCode: string, methodRequirements: string): string; static addWebDataAccess(contractCode: string, urlTemplate: string, processingLogic: string): string; static addEquivalencePrinciple(contractCode: string, methodName: string, validationType: string, tolerance?: number): string; static createVectorStore(storeName: string, description: string, metadataFields?: VectorStoreMetadata[]): string; static createPredictionMarket(marketName: string, description: string, resolutionCriteria: string, webSources?: string[]): string; private static mapGenLayerType; private static getDefaultValue; static generateAdvancedContractTemplate(templateType: string, contractName: string, customParams?: any): string; private static generateDAOGovernance; private static generateContentModeration; private static generateSentimentTracker; private static generateMultiOracle; } //# sourceMappingURL=contractGenerator.d.ts.map