📆 Connect
🌎 Website
📫 Telegram
💼 LinkedIn
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppole/contracts/adjectives/Delicious.sol";
contract README is Delicious, Ownable {
string public ens;
Emoji[] public abilities;
error NoLove();
error ItsOver9000();
event Cheers(address indexed sender);
constructor() {
ens = "zarifpour.eth";
abilities = ["💠", "🐍", "🔎", "🔒", "🧪", "🗣", "🎨"];
}
function donate() public payable {
if (msg.value == 0) revert NoLove();
if (msg.value > 9000) revert ItsOver9000();
emit Cheers(msg.sender);
}
function withdraw() external payable onlyOwner {
payable(owner()).transfer(address(this).balance);
}
}