UNPKG

@graphprotocol/graph-cli

Version:

CLI for building for and deploying to The Graph

12 lines (11 loc) 428 B
import immutable from 'immutable'; import { ContractCtor } from '../protocols/contract.js'; import Protocol from '../protocols/index.js'; export declare const validateContract: (value: string, ProtocolContract: ContractCtor) => { valid: false; error: string; } | { valid: true; error: string | null; }; export declare const validateContractValues: (manifest: immutable.Map<any, any>, protocol: Protocol) => any;