1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.30;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
/// @title Love
/// @notice A basic ERC-20 with an unrestricted mint: anyone can mint any amount
/// to any address. Supply is therefore unbounded and meaningless — this
/// is a faucet/demo token, not a token with economic value.
contract Love is ERC20 {
constructor() ERC20("Love", "LOVE") {}
/// @notice Mint `amount` tokens to `to`. Callable by anyone, without limit.
function mint(address to, uint256 amount) external {
_mint(to, amount);
}
}
|