In order to be able to re-initialize the upgraded contract with the
profile manager address, we need a new re-initializer function that is
automatically allowed to only be executed once per contract
implementation version.
Co-authored-by: Michael Bumann <hello@michaelbumann.com>
New variables have to be added at the end, because otherwise the
existing slots would be mixed up.
Co-authored-by: Michael Bumann <hello@michaelbumann.com>
* Save deployer's address on contract initialization
* Add modifier for requiring tx sender to be deployer
* Add migrationDone flag and function to set it to finished status
The deployer account has the same rights as a core contributor. This is handled now explicitly in the addressIsCore function.
This allows us to run seeds and such from the deployer account.