Skip to content

Commit

Permalink
Complete Funding contract
Browse files Browse the repository at this point in the history
  • Loading branch information
huyminh1115 committed Dec 30, 2023
1 parent 0c0cf31 commit 9e0925f
Show file tree
Hide file tree
Showing 4 changed files with 231 additions and 88 deletions.
18 changes: 17 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const PROJECT_MEMBER_MAX_SIZE = 2 ** 2;
export const PROJECT_MEMBER_MAX_SIZE = 2 ** 4;
// export const CAMPAIGN_PARTICIPANT_MAX_SIZE = 2 ** 2;
export const ADDRESS_MAX_SIZE = 8;
export const INSTANCE_LIMITS = {
Expand All @@ -8,13 +8,29 @@ export const INSTANCE_LIMITS = {
};

export enum ZkAppEnum {
COMMITTEE,
DKG,
ROUND1,
ROUND2,
RESPONSE,
REQUEST,
PROJECT,
CAMPAIGN,
PARTICIPATION,
FUNDING,
TREASURY,
}

export enum Contract {
COMMITTEE = 'committee',
DKG = 'dkg',
ROUND1 = 'round1',
ROUND2 = 'round2',
RESPONSE = 'response',
REQUEST = 'request',
PROJECT = 'project',
CAMPAIGN = 'campaign',
PARTICIPATION = 'participation',
FUNDING = 'funding',
TREASURY = 'treasury',
}
Loading

0 comments on commit 9e0925f

Please sign in to comment.