Contract 0x29E3cBDd0375e17cA94677790779EB0A87BefbCC

 

Contract Overview

Balance:
1.01 BNB

BNB Value:
$569.49 (@ $563.85/BNB)

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xb0ac6128c41a87b123c7cba469bbfe71b9182ce86f4be0eb2e88ece153a119c6Transfer128870212021-11-23 9:55:4111 days 18 hrs ago0xa1e307f48b94739b2680b65caa2d00c7ce310b35 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.00051374
0x07e170bc2c31fd7f84e77244ec2e495698a195d21c87f6ca9a38af3edcd67d34Transfer121312112021-10-27 8:54:0438 days 19 hrs ago0xc6c4f6d5caf989c8c9eeb80ae07f6b8625ca3a50 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.00043868
0x66712045d639b9176433c585b44fc86e6b03eee1d4ebd9361d85f248576f7ec1Approve119408142021-10-20 16:10:3045 days 12 hrs ago0x24088f0cf47586380ea41c676e868c1399065a07 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.000126635
0xf69c4663a62465a2199a8177cd7ca7f37530489ec6813f15c48d46d5814fdc01Approve119408092021-10-20 16:10:1545 days 12 hrs ago0x24088f0cf47586380ea41c676e868c1399065a07 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.000222635
0xbdc1006beaec32b909889efea933e1fd163b7244334c0fed3544b49c354a3006Transfer117985312021-10-15 16:29:2650 days 11 hrs ago0x7285aacc34e806c48b16e1f53771bf00231f1fb5 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.00043862
0x3a13b3055ffb5515ee6fe43d9292bea758c9eee8345fba131b3c28e8550a0fbaTransfer117652982021-10-14 12:43:2651 days 15 hrs ago0x421e3d37060e6a417a4415474dca5f1b78ce8583 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.000616488
0x7252f66737ba213c6bddab0054b0445a44a673f513ef07b7d11f1636f2b1b7deTransfer116028522021-10-08 19:47:3657 days 8 hrs ago0x01c2b141475bbddd37b45e010eb0c01c59edaa46 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.00043868
0x91f4a3a31a49fbe8403e69adcc1cb0feac7cf3f0b3e32906ee6b72713b8d6a2cApprove115755822021-10-07 21:02:1558 days 7 hrs ago0x78a67f970329c9266a0309a8c0d61c0c1e2efb53 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.000222635
0x38d1108f5d4db32c124615b41f6e58031cb463603453a18f27c8aec055f38122Transfer115642502021-10-07 11:34:4958 days 16 hrs ago0x70f0f3d360b2a9ac66b3c67d827f7549f1d486b5 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.00051368
0x2c7b65c5cd21ab4798ada43616c3f3554f17e07ce50723fc1294fc2df0af47c9Transfer115640812021-10-07 11:26:2258 days 16 hrs ago0xd62287f56eccc3e07fb1e2a72efaa33b220c11ba IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.00036368
0x42bf4ad474e0ebb42898ae9498dd31ada7997627f1c40ce6842dcd368e6f405dTransfer115389182021-10-06 14:27:0159 days 13 hrs ago0x8021a84b2864169334d77b8a089bf24bdbd0c4a9 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.00051368
0x63669ae462a3970843ca4cdbca0b2c51aad3d4718820945a208ca8f2fb3415a1Transfer115054572021-10-05 10:31:2460 days 17 hrs ago0x086d98647b36243bac173829044be0579162f806 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.00051368
0xde5c57e9eb77f3040afee3d30977386185a8adb57378c7c2b531e42a0839e5deTransfer111787682021-09-24 0:09:0672 days 4 hrs ago0x4dfbcc198b762708c3c70631d0e042ac496c3c38 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.00043868
0xd65ba3569443361636dbd1fe00e1a742f99ecde1efffb095f8ecb4b42f5eff75Transfer110514352021-09-19 13:29:5176 days 14 hrs ago0x37639278e703c68c2c21effcf42279bad5c1957e IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.000303
0x6a369d2621c3fba07f560d2ac39724926e74c9faf53ff1e99afdc3f848d26d1dTransfer110483472021-09-19 10:52:4476 days 17 hrs ago0x67de6ab7f271146298384e31a9c52d1a4511ed24 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.00043874
0xff4da292987e2a1396db792ca69b2ab4a651c5f6a73d73d3158a382b978c29c1Transfer110421922021-09-19 5:34:0176 days 22 hrs ago0xc9bf7d90da9bdd0160fdc24d9f321ad132b2a626 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.00043874
0x6dec7040c0b644de860ec59078f7490f52a5719b0229e1abcecc5e684b0c5308Transfer110290022021-09-18 18:33:3377 days 9 hrs ago0x503b718f601ef0caa480cfb5de67231028bee29a IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.00051362
0x491b1dea14b735259721f878e03389e83464c5bc0677c580f9b7c00a30b5207dTransfer109955482021-09-17 14:36:0578 days 13 hrs ago0x424a3217533757b9311aec7e68a0083cc61d9326 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.000616488
0x7da2b1f185ed1fd67d5f2164ee764bfefcb9a09268a6e0c4e579e6bdc3f9b4c5Transfer109833672021-09-17 4:26:1278 days 23 hrs ago0x25f0c70ce500edbffa4cebcee15d371d81b9abec IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.00051374
0xbb7ee29234982f030e9ed04f9734b92bbd8d4f0e39abbb298779ac5408e74eceTransfer109788372021-09-17 0:39:4079 days 3 hrs ago0x424a3217533757b9311aec7e68a0083cc61d9326 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.000616416
0xbb93397556b0b72ce2a06c494257595b1598764b68f458f5a51085eb1793d422Transfer109788112021-09-17 0:38:2279 days 3 hrs ago0x424a3217533757b9311aec7e68a0083cc61d9326 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.000616488
0x182b633b6c90ee9cadec5404823ad111869d89857f3ada8469603b2b0da72bc8Transfer109787892021-09-17 0:37:1679 days 3 hrs ago0x424a3217533757b9311aec7e68a0083cc61d9326 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.000616488
0x20662274b8c5eb210a986a2a160ed86898fe505ffcc904209b7fb252f4dff86cTransfer109687472021-09-16 16:14:2179 days 12 hrs ago0xe2b0a4a65f57d9feb54d1d46f0f45d17ed4b35e1 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.000616488
0xfa13a6961fe6809610d0cf296a31f369477e32906f087eae7c6876bbcea8350aTransfer109662992021-09-16 14:11:3579 days 14 hrs ago0x424a3217533757b9311aec7e68a0083cc61d9326 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.000616488
0x9a9d9a43939a48f96a35419a2857f9c419950e966603686e5e0bfdbb867573ceTransfer109662602021-09-16 14:09:3879 days 14 hrs ago0x421e3d37060e6a417a4415474dca5f1b78ce8583 IN  0x29e3cbdd0375e17ca94677790779eb0a87befbcc0 BNB0.000616488
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xd3b8420c7b9905f436c40b15e7956e42095a291ba7fa65aefd63657ce1857d9a102914352021-08-23 22:23:38103 days 5 hrs ago Narrowcastingscreen: Deployer  Contract Creation0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Token

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-08-23
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.6;

interface IERC20 {

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


/**
    * @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, 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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
        * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
        * overflow (when the result is negative).
        *
        * 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);
        uint256 c = a - b;

        return c;
    }

    /**
        * @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) {
        // 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 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
        * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

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

        return c;
    }

    /**
        * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
        * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
        * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
        * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return payable(address(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;
    }
}


/**
    * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
        * @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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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);
            }
        }
    }
}
/**
    * @title SafeERC20
    * @dev Wrappers around ERC20 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 SafeERC20 for IERC20;` statement to your contract,
    * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
    */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

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

    function safeTransferFrom(IERC20 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
        * {IERC20-approve}, and its usage is discouraged.
        *
        * Whenever possible, use {safeIncreaseAllowance} and
        * {safeDecreaseAllowance} instead.
        */
    function safeApprove(IERC20 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),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 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(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: 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(IERC20 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, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

/**
    * @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;
    address private _previousOwner;
    uint256 private _lockTime;

    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 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;
    }

    function geUnlockTime() public view returns (uint256) {
        return _lockTime;
    }

    //Locks the contract for owner for the amount of time provided
    function lock(uint256 time) public virtual onlyOwner {
        _previousOwner = _owner;
        _owner = address(0);
        _lockTime = block.timestamp + time;
        emit OwnershipTransferred(_owner, address(0));
    }
    
    //Unlocks the contract for owner when _lockTime is exceeds
    function unlock() public virtual {
        require(_previousOwner == msg.sender, "You don't have permission to unlock the token contract");
        require(block.timestamp > _lockTime , "Contract is locked until 7 days");
        emit OwnershipTransferred(_owner, _previousOwner);
        _owner = _previousOwner;
    }
}

// pragma solidity >=0.5.0;

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

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

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

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

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



// pragma solidity >=0.6.2;

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

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

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



// pragma solidity >=0.6.2;

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

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


contract Token is Context, IERC20, Ownable {
    using SafeMath for uint256;
    using Address for address;
    using SafeERC20 for IERC20;
    
    address dead = 0x000000000000000000000000000000000000dEaD;
    
    uint8 public maxLiqFee = 10;
    uint8 public maxTaxFee = 10;
    uint8 public maxBurnFee = 10;
    uint8 public maxWalletFee = 10;
    uint8 public maxBuybackFee = 10;
    uint8 public minMxTxPercentage = 1;
    uint8 public minMxWalletPercentage = 1;
    
    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;
    
    address public router = 0x10ED43C718714eb63d5aA57B78B54704E256024E;
    //address public router = 0xD99D1c33F9fC3444f8101754aBC46c52416550D1;
    
    uint256 private constant MAX = ~uint256(0);
    uint256 public _tTotal;
    uint256 private _rTotal;
    uint256 private _tFeeTotal;
    
    bool public mintedByMudra = true;
    
    string public _name;
    string public _symbol;
    uint8 private _decimals;
    
    uint8 public _taxFee = 0;
    uint8 private _previousTaxFee = _taxFee;
    
    uint8 public _liquidityFee = 0;
    uint8 private _previousLiquidityFee = _liquidityFee;

    uint8 public _burnFee = 0;
    uint8 private _previousBurnFee = _burnFee;

    uint8 public _walletFee = 0;
    uint8 private _previousWalletFee = _walletFee;

    uint8 public _buybackFee = 0;
    uint8 private _previousBuybackFee = _buybackFee;

    IUniswapV2Router02 public immutable pcsV2Router;
    address public immutable pcsV2Pair;
    address payable public feeWallet;
    
    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = true;    
    
    uint256 public _maxTxAmount;
    uint256 public _maxWalletAmount;
    uint256 public numTokensSellToAddToLiquidity;    
    uint256 private buyBackUpperLimit = 1 * 10**18;
    
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );
    
    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }
    
    constructor (address tokenOwner,string memory tokenName,
        string memory tokenSymbol, uint8 decimal, uint256 amountOfTokenWei,
        uint8 setMxTxPer, uint8 setMxWalletPer,
        address payable _feeWallet
        )  {
            
        _name = tokenName;
        _symbol = tokenSymbol;
        _decimals = decimal;
        _tTotal = amountOfTokenWei;
        _rTotal = (MAX - (MAX % _tTotal));
        
        _rOwned[tokenOwner] = _rTotal;

        feeWallet = _feeWallet;
        

        _maxTxAmount = _tTotal.mul(setMxTxPer).div(
            10**2
        );
        _maxWalletAmount = _tTotal.mul(setMxWalletPer).div(
            10**2
        );
        
        numTokensSellToAddToLiquidity = amountOfTokenWei.mul(1).div(1000);
        
        IUniswapV2Router02 _pcsV2Router = IUniswapV2Router02(router);
            // Create a uniswap pair for this new token
        pcsV2Pair = IUniswapV2Factory(_pcsV2Router.factory())
            .createPair(address(this), _pcsV2Router.WETH());

        // set the rest of the contract variables
        pcsV2Router = _pcsV2Router;
        
        _isExcludedFromFee[tokenOwner] = true;
        _isExcludedFromFee[address(this)] = true;
        
        emit Transfer(address(0), tokenOwner, _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, "Amt 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, "Amt must be less than tot refl");
        uint256 currentRate =  _getRate();
        return rAmount.div(currentRate);
    }

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

    function includeInReward(address account) external onlyOwner() {
        require(_isExcluded[account], "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 excludeFromFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = true;
    }
    
    function includeInFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = false;
    }
    
    function setAllFeePercent(uint8 taxFee, uint8 liquidityFee, uint8 burnFee, uint8 walletFee, uint8 buybackFee) external onlyOwner() {
        require(taxFee >= 0 && taxFee <=maxTaxFee,"TF err");
        require(liquidityFee >= 0 && liquidityFee <=maxLiqFee,"LF err");
        require(burnFee >= 0 && burnFee <=maxBurnFee,"BF err");
        require(walletFee >= 0 && walletFee <=maxWalletFee,"WF err");
        require(buybackFee >= 0 && buybackFee <=maxBuybackFee,"BBF err");
        _taxFee = taxFee;
        _liquidityFee = liquidityFee;
        _burnFee = burnFee;
        _buybackFee = buybackFee;
        _walletFee = walletFee;
    }
    
    function buyBackUpperLimitAmount() public view returns (uint256) {
        return buyBackUpperLimit;
    }

    function setBuybackUpperLimit(uint256 buyBackLimit) external onlyOwner() {
        buyBackUpperLimit = buyBackLimit * 10**18;
    }
    
    function setMaxTxPercent(uint256 maxTxPercent) external onlyOwner() {
        require(maxTxPercent >= minMxTxPercentage && maxTxPercent <=100,"err");
        _maxTxAmount = _tTotal.mul(maxTxPercent).div(
            10**2
        );
    }

    function setMaxWalletPercent(uint256 maxWalletPercent) external onlyOwner() {
        require(maxWalletPercent >= minMxWalletPercentage && maxWalletPercent <=100,"err");
        _maxWalletAmount = _tTotal.mul(maxWalletPercent).div(
            10**2
        );
    }

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

    function setFeeWallet(address payable newFeeWallet) external onlyOwner {
        require(newFeeWallet != address(0), "ZERO ADDRESS");
        feeWallet = newFeeWallet;
    }

    
        //to recieve ETH from pcsV2Router 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 + _burnFee + _walletFee + _buybackFee).div(
            10**2
        );
    }
    
    function removeAllFee() private {
        if(_taxFee == 0 && _liquidityFee == 0 && _burnFee == 0 && _walletFee == 0 && _buybackFee == 0) return;
        
        _previousTaxFee = _taxFee;
        _previousLiquidityFee = _liquidityFee;
        _previousBurnFee = _burnFee;
        _previousWalletFee = _walletFee;
        _previousBuybackFee = _buybackFee;
        
        _taxFee = 0;
        _liquidityFee = 0;
        _burnFee = 0;
        _walletFee = 0;
        _buybackFee = 0;
    }
    
    function restoreAllFee() private {
        _taxFee = _previousTaxFee;
        _liquidityFee = _previousLiquidityFee;
        _burnFee = _previousBurnFee;
        _walletFee = _previousWalletFee;
        _buybackFee = _previousBuybackFee;
    }
    
    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 zero address");
        require(spender != address(0), "ERC20: approve to zero address");

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {
        require(from != address(0), "ERC20: transfer from zero address");
        require(to != address(0), "ERC20: transfer to zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        if(from != owner() && to != owner())
            require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount.");

        if(from != owner() && to != owner() && to != address(0) && to != dead && to != pcsV2Pair){
            uint256 contractBalanceRecepient = balanceOf(to);
            require(contractBalanceRecepient + amount <= _maxWalletAmount, "Exceeds maximum wallet 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 uniswap pair.
        uint256 contractTokenBalance = balanceOf(address(this));
        
        if(contractTokenBalance >= _maxTxAmount)
        {
            contractTokenBalance = _maxTxAmount;
        }
        
        bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity;
        if (
            !inSwapAndLiquify &&
            to == pcsV2Pair &&
            swapAndLiquifyEnabled
        ) {
            if(overMinTokenBalance){
                contractTokenBalance = numTokensSellToAddToLiquidity;
                //add liquidity
                swapAndLiquify(contractTokenBalance);
            }
            if(_buybackFee !=0){
                uint256 balance = address(this).balance;
                if (balance > uint256(1 * 10**18)) {
                    
                    if (balance > buyBackUpperLimit)
                        balance = buyBackUpperLimit;
                    
                    buyBackTokens(balance.div(100));
                }
            }
            
        }
        
        
        //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 {
        //This needs to be distributed among burn, wallet and liquidity
        //burn
        uint8 totFee  = _burnFee + _walletFee + _liquidityFee + _buybackFee; 
        uint256 spentAmount = 0;
        uint256 totSpentAmount = 0;
        if(_burnFee != 0){
            spentAmount  = contractTokenBalance.div(totFee).mul(_burnFee);
            _tokenTransferNoFee(address(this), dead, spentAmount);
            totSpentAmount = spentAmount;
        }

        if(_walletFee != 0){
            spentAmount = contractTokenBalance.div(totFee).mul(_walletFee);
            _tokenTransferNoFee(address(this), feeWallet, spentAmount);
            totSpentAmount = totSpentAmount + spentAmount;
        }

        if(_buybackFee != 0){
            spentAmount = contractTokenBalance.div(totFee).mul(_buybackFee);
            swapTokensForBNB(spentAmount);
            totSpentAmount = totSpentAmount + spentAmount;
        }

        if(_liquidityFee != 0){
            contractTokenBalance = contractTokenBalance.sub(totSpentAmount);

            // 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
            swapTokensForBNB(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 buyBackTokens(uint256 amount) private lockTheSwap {
    	if (amount > 0) {
    	    swapBNBForTokens(amount);
	    }
    }

    function swapTokensForBNB(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = pcsV2Router.WETH();

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

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

    function swapBNBForTokens(uint256 amount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = pcsV2Router.WETH();
        path[1] = address(this);

      // make the swap
        pcsV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(
            0, // accept any amount of Tokens
            path,
            dead, // Burn address
            block.timestamp.add(300)
        );        
    }

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

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

    //this method is responsible for taking all fee, if takeFee is true
    function _tokenTransfer(address sender, address recipient, uint256 amount,bool takeFee) private {
        if(!takeFee)
            removeAllFee();
        
        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);
        }
        
        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);
    }

    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 _tokenTransferNoFee(address sender, address recipient, uint256 amount) private {        
        uint256 currentRate =  _getRate();  
        uint256 rAmount = amount.mul(currentRate);   

        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rAmount); 
        
        if (_isExcluded[sender]) {
            _tOwned[sender] = _tOwned[sender].sub(amount);
        } 
        if (_isExcluded[recipient]) {
            _tOwned[recipient] = _tOwned[recipient].add(amount);
        } 
        emit Transfer(sender, recipient, amount);
    }

    function recoverBEP20(address tokenAddress, uint256 tokenAmount) public onlyOwner {
        // do not allow recovering self token
        require(tokenAddress != address(this), "Self withdraw");
        IERC20(tokenAddress).transfer(owner(), tokenAmount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"uint8","name":"decimal","type":"uint8"},{"internalType":"uint256","name":"amountOfTokenWei","type":"uint256"},{"internalType":"uint8","name":"setMxTxPer","type":"uint8"},{"internalType":"uint8","name":"setMxWalletPer","type":"uint8"},{"internalType":"address payable","name":"_feeWallet","type":"address"}],"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":"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":"_burnFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buybackFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_walletFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":"buyBackUpperLimitAmount","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":[],"name":"feeWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"geUnlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBurnFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuybackFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLiqFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTaxFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minMxTxPercentage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minMxWalletPercentage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedByMudra","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":"numTokensSellToAddToLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pcsV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pcsV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverBEP20","outputs":[],"stateMutability":"nonpayable","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":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"taxFee","type":"uint8"},{"internalType":"uint8","name":"liquidityFee","type":"uint8"},{"internalType":"uint8","name":"burnFee","type":"uint8"},{"internalType":"uint8","name":"walletFee","type":"uint8"},{"internalType":"uint8","name":"buybackFee","type":"uint8"}],"name":"setAllFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyBackLimit","type":"uint256"}],"name":"setBuybackUpperLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newFeeWallet","type":"address"}],"name":"setFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxPercent","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxWalletPercent","type":"uint256"}],"name":"setMaxWalletPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","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"},{"inputs":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c0604052600380546001600160d81b0319167a01010a0a0a0a0a000000000000000000000000000000000000dead179055600a80547310ed43c718714eb63d5aa57b78b54704e256024e6001600160a01b0319909116179055600e805460ff1990811660019081179092556011805461ffff60481b1963ffffffff60281b1964ffffffff0019831664ffff0000001960ff61010061ff00198716048116620100000291821692909217630100000063ffffff001990961663ff000000199290921691909117949094048116640100000000029390931790811661ffff60381b196501000000000060ff60281b1984160485166601000000000000029081169190911767010000000000000062ffffff60281b1990931660ff60381b199290921691909117919091048316680100000000000000000217908116690100000000000000000060ff60481b1992909216919091049091166a010000000000000000000002179055601280549091169091179055670de0b6b3a76400006016553480156200018a57600080fd5b506040516200447138038062004471833981016040819052620001ad91620007cc565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35086516200020390600f9060208a01906200065e565b508551620002199060109060208901906200065e565b506011805460ff191660ff8716179055600b8490556200023c846000196200099c565b6200024a9060001962000912565b600c8190556001600160a01b03808a16600090815260046020908152604090912092909255601180549184166b01000000000000000000000002600160581b600160f81b0319909216919091179055600b54620002d191606491620002bd9160ff88169062001c1a62000544821b17901c565b620005d860201b62001c991790919060201c565b601381905550620002fc6064620002bd8460ff16600b546200054460201b62001c1a1790919060201c565b6014556200031f6103e8620002bd86600162000544602090811b62001c1a17901c565b601555600a546040805163c45a015560e01b815290516001600160a01b0390921691829163c45a0155916004808301926020929190829003018186803b1580156200036957600080fd5b505afa1580156200037e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003a49190620007ac565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015620003ed57600080fd5b505afa15801562000402573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004289190620007ac565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200047157600080fd5b505af115801562000486573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ac9190620007ac565b606090811b6001600160601b031990811660a0529082901b166080526001600160a01b03891660008181526007602090815260408083208054600160ff19918216811790925530855282852080549091169091179055600b5490519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050505050505062000a0e565b6000826200055557506000620005d2565b6000620005638385620008f0565b905082620005728583620008d9565b14620005cf5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084015b60405180910390fd5b90505b92915050565b6000620005cf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506200062260201b60201c565b60008183620006465760405162461bcd60e51b8152600401620005c69190620008a4565b506000620006558486620008d9565b95945050505050565b8280546200066c906200095f565b90600052602060002090601f016020900481019282620006905760008555620006db565b82601f10620006ab57805160ff1916838001178555620006db565b82800160010185558215620006db579182015b82811115620006db578251825591602001919060010190620006be565b50620006e9929150620006ed565b5090565b5b80821115620006e95760008155600101620006ee565b600082601f8301126200071657600080fd5b81516001600160401b0380821115620007335762000733620009df565b604051601f8301601f19908116603f011681019082821181831017156200075e576200075e620009df565b816040528381528660208588010111156200077857600080fd5b6200078b8460208301602089016200092c565b9695505050505050565b805160ff81168114620007a757600080fd5b919050565b600060208284031215620007bf57600080fd5b8151620005cf81620009f5565b600080600080600080600080610100898b031215620007ea57600080fd5b8851620007f781620009f5565b60208a01519098506001600160401b03808211156200081557600080fd5b620008238c838d0162000704565b985060408b01519150808211156200083a57600080fd5b50620008498b828c0162000704565b9650506200085a60608a0162000795565b9450608089015193506200087160a08a0162000795565b92506200088160c08a0162000795565b915060e08901516200089381620009f5565b809150509295985092959890939650565b6020815260008251806020840152620008c58160408501602087016200092c565b601f01601f19169190910160400192915050565b600082620008eb57620008eb620009c9565b500490565b60008160001904831182151516156200090d576200090d620009b3565b500290565b600082821015620009275762000927620009b3565b500390565b60005b83811015620009495781810151838201526020016200092f565b8381111562000959576000848401525b50505050565b600181811c908216806200097457607f821691505b602082108114156200099657634e487b7160e01b600052602260045260246000fd5b50919050565b600082620009ae57620009ae620009c9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811462000a0b57600080fd5b50565b60805160601c60a05160601c6139f862000a796000396000818161069401528181611ff701526120d60152600081816104b101528181612bc901528181612c9101528181612ccd01528181612d3f01528181612da701528181612e510152612f4201526139f86000f3fe6080604052600436106103905760003560e01c8063715018a6116101dc578063c0b0fda211610102578063dd467064116100a0578063f25f4b561161006f578063f25f4b5614610ab6578063f2fde38b14610add578063f6a3c9a914610afd578063f887ea4014610b1d57600080fd5b8063dd46706414610a10578063dd62ed3e14610a30578063ea2f0b3714610a76578063efa0880614610a9657600080fd5b8063cbfddf74116100dc578063cbfddf74146109ab578063d12a7688146109c5578063d28d8852146109db578063d543dbeb146109f057600080fd5b8063c0b0fda214610949578063c49b9a801461096a578063c7992f9a1461098a57600080fd5b806395d89b411161017a578063af465a2711610149578063af465a27146108f4578063b09f12661461090a578063b6c523241461091f578063bdc653ef1461093457600080fd5b806395d89b411461088a578063a457c2d71461089f578063a69df4b5146108bf578063a9059cbb146108d457600080fd5b806382d2a4bb116101b657806382d2a4bb146107f357806388f82020146108135780638da5cb5b1461084c57806390d49b9d1461086a57600080fd5b8063715018a6146107a85780637d1db4a5146107bd57806382bf293c146107d357600080fd5b80633bd5d173116102c1578063521432901161025f5780636bc87c3a1161022e5780636bc87c3a146107305780636c0a24eb1461075157806370690b111461076757806370a082311461078857600080fd5b8063521432901461068257806352390c02146106b65780635342acb4146106d657806354ce65781461070f57600080fd5b8063437823ec1161029b578063437823ec146106075780634549b039146106275780634a74bb021461064757806351330a191461066157600080fd5b80633bd5d173146105a55780633c81385c146105c5578063430ca090146105e657600080fd5b80632d6abf871161032e578063324f8dbf11610308578063324f8dbf146105235780633685d4191461054457806339509351146105665780633b124fe71461058657600080fd5b80632d6abf871461049f5780632d838119146104eb578063313ce5671461050b57600080fd5b806315fa749a1161036a57806315fa749a1461041657806318160ddd1461044957806319de79ab1461045e57806323b872dd1461047f57600080fd5b806306fdde031461039c578063095ea7b3146103c757806313114a9d146103f757600080fd5b3661039757005b600080fd5b3480156103a857600080fd5b506103b1610b3d565b6040516103be919061373c565b60405180910390f35b3480156103d357600080fd5b506103e76103e236600461358c565b610bcf565b60405190151581526020016103be565b34801561040357600080fd5b50600d545b6040519081526020016103be565b34801561042257600080fd5b5060035461043790600160c01b900460ff1681565b60405160ff90911681526020016103be565b34801561045557600080fd5b50600b54610408565b34801561046a57600080fd5b5060115461043790600160481b900460ff1681565b34801561048b57600080fd5b506103e761049a36600461354b565b610be6565b3480156104ab57600080fd5b506104d37f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103be565b3480156104f757600080fd5b506104086105063660046135f2565b610c4f565b34801561051757600080fd5b5060115460ff16610437565b34801561052f57600080fd5b5060035461043790600160c81b900460ff1681565b34801561055057600080fd5b5061056461055f3660046134d8565b610cc5565b005b34801561057257600080fd5b506103e761058136600461358c565b610e6f565b34801561059257600080fd5b5060115461043790610100900460ff1681565b3480156105b157600080fd5b506105646105c03660046135f2565b610ea5565b3480156105d157600080fd5b5060035461043790600160b01b900460ff1681565b3480156105f257600080fd5b5060035461043790600160a01b900460ff1681565b34801561061357600080fd5b506105646106223660046134d8565b610f8f565b34801561063357600080fd5b5061040861064236600461360b565b610fdd565b34801561065357600080fd5b506012546103e79060ff1681565b34801561066d57600080fd5b5060035461043790600160b81b900460ff1681565b34801561068e57600080fd5b506104d37f000000000000000000000000000000000000000000000000000000000000000081565b3480156106c257600080fd5b506105646106d13660046134d8565b61106a565b3480156106e257600080fd5b506103e76106f13660046134d8565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561071b57600080fd5b5060115461043790600160381b900460ff1681565b34801561073c57600080fd5b50601154610437906301000000900460ff1681565b34801561075d57600080fd5b5061040860145481565b34801561077357600080fd5b5060035461043790600160d01b900460ff1681565b34801561079457600080fd5b506104086107a33660046134d8565b6111cd565b3480156107b457600080fd5b5061056461122c565b3480156107c957600080fd5b5061040860135481565b3480156107df57600080fd5b506105646107ee3660046135f2565b61128e565b3480156107ff57600080fd5b5061056461080e3660046135f2565b61132d565b34801561081f57600080fd5b506103e761082e3660046134d8565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561085857600080fd5b506000546001600160a01b03166104d3565b34801561087657600080fd5b506105646108853660046134d8565b61136f565b34801561089657600080fd5b506103b161141f565b3480156108ab57600080fd5b506103e76108ba36600461358c565b61142e565b3480156108cb57600080fd5b5061056461147d565b3480156108e057600080fd5b506103e76108ef36600461358c565b611596565b34801561090057600080fd5b50610408600b5481565b34801561091657600080fd5b506103b16115a3565b34801561092b57600080fd5b50600254610408565b34801561094057600080fd5b50601654610408565b34801561095557600080fd5b5060115461043790600160281b900460ff1681565b34801561097657600080fd5b506105646109853660046135b8565b611631565b34801561099657600080fd5b5060035461043790600160a81b900460ff1681565b3480156109b757600080fd5b50600e546103e79060ff1681565b3480156109d157600080fd5b5061040860155481565b3480156109e757600080fd5b506103b16116a2565b3480156109fc57600080fd5b50610564610a0b3660046135f2565b6116af565b348015610a1c57600080fd5b50610564610a2b3660046135f2565b611748565b348015610a3c57600080fd5b50610408610a4b366004613512565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b348015610a8257600080fd5b50610564610a913660046134d8565b6117cd565b348015610aa257600080fd5b50610564610ab136600461358c565b611818565b348015610ac257600080fd5b506011546104d390600160581b90046001600160a01b031681565b348015610ae957600080fd5b50610564610af83660046134d8565b611931565b348015610b0957600080fd5b50610564610b1836600461365e565b611a09565b348015610b2957600080fd5b50600a546104d3906001600160a01b031681565b6060600f8054610b4c90613897565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7890613897565b8015610bc55780601f10610b9a57610100808354040283529160200191610bc5565b820191906000526020600020905b815481529060010190602001808311610ba857829003601f168201915b5050505050905090565b6000610bdc338484611cdb565b5060015b92915050565b6000610bf3848484611de8565b610c458433610c4085604051806060016040528060288152602001613956602891396001600160a01b038a16600090815260066020908152604080832033845290915290205491906121d7565b611cdb565b5060019392505050565b6000600c54821115610ca85760405162461bcd60e51b815260206004820152601e60248201527f416d74206d757374206265206c657373207468616e20746f74207265666c000060448201526064015b60405180910390fd5b6000610cb2612211565b9050610cbe8382611c99565b9392505050565b6000546001600160a01b03163314610cef5760405162461bcd60e51b8152600401610c9f90613791565b6001600160a01b03811660009081526008602052604090205460ff16610d4a5760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e48195e18db1d59195960821b6044820152606401610c9f565b60005b600954811015610e6b57816001600160a01b031660098281548110610d7457610d74613919565b6000918252602090912001546001600160a01b03161415610e595760098054610d9f90600190613880565b81548110610daf57610daf613919565b600091825260209091200154600980546001600160a01b039092169183908110610ddb57610ddb613919565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600582526040808220829055600890925220805460ff191690556009805480610e3357610e33613903565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610e63816138d2565b915050610d4d565b5050565b3360008181526006602090815260408083206001600160a01b03871684529091528120549091610bdc918590610c409086612234565b3360008181526008602052604090205460ff1615610f1a5760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610c9f565b6000610f2583612293565b505050506001600160a01b038416600090815260046020526040902054919250610f51919050826122e2565b6001600160a01b038316600090815260046020526040902055600c54610f7790826122e2565b600c55600d54610f879084612234565b600d55505050565b6000546001600160a01b03163314610fb95760405162461bcd60e51b8152600401610c9f90613791565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000600b548311156110315760405162461bcd60e51b815260206004820152601c60248201527f416d74206d757374206265206c657373207468616e20737570706c79000000006044820152606401610c9f565b8161105057600061104184612293565b50939550610be0945050505050565b600061105b84612293565b50929550610be0945050505050565b6000546001600160a01b031633146110945760405162461bcd60e51b8152600401610c9f90613791565b6001600160a01b03811660009081526008602052604090205460ff161561110d5760405162461bcd60e51b815260206004820152602760248201527f4163636f756e7420697320616c7265616479206578636c756465642066726f6d604482015266081c995dd85c9960ca1b6064820152608401610c9f565b6001600160a01b03811660009081526004602052604090205415611167576001600160a01b03811660009081526004602052604090205461114d90610c4f565b6001600160a01b0382166000908152600560205260409020555b6001600160a01b03166000818152600860205260408120805460ff191660019081179091556009805491820181559091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b0319169091179055565b6001600160a01b03811660009081526008602052604081205460ff161561120a57506001600160a01b031660009081526005602052604090205490565b6001600160a01b038216600090815260046020526040902054610be090610c4f565b6000546001600160a01b031633146112565760405162461bcd60e51b8152600401610c9f90613791565b600080546040516001600160a01b039091169060008051602061397e833981519152908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146112b85760405162461bcd60e51b8152600401610c9f90613791565b600354600160d01b900460ff1681108015906112d5575060648111155b6113075760405162461bcd60e51b815260206004820152600360248201526232b93960e91b6044820152606401610c9f565b611327606461132183600b54611c1a90919063ffffffff16565b90611c99565b60145550565b6000546001600160a01b031633146113575760405162461bcd60e51b8152600401610c9f90613791565b61136981670de0b6b3a7640000613861565b60165550565b6000546001600160a01b031633146113995760405162461bcd60e51b8152600401610c9f90613791565b6001600160a01b0381166113de5760405162461bcd60e51b815260206004820152600c60248201526b5a45524f204144445245535360a01b6044820152606401610c9f565b601180546001600160a01b03909216600160581b027fff0000000000000000000000000000000000000000ffffffffffffffffffffff909216919091179055565b606060108054610b4c90613897565b6000610bdc3384610c408560405180606001604052806025815260200161399e602591393360009081526006602090815260408083206001600160a01b038d16845290915290205491906121d7565b6001546001600160a01b031633146114f65760405162461bcd60e51b815260206004820152603660248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152751bd8dac81d1a19481d1bdad95b8818dbdb9d1c9858dd60521b6064820152608401610c9f565b60025442116115475760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c20372064617973006044820152606401610c9f565b600154600080546040516001600160a01b03938416939091169160008051602061397e83398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b6000610bdc338484611de8565b601080546115b090613897565b80601f01602080910402602001604051908101604052809291908181526020018280546115dc90613897565b80156116295780601f106115fe57610100808354040283529160200191611629565b820191906000526020600020905b81548152906001019060200180831161160c57829003601f168201915b505050505081565b6000546001600160a01b0316331461165b5760405162461bcd60e51b8152600401610c9f90613791565b6012805460ff19168215159081179091556040519081527f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599060200160405180910390a150565b600f80546115b090613897565b6000546001600160a01b031633146116d95760405162461bcd60e51b8152600401610c9f90613791565b600354600160c81b900460ff1681108015906116f6575060648111155b6117285760405162461bcd60e51b815260206004820152600360248201526232b93960e91b6044820152606401610c9f565b611742606461132183600b54611c1a90919063ffffffff16565b60135550565b6000546001600160a01b031633146117725760405162461bcd60e51b8152600401610c9f90613791565b60008054600180546001600160a01b03199081166001600160a01b038416179091551690556117a18142613802565b600255600080546040516001600160a01b039091169060008051602061397e833981519152908390a350565b6000546001600160a01b031633146117f75760405162461bcd60e51b8152600401610c9f90613791565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6000546001600160a01b031633146118425760405162461bcd60e51b8152600401610c9f90613791565b6001600160a01b03821630141561188b5760405162461bcd60e51b815260206004820152600d60248201526c53656c6620776974686472617760981b6044820152606401610c9f565b816001600160a01b031663a9059cbb6118ac6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b1580156118f457600080fd5b505af1158015611908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192c91906135d5565b505050565b6000546001600160a01b0316331461195b5760405162461bcd60e51b8152600401610c9f90613791565b6001600160a01b0381166119c05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c9f565b600080546040516001600160a01b038085169392169160008051602061397e83398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314611a335760405162461bcd60e51b8152600401610c9f90613791565b60035460ff600160a81b90910481169086161115611a7c5760405162461bcd60e51b81526020600482015260066024820152652a231032b93960d11b6044820152606401610c9f565b60035460ff600160a01b90910481169085161115611ac55760405162461bcd60e51b815260206004820152600660248201526526231032b93960d11b6044820152606401610c9f565b60035460ff600160b01b90910481169084161115611b0e5760405162461bcd60e51b815260206004820152600660248201526521231032b93960d11b6044820152606401610c9f565b60035460ff600160b81b90910481169083161115611b575760405162461bcd60e51b81526020600482015260066024820152652ba31032b93960d11b6044820152606401610c9f565b60035460ff600160c01b90910481169082161115611ba15760405162461bcd60e51b81526020600482015260076024820152662121231032b93960c91b6044820152606401610c9f565b6011805463ff00ff00191661010060ff9788160263ff0000001916176301000000958716959095029490941769ff000000ff00000000001916600160281b9386169390930260ff60481b191692909217600160481b928516929092029190911760ff60381b1916600160381b9190931602919091179055565b600082611c2957506000610be0565b6000611c358385613861565b905082611c42858361383f565b14610cbe5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610c9f565b6000610cbe83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612324565b6001600160a01b038316611d315760405162461bcd60e51b815260206004820181905260248201527f45524332303a20617070726f76652066726f6d207a65726f20616464726573736044820152606401610c9f565b6001600160a01b038216611d875760405162461bcd60e51b815260206004820152601e60248201527f45524332303a20617070726f766520746f207a65726f206164647265737300006044820152606401610c9f565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611e485760405162461bcd60e51b815260206004820152602160248201527f45524332303a207472616e736665722066726f6d207a65726f206164647265736044820152607360f81b6064820152608401610c9f565b6001600160a01b038216611e9e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a207472616e7366657220746f207a65726f2061646472657373006044820152606401610c9f565b60008111611f005760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610c9f565b6000546001600160a01b03848116911614801590611f2c57506000546001600160a01b03838116911614155b15611f9457601354811115611f945760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610c9f565b6000546001600160a01b03848116911614801590611fc057506000546001600160a01b03838116911614155b8015611fd457506001600160a01b03821615155b8015611fee57506003546001600160a01b03838116911614155b801561202c57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b1561209c57600061203c836111cd565b60145490915061204c8383613802565b111561209a5760405162461bcd60e51b815260206004820152601d60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e740000006044820152606401610c9f565b505b60006120a7306111cd565b905060135481106120b757506013545b6015546011549082101590600160f81b900460ff1615801561210a57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316145b8015612118575060125460ff165b1561217857801561213157601554915061213182612352565b601154600160481b900460ff16156121785747670de0b6b3a76400008111156121765760165481111561216357506016545b612176612171826064611c99565b612577565b505b6001600160a01b03851660009081526007602052604090205460019060ff16806121ba57506001600160a01b03851660009081526007602052604090205460ff165b156121c3575060005b6121cf868686846125ad565b505050505050565b600081848411156121fb5760405162461bcd60e51b8152600401610c9f919061373c565b5060006122088486613880565b95945050505050565b600080600061221e6127ce565b909250905061222d8282611c99565b9250505090565b6000806122418385613802565b905083811015610cbe5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610c9f565b60008060008060008060008060006122aa8a612950565b92509250925060008060006122c88d86866122c3612211565b612992565b919f909e50909c50959a5093985091965092945050505050565b6000610cbe83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506121d7565b600081836123455760405162461bcd60e51b8152600401610c9f919061373c565b506000612208848661383f565b601180546001600160f81b0316600160f81b1790819055600090600160481b810460ff908116916301000000810482169161239f91600160381b8104821691600160281b9091041661381a565b6123a9919061381a565b6123b3919061381a565b6011549091506000908190600160281b900460ff1615612412576011546123f49060ff600160281b9091048116906123ee9087908716611c99565b90611c1a565b60035490925061240f9030906001600160a01b0316846129e2565b50805b601154600160381b900460ff1615612474576011546124459060ff600160381b9091048116906123ee9087908716611c99565b9150612467306011600b9054906101000a90046001600160a01b0316846129e2565b6124718282613802565b90505b601154600160481b900460ff16156124bf576011546124a79060ff600160481b9091048116906123ee9087908716611c99565b91506124b282612b72565b6124bc8282613802565b90505b6011546301000000900460ff1615612562576124db84826122e2565b935060006124ea856002611c99565b905060006124f886836122e2565b90504761250483612b72565b600061251047836122e2565b905061251c8382612d39565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a1505050505b5050601180546001600160f81b031690555050565b601180546001600160f81b0316600160f81b179055801561259b5761259b81612e2e565b50601180546001600160f81b03169055565b806125ba576125ba612fd3565b6001600160a01b03841660009081526008602052604090205460ff1680156125fb57506001600160a01b03831660009081526008602052604090205460ff16155b156126105761260b84848461310f565b61270e565b6001600160a01b03841660009081526008602052604090205460ff1615801561265157506001600160a01b03831660009081526008602052604090205460ff165b156126615761260b848484613235565b6001600160a01b03841660009081526008602052604090205460ff161580156126a357506001600160a01b03831660009081526008602052604090205460ff16155b156126b35761260b8484846132de565b6001600160a01b03841660009081526008602052604090205460ff1680156126f357506001600160a01b03831660009081526008602052604090205460ff165b156127035761260b848484613322565b61270e8484846132de565b806127c8576011805460ff60481b1967ff00ff00000000001963ff00ff0019831663ff0000001961010062010000860460ff908116919091029182169290921764010000000061ff00199096169091179490940481166301000000029390931790811660ff60381b19660100000000000083048516600160281b0290811691909117600160401b65ff000000000019909316909117919091048316600160381b0217908116600160501b909104909116600160481b021790555b50505050565b600c54600b546000918291825b600954811015612920578260046000600984815481106127fd576127fd613919565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180612868575081600560006009848154811061284157612841613919565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561287e57600c54600b54945094505050509091565b6128c4600460006009848154811061289857612898613919565b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906122e2565b925061290c60056000600984815481106128e0576128e0613919565b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906122e2565b915080612918816138d2565b9150506127db565b50600b54600c5461293091611c99565b82101561294757600c54600b549350935050509091565b90939092509050565b60008060008061295f85613395565b9050600061296c866133b5565b905060006129848261297e89866122e2565b906122e2565b979296509094509092505050565b60008080806129a18886611c1a565b905060006129af8887611c1a565b905060006129bd8888611c1a565b905060006129cf8261297e86866122e2565b939b939a50919850919650505050505050565b60006129ec612211565b905060006129fa8383611c1a565b6001600160a01b038616600090815260046020526040902054909150612a2090826122e2565b6001600160a01b038087166000908152600460205260408082209390935590861681522054612a4f9082612234565b6001600160a01b0380861660009081526004602090815260408083209490945591881681526008909152205460ff1615612ac0576001600160a01b038516600090815260056020526040902054612aa690846122e2565b6001600160a01b0386166000908152600560205260409020555b6001600160a01b03841660009081526008602052604090205460ff1615612b1e576001600160a01b038416600090815260056020526040902054612b049084612234565b6001600160a01b0385166000908152600560205260409020555b836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612b6391815260200190565b60405180910390a35050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612ba757612ba7613919565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015612c2057600080fd5b505afa158015612c34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c5891906134f5565b81600181518110612c6b57612c6b613919565b60200260200101906001600160a01b031690816001600160a01b031681525050612cb6307f000000000000000000000000000000000000000000000000000000000000000084611cdb565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612d0b9085906000908690309042906004016137c6565b600060405180830381600087803b158015612d2557600080fd5b505af11580156121cf573d6000803e3d6000fd5b612d64307f000000000000000000000000000000000000000000000000000000000000000084611cdb565b60035460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c4016060604051808303818588803b158015612dee57600080fd5b505af1158015612e02573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612e279190613630565b5050505050565b6040805160028082526060820183526000926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015612ea857600080fd5b505afa158015612ebc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ee091906134f5565b81600081518110612ef357612ef3613919565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110612f2757612f27613919565b6001600160a01b0392831660209182029290920101526003547f000000000000000000000000000000000000000000000000000000000000000082169163b6f9de95918591600091869116612f7e4261012c612234565b6040518663ffffffff1660e01b8152600401612f9d9493929190613707565b6000604051808303818588803b158015612fb657600080fd5b505af1158015612fca573d6000803e3d6000fd5b50505050505050565b601154610100900460ff16158015612ff557506011546301000000900460ff16155b801561300b5750601154600160281b900460ff16155b80156130215750601154600160381b900460ff16155b80156130375750601154600160481b900460ff16155b1561303e57565b601180546affff00ff00ff00ff00ff001968ff00ff0000000000001964ff00ff000019831664ff0000000019610100850460ff908116620100000291821692909217630100000062ff000019909616909117949094048116640100000000029390931790811668ff000000000000000019600160281b8304851666010000000000000290811691909117600160381b66ff00000000000019909316909117919091048316600160401b0217908116600160481b909104909116600160501b0269ff00ff00ff00ff00ff001916179055565b60008060008060008061312187612293565b6001600160a01b038f16600090815260056020526040902054959b5093995091975095509350915061315390886122e2565b6001600160a01b038a1660009081526005602090815260408083209390935560049052205461318290876122e2565b6001600160a01b03808b1660009081526004602052604080822093909355908a16815220546131b19086612234565b6001600160a01b0389166000908152600460205260409020556131d381613416565b6131dd848361349e565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161322291815260200190565b60405180910390a3505050505050505050565b60008060008060008061324787612293565b6001600160a01b038f16600090815260046020526040902054959b5093995091975095509350915061327990876122e2565b6001600160a01b03808b16600090815260046020908152604080832094909455918b168152600590915220546132af9084612234565b6001600160a01b0389166000908152600560209081526040808320939093556004905220546131b19086612234565b6000806000806000806132f087612293565b6001600160a01b038f16600090815260046020526040902054959b5093995091975095509350915061318290876122e2565b60008060008060008061333487612293565b6001600160a01b038f16600090815260056020526040902054959b5093995091975095509350915061336690886122e2565b6001600160a01b038a1660009081526005602090815260408083209390935560049052205461327990876122e2565b601154600090610be090606490611321908590610100900460ff16611c1a565b601154600090610be0906064906113219060ff600160481b8204811691600160381b81048216916133f891600160281b810482169163010000009091041661381a565b613402919061381a565b61340c919061381a565b859060ff16611c1a565b6000613420612211565b9050600061342e8383611c1a565b3060009081526004602052604090205490915061344b9082612234565b3060009081526004602090815260408083209390935560089052205460ff161561192c57306000908152600560205260409020546134899084612234565b30600090815260056020526040902055505050565b600c546134ab90836122e2565b600c55600d546134bb9082612234565b600d555050565b803560ff811681146134d357600080fd5b919050565b6000602082840312156134ea57600080fd5b8135610cbe8161392f565b60006020828403121561350757600080fd5b8151610cbe8161392f565b6000806040838503121561352557600080fd5b82356135308161392f565b915060208301356135408161392f565b809150509250929050565b60008060006060848603121561356057600080fd5b833561356b8161392f565b9250602084013561357b8161392f565b929592945050506040919091013590565b6000806040838503121561359f57600080fd5b82356135aa8161392f565b946020939093013593505050565b6000602082840312156135ca57600080fd5b8135610cbe81613947565b6000602082840312156135e757600080fd5b8151610cbe81613947565b60006020828403121561360457600080fd5b5035919050565b6000806040838503121561361e57600080fd5b82359150602083013561354081613947565b60008060006060848603121561364557600080fd5b8351925060208401519150604084015190509250925092565b600080600080600060a0868803121561367657600080fd5b61367f866134c2565b945061368d602087016134c2565b935061369b604087016134c2565b92506136a9606087016134c2565b91506136b7608087016134c2565b90509295509295909350565b600081518084526020808501945080840160005b838110156136fc5781516001600160a01b0316875295820195908201906001016136d7565b509495945050505050565b84815260806020820152600061372060808301866136c3565b6001600160a01b03949094166040830152506060015292915050565b600060208083528351808285015260005b818110156137695785810183015185820160400152820161374d565b8181111561377b576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b85815284602082015260a0604082015260006137e560a08301866136c3565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115613815576138156138ed565b500190565b600060ff821660ff84168060ff03821115613837576138376138ed565b019392505050565b60008261385c57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561387b5761387b6138ed565b500290565b600082821015613892576138926138ed565b500390565b600181811c908216806138ab57607f821691505b602082108114156138cc57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156138e6576138e66138ed565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461394457600080fd5b50565b801515811461394457600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63658be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122018a4fa8ccb19137bbab58a51b463c73f9d07e984416e1cd663dba9703ac67a8464736f6c63430008060033000000000000000000000000d6a2e32fe29ad976ef426095fba85c441985be3b000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000a56fa5b99019a5c80000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000070f0f3d360b2a9ac66b3c67d827f7549f1d486b50000000000000000000000000000000000000000000000000000000000000003424f5400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003424f540000000000000000000000000000000000000000000000000000000000

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000d6a2e32fe29ad976ef426095fba85c441985be3b000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000a56fa5b99019a5c80000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000070f0f3d360b2a9ac66b3c67d827f7549f1d486b50000000000000000000000000000000000000000000000000000000000000003424f5400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003424f540000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : tokenOwner (address): 0xd6a2e32fe29ad976ef426095fba85c441985be3b
Arg [1] : tokenName (string): BOT
Arg [2] : tokenSymbol (string): BOT
Arg [3] : decimal (uint8): 18
Arg [4] : amountOfTokenWei (uint256): 200000000000000000000000000
Arg [5] : setMxTxPer (uint8): 1
Arg [6] : setMxWalletPer (uint8): 1
Arg [7] : _feeWallet (address): 0x70f0f3d360b2a9ac66b3c67d827f7549f1d486b5

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 000000000000000000000000d6a2e32fe29ad976ef426095fba85c441985be3b
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 000000000000000000000000000000000000000000a56fa5b99019a5c8000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [7] : 00000000000000000000000070f0f3d360b2a9ac66b3c67d827f7549f1d486b5
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 424f540000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [11] : 424f540000000000000000000000000000000000000000000000000000000000


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