julien/lovepublic Fork 0
201cd45cccae36b181f0f188722a7f6b7431b45f
Commits
Clone
git clone https://git.rickub.com/julien/love.git
git clone ssh://git@rickub.com/julien/love.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Love.sol · 17 lines · 619 BSolidity Blame HistoryRaw
add love contract 9bf25a7 julienbrg 11h ago1// SPDX-License-Identifier: MIT
2pragma solidity ^0.8.30;
3
make love an erc20 with public mint 4c8048e julienbrg 11h ago4import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
add love contract 9bf25a7 julienbrg 11h ago5
make love an erc20 with public mint 4c8048e julienbrg 11h ago6/// @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.
10contract Love is ERC20 {
11 constructor() ERC20("Love", "LOVE") {}
add love contract 9bf25a7 julienbrg 11h ago12
make love an erc20 with public mint 4c8048e julienbrg 11h ago13 /// @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 11h ago16 }
17}