UNPKG

viem

Version:

TypeScript Interface for Ethereum

27 lines 1.05 kB
import { BaseError } from '../../errors/base.js'; export type BytecodeLengthExceedsMaxSizeErrorType = BytecodeLengthExceedsMaxSizeError & { name: 'BytecodeLengthExceedsMaxSizeError'; }; export declare class BytecodeLengthExceedsMaxSizeError extends BaseError { constructor({ givenLength, maxBytecodeSize, }: { givenLength: number; maxBytecodeSize: bigint; }); } export type BytecodeLengthInWordsMustBeOddErrorType = BytecodeLengthInWordsMustBeOddError & { name: 'BytecodeLengthInWordsMustBeOddError'; }; export declare class BytecodeLengthInWordsMustBeOddError extends BaseError { constructor({ givenLengthInWords }: { givenLengthInWords: number; }); } export type BytecodeLengthMustBeDivisibleBy32ErrorType = BytecodeLengthMustBeDivisibleBy32Error & { name: 'BytecodeLengthMustBeDivisibleBy32Error'; }; export declare class BytecodeLengthMustBeDivisibleBy32Error extends BaseError { constructor({ givenLength }: { givenLength: number; }); } //# sourceMappingURL=bytecode.d.ts.map