@morpho-org/midnight-sdk
Version:
Viem-based package for Morpho Midnight that exports protocol utilities, fetch helpers, and Midnight API utilities under a dedicated API subpath.
5 lines (4 loc) • 362 B
TypeScript
import { Tree } from "./Tree.js";
import type { TreeSnapshot } from "./treeTypes.js";
/** @internal Parses tagged standard-ratifier inputs and rejects legacy or mismatched routes. */
export declare function parseStandardRatifierTree(tree: TreeSnapshot<"ecrecover"> | TreeSnapshot<"setter">, expected: "ecrecover" | "setter"): Tree<"ecrecover"> | Tree<"setter">;