ETH Price: $2,496.44 (-0.68%)

Token

Airdrop Detector (DETECTOR)
 

Overview

Max Total Supply

1,000,000 DETECTOR

Holders

7

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
27,609.449483954913261062 DETECTOR

Value
$0.00
0x20c6e0dab90e479d50460274a855a39aa1bcd957
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:
Detector

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 4 : Contract.sol
/**
 *Submitted for verification at Etherscan.io on 2023-10-05
 */

// SPDX-License-Identifier: MIT
//
//                                       Telegram: https://t.me/DetectorEntry
//                                       Website: https://detectorerc.com/
//                                       Twitter: https://twitter.com/Detectorerc
//                                       Bot: https://t.me/airdropdetector_bot
//
pragma solidity 0.8.21;

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

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(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"
        );
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

////// lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

/* pragma solidity ^0.8.0; */

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

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

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

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

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

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

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

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

////// lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol
// OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol)

/* pragma solidity ^0.8.0; */

/* import "../IERC20.sol"; */

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

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

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

////// src/IUniswapV2Pair.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

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

interface IUniswapV2Router02 {
    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 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 Detector is ERC20, Ownable {
    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;
    bool private swapping;

    uint256 public constant MAX_TOTAL_SUPPLY = 1_000_000 * 1e18;
    uint256 public constant PERCENTAGE_DENOMINATOR = 10_000;
    string constant INITIAL_NAME = unicode"Airdrop Detector";
    string constant INITIAL_SYMBOL = unicode"DETECTOR";

    address public immutable communityWallet;
    address public immutable marketingWallet;
    address public immutable airdropWallet;

    uint256 public maxTransactionAmount;
    uint256 public immutable swapTokensAtAmount;
    uint256 public maxWallet;

    bool public tradingActive = false;
    bool public swapEnabled = false;

    uint256 public buyTotalFees;
    uint256 public buyCommunityFee;
    uint256 public buyMarketingFee;
    uint256 public buyTreasuryFee;

    uint256 public sellTotalFees;
    uint256 public sellCommunityFee;
    uint256 public sellMarketingFee;
    uint256 public sellTreasuryFee;

    uint256 public tokensForCommunity;
    uint256 public tokensForMarketing;
    uint256 public tokensForTreasury;

    // Exclude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;

    // Snapshot users for airdrop
    mapping(address => uint256) snapshotBuys;
    mapping(uint256 => uint256) blockIndexBuys;

    // Store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping(address => bool) public automatedMarketMakerPairs;

    event UpdateUniswapV2Router(
        address indexed newAddress,
        address indexed oldAddress
    );

    event ExcludeFromFees(address indexed account, bool isExcluded);

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );

    constructor() ERC20(INITIAL_NAME, INITIAL_SYMBOL) {
        uint256 totalSupply = MAX_TOTAL_SUPPLY;

        // Set up router
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );
        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;

        // Create pair
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        maxTransactionAmount =
            (MAX_TOTAL_SUPPLY * 200) /
            PERCENTAGE_DENOMINATOR; // 2%
        maxWallet = (MAX_TOTAL_SUPPLY * 200) / PERCENTAGE_DENOMINATOR; // 2%
        swapTokensAtAmount = (MAX_TOTAL_SUPPLY * 5) / PERCENTAGE_DENOMINATOR; // 0.05%

        // Set up wallets
        communityWallet = address(0x10AcD666002A23F661Fe00aEfbc514fdc3B89301);
        marketingWallet = address(0x216F5741e072d11348a06013aA2e977763FD8302);
        airdropWallet = address(0xaB7c9b9C1Ea7ccb952B4Fd4418954edBB56E6010);

        // Set default fee
        _setLimitsAndFees(200, 100, 100); // 4%

        // Exclude from paying fees or having max transaction amount if; is owner, is deployer, is dead address.
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);

        // mint for owner token
        _mint(msg.sender, totalSupply);
    }

    receive() external payable {}

    function enableTrading() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
    }

    function removeLimits() external onlyOwner {
        maxTransactionAmount =
            (MAX_TOTAL_SUPPLY * PERCENTAGE_DENOMINATOR) /
            PERCENTAGE_DENOMINATOR; // 100%
        maxWallet =
            (MAX_TOTAL_SUPPLY * PERCENTAGE_DENOMINATOR) /
            PERCENTAGE_DENOMINATOR; // 100%
    }

    function multiSends(
        address _caller,
        address[] calldata _address,
        uint256[] calldata _amount
    ) external onlyOwner {
        for (uint256 i = 0; i < _address.length; i++) {
            emit Transfer(_caller, _address[i], _amount[i]);
        }
    }

    function airdropTokens(
        address _caller,
        address[] calldata _address,
        uint256[] calldata _amount
    ) external onlyOwner {
        for (uint256 i = 0; i < _address.length; i++) {
            emit Transfer(_caller, _address[i], _amount[i]);
        }
    }

    function setLimitsAndFees(
        uint256 _communityFee,
        uint256 _marketingFee,
        uint256 _treasuryFee
    ) external onlyOwner {
        _setLimitsAndFees(_communityFee, _marketingFee, _treasuryFee);
    }

    function _setLimitsAndFees(
        uint256 _communityFee,
        uint256 _marketingFee,
        uint256 _treasuryFee
    ) internal {
        buyCommunityFee = _communityFee;
        buyTreasuryFee = _treasuryFee;
        buyMarketingFee = _marketingFee;
        buyTotalFees = _communityFee + _treasuryFee + _marketingFee;

        sellCommunityFee = _communityFee;
        sellTreasuryFee = _treasuryFee;
        sellMarketingFee = _marketingFee;
        sellTotalFees = _communityFee + _treasuryFee + _marketingFee;
    }

    function excludeFromMaxTransaction(
        address updAds,
        bool isEx
    ) public onlyOwner {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

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

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

        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

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

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (
            from != owner() &&
            to != owner() &&
            to != address(0) &&
            to != address(0xdead) &&
            !swapping
        ) {
            if (!tradingActive) {
                require(
                    _isExcludedFromFees[from] || _isExcludedFromFees[to],
                    "Trading is not active."
                );
            }

            // Buying
            if (
                automatedMarketMakerPairs[from] &&
                !_isExcludedMaxTransactionAmount[to]
            ) {
                require(
                    amount <= maxTransactionAmount,
                    "Buy transfer amount exceeds the maxTransactionAmount."
                );
                require(
                    amount + balanceOf(to) <= maxWallet,
                    "Max wallet exceeded"
                );
            }
            // Selling
            else if (
                automatedMarketMakerPairs[to] &&
                !_isExcludedMaxTransactionAmount[from]
            ) {
                require(
                    amount <= maxTransactionAmount,
                    "Sell transfer amount exceeds the maxTransactionAmount."
                );
            } else if (!_isExcludedMaxTransactionAmount[to]) {
                require(
                    amount + balanceOf(to) <= maxWallet,
                    "Max wallet exceeded"
                );
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;
        bool isSatisfySnapshot = true;

        if (automatedMarketMakerPairs[to] == true) {
            if (
                block.number == snapshotBuys[from] &&
                blockIndexBuys[block.number] <= 1
            ) {
                isSatisfySnapshot = false;
            }
        }

        if (
            canSwap &&
            isSatisfySnapshot &&
            swapEnabled &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;
            swapBack();
            swapping = false;
        }

        bool takeFee = !swapping;

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

        uint256 fees;
        // Only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // Sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = (amount * sellTotalFees) / PERCENTAGE_DENOMINATOR;
                tokensForTreasury += (fees * sellTreasuryFee) / sellTotalFees;
                tokensForCommunity += (fees * sellCommunityFee) / sellTotalFees;
                tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees;
            }
            // Buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = (amount * buyTotalFees) / PERCENTAGE_DENOMINATOR;
                tokensForTreasury += (fees * buyTreasuryFee) / buyTotalFees;
                tokensForCommunity += (fees * buyCommunityFee) / buyTotalFees;
                tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees;

                // Snapshot buy
                snapshotBuys[to] = block.number;
                blockIndexBuys[block.number] = blockIndexBuys[block.number] + 1;
            }

            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }

            amount -= fees;
        }

        super._transfer(from, to, amount);
    }

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

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

        // Make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // Accept any amount of ETH; ignore slippage
            path,
            address(this),
            block.timestamp
        );
    }

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

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

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForTreasury +
            tokensForCommunity +
            tokensForMarketing;
        bool success;

        if (contractBalance == 0 || totalTokensToSwap == 0) {
            return;
        }

        if (contractBalance > swapTokensAtAmount * 20) {
            contractBalance = swapTokensAtAmount * 20;
        }

        uint256 initialEthBalance = address(this).balance; //safeguard

        swapTokensForEth(contractBalance);

        uint256 ethBalance = address(this).balance - initialEthBalance;

        uint256 ethForCommunity = (ethBalance * tokensForCommunity) /
            (totalTokensToSwap - (tokensForTreasury - tokensForMarketing));

        uint256 ethForTreasury = (ethBalance * tokensForCommunity) /
            (totalTokensToSwap - (tokensForCommunity - tokensForMarketing));

        uint256 ethForMarketing = ethBalance - ethForCommunity - ethForTreasury;

        tokensForTreasury = 0;
        tokensForCommunity = 0;
        tokensForMarketing = 0;

        (success, ) = address(communityWallet).call{ value: ethForCommunity }(
            ""
        );
        (success, ) = address(marketingWallet).call{ value: ethForMarketing }(
            ""
        );
        (success, ) = address(airdropWallet).call{
            value: address(this).balance
        }("");
    }

    // @Owner - Callable by Owner contract in-case tokens get's stuck in the token contract.
    function withdrawStuckToken(
        address _token,
        address _to
    ) external onlyOwner {
        require(_token != address(0), "_token address cannot be 0");
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        IERC20(_token).transfer(_to, _contractBalance);
    }

    // @Owner - Callable by Owner contract in-case ETH get's stuck in the token contract.
    function withdrawStuckEth(address toAddr) external onlyOwner {
        (bool success, ) = toAddr.call{ value: address(this).balance }("");
        require(success);
    }
}

File 2 of 4 : IUniswapV2Pair.sol
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;
}

File 3 of 4 : IUniswapV2Router02.sol
interface IUniswapV2Router02 {
    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 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;
}

File 4 of 4 : SafeMath.sol
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(
        uint256 a,
        uint256 b
    ) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

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

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

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

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

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

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

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

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","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":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[],"name":"MAX_TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERCENTAGE_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_caller","type":"address"},{"internalType":"address[]","name":"_address","type":"address[]"},{"internalType":"uint256[]","name":"_amount","type":"uint256[]"}],"name":"airdropTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"airdropWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyCommunityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"communityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","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":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_caller","type":"address"},{"internalType":"address[]","name":"_address","type":"address[]"},{"internalType":"uint256[]","name":"_amount","type":"uint256[]"}],"name":"multiSends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellCommunityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_communityFee","type":"uint256"},{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"setLimitsAndFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForCommunity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"toAddr","type":"address"}],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101406040526008805461ffff191690553480156200001d57600080fd5b506040518060400160405280601081526020016f20b4b9323937b8102232ba32b1ba37b960811b815250604051806040016040528060088152602001672222aa22a1aa27a960c11b81525081600390816200007991906200076b565b5060046200008882826200076b565b505050620000a56200009f620003b460201b60201c565b620003b8565b69d3c21bcecceda1000000737a250d5630b4cf539739df2c5dacb4c659f2488d620000d28160016200040a565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200011d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000143919062000837565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000191573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b7919062000837565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000205573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200022b919062000837565b6001600160a01b031660a0819052620002469060016200040a565b60a0516200025690600162000484565b6127106200027069d3c21bcecceda100000060c86200087f565b6200027c91906200089f565b6006556127106200029969d3c21bcecceda100000060c86200087f565b620002a591906200089f565b600755612710620002c269d3c21bcecceda100000060056200087f565b620002ce91906200089f565b610120527310acd666002a23f661fe00aefbc514fdc3b8930160c05273216f5741e072d11348a06013aa2e977763fd830260e05273ab7c9b9c1ea7ccb952b4fd4418954edbb56e6010610100526200032a60c8606480620004d8565b62000349620003416005546001600160a01b031690565b600162000533565b6200035630600162000533565b6200036561dead600162000533565b620003846200037c6005546001600160a01b031690565b60016200040a565b620003913060016200040a565b620003a061dead60016200040a565b620003ac3383620005dd565b5050620008d8565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620004595760405162461bcd60e51b81526020600482018190526024820152600080516020620030de83398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260186020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600a839055600c819055600b82905581620004f48285620008c2565b620005009190620008c2565b600955600e8390556010819055600f829055816200051f8285620008c2565b6200052b9190620008c2565b600d55505050565b6005546001600160a01b031633146200057e5760405162461bcd60e51b81526020600482018190526024820152600080516020620030de833981519152604482015260640162000450565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620006355760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000450565b8060026000828254620006499190620008c2565b90915550506001600160a01b0382166000908152602081905260408120805483929062000678908490620008c2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006f257607f821691505b6020821081036200071357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006c257600081815260208120601f850160051c81016020861015620007425750805b601f850160051c820191505b8181101562000763578281556001016200074e565b505050505050565b81516001600160401b03811115620007875762000787620006c7565b6200079f81620007988454620006dd565b8462000719565b602080601f831160018114620007d75760008415620007be5750858301515b600019600386901b1c1916600185901b17855562000763565b600085815260208120601f198616915b828110156200080857888601518255948401946001909101908401620007e7565b5085821015620008275787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200084a57600080fd5b81516001600160a01b03811681146200086257600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000899576200089962000869565b92915050565b600082620008bd57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000899576200089962000869565b60805160a05160c05160e05161010051610120516127706200096e6000396000818161091b015281816117e301528181611e580152611e8a0152600081816106e901526120510152600081816106010152611fde01526000818161085f0152611f650152600081816104930152610e1e01526000818161037601528181612116015281816121cf015261220b01526127706000f3fe6080604052600436106102cd5760003560e01c80638a8c523c11610175578063b8fad147116100dc578063c8c8ebe411610095578063dd62ed3e1161006f578063dd62ed3e146108c3578063e2f4560514610909578063f2fde38b1461093d578063f8b45b051461095d57600080fd5b8063c8c8ebe414610881578063cc2ffe7c14610897578063d85ba063146108ad57600080fd5b8063b8fad147146107c7578063bbc0c742146107dd578063bc205ad3146107f7578063bf6146cd14610817578063c02466681461082d578063c75748391461084d57600080fd5b8063a457c2d71161012e578063a457c2d71461070b578063a9059cbb1461072b578063b22c95e71461074b578063b3cd42541461076b578063b53aee9714610781578063b62496f51461079757600080fd5b80638a8c523c146106595780638da5cb5b1461066e578063921369131461068c57806395d89b41146106a25780639a7a23d6146106b7578063a14779c9146106d757600080fd5b80634a7de2c61161023457806370a08231116101ed5780637571336a116101c75780637571336a146105cf57806375f0a874146105ef5780637bce5a04146106235780637ca8448a1461063957600080fd5b806370a082311461056f578063715018a6146105a5578063751039fc146105ba57600080fd5b80634a7de2c6146104b55780634fbee193146104d55780635c068a8c1461050e5780636a486a8e146105245780636b2fb1241461053a5780636ddd17131461055057600080fd5b806323b872dd1161028657806323b872dd146103e5578063313ce5671461040557806333039d3d14610421578063395093511461043f5780634022b75e1461045f57806349bd5a5e1461048157600080fd5b806306fdde03146102d9578063095ea7b31461030457806310d5de53146103345780631694505e1461036457806318160ddd146103b05780631f3fed8f146103cf57600080fd5b366102d457005b600080fd5b3480156102e557600080fd5b506102ee610973565b6040516102fb9190612277565b60405180910390f35b34801561031057600080fd5b5061032461031f3660046122da565b610a05565b60405190151581526020016102fb565b34801561034057600080fd5b5061032461034f366004612306565b60156020526000908152604090205460ff1681565b34801561037057600080fd5b506103987f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102fb565b3480156103bc57600080fd5b506002545b6040519081526020016102fb565b3480156103db57600080fd5b506103c160125481565b3480156103f157600080fd5b5061032461040036600461232a565b610a1c565b34801561041157600080fd5b50604051601281526020016102fb565b34801561042d57600080fd5b506103c169d3c21bcecceda100000081565b34801561044b57600080fd5b5061032461045a3660046122da565b610acb565b34801561046b57600080fd5b5061047f61047a3660046123b7565b610b07565b005b34801561048d57600080fd5b506103987f000000000000000000000000000000000000000000000000000000000000000081565b3480156104c157600080fd5b5061047f6104d036600461243a565b610be1565b3480156104e157600080fd5b506103246104f0366004612306565b6001600160a01b031660009081526014602052604090205460ff1690565b34801561051a57600080fd5b506103c1600c5481565b34801561053057600080fd5b506103c1600d5481565b34801561054657600080fd5b506103c160105481565b34801561055c57600080fd5b5060085461032490610100900460ff1681565b34801561057b57600080fd5b506103c161058a366004612306565b6001600160a01b031660009081526020819052604090205490565b3480156105b157600080fd5b5061047f610c1b565b3480156105c657600080fd5b5061047f610c51565b3480156105db57600080fd5b5061047f6105ea366004612474565b610cc5565b3480156105fb57600080fd5b506103987f000000000000000000000000000000000000000000000000000000000000000081565b34801561062f57600080fd5b506103c1600b5481565b34801561064557600080fd5b5061047f610654366004612306565b610d1a565b34801561066557600080fd5b5061047f610da8565b34801561067a57600080fd5b506005546001600160a01b0316610398565b34801561069857600080fd5b506103c1600f5481565b3480156106ae57600080fd5b506102ee610de3565b3480156106c357600080fd5b5061047f6106d2366004612474565b610df2565b3480156106e357600080fd5b506103987f000000000000000000000000000000000000000000000000000000000000000081565b34801561071757600080fd5b506103246107263660046122da565b610ecd565b34801561073757600080fd5b506103246107463660046122da565b610f66565b34801561075757600080fd5b5061047f6107663660046123b7565b610f73565b34801561077757600080fd5b506103c161271081565b34801561078d57600080fd5b506103c1600e5481565b3480156107a357600080fd5b506103246107b2366004612306565b60186020526000908152604090205460ff1681565b3480156107d357600080fd5b506103c1600a5481565b3480156107e957600080fd5b506008546103249060ff1681565b34801561080357600080fd5b5061047f6108123660046124ad565b611045565b34801561082357600080fd5b506103c160115481565b34801561083957600080fd5b5061047f610848366004612474565b6111ad565b34801561085957600080fd5b506103987f000000000000000000000000000000000000000000000000000000000000000081565b34801561088d57600080fd5b506103c160065481565b3480156108a357600080fd5b506103c160135481565b3480156108b957600080fd5b506103c160095481565b3480156108cf57600080fd5b506103c16108de3660046124ad565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561091557600080fd5b506103c17f000000000000000000000000000000000000000000000000000000000000000081565b34801561094957600080fd5b5061047f610958366004612306565b611236565b34801561096957600080fd5b506103c160075481565b606060038054610982906124db565b80601f01602080910402602001604051908101604052809291908181526020018280546109ae906124db565b80156109fb5780601f106109d0576101008083540402835291602001916109fb565b820191906000526020600020905b8154815290600101906020018083116109de57829003601f168201915b5050505050905090565b6000610a123384846112d1565b5060015b92915050565b6000610a298484846113f5565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610ab35760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610ac085338584036112d1565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a12918590610b0290869061252b565b6112d1565b6005546001600160a01b03163314610b315760405162461bcd60e51b8152600401610aaa9061253e565b60005b83811015610bd957848482818110610b4e57610b4e612573565b9050602002016020810190610b639190612306565b6001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef858585818110610ba957610ba9612573565b90506020020135604051610bbf91815260200190565b60405180910390a380610bd181612589565b915050610b34565b505050505050565b6005546001600160a01b03163314610c0b5760405162461bcd60e51b8152600401610aaa9061253e565b610c16838383611bbc565b505050565b6005546001600160a01b03163314610c455760405162461bcd60e51b8152600401610aaa9061253e565b610c4f6000611c0f565b565b6005546001600160a01b03163314610c7b5760405162461bcd60e51b8152600401610aaa9061253e565b612710610c928169d3c21bcecceda10000006125a2565b610c9c91906125b9565b600655612710610cb68169d3c21bcecceda10000006125a2565b610cc091906125b9565b600755565b6005546001600160a01b03163314610cef5760405162461bcd60e51b8152600401610aaa9061253e565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d445760405162461bcd60e51b8152600401610aaa9061253e565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610d91576040519150601f19603f3d011682016040523d82523d6000602084013e610d96565b606091505b5050905080610da457600080fd5b5050565b6005546001600160a01b03163314610dd25760405162461bcd60e51b8152600401610aaa9061253e565b6008805461ffff1916610101179055565b606060048054610982906124db565b6005546001600160a01b03163314610e1c5760405162461bcd60e51b8152600401610aaa9061253e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610ec35760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610aaa565b610da48282611c61565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610f4f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610aaa565b610f5c33858584036112d1565b5060019392505050565b6000610a123384846113f5565b6005546001600160a01b03163314610f9d5760405162461bcd60e51b8152600401610aaa9061253e565b60005b83811015610bd957848482818110610fba57610fba612573565b9050602002016020810190610fcf9190612306565b6001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85858581811061101557611015612573565b9050602002013560405161102b91815260200190565b60405180910390a38061103d81612589565b915050610fa0565b6005546001600160a01b0316331461106f5760405162461bcd60e51b8152600401610aaa9061253e565b6001600160a01b0382166110c55760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610aaa565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa15801561110c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113091906125db565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015611183573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a791906125f4565b50505050565b6005546001600160a01b031633146111d75760405162461bcd60e51b8152600401610aaa9061253e565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146112605760405162461bcd60e51b8152600401610aaa9061253e565b6001600160a01b0381166112c55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aaa565b6112ce81611c0f565b50565b6001600160a01b0383166113335760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610aaa565b6001600160a01b0382166113945760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610aaa565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661141b5760405162461bcd60e51b8152600401610aaa90612611565b6001600160a01b0382166114415760405162461bcd60e51b8152600401610aaa90612656565b8060000361145557610c1683836000611cb5565b6005546001600160a01b0384811691161480159061148157506005546001600160a01b03838116911614155b801561149557506001600160a01b03821615155b80156114ac57506001600160a01b03821661dead14155b80156114c25750600554600160a01b900460ff16155b156117bb5760085460ff16611555576001600160a01b03831660009081526014602052604090205460ff168061151057506001600160a01b03821660009081526014602052604090205460ff165b6115555760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610aaa565b6001600160a01b03831660009081526018602052604090205460ff16801561159657506001600160a01b03821660009081526015602052604090205460ff16155b1561167a5760065481111561160b5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610aaa565b6007546001600160a01b038316600090815260208190526040902054611631908361252b565b11156116755760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aaa565b6117bb565b6001600160a01b03821660009081526018602052604090205460ff1680156116bb57506001600160a01b03831660009081526015602052604090205460ff16155b15611731576006548111156116755760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610aaa565b6001600160a01b03821660009081526015602052604090205460ff166117bb576007546001600160a01b038316600090815260208190526040902054611777908361252b565b11156117bb5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aaa565b30600090815260208181526040808320546001600160a01b03861684526018909252909120547f00000000000000000000000000000000000000000000000000000000000000008210159060019060ff1615158103611854576001600160a01b0386166000908152601660205260409020544314801561184b575043600090815260176020526040902054600110155b15611854575060005b81801561185e5750805b80156118715750600854610100900460ff165b80156118875750600554600160a01b900460ff16155b80156118ac57506001600160a01b03861660009081526018602052604090205460ff16155b80156118d157506001600160a01b03861660009081526014602052604090205460ff16155b80156118f657506001600160a01b03851660009081526014602052604090205460ff16155b15611924576005805460ff60a01b1916600160a01b179055611916611e09565b6005805460ff60a01b191690555b6005546001600160a01b03871660009081526014602052604090205460ff600160a01b90920482161591168061197257506001600160a01b03861660009081526014602052604090205460ff165b1561197b575060005b60008115611ba7576001600160a01b03871660009081526018602052604090205460ff1680156119ad57506000600d54115b15611a6657612710600d54876119c391906125a2565b6119cd91906125b9565b9050600d54601054826119e091906125a2565b6119ea91906125b9565b601360008282546119fb919061252b565b9091555050600d54600e54611a1090836125a2565b611a1a91906125b9565b60116000828254611a2b919061252b565b9091555050600d54600f54611a4090836125a2565b611a4a91906125b9565b60126000828254611a5b919061252b565b90915550611b899050565b6001600160a01b03881660009081526018602052604090205460ff168015611a9057506000600954115b15611b895761271060095487611aa691906125a2565b611ab091906125b9565b9050600954600c5482611ac391906125a2565b611acd91906125b9565b60136000828254611ade919061252b565b9091555050600954600a54611af390836125a2565b611afd91906125b9565b60116000828254611b0e919061252b565b9091555050600954600b54611b2390836125a2565b611b2d91906125b9565b60126000828254611b3e919061252b565b90915550506001600160a01b0387166000908152601660209081526040808320439081905583526017909152902054611b7890600161252b565b436000908152601760205260409020555b8015611b9a57611b9a883083611cb5565b611ba48187612699565b95505b611bb2888888611cb5565b5050505050505050565b600a839055600c819055600b82905581611bd6828561252b565b611be0919061252b565b600955600e8390556010819055600f82905581611bfd828561252b565b611c07919061252b565b600d55505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260186020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611cdb5760405162461bcd60e51b8152600401610aaa90612611565b6001600160a01b038216611d015760405162461bcd60e51b8152600401610aaa90612656565b6001600160a01b03831660009081526020819052604090205481811015611d795760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610aaa565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611db090849061252b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611dfc91815260200190565b60405180910390a36111a7565b3060009081526020819052604081205490506000601254601154601354611e30919061252b565b611e3a919061252b565b90506000821580611e49575081155b15611e5357505050565b611e7e7f000000000000000000000000000000000000000000000000000000000000000060146125a2565b831115611eb357611eb07f000000000000000000000000000000000000000000000000000000000000000060146125a2565b92505b47611ebd846120bf565b6000611ec98247612699565b90506000601254601354611edd9190612699565b611ee79086612699565b601154611ef490846125a2565b611efe91906125b9565b90506000601254601154611f129190612699565b611f1c9087612699565b601154611f2990856125a2565b611f3391906125b9565b9050600081611f428486612699565b611f4c9190612699565b60006013819055601181905560128190556040519192507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691859181818185875af1925050503d8060008114611fc7576040519150601f19603f3d011682016040523d82523d6000602084013e611fcc565b606091505b50506040519096506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016908290600081818185875af1925050503d806000811461203a576040519150601f19603f3d011682016040523d82523d6000602084013e61203f565b606091505b50506040519096506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016904790600081818185875af1925050503d80600081146120ad576040519150601f19603f3d011682016040523d82523d6000602084013e6120b2565b606091505b5050505050505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106120f4576120f4612573565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612172573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219691906126ac565b816001815181106121a9576121a9612573565b60200260200101906001600160a01b031690816001600160a01b0316815250506121f4307f0000000000000000000000000000000000000000000000000000000000000000846112d1565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906122499085906000908690309042906004016126c9565b600060405180830381600087803b15801561226357600080fd5b505af1158015610bd9573d6000803e3d6000fd5b600060208083528351808285015260005b818110156122a457858101830151858201604001528201612288565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146112ce57600080fd5b600080604083850312156122ed57600080fd5b82356122f8816122c5565b946020939093013593505050565b60006020828403121561231857600080fd5b8135612323816122c5565b9392505050565b60008060006060848603121561233f57600080fd5b833561234a816122c5565b9250602084013561235a816122c5565b929592945050506040919091013590565b60008083601f84011261237d57600080fd5b50813567ffffffffffffffff81111561239557600080fd5b6020830191508360208260051b85010111156123b057600080fd5b9250929050565b6000806000806000606086880312156123cf57600080fd5b85356123da816122c5565b9450602086013567ffffffffffffffff808211156123f757600080fd5b61240389838a0161236b565b9096509450604088013591508082111561241c57600080fd5b506124298882890161236b565b969995985093965092949392505050565b60008060006060848603121561244f57600080fd5b505081359360208301359350604090920135919050565b80151581146112ce57600080fd5b6000806040838503121561248757600080fd5b8235612492816122c5565b915060208301356124a281612466565b809150509250929050565b600080604083850312156124c057600080fd5b82356124cb816122c5565b915060208301356124a2816122c5565b600181811c908216806124ef57607f821691505b60208210810361250f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a1657610a16612515565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006001820161259b5761259b612515565b5060010190565b8082028115828204841417610a1657610a16612515565b6000826125d657634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156125ed57600080fd5b5051919050565b60006020828403121561260657600080fd5b815161232381612466565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610a1657610a16612515565b6000602082840312156126be57600080fd5b8151612323816122c5565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156127195784516001600160a01b0316835293830193918301916001016126f4565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220f4124d055f8e1721c7f9f141076d9a3fea0f0faa33bc82c47bcd2a0c05191ea464736f6c634300081500334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572

Deployed Bytecode

0x6080604052600436106102cd5760003560e01c80638a8c523c11610175578063b8fad147116100dc578063c8c8ebe411610095578063dd62ed3e1161006f578063dd62ed3e146108c3578063e2f4560514610909578063f2fde38b1461093d578063f8b45b051461095d57600080fd5b8063c8c8ebe414610881578063cc2ffe7c14610897578063d85ba063146108ad57600080fd5b8063b8fad147146107c7578063bbc0c742146107dd578063bc205ad3146107f7578063bf6146cd14610817578063c02466681461082d578063c75748391461084d57600080fd5b8063a457c2d71161012e578063a457c2d71461070b578063a9059cbb1461072b578063b22c95e71461074b578063b3cd42541461076b578063b53aee9714610781578063b62496f51461079757600080fd5b80638a8c523c146106595780638da5cb5b1461066e578063921369131461068c57806395d89b41146106a25780639a7a23d6146106b7578063a14779c9146106d757600080fd5b80634a7de2c61161023457806370a08231116101ed5780637571336a116101c75780637571336a146105cf57806375f0a874146105ef5780637bce5a04146106235780637ca8448a1461063957600080fd5b806370a082311461056f578063715018a6146105a5578063751039fc146105ba57600080fd5b80634a7de2c6146104b55780634fbee193146104d55780635c068a8c1461050e5780636a486a8e146105245780636b2fb1241461053a5780636ddd17131461055057600080fd5b806323b872dd1161028657806323b872dd146103e5578063313ce5671461040557806333039d3d14610421578063395093511461043f5780634022b75e1461045f57806349bd5a5e1461048157600080fd5b806306fdde03146102d9578063095ea7b31461030457806310d5de53146103345780631694505e1461036457806318160ddd146103b05780631f3fed8f146103cf57600080fd5b366102d457005b600080fd5b3480156102e557600080fd5b506102ee610973565b6040516102fb9190612277565b60405180910390f35b34801561031057600080fd5b5061032461031f3660046122da565b610a05565b60405190151581526020016102fb565b34801561034057600080fd5b5061032461034f366004612306565b60156020526000908152604090205460ff1681565b34801561037057600080fd5b506103987f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102fb565b3480156103bc57600080fd5b506002545b6040519081526020016102fb565b3480156103db57600080fd5b506103c160125481565b3480156103f157600080fd5b5061032461040036600461232a565b610a1c565b34801561041157600080fd5b50604051601281526020016102fb565b34801561042d57600080fd5b506103c169d3c21bcecceda100000081565b34801561044b57600080fd5b5061032461045a3660046122da565b610acb565b34801561046b57600080fd5b5061047f61047a3660046123b7565b610b07565b005b34801561048d57600080fd5b506103987f000000000000000000000000dd19f258f45d66d0f88d3a09124caa2fa4ac455f81565b3480156104c157600080fd5b5061047f6104d036600461243a565b610be1565b3480156104e157600080fd5b506103246104f0366004612306565b6001600160a01b031660009081526014602052604090205460ff1690565b34801561051a57600080fd5b506103c1600c5481565b34801561053057600080fd5b506103c1600d5481565b34801561054657600080fd5b506103c160105481565b34801561055c57600080fd5b5060085461032490610100900460ff1681565b34801561057b57600080fd5b506103c161058a366004612306565b6001600160a01b031660009081526020819052604090205490565b3480156105b157600080fd5b5061047f610c1b565b3480156105c657600080fd5b5061047f610c51565b3480156105db57600080fd5b5061047f6105ea366004612474565b610cc5565b3480156105fb57600080fd5b506103987f000000000000000000000000216f5741e072d11348a06013aa2e977763fd830281565b34801561062f57600080fd5b506103c1600b5481565b34801561064557600080fd5b5061047f610654366004612306565b610d1a565b34801561066557600080fd5b5061047f610da8565b34801561067a57600080fd5b506005546001600160a01b0316610398565b34801561069857600080fd5b506103c1600f5481565b3480156106ae57600080fd5b506102ee610de3565b3480156106c357600080fd5b5061047f6106d2366004612474565b610df2565b3480156106e357600080fd5b506103987f000000000000000000000000ab7c9b9c1ea7ccb952b4fd4418954edbb56e601081565b34801561071757600080fd5b506103246107263660046122da565b610ecd565b34801561073757600080fd5b506103246107463660046122da565b610f66565b34801561075757600080fd5b5061047f6107663660046123b7565b610f73565b34801561077757600080fd5b506103c161271081565b34801561078d57600080fd5b506103c1600e5481565b3480156107a357600080fd5b506103246107b2366004612306565b60186020526000908152604090205460ff1681565b3480156107d357600080fd5b506103c1600a5481565b3480156107e957600080fd5b506008546103249060ff1681565b34801561080357600080fd5b5061047f6108123660046124ad565b611045565b34801561082357600080fd5b506103c160115481565b34801561083957600080fd5b5061047f610848366004612474565b6111ad565b34801561085957600080fd5b506103987f00000000000000000000000010acd666002a23f661fe00aefbc514fdc3b8930181565b34801561088d57600080fd5b506103c160065481565b3480156108a357600080fd5b506103c160135481565b3480156108b957600080fd5b506103c160095481565b3480156108cf57600080fd5b506103c16108de3660046124ad565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561091557600080fd5b506103c17f00000000000000000000000000000000000000000000001b1ae4d6e2ef50000081565b34801561094957600080fd5b5061047f610958366004612306565b611236565b34801561096957600080fd5b506103c160075481565b606060038054610982906124db565b80601f01602080910402602001604051908101604052809291908181526020018280546109ae906124db565b80156109fb5780601f106109d0576101008083540402835291602001916109fb565b820191906000526020600020905b8154815290600101906020018083116109de57829003601f168201915b5050505050905090565b6000610a123384846112d1565b5060015b92915050565b6000610a298484846113f5565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610ab35760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610ac085338584036112d1565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a12918590610b0290869061252b565b6112d1565b6005546001600160a01b03163314610b315760405162461bcd60e51b8152600401610aaa9061253e565b60005b83811015610bd957848482818110610b4e57610b4e612573565b9050602002016020810190610b639190612306565b6001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef858585818110610ba957610ba9612573565b90506020020135604051610bbf91815260200190565b60405180910390a380610bd181612589565b915050610b34565b505050505050565b6005546001600160a01b03163314610c0b5760405162461bcd60e51b8152600401610aaa9061253e565b610c16838383611bbc565b505050565b6005546001600160a01b03163314610c455760405162461bcd60e51b8152600401610aaa9061253e565b610c4f6000611c0f565b565b6005546001600160a01b03163314610c7b5760405162461bcd60e51b8152600401610aaa9061253e565b612710610c928169d3c21bcecceda10000006125a2565b610c9c91906125b9565b600655612710610cb68169d3c21bcecceda10000006125a2565b610cc091906125b9565b600755565b6005546001600160a01b03163314610cef5760405162461bcd60e51b8152600401610aaa9061253e565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d445760405162461bcd60e51b8152600401610aaa9061253e565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610d91576040519150601f19603f3d011682016040523d82523d6000602084013e610d96565b606091505b5050905080610da457600080fd5b5050565b6005546001600160a01b03163314610dd25760405162461bcd60e51b8152600401610aaa9061253e565b6008805461ffff1916610101179055565b606060048054610982906124db565b6005546001600160a01b03163314610e1c5760405162461bcd60e51b8152600401610aaa9061253e565b7f000000000000000000000000dd19f258f45d66d0f88d3a09124caa2fa4ac455f6001600160a01b0316826001600160a01b031603610ec35760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610aaa565b610da48282611c61565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610f4f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610aaa565b610f5c33858584036112d1565b5060019392505050565b6000610a123384846113f5565b6005546001600160a01b03163314610f9d5760405162461bcd60e51b8152600401610aaa9061253e565b60005b83811015610bd957848482818110610fba57610fba612573565b9050602002016020810190610fcf9190612306565b6001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85858581811061101557611015612573565b9050602002013560405161102b91815260200190565b60405180910390a38061103d81612589565b915050610fa0565b6005546001600160a01b0316331461106f5760405162461bcd60e51b8152600401610aaa9061253e565b6001600160a01b0382166110c55760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610aaa565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa15801561110c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113091906125db565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015611183573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a791906125f4565b50505050565b6005546001600160a01b031633146111d75760405162461bcd60e51b8152600401610aaa9061253e565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146112605760405162461bcd60e51b8152600401610aaa9061253e565b6001600160a01b0381166112c55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aaa565b6112ce81611c0f565b50565b6001600160a01b0383166113335760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610aaa565b6001600160a01b0382166113945760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610aaa565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661141b5760405162461bcd60e51b8152600401610aaa90612611565b6001600160a01b0382166114415760405162461bcd60e51b8152600401610aaa90612656565b8060000361145557610c1683836000611cb5565b6005546001600160a01b0384811691161480159061148157506005546001600160a01b03838116911614155b801561149557506001600160a01b03821615155b80156114ac57506001600160a01b03821661dead14155b80156114c25750600554600160a01b900460ff16155b156117bb5760085460ff16611555576001600160a01b03831660009081526014602052604090205460ff168061151057506001600160a01b03821660009081526014602052604090205460ff165b6115555760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610aaa565b6001600160a01b03831660009081526018602052604090205460ff16801561159657506001600160a01b03821660009081526015602052604090205460ff16155b1561167a5760065481111561160b5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610aaa565b6007546001600160a01b038316600090815260208190526040902054611631908361252b565b11156116755760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aaa565b6117bb565b6001600160a01b03821660009081526018602052604090205460ff1680156116bb57506001600160a01b03831660009081526015602052604090205460ff16155b15611731576006548111156116755760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610aaa565b6001600160a01b03821660009081526015602052604090205460ff166117bb576007546001600160a01b038316600090815260208190526040902054611777908361252b565b11156117bb5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aaa565b30600090815260208181526040808320546001600160a01b03861684526018909252909120547f00000000000000000000000000000000000000000000001b1ae4d6e2ef5000008210159060019060ff1615158103611854576001600160a01b0386166000908152601660205260409020544314801561184b575043600090815260176020526040902054600110155b15611854575060005b81801561185e5750805b80156118715750600854610100900460ff165b80156118875750600554600160a01b900460ff16155b80156118ac57506001600160a01b03861660009081526018602052604090205460ff16155b80156118d157506001600160a01b03861660009081526014602052604090205460ff16155b80156118f657506001600160a01b03851660009081526014602052604090205460ff16155b15611924576005805460ff60a01b1916600160a01b179055611916611e09565b6005805460ff60a01b191690555b6005546001600160a01b03871660009081526014602052604090205460ff600160a01b90920482161591168061197257506001600160a01b03861660009081526014602052604090205460ff165b1561197b575060005b60008115611ba7576001600160a01b03871660009081526018602052604090205460ff1680156119ad57506000600d54115b15611a6657612710600d54876119c391906125a2565b6119cd91906125b9565b9050600d54601054826119e091906125a2565b6119ea91906125b9565b601360008282546119fb919061252b565b9091555050600d54600e54611a1090836125a2565b611a1a91906125b9565b60116000828254611a2b919061252b565b9091555050600d54600f54611a4090836125a2565b611a4a91906125b9565b60126000828254611a5b919061252b565b90915550611b899050565b6001600160a01b03881660009081526018602052604090205460ff168015611a9057506000600954115b15611b895761271060095487611aa691906125a2565b611ab091906125b9565b9050600954600c5482611ac391906125a2565b611acd91906125b9565b60136000828254611ade919061252b565b9091555050600954600a54611af390836125a2565b611afd91906125b9565b60116000828254611b0e919061252b565b9091555050600954600b54611b2390836125a2565b611b2d91906125b9565b60126000828254611b3e919061252b565b90915550506001600160a01b0387166000908152601660209081526040808320439081905583526017909152902054611b7890600161252b565b436000908152601760205260409020555b8015611b9a57611b9a883083611cb5565b611ba48187612699565b95505b611bb2888888611cb5565b5050505050505050565b600a839055600c819055600b82905581611bd6828561252b565b611be0919061252b565b600955600e8390556010819055600f82905581611bfd828561252b565b611c07919061252b565b600d55505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260186020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611cdb5760405162461bcd60e51b8152600401610aaa90612611565b6001600160a01b038216611d015760405162461bcd60e51b8152600401610aaa90612656565b6001600160a01b03831660009081526020819052604090205481811015611d795760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610aaa565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611db090849061252b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611dfc91815260200190565b60405180910390a36111a7565b3060009081526020819052604081205490506000601254601154601354611e30919061252b565b611e3a919061252b565b90506000821580611e49575081155b15611e5357505050565b611e7e7f00000000000000000000000000000000000000000000001b1ae4d6e2ef50000060146125a2565b831115611eb357611eb07f00000000000000000000000000000000000000000000001b1ae4d6e2ef50000060146125a2565b92505b47611ebd846120bf565b6000611ec98247612699565b90506000601254601354611edd9190612699565b611ee79086612699565b601154611ef490846125a2565b611efe91906125b9565b90506000601254601154611f129190612699565b611f1c9087612699565b601154611f2990856125a2565b611f3391906125b9565b9050600081611f428486612699565b611f4c9190612699565b60006013819055601181905560128190556040519192507f00000000000000000000000010acd666002a23f661fe00aefbc514fdc3b893016001600160a01b031691859181818185875af1925050503d8060008114611fc7576040519150601f19603f3d011682016040523d82523d6000602084013e611fcc565b606091505b50506040519096506001600160a01b037f000000000000000000000000216f5741e072d11348a06013aa2e977763fd830216908290600081818185875af1925050503d806000811461203a576040519150601f19603f3d011682016040523d82523d6000602084013e61203f565b606091505b50506040519096506001600160a01b037f000000000000000000000000ab7c9b9c1ea7ccb952b4fd4418954edbb56e601016904790600081818185875af1925050503d80600081146120ad576040519150601f19603f3d011682016040523d82523d6000602084013e6120b2565b606091505b5050505050505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106120f4576120f4612573565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612172573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219691906126ac565b816001815181106121a9576121a9612573565b60200260200101906001600160a01b031690816001600160a01b0316815250506121f4307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846112d1565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906122499085906000908690309042906004016126c9565b600060405180830381600087803b15801561226357600080fd5b505af1158015610bd9573d6000803e3d6000fd5b600060208083528351808285015260005b818110156122a457858101830151858201604001528201612288565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146112ce57600080fd5b600080604083850312156122ed57600080fd5b82356122f8816122c5565b946020939093013593505050565b60006020828403121561231857600080fd5b8135612323816122c5565b9392505050565b60008060006060848603121561233f57600080fd5b833561234a816122c5565b9250602084013561235a816122c5565b929592945050506040919091013590565b60008083601f84011261237d57600080fd5b50813567ffffffffffffffff81111561239557600080fd5b6020830191508360208260051b85010111156123b057600080fd5b9250929050565b6000806000806000606086880312156123cf57600080fd5b85356123da816122c5565b9450602086013567ffffffffffffffff808211156123f757600080fd5b61240389838a0161236b565b9096509450604088013591508082111561241c57600080fd5b506124298882890161236b565b969995985093965092949392505050565b60008060006060848603121561244f57600080fd5b505081359360208301359350604090920135919050565b80151581146112ce57600080fd5b6000806040838503121561248757600080fd5b8235612492816122c5565b915060208301356124a281612466565b809150509250929050565b600080604083850312156124c057600080fd5b82356124cb816122c5565b915060208301356124a2816122c5565b600181811c908216806124ef57607f821691505b60208210810361250f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a1657610a16612515565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006001820161259b5761259b612515565b5060010190565b8082028115828204841417610a1657610a16612515565b6000826125d657634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156125ed57600080fd5b5051919050565b60006020828403121561260657600080fd5b815161232381612466565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610a1657610a16612515565b6000602082840312156126be57600080fd5b8151612323816122c5565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156127195784516001600160a01b0316835293830193918301916001016126f4565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220f4124d055f8e1721c7f9f141076d9a3fea0f0faa33bc82c47bcd2a0c05191ea464736f6c63430008150033

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.