Function: initialize(address defaultAdmin, address pauser, address minter, address upgrader, address rescuer, address blacklister, string tokenName, string tokenSymbol)
This function sets ERC-20's default settings and specific addresses for the defaultAdmin, pauser, minter, upgrader, rescuer, and blacklister.
Inputs
defaultAdminControl: Completely controlled by the caller.
Constraints: None.
Impact: Address of admin to set.
pauserControl: Completely controlled by the caller.
Constraints: None.
Impact: Address of pauser to set.
minterControl: Completely controlled by the caller.
Constraints: None.
Impact: Address of minter to set.
upgraderControl: Completely controlled by the caller.
Constraints: None.
Impact: Address of upgrader to set.
rescuerControl: Completely controlled by the caller.
Constraints: None.
Impact: Address of rescuer to set.
blacklisterControl: Completely controlled by the caller.
Constraints: None.
Impact: Address of blacklister to set.
tokenNameControl: Completely controlled by the caller.
Constraints: None.
Impact: Name of token to set.
tokenSymbolControl: Completely controlled by the caller.
Constraints: None.
Impact: Symbol of token to set.
Branches and code coverage
Intended branches
Set the ERC-20's settings.
Grant the right role on given addresses.
Negative behavior
Called multiple times.