UNPKG

@nori-zk/mina-token-bridge

Version:

A Mina zk-program contract allowing users to mint tokens on Nori Bridge.

41 lines (40 loc) 902 B
/** * Simple worker demonstrating basic request/response behavior. */ export declare class EchoWorker { /** * Echoes back the input message. * @param req - Object containing the message to echo * @returns Object containing the echoed message */ echo(req: { msg: string; }): Promise<{ echoed: string; }>; /** * Converts the input message to uppercase. * @param req - Object containing the message to shout * @returns Object containing the uppercase message */ shout(req: { msg: string; }): Promise<{ upper: string; }>; } /** * Proxy spec for EchoWorker. */ export declare const workerSpec: { readonly echo: (req: { msg: string; }) => Promise<{ echoed: string; }>; readonly shout: (req: { msg: string; }) => Promise<{ upper: string; }>; };