Skip to content

Commit

Permalink
chore: add enum for gatekeepers and voice credits proxy (#1782)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlc03 authored Aug 19, 2024
1 parent a08d49d commit 9afb27d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions packages/contracts/tasks/helpers/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,27 @@ export interface IRegisterContract {
name?: string;
}

/**
* Enum represents gatekeeper types
*/
export enum EGatekeepers {
FreeForAll = "FreeForAllGatekeeper",
EAS = "EASGatekeeper",
GitcoinPassport = "GitcoinPassportGatekeeper",
Hats = "HatsGatekeeper",
HatsSingle = "HatsGatekeeperSingle",
HatsMultiple = "HatsGatekeeperMultiple",
Zupass = "ZupassGatekeeper",
Semaphore = "SemaphoreGatekeeper",
}

/**
* Enum represents initial voice credit proxies
*/
export enum EInitialVoiceCreditProxies {
Constant = "ConstantInitialVoiceCreditProxy",
}

/**
* Enum represents deployed contracts
*/
Expand Down
2 changes: 2 additions & 0 deletions packages/contracts/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export { ProofGenerator } from "../tasks/helpers/ProofGenerator";
export { Prover } from "../tasks/helpers/Prover";
export {
EContracts,
EGatekeepers,
EInitialVoiceCreditProxies,
type IGenerateProofsOptions,
type IGenerateProofsBatchData,
type TallyData,
Expand Down

0 comments on commit 9afb27d

Please sign in to comment.