UNPKG

@tevm/actions

Version:

A typesafe library for writing forge scripts in typescript

16 lines (14 loc) 356 B
import { z } from 'zod' /** * Parameters shared across tevm actions */ export const zBaseParams = z .object({ throwOnFail: z .boolean() .optional() .describe( 'If true the action handler will throw errors rather than returning errors an the `errors` property. Defaults to true.', ), }) .describe('Properties shared across actions')