Contract 0x8a5a76401ada8998603d982d8343752fec75972b

Contract Overview

Balance:
0 BNB
Txn Hash
Block
From
To
Value [Txn Fee]
0xba9f0584536ad5ff188e06e8fdec4c1335dcadadfbdfbd88adf6318baaf40d3899409422021-06-22 0:02:463 days 6 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00031407
0xee038034eaf1fa89b7e4d3bcd9f884841bfc4c785a3af7f7fabf9a07353f09d299314052021-06-21 16:05:553 days 14 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00031407
0xc3ab2181e823f391add85972a0734d161322f4b28a72325fab9849596b03063199217672021-06-21 8:04:013 days 22 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00031407
0x5ce8b86035045485880d88159d616266b279a1b21ca2be16bbda8908a017171999121722021-06-21 0:04:164 days 6 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00031407
0x66b85393d3dabb22118c02460bb9031d7058ea066061c3bcacc46e47086f428f99121472021-06-21 0:03:014 days 6 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.0002943
0x44e7ec8423fb468244b9130a414bf9e035fcc83f2c519dd2b5a16764dd0fc16f99121422021-06-21 0:02:464 days 6 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.0002943
0xbc0df69e52ad4bff895a278cb04ba2635f783fbffebd0075039deab1585f3c8b99025672021-06-20 16:04:014 days 14 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00031407
0xed04369af2be62b3dacc0abacfd715007962c6e98e1f66590161a18cc8dffa9498929572021-06-20 8:03:314 days 22 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00031407
0x370704d6320cc12e6c1bb056f59cd53c4c57630e18efe6ddae6f91d067bbac6f98833702021-06-20 0:04:105 days 6 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00031407
0xcf354472c895d93190c21bb329aa9ee3227d60ac578b8e29ab8a717e85668bb098737702021-06-19 16:04:105 days 14 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00031407
0x60ab3b751b1b2b1407b20549bfc9d70f4b31a3a181a6afda6ae730b32848816898641672021-06-19 8:04:015 days 22 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00031407
0xa98df9be8107d4c025848914765c4769717712fa367095960d695350d5e4766398545702021-06-19 0:04:106 days 6 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00031407
0x9ad8e482ac4a4dd8fb1b5bf81cae146da65328028e5e8996aa5ecd57c1c98efd98449822021-06-18 16:04:466 days 14 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00031419
0x1c7ece25a8f2e9f8e0853295e90de77f82e838670e7c794f1b5cd782a79c087f98353772021-06-18 8:04:316 days 22 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00031395
0x54e4c4f6c3addc458edbbed53f236df166734f434ad571253c59dc9919bd287698164452021-06-17 16:17:557 days 13 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00031395
0x668bdb80e810ef68054717f1e2e567ad9d7ad92ee1d35071476b339d4c99a4df98163702021-06-17 16:14:107 days 14 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00046311
0xbdac714ba0e98d7f9c172ac86e4a8a4d87468465a681d4a7fb970ec796a8a25998163272021-06-17 16:12:017 days 14 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00046311
0x8969e815f55d5c765015f210bbd37c9d2b5effa96b2ccfb6f5d813f5f10be4c398162802021-06-17 16:09:407 days 14 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00046311
0xd98d6b60c99d7f49df2c350c6485c714730eca91113b7b4b746f8da50c4f87ac98162362021-06-17 16:07:287 days 14 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00046311
0x38bc85b0eec8fb92075f7468abf0fbd465845acdf0b1c67b4a8e21a7ecfab2d898162282021-06-17 16:07:047 days 14 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00046311
0x3e1335445745fc670dd83d99be4db997174058ca61f6a863d44ca507c162709298162222021-06-17 16:06:467 days 14 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00046311
0x1bdaa4101cbd7ef1e06a29c7ca4f394bd77b21a5503249f669abd330bceb7dd798162152021-06-17 16:06:257 days 14 hrs ago0x1c594c7a6cec048aa3eae163daff54f35cde3ce2 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.00046311
0xe72ffdb8bdb7b6a95d0998852692a80dc752040039868177850fabc75edf536398117502021-06-17 12:23:107 days 17 hrs ago0x281f47e30490e4c8638e8ccffcfb2e547881bae7 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.0004443
0x84b7672efc823ad7cde609848d6a15681987ca601873b3dad1edb5f54e6b822a98117482021-06-17 12:23:047 days 17 hrs ago0x281f47e30490e4c8638e8ccffcfb2e547881bae7 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.0004443
0xdcc92880c3ae2a4b418b19be6e61ca1904328effbc90dda9c6d2e25506c74c2298117462021-06-17 12:22:587 days 17 hrs ago0x281f47e30490e4c8638e8ccffcfb2e547881bae7 IN  0x8a5a76401ada8998603d982d8343752fec75972b0 BNB0.0004443
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xfe7e7c0f56fa2f338b0ad10d29f53a6434413ffb34b73d259f2d89ffd5e9e16699480902021-06-22 6:00:103 days 16 mins ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xfe7e7c0f56fa2f338b0ad10d29f53a6434413ffb34b73d259f2d89ffd5e9e16699480902021-06-22 6:00:103 days 16 mins ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xfe7e7c0f56fa2f338b0ad10d29f53a6434413ffb34b73d259f2d89ffd5e9e16699480902021-06-22 6:00:103 days 16 mins ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xfe7e7c0f56fa2f338b0ad10d29f53a6434413ffb34b73d259f2d89ffd5e9e16699480902021-06-22 6:00:103 days 16 mins ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xfe7e7c0f56fa2f338b0ad10d29f53a6434413ffb34b73d259f2d89ffd5e9e16699480902021-06-22 6:00:103 days 16 mins ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xfe7e7c0f56fa2f338b0ad10d29f53a6434413ffb34b73d259f2d89ffd5e9e16699480902021-06-22 6:00:103 days 16 mins ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xfe7e7c0f56fa2f338b0ad10d29f53a6434413ffb34b73d259f2d89ffd5e9e16699480902021-06-22 6:00:103 days 16 mins ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xfe7e7c0f56fa2f338b0ad10d29f53a6434413ffb34b73d259f2d89ffd5e9e16699480902021-06-22 6:00:103 days 16 mins ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xfe7e7c0f56fa2f338b0ad10d29f53a6434413ffb34b73d259f2d89ffd5e9e16699480902021-06-22 6:00:103 days 16 mins ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xfe7e7c0f56fa2f338b0ad10d29f53a6434413ffb34b73d259f2d89ffd5e9e16699480902021-06-22 6:00:103 days 16 mins ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xfe7e7c0f56fa2f338b0ad10d29f53a6434413ffb34b73d259f2d89ffd5e9e16699480902021-06-22 6:00:103 days 16 mins ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xfe7e7c0f56fa2f338b0ad10d29f53a6434413ffb34b73d259f2d89ffd5e9e16699480902021-06-22 6:00:103 days 16 mins ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xfe7e7c0f56fa2f338b0ad10d29f53a6434413ffb34b73d259f2d89ffd5e9e16699480902021-06-22 6:00:103 days 16 mins ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xca407dcdaf09d2c6abda00a83bb19f3f3594080ab5f7e3026d297d19da5e46d299468902021-06-22 5:00:103 days 1 hr ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xca407dcdaf09d2c6abda00a83bb19f3f3594080ab5f7e3026d297d19da5e46d299468902021-06-22 5:00:103 days 1 hr ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xca407dcdaf09d2c6abda00a83bb19f3f3594080ab5f7e3026d297d19da5e46d299468902021-06-22 5:00:103 days 1 hr ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xca407dcdaf09d2c6abda00a83bb19f3f3594080ab5f7e3026d297d19da5e46d299468902021-06-22 5:00:103 days 1 hr ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xca407dcdaf09d2c6abda00a83bb19f3f3594080ab5f7e3026d297d19da5e46d299468902021-06-22 5:00:103 days 1 hr ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xca407dcdaf09d2c6abda00a83bb19f3f3594080ab5f7e3026d297d19da5e46d299468902021-06-22 5:00:103 days 1 hr ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xca407dcdaf09d2c6abda00a83bb19f3f3594080ab5f7e3026d297d19da5e46d299468902021-06-22 5:00:103 days 1 hr ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xca407dcdaf09d2c6abda00a83bb19f3f3594080ab5f7e3026d297d19da5e46d299468902021-06-22 5:00:103 days 1 hr ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xca407dcdaf09d2c6abda00a83bb19f3f3594080ab5f7e3026d297d19da5e46d299468902021-06-22 5:00:103 days 1 hr ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xca407dcdaf09d2c6abda00a83bb19f3f3594080ab5f7e3026d297d19da5e46d299468902021-06-22 5:00:103 days 1 hr ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xca407dcdaf09d2c6abda00a83bb19f3f3594080ab5f7e3026d297d19da5e46d299468902021-06-22 5:00:103 days 1 hr ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
0xca407dcdaf09d2c6abda00a83bb19f3f3594080ab5f7e3026d297d19da5e46d299468902021-06-22 5:00:103 days 1 hr ago 0x4d751991267545db23f5b8f7bad4cc975b1f5351 0x8a5a76401ada8998603d982d8343752fec75972b0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DeFiToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 8 : DeFiToken.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import "./libs/BEP20.sol";
import "./libs/SafeBEP20.sol";

// DeFiToken.
contract DeFiToken is BEP20 {
    using SafeBEP20 for IBEP20;
    // Transfer tax rate in basis points. (default 8%)
    uint16 public transferTaxRate = 800;
    // Max transfer tax rate: 10%.
    uint16 public constant MAXIMUM_TRANSFER_TAX_RATE = 1000;
    // Max transfer block rate: 20 blocks ~ 1 hour between EMMENTAL token transfers
    uint16 public constant MAXIMUM_TRANSFER_BLOCK_RATE = 20;
    // Dead address
    address public constant DEAD_ADDRESS = 0x000000000000000000000000000000000000dEaD;
    // Max transfer amount rate in basis points. (default is 0.5% of circulating supply = total supply - dead address - fee/tax address)
    uint16 public maxTransferAmountRate = 50;
    // Min transfer block rate. (default is 5 blocks ~ 15 seconds between token transfers)
    uint16 public minTransferBlockRate = 5;
    // Addresses that excluded from antiWhale
    mapping(address => bool) private _excludedFromAntiWhale;
    // Addresses that excluded from tansferTaxRate, required for Vaults
    mapping(address => bool) private _excludedFromTransferTaxRate;
    // Addresses mapping for AntiBot;
    mapping (address => mapping (address => uint256)) private _lastBlockNumber;
    // The operator can only update the transfer tax rate, transfer blolck rate and taxTo address.
    address private _operator;
    // Transfer tax to. (default dead address)
    address public taxTo;
    // The block number when DeFi trasnfer starts.
    uint256 public startBlock;

    // Events
    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);
    event TransferTaxRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate);
    event MaxTransferAmountRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate);
    event MinTransferBlockRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate);
    event TaxToUpdated(address indexed operator, address indexed previousTaxTo, address indexed newTaxTo);
    event StartBlockUpdated(address indexed operator, uint256 previousStartBlock, uint256 newStartBlock);

    modifier onlyOperator() {
        require(_operator == msg.sender, "operator: caller is not the operator");
        _;
    }

    modifier antiWhale(address sender, address recipient, uint256 amount) {
        if (maxTransferAmount() > 0) {
            if (
                _excludedFromAntiWhale[sender] == false
                && _excludedFromAntiWhale[recipient] == false
            ) {
                require(amount <= maxTransferAmount(), "DeFi::antiWhale: Transfer amount exceeds the maxTransferAmount");
            }
        }
        _;
    }

    /**
     * @notice Constructs the DeFiToken contract.
     */
    constructor() public BEP20("DeFi Token", "DeFi") {
        _operator = _msgSender();
        emit OperatorTransferred(address(0), _operator);
        taxTo = DEAD_ADDRESS;
        _excludedFromAntiWhale[msg.sender] = true;
        _excludedFromAntiWhale[address(0)] = true;
        _excludedFromAntiWhale[address(this)] = true;
        _excludedFromAntiWhale[DEAD_ADDRESS] = true;
    }

    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }

    /// @dev overrides transfer function to meet tokenomics of DeFi
    function _transfer(address sender, address recipient, uint256 amount) internal virtual override antiWhale(sender, recipient, amount) {
        if (recipient == DEAD_ADDRESS
            || sender == taxTo
            || recipient == taxTo
            || transferTaxRate == 0
            || (_excludedFromTransferTaxRate[sender] && _excludedFromTransferTaxRate[recipient])
        ) {
            super._transfer(sender, recipient, amount);
        } else {
            if (
                _excludedFromAntiWhale[sender] == false
                && _excludedFromAntiWhale[recipient] == false
                && amount != 0
            ) {
                require(startBlock <= block.number, "DeFi::anitBot: Transfer token is not started yet");
                require(_lastBlockNumber[sender][recipient] <= block.number - minTransferBlockRate, "DeFi::anitBot: Transfer frequency exceeds the minTransferBlock");
                require(_lastBlockNumber[recipient][sender] <= block.number - minTransferBlockRate, "DeFi::anitBot: Transfer frequency exceeds the minTransferBlock");
            }

            // default tax is 8% of every transfer sent to taxTo
            uint256 taxAmount = amount.mul(transferTaxRate).div(10000);

            // default 92% of transfer sent to recipient
            uint256 sendAmount = amount.sub(taxAmount);
            require(amount == sendAmount + taxAmount, "DeFi::transfer: Tax value invalid");

            super._transfer(sender, taxTo, taxAmount);
            super._transfer(sender, recipient, sendAmount);
            amount = sendAmount;
            _lastBlockNumber[sender][recipient] = block.number;
        }
    }

    /**
     * @dev Returns the max transfer amount.
     */
    function maxTransferAmount() public view returns (uint256) {
        uint256 circulatingSupply = totalSupply().sub(IBEP20(address(this)).balanceOf(DEAD_ADDRESS));
        if (taxTo != DEAD_ADDRESS) circulatingSupply = circulatingSupply.sub(IBEP20(address(this)).balanceOf(taxTo));
        return circulatingSupply.mul(maxTransferAmountRate).div(10000);
    }

    /**
     * @dev Returns the address is excluded from antiWhale or not.
     */
    function isExcludedFromAntiWhale(address _account) public view returns (bool) {
        return _excludedFromAntiWhale[_account];
    }

    /**
     * @dev Returns the address is excluded from TransferTaxRate or not.
     */
    function isExcludedFromTransferTaxRate(address _account) public view returns (bool) {
        return _excludedFromTransferTaxRate[_account];
    }

    /**
     * @dev Update the transfer tax rate.
     * Can only be called by the current operator.
     */
    function updateTransferTaxRate(uint16 _transferTaxRate) public onlyOperator {
        require(_transferTaxRate <= MAXIMUM_TRANSFER_TAX_RATE, "DeFi::updateTransferTaxRate: Transfer tax rate must not exceed the maximum rate.");
        emit TransferTaxRateUpdated(msg.sender, transferTaxRate, _transferTaxRate);
        transferTaxRate = _transferTaxRate;
    }

    /**
     * @dev Update the max transfer amount rate.
     * Can only be called by the current operator.
     */
    function updateMaxTransferAmountRate(uint16 _maxTransferAmountRate) public onlyOperator {
        require(_maxTransferAmountRate <= 10000, "DeFi::updateMaxTransferAmountRate: Max transfer amount rate must not exceed the maximum rate.");
        emit MaxTransferAmountRateUpdated(msg.sender, maxTransferAmountRate, _maxTransferAmountRate);
        maxTransferAmountRate = _maxTransferAmountRate;
    }

    /**
     * @dev Update the min transfer block rate.
     * Can only be called by the current operator.
     */
    function updateMinTransferBlockRate(uint16 _minTransferBlockRate) public onlyOperator {
        require(_minTransferBlockRate <= MAXIMUM_TRANSFER_BLOCK_RATE, "DeFi::updateMinTransferBlockRate: Transfer block rate must not exceed the maximum rate.");
        emit MinTransferBlockRateUpdated(msg.sender, minTransferBlockRate, _minTransferBlockRate);
        minTransferBlockRate = _minTransferBlockRate;
    }

    /**
     * @dev Exclude or include an address from antiWhale.
     * Can only be called by the current operator.
     */
    function setExcludedFromAntiWhale(address _account, bool _excluded) public onlyOperator {
        _excludedFromAntiWhale[_account] = _excluded;
    }

    /**
     * @dev Exclude or include an address from transferTaxRate, required for Vaults
     * Can only be called by the current operator.
     */
    function setExcludedFromTransferTaxRate(address _account, bool _excluded) public onlyOperator {
        _excludedFromAntiWhale[_account] = _excluded;
        _excludedFromTransferTaxRate[_account] = _excluded;
    }

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

    /**
     * @dev Transfers operator of the contract to a new account (`newOperator`).
     * Can only be called by the current operator.
     */
    function transferOperator(address newOperator) public onlyOperator {
        require(newOperator != address(0), "DeFi::transferOperator: new operator is the zero address");
        emit OperatorTransferred(_operator, newOperator);
        _operator = newOperator;
    }

    /**
     * @dev Set TaxTo of the token to a new account (`newTaxTo`).
     * Can only be called by the current operator.
     */
    function setTaxTo(address newTaxTo) public onlyOperator {
        emit TaxToUpdated(msg.sender, taxTo, newTaxTo);
        taxTo = newTaxTo;
    }

    /**
     * @dev Operator can drain tokens that are sent here by mistake
     */
    function drainBEP20Token(IBEP20 _token, uint256 _amount, address _to) external onlyOperator {
        _token.safeTransfer(_to, _amount);
    }

    /**
     * @dev Set startBlock number when DeFi trasnfer starts.
     * Can only be called by the current operator.
     */
    function setStartBlock(uint256 newStartBlock) public onlyOperator {
        emit StartBlockUpdated(msg.sender, startBlock, newStartBlock);
        startBlock = newStartBlock;
    }
}

File 2 of 8 : BEP20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.4.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "./IBEP20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";

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

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external override view returns (address) {
        return owner();
    }

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

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

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

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

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

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

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

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

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

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        return true;
    }

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

        _balances[sender] = _balances[sender].sub(amount, "BEP20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

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

        _balances[account] = _balances[account].sub(amount, "BEP20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(amount, "BEP20: burn amount exceeds allowance")
        );
    }
}

File 3 of 8 : IBEP20.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.4.0;

interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

    /**
     * @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 4 of 8 : SafeBEP20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "./IBEP20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";

/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(
        IBEP20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IBEP20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeBEP20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(
            value,
            "SafeBEP20: decreased allowance below zero"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IBEP20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeBEP20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeBEP20: BEP20 operation did not succeed");
        }
    }
}

File 5 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 () internal {
        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 6 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
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) {
        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) {
        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) {
        // 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) {
        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) {
        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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        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) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @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. 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) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        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) {
        require(b > 0, "SafeMath: modulo by zero");
        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) {
        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.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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) {
        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) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 7 of 8 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <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 8 of 8 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "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":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"MaxTransferAmountRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"MinTransferBlockRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","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":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousStartBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newStartBlock","type":"uint256"}],"name":"StartBlockUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"previousTaxTo","type":"address"},{"indexed":true,"internalType":"address","name":"newTaxTo","type":"address"}],"name":"TaxToUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"TransferTaxRateUpdated","type":"event"},{"inputs":[],"name":"DEAD_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_TRANSFER_BLOCK_RATE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_TRANSFER_TAX_RATE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"contract IBEP20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"drainBEP20Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"isExcludedFromAntiWhale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isExcludedFromTransferTaxRate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmountRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minTransferBlockRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_excluded","type":"bool"}],"name":"setExcludedFromAntiWhale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_excluded","type":"bool"}],"name":"setExcludedFromTransferTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartBlock","type":"uint256"}],"name":"setStartBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTaxTo","type":"address"}],"name":"setTaxTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxTo","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"newOperator","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferTaxRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_maxTransferAmountRate","type":"uint16"}],"name":"updateMaxTransferAmountRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_minTransferBlockRate","type":"uint16"}],"name":"updateMinTransferBlockRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_transferTaxRate","type":"uint16"}],"name":"updateTransferTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526006805462ffff001916620320001764ffff000000191663320000001761ffff60281b1916650500000000001790553480156200004057600080fd5b506040518060400160405280600a8152602001692232a334902a37b5b2b760b11b815250604051806040016040528060048152602001634465466960e01b8152506000620000936200021160201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000f290600490602085019062000215565b5080516200010890600590602084019062000215565b50506006805460ff19166012179055506200012262000211565b600a80546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600b80546001600160a01b03191661dead90811790915533600090815260076020526040808220805460ff1990811660019081179092557f6d5257204ebe7d88fd91ae87941cb2dd9d8062b64ae5a2bd2d28ec40b9fbf6df80548216831790553084529183208054831682179055929091527fb0c2646e02af70b79e3fe9277b98373379f54150e4e26b2b5650139f7a75a65d80549091169091179055620002b1565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200025857805160ff191683800117855562000288565b8280016001018555821562000288579182015b82811115620002885782518255916020019190600101906200026b565b50620002969291506200029a565b5090565b5b808211156200029657600081556001016200029b565b61249080620002c16000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c806370a0823111610130578063a9059cbb116100b8578063d755ccb71161007c578063d755ccb714610651578063d85b97561461067f578063dd62ed3e14610687578063f2fde38b146106b5578063f35e4a6e146106db57610232565b8063a9059cbb146105c1578063a9e75723146105ed578063b65d08b0146105f5578063c7f59a67146105fd578063cee3184e1461062b57610232565b80638da5cb5b116100ff5780638da5cb5b1461056057806395d89b41146105685780639da3098814610570578063a0712d6814610578578063a457c2d71461059557610232565b806370a08231146104f4578063715018a61461051a5780637954762814610522578063893d20e81461055857610232565b8063376c2391116101be57806348cd4cb11161018257806348cd4cb1146104975780634e6fd6c41461049f578063570ca735146104c35780636a141e2c146104cb5780636cc01368146104ec57610232565b8063376c2391146103f557806339509351146104165780633cd14567146104425780633ff8bf2e1461046357806340c10f191461046b57610232565b80631ad9339a116102055780631ad9339a1461033657806323b872dd14610355578063269f534c1461038b57806329605e77146103b1578063313ce567146103d757610232565b806306fdde0314610237578063095ea7b3146102b45780631672ba22146102f457806318160ddd1461031c575b600080fd5b61023f6106f8565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610279578181015183820152602001610261565b50505050905090810190601f1680156102a65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102e0600480360360408110156102ca57600080fd5b506001600160a01b03813516906020013561078e565b604080519115158252519081900360200190f35b61031a6004803603602081101561030a57600080fd5b50356001600160a01b03166107ac565b005b610324610853565b60408051918252519081900360200190f35b61033e610859565b6040805161ffff9092168252519081900360200190f35b6102e06004803603606081101561036b57600080fd5b506001600160a01b0381358116916020810135909116906040013561085f565b6102e0600480360360208110156103a157600080fd5b50356001600160a01b03166108e7565b61031a600480360360208110156103c757600080fd5b50356001600160a01b0316610905565b6103df6109ef565b6040805160ff9092168252519081900360200190f35b61031a6004803603602081101561040b57600080fd5b503561ffff166109f8565b6102e06004803603604081101561042c57600080fd5b506001600160a01b038135169060200135610aed565b61031a6004803603602081101561045857600080fd5b503561ffff16610b3b565b61033e610c37565b61031a6004803603604081101561048157600080fd5b506001600160a01b038135169060200135610c48565b610324610cb8565b6104a7610cbe565b604080516001600160a01b039092168252519081900360200190f35b6104a7610cc4565b61031a600480360360208110156104e157600080fd5b503561ffff16610cd3565b61033e610dce565b6103246004803603602081101561050a57600080fd5b50356001600160a01b0316610dd3565b61031a610dee565b61031a6004803603606081101561053857600080fd5b506001600160a01b03813581169160208101359160409091013516610e9a565b6104a7610efc565b6104a7610f0b565b61023f610f1a565b61033e610f7b565b6102e06004803603602081101561058e57600080fd5b5035610f8c565b6102e0600480360360408110156105ab57600080fd5b506001600160a01b038135169060200135611009565b6102e0600480360360408110156105d757600080fd5b506001600160a01b038135169060200135611071565b610324611085565b61033e6111dc565b61031a6004803603604081101561061357600080fd5b506001600160a01b03813516906020013515156111eb565b6102e06004803603602081101561064157600080fd5b50356001600160a01b031661125f565b61031a6004803603604081101561066757600080fd5b506001600160a01b038135169060200135151561127d565b6104a7611304565b6103246004803603604081101561069d57600080fd5b506001600160a01b0381358116916020013516611313565b61031a600480360360208110156106cb57600080fd5b50356001600160a01b031661133e565b61031a600480360360208110156106f157600080fd5b5035611440565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107845780601f1061075957610100808354040283529160200191610784565b820191906000526020600020905b81548152906001019060200180831161076757829003601f168201915b5050505050905090565b60006107a261079b6114cc565b84846114d0565b5060015b92915050565b600a546001600160a01b031633146107f55760405162461bcd60e51b81526004018080602001828103825260248152602001806122bb6024913960400191505060405180910390fd5b600b546040516001600160a01b0380841692169033907f37c4373530a8ec612781f93523be08d6d6653944a5fc1b5ba7e66a640b6a4a8890600090a4600b80546001600160a01b0319166001600160a01b0392909216919091179055565b60035490565b6103e881565b600061086c8484846115bc565b6108dc846108786114cc565b6108d785604051806060016040528060288152602001612185602891396001600160a01b038a166000908152600260205260408120906108b66114cc565b6001600160a01b03168152602081019190915260400160002054919061194d565b6114d0565b5060015b9392505050565b6001600160a01b031660009081526007602052604090205460ff1690565b600a546001600160a01b0316331461094e5760405162461bcd60e51b81526004018080602001828103825260248152602001806122bb6024913960400191505060405180910390fd5b6001600160a01b0381166109935760405162461bcd60e51b81526004018080602001828103825260388152602001806120766038913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed90600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60065460ff1690565b600a546001600160a01b03163314610a415760405162461bcd60e51b81526004018080602001828103825260248152602001806122bb6024913960400191505060405180910390fd5b6103e861ffff82161115610a865760405162461bcd60e51b81526004018080602001828103825260508152602001806121d36050913960600191505060405180910390fd5b6006546040805161ffff610100909304831681529183166020830152805133927fe9d5c8ee2a65d4fb859c680669d8f902172d53e3f15f9f11108a31bbada4b70b92908290030190a26006805461ffff9092166101000262ffff0019909216919091179055565b60006107a2610afa6114cc565b846108d78560026000610b0b6114cc565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906119e4565b600a546001600160a01b03163314610b845760405162461bcd60e51b81526004018080602001828103825260248152602001806122bb6024913960400191505060405180910390fd5b601461ffff82161115610bc85760405162461bcd60e51b81526004018080602001828103825260578152602001806122646057913960600191505060405180910390fd5b6006546040805161ffff600160281b909304831681529183166020830152805133927f92852f675b91ac5d2d4ea8d1eed57c439cb8d6ea59d5ab9536283f48f5f7eb4a92908290030190a26006805461ffff909216600160281b0266ffff000000000019909216919091179055565b6006546301000000900461ffff1681565b610c506114cc565b6001600160a01b0316610c61610f0b565b6001600160a01b031614610caa576040805162461bcd60e51b81526020600482018190526024820152600080516020612244833981519152604482015290519081900360640190fd5b610cb48282611a3e565b5050565b600c5481565b61dead81565b600a546001600160a01b031690565b600a546001600160a01b03163314610d1c5760405162461bcd60e51b81526004018080602001828103825260248152602001806122bb6024913960400191505060405180910390fd5b6127108161ffff161115610d615760405162461bcd60e51b815260040180806020018281038252605d81526020018061234d605d913960600191505060405180910390fd5b6006546040805161ffff6301000000909304831681529183166020830152805133927fb62a50fc861a770636e85357becb3b82a32e911106609d4985871eaf29011e0892908290030190a26006805461ffff90921663010000000264ffff00000019909216919091179055565b601481565b6001600160a01b031660009081526001602052604090205490565b610df66114cc565b6001600160a01b0316610e07610f0b565b6001600160a01b031614610e50576040805162461bcd60e51b81526020600482018190526024820152600080516020612244833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600a546001600160a01b03163314610ee35760405162461bcd60e51b81526004018080602001828103825260248152602001806122bb6024913960400191505060405180910390fd5b610ef76001600160a01b0384168284611b24565b505050565b6000610f06610f0b565b905090565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107845780601f1061075957610100808354040283529160200191610784565b600654600160281b900461ffff1681565b6000610f966114cc565b6001600160a01b0316610fa7610f0b565b6001600160a01b031614610ff0576040805162461bcd60e51b81526020600482018190526024820152600080516020612244833981519152604482015290519081900360640190fd5b611001610ffb6114cc565b83611a3e565b506001919050565b60006107a26110166114cc565b846108d78560405180606001604052806025815260200161232860259139600260006110406114cc565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061194d565b60006107a261107e6114cc565b84846115bc565b600080611114306001600160a01b03166370a0823161dead6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156110da57600080fd5b505afa1580156110ee573d6000803e3d6000fd5b505050506040513d602081101561110457600080fd5b505161110e610853565b90611b76565b600b549091506001600160a01b031661dead146111af57600b54604080516370a0823160e01b81526001600160a01b039092166004830152516111ac9130916370a0823191602480820192602092909190829003018186803b15801561117957600080fd5b505afa15801561118d573d6000803e3d6000fd5b505050506040513d60208110156111a357600080fd5b50518290611b76565b90505b6006546111d690612710906111d09084906301000000900461ffff16611bd3565b90611c2c565b91505090565b600654610100900461ffff1681565b600a546001600160a01b031633146112345760405162461bcd60e51b81526004018080602001828103825260248152602001806122bb6024913960400191505060405180910390fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6001600160a01b031660009081526008602052604090205460ff1690565b600a546001600160a01b031633146112c65760405162461bcd60e51b81526004018080602001828103825260248152602001806122bb6024913960400191505060405180910390fd5b6001600160a01b039091166000908152600760209081526040808320805494151560ff19958616811790915560089092529091208054909216179055565b600b546001600160a01b031681565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6113466114cc565b6001600160a01b0316611357610f0b565b6001600160a01b0316146113a0576040805162461bcd60e51b81526020600482018190526024820152600080516020612244833981519152604482015290519081900360640190fd5b6001600160a01b0381166113e55760405162461bcd60e51b81526004018080602001828103825260268152602001806121216026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031633146114895760405162461bcd60e51b81526004018080602001828103825260248152602001806122bb6024913960400191505060405180910390fd5b600c546040805191825260208201839052805133927f2261b0608377dfea3647390a585c309d8dc877219b37f164a0f966973be8851192908290030190a2600c55565b3390565b6001600160a01b0383166115155760405162461bcd60e51b81526004018080602001828103825260248152602001806120d36024913960400191505060405180910390fd5b6001600160a01b03821661155a5760405162461bcd60e51b81526004018080602001828103825260228152602001806123fb6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b82828260006115c9611085565b111561165c576001600160a01b03831660009081526007602052604090205460ff1615801561161157506001600160a01b03821660009081526007602052604090205460ff16155b1561165c5761161e611085565b81111561165c5760405162461bcd60e51b815260040180806020018281038252603e815260200180612147603e913960400191505060405180910390fd5b6001600160a01b03851661dead14806116825750600b546001600160a01b038781169116145b8061169a5750600b546001600160a01b038681169116145b806116ae5750600654610100900461ffff16155b806116f457506001600160a01b03861660009081526008602052604090205460ff1680156116f457506001600160a01b03851660009081526008602052604090205460ff165b1561170957611704868686611c93565b611945565b6001600160a01b03861660009081526007602052604090205460ff1615801561174b57506001600160a01b03851660009081526007602052604090205460ff16155b801561175657508315155b156118845743600c54111561179c5760405162461bcd60e51b81526004018080602001828103825260308152602001806123aa6030913960400191505060405180910390fd5b6006546001600160a01b038781166000908152600960209081526040808320938a1683529290522054600160281b90910461ffff16430310156118105760405162461bcd60e51b815260040180806020018281038252603e81526020018061241d603e913960400191505060405180910390fd5b6006546001600160a01b038681166000908152600960209081526040808320938b1683529290522054600160281b90910461ffff16430310156118845760405162461bcd60e51b815260040180806020018281038252603e81526020018061241d603e913960400191505060405180910390fd5b6006546000906118a690612710906111d0908890610100900461ffff16611bd3565b905060006118b48683611b76565b905081810186146118f65760405162461bcd60e51b81526004018080602001828103825260218152602001806123da6021913960400191505060405180910390fd5b600b5461190e9089906001600160a01b031684611c93565b611919888883611c93565b6001600160a01b038089166000908152600960209081526040808320938b168352929052204390559450505b505050505050565b600081848411156119dc5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156119a1578181015183820152602001611989565b50505050905090810190601f1680156119ce5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156108e0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216611a99576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600354611aa690826119e4565b6003556001600160a01b038216600090815260016020526040902054611acc90826119e4565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ef7908490611de5565b600082821115611bcd576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082611be2575060006107a6565b82820282848281611bef57fe5b04146108e05760405162461bcd60e51b81526004018080602001828103825260218152602001806122236021913960400191505060405180910390fd5b6000808211611c82576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611c8b57fe5b049392505050565b6001600160a01b038316611cd85760405162461bcd60e51b81526004018080602001828103825260258152602001806120ae6025913960400191505060405180910390fd5b6001600160a01b038216611d1d5760405162461bcd60e51b81526004018080602001828103825260238152602001806123056023913960400191505060405180910390fd5b611d5a816040518060600160405280602681526020016122df602691396001600160a01b038616600090815260016020526040902054919061194d565b6001600160a01b038085166000908152600160205260408082209390935590841681522054611d8990826119e4565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6060611e3a826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611e969092919063ffffffff16565b805190915015610ef757808060200190516020811015611e5957600080fd5b5051610ef75760405162461bcd60e51b815260040180806020018281038252602a8152602001806120f7602a913960400191505060405180910390fd5b6060611ea58484600085611ead565b949350505050565b606082471015611eee5760405162461bcd60e51b81526004018080602001828103825260268152602001806121ad6026913960400191505060405180910390fd5b611ef785612009565b611f48576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611f875780518252601f199092019160209182019101611f68565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611fe9576040519150601f19603f3d011682016040523d82523d6000602084013e611fee565b606091505b5091509150611ffe82828661200f565b979650505050505050565b3b151590565b6060831561201e5750816108e0565b82511561202e5782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156119a157818101518382015260200161198956fe446546693a3a7472616e736665724f70657261746f723a206e6577206f70657261746f7220697320746865207a65726f206164647265737342455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373446546693a3a616e74695768616c653a205472616e7366657220616d6f756e74206578636565647320746865206d61785472616e73666572416d6f756e7442455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c446546693a3a7570646174655472616e73666572546178526174653a205472616e73666572207461782072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572446546693a3a7570646174654d696e5472616e73666572426c6f636b526174653a205472616e7366657220626c6f636b2072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7242455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f446546693a3a7570646174654d61785472616e73666572416d6f756e74526174653a204d6178207472616e7366657220616d6f756e742072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e446546693a3a616e6974426f743a205472616e7366657220746f6b656e206973206e6f74207374617274656420796574446546693a3a7472616e736665723a205461782076616c756520696e76616c696442455032303a20617070726f766520746f20746865207a65726f2061646472657373446546693a3a616e6974426f743a205472616e73666572206672657175656e6379206578636565647320746865206d696e5472616e73666572426c6f636ba264697066735822122083737f6446079ffdb81a989fc16990bc9ec1c0d788feba8c4fec13ce01f6b4ea64736f6c634300060c0033

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