UNPKG

@exromany/lido-csm-sdk

Version:

[![GitHub license](https://img.shields.io/github/license/lidofinance/lido-csm-sdk?color=limegreen)](https://github.com/lidofinance/lido-csm-sdk/blob/main/LICENSE.txt) [![Version npm](https://img.shields.io/npm/v/@lidofinance/lido-csm-sdk?label=version)](h

13 lines 397 B
import z from 'zod'; export const createMerkleTreeSchema = (leafSchema) => { return z.object({ format: z.literal('standard-v1'), tree: z.array(z.string()), values: z.array(z.object({ value: leafSchema, treeIndex: z.number(), })), leafEncoding: z.array(z.string()), }); }; //# sourceMappingURL=create-merkle-tree-schema.js.map