You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently ownership and roles are assigned to msg.sender, which is a problem for factory contracts. We can have a toggle to use a constructor parameter instead.
The text was updated successfully, but these errors were encountered:
This was changed to use a constructor parameter for most cases. The only remaining scenario is the recipient of ERC20's Premint amount -- this could also use a constructor parameter to be consistent.
ericglau
changed the title
Add a toggle to use msg.sender or constructor parameter for roles/ownership
Use constructor parameter for ERC20 Premint
Jan 28, 2025
Currently ownership and roles are assigned to
msg.sender
, which is a problem for factory contracts. We can have a toggle to use a constructor parameter instead.The text was updated successfully, but these errors were encountered: