zarifpour / zarifpour

Config files for my GitHub profile.

Home Page:https://github.com/zarifpour

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imposter

 
β€ƒπŸ“† 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);
    }
}

About

Config files for my GitHub profile.

https://github.com/zarifpour