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