The owner of a collection can decide at any moment to enable the Public Minting mode, which allows any account to mint assets in the collection. This mode can be disabled at any time. Note that while Public Minting is enabled, only the collection owner has the authority to evolve minted assets.
This feature enables anyone to experiment with their first asset minting on any blockchain without the need to deploy their own ERC721 smart contract, essentially by only incurring gas fees on LAOS.
The methods and events related to enabling and disabling Public Minting in a given LAOS collection are:
/// @notice Emitted when public minting is enabled for the collectioneventPublicMintingEnabled();/// @notice Emitted when public minting is disabled for the collectioneventPublicMintingDisabled();/// @notice Enables public minting for the collection/// When enabled, any address is allowed to mint on this collection/// This does not affect evolution: only the owner of the collection can continue evolving assets /// @dev Call this function to enable public minting for the collection, the caller must be the owner of the collection
functionenablePublicMinting() external;/// @notice Disables public minting for the collection /// @dev Call this function to disable public minting for the collection, the caller must be the owner of the collection
functiondisablePublicMinting() external;/// @notice Checks if public minting is enabled for the collection/// @dev Call this function to check if public minting is enabled for the collection/// @return true if public minting is enabled for the collection, false otherwisefunctionisPublicMintingEnabled() externalviewreturns (bool);