Skip to content
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: TeamRegistry #29

Merged
merged 21 commits into from
Nov 17, 2023
Merged

✨ feat: TeamRegistry #29

merged 21 commits into from
Nov 17, 2023

Conversation

Sabnock01
Copy link
Member

@Sabnock01 Sabnock01 commented Nov 14, 2023

Description

Implements TeamRegistry (+ unit tests), a registry of teams for Curta Puzzles w/ the following actions:

  • batchRemoveMember(address calldata[] _members)
  • batchSetApprovalForMember(address calldata[] _members, bool _approved)
  • createTeam(address[] calldata _members)
  • removeMember(address _member)
  • setApprovalForMember(address _member, bool _approved)
  • transferTeam(uint256 _from, uint256 _to)
  • transferTeamLeadership(address _member)

@Sabnock01 Sabnock01 marked this pull request as ready for review November 15, 2023 05:49
@Sabnock01 Sabnock01 changed the title [WIP]: TeamRegistry ✨ feat: TeamRegistry Nov 15, 2023
src/TeamRegistry.sol Outdated Show resolved Hide resolved
src/TeamRegistry.sol Outdated Show resolved Hide resolved
src/TeamRegistry.sol Outdated Show resolved Hide resolved
src/TeamRegistry.sol Outdated Show resolved Hide resolved
src/TeamRegistry.sol Outdated Show resolved Hide resolved
@fiveoutofnine
Copy link
Member

idk how to fix that fuzz test inconsistency

@Sabnock01 Sabnock01 merged commit 88d076c into main Nov 17, 2023
0 of 2 checks passed
@Sabnock01 Sabnock01 deleted the sabnock/team-registry branch November 17, 2023 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants