β
βπ 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);
}
}