-
Notifications
You must be signed in to change notification settings - Fork 261
[ETHEREUM-CONTRACTS] Dedicated allowlist contract for SuperApp registration #2083
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
Merged
Merged
Changes from 22 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
697b97d
added increaseMemberUnits and decreaseMemberUnits to ISuperfluidPool
d10r 912f970
added burn method to PoolMemberNFT
d10r 85a30d4
added burn method to PoolMemberNFT
d10r eb1b6bd
duplicate _isPool
d10r 2722583
deprecate PoolMemberNFT
d10r 9820c92
bump version to 1.13.0
d10r a0aed70
change PoolMemberNFT token name
d10r 2bf628a
adjust tests
d10r 45fbbd8
updated changelog
d10r 5634adc
added test
d10r 9c6cc97
fix flaky test
d10r 1e56be3
Merge branch 'dev' into 2025-06-incdec_poolunits
d10r a4cee27
more sensible gas price defaults for testnets (too)
d10r 35e54ee
convert _isPool to free function so it can be shared
d10r b3dcea2
removed duplicate line
d10r 7a23d38
mocks shall not use the deprecated method anymore
d10r 9d39c49
add dedicated allowlist for superapp registration
d10r 959e9d3
test revoke too
d10r eac3fe0
Merge branch 'dev' into superapp-allowlist
d10r 131d4a3
Merge branch 'dev' into superapp-allowlist
d10r a2f295c
use OZ AccessControl instead of a custom implementation
d10r ce53cea
updated CHANGELOG
d10r fbf3ad4
rename to SimpleACL
d10r 09c1de0
more adjustments
d10r 39fb8a9
fix test
d10r 64a1879
text fix
d10r ede6643
one more fix
d10r e14c562
change return type of getSimpleACL
d10r File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| // SPDX-License-Identifier: MIT | ||
| pragma solidity ^0.8.23; | ||
|
|
||
| import { AccessControl } from "@openzeppelin/contracts/access/AccessControl.sol"; | ||
|
|
||
| contract ACL is AccessControl { | ||
d10r marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| constructor() { | ||
| _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); | ||
| } | ||
|
|
||
| /// Allows the default admin to set the admin role for a given role. | ||
| /// This gives the flexibility to set up sophisticated permissioning schemes in the future. | ||
| function setRoleAdmin(bytes32 role, bytes32 adminRole) external onlyRole(DEFAULT_ADMIN_ROLE) { | ||
| _setRoleAdmin(role, adminRole); | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.