Inherits: Initializable, ERC20Upgradeable, AccessControlUpgradeable, ERC20PermitUpgradeable, UUPSUpgradeable, PausableUpgradeable
This contract implements a leverage token with upgradeable capabilities, access control, and pausability.
Role identifier for accounts with minting privileges
bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
Role identifier for accounts with governance privileges
bytes32 public constant GOV_ROLE = keccak256("GOV_ROLE");
Note: constructor
constructor();
Initializes the contract with a name, symbol, minter, and governance address.
function initialize(string memory name, string memory symbol, address minter, address governance) public initializer;
Parameters
Name | Type | Description |
---|---|---|
name |
string |
The name of the token |
symbol |
string |
The symbol of the token |
minter |
address |
The address that will have minting privileges |
governance |
address |
The address that will have governance privileges |