Skip to content

Commit 497e3f4

Browse files
authored
Merge pull request #1 from gitcoinco/hosted-rounds
Hosted rounds
2 parents df7b494 + 56a7695 commit 497e3f4

File tree

84 files changed

+3167
-2031
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+3167
-2031
lines changed

.env.example

+5-42
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,6 @@ NEXTAUTH_URL="https://<project_id>.vercel.app"
3535
# NETWORK CONFIGURATION
3636
# ---------------------
3737

38-
# Must be one of: ethereum, optimism, optimismSepolia, arbitrum, linea, sepolia, baseGoerli
39-
# Supported networks found here: https://docs.attest.sh/docs/quick--start/contracts
40-
# NEXT_PUBLIC_CHAIN_NAME=optimism
41-
NEXT_PUBLIC_CHAIN_NAME=optimismSepolia
42-
43-
# EAS GraphQL API URL
44-
# Find the URLs here: https://docs.attest.sh/docs/developer-tools/api
45-
NEXT_PUBLIC_EASSCAN_URL=https://optimism-sepolia.easscan.org/graphql
46-
# NEXT_PUBLIC_EASSCAN_URL=https://optimism.easscan.org/graphql
47-
4838
# Optional but highly recommended
4939
# Get your key at: https://dashboard.alchemy.com
5040
NEXT_PUBLIC_ALCHEMY_ID=
@@ -65,60 +55,33 @@ NEXT_PUBLIC_WALLETCONNECT_ID=
6555
# What the message will say when you sign in with the wallet
6656
NEXT_PUBLIC_SIGN_STATEMENT="Sign in to EasyRetroPGF"
6757

68-
# Unique identifier for your applications and lists - your app will group attestations by this id
69-
NEXT_PUBLIC_ROUND_ID="open-rpgf-1"
70-
71-
# Name of the token you want to allocate (only updates UI)
72-
NEXT_PUBLIC_TOKEN_NAME="OP"
73-
74-
# How many votes each ballot can hold
75-
NEXT_PUBLIC_MAX_VOTES_TOTAL=30000000
76-
# How many votes each project can receive
77-
NEXT_PUBLIC_MAX_VOTES_PROJECT=5000000
78-
79-
# Voting periods
80-
# Determine when users can register applications, admins review them, voters vote, and results are published
81-
NEXT_PUBLIC_START_DATE=2024-01-01T00:00:00.000Z
82-
NEXT_PUBLIC_REGISTRATION_END_DATE=2024-01-01T00:00:00.000Z
83-
NEXT_PUBLIC_REVIEW_END_DATE=2024-01-01T00:00:00.000Z
84-
NEXT_PUBLIC_VOTING_END_DATE=2024-01-01T00:00:00.000Z
85-
NEXT_PUBLIC_RESULTS_DATE=2024-01-01T00:00:00.000Z
86-
8758
# Collect user feedback. Is shown as a link when user has voted
88-
NEXT_PUBLIC_FEEDBACK_URL=https://github.com/gitcoinco/easy-retro-pgf/issues/new?title=Feedback
89-
90-
# Comma-separated list of addresses that will approve applications and voters
91-
# (leaving empty means anyone can do this)
92-
NEXT_PUBLIC_ADMIN_ADDRESSES=
59+
NEXT_PUBLIC_FEEDBACK_URL=https://github.com/gitcoinco/easy-rpgf-hosted/issues/new?title=Feedback
9360

9461

9562
# -----------------
9663
# EAS CONFIGURATION
9764
# -----------------
9865

99-
# Set to true to let anyone vote without an approval attestation
100-
NEXT_PUBLIC_SKIP_APPROVED_VOTER_CHECK=false
101-
10266
# Schema for approved applications and voters
10367
# (optional)
104-
NEXT_PUBLIC_APPROVAL_SCHEMA=0x858e0bc94997c072d762d90440966759b57c8bca892d4c9447d2eeb205f14c69
68+
NEXT_PUBLIC_APPROVAL_SCHEMA="0x858e0bc94997c072d762d90440966759b57c8bca892d4c9447d2eeb205f14c69"
10569

10670
# Schema for storing metadata refs (projects, lists, profiles, ...)
10771
# (optional)
108-
NEXT_PUBLIC_METADATA_SCHEMA=0xd00c966351896bd3dc37d22017bf1ef23165f859d7546a2aba12a01623dec912
72+
NEXT_PUBLIC_METADATA_SCHEMA="0xd00c966351896bd3dc37d22017bf1ef23165f859d7546a2aba12a01623dec912"
10973

11074
# Used when creating attestations - change these if you're not on Optimism
11175
# More info here: https://docs.attest.sh/docs/quick--start/contracts
112-
NEXT_PUBLIC_EAS_CONTRACT_ADDRESS=0x4200000000000000000000000000000000000021
113-
NEXT_PUBLIC_EAS_SCHEMA_REGISTRY_ADDRESS=0x4200000000000000000000000000000000000020
76+
NEXT_PUBLIC_EAS_CONTRACT_ADDRESS="0x4200000000000000000000000000000000000021"
77+
NEXT_PUBLIC_EAS_SCHEMA_REGISTRY_ADDRESS="0x4200000000000000000000000000000000000020"
11478

11579

11680
# -------------------
11781
# Allo2 Configuration
11882
# -------------------
11983
NEXT_PUBLIC_ALLO2_ADDRESS="0x1133eA7Af70876e64665ecD07C0A0476d09465a1"
12084
NEXT_PUBLIC_STRATEGY_ADDRESS="0xa3c5a2ea8ca2060e00761069b23da5171146a747"
121-
NEXT_PUBLIC_TOKEN_ADDRESS=""
12285

12386

12487
# ----------------------

bun.lockb

-893 Bytes
Binary file not shown.

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,20 @@
5252
"p-limit": "^5.0.0",
5353
"papaparse": "^5.4.1",
5454
"react": "18.2.0",
55+
"react-datepicker": "^6.4.0",
5556
"react-dom": "18.2.0",
5657
"react-hook-form": "^7.49.3",
5758
"react-icons": "^5.0.1",
5859
"react-markdown": "^9.0.1",
5960
"react-number-format": "^5.3.1",
6061
"react-use": "^17.5.0",
6162
"siwe": "^2.1.4",
63+
"slugify": "^1.6.6",
6264
"sonner": "^1.4.0",
6365
"superjson": "^2.2.1",
6466
"tailwind-merge": "^2.2.1",
6567
"tailwind-variants": "^0.1.20",
68+
"url-slug": "^4.0.1",
6669
"viem": "^1.20.3",
6770
"wagmi": "^1.4.12",
6871
"zod": "3.22.4"

0 commit comments

Comments
 (0)