UNPKG

zkverifyjs

Version:

Submit proofs to zkVerify and query proof state with ease using our npm package.

65 lines 1.71 kB
export declare enum TransactionType { Verify = 1, VKRegistration = 2, DomainRegistration = 3, DomainHold = 4, DomainUnregister = 5, Aggregate = 6, BatchVerify = 7 } export declare enum TransactionStatus { Broadcast = "broadcast", Dropped = "dropped", Error = "error", Finalized = "finalized", InBlock = "inBlock", Invalid = "invalid", Pending = "pending", Retracted = "retracted", Usurped = "usurped" } export declare enum ZkVerifyEvents { AggregationComplete = "aggregationComplete", NewAggregationReceipt = "newAggregationReceipt", Broadcast = "broadcast", CannotAggregate = "cannotAggregate", DomainStateChanged = "domainStateChanged", ErrorEvent = "error", Finalized = "finalized", IncludedInBlock = "includedInBlock", NewDomain = "newDomain", NewProof = "newProof", ProofVerified = "proofVerified", Unsubscribe = "unsubscribe", VkRegistered = "vkRegistered" } export declare enum Risc0Version { V2_1 = "V2_1", V2_2 = "V2_2", V2_3 = "V2_3" } export declare enum Plonky2HashFunction { Keccak = "Keccak", Poseidon = "Poseidon" } export declare enum Library { arkworks = "arkworks", gnark = "gnark", snarkjs = "snarkjs" } export declare enum CurveType { bn128 = "bn128", bn254 = "bn254", bls12381 = "bls12381" } export declare enum AggregateSecurityRules { Untrusted = "Untrusted", OnlyOwner = "OnlyOwner", OnlyOwnerUncompleted = "OnlyOwnerUncompleted" } export declare enum Destination { None = "None", Hyperbridge = "Hyperbridge" } export declare const PUBLIC_ZK_VERIFY_EVENTS: ZkVerifyEvents[]; //# sourceMappingURL=enums.d.ts.map