import type { Fr } from '@aztec/foundation/curves/bn254'; import { z } from 'zod'; import type { AztecAddress } from '../../aztec-address/index.js'; import type { UInt64 } from '../../types/shared.js'; /** * An update to a contract instance, changing its contract class. */ export interface ContractInstanceUpdate { /** Identifier of the previous contract class for this instance */ prevContractClassId: Fr; /** Identifier of the new contract class for this instance. */ newContractClassId: Fr; /** The timestamp at which the contract class in use will be the new one */ timestampOfChange: UInt64; } export type ContractInstanceUpdateWithAddress = ContractInstanceUpdate & { address: AztecAddress; }; export declare const ContractInstanceUpdateSchema: z.ZodObject<{ prevContractClassId: import("../../schemas/index.js").ZodFor; newContractClassId: import("../../schemas/index.js").ZodFor; timestampOfChange: z.ZodPipeline, z.ZodBigInt>; }, "strip", z.ZodTypeAny, { prevContractClassId: Fr; newContractClassId: Fr; timestampOfChange: bigint; }, { prevContractClassId?: any; newContractClassId?: any; timestampOfChange: string | number | bigint; }>; export declare const ContractInstanceUpdateWithAddressSchema: z.ZodIntersection; newContractClassId: import("../../schemas/index.js").ZodFor; timestampOfChange: z.ZodPipeline, z.ZodBigInt>; }, "strip", z.ZodTypeAny, { prevContractClassId: Fr; newContractClassId: Fr; timestampOfChange: bigint; }, { prevContractClassId?: any; newContractClassId?: any; timestampOfChange: string | number | bigint; }>, z.ZodObject<{ address: import("../../schemas/index.js").ZodFor; }, "strip", z.ZodTypeAny, { address: AztecAddress; }, { address?: any; }>>; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJhY3RfaW5zdGFuY2VfdXBkYXRlLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29udHJhY3QvaW50ZXJmYWNlcy9jb250cmFjdF9pbnN0YW5jZV91cGRhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLEVBQUUsRUFBRSxFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFFekQsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUV4QixPQUFPLEtBQUssRUFBRSxZQUFZLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUVqRSxPQUFPLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUVwRDs7R0FFRztBQUNILE1BQU0sV0FBVyxzQkFBc0I7SUFDckMsa0VBQWtFO0lBQ2xFLG1CQUFtQixFQUFFLEVBQUUsQ0FBQztJQUN4Qiw4REFBOEQ7SUFDOUQsa0JBQWtCLEVBQUUsRUFBRSxDQUFDO0lBQ3ZCLDJFQUEyRTtJQUMzRSxpQkFBaUIsRUFBRSxNQUFNLENBQUM7Q0FDM0I7QUFFRCxNQUFNLE1BQU0saUNBQWlDLEdBQUcsc0JBQXNCLEdBQUc7SUFBRSxPQUFPLEVBQUUsWUFBWSxDQUFBO0NBQUUsQ0FBQztBQUVuRyxlQUFPLE1BQU0sNEJBQTRCOzs7Ozs7Ozs7Ozs7RUFNeEMsQ0FBQztBQUVGLGVBQU8sTUFBTSx1Q0FBdUM7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQUVuRCxDQUFDIn0=