@devtion/actions
Version:
A set of actions and helpers for CLI commands
15 lines • 4.06 kB
TypeScript
export { downloadCeremonyArtifact, getBucketName, multiPartUpload, getR1csStorageFilePath, getPotStorageFilePath, getZkeyStorageFilePath, getVerificationKeyStorageFilePath, getVerifierContractStorageFilePath, getTranscriptStorageFilePath, getWasmStorageFilePath } from "./helpers/storage";
export { queryCollection, fromQueryToFirebaseDocumentInfo, getAllCollectionDocs, getCircuitContributionsFromContributor, getDocumentById, getCurrentActiveParticipantTimeout, getClosedCeremonies, getParticipantsCollectionPath, getCircuitsCollectionPath, getContributionsCollectionPath, getTimeoutsCollectionPath, getOpenedCeremonies, getAllCeremonies, getCeremonyCircuits } from "./helpers/database";
export { compareCeremonyArtifacts, downloadAllCeremonyArtifacts, exportVerifierAndVKey, exportVerifierContract, exportVkey, generateGROTH16Proof, generateZkeyFromScratch, verifyGROTH16Proof, verifyZKey } from "./helpers/verification";
export { initializeFirebaseCoreServices } from "./helpers/services";
export { signInToFirebaseWithCredentials, getCurrentFirebaseAuthUser, isCoordinator } from "./helpers/authentication";
export { commonTerms, potFileDownloadMainUrl, potFilenameTemplate, genesisZkeyIndex, numExpIterations, solidityVersion, finalContributionIndex, verificationKeyAcronym, verifierSmartContractAcronym, ec2InstanceTag, vmConfigurationTypes, vmBootstrapScriptFilename, powersOfTauFiles, contribHashRegex } from "./helpers/constants";
export { extractPrefix, extractPoTFromFilename, extractR1CSInfoValueForGivenKey, formatZkeyIndex, autoGenerateEntropy, getCircuitBySequencePosition, convertBytesOrKbToGb, getPublicAttestationPreambleForContributor, getContributionsValidityForContributor, generateValidContributionsAttestation, createCustomLoggerForFile, getR1CSInfo, computeSmallestPowersOfTauForCircuit, convertToDoubleDigits, parseCeremonyFile } from "./helpers/utils";
export { setupCeremony, checkParticipantForCeremony, progressToNextCircuitForContribution, resumeContributionAfterTimeoutExpiration, createS3Bucket, generateGetObjectPreSignedUrl, progressToNextContributionStep, permanentlyStoreCurrentContributionTimeAndHash, temporaryStoreCurrentContributionMultiPartUploadId, temporaryStoreCurrentContributionUploadedChunkData, generatePreSignedUrlsParts, completeMultiPartUpload, checkIfObjectExist, verifyContribution, checkAndPrepareCoordinatorForFinalization, finalizeCircuit, finalizeCeremony } from "./helpers/functions";
export { toHex, blake512FromPath, computeSHA256ToHex, compareHashes } from "./helpers/crypto";
export { compileContract, verifyCeremony, p256, verifyGROTH16ProofOnChain, formatSolidityCalldata } from "./helpers/contracts";
export { githubReputation } from "./helpers/security";
export { CeremonyState, CeremonyType, CeremonyTimeoutType, ParticipantStatus, ParticipantContributionStep, TimeoutType, RequestType, TestingEnvironment, CircuitContributionVerificationMechanism, DiskTypeForVM } from "./types/enums";
export { FirebaseDocumentInfo, ChunkWithUrl, ETagWithPartNumber, ContributionValidity, UserDocument, CeremonyInputData, CircomCompilerData, SourceTemplateData, CompilationArtifacts, CircuitInputData, CeremonyDocument, Contribution, TemporaryParticipantContributionData, ParticipantDocument, CircuitMetadata, CircuitArtifacts, CircuitTimings, CircuitWaitingQueue, CircuitDocument, ContributionFiles, ContributionVerificationSoftware, BeaconInfo, ContributionDocument, CircuitDocumentReferenceAndData, UserDocumentReferenceAndData, CeremonyDocumentReferenceAndData, ParticipantDocumentReferenceAndData, CeremonyArtifacts, ContributionDocumentReferenceAndData, FirebaseServices, VMConfigurationType, AWSVariables } from "./types/index";
export { createEC2Instance, terminateEC2Instance, stopEC2Instance, startEC2Instance, checkIfRunning, vmBootstrapCommand, vmDependenciesAndCacheArtifactsCommand, retrieveCommandOutput, computeDiskSizeForVM, createSSMClient, runCommandUsingSSM, createEC2Client, vmContributionVerificationCommand, retrieveCommandStatus } from "./helpers/vm";
//# sourceMappingURL=index.d.ts.map