UNPKG

@glowlabs-org/events-sdk

Version:

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

14 lines (13 loc) 587 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.gctlMintedV2AlphaPayloadZ = void 0; const zod_1 = require("zod"); const patterns_1 = require("../patterns"); exports.gctlMintedV2AlphaPayloadZ = zod_1.z.object({ gctlAmount_6Decimals: zod_1.z .string() .regex(patterns_1.uint256, "uint256 (decimal) − 6 implied decimals"), timestamp: zod_1.z.string().datetime(), minter: zod_1.z.string().regex(patterns_1.ethAddress, "Ethereum address"), txHash: zod_1.z.string().regex(patterns_1.hexBytes32, "bytes32 hex string"), });