This feature was implemented some time ago but we just want to release it now. We will bring the code up-to-date and review it, then submit for an audit.
Updates
Openzeppelin libraries were updated to version 5
Solidity compiler set to 0.8.24
UUPSUpgradeable proxy standard implemented for BridgeToken and Factory
SelectivePausableUpgradeable updated to use slots instead of gaps
Deploy scripts and tests updated accordingly
Other changes
BridgeToken access control was changed to Ownable. It is only meant to be manipulated by the factory, therefore more complex access control mechanism is not required.
Pauseability removed for BridgeToken. Factory itself can be paused in case something goes wrong or vulnerability is found. Not sure what would be the use-case of pausing individual tokens. Let's see, if we can think of a good reason, then we can revert this change
Metadata is now set during token creation. There isn't a lot of sense doing it in 2 steps. It can be later updated by the admin if requested by the token owners.
Overview
This feature was implemented some time ago but we just want to release it now. We will bring the code up-to-date and review it, then submit for an audit.
Updates
Other changes
BridgeToken access control was changed to Ownable. It is only meant to be manipulated by the factory, therefore more complex access control mechanism is not required.
Pauseability removed for BridgeToken. Factory itself can be paused in case something goes wrong or vulnerability is found. Not sure what would be the use-case of pausing individual tokens. Let's see, if we can think of a good reason, then we can revert this change
Metadata is now set during token creation. There isn't a lot of sense doing it in 2 steps. It can be later updated by the admin if requested by the token owners.