@glowlabs-org/events-sdk
Version:
Typed event SDK for Glow, powered by RabbitMQ and Zod.
14 lines (13 loc) • 593 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.auditPfeesPaidV1PayloadZ = void 0;
const zod_1 = require("zod");
const patterns_1 = require("../patterns");
exports.auditPfeesPaidV1PayloadZ = zod_1.z.object({
applicationId: zod_1.z.string().uuid("UUID string"),
payer: zod_1.z.string().regex(patterns_1.ethAddress, "Ethereum address"),
amount_6Decimals: zod_1.z
.string()
.regex(patterns_1.uint256, "uint256 (decimal) − 6 implied decimals"),
txHash: zod_1.z.string().regex(patterns_1.hexBytes32, "bytes32 hex string"),
});