Skip to content

Conversation

@chrismaree
Copy link
Member

@chrismaree chrismaree commented Mar 16, 2022

Problem:

When the LpTokenFactory contract creates an ExpandedERC20 token contract, the factory becomes
the owner of that token contract. The factory then proceeds to assign the minter and burner roles to
the msg.sender. The factory remains the owner.

Solution:
Set associated roles and transfer ownership to the HubPool.

Signed-off-by: chrismaree <christopher.maree@gmail.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
@chrismaree chrismaree added the OZ Audit - March Resolves issue discovered in March 2022 OZ Audit label Mar 16, 2022
@mrice32 mrice32 self-requested a review March 17, 2022 12:27
Copy link
Member

@nicholaspai nicholaspai left a comment

Choose a reason for hiding this comment

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

LGTM

chrismaree and others added 3 commits March 18, 2022 07:27
Co-authored-by: nicholaspai <9457025+nicholaspai@users.noreply.github.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OZ Audit - March Resolves issue discovered in March 2022 OZ Audit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants