ETH Price: $2,810.22 (+3.26%)
 

Overview

Max Total Supply

1,000,000,000,000,000 safeMESSIAH 🍆

Holders

24

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
8,624,068,905.433080749 safeMESSIAH 🍆

Value
$0.00
0x2907f3641ec25eb267009Eab455fd12fc9134fD6
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SafeMessiahToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : SafeMessiahToken.sol
/*
Safe Messiah (safeMessiah)
We developed new protocol (RFI + BEE + SafeMoon + DOGE + SHIB)
- Limit Buy
- Cooldown
- Bot Protect
- Auto LP Growth (SafeMoon)
- Auto Redistribute (RFI)
- No DEV tokens or DEV fee
- Ownership Rennouce

Project Fair launch and Liqudity is provided by dev

Join to the community: https://t.me/safemessiahtoken
Website: TBA
CG, CMC listing: Ongoing
*/

/*
⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⣠⣴⣶⣶⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢠⣤⣿⣾⣿⣿⣿⣿⣿⣤⣾⣛⣛⠳⢤⣄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢀⣤⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣾⣿⣿⠶⠶⠶⠶⠤⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⠄⠄⠄⠄⡀⣠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⠄⠄⠄⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣤⡀⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⠄⠄⣤⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠋⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⢀⡾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⢸⣷⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣍⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣅⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⢘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡧⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⢸⢿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢀
⠄⠄⠄⠄⠄⠸⠄⢻⣿⣿⣿⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⣤⣀⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⣤⣿
⠄⠄⠄⠄⠄⠄⠄⠸⠿⣇⠻⣦⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠉⠄⠄⠄⠄⠄⠄⠄⠄⠄⣀⠄⠄⠄⠄⠈⠄⠄⠄⠄⠄⠄⠄⠄⠹
⠄⠄⠄⠄⠄⠄⠄⠄⠄⢻⠄⠛⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⡤⠃⠄⠄⡀⣠⠄⠄⠛⠃⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⠄⠄⠄⠄⠄⠉⠄⠄⠈⠱⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠉⠄⠄⠄⠄⠄⠄⠄⠈⠄⠄⢀⡾⠄⠄⠈⠄⣀⣬⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢠⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⠄⠄⠄⢰⣿⣶⣦⣄⠄⠄⠄⣼⠃⠄⠄⠄⢀⣿⠟⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠄⠄⠄⠄⢸⢿⣿⣿⣽⡆⠄⠄⠃⠄⠄⠄⠄⠸⠋⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢠⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠄⠄⠄⠄⠘⢦⣻⣿⣿⠃⠄⠄⠄⠄⠄⠄⢀⣴⣶⣶⣶⣦⡀⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⠄⠄⠄⠄⠄⠄⠉⠉⠉⠄⠄⠄⠄⠄⠄⢠⣾⣿⣿⣿⣿⣿⣿⣦⡀⠄⠄⠄⠄⠄
⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢙⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⠄⠄⠄⠄⠄⠄⠄⠄⠰⠆⠄⠄⠄⠄⠄⠄⠾⠿⢿⣿⣿⣿⣿⡿⠉⠉⠲⣄⠄⠄⠄
⠄⠄⠄⠄⠄⠄⠄⢠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠄⠄⠄⠄⠄⠄⠄⠄⠘⠃⠤⣤⣾⡿⠏⠄⠄⠄⠄⠙⠛⠛⠋⠄⠄⠄⠄⠈⠛⠛⠆
⠄⠄⠄⠄⢀⣰⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠄⠄⠄⠄⠄⠄⠄⠄⠄⢱⣶⠟⠋⠁⠄⡀⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⠄⠄⢠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⠄⠄⠄⠄⠄⠄⠄⠄⠄⢸⠗⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⠄⢀⣀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡀⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣤⡀⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄
*/

pragma solidity ^0.8.4;

// SPDX-License-Identifier: Unlicensed
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) {
        return msg.sender;
    }

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

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

/**
 * @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.
 */
contract Ownable is Context {
    address private _owner;
    address private _originalOwner;

    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;
        _originalOwner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

// pragma solidity >=0.5.0;

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

    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(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

// pragma solidity >=0.5.0;

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

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, 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,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETH(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountToken, uint256 amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
}

// pragma solidity >=0.6.2;

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

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

    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;

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

    string private _name = "Safe Messiah";
    string private _symbol = "safeMESSIAH \xF0\x9F\x8D\x86";
    uint8 private _decimals = 9;

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

    uint256 public _liquidityFee = 7;
    uint256 private _previousLiquidityFee = _liquidityFee;

    mapping(address => bool) private bots;
    mapping(address => uint256) private cooldown;

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;
    address payable _charityWalletAddress;

    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = true;
    bool public cooldownEnabled = false;

    uint256 public _maxTxAmount = 5000000 * 10**6 * 10**9;
    uint256 private numTokensSellToAddToLiquidity = 500000 * 10**6 * 10**9;

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

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

    constructor(address payable charityWalletAddress) {
        _charityWalletAddress = charityWalletAddress;
        _rOwned[_msgSender()] = _rTotal;

        IUniswapV2Router02 _uniswapV2Router =
            IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        // Create a uniswap pair for this new token
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        // set the rest of the contract variables
        uniswapV2Router = _uniswapV2Router;
        _approve(address(this), address(_uniswapV2Router), type(uint256).max);

        cooldownEnabled = true;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _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 setTaxFeePercent(uint256 taxFee) external onlyOwner() {
        _taxFee = taxFee;
    }

    function setCooldownEnabled(bool onoff) external onlyOwner() {
        cooldownEnabled = onoff;
    }

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

    function setBots(address[] memory bots_) public onlyOwner {
        for (uint256 i = 0; i < bots_.length; i++) {
            bots[bots_[i]] = true;
        }
    }

    function delBot(address notbot) public onlyOwner {
        bots[notbot] = false;
    }

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

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

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

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

    function sendETHToCharity(uint256 amount) private {
        swapTokensForEth(amount);
        _charityWalletAddress.transfer(address(this).balance);
    }

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

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

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

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

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

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

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

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

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

        _previousTaxFee = _taxFee;
        _previousLiquidityFee = _liquidityFee;

        _taxFee = 0;
        _liquidityFee = 0;
    }

    function restoreAllFee() private {
        _taxFee = _previousTaxFee;
        _liquidityFee = _previousLiquidityFee;
    }

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

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) private {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        if (from != owner() && to != owner()) {
            if (cooldownEnabled) {
                if (
                    from != address(this) &&
                    to != address(this) &&
                    from != address(uniswapV2Router) &&
                    to != address(uniswapV2Router)
                ) {
                    require(
                        _msgSender() == address(uniswapV2Router) ||
                            _msgSender() == uniswapV2Pair,
                        "ERR: Uniswap only"
                    );
                }
            }
            require(
                amount <= _maxTxAmount,
                "Transfer amount exceeds the maxTxAmount."
            );
            require(!bots[from] && !bots[to]);
            if (
                from == uniswapV2Pair &&
                to != address(uniswapV2Router) &&
                !_isExcludedFromFee[to] &&
                cooldownEnabled
            ) {
                require(cooldown[to] < block.timestamp);
                cooldown[to] = block.timestamp + (60 seconds);
            }

            // 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 (
                overMinTokenBalance &&
                !inSwapAndLiquify &&
                from != uniswapV2Pair &&
                swapAndLiquifyEnabled
            ) {
                contractTokenBalance = numTokensSellToAddToLiquidity;
                //add liquidity
                swapAndLiquify(contractTokenBalance);
            }
        }

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

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

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

    function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
        // split the contract balance into halves
        uint256 halfOfLiquify = contractTokenBalance.div(4);
        uint256 otherHalfOfLiquify = contractTokenBalance.div(4);
        uint256 portionForFees =
            contractTokenBalance.sub(halfOfLiquify).sub(otherHalfOfLiquify);

        // capture the contract's current ETH balance.
        // this is so that we can capture exactly the amount of ETH that the
        // swap creates, and not make the liquidity event include any ETH that
        // has been manually sent to the contract
        uint256 initialBalance = address(this).balance;

        // swap tokens for ETH
        swapTokensForEth(halfOfLiquify); // <- 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(otherHalfOfLiquify, newBalance);
        sendETHToCharity(portionForFees);

        emit SwapAndLiquify(halfOfLiquify, newBalance, otherHalfOfLiquify);
    }

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

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

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // add the liquidity
        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            originalOwner(),
            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 _rescueTokens(address _token) external onlyOwner() {
        if (_token == address(0)) {
            _charityWalletAddress.transfer(address(this).balance);
        } else {
            uint256 amount = IERC20(_token).balanceOf(address(this));
            IERC20(_token).transfer(_charityWalletAddress, amount);
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"charityWalletAddress","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":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"_rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_taxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cooldownEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"notbot","type":"address"}],"name":"delBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"originalOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"bots_","type":"address[]"}],"name":"setBots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"onoff","type":"bool"}],"name":"setCooldownEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"setLiquidityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxPercent","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFee","type":"uint256"}],"name":"setTaxFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c060405269d3c21bcecceda100000060088190556200002290600019620006b8565b620000309060001962000657565b60095560408051808201909152600c8082526b0a6c2ccca409acae6e6d2c2d60a31b60209092019182526200006891600b916200058b565b506040805180820190915260108082526f39b0b332a6a2a9a9a4a0a410784fc6c360811b6020909201918252620000a291600c916200058b565b50600d805460ff191660091790556003600e819055600f55600760108190556011556014805461ffff60a81b1916600160a81b17905569010f0cf064dd59200000601555681b1ae4d6e2ef5000006016553480156200010057600080fd5b506040516200307538038062003075833981016040819052620001239162000631565b60008054336001600160a01b031991821681178355600180549092168117909155604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350601480546001600160a01b0319166001600160a01b038316179055600954600260006200019b3390565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200021257600080fd5b505afa15801562000227573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024d919062000631565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200029657600080fd5b505afa158015620002ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d1919062000631565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200031a57600080fd5b505af11580156200032f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000355919062000631565b6001600160601b0319606091821b811660a0529082901b166080526200037f30826000196200045f565b6014805460ff60b01b1916600160b01b179055600160056000620003ab6000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790559086168152600590925280822080548416600190811790915530835291208054909216179055620004073390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6008546040516200044f91815260200190565b60405180910390a35050620006f2565b6001600160a01b038316620004c75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b0382166200052a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620004be565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b82805462000599906200067b565b90600052602060002090601f016020900481019282620005bd576000855562000608565b82601f10620005d857805160ff191683800117855562000608565b8280016001018555821562000608579182015b8281111562000608578251825591602001919060010190620005eb565b50620006169291506200061a565b5090565b5b808211156200061657600081556001016200061b565b60006020828403121562000643578081fd5b81516200065081620006d9565b9392505050565b6000828210156200067657634e487b7160e01b81526011600452602481fd5b500390565b600181811c908216806200069057607f821691505b60208210811415620006b257634e487b7160e01b600052602260045260246000fd5b50919050565b600082620006d457634e487b7160e01b81526012600452602481fd5b500690565b6001600160a01b0381168114620006ef57600080fd5b50565b60805160601c60a05160601c6129116200076460003960008181610426015281816113cf015281816114e901526116240152600081816102cd01528181611322015281816113600152818161139d0152818161152501528181611e0901528181611ede0152611f5601526129116000f3fe6080604052600436106102135760003560e01c80636bc87c3a11610118578063a457c2d7116100a0578063c49b9a801161006f578063c49b9a8014610650578063d543dbeb14610670578063dd62ed3e14610690578063f1fffdcb146106d6578063f2fde38b146106f457600080fd5b8063a457c2d7146105cf578063a9059cbb146105ef578063a985ceef1461060f578063b515566a1461063057600080fd5b80637d1db4a5116100e75780637d1db4a51461052d57806388f82020146105435780638da5cb5b1461057c5780638ee88c531461059a57806395d89b41146105ba57600080fd5b80636bc87c3a146104c257806370a08231146104d8578063715018a6146104f8578063734f6e5b1461050d57600080fd5b8063313ce5671161019b5780634549b0391161016a5780634549b039146103f457806349bd5a5e146104145780634a74bb02146104485780635342acb4146104695780635932ead1146104a257600080fd5b8063313ce5671461037c578063395093511461039e5780633b124fe7146103be5780633bd5d173146103d457600080fd5b80631694505e116101e25780631694505e146102bb57806318160ddd1461030757806323b872dd1461031c578063273123b71461033c5780632d8381191461035c57600080fd5b8063061c82d01461021f57806306fdde0314610241578063095ea7b31461026c57806313114a9d1461029c57600080fd5b3661021a57005b600080fd5b34801561022b57600080fd5b5061023f61023a366004612602565b610714565b005b34801561024d57600080fd5b5061025661074c565b6040516102639190612683565b60405180910390f35b34801561027857600080fd5b5061028c6102873660046124d8565b6107de565b6040519015158152602001610263565b3480156102a857600080fd5b50600a545b604051908152602001610263565b3480156102c757600080fd5b506102ef7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610263565b34801561031357600080fd5b506008546102ad565b34801561032857600080fd5b5061028c610337366004612498565b6107f5565b34801561034857600080fd5b5061023f610357366004612428565b61085e565b34801561036857600080fd5b506102ad610377366004612602565b6108a9565b34801561038857600080fd5b50600d5460405160ff9091168152602001610263565b3480156103aa57600080fd5b5061028c6103b93660046124d8565b61092d565b3480156103ca57600080fd5b506102ad600e5481565b3480156103e057600080fd5b5061023f6103ef366004612602565b610963565b34801561040057600080fd5b506102ad61040f366004612632565b610a4d565b34801561042057600080fd5b506102ef7f000000000000000000000000000000000000000000000000000000000000000081565b34801561045457600080fd5b5060145461028c90600160a81b900460ff1681565b34801561047557600080fd5b5061028c610484366004612428565b6001600160a01b031660009081526005602052604090205460ff1690565b3480156104ae57600080fd5b5061023f6104bd3660046125ca565b610ada565b3480156104ce57600080fd5b506102ad60105481565b3480156104e457600080fd5b506102ad6104f3366004612428565b610b22565b34801561050457600080fd5b5061023f610b81565b34801561051957600080fd5b5061023f610528366004612428565b610bf5565b34801561053957600080fd5b506102ad60155481565b34801561054f57600080fd5b5061028c61055e366004612428565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561058857600080fd5b506000546001600160a01b03166102ef565b3480156105a657600080fd5b5061023f6105b5366004612602565b610d72565b3480156105c657600080fd5b50610256610da1565b3480156105db57600080fd5b5061028c6105ea3660046124d8565b610db0565b3480156105fb57600080fd5b5061028c61060a3660046124d8565b610dff565b34801561061b57600080fd5b5060145461028c90600160b01b900460ff1681565b34801561063c57600080fd5b5061023f61064b366004612503565b610e0c565b34801561065c57600080fd5b5061023f61066b3660046125ca565b610eac565b34801561067c57600080fd5b5061023f61068b366004612602565b610f2e565b34801561069c57600080fd5b506102ad6106ab366004612460565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156106e257600080fd5b506001546001600160a01b03166102ef565b34801561070057600080fd5b5061023f61070f366004612428565b610f7e565b6000546001600160a01b031633146107475760405162461bcd60e51b815260040161073e906126d6565b60405180910390fd5b600e55565b6060600b805461075b906127e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610787906127e9565b80156107d45780601f106107a9576101008083540402835291602001916107d4565b820191906000526020600020905b8154815290600101906020018083116107b757829003601f168201915b5050505050905090565b60006107eb338484611068565b5060015b92915050565b600061080284848461118c565b610854843361084f8560405180606001604052806028815260200161288f602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906116e1565b611068565b5060019392505050565b6000546001600160a01b031633146108885760405162461bcd60e51b815260040161073e906126d6565b6001600160a01b03166000908152601260205260409020805460ff19169055565b60006009548211156109105760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161073e565b600061091a61171b565b9050610926838261173e565b9392505050565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916107eb91859061084f9086611780565b3360008181526006602052604090205460ff16156109d85760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b606482015260840161073e565b60006109e3836117df565b505050506001600160a01b038416600090815260026020526040902054919250610a0f9190508261182e565b6001600160a01b038316600090815260026020526040902055600954610a35908261182e565b600955600a54610a459084611780565b600a55505050565b6000600854831115610aa15760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015260640161073e565b81610ac0576000610ab1846117df565b509395506107ef945050505050565b6000610acb846117df565b509295506107ef945050505050565b6000546001600160a01b03163314610b045760405162461bcd60e51b815260040161073e906126d6565b60148054911515600160b01b0260ff60b01b19909216919091179055565b6001600160a01b03811660009081526006602052604081205460ff1615610b5f57506001600160a01b031660009081526003602052604090205490565b6001600160a01b0382166000908152600260205260409020546107ef906108a9565b6000546001600160a01b03163314610bab5760405162461bcd60e51b815260040161073e906126d6565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314610c1f5760405162461bcd60e51b815260040161073e906126d6565b6001600160a01b038116610c6a576014546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c66573d6000803e3d6000fd5b5050565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610cac57600080fd5b505afa158015610cc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce4919061261a565b60145460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925083169063a9059cbb90604401602060405180830381600087803b158015610d3457600080fd5b505af1158015610d48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6c91906125e6565b50505b50565b6000546001600160a01b03163314610d9c5760405162461bcd60e51b815260040161073e906126d6565b601055565b6060600c805461075b906127e9565b60006107eb338461084f856040518060600160405280602581526020016128b7602591393360009081526004602090815260408083206001600160a01b038d16845290915290205491906116e1565b60006107eb33848461118c565b6000546001600160a01b03163314610e365760405162461bcd60e51b815260040161073e906126d6565b60005b8151811015610c6657600160126000848481518110610e6857634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610ea481612824565b915050610e39565b6000546001600160a01b03163314610ed65760405162461bcd60e51b815260040161073e906126d6565b60148054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990610f2390831515815260200190565b60405180910390a150565b6000546001600160a01b03163314610f585760405162461bcd60e51b815260040161073e906126d6565b610f786064610f728360085461187090919063ffffffff16565b9061173e565b60155550565b6000546001600160a01b03163314610fa85760405162461bcd60e51b815260040161073e906126d6565b6001600160a01b03811661100d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161073e565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166110ca5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161073e565b6001600160a01b03821661112b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161073e565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166111f05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161073e565b6001600160a01b0382166112525760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161073e565b600081116112b45760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161073e565b6000546001600160a01b038481169116148015906112e057506000546001600160a01b03838116911614155b1561168457601454600160b01b900460ff1615611439576001600160a01b038316301480159061131957506001600160a01b0382163014155b801561135757507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614155b801561139557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b1561143957337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614806113f95750337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316145b6114395760405162461bcd60e51b81526020600482015260116024820152704552523a20556e6973776170206f6e6c7960781b604482015260640161073e565b60155481111561149c5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b606482015260840161073e565b6001600160a01b03831660009081526012602052604090205460ff161580156114de57506001600160a01b03821660009081526012602052604090205460ff16155b6114e757600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614801561155a57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b801561157f57506001600160a01b03821660009081526005602052604090205460ff16155b80156115945750601454600160b01b900460ff165b156115e2576001600160a01b03821660009081526013602052604090205442116115bd57600080fd5b6115c842603c61277b565b6001600160a01b0383166000908152601360205260409020555b60006115ed30610b22565b905060155481106115fd57506015545b6016548110801590819061161b5750601454600160a01b900460ff16155b801561165957507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b801561166e5750601454600160a81b900460ff165b15611681576016549150611681826118ef565b50505b6001600160a01b03831660009081526005602052604090205460019060ff16806116c657506001600160a01b03831660009081526005602052604090205460ff165b156116cf575060005b6116db848484846119b9565b50505050565b600081848411156117055760405162461bcd60e51b815260040161073e9190612683565b50600061171284866127d2565b95945050505050565b6000806000611728611b30565b9092509050611737828261173e565b9250505090565b600061092683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611cea565b60008061178d838561277b565b9050838110156109265760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161073e565b60008060008060008060008060006117f68a611d18565b92509250925060008060006118148d868661180f61171b565b611d54565b919f909e50909c50959a5093985091965092945050505050565b600061092683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506116e1565b60008261187f575060006107ef565b600061188b83856127b3565b9050826118988583612793565b146109265760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161073e565b6014805460ff60a01b1916600160a01b179055600061190f82600461173e565b9050600061191e83600461173e565b9050600061193682611930868661182e565b9061182e565b90504761194284611da4565b600061194e478361182e565b905061195a8482611f54565b6119638361203e565b60408051868152602081018390529081018590527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506014805460ff60a01b1916905550505050565b806119c6576119c6612080565b6001600160a01b03841660009081526006602052604090205460ff168015611a0757506001600160a01b03831660009081526006602052604090205460ff16155b15611a1c57611a178484846120ae565b611b1a565b6001600160a01b03841660009081526006602052604090205460ff16158015611a5d57506001600160a01b03831660009081526006602052604090205460ff165b15611a6d57611a178484846121d4565b6001600160a01b03841660009081526006602052604090205460ff16158015611aaf57506001600160a01b03831660009081526006602052604090205460ff16155b15611abf57611a1784848461227d565b6001600160a01b03841660009081526006602052604090205460ff168015611aff57506001600160a01b03831660009081526006602052604090205460ff165b15611b0f57611a178484846122c1565b611b1a84848461227d565b806116db576116db600f54600e55601154601055565b6009546008546000918291825b600754811015611cba57826002600060078481548110611b6d57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611be65750816003600060078481548110611bbf57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611bfc57600954600854945094505050509091565b611c506002600060078481548110611c2457634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054849061182e565b9250611ca66003600060078481548110611c7a57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054839061182e565b915080611cb281612824565b915050611b3d565b50600854600954611cca9161173e565b821015611ce1576009546008549350935050509091565b90939092509050565b60008183611d0b5760405162461bcd60e51b815260040161073e9190612683565b5060006117128486612793565b600080600080611d2785612334565b90506000611d3486612350565b90506000611d4682611930898661182e565b979296509094509092505050565b6000808080611d638886611870565b90506000611d718887611870565b90506000611d7f8888611870565b90506000611d9182611930868661182e565b939b939a50919850919650505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611de757634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611e6057600080fd5b505afa158015611e74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e989190612444565b81600181518110611eb957634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac94790611f1e90859060009086903090429060040161270b565b600060405180830381600087803b158015611f3857600080fd5b505af1158015611f4c573d6000803e3d6000fd5b505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d719823085600080611f9b6001546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015611ffe57600080fd5b505af1158015612012573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906120379190612656565b5050505050565b61204781611da4565b6014546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c66573d6000803e3d6000fd5b600e541580156120905750601054155b1561209757565b600e8054600f556010805460115560009182905555565b6000806000806000806120c0876117df565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506120f2908861182e565b6001600160a01b038a16600090815260036020908152604080832093909355600290522054612121908761182e565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546121509086611780565b6001600160a01b0389166000908152600260205260409020556121728161236c565b61217c84836123f4565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516121c191815260200190565b60405180910390a3505050505050505050565b6000806000806000806121e6876117df565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150612218908761182e565b6001600160a01b03808b16600090815260026020908152604080832094909455918b1681526003909152205461224e9084611780565b6001600160a01b0389166000908152600360209081526040808320939093556002905220546121509086611780565b60008060008060008061228f876117df565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150612121908761182e565b6000806000806000806122d3876117df565b6001600160a01b038f16600090815260036020526040902054959b50939950919750955093509150612305908861182e565b6001600160a01b038a16600090815260036020908152604080832093909355600290522054612218908761182e565b60006107ef6064610f72600e548561187090919063ffffffff16565b60006107ef6064610f726010548561187090919063ffffffff16565b600061237661171b565b905060006123848383611870565b306000908152600260205260409020549091506123a19082611780565b3060009081526002602090815260408083209390935560069052205460ff1615610d6c57306000908152600360205260409020546123df9084611780565b30600090815260036020526040902055505050565b600954612401908361182e565b600955600a546124119082611780565b600a555050565b80356124238161286b565b919050565b600060208284031215612439578081fd5b81356109268161286b565b600060208284031215612455578081fd5b81516109268161286b565b60008060408385031215612472578081fd5b823561247d8161286b565b9150602083013561248d8161286b565b809150509250929050565b6000806000606084860312156124ac578081fd5b83356124b78161286b565b925060208401356124c78161286b565b929592945050506040919091013590565b600080604083850312156124ea578182fd5b82356124f58161286b565b946020939093013593505050565b60006020808385031215612515578182fd5b823567ffffffffffffffff8082111561252c578384fd5b818501915085601f83011261253f578384fd5b81358181111561255157612551612855565b8060051b604051601f19603f8301168101818110858211171561257657612576612855565b604052828152858101935084860182860187018a1015612594578788fd5b8795505b838610156125bd576125a981612418565b855260019590950194938601938601612598565b5098975050505050505050565b6000602082840312156125db578081fd5b813561092681612880565b6000602082840312156125f7578081fd5b815161092681612880565b600060208284031215612613578081fd5b5035919050565b60006020828403121561262b578081fd5b5051919050565b60008060408385031215612644578182fd5b82359150602083013561248d81612880565b60008060006060848603121561266a578283fd5b8351925060208401519150604084015190509250925092565b6000602080835283518082850152825b818110156126af57858101830151858201604001528201612693565b818111156126c05783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b8181101561275a5784516001600160a01b031683529383019391830191600101612735565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561278e5761278e61283f565b500190565b6000826127ae57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156127cd576127cd61283f565b500290565b6000828210156127e4576127e461283f565b500390565b600181811c908216806127fd57607f821691505b6020821081141561281e57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156128385761283861283f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d6f57600080fd5b8015158114610d6f57600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d36d765947c797c84f859e53d8284b0a1e74ea6526f6cd0aed93b5f235a41d0464736f6c6343000804003300000000000000000000000003d1b2d9eab6ad9be670a8a7cfbf03c4f26eaeb8

Deployed Bytecode

0x6080604052600436106102135760003560e01c80636bc87c3a11610118578063a457c2d7116100a0578063c49b9a801161006f578063c49b9a8014610650578063d543dbeb14610670578063dd62ed3e14610690578063f1fffdcb146106d6578063f2fde38b146106f457600080fd5b8063a457c2d7146105cf578063a9059cbb146105ef578063a985ceef1461060f578063b515566a1461063057600080fd5b80637d1db4a5116100e75780637d1db4a51461052d57806388f82020146105435780638da5cb5b1461057c5780638ee88c531461059a57806395d89b41146105ba57600080fd5b80636bc87c3a146104c257806370a08231146104d8578063715018a6146104f8578063734f6e5b1461050d57600080fd5b8063313ce5671161019b5780634549b0391161016a5780634549b039146103f457806349bd5a5e146104145780634a74bb02146104485780635342acb4146104695780635932ead1146104a257600080fd5b8063313ce5671461037c578063395093511461039e5780633b124fe7146103be5780633bd5d173146103d457600080fd5b80631694505e116101e25780631694505e146102bb57806318160ddd1461030757806323b872dd1461031c578063273123b71461033c5780632d8381191461035c57600080fd5b8063061c82d01461021f57806306fdde0314610241578063095ea7b31461026c57806313114a9d1461029c57600080fd5b3661021a57005b600080fd5b34801561022b57600080fd5b5061023f61023a366004612602565b610714565b005b34801561024d57600080fd5b5061025661074c565b6040516102639190612683565b60405180910390f35b34801561027857600080fd5b5061028c6102873660046124d8565b6107de565b6040519015158152602001610263565b3480156102a857600080fd5b50600a545b604051908152602001610263565b3480156102c757600080fd5b506102ef7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610263565b34801561031357600080fd5b506008546102ad565b34801561032857600080fd5b5061028c610337366004612498565b6107f5565b34801561034857600080fd5b5061023f610357366004612428565b61085e565b34801561036857600080fd5b506102ad610377366004612602565b6108a9565b34801561038857600080fd5b50600d5460405160ff9091168152602001610263565b3480156103aa57600080fd5b5061028c6103b93660046124d8565b61092d565b3480156103ca57600080fd5b506102ad600e5481565b3480156103e057600080fd5b5061023f6103ef366004612602565b610963565b34801561040057600080fd5b506102ad61040f366004612632565b610a4d565b34801561042057600080fd5b506102ef7f00000000000000000000000015522e4b85d52e8ec337c7bcbd533a56b87fba8381565b34801561045457600080fd5b5060145461028c90600160a81b900460ff1681565b34801561047557600080fd5b5061028c610484366004612428565b6001600160a01b031660009081526005602052604090205460ff1690565b3480156104ae57600080fd5b5061023f6104bd3660046125ca565b610ada565b3480156104ce57600080fd5b506102ad60105481565b3480156104e457600080fd5b506102ad6104f3366004612428565b610b22565b34801561050457600080fd5b5061023f610b81565b34801561051957600080fd5b5061023f610528366004612428565b610bf5565b34801561053957600080fd5b506102ad60155481565b34801561054f57600080fd5b5061028c61055e366004612428565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561058857600080fd5b506000546001600160a01b03166102ef565b3480156105a657600080fd5b5061023f6105b5366004612602565b610d72565b3480156105c657600080fd5b50610256610da1565b3480156105db57600080fd5b5061028c6105ea3660046124d8565b610db0565b3480156105fb57600080fd5b5061028c61060a3660046124d8565b610dff565b34801561061b57600080fd5b5060145461028c90600160b01b900460ff1681565b34801561063c57600080fd5b5061023f61064b366004612503565b610e0c565b34801561065c57600080fd5b5061023f61066b3660046125ca565b610eac565b34801561067c57600080fd5b5061023f61068b366004612602565b610f2e565b34801561069c57600080fd5b506102ad6106ab366004612460565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156106e257600080fd5b506001546001600160a01b03166102ef565b34801561070057600080fd5b5061023f61070f366004612428565b610f7e565b6000546001600160a01b031633146107475760405162461bcd60e51b815260040161073e906126d6565b60405180910390fd5b600e55565b6060600b805461075b906127e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610787906127e9565b80156107d45780601f106107a9576101008083540402835291602001916107d4565b820191906000526020600020905b8154815290600101906020018083116107b757829003601f168201915b5050505050905090565b60006107eb338484611068565b5060015b92915050565b600061080284848461118c565b610854843361084f8560405180606001604052806028815260200161288f602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906116e1565b611068565b5060019392505050565b6000546001600160a01b031633146108885760405162461bcd60e51b815260040161073e906126d6565b6001600160a01b03166000908152601260205260409020805460ff19169055565b60006009548211156109105760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161073e565b600061091a61171b565b9050610926838261173e565b9392505050565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916107eb91859061084f9086611780565b3360008181526006602052604090205460ff16156109d85760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b606482015260840161073e565b60006109e3836117df565b505050506001600160a01b038416600090815260026020526040902054919250610a0f9190508261182e565b6001600160a01b038316600090815260026020526040902055600954610a35908261182e565b600955600a54610a459084611780565b600a55505050565b6000600854831115610aa15760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015260640161073e565b81610ac0576000610ab1846117df565b509395506107ef945050505050565b6000610acb846117df565b509295506107ef945050505050565b6000546001600160a01b03163314610b045760405162461bcd60e51b815260040161073e906126d6565b60148054911515600160b01b0260ff60b01b19909216919091179055565b6001600160a01b03811660009081526006602052604081205460ff1615610b5f57506001600160a01b031660009081526003602052604090205490565b6001600160a01b0382166000908152600260205260409020546107ef906108a9565b6000546001600160a01b03163314610bab5760405162461bcd60e51b815260040161073e906126d6565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314610c1f5760405162461bcd60e51b815260040161073e906126d6565b6001600160a01b038116610c6a576014546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c66573d6000803e3d6000fd5b5050565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610cac57600080fd5b505afa158015610cc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce4919061261a565b60145460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925083169063a9059cbb90604401602060405180830381600087803b158015610d3457600080fd5b505af1158015610d48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6c91906125e6565b50505b50565b6000546001600160a01b03163314610d9c5760405162461bcd60e51b815260040161073e906126d6565b601055565b6060600c805461075b906127e9565b60006107eb338461084f856040518060600160405280602581526020016128b7602591393360009081526004602090815260408083206001600160a01b038d16845290915290205491906116e1565b60006107eb33848461118c565b6000546001600160a01b03163314610e365760405162461bcd60e51b815260040161073e906126d6565b60005b8151811015610c6657600160126000848481518110610e6857634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610ea481612824565b915050610e39565b6000546001600160a01b03163314610ed65760405162461bcd60e51b815260040161073e906126d6565b60148054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990610f2390831515815260200190565b60405180910390a150565b6000546001600160a01b03163314610f585760405162461bcd60e51b815260040161073e906126d6565b610f786064610f728360085461187090919063ffffffff16565b9061173e565b60155550565b6000546001600160a01b03163314610fa85760405162461bcd60e51b815260040161073e906126d6565b6001600160a01b03811661100d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161073e565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166110ca5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161073e565b6001600160a01b03821661112b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161073e565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166111f05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161073e565b6001600160a01b0382166112525760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161073e565b600081116112b45760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161073e565b6000546001600160a01b038481169116148015906112e057506000546001600160a01b03838116911614155b1561168457601454600160b01b900460ff1615611439576001600160a01b038316301480159061131957506001600160a01b0382163014155b801561135757507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316836001600160a01b031614155b801561139557507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b1561143957337f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031614806113f95750337f00000000000000000000000015522e4b85d52e8ec337c7bcbd533a56b87fba836001600160a01b0316145b6114395760405162461bcd60e51b81526020600482015260116024820152704552523a20556e6973776170206f6e6c7960781b604482015260640161073e565b60155481111561149c5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b606482015260840161073e565b6001600160a01b03831660009081526012602052604090205460ff161580156114de57506001600160a01b03821660009081526012602052604090205460ff16155b6114e757600080fd5b7f00000000000000000000000015522e4b85d52e8ec337c7bcbd533a56b87fba836001600160a01b0316836001600160a01b031614801561155a57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b801561157f57506001600160a01b03821660009081526005602052604090205460ff16155b80156115945750601454600160b01b900460ff165b156115e2576001600160a01b03821660009081526013602052604090205442116115bd57600080fd5b6115c842603c61277b565b6001600160a01b0383166000908152601360205260409020555b60006115ed30610b22565b905060155481106115fd57506015545b6016548110801590819061161b5750601454600160a01b900460ff16155b801561165957507f00000000000000000000000015522e4b85d52e8ec337c7bcbd533a56b87fba836001600160a01b0316856001600160a01b031614155b801561166e5750601454600160a81b900460ff165b15611681576016549150611681826118ef565b50505b6001600160a01b03831660009081526005602052604090205460019060ff16806116c657506001600160a01b03831660009081526005602052604090205460ff165b156116cf575060005b6116db848484846119b9565b50505050565b600081848411156117055760405162461bcd60e51b815260040161073e9190612683565b50600061171284866127d2565b95945050505050565b6000806000611728611b30565b9092509050611737828261173e565b9250505090565b600061092683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611cea565b60008061178d838561277b565b9050838110156109265760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161073e565b60008060008060008060008060006117f68a611d18565b92509250925060008060006118148d868661180f61171b565b611d54565b919f909e50909c50959a5093985091965092945050505050565b600061092683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506116e1565b60008261187f575060006107ef565b600061188b83856127b3565b9050826118988583612793565b146109265760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161073e565b6014805460ff60a01b1916600160a01b179055600061190f82600461173e565b9050600061191e83600461173e565b9050600061193682611930868661182e565b9061182e565b90504761194284611da4565b600061194e478361182e565b905061195a8482611f54565b6119638361203e565b60408051868152602081018390529081018590527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506014805460ff60a01b1916905550505050565b806119c6576119c6612080565b6001600160a01b03841660009081526006602052604090205460ff168015611a0757506001600160a01b03831660009081526006602052604090205460ff16155b15611a1c57611a178484846120ae565b611b1a565b6001600160a01b03841660009081526006602052604090205460ff16158015611a5d57506001600160a01b03831660009081526006602052604090205460ff165b15611a6d57611a178484846121d4565b6001600160a01b03841660009081526006602052604090205460ff16158015611aaf57506001600160a01b03831660009081526006602052604090205460ff16155b15611abf57611a1784848461227d565b6001600160a01b03841660009081526006602052604090205460ff168015611aff57506001600160a01b03831660009081526006602052604090205460ff165b15611b0f57611a178484846122c1565b611b1a84848461227d565b806116db576116db600f54600e55601154601055565b6009546008546000918291825b600754811015611cba57826002600060078481548110611b6d57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611be65750816003600060078481548110611bbf57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611bfc57600954600854945094505050509091565b611c506002600060078481548110611c2457634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054849061182e565b9250611ca66003600060078481548110611c7a57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054839061182e565b915080611cb281612824565b915050611b3d565b50600854600954611cca9161173e565b821015611ce1576009546008549350935050509091565b90939092509050565b60008183611d0b5760405162461bcd60e51b815260040161073e9190612683565b5060006117128486612793565b600080600080611d2785612334565b90506000611d3486612350565b90506000611d4682611930898661182e565b979296509094509092505050565b6000808080611d638886611870565b90506000611d718887611870565b90506000611d7f8888611870565b90506000611d9182611930868661182e565b939b939a50919850919650505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611de757634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611e6057600080fd5b505afa158015611e74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e989190612444565b81600181518110611eb957634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063791ac94790611f1e90859060009086903090429060040161270b565b600060405180830381600087803b158015611f3857600080fd5b505af1158015611f4c573d6000803e3d6000fd5b505050505050565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d719823085600080611f9b6001546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015611ffe57600080fd5b505af1158015612012573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906120379190612656565b5050505050565b61204781611da4565b6014546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c66573d6000803e3d6000fd5b600e541580156120905750601054155b1561209757565b600e8054600f556010805460115560009182905555565b6000806000806000806120c0876117df565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506120f2908861182e565b6001600160a01b038a16600090815260036020908152604080832093909355600290522054612121908761182e565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546121509086611780565b6001600160a01b0389166000908152600260205260409020556121728161236c565b61217c84836123f4565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516121c191815260200190565b60405180910390a3505050505050505050565b6000806000806000806121e6876117df565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150612218908761182e565b6001600160a01b03808b16600090815260026020908152604080832094909455918b1681526003909152205461224e9084611780565b6001600160a01b0389166000908152600360209081526040808320939093556002905220546121509086611780565b60008060008060008061228f876117df565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150612121908761182e565b6000806000806000806122d3876117df565b6001600160a01b038f16600090815260036020526040902054959b50939950919750955093509150612305908861182e565b6001600160a01b038a16600090815260036020908152604080832093909355600290522054612218908761182e565b60006107ef6064610f72600e548561187090919063ffffffff16565b60006107ef6064610f726010548561187090919063ffffffff16565b600061237661171b565b905060006123848383611870565b306000908152600260205260409020549091506123a19082611780565b3060009081526002602090815260408083209390935560069052205460ff1615610d6c57306000908152600360205260409020546123df9084611780565b30600090815260036020526040902055505050565b600954612401908361182e565b600955600a546124119082611780565b600a555050565b80356124238161286b565b919050565b600060208284031215612439578081fd5b81356109268161286b565b600060208284031215612455578081fd5b81516109268161286b565b60008060408385031215612472578081fd5b823561247d8161286b565b9150602083013561248d8161286b565b809150509250929050565b6000806000606084860312156124ac578081fd5b83356124b78161286b565b925060208401356124c78161286b565b929592945050506040919091013590565b600080604083850312156124ea578182fd5b82356124f58161286b565b946020939093013593505050565b60006020808385031215612515578182fd5b823567ffffffffffffffff8082111561252c578384fd5b818501915085601f83011261253f578384fd5b81358181111561255157612551612855565b8060051b604051601f19603f8301168101818110858211171561257657612576612855565b604052828152858101935084860182860187018a1015612594578788fd5b8795505b838610156125bd576125a981612418565b855260019590950194938601938601612598565b5098975050505050505050565b6000602082840312156125db578081fd5b813561092681612880565b6000602082840312156125f7578081fd5b815161092681612880565b600060208284031215612613578081fd5b5035919050565b60006020828403121561262b578081fd5b5051919050565b60008060408385031215612644578182fd5b82359150602083013561248d81612880565b60008060006060848603121561266a578283fd5b8351925060208401519150604084015190509250925092565b6000602080835283518082850152825b818110156126af57858101830151858201604001528201612693565b818111156126c05783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b8181101561275a5784516001600160a01b031683529383019391830191600101612735565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561278e5761278e61283f565b500190565b6000826127ae57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156127cd576127cd61283f565b500290565b6000828210156127e4576127e461283f565b500390565b600181811c908216806127fd57607f821691505b6020821081141561281e57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156128385761283861283f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d6f57600080fd5b8015158114610d6f57600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d36d765947c797c84f859e53d8284b0a1e74ea6526f6cd0aed93b5f235a41d0464736f6c63430008040033

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

00000000000000000000000003d1b2d9eab6ad9be670a8a7cfbf03c4f26eaeb8

-----Decoded View---------------
Arg [0] : charityWalletAddress (address): 0x03D1B2d9eab6AD9Be670a8A7cfBf03C4F26EaEb8

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000003d1b2d9eab6ad9be670a8a7cfbf03c4f26eaeb8


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.