ETH Price: $3,628.26 (-2.21%)

Contract

0xb2d9859C578A3115B5Bf141473556a996135a162
 

Overview

ETH Balance

0.327907189015893456 ETH

Eth Value

$1,189.73 (@ $3,628.26/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve192710612024-02-20 19:41:35286 days ago1708458095IN
0xb2d9859C...96135a162
0 ETH0.0017788938.16141991
Approve192710252024-02-20 19:34:23286 days ago1708457663IN
0xb2d9859C...96135a162
0 ETH0.0018028538.72535416
Approve175994592023-07-01 13:19:59520 days ago1688217599IN
0xb2d9859C...96135a162
0 ETH0.0005588222.96757809
Approve169151322023-03-27 0:22:11616 days ago1679876531IN
0xb2d9859C...96135a162
0 ETH0.0003600414.79763992
Approve166361962023-02-15 19:22:23656 days ago1676488943IN
0xb2d9859C...96135a162
0 ETH0.0024833653.34252362
Approve165745112023-02-07 4:25:47664 days ago1675743947IN
0xb2d9859C...96135a162
0 ETH0.0009711120.85947133
Approve165123952023-01-29 12:11:47673 days ago1674994307IN
0xb2d9859C...96135a162
0 ETH0.0006622514.22518305
Approve165035152023-01-28 6:27:23674 days ago1674887243IN
0xb2d9859C...96135a162
0 ETH0.0006526114
Approve164743622023-01-24 4:44:23678 days ago1674535463IN
0xb2d9859C...96135a162
0 ETH0.0006945314.9185971
Approve164590662023-01-22 1:29:35680 days ago1674350975IN
0xb2d9859C...96135a162
0 ETH0.0007821116.79989342
Approve164498942023-01-20 18:45:11682 days ago1674240311IN
0xb2d9859C...96135a162
0 ETH0.0011789125.32308496
Approve164425892023-01-19 18:17:59683 days ago1674152279IN
0xb2d9859C...96135a162
0 ETH0.0012880727.66780204
Approve164292742023-01-17 21:41:11685 days ago1673991671IN
0xb2d9859C...96135a162
0 ETH0.0011875725.47618775
Approve164292172023-01-17 21:29:47685 days ago1673990987IN
0xb2d9859C...96135a162
0 ETH0.0012669527.17912785
Approve164291872023-01-17 21:23:47685 days ago1673990627IN
0xb2d9859C...96135a162
0 ETH0.0014907831.98082785
Approve164120392023-01-15 11:55:23687 days ago1673783723IN
0xb2d9859C...96135a162
0 ETH0.0006775314.53480202
Approve163999762023-01-13 19:31:23689 days ago1673638283IN
0xb2d9859C...96135a162
0 ETH0.0012954227.78983424
Approve163897912023-01-12 9:20:59690 days ago1673515259IN
0xb2d9859C...96135a162
0 ETH0.0004694415.98973056
Approve163892112023-01-12 7:24:11690 days ago1673508251IN
0xb2d9859C...96135a162
0 ETH0.0004172714.28299438
Approve163891032023-01-12 7:02:35690 days ago1673506955IN
0xb2d9859C...96135a162
0 ETH0.000409314.01007851
Approve163885112023-01-12 5:03:47690 days ago1673499827IN
0xb2d9859C...96135a162
0 ETH0.0008389417.99736011
Approve163869452023-01-11 23:49:11690 days ago1673480951IN
0xb2d9859C...96135a162
0 ETH0.0012669127.17828542
Approve163860572023-01-11 20:50:11691 days ago1673470211IN
0xb2d9859C...96135a162
0 ETH0.0009820921.06813801
Approve163852052023-01-11 17:58:47691 days ago1673459927IN
0xb2d9859C...96135a162
0 ETH0.0012236426.25
Approve163851302023-01-11 17:42:59691 days ago1673458979IN
0xb2d9859C...96135a162
0 ETH0.0014108430.26588579
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
205519062024-08-18 0:24:35106 days ago1723940675
0xb2d9859C...96135a162
0.00019195 ETH
205519062024-08-18 0:24:35106 days ago1723940675
0xb2d9859C...96135a162
0.00002132 ETH
205519062024-08-18 0:24:35106 days ago1723940675
0xb2d9859C...96135a162
0.00021328 ETH
179261562023-08-16 8:19:47474 days ago1692173987
0xb2d9859C...96135a162
0.00019195 ETH
179261562023-08-16 8:19:47474 days ago1692173987
0xb2d9859C...96135a162
0.00002132 ETH
179261562023-08-16 8:19:47474 days ago1692173987
0xb2d9859C...96135a162
0.00021328 ETH
165123972023-01-29 12:12:11673 days ago1674994331
0xb2d9859C...96135a162
0.00040425 ETH
165123972023-01-29 12:12:11673 days ago1674994331
0xb2d9859C...96135a162
0.00004491 ETH
165123972023-01-29 12:12:11673 days ago1674994331
0xb2d9859C...96135a162
0.00044917 ETH
164498992023-01-20 18:46:11682 days ago1674240371
0xb2d9859C...96135a162
0.00033375 ETH
164498992023-01-20 18:46:11682 days ago1674240371
0xb2d9859C...96135a162
0.00003708 ETH
164498992023-01-20 18:46:11682 days ago1674240371
0xb2d9859C...96135a162
0.00037084 ETH
164292802023-01-17 21:42:23685 days ago1673991743
0xb2d9859C...96135a162
0.00036641 ETH
164292802023-01-17 21:42:23685 days ago1673991743
0xb2d9859C...96135a162
0.00004071 ETH
164292802023-01-17 21:42:23685 days ago1673991743
0xb2d9859C...96135a162
0.00040712 ETH
164292782023-01-17 21:41:59685 days ago1673991719
0xb2d9859C...96135a162
0.00039255 ETH
164292782023-01-17 21:41:59685 days ago1673991719
0xb2d9859C...96135a162
0.00004361 ETH
164292782023-01-17 21:41:59685 days ago1673991719
0xb2d9859C...96135a162
0.00043617 ETH
164292532023-01-17 21:36:59685 days ago1673991419
0xb2d9859C...96135a162
0.00031795 ETH
164292532023-01-17 21:36:59685 days ago1673991419
0xb2d9859C...96135a162
0.00003532 ETH
164292532023-01-17 21:36:59685 days ago1673991419
0xb2d9859C...96135a162
0.00035328 ETH
164292512023-01-17 21:36:35685 days ago1673991395
0xb2d9859C...96135a162
0.00033927 ETH
164292512023-01-17 21:36:35685 days ago1673991395
0xb2d9859C...96135a162
0.00003769 ETH
164292512023-01-17 21:36:35685 days ago1673991395
0xb2d9859C...96135a162
0.00037697 ETH
164292482023-01-17 21:35:59685 days ago1673991359
0xb2d9859C...96135a162
0.00037155 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SHIBull

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : shibull.sol
// SPDX-License-Identifier: UNLICENSED
// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol

pragma solidity >=0.6.2;

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

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

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

// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol

pragma solidity >=0.6.2;


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

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

// File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol

pragma solidity >=0.5.0;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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);
    }
}

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is 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 subtraction 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;
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// File: ShiBull.sol


pragma solidity ^0.8.10;

/* solhint-disable */







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

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

    mapping(address => bool) private _isExcludedFromFee;
    mapping(address => bool) private _isExcluded;

    address[] private _excluded;

    uint256 private constant MAX = ~uint256(0);
    uint256 private _tTotal = 1e11 * 1e9;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;

    string private _name = "SHIBull INU";
    string private _symbol = "SHIBull";
    uint8 private _decimals = 9;

    struct Fee {
        uint16 liquidityFee;
        uint16 marketingFee;
        uint16 devFee;
        uint16 burnFee;
        uint16 taxFee;
    }

    Fee public buyFee;
    Fee public sellFee;

    uint16 private _taxFee;
    uint16 private _liquidityFee;
    uint16 private _marketingFee;
    uint16 private _burnFee;
    uint16 private _devFee;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;

    address public _marketingWallet = payable(address(0xE3403b5cf79c48B771aC266fD7eC110d013DE9fa));
    address public _burnWallet = payable(address(0xdead));
    address public _devWallet = payable(address(0xE3403b5cf79c48B771aC266fD7eC110d013DE9fa));

    bool internal inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = true;
    bool public isTradingEnabled;

    uint256 public maxBuyAmount;
    uint256 public maxSellAmount;
    uint256 public maxWalletAmount;
    uint256 private totalBuyFee;
    uint256 private totalSellFee;

    uint256 private numTokensSellToAddToLiquidity = 1e3 * 1e9;

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

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

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

        buyFee.liquidityFee = 30;
        buyFee.marketingFee = 20;
        buyFee.burnFee = 0;
        buyFee.taxFee = 0;
        buyFee.devFee = 0;

        sellFee.liquidityFee = 100;
        sellFee.marketingFee = 50;
        sellFee.burnFee = 0;
        sellFee.taxFee = 0;
        sellFee.devFee = 0;

        totalBuyFee = buyFee.liquidityFee + buyFee.marketingFee + buyFee.burnFee + buyFee.taxFee + buyFee.devFee;
        totalSellFee = sellFee.liquidityFee + sellFee.marketingFee + sellFee.burnFee + sellFee.taxFee + sellFee.devFee;

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

        // set the rest of the contract variables
        uniswapV2Router = _uniswapV2Router;

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

        //exclude Burn,Pair and token address from reward
        excludeFromReward(_burnWallet);
        excludeFromReward(address(uniswapV2Pair));
        excludeFromReward(address(this));

        maxSellAmount = totalSupply().mul(1).div(100); //1% of the supply
        maxBuyAmount = totalSupply().mul(1).div(100); // 1% of the supply
        maxWalletAmount = totalSupply().mul(2).div(100); // 2% of the supply

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    function setBuyFee(uint16 liq, uint16 market, uint16 burn, uint16 tax, uint16 dev) external onlyOwner {
        buyFee.liquidityFee = liq;
        buyFee.marketingFee = market;
        buyFee.burnFee = burn;
        buyFee.taxFee = tax;
        buyFee.devFee = dev;
        require (totalBuyFee < 200, "Max buy fees should be less than equal to 20 percent");
    }

    function setSellFee(uint16 liq, uint16 market, uint16 burn, uint16 tax, uint16 dev) external onlyOwner {
        sellFee.liquidityFee = liq;
        sellFee.marketingFee = market;
        sellFee.burnFee = burn;
        sellFee.taxFee = tax;
        sellFee.devFee = dev;
         require (totalSellFee < 200, "Max sell fees should be less than equal to 20 percent");
    }

    function setWallets (address market, address dev) external onlyOwner {
        require (market != address(0) || dev != address(0), "marketing or dev wallet can't be zero address");
        _marketingWallet = market;
        _devWallet = dev;
    }

    function setNumTokensSellToAddToLiquidity(uint256 numTokens) external onlyOwner {
        numTokensSellToAddToLiquidity = numTokens;
    }

    function updateRouter(address newAddress) external onlyOwner {
        require(newAddress != address(uniswapV2Router), "TOKEN: The router already has that address");
            uniswapV2Router = IUniswapV2Router02(newAddress);
            address get_pair =
            IUniswapV2Factory(uniswapV2Router.factory()).getPair(address(this),
            uniswapV2Router.WETH());
         if (get_pair == address(0)) {
          uniswapV2Pair =
            IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),
             uniswapV2Router.WETH());
        } else {
        uniswapV2Pair = get_pair;
        }
    }

    function enableTrading() external onlyOwner {
        isTradingEnabled = true;
    }

    function setMaxWallet(uint256 value) external onlyOwner {
        require (value >= totalSupply().div(100), "No rug pull");
        maxWalletAmount = value;
    }

    function setMaxBuyAmount(uint256 value) external onlyOwner {
        require (value >= totalSupply().div(100), "No rug pull");
        maxBuyAmount = value;
    }

    function setMaxSellAmount(uint256 value) external onlyOwner {
        require (value >= totalSupply().div(100), "No rug pull");
        maxSellAmount = value;
    }

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

    function removeAllLimits() external  onlyOwner {
       maxBuyAmount = totalSupply();
       maxSellAmount = totalSupply();
       maxWalletAmount = totalSupply();
    }

    function claimStuckTokens(address _token) external onlyOwner {
        require(_token != address(this), "No rug pulls :)");

        if (_token == address(0x0)) {
            payable(owner()).transfer(address(this).balance);
            return;
        }

        IERC20 erc20token = IERC20(_token);
        uint256 balance = erc20token.balanceOf(address(this));
        erc20token.transfer(owner(), balance);
    }

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

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

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

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

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

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

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

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

    function _takeWallet(uint256 tBurn, uint256 tMarketing, uint256 tDev) private {
        uint256 currentRate = _getRate();
        uint256 rBurn = tBurn.mul(currentRate);
        uint256 rMarketing = tMarketing.mul(currentRate);
        uint256 rDev = tDev.mul(currentRate);

        _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing).add(rDev);
        _rOwned[_burnWallet] =_rOwned[_burnWallet].add(rBurn);
         if (_isExcluded[address(this)]){
        _tOwned[address(this)] = _tOwned[address(this)].add(tMarketing).add(tDev);
         }
         if(_isExcluded[_burnWallet]){
        _tOwned[_burnWallet] = _tOwned[_burnWallet].add(tBurn);     
         }

        
    }

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

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

    function calculateBurnFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_burnFee).div(10 ** 3);
    }

    function calculateMarketingFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_marketingFee).div(10 ** 3);
    }

    function calculatedevFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_devFee).div(10 ** 3);
    }

    function removeAllFee() private {
        _taxFee = 0;
        _liquidityFee = 0;
        _burnFee = 0;
        _marketingFee = 0;
        _devFee = 0;
    }

    function setBuy() private {
        _taxFee = buyFee.taxFee;
        _liquidityFee = buyFee.liquidityFee;
        _burnFee = buyFee.burnFee;
        _marketingFee = buyFee.marketingFee;
        _devFee = buyFee.devFee;
    }

    function setSell() private {
        _taxFee = sellFee.taxFee;
        _liquidityFee = sellFee.liquidityFee;
        _burnFee = sellFee.burnFee;
        _marketingFee = sellFee.marketingFee;
        _devFee = sellFee.devFee;
    }

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

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

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

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

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

        bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity;
        if (overMinTokenBalance && !inSwapAndLiquify && from != uniswapV2Pair && swapAndLiquifyEnabled) {
            swapAndLiquify(contractTokenBalance);
        }

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

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

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

    function swapAndLiquify(uint256 tokens) private lockTheSwap {
       uint256 initialBalance = address(this).balance;
        uint256 totalFee = totalBuyFee + totalSellFee - buyFee.burnFee - sellFee.burnFee - buyFee.taxFee - sellFee.taxFee;
        uint256 swapTokens = tokens.mul(buyFee.marketingFee + sellFee.marketingFee + (buyFee.liquidityFee + sellFee.liquidityFee)/2
                                    + buyFee.devFee + sellFee.devFee).div(totalFee);
        uint256 liqTokens = tokens - swapTokens;
        swapTokensForETH(swapTokens);

        uint256 newBalance = address(this).balance.sub(initialBalance);
        uint256 marketingPart = newBalance.mul(buyFee.marketingFee + sellFee.marketingFee)
                                .div(totalFee);
        uint256 devPart = newBalance.mul(buyFee.devFee + sellFee.devFee)
                                .div(totalFee);
        uint256 liqETH = newBalance - marketingPart - devPart;                   
        payable(_marketingWallet).transfer(marketingPart);
        payable(_devWallet).transfer(devPart);
        
        addLiquidity(liqTokens, liqETH);

        emit SwapAndLiquify(tokens,liqTokens, liqETH);
    }

    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
            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
            address(0),
            block.timestamp
        );

    }

    //this method is responsible for taking all fee, if takeFee is true
    function _tokenTransfer(address sender, address recipient, uint256 amount, bool takeFee) private {
        removeAllFee();

        if (takeFee) {
            
            require(isTradingEnabled, "Trading not enabled yet");

            if (recipient != uniswapV2Pair) {
                require(balanceOf(recipient) + amount <= maxWalletAmount, "Balance exceeds limit");
            }
            if (sender == uniswapV2Pair) {
                require(amount <= maxBuyAmount, "Buy exceeds limit");
                setBuy();
            }
            if (recipient == uniswapV2Pair) {
                require(amount <= maxSellAmount, "Sell exceeds limit");
                setSell();
            }
        }

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

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

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

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

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

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

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":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_burnWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingWallet","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint16","name":"liquidityFee","type":"uint16"},{"internalType":"uint16","name":"marketingFee","type":"uint16"},{"internalType":"uint16","name":"devFee","type":"uint16"},{"internalType":"uint16","name":"burnFee","type":"uint16"},{"internalType":"uint16","name":"taxFee","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"claimStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeAllLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint16","name":"liquidityFee","type":"uint16"},{"internalType":"uint16","name":"marketingFee","type":"uint16"},{"internalType":"uint16","name":"devFee","type":"uint16"},{"internalType":"uint16","name":"burnFee","type":"uint16"},{"internalType":"uint16","name":"taxFee","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"liq","type":"uint16"},{"internalType":"uint16","name":"market","type":"uint16"},{"internalType":"uint16","name":"burn","type":"uint16"},{"internalType":"uint16","name":"tax","type":"uint16"},{"internalType":"uint16","name":"dev","type":"uint16"}],"name":"setBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMaxBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMaxSellAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"setNumTokensSellToAddToLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"liq","type":"uint16"},{"internalType":"uint16","name":"market","type":"uint16"},{"internalType":"uint16","name":"burn","type":"uint16"},{"internalType":"uint16","name":"tax","type":"uint16"},{"internalType":"uint16","name":"dev","type":"uint16"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"market","type":"address"},{"internalType":"address","name":"dev","type":"address"}],"name":"setWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405268056bc75e2d631000006007819055620000219060001962000a66565b6200002f9060001962000a93565b60085560408051808201909152600b8082526a53484942756c6c20494e5560a81b60209092019182526200006691600a91620009aa565b506040805180820190915260078082526614d212509d5b1b60ca1b60209092019182526200009791600b91620009aa565b50600c805460ff19166009179055601180546001600160a01b031990811673e3403b5cf79c48b771ac266fd7ec110d013de9fa179091556012805490911661dead17905560138054750100e3403b5cf79c48b771ac266fd7ec110d013de9fa600161ff0160a01b031990911617905564e8d4a510006019553480156200011c57600080fd5b5062000128336200050b565b60085433600090815260016020526040902055600d80546001600160501b03199081166214001e1791829055600e805490911662320064179055640100000000810461ffff9081169168010000000000000000810482169166010000000000008204811691620001a2916201000090910416601e62000aad565b620001ae919062000aad565b620001ba919062000aad565b620001c6919062000aad565b61ffff908116601755600e546401000000008104821691680100000000000000008204811691660100000000000081048216916200020e916201000081048216911662000aad565b6200021a919062000aad565b62000226919062000aad565b62000232919062000aad565b61ffff166018819055506000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000294573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ba919062000ad6565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000308573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200032e919062000ad6565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200037c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003a2919062000ad6565b601080546001600160a01b0319166001600160a01b03928316179055600f8054600160501b600160f01b0319166a010000000000000000000084841602179055600080548216815260046020526040808220805460ff1990811660019081179092553084528284208054821683179055601280548616855292909320805490931617909155546200043491166200055b565b6010546200044b906001600160a01b03166200055b565b62000456306200055b565b6200049460646200048060016200046c60075490565b6200069760201b62001a591790919060201c565b620006ac60201b62001a651790919060201c565b601555620004ad60646200048060016200046c60075490565b601455620004c660646200048060026200046c60075490565b60165560075460405190815233906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35062000bab565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b62000565620006ba565b6001600160a01b03811660009081526005602052604090205460ff1615620005d45760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064015b60405180910390fd5b6001600160a01b0381166000908152600160205260409020541562000631576001600160a01b038116600090815260016020526040902054620006179062000718565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6000620006a5828462000b01565b9392505050565b6000620006a5828462000b23565b6000546001600160a01b03163314620007165760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620005cb565b565b6000600854821115620007815760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401620005cb565b60006200078d620007a9565b9050620006a58184620006ac60201b62001a651790919060201c565b60008080620007b7620007dc565b91509150620007d58183620006ac60201b62001a651790919060201c565b9250505090565b6008546007546000918291825b6006548110156200095c578260016000600684815481106200080f576200080f62000b3a565b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806200087e575081600260006006848154811062000857576200085762000b3a565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156200089557600854600754945094505050509091565b620008ec6001600060068481548110620008b357620008b362000b3a565b60009182526020808320909101546001600160a01b03168352828101939093526040909101902054859162001a716200099c821b17901c565b92506200094560026000600684815481106200090c576200090c62000b3a565b60009182526020808320909101546001600160a01b03168352828101939093526040909101902054849162001a716200099c821b17901c565b915080620009538162000b50565b915050620007e9565b506200097b600754600854620006ac60201b62001a651790919060201c565b82101562000993576008546007549350935050509091565b90939092509050565b6000620006a5828462000a93565b828054620009b89062000b6e565b90600052602060002090601f016020900481019282620009dc576000855562000a27565b82601f10620009f757805160ff191683800117855562000a27565b8280016001018555821562000a27579182015b8281111562000a2757825182559160200191906001019062000a0a565b5062000a3592915062000a39565b5090565b5b8082111562000a35576000815560010162000a3a565b634e487b7160e01b600052601260045260246000fd5b60008262000a785762000a7862000a50565b500690565b634e487b7160e01b600052601160045260246000fd5b60008282101562000aa85762000aa862000a7d565b500390565b600061ffff80831681851680830382111562000acd5762000acd62000a7d565b01949350505050565b60006020828403121562000ae957600080fd5b81516001600160a01b0381168114620006a557600080fd5b600081600019048311821515161562000b1e5762000b1e62000a7d565b500290565b60008262000b355762000b3562000a50565b500490565b634e487b7160e01b600052603260045260246000fd5b600060001982141562000b675762000b6762000a7d565b5060010190565b600181811c9082168062000b8357607f821691505b6020821081141562000ba557634e487b7160e01b600052602260045260246000fd5b50919050565b6134678062000bbb6000396000f3fe6080604052600436106102975760003560e01c806366d602ae1161015a578063aa4bde28116100c1578063e99c9d091161007a578063e99c9d091461089c578063ea2f0b37146108bc578063f0f165af146108dc578063f2fde38b146108fc578063f34eb0b81461091c578063f9d0831a1461093c57600080fd5b8063aa4bde28146107cb578063c49b9a80146107e1578063c851cc3214610801578063d3f6a15714610821578063db05e5cb14610841578063dd62ed3e1461085657600080fd5b80638c369d3b116101135780638c369d3b146107185780638da5cb5b1461073857806395d89b4114610756578063962dfc751461076b578063a457c2d71461078b578063a9059cbb146107ab57600080fd5b806366d602ae1461066957806370a082311461067f578063715018a61461069f57806388e765ff146106b457806388f82020146106ca5780638a8c523c1461070357600080fd5b80633685d419116101fe57806349bd5a5e116101b757806349bd5a5e1461058f5780634a74bb02146105af5780634cfd4a92146105d057806352390c02146105f05780635342acb4146106105780635d0044ca1461064957600080fd5b80633685d419146104ab57806339509351146104cb5780633bd5d173146104eb578063437823ec1461050b5780634549b0391461052b578063470624021461054b57600080fd5b80631694505e116102505780631694505e1461039457806318160ddd146103bb57806323b872dd146103d05780632b14ca56146103f05780632d83811914610469578063313ce5671461048957600080fd5b8063064a59d0146102a357806306fdde03146102d9578063095ea7b3146102fb57806311a63e171461031b57806313114a9d146103535780631465d9291461037257600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b506013546102c490600160b01b900460ff1681565b60405190151581526020015b60405180910390f35b3480156102e557600080fd5b506102ee61095c565b6040516102d09190612f64565b34801561030757600080fd5b506102c4610316366004612fce565b6109ee565b34801561032757600080fd5b5060135461033b906001600160a01b031681565b6040516001600160a01b0390911681526020016102d0565b34801561035f57600080fd5b506009545b6040519081526020016102d0565b34801561037e57600080fd5b5061039261038d366004613011565b610a05565b005b3480156103a057600080fd5b50600f5461033b90600160501b90046001600160a01b031681565b3480156103c757600080fd5b50600754610364565b3480156103dc57600080fd5b506102c46103eb366004613076565b610ae9565b3480156103fc57600080fd5b50600e546104349061ffff80821691620100008104821691600160201b8204811691600160301b8104821691600160401b9091041685565b6040805161ffff968716815294861660208601529285169284019290925283166060830152909116608082015260a0016102d0565b34801561047557600080fd5b506103646104843660046130b7565b610b52565b34801561049557600080fd5b50600c5460405160ff90911681526020016102d0565b3480156104b757600080fd5b506103926104c63660046130d0565b610bd6565b3480156104d757600080fd5b506102c46104e6366004612fce565b610d6b565b3480156104f757600080fd5b506103926105063660046130b7565b610da1565b34801561051757600080fd5b506103926105263660046130d0565b610e8b565b34801561053757600080fd5b506103646105463660046130fb565b610eb7565b34801561055757600080fd5b50600d546104349061ffff80821691620100008104821691600160201b8204811691600160301b8104821691600160401b9091041685565b34801561059b57600080fd5b5060105461033b906001600160a01b031681565b3480156105bb57600080fd5b506013546102c490600160a81b900460ff1681565b3480156105dc57600080fd5b506103926105eb366004613011565b610f44565b3480156105fc57600080fd5b5061039261060b3660046130d0565b61101d565b34801561061c57600080fd5b506102c461062b3660046130d0565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561065557600080fd5b506103926106643660046130b7565b61114e565b34801561067557600080fd5b5061036460155481565b34801561068b57600080fd5b5061036461069a3660046130d0565b61118e565b3480156106ab57600080fd5b506103926111ed565b3480156106c057600080fd5b5061036460145481565b3480156106d657600080fd5b506102c46106e53660046130d0565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561070f57600080fd5b50610392611201565b34801561072457600080fd5b5060125461033b906001600160a01b031681565b34801561074457600080fd5b506000546001600160a01b031661033b565b34801561076257600080fd5b506102ee61121e565b34801561077757600080fd5b5060115461033b906001600160a01b031681565b34801561079757600080fd5b506102c46107a6366004612fce565b61122d565b3480156107b757600080fd5b506102c46107c6366004612fce565b61127c565b3480156107d757600080fd5b5061036460165481565b3480156107ed57600080fd5b506103926107fc36600461312b565b611289565b34801561080d57600080fd5b5061039261081c3660046130d0565b6112e9565b34801561082d57600080fd5b5061039261083c366004613148565b6116c1565b34801561084d57600080fd5b50610392611778565b34801561086257600080fd5b50610364610871366004613148565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3480156108a857600080fd5b506103926108b73660046130b7565b611794565b3480156108c857600080fd5b506103926108d73660046130d0565b6117ce565b3480156108e857600080fd5b506103926108f73660046130b7565b6117f7565b34801561090857600080fd5b506103926109173660046130d0565b611804565b34801561092857600080fd5b506103926109373660046130b7565b61187d565b34801561094857600080fd5b506103926109573660046130d0565b6118b7565b6060600a805461096b90613176565b80601f016020809104026020016040519081016040528092919081815260200182805461099790613176565b80156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b5050505050905090565b60006109fb338484611a7d565b5060015b92915050565b610a0d611ba1565b600d805461ffff87811663ffffffff199092169190911762010000878316021769ffffffff0000000000001916600160301b8683160261ffff60401b191617600160401b858316021765ffff000000001916600160201b9184169190910217905560175460c811610ae25760405162461bcd60e51b815260206004820152603460248201527f4d61782062757920666565732073686f756c64206265206c657373207468616e60448201527308195c5d585b081d1bc80c8c081c195c98d95b9d60621b60648201526084015b60405180910390fd5b5050505050565b6000610af6848484611bfb565b610b488433610b43856040518060600160405280602881526020016133e5602891396001600160a01b038a1660009081526003602090815260408083203384529091529020549190611deb565b611a7d565b5060019392505050565b6000600854821115610bb95760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610ad9565b6000610bc3611e17565b9050610bcf8382611a65565b9392505050565b610bde611ba1565b6001600160a01b03811660009081526005602052604090205460ff16610c465760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610ad9565b60005b600654811015610d6757816001600160a01b031660068281548110610c7057610c706131b1565b6000918252602090912001546001600160a01b03161415610d555760068054610c9b906001906131dd565b81548110610cab57610cab6131b1565b600091825260209091200154600680546001600160a01b039092169183908110610cd757610cd76131b1565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600590925220805460ff191690556006805480610d2f57610d2f6131f4565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610d5f8161320a565b915050610c49565b5050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916109fb918590610b439086611e3a565b3360008181526005602052604090205460ff1615610e165760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610ad9565b6000610e2183611e46565b505050506001600160a01b038416600090815260016020526040902054919250610e4d91905082611a71565b6001600160a01b038316600090815260016020526040902055600854610e739082611a71565b600855600954610e839084611e3a565b600955505050565b610e93611ba1565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b6000600754831115610f0b5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610ad9565b81610f2a576000610f1b84611e46565b509395506109ff945050505050565b6000610f3584611e46565b509295506109ff945050505050565b610f4c611ba1565b600e805461ffff87811663ffffffff199092169190911762010000878316021769ffffffff0000000000001916600160301b8683160261ffff60401b191617600160401b858316021765ffff000000001916600160201b9184169190910217905560185460c811610ae25760405162461bcd60e51b815260206004820152603560248201527f4d61782073656c6c20666565732073686f756c64206265206c657373207468616044820152741b88195c5d585b081d1bc80c8c081c195c98d95b9d605a1b6064820152608401610ad9565b611025611ba1565b6001600160a01b03811660009081526005602052604090205460ff161561108e5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610ad9565b6001600160a01b038116600090815260016020526040902054156110e8576001600160a01b0381166000908152600160205260409020546110ce90610b52565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b611156611ba1565b61116a606461116460075490565b90611a65565b8110156111895760405162461bcd60e51b8152600401610ad990613225565b601655565b6001600160a01b03811660009081526005602052604081205460ff16156111cb57506001600160a01b031660009081526002602052604090205490565b6001600160a01b0382166000908152600160205260409020546109ff90610b52565b6111f5611ba1565b6111ff6000611e9c565b565b611209611ba1565b6013805460ff60b01b1916600160b01b179055565b6060600b805461096b90613176565b60006109fb3384610b438560405180606001604052806025815260200161340d602591393360009081526003602090815260408083206001600160a01b038d1684529091529020549190611deb565b60006109fb338484611bfb565b611291611ba1565b60138054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906112de90831515815260200190565b60405180910390a150565b6112f1611ba1565b600f546001600160a01b03828116600160501b9092041614156113695760405162461bcd60e51b815260206004820152602a60248201527f544f4b454e3a2054686520726f7574657220616c7265616479206861732074686044820152696174206164647265737360b01b6064820152608401610ad9565b80600f600a6101000a8154816001600160a01b0302191690836001600160a01b031602179055506000600f600a9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611409919061324a565b6001600160a01b031663e6a4390530600f600a9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148f919061324a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa1580156114da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fe919061324a565b90506001600160a01b0381166116a057600f600a9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611561573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611585919061324a565b6001600160a01b031663c9c6539630600f600a9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160b919061324a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611658573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167c919061324a565b601080546001600160a01b0319166001600160a01b03929092169190911790555050565b601080546001600160a01b0383166001600160a01b03199091161790555050565b6116c9611ba1565b6001600160a01b0382161515806116e857506001600160a01b03811615155b61174a5760405162461bcd60e51b815260206004820152602d60248201527f6d61726b6574696e67206f72206465762077616c6c65742063616e277420626560448201526c207a65726f206164647265737360981b6064820152608401610ad9565b601180546001600160a01b039384166001600160a01b03199182161790915560138054929093169116179055565b611780611ba1565b600754601455600754601555600754601655565b61179c611ba1565b6117aa606461116460075490565b8110156117c95760405162461bcd60e51b8152600401610ad990613225565b601555565b6117d6611ba1565b6001600160a01b03166000908152600460205260409020805460ff19169055565b6117ff611ba1565b601955565b61180c611ba1565b6001600160a01b0381166118715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ad9565b61187a81611e9c565b50565b611885611ba1565b611893606461116460075490565b8110156118b25760405162461bcd60e51b8152600401610ad990613225565b601455565b6118bf611ba1565b6001600160a01b03811630141561190a5760405162461bcd60e51b815260206004820152600f60248201526e4e6f207275672070756c6c73203a2960881b6044820152606401610ad9565b6001600160a01b03811661195257600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610d67573d6000803e3d6000fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561199b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bf9190613267565b9050816001600160a01b031663a9059cbb6119e26000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015611a2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a539190613280565b50505050565b6000610bcf828461329d565b6000610bcf82846132d2565b6000610bcf82846131dd565b6001600160a01b038316611adf5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ad9565b6001600160a01b038216611b405760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ad9565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b031633146111ff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad9565b6001600160a01b038316611c5f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ad9565b6001600160a01b038216611cc15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ad9565b60008111611d235760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610ad9565b6000611d2e3061118e565b60195490915081108015908190611d4f5750601354600160a01b900460ff16155b8015611d6957506010546001600160a01b03868116911614155b8015611d7e5750601354600160a81b900460ff165b15611d8c57611d8c82611eec565b6001600160a01b03851660009081526004602052604090205460019060ff1680611dce57506001600160a01b03851660009081526004602052604090205460ff165b15611dd7575060005b611de38686868461218a565b505050505050565b60008184841115611e0f5760405162461bcd60e51b8152600401610ad99190612f64565b505050900390565b6000806000611e2461256e565b9092509050611e338282611a65565b9250505090565b6000610bcf82846132e6565b600080600080600080600080600080611e5e8b6126f0565b93509350935093506000806000611e7f8e878787611e7a611e17565b612775565b919e509c509a509598509396509194505050505091939550919395565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6013805460ff60a01b1916600160a01b179055600e54600d54601854601754479360009361ffff600160401b808404821695908304821694600160301b9485900483169490930490911691611f4191906132e6565b611f4b91906131dd565b611f5591906131dd565b611f5f91906131dd565b611f6991906131dd565b600e54600d54919250600091611ff99184916111649161ffff600160201b808304821693908104821692600292611fa49291811691166132fe565b611fae9190613324565b600e54600d54611fd09161ffff620100009182900481169291909104166132fe565b611fda91906132fe565b611fe491906132fe565b611fee91906132fe565b879061ffff16611a59565b9050600061200782866131dd565b9050612012826127d7565b600061201e4786611a71565b600e54600d5491925060009161205a9187916111649161204f9161ffff6201000092839004811692909104166132fe565b859061ffff16611a59565b600e54600d549192506000916120979188916111649161208c9161ffff600160201b92839004811692909104166132fe565b869061ffff16611a59565b90506000816120a684866131dd565b6120b091906131dd565b6011546040519192506001600160a01b03169084156108fc029085906000818181858888f193505050501580156120eb573d6000803e3d6000fd5b506013546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015612126573d6000803e3d6000fd5b506121318582612950565b604080518a8152602081018790529081018290527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506013805460ff60a01b1916905550505050505050565b6121a2600f805469ffffffffffffffffffff19169055565b801561241a57601354600160b01b900460ff166122015760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206e6f7420656e61626c6564207965740000000000000000006044820152606401610ad9565b6010546001600160a01b0384811691161461227357601654826122238561118e565b61222d91906132e6565b11156122735760405162461bcd60e51b815260206004820152601560248201527410985b185b98d948195e18d959591cc81b1a5b5a5d605a1b6044820152606401610ad9565b6010546001600160a01b0385811691161415612346576014548211156122cf5760405162461bcd60e51b8152602060048201526011602482015270109d5e48195e18d959591cc81b1a5b5a5d607a1b6044820152606401610ad9565b600d54600f8054600160401b80840461ffff90811663ffffffff1990931692909217828516620100009081029190911767ffffffff000000001916600160301b80870485160265ffff000000001916179085048316600160201b9081029190911761ffff60401b1916940491909116029190911790555b6010546001600160a01b038481169116141561241a576015548211156123a35760405162461bcd60e51b815260206004820152601260248201527114d95b1b08195e18d959591cc81b1a5b5a5d60721b6044820152606401610ad9565b600e54600f8054600160401b80840461ffff90811663ffffffff1990931692909217828516620100009081029190911767ffffffff000000001916600160301b80870485160265ffff000000001916179085048316600160201b9081029190911761ffff60401b1916940491909116029190911790555b6001600160a01b03841660009081526005602052604090205460ff16801561245b57506001600160a01b03831660009081526005602052604090205460ff16155b156124705761246b848484612a07565b611a53565b6001600160a01b03841660009081526005602052604090205460ff161580156124b157506001600160a01b03831660009081526005602052604090205460ff165b156124c15761246b848484612b50565b6001600160a01b03841660009081526005602052604090205460ff1615801561250357506001600160a01b03831660009081526005602052604090205460ff16155b156125135761246b848484612bf9565b6001600160a01b03841660009081526005602052604090205460ff16801561255357506001600160a01b03831660009081526005602052604090205460ff165b156125635761246b848484612c3d565b611a53848484612bf9565b6008546007546000918291825b6006548110156126c05782600160006006848154811061259d5761259d6131b1565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061260857508160026000600684815481106125e1576125e16131b1565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561261e57600854600754945094505050509091565b6126646001600060068481548110612638576126386131b1565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611a71565b92506126ac6002600060068481548110612680576126806131b1565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611a71565b9150806126b88161320a565b91505061257b565b506007546008546126d091611a65565b8210156126e7576008546007549350935050509091565b90939092509050565b600080600080600061270186612cb0565b9050600061270e87612ccd565b9050600061271b88612cf0565b61272489612d14565b61272d8a612d38565b61273791906132e6565b61274191906132e6565b90506000612759836127538b87611a71565b90611a71565b90506127658183611a71565b9993985091965094509092505050565b60008080806127848986611a59565b905060006127928987611a59565b905060006127a08988611a59565b905060006127ae8989611a59565b905060006127c28261275385818989611a71565b949d949c50929a509298505050505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061280c5761280c6131b1565b60200260200101906001600160a01b031690816001600160a01b031681525050600f600a9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561287f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128a3919061324a565b816001815181106128b6576128b66131b1565b6001600160a01b039283166020918202929092010152600f546128e3913091600160501b90041684611a7d565b600f5460405163791ac94760e01b8152600160501b9091046001600160a01b03169063791ac94790612922908590600090869030904290600401613345565b600060405180830381600087803b15801561293c57600080fd5b505af1158015611de3573d6000803e3d6000fd5b600f5461296f903090600160501b90046001600160a01b031684611a7d565b600f5460405163f305d71960e01b8152306004820152602481018490526000604482018190526064820181905260848201524260a4820152600160501b9091046001600160a01b03169063f305d71990839060c40160606040518083038185885af11580156129e2573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ae291906133b6565b600080600080600080612a1987611e46565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150612a4b9088611a71565b6001600160a01b038a16600090815260026020908152604080832093909355600190522054612a7a9087611a71565b6001600160a01b03808b1660009081526001602052604080822093909355908a1681522054612aa99086611e3a565b6001600160a01b038916600090815260016020526040902055612acb81612d5c565b612aee612ad788612d38565b612ae089612d14565b612ae98a612cf0565b612de5565b612af88483612f40565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612b3d91815260200190565b60405180910390a3505050505050505050565b600080600080600080612b6287611e46565b6001600160a01b038f16600090815260016020526040902054959b50939950919750955093509150612b949087611a71565b6001600160a01b03808b16600090815260016020908152604080832094909455918b16815260029091522054612bca9084611e3a565b6001600160a01b038916600090815260026020908152604080832093909355600190522054612aa99086611e3a565b600080600080600080612c0b87611e46565b6001600160a01b038f16600090815260016020526040902054959b50939950919750955093509150612a7a9087611a71565b600080600080600080612c4f87611e46565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150612c819088611a71565b6001600160a01b038a16600090815260026020908152604080832093909355600190522054612b949087611a71565b600f546000906109ff906103e89061116490859061ffff16611a59565b600f546000906109ff906103e89061116490859062010000900461ffff16611a59565b600f546000906109ff906103e890611164908590600160401b900461ffff16611a59565b600f546000906109ff906103e890611164908590600160201b900461ffff16611a59565b600f546000906109ff906103e890611164908590600160301b900461ffff16611a59565b6000612d66611e17565b90506000612d748383611a59565b30600090815260016020526040902054909150612d919082611e3a565b3060009081526001602090815260408083209390935560059052205460ff1615612de05730600090815260026020526040902054612dcf9084611e3a565b306000908152600260205260409020555b505050565b6000612def611e17565b90506000612dfd8583611a59565b90506000612e0b8584611a59565b90506000612e198585611a59565b30600090815260016020526040902054909150612e42908290612e3c9085611e3a565b90611e3a565b30600090815260016020526040808220929092556012546001600160a01b031681522054612e709084611e3a565b6012546001600160a01b031660009081526001602090815260408083209390935530825260059052205460ff1615612ed35730600090815260026020526040902054612ec2908690612e3c9089611e3a565b306000908152600260205260409020555b6012546001600160a01b031660009081526005602052604090205460ff1615612f37576012546001600160a01b0316600090815260026020526040902054612f1b9088611e3a565b6012546001600160a01b03166000908152600260205260409020555b50505050505050565b600854612f4d9083611a71565b600855600954612f5d9082611e3a565b6009555050565b600060208083528351808285015260005b81811015612f9157858101830151858201604001528201612f75565b81811115612fa3576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461187a57600080fd5b60008060408385031215612fe157600080fd5b8235612fec81612fb9565b946020939093013593505050565b803561ffff8116811461300c57600080fd5b919050565b600080600080600060a0868803121561302957600080fd5b61303286612ffa565b945061304060208701612ffa565b935061304e60408701612ffa565b925061305c60608701612ffa565b915061306a60808701612ffa565b90509295509295909350565b60008060006060848603121561308b57600080fd5b833561309681612fb9565b925060208401356130a681612fb9565b929592945050506040919091013590565b6000602082840312156130c957600080fd5b5035919050565b6000602082840312156130e257600080fd5b8135610bcf81612fb9565b801515811461187a57600080fd5b6000806040838503121561310e57600080fd5b823591506020830135613120816130ed565b809150509250929050565b60006020828403121561313d57600080fd5b8135610bcf816130ed565b6000806040838503121561315b57600080fd5b823561316681612fb9565b9150602083013561312081612fb9565b600181811c9082168061318a57607f821691505b602082108114156131ab57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156131ef576131ef6131c7565b500390565b634e487b7160e01b600052603160045260246000fd5b600060001982141561321e5761321e6131c7565b5060010190565b6020808252600b908201526a139bc81c9d59c81c1d5b1b60aa1b604082015260600190565b60006020828403121561325c57600080fd5b8151610bcf81612fb9565b60006020828403121561327957600080fd5b5051919050565b60006020828403121561329257600080fd5b8151610bcf816130ed565b60008160001904831182151516156132b7576132b76131c7565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826132e1576132e16132bc565b500490565b600082198211156132f9576132f96131c7565b500190565b600061ffff80831681851680830382111561331b5761331b6131c7565b01949350505050565b600061ffff80841680613339576133396132bc565b92169190910492915050565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156133955784516001600160a01b031683529383019391830191600101613370565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156133cb57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220e991594a08ba8bc6bf9895f2217740c763c807720a76d88ab4c39d7d3e75909d64736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106102975760003560e01c806366d602ae1161015a578063aa4bde28116100c1578063e99c9d091161007a578063e99c9d091461089c578063ea2f0b37146108bc578063f0f165af146108dc578063f2fde38b146108fc578063f34eb0b81461091c578063f9d0831a1461093c57600080fd5b8063aa4bde28146107cb578063c49b9a80146107e1578063c851cc3214610801578063d3f6a15714610821578063db05e5cb14610841578063dd62ed3e1461085657600080fd5b80638c369d3b116101135780638c369d3b146107185780638da5cb5b1461073857806395d89b4114610756578063962dfc751461076b578063a457c2d71461078b578063a9059cbb146107ab57600080fd5b806366d602ae1461066957806370a082311461067f578063715018a61461069f57806388e765ff146106b457806388f82020146106ca5780638a8c523c1461070357600080fd5b80633685d419116101fe57806349bd5a5e116101b757806349bd5a5e1461058f5780634a74bb02146105af5780634cfd4a92146105d057806352390c02146105f05780635342acb4146106105780635d0044ca1461064957600080fd5b80633685d419146104ab57806339509351146104cb5780633bd5d173146104eb578063437823ec1461050b5780634549b0391461052b578063470624021461054b57600080fd5b80631694505e116102505780631694505e1461039457806318160ddd146103bb57806323b872dd146103d05780632b14ca56146103f05780632d83811914610469578063313ce5671461048957600080fd5b8063064a59d0146102a357806306fdde03146102d9578063095ea7b3146102fb57806311a63e171461031b57806313114a9d146103535780631465d9291461037257600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b506013546102c490600160b01b900460ff1681565b60405190151581526020015b60405180910390f35b3480156102e557600080fd5b506102ee61095c565b6040516102d09190612f64565b34801561030757600080fd5b506102c4610316366004612fce565b6109ee565b34801561032757600080fd5b5060135461033b906001600160a01b031681565b6040516001600160a01b0390911681526020016102d0565b34801561035f57600080fd5b506009545b6040519081526020016102d0565b34801561037e57600080fd5b5061039261038d366004613011565b610a05565b005b3480156103a057600080fd5b50600f5461033b90600160501b90046001600160a01b031681565b3480156103c757600080fd5b50600754610364565b3480156103dc57600080fd5b506102c46103eb366004613076565b610ae9565b3480156103fc57600080fd5b50600e546104349061ffff80821691620100008104821691600160201b8204811691600160301b8104821691600160401b9091041685565b6040805161ffff968716815294861660208601529285169284019290925283166060830152909116608082015260a0016102d0565b34801561047557600080fd5b506103646104843660046130b7565b610b52565b34801561049557600080fd5b50600c5460405160ff90911681526020016102d0565b3480156104b757600080fd5b506103926104c63660046130d0565b610bd6565b3480156104d757600080fd5b506102c46104e6366004612fce565b610d6b565b3480156104f757600080fd5b506103926105063660046130b7565b610da1565b34801561051757600080fd5b506103926105263660046130d0565b610e8b565b34801561053757600080fd5b506103646105463660046130fb565b610eb7565b34801561055757600080fd5b50600d546104349061ffff80821691620100008104821691600160201b8204811691600160301b8104821691600160401b9091041685565b34801561059b57600080fd5b5060105461033b906001600160a01b031681565b3480156105bb57600080fd5b506013546102c490600160a81b900460ff1681565b3480156105dc57600080fd5b506103926105eb366004613011565b610f44565b3480156105fc57600080fd5b5061039261060b3660046130d0565b61101d565b34801561061c57600080fd5b506102c461062b3660046130d0565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561065557600080fd5b506103926106643660046130b7565b61114e565b34801561067557600080fd5b5061036460155481565b34801561068b57600080fd5b5061036461069a3660046130d0565b61118e565b3480156106ab57600080fd5b506103926111ed565b3480156106c057600080fd5b5061036460145481565b3480156106d657600080fd5b506102c46106e53660046130d0565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561070f57600080fd5b50610392611201565b34801561072457600080fd5b5060125461033b906001600160a01b031681565b34801561074457600080fd5b506000546001600160a01b031661033b565b34801561076257600080fd5b506102ee61121e565b34801561077757600080fd5b5060115461033b906001600160a01b031681565b34801561079757600080fd5b506102c46107a6366004612fce565b61122d565b3480156107b757600080fd5b506102c46107c6366004612fce565b61127c565b3480156107d757600080fd5b5061036460165481565b3480156107ed57600080fd5b506103926107fc36600461312b565b611289565b34801561080d57600080fd5b5061039261081c3660046130d0565b6112e9565b34801561082d57600080fd5b5061039261083c366004613148565b6116c1565b34801561084d57600080fd5b50610392611778565b34801561086257600080fd5b50610364610871366004613148565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3480156108a857600080fd5b506103926108b73660046130b7565b611794565b3480156108c857600080fd5b506103926108d73660046130d0565b6117ce565b3480156108e857600080fd5b506103926108f73660046130b7565b6117f7565b34801561090857600080fd5b506103926109173660046130d0565b611804565b34801561092857600080fd5b506103926109373660046130b7565b61187d565b34801561094857600080fd5b506103926109573660046130d0565b6118b7565b6060600a805461096b90613176565b80601f016020809104026020016040519081016040528092919081815260200182805461099790613176565b80156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b5050505050905090565b60006109fb338484611a7d565b5060015b92915050565b610a0d611ba1565b600d805461ffff87811663ffffffff199092169190911762010000878316021769ffffffff0000000000001916600160301b8683160261ffff60401b191617600160401b858316021765ffff000000001916600160201b9184169190910217905560175460c811610ae25760405162461bcd60e51b815260206004820152603460248201527f4d61782062757920666565732073686f756c64206265206c657373207468616e60448201527308195c5d585b081d1bc80c8c081c195c98d95b9d60621b60648201526084015b60405180910390fd5b5050505050565b6000610af6848484611bfb565b610b488433610b43856040518060600160405280602881526020016133e5602891396001600160a01b038a1660009081526003602090815260408083203384529091529020549190611deb565b611a7d565b5060019392505050565b6000600854821115610bb95760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610ad9565b6000610bc3611e17565b9050610bcf8382611a65565b9392505050565b610bde611ba1565b6001600160a01b03811660009081526005602052604090205460ff16610c465760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610ad9565b60005b600654811015610d6757816001600160a01b031660068281548110610c7057610c706131b1565b6000918252602090912001546001600160a01b03161415610d555760068054610c9b906001906131dd565b81548110610cab57610cab6131b1565b600091825260209091200154600680546001600160a01b039092169183908110610cd757610cd76131b1565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600590925220805460ff191690556006805480610d2f57610d2f6131f4565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610d5f8161320a565b915050610c49565b5050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916109fb918590610b439086611e3a565b3360008181526005602052604090205460ff1615610e165760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610ad9565b6000610e2183611e46565b505050506001600160a01b038416600090815260016020526040902054919250610e4d91905082611a71565b6001600160a01b038316600090815260016020526040902055600854610e739082611a71565b600855600954610e839084611e3a565b600955505050565b610e93611ba1565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b6000600754831115610f0b5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610ad9565b81610f2a576000610f1b84611e46565b509395506109ff945050505050565b6000610f3584611e46565b509295506109ff945050505050565b610f4c611ba1565b600e805461ffff87811663ffffffff199092169190911762010000878316021769ffffffff0000000000001916600160301b8683160261ffff60401b191617600160401b858316021765ffff000000001916600160201b9184169190910217905560185460c811610ae25760405162461bcd60e51b815260206004820152603560248201527f4d61782073656c6c20666565732073686f756c64206265206c657373207468616044820152741b88195c5d585b081d1bc80c8c081c195c98d95b9d605a1b6064820152608401610ad9565b611025611ba1565b6001600160a01b03811660009081526005602052604090205460ff161561108e5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610ad9565b6001600160a01b038116600090815260016020526040902054156110e8576001600160a01b0381166000908152600160205260409020546110ce90610b52565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b611156611ba1565b61116a606461116460075490565b90611a65565b8110156111895760405162461bcd60e51b8152600401610ad990613225565b601655565b6001600160a01b03811660009081526005602052604081205460ff16156111cb57506001600160a01b031660009081526002602052604090205490565b6001600160a01b0382166000908152600160205260409020546109ff90610b52565b6111f5611ba1565b6111ff6000611e9c565b565b611209611ba1565b6013805460ff60b01b1916600160b01b179055565b6060600b805461096b90613176565b60006109fb3384610b438560405180606001604052806025815260200161340d602591393360009081526003602090815260408083206001600160a01b038d1684529091529020549190611deb565b60006109fb338484611bfb565b611291611ba1565b60138054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906112de90831515815260200190565b60405180910390a150565b6112f1611ba1565b600f546001600160a01b03828116600160501b9092041614156113695760405162461bcd60e51b815260206004820152602a60248201527f544f4b454e3a2054686520726f7574657220616c7265616479206861732074686044820152696174206164647265737360b01b6064820152608401610ad9565b80600f600a6101000a8154816001600160a01b0302191690836001600160a01b031602179055506000600f600a9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611409919061324a565b6001600160a01b031663e6a4390530600f600a9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148f919061324a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa1580156114da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fe919061324a565b90506001600160a01b0381166116a057600f600a9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611561573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611585919061324a565b6001600160a01b031663c9c6539630600f600a9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160b919061324a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611658573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167c919061324a565b601080546001600160a01b0319166001600160a01b03929092169190911790555050565b601080546001600160a01b0383166001600160a01b03199091161790555050565b6116c9611ba1565b6001600160a01b0382161515806116e857506001600160a01b03811615155b61174a5760405162461bcd60e51b815260206004820152602d60248201527f6d61726b6574696e67206f72206465762077616c6c65742063616e277420626560448201526c207a65726f206164647265737360981b6064820152608401610ad9565b601180546001600160a01b039384166001600160a01b03199182161790915560138054929093169116179055565b611780611ba1565b600754601455600754601555600754601655565b61179c611ba1565b6117aa606461116460075490565b8110156117c95760405162461bcd60e51b8152600401610ad990613225565b601555565b6117d6611ba1565b6001600160a01b03166000908152600460205260409020805460ff19169055565b6117ff611ba1565b601955565b61180c611ba1565b6001600160a01b0381166118715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ad9565b61187a81611e9c565b50565b611885611ba1565b611893606461116460075490565b8110156118b25760405162461bcd60e51b8152600401610ad990613225565b601455565b6118bf611ba1565b6001600160a01b03811630141561190a5760405162461bcd60e51b815260206004820152600f60248201526e4e6f207275672070756c6c73203a2960881b6044820152606401610ad9565b6001600160a01b03811661195257600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610d67573d6000803e3d6000fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561199b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bf9190613267565b9050816001600160a01b031663a9059cbb6119e26000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015611a2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a539190613280565b50505050565b6000610bcf828461329d565b6000610bcf82846132d2565b6000610bcf82846131dd565b6001600160a01b038316611adf5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ad9565b6001600160a01b038216611b405760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ad9565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b031633146111ff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad9565b6001600160a01b038316611c5f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ad9565b6001600160a01b038216611cc15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ad9565b60008111611d235760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610ad9565b6000611d2e3061118e565b60195490915081108015908190611d4f5750601354600160a01b900460ff16155b8015611d6957506010546001600160a01b03868116911614155b8015611d7e5750601354600160a81b900460ff165b15611d8c57611d8c82611eec565b6001600160a01b03851660009081526004602052604090205460019060ff1680611dce57506001600160a01b03851660009081526004602052604090205460ff165b15611dd7575060005b611de38686868461218a565b505050505050565b60008184841115611e0f5760405162461bcd60e51b8152600401610ad99190612f64565b505050900390565b6000806000611e2461256e565b9092509050611e338282611a65565b9250505090565b6000610bcf82846132e6565b600080600080600080600080600080611e5e8b6126f0565b93509350935093506000806000611e7f8e878787611e7a611e17565b612775565b919e509c509a509598509396509194505050505091939550919395565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6013805460ff60a01b1916600160a01b179055600e54600d54601854601754479360009361ffff600160401b808404821695908304821694600160301b9485900483169490930490911691611f4191906132e6565b611f4b91906131dd565b611f5591906131dd565b611f5f91906131dd565b611f6991906131dd565b600e54600d54919250600091611ff99184916111649161ffff600160201b808304821693908104821692600292611fa49291811691166132fe565b611fae9190613324565b600e54600d54611fd09161ffff620100009182900481169291909104166132fe565b611fda91906132fe565b611fe491906132fe565b611fee91906132fe565b879061ffff16611a59565b9050600061200782866131dd565b9050612012826127d7565b600061201e4786611a71565b600e54600d5491925060009161205a9187916111649161204f9161ffff6201000092839004811692909104166132fe565b859061ffff16611a59565b600e54600d549192506000916120979188916111649161208c9161ffff600160201b92839004811692909104166132fe565b869061ffff16611a59565b90506000816120a684866131dd565b6120b091906131dd565b6011546040519192506001600160a01b03169084156108fc029085906000818181858888f193505050501580156120eb573d6000803e3d6000fd5b506013546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015612126573d6000803e3d6000fd5b506121318582612950565b604080518a8152602081018790529081018290527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506013805460ff60a01b1916905550505050505050565b6121a2600f805469ffffffffffffffffffff19169055565b801561241a57601354600160b01b900460ff166122015760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206e6f7420656e61626c6564207965740000000000000000006044820152606401610ad9565b6010546001600160a01b0384811691161461227357601654826122238561118e565b61222d91906132e6565b11156122735760405162461bcd60e51b815260206004820152601560248201527410985b185b98d948195e18d959591cc81b1a5b5a5d605a1b6044820152606401610ad9565b6010546001600160a01b0385811691161415612346576014548211156122cf5760405162461bcd60e51b8152602060048201526011602482015270109d5e48195e18d959591cc81b1a5b5a5d607a1b6044820152606401610ad9565b600d54600f8054600160401b80840461ffff90811663ffffffff1990931692909217828516620100009081029190911767ffffffff000000001916600160301b80870485160265ffff000000001916179085048316600160201b9081029190911761ffff60401b1916940491909116029190911790555b6010546001600160a01b038481169116141561241a576015548211156123a35760405162461bcd60e51b815260206004820152601260248201527114d95b1b08195e18d959591cc81b1a5b5a5d60721b6044820152606401610ad9565b600e54600f8054600160401b80840461ffff90811663ffffffff1990931692909217828516620100009081029190911767ffffffff000000001916600160301b80870485160265ffff000000001916179085048316600160201b9081029190911761ffff60401b1916940491909116029190911790555b6001600160a01b03841660009081526005602052604090205460ff16801561245b57506001600160a01b03831660009081526005602052604090205460ff16155b156124705761246b848484612a07565b611a53565b6001600160a01b03841660009081526005602052604090205460ff161580156124b157506001600160a01b03831660009081526005602052604090205460ff165b156124c15761246b848484612b50565b6001600160a01b03841660009081526005602052604090205460ff1615801561250357506001600160a01b03831660009081526005602052604090205460ff16155b156125135761246b848484612bf9565b6001600160a01b03841660009081526005602052604090205460ff16801561255357506001600160a01b03831660009081526005602052604090205460ff165b156125635761246b848484612c3d565b611a53848484612bf9565b6008546007546000918291825b6006548110156126c05782600160006006848154811061259d5761259d6131b1565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061260857508160026000600684815481106125e1576125e16131b1565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561261e57600854600754945094505050509091565b6126646001600060068481548110612638576126386131b1565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611a71565b92506126ac6002600060068481548110612680576126806131b1565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611a71565b9150806126b88161320a565b91505061257b565b506007546008546126d091611a65565b8210156126e7576008546007549350935050509091565b90939092509050565b600080600080600061270186612cb0565b9050600061270e87612ccd565b9050600061271b88612cf0565b61272489612d14565b61272d8a612d38565b61273791906132e6565b61274191906132e6565b90506000612759836127538b87611a71565b90611a71565b90506127658183611a71565b9993985091965094509092505050565b60008080806127848986611a59565b905060006127928987611a59565b905060006127a08988611a59565b905060006127ae8989611a59565b905060006127c28261275385818989611a71565b949d949c50929a509298505050505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061280c5761280c6131b1565b60200260200101906001600160a01b031690816001600160a01b031681525050600f600a9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561287f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128a3919061324a565b816001815181106128b6576128b66131b1565b6001600160a01b039283166020918202929092010152600f546128e3913091600160501b90041684611a7d565b600f5460405163791ac94760e01b8152600160501b9091046001600160a01b03169063791ac94790612922908590600090869030904290600401613345565b600060405180830381600087803b15801561293c57600080fd5b505af1158015611de3573d6000803e3d6000fd5b600f5461296f903090600160501b90046001600160a01b031684611a7d565b600f5460405163f305d71960e01b8152306004820152602481018490526000604482018190526064820181905260848201524260a4820152600160501b9091046001600160a01b03169063f305d71990839060c40160606040518083038185885af11580156129e2573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ae291906133b6565b600080600080600080612a1987611e46565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150612a4b9088611a71565b6001600160a01b038a16600090815260026020908152604080832093909355600190522054612a7a9087611a71565b6001600160a01b03808b1660009081526001602052604080822093909355908a1681522054612aa99086611e3a565b6001600160a01b038916600090815260016020526040902055612acb81612d5c565b612aee612ad788612d38565b612ae089612d14565b612ae98a612cf0565b612de5565b612af88483612f40565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612b3d91815260200190565b60405180910390a3505050505050505050565b600080600080600080612b6287611e46565b6001600160a01b038f16600090815260016020526040902054959b50939950919750955093509150612b949087611a71565b6001600160a01b03808b16600090815260016020908152604080832094909455918b16815260029091522054612bca9084611e3a565b6001600160a01b038916600090815260026020908152604080832093909355600190522054612aa99086611e3a565b600080600080600080612c0b87611e46565b6001600160a01b038f16600090815260016020526040902054959b50939950919750955093509150612a7a9087611a71565b600080600080600080612c4f87611e46565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150612c819088611a71565b6001600160a01b038a16600090815260026020908152604080832093909355600190522054612b949087611a71565b600f546000906109ff906103e89061116490859061ffff16611a59565b600f546000906109ff906103e89061116490859062010000900461ffff16611a59565b600f546000906109ff906103e890611164908590600160401b900461ffff16611a59565b600f546000906109ff906103e890611164908590600160201b900461ffff16611a59565b600f546000906109ff906103e890611164908590600160301b900461ffff16611a59565b6000612d66611e17565b90506000612d748383611a59565b30600090815260016020526040902054909150612d919082611e3a565b3060009081526001602090815260408083209390935560059052205460ff1615612de05730600090815260026020526040902054612dcf9084611e3a565b306000908152600260205260409020555b505050565b6000612def611e17565b90506000612dfd8583611a59565b90506000612e0b8584611a59565b90506000612e198585611a59565b30600090815260016020526040902054909150612e42908290612e3c9085611e3a565b90611e3a565b30600090815260016020526040808220929092556012546001600160a01b031681522054612e709084611e3a565b6012546001600160a01b031660009081526001602090815260408083209390935530825260059052205460ff1615612ed35730600090815260026020526040902054612ec2908690612e3c9089611e3a565b306000908152600260205260409020555b6012546001600160a01b031660009081526005602052604090205460ff1615612f37576012546001600160a01b0316600090815260026020526040902054612f1b9088611e3a565b6012546001600160a01b03166000908152600260205260409020555b50505050505050565b600854612f4d9083611a71565b600855600954612f5d9082611e3a565b6009555050565b600060208083528351808285015260005b81811015612f9157858101830151858201604001528201612f75565b81811115612fa3576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461187a57600080fd5b60008060408385031215612fe157600080fd5b8235612fec81612fb9565b946020939093013593505050565b803561ffff8116811461300c57600080fd5b919050565b600080600080600060a0868803121561302957600080fd5b61303286612ffa565b945061304060208701612ffa565b935061304e60408701612ffa565b925061305c60608701612ffa565b915061306a60808701612ffa565b90509295509295909350565b60008060006060848603121561308b57600080fd5b833561309681612fb9565b925060208401356130a681612fb9565b929592945050506040919091013590565b6000602082840312156130c957600080fd5b5035919050565b6000602082840312156130e257600080fd5b8135610bcf81612fb9565b801515811461187a57600080fd5b6000806040838503121561310e57600080fd5b823591506020830135613120816130ed565b809150509250929050565b60006020828403121561313d57600080fd5b8135610bcf816130ed565b6000806040838503121561315b57600080fd5b823561316681612fb9565b9150602083013561312081612fb9565b600181811c9082168061318a57607f821691505b602082108114156131ab57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156131ef576131ef6131c7565b500390565b634e487b7160e01b600052603160045260246000fd5b600060001982141561321e5761321e6131c7565b5060010190565b6020808252600b908201526a139bc81c9d59c81c1d5b1b60aa1b604082015260600190565b60006020828403121561325c57600080fd5b8151610bcf81612fb9565b60006020828403121561327957600080fd5b5051919050565b60006020828403121561329257600080fd5b8151610bcf816130ed565b60008160001904831182151516156132b7576132b76131c7565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826132e1576132e16132bc565b500490565b600082198211156132f9576132f96131c7565b500190565b600061ffff80831681851680830382111561331b5761331b6131c7565b01949350505050565b600061ffff80841680613339576133396132bc565b92169190910492915050565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156133955784516001600160a01b031683529383019391830191600101613370565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156133cb57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220e991594a08ba8bc6bf9895f2217740c763c807720a76d88ab4c39d7d3e75909d64736f6c634300080a0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.