Contract 0x9ad44e8bf6c485db08b041185a05c0d16d16069c 2

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6449b07332f7f305972dde2010a0b7114ddb6f92504e515b31ba5a6f682cbbcfApprove145172812022-01-20 1:53:3924 mins ago0x378285f56eb8817c70c1a8e61fc9488f9c5a1520 IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.000222515
0x5fe5ca0c6d9f1ed343e96e56db7e06e9ed514709eb138bde931652966dbee3b0Transfer145170322022-01-20 1:41:1236 mins ago0x836a6dece062e24f2c4b80d05fec32812ec9623d IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.00020138
0x2f84ebe915e6a580b3e1a7ff6ad168c9e465a1d6f47e2f043a075ad634bb24a4Transfer145167152022-01-20 1:25:2152 mins ago0xfcb655f6f516685311119931100644f91ad87f7c IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.00029600298
0xeed6dff41df6222117ba4b4a53a46b2fc4a5920e426c6dbae53b349efbe0d7c9Approve145165102022-01-20 1:15:061 hr 2 mins ago0x60581166db30abc0973b35e49baeb5097044fc2b IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.000221975
0x1556d0db256d5e5e3034976e272734afbb9cb9ad1f7c136d15243a3c87c1e435Transfer145164752022-01-20 1:13:211 hr 4 mins ago0xfcb655f6f516685311119931100644f91ad87f7c IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.00021574224
0x56c0f6d7cf4210535d293f5c77a8407f53f7f4ef40ca1ed9a8d47d83b53e5994Approve145157522022-01-20 0:37:121 hr 40 mins ago0x3ec87f2e536668113e9142c231169bde8da4fb26 IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.000221975
0xa9775f2b871e26c9f6bf5ca7fe44a8ea7792454d007dbfc9cfedcd83d0286e85Approve145152102022-01-20 0:10:062 hrs 7 mins ago0xf3a6d5920919544161847c82bc41bde79379f390 IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.000221915
0xddfd070bea1af1bcd3d300a30bddf4316f2cde72dd6c8ece64da21d1fce3ee22Approve145134512022-01-19 22:42:093 hrs 35 mins ago0x7fb1acc9c96753580ae55bdba38540a2a8d39a33 IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.000221915
0x3b904697a88858d1c81353ed3099a773484dc4dcd83d5101df5a720fb6d7f170Transfer145131202022-01-19 22:25:363 hrs 52 mins ago0x806000a1913c74b60f9310878ea2093ce2c0c913 IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.00020144
0xf7493bc161747471f505cac5514e186888cb3303b2193af8062ffa0020d5cc1fApprove145130622022-01-19 22:22:423 hrs 55 mins ago0xbd77d355209c2f54fd10e6f260f2b54c406f16a9 IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.000222515
0x3b4fb887b17764fe239df605753af20f49f0175e12fef9c55e3855ac6f098f1aApprove145124892022-01-19 21:54:034 hrs 23 mins ago0x41b5cc38512346199909d9efabcfc6fbaeaf8b28 IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.000222515
0xe34ef4d47e0ec9e13b9c66a2a707ba3451dcea1eace00f35e4a19fac803f8cfdTransfer145105332022-01-19 20:15:526 hrs 1 min ago0x9f7e15873edaf2973e56d0675b0cedcf55e8e56f IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.003481072
0x59b731ddb9a18055e1eaa12ce6fe5e7e65d2c8fa6cf59830ec3a19ef2cf655a2Transfer145101732022-01-19 19:57:526 hrs 19 mins ago0x9f7e15873edaf2973e56d0675b0cedcf55e8e56f IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.000332768
0x5bdf1c174bdd47adaff5cc1264625df480dffccacfa962bba7053236513f41a5Approve145098922022-01-19 19:43:496 hrs 33 mins ago0x7d369709887e47167f8dc2042906513bad621cd7 IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.000221975
0x89e0f56d262ffea26a9fa5a0666a7e0227cbbd3eee5c71dee1ae6a8d874b6f4bTransfer145097432022-01-19 19:36:226 hrs 41 mins ago0x28e85f2eb9cced9700c17eb130fa2425f445b159 IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.00020144
0xd19d93a6216bb8e78715cd81be5ea6971b4a7779229b36042c2f5ac534c78bbaApprove145093952022-01-19 19:18:586 hrs 58 mins ago0xa418613a990ad9db17e217419a45f059d6e91e2f IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.000222515
0x314c96d9a2a82ab2a37eacc2537b37be93b63e3cd20f0f9286e12d8303808d0eApprove145090562022-01-19 19:02:017 hrs 15 mins ago0xd4105c56dcd0497b3b220eb2fc88022465717a2f IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.000222515
0xf485e139ba6e2fbb740a365af02e2746bd747c7a5efe3f2bb9ad6ab3cad1e6e7Transfer145086102022-01-19 18:39:417 hrs 38 mins ago0x2e5b381aa3350e66a1145757f73b5420cceff06e IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.00245674548
0xfa8889916999f9593db34ac08a330dccc09436b5aa5be84f051a8048dd4f2b01Approve145071662022-01-19 17:27:298 hrs 50 mins ago0x625b637cad05066966f7466f0307f2231c0f8951 IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.000221975
0x26c822b54dfabfae321e01308bd7d63add883326aa02c18f8943a97e312242aeApprove145069082022-01-19 17:14:359 hrs 3 mins ago0xcfde9902b219383fd3b46f42ded028a7966e601c IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.000126515
0x87986e36ec72c2bda891a2be36585341a6da25412b45544cb8c248a1b9b6f378Approve145068872022-01-19 17:13:329 hrs 4 mins ago0xcfde9902b219383fd3b46f42ded028a7966e601c IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.000222515
0x37cf260c390c87081df54f1cf596a5539ba73ac4bf3c1cc9f505abfea6a1907dTransfer145063032022-01-19 16:44:059 hrs 33 mins ago0xf1d1faa384c954007005209b898ec59fdc5ffb38 IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.00035138
0x6fb630797b2e90ebc92a2fb4d538ed92a29127c155f7439fc84baf2ae21161c0Transfer145062772022-01-19 16:42:479 hrs 34 mins ago0x5f808f949a7f8587fa2373a17a915a76c1435ace IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.00021574224
0xd4a194f3cdefb67f26c0581e0487eb47cc0a3c9b185e2923bb69543de5f0490cTransfer145062582022-01-19 16:41:509 hrs 35 mins ago0xf1d1faa384c954007005209b898ec59fdc5ffb38 IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.00052517
0x5b28d5ca3148385ed29de948e6ca3ca347ebbba48f02d308fde34556057868a1Approve145056532022-01-19 16:11:2810 hrs 6 mins ago0xc3ebf9d1146a571f4c7a07b5035fbb2f2dd6d3d4 IN  0x9ad44e8bf6c485db08b041185a05c0d16d16069c0 BNB0.000221915
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xb9a00874abfd27ebebe6282653eb39805374018a3bbba437619d5df88af824be145176542022-01-20 2:12:185 mins ago 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0x077ee6c0ff99530e9941bcf10cdde93a13f965bb0.00040047801819459 BNB
0xb9a00874abfd27ebebe6282653eb39805374018a3bbba437619d5df88af824be145176542022-01-20 2:12:185 mins ago 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0x8defd2d9d3693809164d769e30a1b215762f87f40.00040047801819459 BNB
0xb9a00874abfd27ebebe6282653eb39805374018a3bbba437619d5df88af824be145176542022-01-20 2:12:185 mins ago PancakeSwap: Router v2 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0.00080095603638918 BNB
0xb9a00874abfd27ebebe6282653eb39805374018a3bbba437619d5df88af824be145176542022-01-20 2:12:185 mins ago 0x9ad44e8bf6c485db08b041185a05c0d16d16069c PancakeSwap: Router v20.000599621539296831 BNB
0xb9a00874abfd27ebebe6282653eb39805374018a3bbba437619d5df88af824be145176542022-01-20 2:12:185 mins ago PancakeSwap: Router v2 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0.000599621539296831 BNB
0x4f488d763c29a7880e7cff008d7f894ac35b332e2b33f20619a676804dcae7b5145175892022-01-20 2:09:038 mins ago 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0x077ee6c0ff99530e9941bcf10cdde93a13f965bb0.000471108500666339 BNB
0x4f488d763c29a7880e7cff008d7f894ac35b332e2b33f20619a676804dcae7b5145175892022-01-20 2:09:038 mins ago 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0x8defd2d9d3693809164d769e30a1b215762f87f40.000471108500666338 BNB
0x4f488d763c29a7880e7cff008d7f894ac35b332e2b33f20619a676804dcae7b5145175892022-01-20 2:09:038 mins ago PancakeSwap: Router v2 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0.000942217001332677 BNB
0x4f488d763c29a7880e7cff008d7f894ac35b332e2b33f20619a676804dcae7b5145175892022-01-20 2:09:038 mins ago 0x9ad44e8bf6c485db08b041185a05c0d16d16069c PancakeSwap: Router v20.000705380020708911 BNB
0x4f488d763c29a7880e7cff008d7f894ac35b332e2b33f20619a676804dcae7b5145175892022-01-20 2:09:038 mins ago PancakeSwap: Router v2 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0.000705380020708911 BNB
0x0b3dad40b5daf483cade1a4d5b510ebb34e340df638307594bb5dd652f585830145173682022-01-20 1:58:0019 mins ago 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0x077ee6c0ff99530e9941bcf10cdde93a13f965bb0.001001367133486827 BNB
0x0b3dad40b5daf483cade1a4d5b510ebb34e340df638307594bb5dd652f585830145173682022-01-20 1:58:0019 mins ago 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0x8defd2d9d3693809164d769e30a1b215762f87f40.001001367133486827 BNB
0x0b3dad40b5daf483cade1a4d5b510ebb34e340df638307594bb5dd652f585830145173682022-01-20 1:58:0019 mins ago PancakeSwap: Router v2 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0.002002734266973654 BNB
0x0b3dad40b5daf483cade1a4d5b510ebb34e340df638307594bb5dd652f585830145173682022-01-20 1:58:0019 mins ago 0x9ad44e8bf6c485db08b041185a05c0d16d16069c PancakeSwap: Router v20.001499419369126783 BNB
0x0b3dad40b5daf483cade1a4d5b510ebb34e340df638307594bb5dd652f585830145173682022-01-20 1:58:0019 mins ago PancakeSwap: Router v2 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0.001499419369126783 BNB
0x513eeb08c9b5ef1ed0576ec42ef7cf59bc8d2d46875d7a2a084a44b8e998e852145173442022-01-20 1:56:4820 mins ago 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0x077ee6c0ff99530e9941bcf10cdde93a13f965bb0.000325076473880435 BNB
0x513eeb08c9b5ef1ed0576ec42ef7cf59bc8d2d46875d7a2a084a44b8e998e852145173442022-01-20 1:56:4820 mins ago 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0x8defd2d9d3693809164d769e30a1b215762f87f40.000325076473880435 BNB
0x513eeb08c9b5ef1ed0576ec42ef7cf59bc8d2d46875d7a2a084a44b8e998e852145173442022-01-20 1:56:4820 mins ago PancakeSwap: Router v2 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0.00065015294776087 BNB
0x513eeb08c9b5ef1ed0576ec42ef7cf59bc8d2d46875d7a2a084a44b8e998e852145173442022-01-20 1:56:4820 mins ago 0x9ad44e8bf6c485db08b041185a05c0d16d16069c PancakeSwap: Router v20.000486721084436161 BNB
0x513eeb08c9b5ef1ed0576ec42ef7cf59bc8d2d46875d7a2a084a44b8e998e852145173442022-01-20 1:56:4820 mins ago PancakeSwap: Router v2 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0.000486721084436161 BNB
0x1f425a9312da4cfc5d0673e48c7cc23e38e091cf3658562d8acd299feaff8224145173282022-01-20 1:56:0021 mins ago 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0x077ee6c0ff99530e9941bcf10cdde93a13f965bb0.00032969220623638 BNB
0x1f425a9312da4cfc5d0673e48c7cc23e38e091cf3658562d8acd299feaff8224145173282022-01-20 1:56:0021 mins ago 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0x8defd2d9d3693809164d769e30a1b215762f87f40.00032969220623638 BNB
0x1f425a9312da4cfc5d0673e48c7cc23e38e091cf3658562d8acd299feaff8224145173282022-01-20 1:56:0021 mins ago PancakeSwap: Router v2 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0.00065938441247276 BNB
0x1f425a9312da4cfc5d0673e48c7cc23e38e091cf3658562d8acd299feaff8224145173282022-01-20 1:56:0021 mins ago 0x9ad44e8bf6c485db08b041185a05c0d16d16069c PancakeSwap: Router v20.000493632266876714 BNB
0x1f425a9312da4cfc5d0673e48c7cc23e38e091cf3658562d8acd299feaff8224145173282022-01-20 1:56:0021 mins ago PancakeSwap: Router v2 0x9ad44e8bf6c485db08b041185a05c0d16d16069c0.000493632266876714 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GalaxyEarnToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 10 : GalaxyEarnToken.sol
pragma solidity >=0.8.4;

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
import "./libs/IUniswapV2Pair.sol";
import "./libs/IUniswapV2Factory.sol";
import "./libs/IUniswapV2Router.sol";

// 4% Lp gets sent directly back to the LP.

// 4% buyback gets sent as tokens or as BNB to your wallet?

// 1% dev gets sent as tokens or as BNB to dev wallet?

contract GalaxyEarnToken is ERC20, Ownable {
    using SafeMath for uint256;
    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;
    uint256 public _totalSupply = (10**15) * (10**18); // 1Q tokens
    uint256 public swapTokensAtAmount = 2 * (10 ** 8) * (10**18); // 0.2b = Threshold to swap

    address public devWallet;
    address public buybackWallet;
    address public liquidityWallet;

    uint256 public buybackFee = 4;
    uint256 public devFee = 1;
    uint256 public liquidityFee = 4;

    bool public buysBlocked = false;

    mapping (address => bool) private _isExcludedFromFees;
    bool private swapping;
    mapping (address => bool) public automatedMarketMakerPairs;
    
    event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress);
    event SendDividends(
    	uint256 tokensSwapped,
    	uint256 amount
    );
    event ExcludeFromFees(address indexed account, bool isExcluded);
    event BuybackWalletUpdated(address indexed newLiquidityWallet, address indexed oldLiquidityWallet);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);


    receive() external payable {

  	}

    constructor() ERC20('Galaxy Heroes Earn', 'GHE') public {
        /******************************************************/
        /** TESTNET **/
        /******************************************************/
        // test router official address is: 0xD99D1c33F9fC3444f8101754aBC46c52416550D1
        // Pancake front end doesnt work with testnet. We are using 
        // https://pancake.kiemtienonline360.com which works with a different router address (0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3) 
        
        // TODO - change this to production address
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(address(0x10ED43C718714eb63d5aA57B78B54704E256024E));
        // IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(address(0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3));

        address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        
        address _uniswapV2PairUSDT = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), address(0x55d398326f99059fF775485246999027B3197955));

        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = _uniswapV2Pair;

        _setAutomatedMarketMakerPair(_uniswapV2Pair, true);
        _setAutomatedMarketMakerPair(_uniswapV2PairUSDT, true);
        excludeFromFees(address(this), true);
        excludeFromFees(owner(), true);
        buybackWallet = owner();
        devWallet = owner();
        liquidityWallet = owner();

        super._mint(owner(), _totalSupply);
    }

    function mintTokens(uint256 amount) public onlyOwner {
        super._mint(owner(), amount);
    }

    function setBuysBlocked(bool _buysBlocked) public onlyOwner {
        buysBlocked = _buysBlocked;
    }

    function updateFees(
        uint256 _buybackFee,
        uint256 _liquidityFee,
        uint256 _devFee,
        uint256 _swapTokensAtAmount
    ) public onlyOwner{
        buybackFee = _buybackFee;
        liquidityFee = _liquidityFee;
        devFee = _devFee;
        swapTokensAtAmount = _swapTokensAtAmount;
    }

    function updateWallets(
        address _liquidityWallet,
        address _buybackWallet,
        address _devWallet
    ) public onlyOwner{
        devWallet = _devWallet;
        buybackWallet = _buybackWallet;
        liquidityWallet = _liquidityWallet;
        excludeFromFees(_devWallet, true);
        excludeFromFees(_buybackWallet, true);
        excludeFromFees(_liquidityWallet, true);
    }

    function updateUniswapV2Router(address newAddress) public onlyOwner {
        require(newAddress != address(uniswapV2Router), "XPLAY: The router already has that address");
        emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router));
        uniswapV2Router = IUniswapV2Router02(newAddress);
    }

    function swapAndSendDividends(uint256 tokens) private {
        swapTokensForEth(tokens);
        uint256 dividends = address(this).balance;
        address(devWallet).call{value: dividends.mul(devFee).div(devFee.add(buybackFee))}("");
        (bool success,) = address(buybackWallet).call{value: address(this).balance}("");
        if(success) {
          emit SendDividends(tokens, dividends);
        }
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        if(amount == 0) {
            super._transfer(from, to, 0);
            return;
        }
        // DISABLE FROM === PANCAKESWAP && TO !== ROUTER
        if (buysBlocked && automatedMarketMakerPairs[from] && to != address(uniswapV2Router)) {
            require(!buysBlocked, 'Buys are disabled');
        }
		uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;
        if(
            canSwap &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            from != buybackWallet &&
            to != buybackWallet
        ) {
            swapping = true;
            uint256 swapTokens = contractTokenBalance.mul(
                liquidityFee).div(liquidityFee.add(devFee).add(buybackFee));
            swapAndLiquify(swapTokens);

            uint256 sellTokens = balanceOf(address(this));
            swapAndSendDividends(sellTokens);
            swapping = false;
        }

        bool takeFee = !swapping;
        // if any account belongs to _isExcludedFromFee account then remove the fee
        if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }
        if(takeFee) {
        	uint256 fees = amount.mul(liquidityFee.add(buybackFee).add(devFee)).div(100);
        	amount = amount.sub(fees);
            super._transfer(from, address(this), fees);
        }
        super._transfer(from, to, amount);
    }

    function swapAndLiquify(uint256 tokens) private {
        // split the contract balance into halves
        uint256 half = tokens.div(2);
        uint256 otherHalf = tokens.sub(half);
        // capture the contract's current ETH balance.
        // this is so that we can capture exactly the amount of ETH that the
        // swap creates, and not make the liquidity event include any ETH that
        // has been manually sent to the contract
        uint256 initialBalance = address(this).balance;
        // swap tokens for ETH
        swapTokensForEth(half);
        // how much ETH did we just swap into?
        uint256 newBalance = address(this).balance.sub(initialBalance);
        // add liquidity to uniswap
        addLiquidity(otherHalf, newBalance);
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        // add the liquidity
        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            liquidityWallet,
            block.timestamp
        );
        
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner {
        require(pair != uniswapV2Pair, "GHE: The PancakeSwap pair cannot be removed from automatedMarketMakerPairs");
        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        require(automatedMarketMakerPairs[pair] != value, "GHE: Automated market maker pair is already set to that value");
        automatedMarketMakerPairs[pair] = value;
        emit SetAutomatedMarketMakerPair(pair, value);
    }

}

File 2 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 10 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 4 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 5 of 10 : IUniswapV2Pair.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 6 of 10 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 7 of 10 : IUniswapV2Router.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}



// pragma solidity >=0.6.2;

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

File 8 of 10 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 9 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 10 of 10 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newLiquidityWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldLiquidityWallet","type":"address"}],"name":"BuybackWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buybackFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buybackWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buysBlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_buysBlocked","type":"bool"}],"name":"setBuysBlocked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buybackFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"},{"internalType":"uint256","name":"_swapTokensAtAmount","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_liquidityWallet","type":"address"},{"internalType":"address","name":"_buybackWallet","type":"address"},{"internalType":"address","name":"_devWallet","type":"address"}],"name":"updateWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526d314dc6448d9338c15b0a000000006008556aa56fa5b99019a5c80000006009556004600d8190556001600e55600f556010805460ff191690553480156200004b57600080fd5b506040518060400160405280601281526020017123b0b630bc3c902432b937b2b99022b0b93760711b8152506040518060400160405280600381526020016247484560e81b8152508160039080519060200190620000ab92919062000742565b508051620000c190600490602084019062000742565b505050620000de620000d86200045d60201b60201c565b62000461565b60007310ed43c718714eb63d5aa57b78b54704e256024e90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200013357600080fd5b505afa15801562000148573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200016e9190620007e8565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015620001b757600080fd5b505afa158015620001cc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001f29190620007e8565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200023b57600080fd5b505af115801562000250573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002769190620007e8565b90506000826001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015620002b457600080fd5b505afa158015620002c9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ef9190620007e8565b6040516364e329cb60e11b81523060048201527355d398326f99059ff775485246999027b319795560248201526001600160a01b03919091169063c9c6539690604401602060405180830381600087803b1580156200034d57600080fd5b505af115801562000362573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003889190620007e8565b600680546001600160a01b038087166001600160a01b03199283161790925560078054928616929091169190911790559050620003c7826001620004b3565b620003d4816001620004b3565b620003e1306001620005a2565b62000400620003f86005546001600160a01b031690565b6001620005a2565b600554600b80546001600160a01b039092166001600160a01b03199283168117909155600a8054831682179055600c805490921681179091556008546200045491906200065d602090811b62000d0417901c565b5050506200087a565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526013602052604090205460ff16151581151514156200054e5760405162461bcd60e51b815260206004820152603d60248201527f4748453a204175746f6d61746564206d61726b6574206d616b6572207061697260448201527f20697320616c72656164792073657420746f20746861742076616c756500000060648201526084015b60405180910390fd5b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620005fe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000545565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620006b55760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000545565b8060026000828254620006c9919062000818565b90915550506001600160a01b03821660009081526020819052604081208054839290620006f890849062000818565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b82805462000750906200083d565b90600052602060002090601f016020900481019282620007745760008555620007bf565b82601f106200078f57805160ff1916838001178555620007bf565b82800160010185558215620007bf579182015b82811115620007bf578251825591602001919060010190620007a2565b50620007cd929150620007d1565b5090565b5b80821115620007cd5760008155600101620007d2565b600060208284031215620007fa578081fd5b81516001600160a01b038116811462000811578182fd5b9392505050565b600082198211156200083857634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200085257607f821691505b602082108114156200087457634e487b7160e01b600052602260045260246000fd5b50919050565b611c87806200088a6000396000f3fe6080604052600436106101f25760003560e01c80638da5cb5b1161010d578063b62496f5116100a0578063dd62ed3e1161006f578063dd62ed3e14610594578063deab8aea146105da578063e2f45605146105fa578063f002babe14610610578063f2fde38b1461062a57600080fd5b8063b62496f514610504578063c024666814610534578063c6616ba114610554578063d46980161461057457600080fd5b806398118cb4116100dc57806398118cb41461048e5780639a7a23d6146104a4578063a457c2d7146104c4578063a9059cbb146104e457600080fd5b80638da5cb5b1461041b5780638ea5220f1461043957806395d89b411461045957806397304ced1461046e57600080fd5b8063395093511161018557806365b8dbc01161015457806365b8dbc01461039a5780636827e764146103ba57806370a08231146103d0578063715018a61461040657600080fd5b8063395093511461032e5780633b2d081c1461034e5780633eaaf86b1461036457806349bd5a5e1461037a57600080fd5b806318160ddd116101c157806318160ddd146102b357806323b872dd146102d257806330f11c4f146102f2578063313ce5671461031257600080fd5b806306fdde03146101fe578063095ea7b314610229578063147c9f6d146102595780631694505e1461027b57600080fd5b366101f957005b600080fd5b34801561020a57600080fd5b5061021361064a565b60405161022091906119fd565b60405180910390f35b34801561023557600080fd5b50610249610244366004611942565b6106dc565b6040519015158152602001610220565b34801561026557600080fd5b50610279610274366004611884565b6106f2565b005b34801561028757600080fd5b5060065461029b906001600160a01b031681565b6040516001600160a01b039091168152602001610220565b3480156102bf57600080fd5b506002545b604051908152602001610220565b3480156102de57600080fd5b506102496102ed3660046118ce565b610788565b3480156102fe57600080fd5b5061027961030d36600461196d565b610832565b34801561031e57600080fd5b5060405160128152602001610220565b34801561033a57600080fd5b50610249610349366004611942565b61086f565b34801561035a57600080fd5b506102c4600d5481565b34801561037057600080fd5b506102c460085481565b34801561038657600080fd5b5060075461029b906001600160a01b031681565b3480156103a657600080fd5b506102796103b5366004611814565b6108ab565b3480156103c657600080fd5b506102c4600e5481565b3480156103dc57600080fd5b506102c46103eb366004611814565b6001600160a01b031660009081526020819052604090205490565b34801561041257600080fd5b506102796109a3565b34801561042757600080fd5b506005546001600160a01b031661029b565b34801561044557600080fd5b50600a5461029b906001600160a01b031681565b34801561046557600080fd5b506102136109d9565b34801561047a57600080fd5b50610279610489366004611987565b6109e8565b34801561049a57600080fd5b506102c4600f5481565b3480156104b057600080fd5b506102796104bf36600461190e565b610a30565b3480156104d057600080fd5b506102496104df366004611942565b610aff565b3480156104f057600080fd5b506102496104ff366004611942565b610b98565b34801561051057600080fd5b5061024961051f366004611814565b60136020526000908152604090205460ff1681565b34801561054057600080fd5b5061027961054f36600461190e565b610ba5565b34801561056057600080fd5b5061027961056f3660046119cc565b610c2e565b34801561058057600080fd5b50600c5461029b906001600160a01b031681565b3480156105a057600080fd5b506102c46105af36600461184c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156105e657600080fd5b50600b5461029b906001600160a01b031681565b34801561060657600080fd5b506102c460095481565b34801561061c57600080fd5b506010546102499060ff1681565b34801561063657600080fd5b50610279610645366004611814565b610c6c565b60606003805461065990611beb565b80601f016020809104026020016040519081016040528092919081815260200182805461068590611beb565b80156106d25780601f106106a7576101008083540402835291602001916106d2565b820191906000526020600020905b8154815290600101906020018083116106b557829003601f168201915b5050505050905090565b60006106e9338484610de3565b50600192915050565b6005546001600160a01b031633146107255760405162461bcd60e51b815260040161071c90611a93565b60405180910390fd5b600a80546001600160a01b038084166001600160a01b031992831617909255600b8054858416908316179055600c80549286169290911691909117905561076d816001610ba5565b610778826001610ba5565b610783836001610ba5565b505050565b6000610795848484610f07565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561081a5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161071c565b6108278533858403610de3565b506001949350505050565b6005546001600160a01b0316331461085c5760405162461bcd60e51b815260040161071c90611a93565b6010805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106e99185906108a6908690611b7d565b610de3565b6005546001600160a01b031633146108d55760405162461bcd60e51b815260040161071c90611a93565b6006546001600160a01b03828116911614156109465760405162461bcd60e51b815260206004820152602a60248201527f58504c41593a2054686520726f7574657220616c7265616479206861732074686044820152696174206164647265737360b01b606482015260840161071c565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146109cd5760405162461bcd60e51b815260040161071c90611a93565b6109d760006111a0565b565b60606004805461065990611beb565b6005546001600160a01b03163314610a125760405162461bcd60e51b815260040161071c90611a93565b610a2d610a276005546001600160a01b031690565b82610d04565b50565b6005546001600160a01b03163314610a5a5760405162461bcd60e51b815260040161071c90611a93565b6007546001600160a01b0383811691161415610af15760405162461bcd60e51b815260206004820152604a60248201527f4748453a205468652050616e63616b655377617020706169722063616e6e6f7460448201527f2062652072656d6f7665642066726f6d206175746f6d617465644d61726b65746064820152694d616b6572506169727360b01b608482015260a40161071c565b610afb82826111f2565b5050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610b815760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161071c565b610b8e3385858403610de3565b5060019392505050565b60006106e9338484610f07565b6005546001600160a01b03163314610bcf5760405162461bcd60e51b815260040161071c90611a93565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314610c585760405162461bcd60e51b815260040161071c90611a93565b600d93909355600f91909155600e55600955565b6005546001600160a01b03163314610c965760405162461bcd60e51b815260040161071c90611a93565b6001600160a01b038116610cfb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161071c565b610a2d816111a0565b6001600160a01b038216610d5a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161071c565b8060026000828254610d6c9190611b7d565b90915550506001600160a01b03821660009081526020819052604081208054839290610d99908490611b7d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316610e455760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161071c565b6001600160a01b038216610ea65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161071c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610f2d5760405162461bcd60e51b815260040161071c90611ac8565b6001600160a01b038216610f535760405162461bcd60e51b815260040161071c90611a50565b80610f6457610783838360006112db565b60105460ff168015610f8e57506001600160a01b03831660009081526013602052604090205460ff165b8015610fa857506006546001600160a01b03838116911614155b15610ff45760105460ff1615610ff45760405162461bcd60e51b8152602060048201526011602482015270109d5e5cc8185c9948191a5cd8589b1959607a1b604482015260640161071c565b306000908152602081905260409020546009548110801590819061101b575060125460ff16155b801561104057506001600160a01b03851660009081526013602052604090205460ff16155b801561105a5750600b546001600160a01b03868116911614155b80156110745750600b546001600160a01b03858116911614155b156110ee576012805460ff19166001179055600d54600e54600f546000926110bd926110a9926110a391611430565b90611430565b600f546110b7908690611443565b9061144f565b90506110c88161145b565b306000908152602081905260409020546110e1816114a1565b50506012805460ff191690555b6012546001600160a01b03861660009081526011602052604090205460ff9182161591168061113557506001600160a01b03851660009081526011602052604090205460ff165b1561113e575060005b801561118d57600061117260646110b761116b600e546110a3600d54600f5461143090919063ffffffff16565b8890611443565b905061117e85826115ba565b945061118b8730836112db565b505b6111988686866112db565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526013602052604090205460ff16151581151514156112875760405162461bcd60e51b815260206004820152603d60248201527f4748453a204175746f6d61746564206d61726b6574206d616b6572207061697260448201527f20697320616c72656164792073657420746f20746861742076616c7565000000606482015260840161071c565b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166113015760405162461bcd60e51b815260040161071c90611ac8565b6001600160a01b0382166113275760405162461bcd60e51b815260040161071c90611a50565b6001600160a01b0383166000908152602081905260409020548181101561139f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161071c565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906113d6908490611b7d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161142291815260200190565b60405180910390a350505050565b600061143c8284611b7d565b9392505050565b600061143c8284611bb5565b600061143c8284611b95565b600061146882600261144f565b9050600061147683836115ba565b905047611482836115c6565b600061148e47836115ba565b905061149a8382611743565b5050505050565b6114aa816115c6565b600a54600d54600e5447926001600160a01b0316916114da916114cc91611430565b600e546110b7908590611443565b604051600081818185875af1925050503d8060008114611516576040519150601f19603f3d011682016040523d82523d6000602084013e61151b565b606091505b5050600b54604051600092506001600160a01b039091169047908381818185875af1925050503d806000811461156d576040519150601f19603f3d011682016040523d82523d6000602084013e611572565b606091505b5050905080156107835760408051848152602081018490527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3910160405180910390a1505050565b600061143c8284611bd4565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061160957634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561165d57600080fd5b505afa158015611671573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116959190611830565b816001815181106116b657634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526006546116dc9130911684610de3565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611715908590600090869030904290600401611b0d565b600060405180830381600087803b15801561172f57600080fd5b505af1158015611198573d6000803e3d6000fd5b60065461175b9030906001600160a01b031684610de3565b600654600c5460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b1580156117c657600080fd5b505af11580156117da573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061149a919061199f565b8035801515811461180f57600080fd5b919050565b600060208284031215611825578081fd5b813561143c81611c3c565b600060208284031215611841578081fd5b815161143c81611c3c565b6000806040838503121561185e578081fd5b823561186981611c3c565b9150602083013561187981611c3c565b809150509250929050565b600080600060608486031215611898578081fd5b83356118a381611c3c565b925060208401356118b381611c3c565b915060408401356118c381611c3c565b809150509250925092565b6000806000606084860312156118e2578283fd5b83356118ed81611c3c565b925060208401356118fd81611c3c565b929592945050506040919091013590565b60008060408385031215611920578182fd5b823561192b81611c3c565b9150611939602084016117ff565b90509250929050565b60008060408385031215611954578182fd5b823561195f81611c3c565b946020939093013593505050565b60006020828403121561197e578081fd5b61143c826117ff565b600060208284031215611998578081fd5b5035919050565b6000806000606084860312156119b3578283fd5b8351925060208401519150604084015190509250925092565b600080600080608085870312156119e1578081fd5b5050823594602084013594506040840135936060013592509050565b6000602080835283518082850152825b81811015611a2957858101830151858201604001528201611a0d565b81811115611a3a5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015611b5c5784516001600160a01b031683529383019391830191600101611b37565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611b9057611b90611c26565b500190565b600082611bb057634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611bcf57611bcf611c26565b500290565b600082821015611be657611be6611c26565b500390565b600181811c90821680611bff57607f821691505b60208210811415611c2057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610a2d57600080fdfea26469706673582212209736bc33c59630c26d7f61f05dbfd09a795b491e98bcb85603593bdf331a509864736f6c63430008040033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.