πŸ§ͺLabERC20 – Laboratory $LAB Token for DecentraLabsCom

This smart contract implements a basic ERC20 token intended for controlled testing environments within the DecentraLabsCom ecosystem.

✨ Key Features

  • βœ… Built on OpenZeppelin: uses ERC20, Initializable and ERC20Upgradeable.

  • πŸŽ›οΈ Configurable on deployment: token name, symbol, and lab address.

  • ⚠️ Security restrictions (access control for mint/burn/lab updates) are not implemented yet. Use only in fully trusted environments.

πŸ“¦ Key Functions

This contract introduces new capabilities including (but not limited to):

/// @notice Initializes the token with given symbol
/// @dev This function can only be called once due to the initializer modifier
/// @param _symbol The symbol for the token
/// @custom:initializer Sets the token name as "$<symbol>" and mints 10M tokens to the deployer
function initialize(string memory _symbol) public initializer;
/// @notice Mints new tokens and assigns them to the specified account
/// @dev Anyone can call this function as it is public
/// @param account The address that will receive the minted tokens
/// @param amount The amount of tokens to mint
function mint(address account, uint256 amount) public;

⚠️ Access control is not implemented. This contract should only be used in trusted or test environments within DecentraLabsCom.

Last updated