UNPKG

@albert-mr/genlayer-mcp-server

Version:

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

110 lines 3.6 kB
export interface ToolResult { content: string; isError?: boolean; } export declare class GenLayerTools { static generateIntelligentContract(params: { contract_name: string; requirements: string; use_llm?: boolean; web_access?: boolean; storage_fields?: Array<{ name: string; type: string; description?: string; }>; template_type?: string; }): Promise<ToolResult>; static addEquivalencePrinciple(params: { contract_code: string; method_name: string; validation_type: 'comparative' | 'non_comparative'; tolerance?: number; }): Promise<ToolResult>; static createVectorStore(params: { store_name: string; description: string; metadata_fields?: Array<{ name: string; type: string; }>; }): Promise<ToolResult>; static addWebDataAccess(params: { contract_code: string; url_template: string; data_processing_logic: string; }): Promise<ToolResult>; static createPredictionMarket(params: { market_name: string; description: string; resolution_criteria: string; web_sources: string[]; resolution_deadline?: string; category?: string; }): Promise<ToolResult>; static generateContractTemplate(params: { template_type: string; contract_name: string; custom_parameters?: any; }): Promise<ToolResult>; static explainGenLayerConcepts(params: { concept: string; include_examples?: boolean; detail_level?: string; }): Promise<ToolResult>; static explainGenLayerTypes(params: { type_category: string; include_examples?: boolean; include_comparisons?: boolean; }): Promise<ToolResult>; static explainStoragePatterns(params: { storage_topic: string; include_examples?: boolean; complexity_level?: string; }): Promise<ToolResult>; static generateDeploymentScript(params: { script_type: string; network_target?: string; contract_path: string; constructor_args?: Array<{ name: string; type: string; value: string; description?: string; }>; deployment_options?: any; }): Promise<ToolResult>; static generateDebuggingGuide(params: { debug_topic: string; include_code_examples?: boolean; include_troubleshooting?: boolean; }): Promise<ToolResult>; static generateGenLayerJSIntegration(params: { integration_type: string; framework?: string; contract_methods?: any[]; network_config?: any; }): Promise<ToolResult>; static generateContractInteractionExamples(params: { interaction_method: string; contract_type?: string; example_operations?: string[]; include_error_handling?: boolean; }): Promise<ToolResult>; static generateTestingFramework(params: { test_framework: string; test_types?: string[]; contract_features?: string[]; mock_external_services?: boolean; }): Promise<ToolResult>; static generateProjectBoilerplate(params: { project_name: string; project_type?: string; include_frontend?: boolean; frontend_framework?: string; include_tests?: boolean; include_deployment?: boolean; package_manager?: string; }): Promise<ToolResult>; } //# sourceMappingURL=genLayerTools.d.ts.map