UNPKG

@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.

4 lines (3 loc) • 238 B
import type { IOffer } from "./Offer.js"; /** @internal Rejects a sell offer whose proceeds would go to the zero address. */ export declare function assertNonzeroSellReceiver(offer: Pick<IOffer, "buy" | "receiverIfMakerIsSeller">): void;