Contract 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f

Contract Overview

Balance:
0 BNB
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x43f8472801a284a07933bcd2d06eb7d30b91c896669133e90881e5d62e6edfe4Transfer95440902021-06-08 5:19:17102 days 9 hrs ago0x81470db9e9bb4e411cb38cd4544d5222305ccef4 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00250626
0x5566556a5a579b7e3e0086f896ed57558c9fc5364d0cd67e717eeb79eb8181b2Transfer95439412021-06-08 5:11:50102 days 9 hrs ago0x81470db9e9bb4e411cb38cd4544d5222305ccef4 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00250602
0xc5e8c2f98fe3af32b04b537742bef52a82720c30913dcf6b6b18390a7f60cbcbTransfer95155122021-06-07 5:29:57103 days 9 hrs ago0x65f7fbd5e96b105b9e557894d919cb88fc84b478 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.001248
0xf9cf51fec6d0dbd16062d0809b06786dfbcd2e5a83b8b738fb2ee985b9f1cd17Transfer95155002021-06-07 5:29:21103 days 9 hrs ago0x81470db9e9bb4e411cb38cd4544d5222305ccef4 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00127389
0x1023f6d81b9b9dcbcf2e67727766253c80a7c2e5e8489ce2cc70c1013049ea0aExclude From Fee95152972021-06-07 5:19:12103 days 9 hrs ago0x65f7fbd5e96b105b9e557894d919cb88fc84b478 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.0004361
0x1b4ffccb205698991f10fb7a71491bf8efbd931eb7b0fc7b35cd323a82ee4dc1Transfer95152682021-06-07 5:17:45103 days 9 hrs ago0x81470db9e9bb4e411cb38cd4544d5222305ccef4 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00235626
0xe20f9285afdcd1bebae81076c9bb1e04160eaac099d1eacbea1014997799a5b2Transfer95152482021-06-07 5:16:45103 days 9 hrs ago0x81470db9e9bb4e411cb38cd4544d5222305ccef4 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00235626
0xc88235509f9286912ceb7eb23fe0d36bb044fb2e6f9f30c2c973b63ca25f3d32Transfer95152282021-06-07 5:15:45103 days 9 hrs ago0x81470db9e9bb4e411cb38cd4544d5222305ccef4 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00235626
0x4c8f9e89bd849621299232380b7ff5935f97b5e1b59c30f5a8b1c51ea709290eTransfer95152052021-06-07 5:14:36103 days 9 hrs ago0x81470db9e9bb4e411cb38cd4544d5222305ccef4 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00235626
0x3415394f08652f70997158c12b2246b65b33710ef7300083f1d2347d21072d48Transfer95151462021-06-07 5:11:39103 days 9 hrs ago0x81470db9e9bb4e411cb38cd4544d5222305ccef4 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00235626
0x7dfde8e3c9dc0c5aaa3bb87cbd62872208b39f86f39370da4b2a6eb7edbedc0cTransfer95151132021-06-07 5:10:00103 days 9 hrs ago0xd578614fa4a8194390233376aea54756284a1078 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00231426
0x04a229a2137b4f046c0e1756264d0eaa485c99879070b7a8101e6b0488635825Transfer95143982021-06-07 4:34:15103 days 10 hrs ago0x65f7fbd5e96b105b9e557894d919cb88fc84b478 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.001398
0x7c8ea5933c195cf558ff832ce5473dc9da8166805d90b8e758a19b1ebbe5b41cTransfer95140782021-06-07 4:18:15103 days 10 hrs ago0x81470db9e9bb4e411cb38cd4544d5222305ccef4 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00250602
0x5b04582e7efcf38ccc19837f63ec1cad261ba0ddd1d10e6763ce22d914c5f4b4Transfer95139552021-06-07 4:12:06103 days 10 hrs ago0x81470db9e9bb4e411cb38cd4544d5222305ccef4 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00250626
0xc9de5af85485513390c7b56f434bd12f3b2109a12cbf36d14d18785da6a162efApprove95134452021-06-07 3:46:36103 days 11 hrs ago0x81470db9e9bb4e411cb38cd4544d5222305ccef4 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00044526
0x8aca2fb35c80a1521973f77a456d3e96845c0e81f457b6b49f38c1eda48d6f99Transfer94992702021-06-06 15:57:51103 days 22 hrs ago0x65f7fbd5e96b105b9e557894d919cb88fc84b478 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00139764
0xa743894c2ea0a54edfb1ecfc3433acfa79b04c0589048b714f0c06894fd7571eTransfer94991802021-06-06 15:53:21103 days 23 hrs ago0x65f7fbd5e96b105b9e557894d919cb88fc84b478 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00139764
0xa7575c991b30eaba89103379bb41bfaa8239b56416f4317ba92964ecb37c8df0Approve94973762021-06-06 14:23:09104 days 33 mins ago0x65f7fbd5e96b105b9e557894d919cb88fc84b478 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00025326
0xb25c56626802988c3429a9d10ceda2fd021bf3ee26727169f71b20bd2e265a48Approve94973722021-06-06 14:22:57104 days 33 mins ago0x65f7fbd5e96b105b9e557894d919cb88fc84b478 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00044526
0xe7dc5738a4208b9d3c8e0082f9a4cb8c2a9f641bc3cd5e8e5ef954f38973feadExclude From Rew...94973502021-06-06 14:21:51104 days 34 mins ago0x65f7fbd5e96b105b9e557894d919cb88fc84b478 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00113433
0x4b57f0f5ce0c7dd1d18d819ad3ba71b281c79712aec71fa430036a5379ecf9ccExclude From Fee94973462021-06-06 14:21:39104 days 34 mins ago0x65f7fbd5e96b105b9e557894d919cb88fc84b478 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.0004361
0x38723958d603d7f195b7a8b000d425431421ea4c7b6bcfb969ac10146d43bf85Transfer94973232021-06-06 14:20:30104 days 35 mins ago0x65f7fbd5e96b105b9e557894d919cb88fc84b478 IN  0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB0.00105039
0xbf3cf0cc79645f4b9aafd767bcd2631a2049e90f82721ad21b5977744b9eea0c0x6101006094971562021-06-06 14:12:09104 days 44 mins ago0x65f7fbd5e96b105b9e557894d919cb88fc84b478 IN  Contract Creation0 BNB0.09401518
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xf1c718e22ae8eff8674e9c21dbf93e3564e8b2a4ec89458b8e1c0c278d66ec2295441162021-06-08 5:20:35102 days 9 hrs ago 0x56c9abb1639868e9d381b85576d8fc9c189421f7 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0xf1c718e22ae8eff8674e9c21dbf93e3564e8b2a4ec89458b8e1c0c278d66ec2295441162021-06-08 5:20:35102 days 9 hrs ago 0x56c9abb1639868e9d381b85576d8fc9c189421f7 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0xe8a3b67fc072deb5f0f4c7215c1a5435ff696d64f762e3a7ab57a66fa214af7a95441052021-06-08 5:20:02102 days 9 hrs ago 0x56c9abb1639868e9d381b85576d8fc9c189421f7 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0x160a1c60aea38cb7837baceceb2f8d78bf035690e97db6ac285a3fe4b185ed7195440162021-06-08 5:15:35102 days 9 hrs ago 0x81e21db0665ffcdae9bb026852216c14eb83b40d 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0x160a1c60aea38cb7837baceceb2f8d78bf035690e97db6ac285a3fe4b185ed7195440162021-06-08 5:15:35102 days 9 hrs ago 0x81e21db0665ffcdae9bb026852216c14eb83b40d 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0x4bb23138bcbad92fca245aca6017f144842bc3d62669b2af80266dacdaeb617095439802021-06-08 5:13:47102 days 9 hrs ago 0x81e21db0665ffcdae9bb026852216c14eb83b40d 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0x4bb23138bcbad92fca245aca6017f144842bc3d62669b2af80266dacdaeb617095439802021-06-08 5:13:47102 days 9 hrs ago 0x81e21db0665ffcdae9bb026852216c14eb83b40d 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0x2a0bcd5e3b1bbfe807a4cfc6853582572c5c026774f0e963d6a73860bec3b2e295438012021-06-08 5:04:50102 days 9 hrs ago 0x04b065d40cc77edc426f3a89f50c0ffa86a88276 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0xf8dfb7e0c9f4a927c143c319813b5e6c0e7ef968ce2bc877c67a6e454fad9ca595437932021-06-08 5:04:26102 days 9 hrs ago 0x04b065d40cc77edc426f3a89f50c0ffa86a88276 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0x257b5ae7dbd8b93215cb05d33d30d96b9f65a98bd6ffc946c9cf2474364f7cc695155282021-06-07 5:30:45103 days 9 hrs ago 0x4b54c169caee7af47f8ec4e9f5bf9dc06593fca8 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0x602ffa64cde18b7a9209d9aeeae9317a87491bb4f25343948668e9c62e2a08d895154752021-06-07 5:28:06103 days 9 hrs ago 0x4b54c169caee7af47f8ec4e9f5bf9dc06593fca8 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0xfc1244679c1d1f0dd765a5c67eba468cb1ae63f261ee0ed29375dd689af703b995154682021-06-07 5:27:45103 days 9 hrs ago 0x4b54c169caee7af47f8ec4e9f5bf9dc06593fca8 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0xc439c14a9d78fe4c14af88678477d193fe03c148f6f1540fa73a80f7bbae351b95154532021-06-07 5:27:00103 days 9 hrs ago 0x4b54c169caee7af47f8ec4e9f5bf9dc06593fca8 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0x1c28b1f4698ba92986854ef4f2a55e49d23ef5c2857a0031e41d0e0b49931ad995153352021-06-07 5:21:06103 days 9 hrs ago 0x4b54c169caee7af47f8ec4e9f5bf9dc06593fca8 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0x49bedff78ca421be9d1180f3203dd3da8dc9a2a5b115bc263bc6ea94de1e2d1895153052021-06-07 5:19:36103 days 9 hrs ago 0x4b54c169caee7af47f8ec4e9f5bf9dc06593fca8 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0x69448b0c4d40c565157a424298d892a952ddf1366503b58cf52f93e85c02bee895152832021-06-07 5:18:30103 days 9 hrs ago 0x4b54c169caee7af47f8ec4e9f5bf9dc06593fca8 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0xc5355cb9b0622980440d62d6b9eb4ecbf31d0f00a7312508c16b38420b1393a395152552021-06-07 5:17:06103 days 9 hrs ago 0x4b54c169caee7af47f8ec4e9f5bf9dc06593fca8 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0xd3fa2712a3760f50cf38e2d50a61b8252f17ef3f92057a23ea4cda5c1c0448db95152362021-06-07 5:16:09103 days 9 hrs ago 0x4b54c169caee7af47f8ec4e9f5bf9dc06593fca8 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0xb68b028fe754f73ea07dd7185d24a45a53c661814607ef64349a349c30550c6e95152182021-06-07 5:15:15103 days 9 hrs ago 0x4b54c169caee7af47f8ec4e9f5bf9dc06593fca8 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0xb7ea316cbf43e3928efb2db5a296f51c26e576ec6cf9d06705ac2be00b4eb20a95151922021-06-07 5:13:57103 days 9 hrs ago 0x4b54c169caee7af47f8ec4e9f5bf9dc06593fca8 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0x9d234a5d24a3b6c58913763851a986c7b2ce5f00491a2df29ad84f1cf32768aa95151902021-06-07 5:13:51103 days 9 hrs ago 0x4b54c169caee7af47f8ec4e9f5bf9dc06593fca8 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0x2e882374464aea7c12d6a6fb876fa90a4c1d3902d160dbad24f9c42dddbdaf1595151772021-06-07 5:13:12103 days 9 hrs ago 0x4b54c169caee7af47f8ec4e9f5bf9dc06593fca8 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0x1dcbcf067b7e07d6e762e7d96bd03d167ba56a001e561d78b83e162235b20c7295145672021-06-07 4:42:42103 days 10 hrs ago 0x4b54c169caee7af47f8ec4e9f5bf9dc06593fca8 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0x834821172bc701583698315924a14699724d95645d595899ebc058d9c4c2c3d095145602021-06-07 4:42:21103 days 10 hrs ago 0x4b54c169caee7af47f8ec4e9f5bf9dc06593fca8 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
0xaceeab9749dfca7a2c459b495854569d9f3a5b90136b149ba10ad47df71ec4db95140952021-06-07 4:19:06103 days 10 hrs ago 0xa76791d863618bd796232eda46d7da71dde1107e 0x8eed2e9a742a590b27d2c55d45054cf04cc2366f0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MoonLabToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 500 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 10 : MoonLabToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "./interfaces/IPancakeFactory.sol";
import "./interfaces/IPancakePair.sol";
import "./interfaces/IPancakeRouter01.sol";
import "./interfaces/IPancakeRouter02.sol";

contract MoonLabToken is Context, IERC20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    address public constant MKT_ADDRESS =
        0xD578614FA4a8194390233376AeA54756284A1078;
    address public constant BURN_ADDRESS =
        0x000000000000000000000000000000000000dEaD;
    mapping(address => uint256) private _rOwned;
    mapping(address => uint256) private _tOwned;
    mapping(address => mapping(address => uint256)) private _allowances;

    mapping(address => bool) private _isExcludedFromFee;

    mapping(address => bool) private _isExcluded;
    address[] private _excluded;

    string private _name = "Moon Lab";
    string private _symbol = "MLAB";
    uint8 private _decimals = 9;

    uint256 public _taxFee = 3;
    uint256 private _previousTaxFee = _taxFee;

    uint256 public _liquidityFee = 3;
    uint256 private _previousLiquidityFee = _liquidityFee;

    uint256 public _mktFee = 1;
    uint256 private _previousMktFee = _mktFee;

    uint256 public _burnFee = 3;
    uint256 private _previousBurnFee = _burnFee;

    uint256 private constant MAX = ~uint256(0);
    uint256 private _tTotal = 1000000000 * 10**6 * 10**9;

    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;

    // Pancake router
    IPancakeRouter02 public immutable pancakeSwapRouter;
    address public immutable pancakeSwapPair;

    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = true;
    uint256 public _maxTxAmount = _tTotal.mul(3).div(10**3);
    uint256 private minTokenNumberToSell = _tTotal.mul(3).div(10**3);

    event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );

    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    constructor() {
        _rOwned[_msgSender()] = _rTotal;

        // Pancake router v2
        IPancakeRouter02 _pancakeSwapRouter =
            IPancakeRouter02(0xD99D1c33F9fC3444f8101754aBC46c52416550D1);
        // Create a pancake pair for this new token
        pancakeSwapPair = IPancakeFactory(_pancakeSwapRouter.factory())
            .createPair(address(this), _pancakeSwapRouter.WETH());

        // set the rest of the contract variables
        pancakeSwapRouter = _pancakeSwapRouter;

        //exclude owner and this contract from fee
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;

        emit Transfer(address(0), _msgSender(), _tTotal);
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public view returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        if (_isExcluded[account]) return _tOwned[account];
        return tokenFromReflection(_rOwned[account]);
    }

    function transfer(address recipient, uint256 amount)
        public
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender)
        public
        view
        override
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount)
        public
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].add(addedValue)
        );
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "ERC20: decreased allowance below zero"
            )
        );
        return true;
    }

    function isExcludedFromReward(address account) public view returns (bool) {
        return _isExcluded[account];
    }

    function totalFees() public view returns (uint256) {
        return _tFeeTotal;
    }

    function deliver(uint256 tAmount) public {
        address sender = _msgSender();
        require(
            !_isExcluded[sender],
            "Excluded addresses cannot call this function"
        );
        (uint256 rAmount, , , , , ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rTotal = _rTotal.sub(rAmount);
        _tFeeTotal = _tFeeTotal.add(tAmount);
    }

    function reflectionFromToken(uint256 tAmount, bool deductTransferFee)
        public
        view
        returns (uint256)
    {
        require(tAmount <= _tTotal, "Amount must be less than supply");
        if (!deductTransferFee) {
            (uint256 rAmount, , , , , ) = _getValues(tAmount);
            return rAmount;
        } else {
            (, uint256 rTransferAmount, , , , ) = _getValues(tAmount);
            return rTransferAmount;
        }
    }

    function tokenFromReflection(uint256 rAmount)
        public
        view
        returns (uint256)
    {
        require(
            rAmount <= _rTotal,
            "Amount must be less than total reflections"
        );
        uint256 currentRate = _getRate();
        return rAmount.div(currentRate);
    }

    function excludeFromReward(address account) public onlyOwner() {
        require(!_isExcluded[account], "Account is already excluded");
        if (_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcluded[account] = true;
        _excluded.push(account);
    }

    function includeInReward(address account) external onlyOwner() {
        require(_isExcluded[account], "Account is already excluded");
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_excluded[i] == account) {
                _excluded[i] = _excluded[_excluded.length - 1];
                _tOwned[account] = 0;
                _isExcluded[account] = false;
                _excluded.pop();
                break;
            }
        }
    }

    function _transferBothExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function excludeFromFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = true;
    }

    function includeInFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = false;
    }

    function setTaxFeePercent(uint256 taxFee) external onlyOwner() {
        _taxFee = taxFee;
    }

    function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() {
        _liquidityFee = liquidityFee;
    }

    function setMarketingFeePercent(uint256 mktFee) external onlyOwner() {
        _mktFee = mktFee;
    }

    function setBurnFeePercent(uint256 burnFee) public onlyOwner() {
        _burnFee = burnFee;
    }

    function setMaxTxPercent(uint256 maxTxPercent) external onlyOwner() {
        _maxTxAmount = _tTotal.mul(maxTxPercent).div(10**3);
    }

    function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }

    // to recieve ETH from pancake router when swaping
    receive() external payable {}

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

    function _getValues(uint256 tAmount)
        private
        view
        returns (
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) =
            _getTValues(tAmount);
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) =
            _getRValues(tAmount, tFee, tLiquidity, _getRate());
        return (
            rAmount,
            rTransferAmount,
            rFee,
            tTransferAmount,
            tFee,
            tLiquidity
        );
    }

    function _getTValues(uint256 tAmount)
        private
        view
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 tFee = calculateTaxFee(tAmount);
        uint256 tLiquidity = calculateLiquidityFee(tAmount);
        uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity);
        return (tTransferAmount, tFee, tLiquidity);
    }

    function _getRValues(
        uint256 tAmount,
        uint256 tFee,
        uint256 tLiquidity,
        uint256 currentRate
    )
        private
        pure
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity);
        return (rAmount, rTransferAmount, rFee);
    }

    function _getRate() private view returns (uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _getCurrentSupply() private view returns (uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (
                _rOwned[_excluded[i]] > rSupply ||
                _tOwned[_excluded[i]] > tSupply
            ) return (_rTotal, _tTotal);
            rSupply = rSupply.sub(_rOwned[_excluded[i]]);
            tSupply = tSupply.sub(_tOwned[_excluded[i]]);
        }
        if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }

    function _takeLiquidity(uint256 tLiquidity) private {
        uint256 currentRate = _getRate();
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity);
        if (_isExcluded[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity);
    }

    function calculateTaxFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_taxFee).div(10**2);
    }

    function calculateLiquidityFee(uint256 _amount)
        private
        view
        returns (uint256)
    {
        return _amount.mul(_liquidityFee).div(10**2);
    }

    function removeAllFee() private {
        if (_taxFee == 0 && _liquidityFee == 0 && _previousMktFee == 0) return;

        _previousTaxFee = _taxFee;
        _previousLiquidityFee = _liquidityFee;
        _previousMktFee = _mktFee;
        _previousBurnFee = _burnFee;

        _taxFee = 0;
        _liquidityFee = 0;
        _mktFee = 0;
        _burnFee = 0;
    }

    function restoreAllFee() private {
        _taxFee = _previousTaxFee;
        _liquidityFee = _previousLiquidityFee;
        _mktFee = _previousMktFee;
        _burnFee = _previousBurnFee;
    }

    function isExcludedFromFee(address account) public view returns (bool) {
        return _isExcludedFromFee[account];
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) private {
        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);
    }

    function ensureMaxTxAmount(
        address from,
        address to,
        uint256 amount
    ) private view {
        if (
            from != owner() &&
            to != owner() &&
            to != address(0) &&
            to != address(0x000000000000000000000000000000000000dEaD)
        ) {
            require(
                amount <= _maxTxAmount,
                "Transfer amount exceeds the maxTxAmount."
            );
        }
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");

        ensureMaxTxAmount(from, to, amount);

        // is the token balance of this contract address over the min number of
        // tokens that we need to initiate a swap + liquidity lock?
        // also, don't get caught in a circular liquidity event.
        // also, don't swap & liquify if sender is pancake pair.
        uint256 contractTokenBalance = balanceOf(address(this));
        if (contractTokenBalance >= _maxTxAmount) {
            contractTokenBalance = _maxTxAmount;
        }

        bool overMinTokenBalance = contractTokenBalance >= minTokenNumberToSell;
        if (
            overMinTokenBalance &&
            !inSwapAndLiquify &&
            from != pancakeSwapPair &&
            swapAndLiquifyEnabled
        ) {
            contractTokenBalance = minTokenNumberToSell;
            //add liquidity
            swapAndLiquify(contractTokenBalance);
        }

        //indicates if fee should be deducted from transfer
        bool takeFee = true;

        //if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) {
            takeFee = false;
        }

        //transfer amount, it will take tax, burn, liquidity fee
        _tokenTransfer(from, to, amount, takeFee);
    }

    function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
        // split the contract balance into halves
        uint256 half = contractTokenBalance.div(2);
        uint256 otherHalf = contractTokenBalance.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); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered

        // how much ETH did we just swap into?
        uint256 newBalance = address(this).balance.sub(initialBalance);

        // add liquidity to uniswap
        addLiquidity(otherHalf, newBalance);

        emit SwapAndLiquify(half, newBalance, otherHalf);
    }

    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] = pancakeSwapRouter.WETH();

        _approve(address(this), address(pancakeSwapRouter), tokenAmount);

        // make the swap
        pancakeSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(pancakeSwapRouter), tokenAmount);

        // add the liquidity
        pancakeSwapRouter.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            owner(),
            block.timestamp
        );
    }

    function _tokenTransfer(
        address sender,
        address recipient,
        uint256 amount
    ) private {
        if (_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferFromExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && _isExcluded[recipient]) {
            _transferToExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferStandard(sender, recipient, amount);
        } else if (_isExcluded[sender] && _isExcluded[recipient]) {
            _transferBothExcluded(sender, recipient, amount);
        } else {
            _transferStandard(sender, recipient, amount);
        }
    }

    function _tokenTransfer(
        address sender,
        address recipient,
        uint256 amount,
        bool takeFee
    ) private {
        if (!takeFee) removeAllFee();

        // Calulate burn fee & marketing fee
        uint256 burnAmount = amount.mul(_burnFee).div(10**2);
        uint256 mktAmount = amount.mul(_mktFee).div(10**2);
        uint256 transferAmount = amount.sub(burnAmount).sub(mktAmount);
        require(
            amount == transferAmount + burnAmount + mktAmount,
            "Invalid transfer marketing and burn fee"
        );
        if (burnAmount > 0) _tokenTransfer(sender, BURN_ADDRESS, burnAmount);
        if (mktAmount > 0) _tokenTransfer(sender, MKT_ADDRESS, mktAmount);
        _tokenTransfer(sender, recipient, transferAmount);

        if (!takeFee) restoreAllFee();
    }

    function _transferStandard(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferToExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferFromExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }
}

File 2 of 10 : IPancakeFactory.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IPancakeFactory {
    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 3 of 10 : IPancakePair.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IPancakePair {
    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 4 of 10 : IPancakeRouter01.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IPancakeRouter01 {
    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);
}

File 5 of 10 : IPancakeRouter02.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import './IPancakeRouter01.sol';

interface IPancakeRouter02 is IPancakeRouter01 {
    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 6 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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 7 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 8 of 10 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 9 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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 10 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. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * 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;
        }
    }
}

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

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":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","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":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","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"},{"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MKT_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_burnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mktFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxFee","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","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":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"pancakeSwapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pancakeSwapRouter","outputs":[{"internalType":"contract IPancakeRouter02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"burnFee","type":"uint256"}],"name":"setBurnFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"setLiquidityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mktFee","type":"uint256"}],"name":"setMarketingFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxPercent","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFee","type":"uint256"}],"name":"setTaxFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"stateMutability":"payable","type":"receive"}]

610100604052600860c08190526726b7b7b7102630b160c11b60e09081526200002c91600791906200041c565b506040805180820190915260048082526326a620a160e11b60209092019182526200005a916008916200041c565b506009805460ff1916811790556003600a819055600b819055600c819055600d8190556001600e819055600f55601081905560115569d3c21bcecceda10000006012819055620000ad906000196200057b565b620000bb9060001962000524565b6013556015805461010061ff001990911617905560125462000108906103e890620000f4906003620003f9602090811b620013e717901c565b6200040e60201b620013f31790919060201c565b6016556200012f6103e8620000f46003601254620003f960201b620013e71790919060201c565b6017553480156200013f57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506013543360009081526001602090815260409182902092909255805163c45a015560e01b8152905173d99d1c33f9fc3444f8101754abc46c52416550d192839263c45a01559260048083019392829003018186803b158015620001e357600080fd5b505afa158015620001f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021e9190620004c2565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200026757600080fd5b505afa1580156200027c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a29190620004c2565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620002eb57600080fd5b505af115801562000300573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003269190620004c2565b6001600160601b0319606091821b811660a0529082901b166080526001600460006200035a6000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526004909252902080549091166001179055620003a23390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef601254604051620003ea91815260200190565b60405180910390a350620005be565b600062000407828462000502565b9392505050565b6000620004078284620004eb565b8280546200042a906200053e565b90600052602060002090601f0160209004810192826200044e576000855562000499565b82601f106200046957805160ff191683800117855562000499565b8280016001018555821562000499579182015b82811115620004995782518255916020019190600101906200047c565b50620004a7929150620004ab565b5090565b5b80821115620004a75760008155600101620004ac565b600060208284031215620004d4578081fd5b81516001600160a01b038116811462000407578182fd5b600082620004fd57620004fd620005a8565b500490565b60008160001904831182151516156200051f576200051f62000592565b500290565b60008282101562000539576200053962000592565b500390565b600181811c908216806200055357607f821691505b602082108114156200057557634e487b7160e01b600052602260045260246000fd5b50919050565b6000826200058d576200058d620005a8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b60805160601c60a05160601c6128d56200061460003960008181610432015261169101526000818161032e01528181611d5001528181611e2601528181611e6201528181611ed40152611efb01526128d56000f3fe60806040526004361061023f5760003560e01c80636a4874d61161012e578063a9059cbb116100ab578063dd62ed3e1161006f578063dd62ed3e146106e5578063ea2f0b371461072b578063f2fde38b1461074b578063fad8c39e1461076b578063fccc28131461079357600080fd5b8063a9059cbb1461064f578063c0b0fda21461066f578063c49b9a8014610685578063cea26958146106a5578063d543dbeb146106c557600080fd5b806388f82020116100f257806388f82020146105a35780638da5cb5b146105dc5780638ee88c53146105fa57806395d89b411461061a578063a457c2d71461062f57600080fd5b80636a4874d61461052c5780636bc87c3a1461054257806370a0823114610558578063715018a6146105785780637d1db4a51461058d57600080fd5b806339509351116101bc5780634549b039116101805780634549b03914610474578063457c194c146104945780634a74bb02146104b457806352390c02146104d35780635342acb4146104f357600080fd5b806339509351146103ca5780633b124fe7146103ea5780633bd5d17314610400578063429494f214610420578063437823ec1461045457600080fd5b806323b872dd1161020357806323b872dd146102fc578063245589951461031c5780632d83811914610368578063313ce567146103885780633685d419146103aa57600080fd5b8063061c82d01461024b57806306fdde031461026d578063095ea7b31461029857806313114a9d146102c857806318160ddd146102e757600080fd5b3661024657005b600080fd5b34801561025757600080fd5b5061026b61026636600461260d565b6107a9565b005b34801561027957600080fd5b506102826107fb565b60405161028f919061267d565b60405180910390f35b3480156102a457600080fd5b506102b86102b33660046125c8565b61088d565b604051901515815260200161028f565b3480156102d457600080fd5b506014545b60405190815260200161028f565b3480156102f357600080fd5b506012546102d9565b34801561030857600080fd5b506102b8610317366004612588565b6108a4565b34801561032857600080fd5b506103507f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161028f565b34801561037457600080fd5b506102d961038336600461260d565b61090d565b34801561039457600080fd5b5060095460405160ff909116815260200161028f565b3480156103b657600080fd5b5061026b6103c5366004612518565b610991565b3480156103d657600080fd5b506102b86103e53660046125c8565b610b9e565b3480156103f657600080fd5b506102d9600a5481565b34801561040c57600080fd5b5061026b61041b36600461260d565b610bd4565b34801561042c57600080fd5b506103507f000000000000000000000000000000000000000000000000000000000000000081565b34801561046057600080fd5b5061026b61046f366004612518565b610cbe565b34801561048057600080fd5b506102d961048f366004612625565b610d2a565b3480156104a057600080fd5b5061026b6104af36600461260d565b610db7565b3480156104c057600080fd5b506015546102b890610100900460ff1681565b3480156104df57600080fd5b5061026b6104ee366004612518565b610e04565b3480156104ff57600080fd5b506102b861050e366004612518565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561053857600080fd5b506102d9600e5481565b34801561054e57600080fd5b506102d9600c5481565b34801561056457600080fd5b506102d9610573366004612518565b610f75565b34801561058457600080fd5b5061026b610fd4565b34801561059957600080fd5b506102d960165481565b3480156105af57600080fd5b506102b86105be366004612518565b6001600160a01b031660009081526005602052604090205460ff1690565b3480156105e857600080fd5b506000546001600160a01b0316610350565b34801561060657600080fd5b5061026b61061536600461260d565b611066565b34801561062657600080fd5b506102826110b3565b34801561063b57600080fd5b506102b861064a3660046125c8565b6110c2565b34801561065b57600080fd5b506102b861066a3660046125c8565b611111565b34801561067b57600080fd5b506102d960105481565b34801561069157600080fd5b5061026b6106a03660046125f3565b61111e565b3480156106b157600080fd5b5061026b6106c036600461260d565b6111ba565b3480156106d157600080fd5b5061026b6106e036600461260d565b611207565b3480156106f157600080fd5b506102d9610700366004612550565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b34801561073757600080fd5b5061026b610746366004612518565b611276565b34801561075757600080fd5b5061026b610766366004612518565b6112df565b34801561077757600080fd5b5061035073d578614fa4a8194390233376aea54756284a107881565b34801561079f57600080fd5b5061035061dead81565b6000546001600160a01b031633146107f65760405162461bcd60e51b8152602060048201819052602482015260008051602061285b83398151915260448201526064015b60405180910390fd5b600a55565b60606007805461080a906127ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610836906127ae565b80156108835780601f1061085857610100808354040283529160200191610883565b820191906000526020600020905b81548152906001019060200180831161086657829003601f168201915b5050505050905090565b600061089a3384846113ff565b5060015b92915050565b60006108b1848484611523565b61090384336108fe85604051806060016040528060288152602001612833602891396001600160a01b038a166000908152600360209081526040808320338452909152902054919061174b565b6113ff565b5060019392505050565b60006013548211156109745760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016107ed565b600061097e611777565b905061098a83826113f3565b9392505050565b6000546001600160a01b031633146109d95760405162461bcd60e51b8152602060048201819052602482015260008051602061285b83398151915260448201526064016107ed565b6001600160a01b03811660009081526005602052604090205460ff16610a415760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016107ed565b60005b600654811015610b9a57816001600160a01b031660068281548110610a7957634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610b885760068054610aa490600190612797565b81548110610ac257634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600680546001600160a01b039092169183908110610afc57634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600590925220805460ff191690556006805480610b6257634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610b92816127e9565b915050610a44565b5050565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909161089a9185906108fe908661179a565b3360008181526005602052604090205460ff1615610c495760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b60648201526084016107ed565b6000610c54836117a6565b505050506001600160a01b038416600090815260016020526040902054919250610c80919050826117f5565b6001600160a01b038316600090815260016020526040902055601354610ca690826117f5565b601355601454610cb6908461179a565b601455505050565b6000546001600160a01b03163314610d065760405162461bcd60e51b8152602060048201819052602482015260008051602061285b83398151915260448201526064016107ed565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b6000601254831115610d7e5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c790060448201526064016107ed565b81610d9d576000610d8e846117a6565b5093955061089e945050505050565b6000610da8846117a6565b5092955061089e945050505050565b6000546001600160a01b03163314610dff5760405162461bcd60e51b8152602060048201819052602482015260008051602061285b83398151915260448201526064016107ed565b600e55565b6000546001600160a01b03163314610e4c5760405162461bcd60e51b8152602060048201819052602482015260008051602061285b83398151915260448201526064016107ed565b6001600160a01b03811660009081526005602052604090205460ff1615610eb55760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016107ed565b6001600160a01b03811660009081526001602052604090205415610f0f576001600160a01b038116600090815260016020526040902054610ef59061090d565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6001600160a01b03811660009081526005602052604081205460ff1615610fb257506001600160a01b031660009081526002602052604090205490565b6001600160a01b03821660009081526001602052604090205461089e9061090d565b6000546001600160a01b0316331461101c5760405162461bcd60e51b8152602060048201819052602482015260008051602061285b83398151915260448201526064016107ed565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146110ae5760405162461bcd60e51b8152602060048201819052602482015260008051602061285b83398151915260448201526064016107ed565b600c55565b60606008805461080a906127ae565b600061089a33846108fe8560405180606001604052806025815260200161287b602591393360009081526003602090815260408083206001600160a01b038d168452909152902054919061174b565b600061089a338484611523565b6000546001600160a01b031633146111665760405162461bcd60e51b8152602060048201819052602482015260008051602061285b83398151915260448201526064016107ed565b601580548215156101000261ff00199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906111af90831515815260200190565b60405180910390a150565b6000546001600160a01b031633146112025760405162461bcd60e51b8152602060048201819052602482015260008051602061285b83398151915260448201526064016107ed565b601055565b6000546001600160a01b0316331461124f5760405162461bcd60e51b8152602060048201819052602482015260008051602061285b83398151915260448201526064016107ed565b6112706103e861126a836012546113e790919063ffffffff16565b906113f3565b60165550565b6000546001600160a01b031633146112be5760405162461bcd60e51b8152602060048201819052602482015260008051602061285b83398151915260448201526064016107ed565b6001600160a01b03166000908152600460205260409020805460ff19169055565b6000546001600160a01b031633146113275760405162461bcd60e51b8152602060048201819052602482015260008051602061285b83398151915260448201526064016107ed565b6001600160a01b03811661138c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ed565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600061098a8284612778565b600061098a8284612758565b6001600160a01b0383166114615760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107ed565b6001600160a01b0382166114c25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107ed565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166115875760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107ed565b6001600160a01b0382166115e95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107ed565b6000811161164b5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016107ed565b611656838383611801565b600061166130610f75565b9050601654811061167157506016545b60175481108015908190611688575060155460ff16155b80156116c657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b80156116d95750601554610100900460ff165b156116ec5760175491506116ec826118c5565b6001600160a01b03851660009081526004602052604090205460019060ff168061172e57506001600160a01b03851660009081526004602052604090205460ff165b15611737575060005b61174386868684611963565b505050505050565b6000818484111561176f5760405162461bcd60e51b81526004016107ed919061267d565b505050900390565b6000806000611784611aa5565b909250905061179382826113f3565b9250505090565b600061098a8284612740565b60008060008060008060008060006117bd8a611c5f565b92509250925060008060006117db8d86866117d6611777565b611c9b565b919f909e50909c50959a5093985091965092945050505050565b600061098a8284612797565b6000546001600160a01b0384811691161480159061182d57506000546001600160a01b03838116911614155b801561184157506001600160a01b03821615155b801561185857506001600160a01b03821661dead14155b156118c0576016548111156118c05760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016107ed565b505050565b6015805460ff1916600117905560006118df8260026113f3565b905060006118ed83836117f5565b9050476118f983611ceb565b600061190547836117f5565b90506119118382611ece565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506015805460ff19169055505050565b8061197057611970611ffb565b600061198c606461126a601054866113e790919063ffffffff16565b905060006119aa606461126a600e54876113e790919063ffffffff16565b905060006119c2826119bc87866117f5565b906117f5565b9050816119cf8483612740565b6119d99190612740565b8514611a375760405162461bcd60e51b815260206004820152602760248201527f496e76616c6964207472616e73666572206d61726b6574696e6720616e64206260448201526675726e2066656560c81b60648201526084016107ed565b8215611a4a57611a4a8761dead8561204a565b8115611a6f57611a6f8773d578614fa4a8194390233376aea54756284a10788461204a565b611a7a87878361204a565b83611a9c57611a9c600b54600a55600d54600c55600f54600e55601154601055565b50505050505050565b6013546012546000918291825b600654811015611c2f57826001600060068481548110611ae257634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611b5b5750816002600060068481548110611b3457634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611b7157601354601254945094505050509091565b611bc56001600060068481548110611b9957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906117f5565b9250611c1b6002600060068481548110611bef57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906117f5565b915080611c27816127e9565b915050611ab2565b50601254601354611c3f916113f3565b821015611c56576013546012549350935050509091565b90939092509050565b600080600080611c6e85612199565b90506000611c7b866121b5565b90506000611c8d826119bc89866117f5565b979296509094509092505050565b6000808080611caa88866113e7565b90506000611cb888876113e7565b90506000611cc688886113e7565b90506000611cd8826119bc86866117f5565b939b939a50919850919650505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611d2e57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611da757600080fd5b505afa158015611dbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ddf9190612534565b81600181518110611e0057634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b031681525050611e4b307f0000000000000000000000000000000000000000000000000000000000000000846113ff565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611ea09085906000908690309042906004016126d0565b600060405180830381600087803b158015611eba57600080fd5b505af1158015611743573d6000803e3d6000fd5b611ef9307f0000000000000000000000000000000000000000000000000000000000000000846113ff565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d719823085600080611f406000546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015611fbb57600080fd5b505af1158015611fcf573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611ff49190612650565b5050505050565b600a5415801561200b5750600c54155b80156120175750600f54155b1561201e57565b600a8054600b55600c8054600d55600e8054600f55601080546011556000938490559183905582905555565b6001600160a01b03831660009081526005602052604090205460ff16801561208b57506001600160a01b03821660009081526005602052604090205460ff16155b1561209b576118c08383836121d1565b6001600160a01b03831660009081526005602052604090205460ff161580156120dc57506001600160a01b03821660009081526005602052604090205460ff165b156120ec576118c08383836122f7565b6001600160a01b03831660009081526005602052604090205460ff1615801561212e57506001600160a01b03821660009081526005602052604090205460ff16155b1561213e576118c08383836123a0565b6001600160a01b03831660009081526005602052604090205460ff16801561217e57506001600160a01b03821660009081526005602052604090205460ff165b1561218e576118c08383836123e4565b6118c08383836123a0565b600061089e606461126a600a54856113e790919063ffffffff16565b600061089e606461126a600c54856113e790919063ffffffff16565b6000806000806000806121e3876117a6565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061221590886117f5565b6001600160a01b038a1660009081526002602090815260408083209390935560019052205461224490876117f5565b6001600160a01b03808b1660009081526001602052604080822093909355908a1681522054612273908661179a565b6001600160a01b03891660009081526001602052604090205561229581612457565b61229f84836124df565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516122e491815260200190565b60405180910390a3505050505050505050565b600080600080600080612309876117a6565b6001600160a01b038f16600090815260016020526040902054959b5093995091975095509350915061233b90876117f5565b6001600160a01b03808b16600090815260016020908152604080832094909455918b16815260029091522054612371908461179a565b6001600160a01b038916600090815260026020908152604080832093909355600190522054612273908661179a565b6000806000806000806123b2876117a6565b6001600160a01b038f16600090815260016020526040902054959b5093995091975095509350915061224490876117f5565b6000806000806000806123f6876117a6565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061242890886117f5565b6001600160a01b038a1660009081526002602090815260408083209390935560019052205461233b90876117f5565b6000612461611777565b9050600061246f83836113e7565b3060009081526001602052604090205490915061248c908261179a565b3060009081526001602090815260408083209390935560059052205460ff16156118c057306000908152600260205260409020546124ca908461179a565b30600090815260026020526040902055505050565b6013546124ec90836117f5565b6013556014546124fc908261179a565b6014555050565b8035801515811461251357600080fd5b919050565b600060208284031215612529578081fd5b813561098a8161281a565b600060208284031215612545578081fd5b815161098a8161281a565b60008060408385031215612562578081fd5b823561256d8161281a565b9150602083013561257d8161281a565b809150509250929050565b60008060006060848603121561259c578081fd5b83356125a78161281a565b925060208401356125b78161281a565b929592945050506040919091013590565b600080604083850312156125da578182fd5b82356125e58161281a565b946020939093013593505050565b600060208284031215612604578081fd5b61098a82612503565b60006020828403121561261e578081fd5b5035919050565b60008060408385031215612637578182fd5b8235915061264760208401612503565b90509250929050565b600080600060608486031215612664578283fd5b8351925060208401519150604084015190509250925092565b6000602080835283518082850152825b818110156126a95785810183015185820160400152820161268d565b818111156126ba5783604083870101525b50601f01601f1916929092016040019392505050565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b8181101561271f5784516001600160a01b0316835293830193918301916001016126fa565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561275357612753612804565b500190565b60008261277357634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561279257612792612804565b500290565b6000828210156127a9576127a9612804565b500390565b600181811c908216806127c257607f821691505b602082108114156127e357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156127fd576127fd612804565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461282f57600080fd5b5056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b9f4cea08bc962a8973d983b0317a08b925ed5594bc9fb8e8c652d20555b649864736f6c63430008040033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading