ox
Version:
Ethereum Standard Library
72 lines • 6.63 kB
TypeScript
import * as z from 'zod/mini';
/** Unsized unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** Encode-only unsized unsigned integer accepting `Hex | bigint | number`. */
export declare const UintToRpc: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>;
/** Encode-only 8-bit unsigned integer accepting `Hex | number`. */
export declare const Uint8ToRpc: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
/** 8-bit unsigned integer decoded as `number` and encoded as hex. */
export declare const Uint8: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat>;
/** 16-bit unsigned integer decoded as `number` and encoded as hex. */
export declare const Uint16: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat>;
/** 24-bit unsigned integer decoded as `number` and encoded as hex. */
export declare const Uint24: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat>;
/** 32-bit unsigned integer decoded as `number` and encoded as hex. */
export declare const Uint32: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat>;
/** 40-bit unsigned integer decoded as `number` and encoded as hex. */
export declare const Uint40: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat>;
/** 48-bit unsigned integer decoded as `number` and encoded as hex. */
export declare const Uint48: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat>;
/** 56-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint56: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 64-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint64: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 72-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint72: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 80-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint80: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 88-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint88: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 96-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint96: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 104-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint104: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 112-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint112: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 120-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint120: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 128-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint128: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 136-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint136: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 144-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint144: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 152-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint152: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 160-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint160: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 168-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint168: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 176-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint176: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 184-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint184: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 192-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint192: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 200-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint200: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 208-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint208: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 216-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint216: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 224-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint224: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 232-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint232: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 240-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint240: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 248-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint248: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
/** 256-bit unsigned integer decoded as `bigint` and encoded as hex. */
export declare const Uint256: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
//# sourceMappingURL=Uint.d.ts.map