-
Notifications
You must be signed in to change notification settings - Fork 124
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
feat(contracts): add hats gatekeeper contracts #1191
feat(contracts): add hats gatekeeper contracts #1191
Commits on Mar 18, 2024
-
feat(HatsGatekeepers): add Hats gatekeeper contracts
Adds two flavors of Hats Protocol-powered gatekeeper contracts: - `*Single` gates registration to wearers of a single hat - `*Multiple` gates registration to wearers of multiple hats.
Configuration menu - View commit details
-
Copy full SHA for fd38a5a - Browse repository at this point
Copy the full SHA fd38a5aView commit details -
style(HatsGatekeepers): add new lines in tests
Adds new lines in tests per @0xmad suggestion
Configuration menu - View commit details
-
Copy full SHA for d8cd814 - Browse repository at this point
Copy the full SHA d8cd814View commit details -
refactor(HatsGatekeepers): split into one file per contract per @0xmad …
…suggestion Breaks HatsGatekeepers.sol into multiple files to conform to solhint style guide. Also: - Adds IHats interface - Adds HatsGatekeeperBase abstract contract for common elements
Configuration menu - View commit details
-
Copy full SHA for a4d1dce - Browse repository at this point
Copy the full SHA a4d1dceView commit details -
docs(HatsGatekeepers): adds natspec to IHats.sol
Adds natspec to IHats.sol
Configuration menu - View commit details
-
Copy full SHA for 8793fb3 - Browse repository at this point
Copy the full SHA 8793fb3View commit details -
feat(HatsGatekeepers): add zero-address check to
setMaciInstance()
Prevents MACI address from being set to the zero address
Configuration menu - View commit details
-
Copy full SHA for 88c0bdc - Browse repository at this point
Copy the full SHA 88c0bdcView commit details -
fix(contracts): apply small changes suggested by @kittybest
Applies the following changes as suggested: - MockHatsProtocol inherits from IHats - fixed several natspec typos
Configuration menu - View commit details
-
Copy full SHA for bb429ae - Browse repository at this point
Copy the full SHA bb429aeView commit details -
fix(contracts): correctly deploy test contracts
Correctly deploy contracts in tests
Configuration menu - View commit details
-
Copy full SHA for 81880b3 - Browse repository at this point
Copy the full SHA 81880b3View commit details -
test(HatsGatekeepers): get hardhat forked network ci tests passing
Adds `tx.wait()` to each test call that doesn't return a value
Configuration menu - View commit details
-
Copy full SHA for c04a23e - Browse repository at this point
Copy the full SHA c04a23eView commit details