UNPKG

@glowlabs-org/events-sdk

Version:

Typed event SDK for Glow, powered by RabbitMQ and Zod.

13 lines (12 loc) 530 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.auditPushedV2AlphaPayloadZ = void 0; const zod_1 = require("zod"); const patterns_1 = require("../patterns"); exports.auditPushedV2AlphaPayloadZ = zod_1.z.object({ applicationId: zod_1.z.string().uuid("UUID string"), expectedProduction_12Decimals: zod_1.z.string().regex(patterns_1.uint256), protocolFeeUSDPrice_6Decimals: zod_1.z .string() .regex(patterns_1.uint256, "uint256 (decimal) − 6 implied decimals"), });