import { loadContractArtifact } from '@aztec/stdlib/abi';
import ContractClassRegistryJson from '../../artifacts/ContractClassRegistry.json' with {
    type: 'json'
};
import { makeProtocolContract } from '../make_protocol_contract.js';
export * from './contract_class_published_event.js';
export * from './private_function_broadcasted_event.js';
export * from './utility_function_broadcasted_event.js';
export const ContractClassRegistryArtifact = loadContractArtifact(ContractClassRegistryJson);
let protocolContract;
/** Returns the canonical deployment of the contract. */ export function getCanonicalClassRegistry() {
    if (!protocolContract) {
        const artifact = ContractClassRegistryArtifact;
        protocolContract = makeProtocolContract('ContractClassRegistry', artifact);
    }
    return Promise.resolve(protocolContract);
}
