UNPKG

@hyperlane-xyz/starknet-core

Version:

Core cairo contracts for Hyperlane

13 lines 760 B
import { type CompiledContract } from 'starknet'; import { ContractType, StarknetContractGroup } from './types.js'; /** * @notice Retrieves a compiled contract * @param name The name of the contract to retrieve * @param contractType The type of contract to retrieve * @returns {CompiledContract} The contract data * @throws {ContractError} If the contract is not found */ export declare function getCompiledContract(name: string, contractType?: ContractType): CompiledContract; export declare function getContractArtifact(name: string, contractType?: ContractType): StarknetContractGroup[string]; export declare function getCompiledClassHash(name: string, contractType?: ContractType): string | undefined; //# sourceMappingURL=contract-retriever.d.ts.map