clvm_tools
Version:
Javascript implementation of clvm_tools
6 lines (5 loc) • 382 B
TypeScript
import { Bytes, None, SExp } from "clvm";
export declare const ATOM_MATCH: Bytes;
export declare const SEXP_MATCH: Bytes;
export declare function unify_bindings(bindings: Record<string, SExp>, new_key: Bytes, new_value: SExp): Record<string, SExp> | null;
export declare function match(pattern: SExp, sexp: SExp, known_bindings?: Record<string, SExp>): Record<string, SExp> | None;