Skip to content

Develop #147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 351 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
351 commits
Select commit Hold shift + click to select a range
8a33ff8
fix: replace hard codded project name
ajiesaw Sep 20, 2024
1910d01
Merge pull request #153 from ajiesaw/fix/apply-project-name
emarai Sep 20, 2024
cf03e4e
fix: wording for max project
ajiesaw Sep 23, 2024
41731af
fix: cannot vote if already voted
ajiesaw Sep 24, 2024
81b38d0
fix: remove placeholder on mobile device
ajiesaw Sep 24, 2024
3447983
fix: cut off navbar
ajiesaw Sep 24, 2024
86655f2
Merge pull request #154 from ajiesaw/fix/ui-improvement-23092024
emarai Sep 25, 2024
816e1a0
feat: new landing navbar
ajiesaw Sep 25, 2024
f60ff08
feat: new home section design
ajiesaw Sep 25, 2024
ea84f55
feat: new how it works section design
ajiesaw Sep 25, 2024
70dc8a2
Merge pull request #155 from ajiesaw/feat/ui-redesign
emarai Sep 25, 2024
fc85736
feat: new feature section design
ajiesaw Sep 26, 2024
435d6f0
feat: new FAQs section design
ajiesaw Sep 26, 2024
c028bf3
feat: new stay updated section design
ajiesaw Sep 27, 2024
1c45d22
feat: new footer design
ajiesaw Sep 27, 2024
d520c00
fix: build error
ajiesaw Sep 27, 2024
ad1abf9
refactor: refactor landing page button
ajiesaw Sep 27, 2024
8b3b4f3
feat: add scroll
ajiesaw Sep 27, 2024
b18caf3
feat: mobile device navbar
ajiesaw Sep 27, 2024
faed3f6
feat: replace favicon
ajiesaw Sep 27, 2024
d9c3890
Merge pull request #156 from ajiesaw/feat/landing-page-redesign
emarai Sep 27, 2024
1c47f78
BE - integration home section (#158)
cryingraven Oct 2, 2024
5416352
Feat/improvement 02102024 (#157)
ajiesaw Oct 3, 2024
b872c46
Feat/add footer link (#159)
ajiesaw Oct 3, 2024
d006b6a
feat: integrate more near wallet option
ajiesaw Oct 7, 2024
2bc7ace
Merge pull request #161 from ajiesaw/feat/near-wallet-selector-integr…
emarai Oct 7, 2024
dc7be5a
my project stats (#160)
cryingraven Oct 7, 2024
1924f6a
Voter Requiments Using List ID
cryingraven Oct 7, 2024
b8fabce
feat: email subscribtion integration
ajiesaw Oct 8, 2024
c0ad4f7
Merge pull request #163 from ajiesaw/feat/email-subscription-integration
emarai Oct 8, 2024
2d148ae
feat: user profile integration
ajiesaw Oct 8, 2024
71f9504
fix: console error
ajiesaw Oct 8, 2024
633d778
Merge pull request #164 from ajiesaw/feat/user-profile-integration
emarai Oct 9, 2024
0965886
feat: add sort feature
ajiesaw Oct 9, 2024
c8b3cd9
feat: mobile responsive
ajiesaw Oct 9, 2024
5632ad8
Merge pull request #165 from ajiesaw/feat/add-sort-feature
emarai Oct 10, 2024
90efcce
feat: add lists contract
ajiesaw Oct 14, 2024
9b1ac91
fix: style update
ajiesaw Oct 14, 2024
4dc63af
Merge pull request #166 from ajiesaw/feat/add-list-contract
emarai Oct 14, 2024
51e1f8e
feat create round and add chain condition (#167)
cryingraven Oct 15, 2024
83abec8
SC integration fix for voters requiments (#168)
cryingraven Oct 15, 2024
3f2c27d
Feat/near deposit round (#169)
cryingraven Oct 15, 2024
6525966
fix detail round drawer and add admins (#170)
cryingraven Oct 16, 2024
e5ee6d7
feat: integrate near lists contract (#171)
ajiesaw Oct 18, 2024
a95cd4f
Remove Project Status (#173)
cryingraven Oct 18, 2024
8fac744
fix allow remaining dist (#174)
cryingraven Oct 21, 2024
0b411e9
Near Social Project Data & Apply (#172)
cryingraven Oct 22, 2024
961cc7a
fix initial deposit and near (#175)
cryingraven Oct 22, 2024
3621152
feat display & update my project NEAR (#176)
cryingraven Oct 22, 2024
88c223c
feat application drawer
cryingraven Oct 22, 2024
ed1a517
fix nav, add list register and integrate apply batch on create round …
cryingraven Oct 23, 2024
01c93fe
Fix/update media project (#178)
ajiesaw Oct 23, 2024
53f5dae
Fix fetching on chain project (#180)
cryingraven Oct 23, 2024
b5623ff
Review application NEAR (#181)
cryingraven Oct 23, 2024
e64338b
feat: edit near round integration (#182)
ajiesaw Oct 23, 2024
d882d5e
Fix/initial deposit logic (#184)
ajiesaw Oct 23, 2024
5decdd3
Vote (NEAR) (#183)
cryingraven Oct 24, 2024
c8e83c3
feat: add project contact (#185)
ajiesaw Oct 24, 2024
b6220ce
fix vote using id (#186)
cryingraven Oct 24, 2024
f3b29b8
fix: hard coded boolean (#187)
ajiesaw Oct 24, 2024
3dc9467
feat: enable launch app button for testnet (#188)
ajiesaw Oct 28, 2024
84407f9
fix condtional button for near (#189)
cryingraven Oct 29, 2024
f133aae
fix my votes near function fe (#191)
cryingraven Oct 29, 2024
940ec4f
Feat/landing UI improvement 29102024 (#192)
ajiesaw Oct 29, 2024
1d8521e
fix: image overlapping with other section (#193)
ajiesaw Oct 29, 2024
85f4589
add view functions, remove deposit refund:
Prometheo Oct 29, 2024
bc2df41
fix my votes item near & stellar (#194)
cryingraven Oct 29, 2024
6b56beb
fix expected amount not matched for near (#195)
cryingraven Oct 30, 2024
dee464a
feat: add characters limit for title and description (#196)
ajiesaw Oct 30, 2024
47d25ec
add project address to list for stellar (#197)
cryingraven Oct 30, 2024
063f697
near voting result (#198)
cryingraven Oct 30, 2024
6e72a80
Fix format ms for cooldown and compliance period (#199)
cryingraven Oct 30, 2024
cf483bf
Add payout modal for Near (#200)
cryingraven Oct 30, 2024
7897dd5
add payout call function (#201)
cryingraven Oct 30, 2024
2832f07
fix new contract req. optimization stellar (#202)
cryingraven Oct 31, 2024
56c34ad
fix voted section near (#203)
cryingraven Nov 1, 2024
7f22ff0
fix result not showing all pair picked (#204)
cryingraven Nov 1, 2024
eeefaec
fix border for voted pair (#205)
cryingraven Nov 1, 2024
10ab8e0
Payout Challenge For Near (#206)
cryingraven Nov 4, 2024
83c94b2
Near Flag Un Flag Prohect (#207)
cryingraven Nov 5, 2024
abaf910
Edit round price and amount (#208)
cryingraven Nov 5, 2024
880c3f7
Add total project near pending & completed round (#209)
cryingraven Nov 5, 2024
c648150
Update read me contracts (#210)
cryingraven Nov 5, 2024
6c95d9e
Fix chip unmatch condition on my votes (#211)
cryingraven Nov 5, 2024
9a4d875
fix unwanted infromation on drawer (#212)
cryingraven Nov 6, 2024
c115320
fix: edit round data not showing (#213)
ajiesaw Nov 6, 2024
773e5d4
display both chains if not connected (#215)
cryingraven Nov 6, 2024
a81061c
Refactor Wallet Connected (#217)
cryingraven Nov 6, 2024
9e17ee7
feat: prevent create project if not connected to wallet (#216)
ajiesaw Nov 6, 2024
c000d8a
fix: stellar round contact empty (#214)
ajiesaw Nov 6, 2024
f50dc56
Feat/disclaimer banner (#218)
ajiesaw Nov 11, 2024
c2abbfa
Feat/voting result detail (#219)
cryingraven Nov 21, 2024
781f219
fix project profile image (#220)
cryingraven Nov 21, 2024
d88b85d
fix voting result per project (#221)
cryingraven Nov 21, 2024
5a44bb6
minor contract updates
Prometheo Nov 28, 2024
ed347e3
Merge pull request #223 from PotLock/feat/near-contract
Prometheo Nov 28, 2024
bcf8369
Fix/improvement 28 11 2024 (#224)
ajiesaw Dec 3, 2024
44d3952
feat: update navbar and hero text (#225)
ajiesaw Dec 3, 2024
96e10e4
fix admin and owner check from api (#226)
cryingraven Dec 6, 2024
b706bfc
fix: new routing error (#227)
ajiesaw Dec 6, 2024
843c6f7
fix fetchRoundApplication for near (#228)
cryingraven Dec 10, 2024
3703951
fix contract after reset (#229)
cryingraven Dec 11, 2024
5161e82
Fix/feedback 05 12 2024 (#230)
ajiesaw Dec 12, 2024
bf0e16f
feat: my round filter integration (#232)
ajiesaw Dec 13, 2024
ab5baae
fix: scroll to required field if empty (#233)
ajiesaw Dec 24, 2024
47de243
fix: add optional list requirement to application
Prometheo Jan 14, 2025
6eda271
fix: confirm list/id exists in intialize function
Prometheo Jan 14, 2025
28f9d54
chore: test deploy
Prometheo Jan 14, 2025
902900a
Merge pull request #234 from PotLock/fix/minor-contract-fixes
Prometheo Jan 15, 2025
a8139ba
fix: check current time against voting start
Prometheo Feb 13, 2025
21c9664
write updated config to storage
Prometheo Feb 13, 2025
ea4d64d
audit-fix: use validate_blacklist instead of validate_not_blacklist
Prometheo Feb 13, 2025
9aaa0e9
audit-fix: panic if video required and not present
Prometheo Feb 13, 2025
2c1efcc
audit-fix: Challenges mechanism can be used for griefing attacks
Prometheo Feb 13, 2025
f6faf3b
audit-fix/Round can be completed several times
Prometheo Feb 13, 2025
a20b748
audit-fix: Lack of validation for admin_only_registrations flag allow…
Prometheo Feb 13, 2025
6da6e6a
audit-fix/Function register_batch is vulnerable to griefing attacks
Prometheo Feb 13, 2025
c7b7292
audit-fix: Missing List ID Validation Allows Unauthorized Registratio…
Prometheo Feb 17, 2025
c9ea4e1
audit-fix: Unrestricted voting can lead to project votes stuffing
Prometheo Feb 17, 2025
9ff9291
audit-fix: Premature Payout Nullification Due to Unenforced Complianc…
Prometheo Feb 17, 2025
e01b84c
audit-fix: forfeit if compliance period over
Prometheo Feb 17, 2025
da7350d
audit-fix: Unbounded Growth of Project Payouts Mapping Leading to Pay…
Prometheo Feb 17, 2025
ff528fb
audit-fix: Storing all project registrations in one ledger entry caus…
Prometheo Feb 18, 2025
64ab233
audit-fix: Collection of approved projects can be altered during voting
Prometheo Feb 18, 2025
676c3d4
audit-fx: Referrer fee deduction without recipient causes loss of funds
Prometheo Feb 18, 2025
bd25916
write test
Prometheo Feb 18, 2025
9fca1f2
audit-fix: Storage limitations in votedRoundIds mapping
Prometheo Feb 18, 2025
a006f0e
audit-fix: Predicate can_vote isn’t consistent with vote function
Prometheo Feb 24, 2025
bf2e4cc
audit-fix: Predicate can_vote wrongly returns true in corner cases
Prometheo Feb 24, 2025
e18c1bb
audit-fix: Failure to update the updated_ms field
Prometheo Feb 24, 2025
de483a6
audit-fix: Incorrect cover_img_url assignment in list getters
Prometheo Feb 24, 2025
b60a08c
audit-fx: Function set_number_of_votes is not restricted enough
Prometheo Feb 24, 2025
e948d74
audit-fix: Insufficient sanity checks over rounds’ periods
Prometheo Feb 24, 2025
cd92497
audit-fix: Function apply_to_round_batch doesn’t check black- and whi…
Prometheo Feb 24, 2025
32263f8
audit-fix: allow application review if voting not started
Prometheo Feb 25, 2025
5c5e47b
audit-fix: Insufficient input validation in set_voting_period function
Prometheo Feb 26, 2025
6aa7e8c
audit-fix: Function review_application can approve the same project m…
Prometheo Feb 26, 2025
adf5705
audit-fix: Lack of upper bound check over protocol and referrer fees
Prometheo Feb 26, 2025
bec2e22
audit-fix: Risk of exceeding deposited funds in payouts
Prometheo Feb 27, 2025
39a3cdf
audit-fix: Incomplete and redundant parameter updates in update_round
Prometheo Mar 2, 2025
1ff9edf
audit-fix: allow only approved applicants to challenge payout
Prometheo Mar 2, 2025
a922649
audit-fix: remove registration by registration id
Prometheo Mar 2, 2025
db74dc1
audit-fix: Payouts can be set before voting ends
Prometheo Mar 3, 2025
14f6f9f
audit-fix: Insufficient checks when setting new application period
Prometheo Mar 4, 2025
f2827f9
audit-fix: Registration status persists after list deletion
Prometheo Mar 4, 2025
27ff829
audit-fix: Vault redistribution can be triggered before voting
Prometheo Mar 4, 2025
0e441fa
audit-fix: Inconsistency in assigning update_ms field
Prometheo Mar 4, 2025
54cb74d
audit-fix: Function deposit_to_round is vulnerable to grief attacks
Prometheo Mar 4, 2025
c99d1ff
audit-fix: Potential unauthorized deletion of registrations by untrus…
Prometheo Mar 4, 2025
eb8a8d5
fix: use greater or equal
Prometheo Mar 5, 2025
b2d9200
audit-fix: Identical pairs in get_pairs_to_vote function
Prometheo Mar 5, 2025
0006ee2
fix: reject deposit after payout has been set for round
Prometheo Mar 6, 2025
87cc3a1
audit-fix: check registration exists, return bool
Prometheo Mar 31, 2025
c5166cf
audit-fix: set referrer fee after validation
Prometheo Mar 31, 2025
434a0c3
audit-fix: remove unused params, check new list existence
Prometheo Mar 31, 2025
69b7417
audit-fix: restrict some round param update after voting started
Prometheo Mar 31, 2025
875fc87
auidt-fix: restrict expected amount change after voting started
Prometheo Mar 31, 2025
b48a2af
audit-fix: restrict redistribution config changes to just owner
Prometheo Mar 31, 2025
c47c5c4
remove unecessary validation
Prometheo Mar 31, 2025
9e3dfaf
audit-fix: fix resolve challenge function and test
Prometheo Apr 3, 2025
1bbd59e
audit-fix: allow notes
Prometheo Apr 3, 2025
c559c8c
audit-fix: remove unused error
Prometheo Apr 3, 2025
2457127
audit-fix: perform kyc check on project owner
Prometheo Apr 3, 2025
8a77790
audit-fix: implement two step for ownership transfer
Prometheo Apr 3, 2025
7a48c4f
remove payou address field
Prometheo Apr 6, 2025
38bb73a
Merge pull request #239 from PotLock/audit-fix/persist-ownership-change
Prometheo Apr 7, 2025
2135ea4
Merge pull request #235 from PotLock/audit-fix/incorrect-validation-a…
Prometheo Apr 7, 2025
842eeca
Merge pull request #241 from PotLock/audit-fix/validate-blacklist-in-…
Prometheo Apr 7, 2025
98fabea
Merge pull request #236 from PotLock/audit-fix/fix-video-required-che…
Prometheo Apr 7, 2025
89464d6
Merge pull request #240 from PotLock/audit-fix/Challenges-mechanism-c…
Prometheo Apr 7, 2025
bb0b64e
Merge pull request #238 from PotLock/audit-fix/Round-can-be-completed…
Prometheo Apr 7, 2025
0ee2d72
Merge pull request #272 from PotLock/audit-fix/Round-details-can-be-u…
Prometheo Apr 7, 2025
a851e0c
Merge pull request #250 from PotLock/audit-fix/Predicate-can_vote-isn…
Prometheo Apr 7, 2025
c3f1ce6
Merge branch 'develop' into audit-fix/Predicate-can_vote-wrongly-retu…
Prometheo Apr 7, 2025
28d83cc
Merge pull request #251 from PotLock/audit-fix/Predicate-can_vote-wro…
Prometheo Apr 7, 2025
faaa4f4
Merge pull request #256 from PotLock/audit-fix/Function-apply_to_roun…
Prometheo Apr 7, 2025
d24d1e6
Merge pull request #275 from PotLock/audit-fix/Function-remove_resolv…
Prometheo Apr 7, 2025
2e5599e
Merge pull request #252 from PotLock/audit-fix/Failure-to-update-the-…
Prometheo Apr 7, 2025
f2fe2e1
Merge pull request #253 from PotLock/audit-fix/Incorrect-cover_img_ur…
Prometheo Apr 7, 2025
7f97c9e
Merge pull request #265 from PotLock/audit-fix/Registration-status-pe…
Prometheo Apr 7, 2025
69f785e
Merge branch 'develop' into audit-fix/Missing-List-ID-Validation-Allo…
Prometheo Apr 7, 2025
1815e93
Merge pull request #242 from PotLock/audit-fix/Missing-List-ID-Valida…
Prometheo Apr 7, 2025
5d9ff3a
Merge pull request #266 from PotLock/audit-fix/Vault-redistribution-c…
Prometheo Apr 7, 2025
4a37eb3
Merge pull request #254 from PotLock/audit-fix/Function-set_number_of…
Prometheo Apr 7, 2025
6606ca8
Merge pull request #247 from PotLock/audit-fix/Collection-of-approved…
Prometheo Apr 7, 2025
7b2ac34
Merge branch 'develop' into audit-fix/Incomplete-and-redundant-parame…
Prometheo Apr 7, 2025
f091d83
Merge pull request #262 from PotLock/audit-fix/Incomplete-and-redunda…
Prometheo Apr 7, 2025
3637efa
Merge branch 'develop' into audit-fix/Insufficient-sanity-checks-over…
Prometheo Apr 7, 2025
4324107
Merge pull request #255 from PotLock/audit-fix/Insufficient-sanity-ch…
Prometheo Apr 7, 2025
9178c7c
Merge branch 'develop' into audit-fix/Function-register_batch-is-vuln…
Prometheo Apr 7, 2025
80b6c84
Merge pull request #237 from PotLock/audit-fix/Function-register_batc…
Prometheo Apr 7, 2025
ca9e012
Merge pull request #259 from PotLock/audit-fix/Function-review_applic…
Prometheo Apr 7, 2025
1fc0dd1
Merge pull request #276 from PotLock/audit-fix/Incorrect-recipient-ad…
Prometheo Apr 7, 2025
e9ed6d0
Merge branch 'develop' of https://github.com/PotLock/grantpicks into …
Prometheo Apr 8, 2025
6380e9c
Merge pull request #244 from PotLock/audit-fix/Premature-Payout-Nulli…
Prometheo Apr 8, 2025
c46d562
Merge branch 'develop' of https://github.com/PotLock/grantpicks into …
Prometheo Apr 8, 2025
db3ff9c
Merge pull request #260 from PotLock/audit-fix/Lack-of-upper-bound-ch…
Prometheo Apr 8, 2025
4c52fc4
Merge pull request #245 from PotLock/audit-fix/Unbounded-Growth-of-Pr…
Prometheo Apr 8, 2025
ae0518a
Merge branch 'develop' of https://github.com/PotLock/grantpicks into …
Prometheo Apr 8, 2025
bbfa5fc
Merge pull request #248 from PotLock/audit-fix/Referrer-fee-deduction…
Prometheo Apr 8, 2025
0fc95ac
Merge pull request #267 from PotLock/audit-fix/Inconsistency-in-assig…
Prometheo Apr 8, 2025
74038b7
Merge pull request #257 from PotLock/audit-fix/Function-apply_to_roun…
Prometheo Apr 8, 2025
f46089e
Merge pull request #273 from PotLock/audit-fix/Function-set_expected_…
Prometheo Apr 8, 2025
2ab1d36
Merge branch 'develop' of https://github.com/PotLock/grantpicks into …
Prometheo Apr 8, 2025
e5922d4
Merge pull request #258 from PotLock/audit-fix/Insufficient-input-val…
Prometheo Apr 8, 2025
e0edd31
Merge branch 'develop' of https://github.com/PotLock/grantpicks into …
Prometheo Apr 8, 2025
9e7e013
Merge pull request #277 from PotLock/audit-fix/Owner-transfer-mistake…
Prometheo Apr 8, 2025
f78df75
Merge pull request #261 from PotLock/audit-fix/Risk-of-exceeding-depo…
Prometheo Apr 8, 2025
be3410d
Merge pull request #263 from PotLock/audit-fix/Payouts-can-be-set-bef…
Prometheo Apr 8, 2025
7a6eecf
Merge branch 'develop' of https://github.com/PotLock/grantpicks into …
Prometheo Apr 8, 2025
e722b73
Merge pull request #264 from PotLock/audit-fix/Insufficient-checks-wh…
Prometheo Apr 8, 2025
7d75471
Merge branch 'develop' of https://github.com/PotLock/grantpicks into …
Prometheo Apr 8, 2025
2f61935
Merge pull request #269 from PotLock/audit-fix/Potential-unauthorized…
Prometheo Apr 8, 2025
bf5f3c6
Merge branch 'develop' of https://github.com/PotLock/grantpicks into …
Prometheo Apr 8, 2025
1077a1a
fix error numbering
Prometheo Apr 8, 2025
fba8059
Merge pull request #271 from PotLock/audit-fix/Lists-are-not-checked-…
Prometheo Apr 8, 2025
ed1bdad
Merge branch 'develop' of https://github.com/PotLock/grantpicks into …
Prometheo Apr 8, 2025
eca7b15
Merge pull request #246 from PotLock/audit-fix/Storing-all-project-re…
Prometheo Apr 8, 2025
65734de
Merge pull request #243 from PotLock/audit-fix/Unrestricted-voting-ca…
Prometheo Apr 8, 2025
db04883
Merge pull request #270 from PotLock/audit-fix/Identical-pairs-in-get…
Prometheo Apr 8, 2025
fefd94f
Merge branch 'develop' of https://github.com/PotLock/grantpicks into …
Prometheo Apr 8, 2025
87bbdf2
Merge pull request #249 from PotLock/audit-fix/Storage-limitations-in…
Prometheo Apr 9, 2025
c41a2e4
Merge branch 'develop' of https://github.com/PotLock/grantpicks into …
Prometheo Apr 9, 2025
591c099
Merge pull request #274 from PotLock/audit-fix/Admins-can-steal-round…
Prometheo Apr 9, 2025
5f6215c
audit-fix: allow round owner set minimum deposit
Prometheo Apr 9, 2025
d7232dd
fix tests, cleanup and build
Prometheo Apr 15, 2025
fefde29
Merge pull request #278 from PotLock/fix-tests-and-cleanup
Prometheo Apr 16, 2025
07f0083
fix conflict and build
Prometheo Apr 16, 2025
dec973e
Merge pull request #268 from PotLock/audit-fix/Function-deposit_to_ro…
Prometheo Apr 16, 2025
5fb3872
build contract clients
Prometheo Apr 21, 2025
59cc4c3
Merge pull request #280 from PotLock/build-client-testnet
Prometheo Apr 22, 2025
1fb3050
done with fixing round
Ebube111 May 7, 2025
8535f71
done with logic for create round, added all the fields that are needed
Ebube111 May 8, 2025
85fce74
fixed issue with creating projects
Ebube111 May 9, 2025
069e0de
fixed issue with date time intervals
Ebube111 May 12, 2025
fc7f08f
working on round card
Ebube111 May 12, 2025
dbc261c
changes done with update round
Ebube111 May 19, 2025
764a977
added hot wallet module
Ebube111 May 19, 2025
f483251
fixed first build error
Ebube111 May 19, 2025
062e571
fixed list and project build
Ebube111 May 19, 2025
ad14434
done with build fix
Ebube111 May 19, 2025
2c21fdf
Merge pull request #281 from PotLock/audit-changes-v1
Prometheo May 27, 2025
6e377bc
done with v2 changes
Ebube111 Jun 3, 2025
4c7b5a5
done with v2 changes
Ebube111 Jun 3, 2025
969b415
added change for round filter
Ebube111 Jun 3, 2025
08b7132
Merge pull request #282 from PotLock/audit-changes-v2
Ebube111 Jun 3, 2025
c489b9d
pushed fixes
Ebube111 Jun 8, 2025
e84aba1
Merge pull request #283 from PotLock/ref-fix
Ebube111 Jun 8, 2025
264a043
fixed build
Ebube111 Jun 9, 2025
b49f9a2
Merge pull request #284 from PotLock/build-fix
Ebube111 Jun 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 19 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,44 @@
# GrantPicks Monorepo
Pairwise voting mechanism for Stellar built on Soroban (Stellar & NEAR). Mono repo for front end and smart contracts.

Pairwise voting mechanism for Stellar built on Soroban (Stellar & NEAR). Mono repo for front end and smart contracts.

# Resources

- Technical Architecture https://potlock.org/grantpicks-stellar-architecture
- Repo https://github.com/PotLock/grantpicks <- where all the code will be pushed
- Backlog https://potlock.org/grantpicks-stellar-backlog <- task by task break down
- Figma https://potlock.org/grantpicks-figma <- where wireframes and prototypes will be developed
Comment on lines +6 to 10
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Improved Resources section with helpful links

The Resources section now includes comprehensive links to technical architecture, repository, backlog, and design files, providing better guidance for contributors and users.


🌐 Web query:

Are Markdown URLs recommended to be formatted as [text](url) rather than bare URLs?

💡 Result:

Markdown URLs are generally recommended to be formatted using the [text](url) syntax rather than bare URLs for better readability and control. Here's a breakdown of the key considerations:

Formatting Recommendations

  1. Descriptive Link Text

    • Use [descriptive text](url) to create meaningful links that blend naturally with content[4][5][9].
    • Avoid generic phrases like "click here" or raw URLs as link text[7][9].
  2. Compatibility and Readability

    • Bare URLs (e.g., http://example.com) may auto-link in some processors but can disrupt text flow[3][7].
    • Spaces in URLs require encoding (e.g., %20) in standard Markdown links for cross-platform compatibility[1][4][8].
  3. Reference-Style Links

    • For long URLs, use reference-style links to keep content clean:
      [text][label]
      [label]: <https://example.com/long/url>
      
      This separates link definitions from content[4][5].

When to Use Bare URLs

  • Simple contexts where auto-linking suffices (e.g., in code comments or quick notes)[3].
  • URLs as content (e.g., citing a domain name)[7], though wrapping them in backticks (`https://...`) is preferable to avoid unintended auto-linking[3].

Best Practices

Use Case Recommended Format Avoid
Inline links [SEO-friendly text](url)[5][9] Bare URLs[7][9]
Long URLs Reference-style links[4][5] Inline long URLs[7]
URLs with spaces Encode spaces (%20)[1][4] Unencoded spaces[8]
Links in technical docs Explicit paths (e.g., [docs](path.md))[5] Absolute URLs[5]

For maximum clarity and maintainability, structured links are preferred in most documentation and publishing workflows[5][6][9].

Citations:


Update Resource Section Formatting in README.md

The revised Resources section now provides comprehensive links for technical architecture, repository, backlog, and design files, which helps users and contributors navigate the project. However, for improved readability and best practice compliance, it's recommended to use Markdown's [text](url) syntax instead of bare URLs.

Action Points:

  • Update the resources list to use Markdown link formatting. For example, change the current format:

    - Technical Architecture https://potlock.org/grantpicks-stellar-architecture
    - Repo https://github.com/PotLock/grantpicks <- where all the code will be pushed
    - Backlog https://potlock.org/grantpicks-stellar-backlog <- task by task break down
    - Figma https://potlock.org/grantpicks-figma <- where wireframes and prototypes will be developed
    

    to

    - [Technical Architecture](https://potlock.org/grantpicks-stellar-architecture)
    - [Repo](https://github.com/PotLock/grantpicks) ← where all the code will be pushed
    - [Backlog](https://potlock.org/grantpicks-stellar-backlog) ← task by task break down
    - [Figma](https://potlock.org/grantpicks-figma) ← where wireframes and prototypes will be developed
    

This change aligns with Markdown best practices as confirmed by various style guides.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

7-7: Bare URL used
null

(MD034, no-bare-urls)


8-8: Bare URL used
null

(MD034, no-bare-urls)


9-9: Bare URL used
null

(MD034, no-bare-urls)


10-10: Bare URL used
null

(MD034, no-bare-urls)


# About Pairwise

The "budget boxing" algorithm, utilizes pairwise preferences to allocate budget percentages among various items or projects. This method starts by collecting votes through pairwise preferences, where voters choose between two options at a time (e.g., "A vs B"). This approach simplifies the voting process, making it more engaging and manageable for voters, as they only need to consider two options at a time. The simplicity of this method also ensures that a large amount of preference data can be efficiently gathered with minimal cognitive load on the voters.

Once the pairwise preferences are collected, they are used to construct a preference graph, essentially a matrix of votes. This matrix is then processed to derive a probability distribution over the items. However, instead of interpreting these probabilities in a conventional sense, they are treated as percentages of the total budget. This means that the algorithm's output directly informs how the budget should be distributed among the items based on the collective preferences of the voters. This method makes the decision-making process transparent and scalable, as it can handle many voters and items efficiently by leveraging mathematical and computational tools.


- App https://pairdrop.daodrops.io/
- Github Repo https://github.com/dOrgTech/PairDrop
- App https://pairdrop.daodrops.io/
- Github Repo https://github.com/dOrgTech/PairDrop
- Original Idea https://news.colony.io/ideas/en/budget-box
- https://github.com/JoinColony/budgetBox
- https://github.com/JoinColony/budgetBox
- https://uploads-ssl.webflow.com/61840fafb9a4c433c1470856/639b50ee30b729cb016806c1_BudgetingBoxes.pdf
- Mechanism Institute: https://www.mechanism.institute/library/pairwise

![GrantPicks Choose Page](https://github.com/PotLock/grantpicks/assets/45281667/50c21f90-8d91-436c-b96f-cff0b5950f67)

Staging https://staging.grantpicks.com
Testnet https://testnet.grantpicks.com
Comment on lines +3 to +28
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Fix bare URLs in Markdown

The file contains multiple bare URLs that should be formatted as proper Markdown links for better readability and adherence to Markdown best practices.

-Pairwise voting mechanism for Stellar built on Soroban (Stellar & NEAR). Mono repo for front end and smart contracts.
+Pairwise voting mechanism for Stellar built on Soroban (Stellar & NEAR). Mono repo for front end and smart contracts.

 # Resources

-Technical Architecture https://potlock.org/grantpicks-stellar-architecture
-Repo https://github.com/PotLock/grantpicks <- where all the code will be pushed
-Backlog https://potlock.org/grantpicks-stellar-backlog <- task by task break down
-Figma https://potlock.org/grantpicks-figma <- where wireframes and prototypes will be developed
+- [Technical Architecture](https://potlock.org/grantpicks-stellar-architecture)
+- [Repository](https://github.com/PotLock/grantpicks) <- where all the code will be pushed
+- [Backlog](https://potlock.org/grantpicks-stellar-backlog) <- task by task break down
+- [Figma](https://potlock.org/grantpicks-figma) <- where wireframes and prototypes will be developed

 # About Pairwise

 The "budget boxing" algorithm, utilizes pairwise preferences to allocate budget percentages among various items or projects. This method starts by collecting votes through pairwise preferences, where voters choose between two options at a time (e.g., "A vs B"). This approach simplifies the voting process, making it more engaging and manageable for voters, as they only need to consider two options at a time. The simplicity of this method also ensures that a large amount of preference data can be efficiently gathered with minimal cognitive load on the voters.

 Once the pairwise preferences are collected, they are used to construct a preference graph, essentially a matrix of votes. This matrix is then processed to derive a probability distribution over the items. However, instead of interpreting these probabilities in a conventional sense, they are treated as percentages of the total budget. This means that the algorithm's output directly informs how the budget should be distributed among the items based on the collective preferences of the voters. This method makes the decision-making process transparent and scalable, as it can handle many voters and items efficiently by leveraging mathematical and computational tools.

-App https://pairdrop.daodrops.io/
-Github Repo https://github.com/dOrgTech/PairDrop
+- [App](https://pairdrop.daodrops.io/)
+- [Github Repo](https://github.com/dOrgTech/PairDrop)
 Original Idea https://news.colony.io/ideas/en/budget-box
-https://github.com/JoinColony/budgetBox
+- [Budget Box Repo](https://github.com/JoinColony/budgetBox)
 https://uploads-ssl.webflow.com/61840fafb9a4c433c1470856/639b50ee30b729cb016806c1_BudgetingBoxes.pdf
-Mechanism Institute: https://www.mechanism.institute/library/pairwise
+- [Mechanism Institute](https://www.mechanism.institute/library/pairwise)

 ![GrantPicks Choose Page](https://github.com/PotLock/grantpicks/assets/45281667/50c21f90-8d91-436c-b96f-cff0b5950f67)

-Staging https://staging.grantpicks.com
-Testnet https://testnet.grantpicks.com
+- [Staging](https://staging.grantpicks.com)
+- [Testnet](https://testnet.grantpicks.com)
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
Pairwise voting mechanism for Stellar built on Soroban (Stellar & NEAR). Mono repo for front end and smart contracts.
# Resources
- Technical Architecture https://potlock.org/grantpicks-stellar-architecture
- Repo https://github.com/PotLock/grantpicks <- where all the code will be pushed
- Backlog https://potlock.org/grantpicks-stellar-backlog <- task by task break down
- Figma https://potlock.org/grantpicks-figma <- where wireframes and prototypes will be developed
# About Pairwise
The "budget boxing" algorithm, utilizes pairwise preferences to allocate budget percentages among various items or projects. This method starts by collecting votes through pairwise preferences, where voters choose between two options at a time (e.g., "A vs B"). This approach simplifies the voting process, making it more engaging and manageable for voters, as they only need to consider two options at a time. The simplicity of this method also ensures that a large amount of preference data can be efficiently gathered with minimal cognitive load on the voters.
Once the pairwise preferences are collected, they are used to construct a preference graph, essentially a matrix of votes. This matrix is then processed to derive a probability distribution over the items. However, instead of interpreting these probabilities in a conventional sense, they are treated as percentages of the total budget. This means that the algorithm's output directly informs how the budget should be distributed among the items based on the collective preferences of the voters. This method makes the decision-making process transparent and scalable, as it can handle many voters and items efficiently by leveraging mathematical and computational tools.
- App https://pairdrop.daodrops.io/
- Github Repo https://github.com/dOrgTech/PairDrop
- App https://pairdrop.daodrops.io/
- Github Repo https://github.com/dOrgTech/PairDrop
- Original Idea https://news.colony.io/ideas/en/budget-box
- https://github.com/JoinColony/budgetBox
- https://github.com/JoinColony/budgetBox
- https://uploads-ssl.webflow.com/61840fafb9a4c433c1470856/639b50ee30b729cb016806c1_BudgetingBoxes.pdf
- Mechanism Institute: https://www.mechanism.institute/library/pairwise
![GrantPicks Choose Page](https://github.com/PotLock/grantpicks/assets/45281667/50c21f90-8d91-436c-b96f-cff0b5950f67)
Staging https://staging.grantpicks.com
Testnet https://testnet.grantpicks.com
Pairwise voting mechanism for Stellar built on Soroban (Stellar & NEAR). Mono repo for front end and smart contracts.
# Resources
[Technical Architecture](https://potlock.org/grantpicks-stellar-architecture)
[Repository](https://github.com/PotLock/grantpicks) <- where all the code will be pushed
[Backlog](https://potlock.org/grantpicks-stellar-backlog) <- task by task break down
[Figma](https://potlock.org/grantpicks-figma) <- where wireframes and prototypes will be developed
# About Pairwise
The "budget boxing" algorithm, utilizes pairwise preferences to allocate budget percentages among various items or projects. This method starts by collecting votes through pairwise preferences, where voters choose between two options at a time (e.g., "A vs B"). This approach simplifies the voting process, making it more engaging and manageable for voters, as they only need to consider two options at a time. The simplicity of this method also ensures that a large amount of preference data can be efficiently gathered with minimal cognitive load on the voters.
Once the pairwise preferences are collected, they are used to construct a preference graph, essentially a matrix of votes. This matrix is then processed to derive a probability distribution over the items. However, instead of interpreting these probabilities in a conventional sense, they are treated as percentages of the total budget. This means that the algorithm's output directly informs how the budget should be distributed among the items based on the collective preferences of the voters. This method makes the decision-making process transparent and scalable, as it can handle many voters and items efficiently by leveraging mathematical and computational tools.
[App](https://pairdrop.daodrops.io/)
[Github Repo](https://github.com/dOrgTech/PairDrop)
Original Idea https://news.colony.io/ideas/en/budget-box
[Budget Box Repo](https://github.com/JoinColony/budgetBox)
https://uploads-ssl.webflow.com/61840fafb9a4c433c1470856/639b50ee30b729cb016806c1_BudgetingBoxes.pdf
[Mechanism Institute](https://www.mechanism.institute/library/pairwise)
![GrantPicks Choose Page](https://github.com/PotLock/grantpicks/assets/45281667/50c21f90-8d91-436c-b96f-cff0b5950f67)
[Staging](https://staging.grantpicks.com)
[Testnet](https://testnet.grantpicks.com)
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

7-7: Bare URL used
null

(MD034, no-bare-urls)


8-8: Bare URL used
null

(MD034, no-bare-urls)


9-9: Bare URL used
null

(MD034, no-bare-urls)


10-10: Bare URL used
null

(MD034, no-bare-urls)


18-18: Bare URL used
null

(MD034, no-bare-urls)


19-19: Bare URL used
null

(MD034, no-bare-urls)


20-20: Bare URL used
null

(MD034, no-bare-urls)


21-21: Bare URL used
null

(MD034, no-bare-urls)


22-22: Bare URL used
null

(MD034, no-bare-urls)


23-23: Bare URL used
null

(MD034, no-bare-urls)


27-27: Bare URL used
null

(MD034, no-bare-urls)


28-28: Bare URL used
null

(MD034, no-bare-urls)


## Contracts

Stellar Contracts

Staging https://staging.grantpicks.com
Testnet https://testnet.grantpicks.com

## Contracts
Stellar ContractIds Staging
round contract: CCN5CHAAMS4UNRA7EJ4E6DV6GELVOXX6OC2IHY3MPVEDMTKI3E4ITMLJ
project registry: CBQWQLBRCIXY5OIV63MOB3IAXIT5X5JTXOXFFFJ2TOBYLBO6I5LPWA7J
Testnet (Updated: 5th Nov 2024)
lists contract id: CABHQGM4UAW7PZF4M72R75TJL5DZBG75ZE5A3JMXMPKTQZ5BUI2M5KPE
registry contract id: CBG2JAGBYUAM3YLQFNFR3ZSWVR7XR5BEQHQ6XGUA3HCWVCHWO3RS3YUD
round & factory contract id: CBEW52FEWIFWK4LCSMX5FAAG2MYB36C2RLKS5YEIF5AOJEDMCGYU3ZGB

Near Contracts

Testnet
round contract : CCIBKU2IGSZ67WY3MWMXLY42FJ4BZ6AFLJAIPHEAS4HRS3SD255HWH2C
project registry: CCWDFOWHCOQNU4I76IPA4ORAKLGRBT6HLXTEUFMZJEBGPBSLPUMB2ZUC
list contract id: lists.potlock.testnet
near social contract : v1.social08.testnet
round contract id : v2.grantpicks.potlock.testnet
Loading