UNPKG

@openzeppelin/contracts-ui-builder-adapter-solana

Version:
15 lines (13 loc) 497 B
import type { ContractSchema } from '@openzeppelin/contracts-ui-builder-types'; import { logger } from '@openzeppelin/contracts-ui-builder-utils'; // Placeholder export async function loadSolanaContract(source: string): Promise<ContractSchema> { logger.warn('loadSolanaContract', 'Not implemented'); // Return a minimal valid schema to avoid breaking types further down return { ecosystem: 'solana', name: 'PlaceholderSolanaContract', address: source, functions: [], }; }