ETH Price: $3,332.99 (+3.11%)
 

Overview

Max Total Supply

10,000,000 ETH

Holders

3

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
9,999,982.4956 ETH

Value
$0.00
0x3b17d2064f554bd2f830cd97b28fe5de62b7e911
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
ProToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-10-05
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.15;

interface IERC20 {
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */

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

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

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

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

        return c;
    }

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

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

abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return payable(address(msg.sender));
    }

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

/**
 * @title SafeMathInt
 * @dev Math operations for int256 with overflow safety checks.
 */
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }

    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}

/**
 * @title SafeMathUint
 * @dev Math operations with safety checks that revert on error
 */
library SafeMathUint {
    function toInt256Safe(uint256 a) internal pure returns (int256) {
        int256 b = int256(a);
        require(b >= 0);
        return b;
    }
}

library IterableMapping {
    // Iterable mapping from address to uint;
    struct Map {
        address[] keys;
        mapping(address => uint256) values;
        mapping(address => uint256) indexOf;
        mapping(address => bool) inserted;
    }

    function get(Map storage map, address key) internal view returns (uint256) {
        return map.values[key];
    }

    function getIndexOfKey(Map storage map, address key)
        internal
        view
        returns (int256)
    {
        if (!map.inserted[key]) {
            return -1;
        }
        return int256(map.indexOf[key]);
    }

    function getKeyAtIndex(Map storage map, uint256 index)
        internal
        view
        returns (address)
    {
        return map.keys[index];
    }

    function size(Map storage map) internal view returns (uint256) {
        return map.keys.length;
    }

    function set(
        Map storage map,
        address key,
        uint256 val
    ) internal {
        if (map.inserted[key]) {
            map.values[key] = val;
        } else {
            map.inserted[key] = true;
            map.values[key] = val;
            map.indexOf[key] = map.keys.length;
            map.keys.push(key);
        }
    }

    function remove(Map storage map, address key) internal {
        if (!map.inserted[key]) {
            return;
        }

        delete map.inserted[key];
        delete map.values[key];

        uint256 index = map.indexOf[key];
        uint256 lastIndex = map.keys.length - 1;
        address lastKey = map.keys[lastIndex];

        map.indexOf[lastKey] = index;
        delete map.indexOf[key];

        map.keys[index] = lastKey;
        map.keys.pop();
    }
}

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{value: amount}("");
        require(
            success,
            "Address: unable to send value, recipient may have reverted"
        );
    }

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

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: weiValue}(
            data
        );
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }

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

    //Locks the contract for owner for the amount of time provided
    function lock(uint256 time) public virtual onlyOwner {
        _previousOwner = _owner;
        _owner = address(0);
        _lockTime = block.timestamp + time;
        emit OwnershipTransferred(_owner, address(0));
    }

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

// pragma solidity >=0.5.0;

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

// pragma solidity >=0.6.2;

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

    function WETH() external pure returns (address);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// pragma solidity >=0.6.2;

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

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

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

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

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

contract ProToken is Context, IERC20, Ownable {
    using SafeMath for uint256;
    using SafeMathUint for uint256;
    using SafeMathInt for int256;
    using Address for address;
    using SafeERC20 for IERC20;
    using IterableMapping for IterableMapping.Map;

    address dead = 0x000000000000000000000000000000000000dEaD;

    uint8 public maxLiqFee = 10;
    uint8 public maxTaxFee = 10;
    uint8 public maxBurnFee = 10;
    uint8 public maxWalletFee = 10;
    uint8 public maxBuybackFee = 10;
    uint8 public minMxTxPercentage = 1;
    uint8 public minMxWalletPercentage = 1;

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

    /* Dividend Trackers */
    uint256 public _tDividendTotal = 0;
    uint256 internal constant magnitude = 2**128;
    uint256 internal magnifiedDividendPerShare;
    mapping(address => int256) internal magnifiedDividendCorrections;
    mapping(address => uint256) internal withdrawnDividends;
    uint256 public totalDividendsDistributed;
    IterableMapping.Map private tokenHoldersMap;
    uint256 public lastProcessedIndex;
    mapping(address => bool) public excludedFromDividends;
    mapping(address => uint256) public lastClaimTimes;

    uint256 public claimWait = 3600;
    uint256 public minimumTokenBalanceForDividends = 1;

    // use by default 300,000 gas to process auto-claiming dividends
    uint256 public gasForProcessing = 300000;

    event DividendsDistributed(uint256 weiAmount);
    event DividendWithdrawn(address indexed to, uint256 weiAmount);

    event ExcludeFromDividends(address indexed account);
    event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue);
    event Claim(
        address indexed account,
        uint256 amount,
        bool indexed automatic
    );
    event ProcessedDividendTracker(
        uint256 iterations,
        uint256 claims,
        uint256 lastProcessedIndex,
        bool indexed automatic,
        uint256 gas,
        address indexed processor
    );
    /* Dividend end*/

    mapping(address => bool) private _isExcludedFromFee;

    mapping(address => bool) private _isExcluded;
    address[] private _excluded;

    address public router;

    address public rewardToken;

    uint256 private constant MAX = ~uint256(0);
    uint256 public _tTotal;
    uint256 private _rTotal;
    uint256 private _tFeeTotal;

    bool public mintedByMoonDeploy = true;

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

    uint8 public _taxFee;
    uint8 private _previousTaxFee = _taxFee;

    uint8 public _rewardFee;
    uint8 private _previousRewardFee = _rewardFee;

    uint8 public _liquidityFee;
    uint8 private _previousLiquidityFee = _liquidityFee;

    uint8 public _burnFee;
    uint8 private _previousBurnFee = _burnFee;

    uint8 public _walletFee;
    uint8 private _previousWalletFee = _walletFee;

    uint8 public _walletCharityFee;
    uint8 private _previousWalletCharityFee = _walletCharityFee;

    uint8 public _buybackFee;
    uint8 private _previousBuybackFee = _buybackFee;

    IUniswapV2Router02 public pcsV2Router;
    address public pcsV2Pair;
    address payable public feeWallet;
    address payable public feeWalletCharity;

    bool walletFeeInBNB = false;
    bool walletCharityFeeInBNB = false;

    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = true;

    uint256 public _maxTxAmount;
    uint256 public _maxWalletAmount;
    uint256 public numTokensSellToAddToLiquidity;
    uint256 private buyBackUpperLimit;

    mapping(address => bool) public _isBlacklisted;

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

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

    struct Fee {
        uint8 setTaxFee;
        uint8 setLiqFee;
        uint8 setBurnFee;
        uint8 setWalletFee;
        uint8 setBuybackFee;
        uint8 setWalletCharityFee;
        uint8 setRewardFee;
    }

    struct FeeWallet {
        address payable wallet;
        address payable walletCharity;
        bool walletFeeInBNB;
        bool walletCharityFeeInBNB;
    }

    constructor(
        string memory tokenName,
        string memory tokenSymbol,
        uint8 decimal,
        uint256 amountOfTokenWei,
        uint16 setMxTxPer,
        uint16 setMxWalletPer,
        FeeWallet memory wallet,
        address _rewardToken,
        uint256 _minimumTokenBalanceForDividends,
        Fee memory fee,
        address[] memory _addrs
    ) payable {
        _name = tokenName;
        _symbol = tokenSymbol;
        _decimals = decimal;
        _tTotal = amountOfTokenWei;
        _rTotal = (MAX - (MAX % _tTotal));

        _rOwned[_msgSender()] = _rTotal;

        feeWallet = wallet.wallet;
        feeWalletCharity = wallet.walletCharity;
        walletFeeInBNB = wallet.walletFeeInBNB;
        walletCharityFeeInBNB = wallet.walletCharityFeeInBNB;

        if (_rewardToken == address(0x1)) {
            rewardToken = address(this);
        } else {
            rewardToken = _rewardToken;
        }

        minimumTokenBalanceForDividends = _minimumTokenBalanceForDividends;

        _maxTxAmount = _tTotal.mul(setMxTxPer).div(10**4);
        _maxWalletAmount = _tTotal.mul(setMxWalletPer).div(10**4);

        numTokensSellToAddToLiquidity = amountOfTokenWei.mul(1).div(1000);

        buyBackUpperLimit = 1 * 10**uint256(_decimals);

        router = _addrs[0];
        payable(_addrs[1]).transfer(msg.value);

        IUniswapV2Router02 _pcsV2Router = IUniswapV2Router02(router);
        // Create a uniswap pair for this new token
        pcsV2Pair = IUniswapV2Factory(_pcsV2Router.factory()).createPair(
            address(this),
            _pcsV2Router.WETH()
        );

        // set the rest of the contract variables
        pcsV2Router = _pcsV2Router;

        _isExcludedFromFee[_msgSender()] = true;
        _isExcludedFromFee[address(this)] = true;

        excludedFromDividends[address(this)] = true;
        excludedFromDividends[_msgSender()] = true;
        excludedFromDividends[address(pcsV2Router)] = true;
        excludedFromDividends[address(0xdead)] = true;
        excludedFromDividends[address(pcsV2Pair)] = true;

        require(fee.setTaxFee >= 0 && fee.setTaxFee <= maxTaxFee, "TF err");
        require(fee.setLiqFee >= 0 && fee.setLiqFee <= maxLiqFee, "LF err");
        require(fee.setBurnFee >= 0 && fee.setBurnFee <= maxBurnFee, "BF err");
        require(
            fee.setWalletFee >= 0 && fee.setWalletFee <= maxWalletFee,
            "WF err"
        );
        require(
            fee.setBuybackFee >= 0 && fee.setBuybackFee <= maxBuybackFee,
            "BBF err"
        );
        require(
            fee.setWalletCharityFee >= 0 &&
                fee.setWalletCharityFee <= maxWalletFee,
            "WFT err"
        );
        require(
            fee.setRewardFee >= 0 && fee.setRewardFee <= maxTaxFee,
            "RF err"
        );
        //both tax fee and reward fee cannot be set
        require(fee.setRewardFee == 0 || fee.setTaxFee == 0, "RT fee err");
        _taxFee = fee.setTaxFee;
        _liquidityFee = fee.setLiqFee;
        _burnFee = fee.setBurnFee;
        _buybackFee = fee.setBuybackFee;
        _walletFee = fee.setWalletFee;
        _walletCharityFee = fee.setWalletCharityFee;
        _rewardFee = fee.setRewardFee;

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

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

    function updatePcsV2Router(address newAddress) public onlyOwner {
        require(
            newAddress != address(pcsV2Router),
            "The router already has that address"
        );
        IUniswapV2Router02 _pcsV2Router = IUniswapV2Router02(newAddress);
        // Create a uniswap pair for this new token
        pcsV2Pair = IUniswapV2Factory(_pcsV2Router.factory()).createPair(
            address(this),
            _pcsV2Router.WETH()
        );

        // set the rest of the contract variables
        pcsV2Router = _pcsV2Router;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function setAllFeePercent(
        uint8 taxFee,
        uint8 liquidityFee,
        uint8 burnFee,
        uint8 walletFee,
        uint8 buybackFee,
        uint8 walletCharityFee,
        uint8 rewardFee
    ) external onlyOwner {
        require(taxFee >= 0 && taxFee <= maxTaxFee, "TF err");
        require(liquidityFee >= 0 && liquidityFee <= maxLiqFee, "LF err");
        require(burnFee >= 0 && burnFee <= maxBurnFee, "BF err");
        require(walletFee >= 0 && walletFee <= maxWalletFee, "WF err");
        require(buybackFee >= 0 && buybackFee <= maxBuybackFee, "BBF err");
        require(
            walletCharityFee >= 0 && walletCharityFee <= maxWalletFee,
            "WFT err"
        );
        require(rewardFee >= 0 && rewardFee <= maxTaxFee, "RF err");
        //both tax fee and reward fee cannot be set
        require(rewardFee == 0 || taxFee == 0, "RT fee err");
        _taxFee = taxFee;
        _liquidityFee = liquidityFee;
        _burnFee = burnFee;
        _buybackFee = buybackFee;
        _walletFee = walletFee;
        _walletCharityFee = walletCharityFee;
        _rewardFee = rewardFee;
    }

    function buyBackUpperLimitAmount() public view returns (uint256) {
        return buyBackUpperLimit;
    }

    function setBuybackUpperLimit(uint256 buyBackLimit) external onlyOwner {
        buyBackUpperLimit = buyBackLimit * 10**uint256(_decimals);
    }

    function setMaxTxPercent(uint256 maxTxPercent) external onlyOwner {
        require(
            maxTxPercent >= minMxTxPercentage && maxTxPercent <= 10000,
            "err"
        );
        _maxTxAmount = _tTotal.mul(maxTxPercent).div(10**4);
    }

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

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

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

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

    function setWalletFeeTokenType(bool inBNB) external onlyOwner {
        walletFeeInBNB = inBNB;
    }

    function setWalletCharityFeeTokenType(bool inBNB) external onlyOwner {
        walletCharityFeeInBNB = inBNB;
    }

    function setMinimumTokenBalanceForDividends(
        uint256 _minimumTokenBalanceForDividends
    ) external onlyOwner {
        require(
            _minimumTokenBalanceForDividends >= 1 &&
                _minimumTokenBalanceForDividends <= totalSupply().div(100),
            "err"
        );
        minimumTokenBalanceForDividends = _minimumTokenBalanceForDividends;
    }

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

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

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

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

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

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

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

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

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

    function calculateLiquidityFee(uint256 _amount)
        private
        view
        returns (uint256)
    {
        return
            _amount
                .mul(
                    _liquidityFee +
                        _burnFee +
                        _walletFee +
                        _buybackFee +
                        _walletCharityFee +
                        _rewardFee
                )
                .div(10**2);
    }

    function removeAllFee() private {
        if (
            _taxFee == 0 &&
            _liquidityFee == 0 &&
            _burnFee == 0 &&
            _walletFee == 0 &&
            _buybackFee == 0 &&
            _walletCharityFee == 0 &&
            _rewardFee == 0
        ) return;

        _previousTaxFee = _taxFee;
        _previousLiquidityFee = _liquidityFee;
        _previousBurnFee = _burnFee;
        _previousWalletFee = _walletFee;
        _previousBuybackFee = _buybackFee;
        _previousWalletCharityFee = _walletCharityFee;
        _previousRewardFee = _rewardFee;

        _taxFee = 0;
        _liquidityFee = 0;
        _burnFee = 0;
        _walletFee = 0;
        _buybackFee = 0;
        _walletCharityFee = 0;
        _rewardFee = 0;
    }

    function restoreAllFee() private {
        _taxFee = _previousTaxFee;
        _liquidityFee = _previousLiquidityFee;
        _burnFee = _previousBurnFee;
        _walletFee = _previousWalletFee;
        _buybackFee = _previousBuybackFee;
        _walletCharityFee = _previousWalletCharityFee;
        _rewardFee = _previousRewardFee;
    }

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

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

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

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

        if (from != owner() && to != owner() && from != pcsV2Pair)
            require(
                amount <= _maxTxAmount,
                "Transfer amount exceeds the maxTxAmount."
            );

        if (
            from != owner() &&
            to != owner() &&
            to != address(0) &&
            to != dead &&
            to != pcsV2Pair
        ) {
            uint256 contractBalanceRecepient = balanceOf(to);
            require(
                contractBalanceRecepient + amount <= _maxWalletAmount,
                "Exceeds maximum wallet amount"
            );
        }

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

        if (contractTokenBalance >= _maxTxAmount) {
            contractTokenBalance = _maxTxAmount;
        }

        bool overMinTokenBalance = contractTokenBalance >=
            numTokensSellToAddToLiquidity;
        if (!inSwapAndLiquify && to == pcsV2Pair && swapAndLiquifyEnabled) {
            if (overMinTokenBalance) {
                contractTokenBalance = numTokensSellToAddToLiquidity;
                //add liquidity
                swapAndLiquify(contractTokenBalance);
            }
            if (_buybackFee != 0) {
                uint256 balance = address(this).balance;
                if (balance > uint256(1 * 10**uint256(_decimals))) {
                    if (balance > buyBackUpperLimit)
                        balance = buyBackUpperLimit;

                    buyBackTokens(balance.div(100));
                }
            }

            if (_rewardFee != 0) {
                uint256 gas = gasForProcessing;

                (
                    uint256 iterations,
                    uint256 claims,
                    uint256 _lastProcessedIndex
                ) = process(gas);
                emit ProcessedDividendTracker(
                    iterations,
                    claims,
                    _lastProcessedIndex,
                    true,
                    gas,
                    tx.origin
                );
            }
        }

        // //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
        uint256 currentBalanceFrom = balanceOf(from);
        uint256 currentBalanceTo = balanceOf(to);

        _tokenTransfer(from, to, amount, takeFee);

        setBalance(payable(from), balanceOf(from), currentBalanceFrom);
        setBalance(payable(to), balanceOf(to), currentBalanceTo);
    }

    function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
        //This needs to be distributed among burn, wallet and liquidity
        //burn
        uint8 totFee = _burnFee +
            _walletFee +
            _liquidityFee +
            _buybackFee +
            _walletCharityFee +
            _rewardFee;
        uint256 spentAmount = 0;
        uint256 totSpentAmount = 0;
        if (_burnFee != 0) {
            spentAmount = contractTokenBalance.div(totFee).mul(_burnFee);

            _tokenTransferNoFee(address(this), dead, spentAmount);
            totSpentAmount = spentAmount;
        }

        if (_walletFee != 0) {
            spentAmount = contractTokenBalance.div(totFee).mul(_walletFee);
            if (!walletFeeInBNB) {
                uint256 currentBalance = balanceOf(feeWallet);
                _tokenTransferNoFee(address(this), feeWallet, spentAmount);
                setBalance(
                    payable(feeWallet),
                    balanceOf(feeWallet),
                    currentBalance
                );
            } else {
                uint256 initialBalance = address(this).balance;
                // swap tokens for ETH
                swapTokensForBNB(spentAmount);
                // how much ETH did we just swap into?
                uint256 newBalance = address(this).balance.sub(initialBalance);
                transferEth(feeWallet, newBalance);
            }
            totSpentAmount = totSpentAmount + spentAmount;
        }

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

        if (_walletCharityFee != 0) {
            spentAmount = contractTokenBalance.div(totFee).mul(
                _walletCharityFee
            );

            if (!walletCharityFeeInBNB) {
                uint256 currentBalance = balanceOf(feeWalletCharity);
                _tokenTransferNoFee(
                    address(this),
                    feeWalletCharity,
                    spentAmount
                );
                setBalance(
                    payable(feeWalletCharity),
                    balanceOf(feeWalletCharity),
                    currentBalance
                );
            } else {
                uint256 initialBalance = address(this).balance;
                // swap tokens for ETH
                swapTokensForBNB(spentAmount);
                // how much ETH did we just swap into?
                uint256 newBalance = address(this).balance.sub(initialBalance);
                transferEth(feeWalletCharity, newBalance);
            }
            totSpentAmount = totSpentAmount + spentAmount;
        }

        if (_rewardFee != 0) {
            spentAmount = contractTokenBalance.div(totFee).mul(_rewardFee);

            if (pcsV2Router.WETH() == address(rewardToken)) {
                uint256 initialRewardBalance = address(this).balance;

                swapTokensForBNB(spentAmount);

                uint256 newBalance = address(this).balance.sub(
                    initialRewardBalance
                );
                distributeDividends(newBalance);
            } else if (rewardToken == address(this)) {
                distributeDividends(spentAmount);
            } else {
                uint256 initialBalance = (IERC20(rewardToken)).balanceOf(
                    address(this)
                );

                swapTokensForRewardToken(spentAmount);

                uint256 newBalance = (
                    IERC20(rewardToken).balanceOf(address(this))
                ).sub(initialBalance);
                distributeDividends(newBalance);
            }

            totSpentAmount = totSpentAmount + spentAmount;
        }

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

            // split the contract balance into halves
            uint256 half = contractTokenBalance.div(2);
            uint256 otherHalf = contractTokenBalance.sub(half);

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

            // swap tokens for ETH
            swapTokensForBNB(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered

            // how much ETH did we just swap into?
            uint256 newBalance = address(this).balance.sub(initialBalance);

            // add liquidity to uniswap
            addLiquidity(otherHalf, newBalance);

            emit SwapAndLiquify(half, newBalance, otherHalf);
        }
    }

    function buyBackTokens(uint256 amount) private lockTheSwap {
        if (amount > 0) {
            swapBNBForTokens(amount);
        }
    }

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

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

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

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

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

    function swapTokensForRewardToken(uint256 tokenAmount) private {
        address[] memory path = new address[](3);
        path[0] = address(this);
        path[1] = pcsV2Router.WETH();
        path[2] = rewardToken;

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

        // make the swap
        pcsV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp.add(300)
        );
    }

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

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

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

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

        if (!takeFee) restoreAllFee();
    }

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

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

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

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

    function _tokenTransferNoFee(
        address sender,
        address recipient,
        uint256 amount
    ) private {
        uint256 currentRate = _getRate();
        uint256 rAmount = amount.mul(currentRate);

        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rAmount);

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

    function transferEth(address recipient, uint256 amount) private {
        (bool res, ) = recipient.call{value: amount}("");
        require(res, "ETH TRANSFER FAILED");
    }

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

    /* Dividend management functions*/
    function distributeDividends(uint256 amount) internal {
        require(_tDividendTotal > 0);

        if (amount > 0) {
            magnifiedDividendPerShare = magnifiedDividendPerShare.add(
                (amount).mul(magnitude) / _tDividendTotal
            );
            emit DividendsDistributed(amount);

            totalDividendsDistributed = totalDividendsDistributed.add(amount);
        }
    }

    function withdrawDividend() public virtual {
        _withdrawDividendOfUser(payable(msg.sender));
    }

    function _withdrawDividendOfUser(address payable user)
        internal
        returns (uint256)
    {
        uint256 _withdrawableDividend = withdrawableDividendOf(user);
        if (_withdrawableDividend > 0) {
            //check if contract has balance to pay out rewards
            uint256 curBalance = IERC20(rewardToken).balanceOf(address(this));
            if (curBalance < _withdrawableDividend) {
                return 0;
            }

            withdrawnDividends[user] = withdrawnDividends[user].add(
                _withdrawableDividend
            );
            emit DividendWithdrawn(user, _withdrawableDividend);
            bool success = IERC20(rewardToken).transfer(
                user,
                _withdrawableDividend
            );

            if (!success) {
                withdrawnDividends[user] = withdrawnDividends[user].sub(
                    _withdrawableDividend
                );
                return 0;
            }

            return _withdrawableDividend;
        }
        return 0;
    }

    function dividendOf(address _owner) public view returns (uint256) {
        return withdrawableDividendOf(_owner);
    }

    function withdrawableDividendOf(address _owner)
        public
        view
        returns (uint256)
    {
        return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]);
    }

    function withdrawnDividendOf(address _owner) public view returns (uint256) {
        return withdrawnDividends[_owner];
    }

    function accumulativeDividendOf(address _owner)
        public
        view
        returns (uint256)
    {
        return
            magnifiedDividendPerShare
                .mul(balanceOf(_owner))
                .toInt256Safe()
                .add(magnifiedDividendCorrections[_owner])
                .toUint256Safe() / magnitude;
    }

    function _dtransfer(
        address from,
        address to,
        uint256 value
    ) internal virtual {
        require(false);

        int256 _magCorrection = magnifiedDividendPerShare
            .mul(value)
            .toInt256Safe();
        magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from]
            .add(_magCorrection);
        magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(
            _magCorrection
        );
    }

    function _dmint(address account, uint256 value) internal {
        _tDividendTotal = _tDividendTotal + value;
        magnifiedDividendCorrections[account] = magnifiedDividendCorrections[
            account
        ].sub((magnifiedDividendPerShare.mul(value)).toInt256Safe());
    }

    function _dburn(address account, uint256 value) internal {
        _tDividendTotal = _tDividendTotal - value;
        magnifiedDividendCorrections[account] = magnifiedDividendCorrections[
            account
        ].add((magnifiedDividendPerShare.mul(value)).toInt256Safe());
    }

    function _setBalance(
        address account,
        uint256 newBalance,
        uint256 currentBalance
    ) internal {
        if (newBalance > currentBalance) {
            uint256 mintAmount = newBalance.sub(currentBalance);
            _dmint(account, mintAmount);
        } else if (newBalance < currentBalance) {
            uint256 burnAmount = currentBalance.sub(newBalance);
            _dburn(account, burnAmount);
        }
    }

    function excludeFromDividends(address account) public onlyOwner {
        require(!excludedFromDividends[account]);
        excludedFromDividends[account] = true;

        uint256 currentBalance = balanceOf(account);
        if (currentBalance < minimumTokenBalanceForDividends) {
            //if existing balance was less than min, the entry is not there
            currentBalance = 0;
        }
        _setBalance(account, 0, currentBalance);
        tokenHoldersMap.remove(account);

        emit ExcludeFromDividends(account);
    }

    function updateClaimWait(uint256 newClaimWait) external onlyOwner {
        require(
            newClaimWait >= 3600 && newClaimWait <= 86400,
            "Dividend_Tracker: claimWait must be updated to between 1 and 24 hours"
        );
        require(
            newClaimWait != claimWait,
            "Dividend_Tracker: Cannot update claimWait to same value"
        );
        emit ClaimWaitUpdated(newClaimWait, claimWait);
        claimWait = newClaimWait;
    }

    function getLastProcessedIndex() external view returns (uint256) {
        return lastProcessedIndex;
    }

    function getNumberOfDividendTokenHolders() external view returns (uint256) {
        return tokenHoldersMap.keys.length;
    }

    function getAccountDividendsInfo(address _account)
        public
        view
        returns (
            address account,
            int256 index,
            int256 iterationsUntilProcessed,
            uint256 withdrawableDividends,
            uint256 totalDividends,
            uint256 lastClaimTime,
            uint256 nextClaimTime,
            uint256 secondsUntilAutoClaimAvailable
        )
    {
        account = _account;

        index = tokenHoldersMap.getIndexOfKey(account);

        iterationsUntilProcessed = -1;

        if (index >= 0) {
            if (uint256(index) > lastProcessedIndex) {
                iterationsUntilProcessed = index.sub(
                    int256(lastProcessedIndex)
                );
            } else {
                uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length >
                    lastProcessedIndex
                    ? tokenHoldersMap.keys.length.sub(lastProcessedIndex)
                    : 0;

                iterationsUntilProcessed = index.add(
                    int256(processesUntilEndOfArray)
                );
            }
        }

        withdrawableDividends = withdrawableDividendOf(account);
        totalDividends = accumulativeDividendOf(account);

        lastClaimTime = lastClaimTimes[account];

        nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0;

        secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp
            ? nextClaimTime.sub(block.timestamp)
            : 0;
    }

    function getAccountDividendsInfoAtIndex(uint256 index)
        public
        view
        returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        if (index >= tokenHoldersMap.size()) {
            return (address(0), -1, -1, 0, 0, 0, 0, 0);
        }

        address account = tokenHoldersMap.getKeyAtIndex(index);

        return getAccountDividendsInfo(account);
    }

    function canAutoClaim(uint256 lastClaimTime) private view returns (bool) {
        if (lastClaimTime > block.timestamp) {
            return false;
        }

        return block.timestamp.sub(lastClaimTime) >= claimWait;
    }

    function setBalance(
        address payable account,
        uint256 newBalance,
        uint256 currentBalance
    ) private {
        if (excludedFromDividends[account]) {
            return;
        }
        if (currentBalance < minimumTokenBalanceForDividends) {
            //if existing balance was less than min, the entry is not there
            currentBalance = 0;
        }
        if (newBalance >= minimumTokenBalanceForDividends) {
            _setBalance(account, newBalance, currentBalance);
            tokenHoldersMap.set(account, newBalance);
        } else {
            _setBalance(account, 0, currentBalance);
            tokenHoldersMap.remove(account);
        }
        processAccount(account, true);
    }

    function process(uint256 gas)
        public
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 numberOfTokenHolders = tokenHoldersMap.keys.length;

        if (numberOfTokenHolders == 0) {
            return (0, 0, lastProcessedIndex);
        }

        uint256 _lastProcessedIndex = lastProcessedIndex;

        uint256 gasUsed = 0;

        uint256 gasLeft = gasleft();

        uint256 iterations = 0;
        uint256 claims = 0;

        while (gasUsed < gas && iterations < numberOfTokenHolders) {
            _lastProcessedIndex++;

            if (_lastProcessedIndex >= tokenHoldersMap.keys.length) {
                _lastProcessedIndex = 0;
            }

            address account = tokenHoldersMap.keys[_lastProcessedIndex];

            if (canAutoClaim(lastClaimTimes[account])) {
                if (processAccount(payable(account), true)) {
                    claims++;
                }
            }
            iterations++;
            uint256 newGasLeft = gasleft();
            if (gasLeft > newGasLeft) {
                gasUsed = gasUsed.add(gasLeft.sub(newGasLeft));
            }
            gasLeft = newGasLeft;
        }

        lastProcessedIndex = _lastProcessedIndex;
        return (iterations, claims, lastProcessedIndex);
    }

    function processAccount(address payable account, bool automatic)
        internal
        returns (bool)
    {
        if (!tokenHoldersMap.inserted[account]) {
            return false;
        }

        uint256 amount = _withdrawDividendOfUser(account);

        if (amount > 0) {
            lastClaimTimes[account] = block.timestamp;
            emit Claim(account, amount, automatic);
            return true;
        }

        return false;
    }

    function updateGasForProcessing(uint256 newValue) public onlyOwner {
        require(
            newValue >= 200000 && newValue <= 5000000,
            "gasForProcessing must be between 200,000 and 5,000,000"
        );
        gasForProcessing = newValue;
    }

    function processDividendTracker(uint256 gas) external {
        (
            uint256 iterations,
            uint256 claims,
            uint256 _lastProcessedIndex
        ) = process(gas);
        emit ProcessedDividendTracker(
            iterations,
            claims,
            _lastProcessedIndex,
            false,
            gas,
            tx.origin
        );
    }

    function blacklistAddress(address account, bool value) external onlyOwner {
        _isBlacklisted[account] = value;
    }

    function claim() external {
        processAccount(payable(msg.sender), false);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"uint8","name":"decimal","type":"uint8"},{"internalType":"uint256","name":"amountOfTokenWei","type":"uint256"},{"internalType":"uint16","name":"setMxTxPer","type":"uint16"},{"internalType":"uint16","name":"setMxWalletPer","type":"uint16"},{"components":[{"internalType":"address payable","name":"wallet","type":"address"},{"internalType":"address payable","name":"walletCharity","type":"address"},{"internalType":"bool","name":"walletFeeInBNB","type":"bool"},{"internalType":"bool","name":"walletCharityFeeInBNB","type":"bool"}],"internalType":"struct ProToken.FeeWallet","name":"wallet","type":"tuple"},{"internalType":"address","name":"_rewardToken","type":"address"},{"internalType":"uint256","name":"_minimumTokenBalanceForDividends","type":"uint256"},{"components":[{"internalType":"uint8","name":"setTaxFee","type":"uint8"},{"internalType":"uint8","name":"setLiqFee","type":"uint8"},{"internalType":"uint8","name":"setBurnFee","type":"uint8"},{"internalType":"uint8","name":"setWalletFee","type":"uint8"},{"internalType":"uint8","name":"setBuybackFee","type":"uint8"},{"internalType":"uint8","name":"setWalletCharityFee","type":"uint8"},{"internalType":"uint8","name":"setRewardFee","type":"uint8"}],"internalType":"struct ProToken.Fee","name":"fee","type":"tuple"},{"internalType":"address[]","name":"_addrs","type":"address[]"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"ClaimWaitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendsDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"ExcludeFromDividends","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":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_burnFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buybackFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_rewardFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tDividendTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_walletCharityFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_walletFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"accumulativeDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"blacklistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyBackUpperLimitAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"dividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","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":"","type":"address"}],"name":"excludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeWalletCharity","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"geUnlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getAccountDividendsInfo","outputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"int256","name":"index","type":"int256"},{"internalType":"int256","name":"iterationsUntilProcessed","type":"int256"},{"internalType":"uint256","name":"withdrawableDividends","type":"uint256"},{"internalType":"uint256","name":"totalDividends","type":"uint256"},{"internalType":"uint256","name":"lastClaimTime","type":"uint256"},{"internalType":"uint256","name":"nextClaimTime","type":"uint256"},{"internalType":"uint256","name":"secondsUntilAutoClaimAvailable","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountDividendsInfoAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastClaimTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBurnFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuybackFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLiqFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTaxFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minMxTxPercentage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minMxWalletPercentage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumTokenBalanceForDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedByMoonDeploy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensSellToAddToLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pcsV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pcsV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"process","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"processDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverBEP20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"taxFee","type":"uint8"},{"internalType":"uint8","name":"liquidityFee","type":"uint8"},{"internalType":"uint8","name":"burnFee","type":"uint8"},{"internalType":"uint8","name":"walletFee","type":"uint8"},{"internalType":"uint8","name":"buybackFee","type":"uint8"},{"internalType":"uint8","name":"walletCharityFee","type":"uint8"},{"internalType":"uint8","name":"rewardFee","type":"uint8"}],"name":"setAllFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyBackLimit","type":"uint256"}],"name":"setBuybackUpperLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newFeeWallet","type":"address"}],"name":"setFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newFeeWallet","type":"address"}],"name":"setFeeWalletCharity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxPercent","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxWalletPercent","type":"uint256"}],"name":"setMaxWalletPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minimumTokenBalanceForDividends","type":"uint256"}],"name":"setMinimumTokenBalanceForDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"inBNB","type":"bool"}],"name":"setWalletCharityFeeTokenType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"inBNB","type":"bool"}],"name":"setWalletFeeTokenType","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":"totalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newClaimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updatePcsV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawnDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040819052600380546001600160d81b0319167a01010a0a0a0a0a000000000000000000000000000000000000dead1790556000600755610e1060135560016014819055620493e0601555601e805460ff191690911790556021805460ff60701b1962ff00ff60501b1962ff00ff60301b1964ff00ff000019841660ff60201b1960ff61010087048116620100000291821692909217630100000062ff000019909716909117959095048116640100000000029490941790811660ff60401b1965010000000000830486166601000000000000029081169190911767010000000000000060ff60301b1990931690911791909104841668010000000000000000021790811660ff60601b196901000000000000000000830485166a010000000000000000000002908116919091176b01000000000000000000000060ff60501b199093169091179190910483166c010000000000000000000000000217908116600160681b909104909116600160701b0217905560258054600160b81b63ff00ffff60a01b1990911617905562006f7038819003908190833981016040819052620001ac9162000ed2565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350601f620001fb8c8262001089565b5060206200020a8b8262001089565b506021805460ff191660ff8b16179055601b8890556200022d886000196200116b565b6200023b9060001962001198565b601c81905533600090815260046020908152604091829020929092558651602480546001600160a01b039283166001600160a01b031990911617905591870151602580549289015160608a01511515600160a81b0260ff60a81b19911515600160a01b026001600160a81b0319909516938616939093179390931792909216179055841660001901620002e057601a80546001600160a01b03191630179055620002fc565b601a80546001600160a01b0319166001600160a01b0386161790555b826014819055506200033e6127106200032a8961ffff16601b5462000a8d60201b62002d761790919060201c565b62000b2060201b62002df81790919060201c565b6026819055506200036b6127106200032a8861ffff16601b5462000a8d60201b62002d761790919060201c565b6027556200038e6103e86200032a8a600162000a8d602090811b62002d7617901c565b602855602154620003a49060ff16600a620012ab565b620003b1906001620012b9565b60295580518190600090620003ca57620003ca620012d3565b6020026020010151601960006101000a8154816001600160a01b0302191690836001600160a01b03160217905550806001815181106200040e576200040e620012d3565b60200260200101516001600160a01b03166108fc349081150290604051600060405180830381858888f193505050501580156200044f573d6000803e3d6000fd5b506019546040805163c45a015560e01b815290516001600160a01b0390921691829163c45a01559160048083019260209291908290030181865afa1580156200049c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004c29190620012e9565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000510573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005369190620012e9565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000584573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005aa9190620012e9565b602380546001600160a01b03199081166001600160a01b039384161790915560228054909116918316919091179055600160166000620005e73390565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff19958616179055308152601683528181208054851660019081179091556011938490529181208054909416821790935591620006453390565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790556022548216815260119093528183208054851660019081179091557f97847ee99463795296047093514439c3127772df3715e628aa85601cf85417168054861682179055602354909116835291208054909216811790915550600354835160ff600160a81b9092048216911611156200071c5760405162461bcd60e51b81526020600482015260066024820152652a231032b93960d11b60448201526064015b60405180910390fd5b600354602084015160ff600160a01b9092048216911611156200076b5760405162461bcd60e51b815260206004820152600660248201526526231032b93960d11b604482015260640162000713565b600354604084015160ff600160b01b909204821691161115620007ba5760405162461bcd60e51b815260206004820152600660248201526521231032b93960d11b604482015260640162000713565b600354606084015160ff600160b81b909204821691161115620008095760405162461bcd60e51b81526020600482015260066024820152652ba31032b93960d11b604482015260640162000713565b600354608084015160ff600160c01b909204821691161115620008595760405162461bcd60e51b81526020600482015260076024820152662121231032b93960c91b604482015260640162000713565b60035460a084015160ff600160b81b909204821691161115620008a95760405162461bcd60e51b81526020600482015260076024820152662ba32a1032b93960c91b604482015260640162000713565b60035460c084015160ff600160a81b909204821691161115620008f85760405162461bcd60e51b815260206004820152600660248201526529231032b93960d11b604482015260640162000713565b60c083015160ff1615806200090f5750825160ff16155b6200094a5760405162461bcd60e51b815260206004820152600a602482015269292a103332b29032b93960b11b604482015260640162000713565b825160218054602086015160408701516080880151606089015160a08a015160c08b015165ff000000ff001990961661010060ff998a160260ff60281b19161765010000000000958916959095029490941766ff0000000000ff60381b19166701000000000000009388169390930260ff60681b191692909217600160681b918716919091021762ff00ff60481b191669010000000000000000009186169190910260ff60581b1916176b010000000000000000000000918516919091021763ff00000019166301000000939091169290920291909117905562000a2b3390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef601b5460405162000a7391815260200190565b60405180910390a350505050505050505050505062001355565b60008260000362000aa15750600062000b1a565b600062000aaf8385620012b9565b90508262000abe858362001309565b1462000b175760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840162000713565b90505b92915050565b600062000b1783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525062000b6a60201b60201c565b6000818362000b8e5760405162461bcd60e51b815260040162000713919062001320565b50600062000b9d848662001309565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000be75762000be762000ba6565b604052919050565b60005b8381101562000c0c57818101518382015260200162000bf2565b50506000910152565b600082601f83011262000c2757600080fd5b81516001600160401b0381111562000c435762000c4362000ba6565b62000c58601f8201601f191660200162000bbc565b81815284602083860101111562000c6e57600080fd5b62000c8182602083016020870162000bef565b949350505050565b805160ff8116811462000c9b57600080fd5b919050565b805161ffff8116811462000c9b57600080fd5b6001600160a01b038116811462000cc957600080fd5b50565b8051801515811462000c9b57600080fd5b60006080828403121562000cf057600080fd5b604051608081016001600160401b038111828210171562000d155762000d1562000ba6565b8060405250809150825162000d2a8162000cb3565b8152602083015162000d3c8162000cb3565b602082015262000d4f6040840162000ccc565b604082015262000d626060840162000ccc565b60608201525092915050565b805162000c9b8162000cb3565b600060e0828403121562000d8e57600080fd5b60405160e081016001600160401b038111828210171562000db35762000db362000ba6565b60405290508062000dc48362000c89565b815262000dd46020840162000c89565b602082015262000de76040840162000c89565b604082015262000dfa6060840162000c89565b606082015262000e0d6080840162000c89565b608082015262000e2060a0840162000c89565b60a082015262000e3360c0840162000c89565b60c08201525092915050565b600082601f83011262000e5157600080fd5b815160206001600160401b0382111562000e6f5762000e6f62000ba6565b8160051b62000e8082820162000bbc565b928352848101820192828101908785111562000e9b57600080fd5b83870192505b8483101562000ec757825162000eb78162000cb3565b8252918301919083019062000ea1565b979650505050505050565b60008060008060008060008060008060006102808c8e03121562000ef557600080fd5b8b516001600160401b0381111562000f0c57600080fd5b62000f1a8e828f0162000c15565b60208e0151909c5090506001600160401b0381111562000f3957600080fd5b62000f478e828f0162000c15565b9a505062000f5860408d0162000c89565b985060608c0151975062000f6f60808d0162000ca0565b965062000f7f60a08d0162000ca0565b955062000f908d60c08e0162000cdd565b945062000fa16101408d0162000d6e565b93506101608c0151925062000fbb8d6101808e0162000d7b565b6102608d01519092506001600160401b0381111562000fd957600080fd5b62000fe78e828f0162000e3f565b9150509295989b509295989b9093969950565b600181811c908216806200100f57607f821691505b6020821081036200103057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200108457600081815260208120601f850160051c810160208610156200105f5750805b601f850160051c820191505b8181101562001080578281556001016200106b565b5050505b505050565b81516001600160401b03811115620010a557620010a562000ba6565b620010bd81620010b6845462000ffa565b8462001036565b602080601f831160018114620010f55760008415620010dc5750858301515b600019600386901b1c1916600185901b17855562001080565b600085815260208120601f198616915b82811015620011265788860151825594840194600190910190840162001105565b5085821015620011455787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601260045260246000fd5b6000826200117d576200117d62001155565b500690565b634e487b7160e01b600052601160045260246000fd5b8181038181111562000b1a5762000b1a62001182565b600181815b80851115620011ef578160001904821115620011d357620011d362001182565b80851615620011e157918102915b93841c9390800290620011b3565b509250929050565b600082620012085750600162000b1a565b81620012175750600062000b1a565b81600181146200123057600281146200123b576200125b565b600191505062000b1a565b60ff8411156200124f576200124f62001182565b50506001821b62000b1a565b5060208310610133831016604e8410600b841016171562001280575081810a62000b1a565b6200128c8383620011ae565b8060001904821115620012a357620012a362001182565b029392505050565b600062000b178383620011f7565b808202811582820484141762000b1a5762000b1a62001182565b634e487b7160e01b600052603260045260246000fd5b600060208284031215620012fc57600080fd5b815162000b178162000cb3565b6000826200131b576200131b62001155565b500490565b60208152600082518060208401526200134181604085016020870162000bef565b601f01601f19169190910160400192915050565b615c0b80620013656000396000f3fe6080604052600436106105065760003560e01c80637d1db4a511610297578063b6c5232411610165578063dd62ed3e116100cc578063f25f4b5611610085578063f25f4b561461102d578063f27fd2541461104d578063f2fde38b1461106d578063f7c618c11461108d578063f887ea40146110ad578063ffb2c479146110cd57600080fd5b8063dd62ed3e14610f52578063e7841ec014610f98578063e98030c714610fad578063ea2f0b3714610fcd578063ec9257d414610fed578063efa088061461100d57600080fd5b8063caebb8431161011e578063caebb84314610ea7578063d12a768814610ec7578063d28d885214610edd578063d543dbeb14610ef2578063d5f3540814610f12578063dd46706414610f3257600080fd5b8063b6c5232414610e05578063bdc653ef14610e1a578063be10b61414610e2f578063c0b0fda214610e45578063c49b9a8014610e66578063c7992f9a14610e8657600080fd5b80639c1b8af511610209578063a9059cbb116101c2578063a9059cbb14610d09578063aafd847a14610d29578063ad56c13c14610d5f578063af465a2714610dc4578063b09f126614610dda578063b1c16b1214610def57600080fd5b80639c1b8af514610c5e578063a457c2d714610c74578063a5f3517714610c94578063a69df4b514610cb4578063a79771bb14610cc9578063a8b9d24014610ce957600080fd5b8063871c128d1161025b578063871c128d14610b9257806388f8202014610bb25780638da5cb5b14610beb57806390d49b9d14610c0957806391b89fba14610c2957806395d89b4114610c4957600080fd5b80637d1db4a514610b0c57806382bf293c14610b2257806382d2a4bb14610b42578063852c252814610b6257806385a6b3ae14610b7c57600080fd5b8063437823ec116103d457806354ce6578116103465780636f2789ec116102ff5780636f2789ec14610a60578063700bb19114610a7657806370690b1114610a9657806370a0823114610ab7578063715018a614610ad75780637bd56c8c14610aec57600080fd5b806354ce6578146109be5780635ebf4db9146109df57806364b0f653146109ff5780636a47400214610a145780636bc87c3a14610a295780636c0a24eb14610a4a57600080fd5b80634e7b827f116103985780634e7b827f146108d357806351330a191461090357806351fde4bb14610924578063521432901461094557806352390c02146109655780635342acb41461098557600080fd5b8063437823ec1461083d5780634549b0391461085d578063455a43961461087d5780634a74bb021461089d5780634e71d92d146108be57600080fd5b80632d6abf87116104785780633685d419116104315780633685d4191461077c578063395093511461079c5780633b124fe7146107bc5780633bd5d173146107db5780633c81385c146107fb578063430ca0901461081c57600080fd5b80632d6abf87146106b35780632d838119146106eb5780633009a6091461070b578063313ce5671461072157806331e79db014610739578063324f8dbf1461075b57600080fd5b806318160ddd116104ca57806318160ddd146105e057806319de79ab146105f55780631cdd3be314610616578063226cfa3d1461064657806323b872dd1461067357806327ce01471461069357600080fd5b806306fdde0314610512578063095ea7b31461053d5780630f94892c1461056d57806313114a9d146105a057806315fa749a146105bf57600080fd5b3661050d57005b600080fd5b34801561051e57600080fd5b50610527611108565b604051610534919061553b565b60405180910390f35b34801561054957600080fd5b5061055d61055836600461559e565b61119a565b6040519015158152602001610534565b34801561057957600080fd5b5060215461058e90600160581b900460ff1681565b60405160ff9091168152602001610534565b3480156105ac57600080fd5b50601d545b604051908152602001610534565b3480156105cb57600080fd5b5060035461058e90600160c01b900460ff1681565b3480156105ec57600080fd5b50601b546105b1565b34801561060157600080fd5b5060215461058e90600160681b900460ff1681565b34801561062257600080fd5b5061055d6106313660046155ca565b602a6020526000908152604090205460ff1681565b34801561065257600080fd5b506105b16106613660046155ca565b60126020526000908152604090205481565b34801561067f57600080fd5b5061055d61068e3660046155e7565b6111b1565b34801561069f57600080fd5b506105b16106ae3660046155ca565b61121a565b3480156106bf57600080fd5b506022546106d3906001600160a01b031681565b6040516001600160a01b039091168152602001610534565b3480156106f757600080fd5b506105b1610706366004615628565b611273565b34801561071757600080fd5b506105b160105481565b34801561072d57600080fd5b5060215460ff1661058e565b34801561074557600080fd5b506107596107543660046155ca565b6112e9565b005b34801561076757600080fd5b5060035461058e90600160c81b900460ff1681565b34801561078857600080fd5b506107596107973660046155ca565b6113c4565b3480156107a857600080fd5b5061055d6107b736600461559e565b61156d565b3480156107c857600080fd5b5060215461058e90610100900460ff1681565b3480156107e757600080fd5b506107596107f6366004615628565b6115a3565b34801561080757600080fd5b5060035461058e90600160b01b900460ff1681565b34801561082857600080fd5b5060035461058e90600160a01b900460ff1681565b34801561084957600080fd5b506107596108583660046155ca565b61168d565b34801561086957600080fd5b506105b161087836600461564f565b6116db565b34801561088957600080fd5b5061075961089836600461567f565b611768565b3480156108a957600080fd5b5060255461055d90600160b81b900460ff1681565b3480156108ca57600080fd5b506107596117bd565b3480156108df57600080fd5b5061055d6108ee3660046155ca565b60116020526000908152604090205460ff1681565b34801561090f57600080fd5b5060035461058e90600160b81b900460ff1681565b34801561093057600080fd5b5060215461058e906301000000900460ff1681565b34801561095157600080fd5b506023546106d3906001600160a01b031681565b34801561097157600080fd5b506107596109803660046155ca565b6117cb565b34801561099157600080fd5b5061055d6109a03660046155ca565b6001600160a01b031660009081526016602052604090205460ff1690565b3480156109ca57600080fd5b5060215461058e90600160481b900460ff1681565b3480156109eb57600080fd5b506107596109fa366004615628565b61192e565b348015610a0b57600080fd5b50600c546105b1565b348015610a2057600080fd5b5061075961199d565b348015610a3557600080fd5b5060215461058e90600160281b900460ff1681565b348015610a5657600080fd5b506105b160275481565b348015610a6c57600080fd5b506105b160135481565b348015610a8257600080fd5b50610759610a91366004615628565b6119a6565b348015610aa257600080fd5b5060035461058e90600160d01b900460ff1681565b348015610ac357600080fd5b506105b1610ad23660046155ca565b611a0f565b348015610ae357600080fd5b50610759611a6e565b348015610af857600080fd5b50610759610b073660046156ad565b611ad0565b348015610b1857600080fd5b506105b160265481565b348015610b2e57600080fd5b50610759610b3d366004615628565b611b18565b348015610b4e57600080fd5b50610759610b5d366004615628565b611b9d565b348015610b6e57600080fd5b50601e5461055d9060ff1681565b348015610b8857600080fd5b506105b1600b5481565b348015610b9e57600080fd5b50610759610bad366004615628565b611be8565b348015610bbe57600080fd5b5061055d610bcd3660046155ca565b6001600160a01b031660009081526017602052604090205460ff1690565b348015610bf757600080fd5b506000546001600160a01b03166106d3565b348015610c1557600080fd5b50610759610c243660046155ca565b611c98565b348015610c3557600080fd5b506105b1610c443660046155ca565b611d29565b348015610c5557600080fd5b50610527611d34565b348015610c6a57600080fd5b506105b160155481565b348015610c8057600080fd5b5061055d610c8f36600461559e565b611d43565b348015610ca057600080fd5b50610759610caf3660046156ad565b611d92565b348015610cc057600080fd5b50610759611dda565b348015610cd557600080fd5b50610759610ce43660046155ca565b611ef3565b348015610cf557600080fd5b506105b1610d043660046155ca565b611f84565b348015610d1557600080fd5b5061055d610d2436600461559e565b611fb0565b348015610d3557600080fd5b506105b1610d443660046155ca565b6001600160a01b03166000908152600a602052604090205490565b348015610d6b57600080fd5b50610d7f610d7a3660046155ca565b611fbd565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610534565b348015610dd057600080fd5b506105b1601b5481565b348015610de657600080fd5b506105276120a6565b348015610dfb57600080fd5b506105b160075481565b348015610e1157600080fd5b506002546105b1565b348015610e2657600080fd5b506029546105b1565b348015610e3b57600080fd5b506105b160145481565b348015610e5157600080fd5b5060215461058e90600160381b900460ff1681565b348015610e7257600080fd5b50610759610e813660046156ad565b612134565b348015610e9257600080fd5b5060035461058e90600160a81b900460ff1681565b348015610eb357600080fd5b50610759610ec23660046155ca565b6121b6565b348015610ed357600080fd5b506105b160285481565b348015610ee957600080fd5b506105276123c5565b348015610efe57600080fd5b50610759610f0d366004615628565b6123d2565b348015610f1e57600080fd5b50610759610f2d3660046156e0565b612457565b348015610f3e57600080fd5b50610759610f4d366004615628565b612780565b348015610f5e57600080fd5b506105b1610f6d366004615766565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b348015610fa457600080fd5b506010546105b1565b348015610fb957600080fd5b50610759610fc8366004615628565b612805565b348015610fd957600080fd5b50610759610fe83660046155ca565b61296e565b348015610ff957600080fd5b506025546106d3906001600160a01b031681565b34801561101957600080fd5b5061075961102836600461559e565b6129b9565b34801561103957600080fd5b506024546106d3906001600160a01b031681565b34801561105957600080fd5b50610d7f611068366004615628565b612b12565b34801561107957600080fd5b506107596110883660046155ca565b612b81565b34801561109957600080fd5b50601a546106d3906001600160a01b031681565b3480156110b957600080fd5b506019546106d3906001600160a01b031681565b3480156110d957600080fd5b506110ed6110e8366004615628565b612c59565b60408051938452602084019290925290820152606001610534565b6060601f805461111790615794565b80601f016020809104026020016040519081016040528092919081815260200182805461114390615794565b80156111905780601f1061116557610100808354040283529160200191611190565b820191906000526020600020905b81548152906001019060200180831161117357829003601f168201915b5050505050905090565b60006111a7338484612e3a565b5060015b92915050565b60006111be848484612f47565b611210843361120b85604051806060016040528060288152602001615b69602891396001600160a01b038a1660009081526006602090815260408083203384529091529020549190613465565b612e3a565b5060019392505050565b6001600160a01b038116600090815260096020526040812054600160801b90611269906112649061125e61125961125088611a0f565b60085490612d76565b61349f565b906134af565b6134ed565b6111ab91906157e4565b6000601c548211156112cc5760405162461bcd60e51b815260206004820152601e60248201527f416d74206d757374206265206c657373207468616e20746f74207265666c000060448201526064015b60405180910390fd5b60006112d6613500565b90506112e28382612df8565b9392505050565b6000546001600160a01b031633146113135760405162461bcd60e51b81526004016112c390615806565b6001600160a01b03811660009081526011602052604090205460ff161561133957600080fd5b6001600160a01b0381166000908152601160205260408120805460ff1916600117905561136582611a0f565b9050601454811015611375575060005b61138182600083613523565b61138c600c83613569565b6040516001600160a01b038316907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2590600090a25050565b6000546001600160a01b031633146113ee5760405162461bcd60e51b81526004016112c390615806565b6001600160a01b03811660009081526017602052604090205460ff166114495760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e48195e18db1d59195960821b60448201526064016112c3565b60005b60185481101561156957816001600160a01b0316601882815481106114735761147361583b565b6000918252602090912001546001600160a01b031603611557576018805461149d90600190615851565b815481106114ad576114ad61583b565b600091825260209091200154601880546001600160a01b0390921691839081106114d9576114d961583b565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600582526040808220829055601790925220805460ff19169055601880548061153157611531615864565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b806115618161587a565b91505061144c565b5050565b3360008181526006602090815260408083206001600160a01b038716845290915281205490916111a791859061120b90866136a4565b3360008181526017602052604090205460ff16156116185760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b60648201526084016112c3565b600061162383613703565b505050506001600160a01b03841660009081526004602052604090205491925061164f91905082613752565b6001600160a01b038316600090815260046020526040902055601c546116759082613752565b601c55601d5461168590846136a4565b601d55505050565b6000546001600160a01b031633146116b75760405162461bcd60e51b81526004016112c390615806565b6001600160a01b03166000908152601660205260409020805460ff19166001179055565b6000601b5483111561172f5760405162461bcd60e51b815260206004820152601c60248201527f416d74206d757374206265206c657373207468616e20737570706c790000000060448201526064016112c3565b8161174e57600061173f84613703565b509395506111ab945050505050565b600061175984613703565b509295506111ab945050505050565b6000546001600160a01b031633146117925760405162461bcd60e51b81526004016112c390615806565b6001600160a01b03919091166000908152602a60205260409020805460ff1916911515919091179055565b6117c8336000613794565b50565b6000546001600160a01b031633146117f55760405162461bcd60e51b81526004016112c390615806565b6001600160a01b03811660009081526017602052604090205460ff161561186e5760405162461bcd60e51b815260206004820152602760248201527f4163636f756e7420697320616c7265616479206578636c756465642066726f6d604482015266081c995dd85c9960ca1b60648201526084016112c3565b6001600160a01b038116600090815260046020526040902054156118c8576001600160a01b0381166000908152600460205260409020546118ae90611273565b6001600160a01b0382166000908152600560205260409020555b6001600160a01b03166000818152601760205260408120805460ff191660019081179091556018805491820181559091527fb13d2d76d1f4b7be834882e410b3e3a8afaf69f83600ae24db354391d2378d2e0180546001600160a01b0319169091179055565b6000546001600160a01b031633146119585760405162461bcd60e51b81526004016112c390615806565b6001811015801561197c57506119786064611972601b5490565b90612df8565b8111155b6119985760405162461bcd60e51b81526004016112c390615893565b601455565b6117c83361383d565b60008060006119b484612c59565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a350505050565b6001600160a01b03811660009081526017602052604081205460ff1615611a4c57506001600160a01b031660009081526005602052604090205490565b6001600160a01b0382166000908152600460205260409020546111ab90611273565b6000546001600160a01b03163314611a985760405162461bcd60e51b81526004016112c390615806565b600080546040516001600160a01b0390911690600080516020615b91833981519152908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314611afa5760405162461bcd60e51b81526004016112c390615806565b60258054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b03163314611b425760405162461bcd60e51b81526004016112c390615806565b600354600160d01b900460ff168110801590611b6057506127108111155b611b7c5760405162461bcd60e51b81526004016112c390615893565b611b9761271061197283601b54612d7690919063ffffffff16565b60275550565b6000546001600160a01b03163314611bc75760405162461bcd60e51b81526004016112c390615806565b602154611bd89060ff16600a615994565b611be290826159a0565b60295550565b6000546001600160a01b03163314611c125760405162461bcd60e51b81526004016112c390615806565b62030d408110158015611c285750624c4b408111155b611c935760405162461bcd60e51b815260206004820152603660248201527f676173466f7250726f63657373696e67206d757374206265206265747765656e6044820152750203230302c30303020616e6420352c3030302c3030360541b60648201526084016112c3565b601555565b6000546001600160a01b03163314611cc25760405162461bcd60e51b81526004016112c390615806565b6001600160a01b038116611d075760405162461bcd60e51b815260206004820152600c60248201526b5a45524f204144445245535360a01b60448201526064016112c3565b602480546001600160a01b0319166001600160a01b0392909216919091179055565b60006111ab82611f84565b60606020805461111790615794565b60006111a7338461120b85604051806060016040528060258152602001615bb1602591393360009081526006602090815260408083206001600160a01b038d1684529091529020549190613465565b6000546001600160a01b03163314611dbc5760405162461bcd60e51b81526004016112c390615806565b60258054911515600160a81b0260ff60a81b19909216919091179055565b6001546001600160a01b03163314611e535760405162461bcd60e51b815260206004820152603660248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152751bd8dac81d1a19481d1bdad95b8818dbdb9d1c9858dd60521b60648201526084016112c3565b6002544211611ea45760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c203720646179730060448201526064016112c3565b600154600080546040516001600160a01b039384169390911691600080516020615b9183398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b6000546001600160a01b03163314611f1d5760405162461bcd60e51b81526004016112c390615806565b6001600160a01b038116611f625760405162461bcd60e51b815260206004820152600c60248201526b5a45524f204144445245535360a01b60448201526064016112c3565b602580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152600a60205260408120546111ab90611faa8461121a565b90613752565b60006111a7338484612f47565b806000808080808080611fd1600c89613a26565b965060001995506000871261203357601054871115611fff57601054611ff8908890613a71565b9550612033565b601054600c5460009110612014576000612023565b601054600c5461202391613752565b905061202f88826134af565b9650505b61203c88611f84565b94506120478861121a565b6001600160a01b03891660009081526012602052604090205490945092508261207157600061207f565b60135461207f9084906136a4565b915042821161208f576000612099565b6120998242613752565b9050919395975091939597565b602080546120b390615794565b80601f01602080910402602001604051908101604052809291908181526020018280546120df90615794565b801561212c5780601f106121015761010080835404028352916020019161212c565b820191906000526020600020905b81548152906001019060200180831161210f57829003601f168201915b505050505081565b6000546001600160a01b0316331461215e5760405162461bcd60e51b81526004016112c390615806565b60258054821515600160b81b0260ff60b81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906121ab90831515815260200190565b60405180910390a150565b6000546001600160a01b031633146121e05760405162461bcd60e51b81526004016112c390615806565b6022546001600160a01b039081169082160361224a5760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b60648201526084016112c3565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561228d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b191906159b7565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061232291906159b7565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561236f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239391906159b7565b602380546001600160a01b039283166001600160a01b0319918216179091556022805493909216921691909117905550565b601f80546120b390615794565b6000546001600160a01b031633146123fc5760405162461bcd60e51b81526004016112c390615806565b600354600160c81b900460ff16811080159061241a57506127108111155b6124365760405162461bcd60e51b81526004016112c390615893565b61245161271061197283601b54612d7690919063ffffffff16565b60265550565b6000546001600160a01b031633146124815760405162461bcd60e51b81526004016112c390615806565b60035460ff600160a81b909104811690881611156124ca5760405162461bcd60e51b81526020600482015260066024820152652a231032b93960d11b60448201526064016112c3565b60035460ff600160a01b909104811690871611156125135760405162461bcd60e51b815260206004820152600660248201526526231032b93960d11b60448201526064016112c3565b60035460ff600160b01b9091048116908616111561255c5760405162461bcd60e51b815260206004820152600660248201526521231032b93960d11b60448201526064016112c3565b60035460ff600160b81b909104811690851611156125a55760405162461bcd60e51b81526020600482015260066024820152652ba31032b93960d11b60448201526064016112c3565b60035460ff600160c01b909104811690841611156125ef5760405162461bcd60e51b81526020600482015260076024820152662121231032b93960c91b60448201526064016112c3565b60035460ff600160b81b909104811690831611156126395760405162461bcd60e51b81526020600482015260076024820152662ba32a1032b93960c91b60448201526064016112c3565b60035460ff600160a81b909104811690821611156126825760405162461bcd60e51b815260206004820152600660248201526529231032b93960d11b60448201526064016112c3565b60ff81161580612693575060ff8716155b6126cc5760405162461bcd60e51b815260206004820152600a602482015269292a103332b29032b93960b11b60448201526064016112c3565b6021805465ff000000ff00191661010060ff998a160265ff0000000000191617600160281b97891697909702969096176dff0000000000ff000000000000001916600160381b9588169590950260ff60681b191694909417600160681b92871692909202919091176bff00ff0000000000000000001916600160481b9286169290920260ff60581b191691909117600160581b918516919091021763ff000000191663010000009190931602919091179055565b6000546001600160a01b031633146127aa5760405162461bcd60e51b81526004016112c390615806565b60008054600180546001600160a01b03199081166001600160a01b038416179091551690556127d981426159d4565b600255600080546040516001600160a01b0390911690600080516020615b91833981519152908390a350565b6000546001600160a01b0316331461282f5760405162461bcd60e51b81526004016112c390615806565b610e1081101580156128445750620151808111155b6128c45760405162461bcd60e51b815260206004820152604560248201527f4469766964656e645f547261636b65723a20636c61696d57616974206d75737460448201527f206265207570646174656420746f206265747765656e203120616e6420323420606482015264686f75727360d81b608482015260a4016112c3565b601354810361293b5760405162461bcd60e51b815260206004820152603760248201527f4469766964656e645f547261636b65723a2043616e6e6f74207570646174652060448201527f636c61696d5761697420746f2073616d652076616c756500000000000000000060648201526084016112c3565b60135460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601355565b6000546001600160a01b031633146129985760405162461bcd60e51b81526004016112c390615806565b6001600160a01b03166000908152601660205260409020805460ff19169055565b6000546001600160a01b031633146129e35760405162461bcd60e51b81526004016112c390615806565b306001600160a01b03831603612a2b5760405162461bcd60e51b815260206004820152600d60248201526c53656c6620776974686472617760981b60448201526064016112c3565b601a546001600160a01b0390811690831603612a7b5760405162461bcd60e51b815260206004820152600f60248201526e72657761726420776974686472617760881b60448201526064016112c3565b816001600160a01b031663a9059cbb612a9c6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015612ae9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0d91906159e7565b505050565b600080600080600080600080612b27600c5490565b8910612b4c575060009650600019955085945086935083925082915081905080612b76565b6000612b59600c8b613aae565b9050612b6481611fbd565b98509850985098509850985098509850505b919395975091939597565b6000546001600160a01b03163314612bab5760405162461bcd60e51b81526004016112c390615806565b6001600160a01b038116612c105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016112c3565b600080546040516001600160a01b0380851693921691600080516020615b9183398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600c5460009081908190808203612c7b57505060105460009250829150612d6f565b6010546000805a90506000805b8984108015612c9657508582105b15612d5e5784612ca58161587a565b600c5490965086109050612cb857600094505b6000600c6000018681548110612cd057612cd061583b565b60009182526020808320909101546001600160a01b03168083526012909152604090912054909150612d0190613ae1565b15612d2457612d11816001613794565b15612d245781612d208161587a565b9250505b82612d2e8161587a565b93505060005a905080851115612d5557612d52612d4b8683613752565b87906136a4565b95505b9350612c889050565b601085905590975095509193505050505b9193909250565b600082600003612d88575060006111ab565b6000612d9483856159a0565b905082612da185836157e4565b146112e25760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016112c3565b60006112e283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613b08565b6001600160a01b038316612e905760405162461bcd60e51b815260206004820181905260248201527f45524332303a20617070726f76652066726f6d207a65726f206164647265737360448201526064016112c3565b6001600160a01b038216612ee65760405162461bcd60e51b815260206004820152601e60248201527f45524332303a20617070726f766520746f207a65726f2061646472657373000060448201526064016112c3565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316612fa75760405162461bcd60e51b815260206004820152602160248201527f45524332303a207472616e736665722066726f6d207a65726f206164647265736044820152607360f81b60648201526084016112c3565b6001600160a01b038216612ffd5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a207472616e7366657220746f207a65726f20616464726573730060448201526064016112c3565b6000811161305f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016112c3565b6001600160a01b0383166000908152602a602052604090205460ff161580156130a157506001600160a01b0382166000908152602a602052604090205460ff16155b6130e35760405162461bcd60e51b8152602060048201526013602482015272426c61636b6c6973746564206164647265737360681b60448201526064016112c3565b6000546001600160a01b0384811691161480159061310f57506000546001600160a01b03838116911614155b801561312957506023546001600160a01b03848116911614155b15613191576026548111156131915760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016112c3565b6000546001600160a01b038481169116148015906131bd57506000546001600160a01b03838116911614155b80156131d157506001600160a01b03821615155b80156131eb57506003546001600160a01b03838116911614155b801561320557506023546001600160a01b03838116911614155b1561327557600061321583611a0f565b60275490915061322583836159d4565b11156132735760405162461bcd60e51b815260206004820152601d60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e7400000060448201526064016112c3565b505b600061328030611a0f565b9050602654811061329057506026545b6028546025549082101590600160b01b900460ff161580156132bf57506023546001600160a01b038581169116145b80156132d45750602554600160b81b900460ff165b156133c45780156132ed5760285491506132ed82613b36565b602154600160681b900460ff16156133485760215447906133129060ff16600a615994565b61331d9060016159a0565b8111156133465760295481111561333357506029545b613346613341826064612df8565b6140d7565b505b6021546301000000900460ff16156133c4576015546000808061336a84612c59565b604080518481526020810184905290810182905260608101889052929550909350915032906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a3505050505b6001600160a01b03851660009081526016602052604090205460019060ff168061340657506001600160a01b03851660009081526016602052604090205460ff165b1561340f575060005b600061341a87611a0f565b9050600061342787611a0f565b905061343588888886614109565b613448886134428a611a0f565b84614380565b61345b8761345589611a0f565b83614380565b5050505050505050565b600081848411156134895760405162461bcd60e51b81526004016112c3919061553b565b5060006134968486615851565b95945050505050565b600081818112156111ab57600080fd5b6000806134bc8385615a04565b9050600083121580156134cf5750838112155b806134e457506000831280156134e457508381125b6112e257600080fd5b6000808212156134fc57600080fd5b5090565b600080600061350d6143fb565b909250905061351c8282612df8565b9250505090565b808211156135495760006135378383613752565b9050613543848261457d565b50505050565b80821015612b0d57600061355d8284613752565b905061354384826145e2565b6001600160a01b038116600090815260038301602052604090205460ff1661358f575050565b6001600160a01b03811660009081526003830160209081526040808320805460ff19169055600180860183528184208490556002860190925282205484549092916135d991615851565b905060008460000182815481106135f2576135f261583b565b60009182526020808320909101546001600160a01b039081168084526002890190925260408084208790559087168352822091909155855490915081908690859081106136415761364161583b565b600091825260209091200180546001600160a01b0319166001600160a01b0392909216919091179055845485908061367b5761367b615864565b600082815260209020810160001990810180546001600160a01b03191690550190555050505050565b6000806136b183856159d4565b9050838110156112e25760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016112c3565b600080600080600080600080600061371a8a614627565b92509250925060008060006137388d8686613733613500565b614663565b919f909e50909c50959a5093985091965092945050505050565b60006112e283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613465565b6001600160a01b0382166000908152600f602052604081205460ff166137bc575060006111ab565b60006137c78461383d565b90508015613833576001600160a01b038416600081815260126020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092906138219085815260200190565b60405180910390a360019150506111ab565b5060009392505050565b60008061384983611f84565b90508015613a1d57601a546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561389a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138be9190615a2c565b9050818110156138d2575060009392505050565b6001600160a01b0384166000908152600a60205260409020546138f590836136a4565b6001600160a01b0385166000818152600a6020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906139449085815260200190565b60405180910390a2601a5460405163a9059cbb60e01b81526001600160a01b03868116600483015260248201859052600092169063a9059cbb906044016020604051808303816000875af11580156139a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139c491906159e7565b905080613a14576001600160a01b0385166000908152600a60205260409020546139ee9084613752565b6001600160a01b039095166000908152600a602052604081209590955550929392505050565b50909392505050565b50600092915050565b6001600160a01b038116600090815260038301602052604081205460ff16613a5157506000196111ab565b506001600160a01b03166000908152600291909101602052604090205490565b600080613a7e8385615a45565b905060008312158015613a915750838113155b806134e457506000831280156134e457508381136112e257600080fd5b6000826000018281548110613ac557613ac561583b565b6000918252602090912001546001600160a01b03169392505050565b600042821115613af357506000919050565b601354613b004284613752565b101592915050565b60008183613b295760405162461bcd60e51b81526004016112c3919061553b565b50600061349684866157e4565b6025805460ff60b01b1916600160b01b1790556021546000906301000000810460ff90811691600160581b8104821691600160681b8204811691600160281b8104821691613b9691600160481b8104821691600160381b90910416615a6c565b613ba09190615a6c565b613baa9190615a6c565b613bb49190615a6c565b613bbe9190615a6c565b6021549091506000908190600160381b900460ff1615613c1d57602154613bff9060ff600160381b909104811690613bf99087908716612df8565b90612d76565b600354909250613c1a9030906001600160a01b0316846146b3565b50805b602154600160481b900460ff1615613cf557602154613c509060ff600160481b909104811690613bf99087908716612df8565b602554909250600160a01b900460ff16613cb657602454600090613c7c906001600160a01b0316611a0f565b602454909150613c979030906001600160a01b0316856146b3565b602454613cb0906001600160a01b031661345581611a0f565b50613ce8565b47613cc083614843565b6000613ccc4783613752565b602454909150613ce5906001600160a01b03168261499d565b50505b613cf282826159d4565b90505b602154600160681b900460ff1615613d4057602154613d289060ff600160681b909104811690613bf99087908716612df8565b9150613d3382614843565b613d3d82826159d4565b90505b602154600160581b900460ff1615613e1857602154613d739060ff600160581b909104811690613bf99087908716612df8565b602554909250600160a81b900460ff16613dd957602554600090613d9f906001600160a01b0316611a0f565b602554909150613dba9030906001600160a01b0316856146b3565b602554613dd3906001600160a01b031661345581611a0f565b50613e0b565b47613de383614843565b6000613def4783613752565b602554909150613e08906001600160a01b03168261499d565b50505b613e1582826159d4565b90505b6021546301000000900460ff161561402157602154613e4b9060ff6301000000909104811690613bf99087908716612df8565b601a54602254604080516315ab88c960e31b815290519395506001600160a01b0392831693919092169163ad5c46489160048083019260209291908290030181865afa158015613e9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ec391906159b7565b6001600160a01b031603613ef95747613edb83614843565b6000613ee74783613752565b9050613ef281614a36565b5050614014565b601a54306001600160a01b0390911603613f1b57613f1682614a36565b614014565b601a546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015613f64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f889190615a2c565b9050613f9383614abc565b601a546040516370a0823160e01b81523060048201526000916140069184916001600160a01b0316906370a0823190602401602060405180830381865afa158015613fe2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611faa9190615a2c565b905061401181614a36565b50505b61401e82826159d4565b90505b602154600160281b900460ff16156140c45761403d8482613752565b9350600061404c856002612df8565b9050600061405a8683613752565b90504761406683614843565b60006140724783613752565b905061407e8382614c1c565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a1505050505b50506025805460ff60b01b191690555050565b6025805460ff60b01b1916600160b01b17905580156140f9576140f981614cd0565b506025805460ff60b01b19169055565b8061411657614116614e34565b6001600160a01b03841660009081526017602052604090205460ff16801561415757506001600160a01b03831660009081526017602052604090205460ff16155b1561416c576141678484846150b7565b61426a565b6001600160a01b03841660009081526017602052604090205460ff161580156141ad57506001600160a01b03831660009081526017602052604090205460ff165b156141bd576141678484846151dd565b6001600160a01b03841660009081526017602052604090205460ff161580156141ff57506001600160a01b03831660009081526017602052604090205460ff16155b1561420f57614167848484615286565b6001600160a01b03841660009081526017602052604090205460ff16801561424f57506001600160a01b03831660009081526017602052604090205460ff165b1561425f576141678484846152ca565b61426a848484615286565b80613543576021805463ff0000001962ff00ff60581b1969ff00ff000000000000001965ff000000ff0019841665ff00000000001961010062010000870460ff9081169190910291821692909217660100000000000061ff0019909716909117959095048116600160281b029490941790811669ff000000000000000000196801000000000000000083048616600160381b0290811691909117600160501b67ff0000000000000019909316909117919091048416600160481b021790811660ff60581b19600160701b83048516600160681b0290811691909117600160601b60ff60681b19909316909117919091048316600160581b0217908116640100000000909104909116630100000002179055613543565b6001600160a01b03831660009081526011602052604090205460ff16156143a657505050565b6014548110156143b4575060005b60145482106143d9576143c8838383613523565b6143d4600c848461533d565b6143f0565b6143e583600083613523565b6143f0600c84613569565b613543836001613794565b601c54601b546000918291825b60185481101561454d5782600460006018848154811061442a5761442a61583b565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180614495575081600560006018848154811061446e5761446e61583b565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156144ab57601c54601b54945094505050509091565b6144f160046000601884815481106144c5576144c561583b565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490613752565b9250614539600560006018848154811061450d5761450d61583b565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390613752565b9150806145458161587a565b915050614408565b50601b54601c5461455d91612df8565b82101561457457601c54601b549350935050509091565b90939092509050565b8060075461458b91906159d4565b6007556008546145c2906145a3906112599084612d76565b6001600160a01b03841660009081526009602052604090205490613a71565b6001600160a01b0390921660009081526009602052604090209190915550565b806007546145f09190615851565b6007556008546145c290614608906112599084612d76565b6001600160a01b038416600090815260096020526040902054906134af565b600080600080614636856153e6565b9050600061464386615406565b9050600061465582611faa8986613752565b979296509094509092505050565b60008080806146728886612d76565b905060006146808887612d76565b9050600061468e8888612d76565b905060006146a082611faa8686613752565b939b939a50919850919650505050505050565b60006146bd613500565b905060006146cb8383612d76565b6001600160a01b0386166000908152600460205260409020549091506146f19082613752565b6001600160a01b03808716600090815260046020526040808220939093559086168152205461472090826136a4565b6001600160a01b0380861660009081526004602090815260408083209490945591881681526017909152205460ff1615614791576001600160a01b0385166000908152600560205260409020546147779084613752565b6001600160a01b0386166000908152600560205260409020555b6001600160a01b03841660009081526017602052604090205460ff16156147ef576001600160a01b0384166000908152600560205260409020546147d590846136a4565b6001600160a01b0385166000908152600560205260409020555b836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161483491815260200190565b60405180910390a35050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106148785761487861583b565b6001600160a01b03928316602091820292909201810191909152602254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156148d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148f591906159b7565b816001815181106149085761490861583b565b6001600160a01b03928316602091820292909201015260225461492e9130911684612e3a565b60225460405163791ac94760e01b81526001600160a01b039091169063791ac94790614967908590600090869030904290600401615ac9565b600060405180830381600087803b15801561498157600080fd5b505af1158015614995573d6000803e3d6000fd5b505050505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146149ea576040519150601f19603f3d011682016040523d82523d6000602084013e6149ef565b606091505b5050905080612b0d5760405162461bcd60e51b8152602060048201526013602482015272115512081514905394d1915488119052531151606a1b60448201526064016112c3565b600060075411614a4557600080fd5b80156117c857600754614a7390614a6083600160801b612d76565b614a6a91906157e4565b600854906136a4565b6008556040518181527f051019b59d3b24249903e46fd05b6def7f293fc3de54eca64b3d32743f27fc8e9060200160405180910390a1600b54614ab690826136a4565b600b5550565b60408051600380825260808201909252600091602082016060803683370190505090503081600081518110614af357614af361583b565b6001600160a01b03928316602091820292909201810191909152602254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015614b4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614b7091906159b7565b81600181518110614b8357614b8361583b565b6001600160a01b039283166020918202929092010152601a54825191169082906002908110614bb457614bb461583b565b6001600160a01b039283166020918202929092010152602254614bda9130911684612e3a565b6022546001600160a01b0316635c11d7958360008430614bfc4261012c6136a4565b6040518663ffffffff1660e01b8152600401614967959493929190615ac9565b602254614c349030906001600160a01b031684612e3a565b60225460035460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1158015614ca4573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190614cc99190615b05565b5050505050565b6040805160028082526060820183526000926020830190803683375050602254604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015614d3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614d5e91906159b7565b81600081518110614d7157614d7161583b565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110614da557614da561583b565b6001600160a01b0392831660209182029290920101526022546003549082169163b6f9de95918591600091869116614ddf4261012c6136a4565b6040518663ffffffff1660e01b8152600401614dfe9493929190615b33565b6000604051808303818588803b158015614e1757600080fd5b505af1158015614e2b573d6000803e3d6000fd5b50505050505050565b602154610100900460ff16158015614e565750602154600160281b900460ff16155b8015614e6c5750602154600160381b900460ff16155b8015614e825750602154600160481b900460ff16155b8015614e985750602154600160681b900460ff16155b8015614eae5750602154600160581b900460ff16155b8015614ec457506021546301000000900460ff16155b15614ecb57565b602160019054906101000a900460ff16602160026101000a81548160ff021916908360ff160217905550602160059054906101000a900460ff16602160066101000a81548160ff021916908360ff160217905550602160079054906101000a900460ff16602160086101000a81548160ff021916908360ff160217905550602160099054906101000a900460ff166021600a6101000a81548160ff021916908360ff1602179055506021600d9054906101000a900460ff166021600e6101000a81548160ff021916908360ff1602179055506021600b9054906101000a900460ff166021600c6101000a81548160ff021916908360ff160217905550602160039054906101000a900460ff16602160046101000a81548160ff021916908360ff1602179055506000602160016101000a81548160ff021916908360ff1602179055506000602160056101000a81548160ff021916908360ff1602179055506000602160076101000a81548160ff021916908360ff1602179055506000602160096101000a81548160ff021916908360ff16021790555060006021600d6101000a81548160ff021916908360ff16021790555060006021600b6101000a81548160ff021916908360ff1602179055506000602160036101000a81548160ff021916908360ff160217905550565b6000806000806000806150c987613703565b6001600160a01b038f16600090815260056020526040902054959b509399509197509550935091506150fb9088613752565b6001600160a01b038a1660009081526005602090815260408083209390935560049052205461512a9087613752565b6001600160a01b03808b1660009081526004602052604080822093909355908a168152205461515990866136a4565b6001600160a01b03891660009081526004602052604090205561517b8161548f565b6151858483615517565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516151ca91815260200190565b60405180910390a3505050505050505050565b6000806000806000806151ef87613703565b6001600160a01b038f16600090815260046020526040902054959b509399509197509550935091506152219087613752565b6001600160a01b03808b16600090815260046020908152604080832094909455918b1681526005909152205461525790846136a4565b6001600160a01b03891660009081526005602090815260408083209390935560049052205461515990866136a4565b60008060008060008061529887613703565b6001600160a01b038f16600090815260046020526040902054959b5093995091975095509350915061512a9087613752565b6000806000806000806152dc87613703565b6001600160a01b038f16600090815260056020526040902054959b5093995091975095509350915061530e9088613752565b6001600160a01b038a166000908152600560209081526040808320939093556004905220546152219087613752565b6001600160a01b038216600090815260038401602052604090205460ff1615615382576001600160a01b03821660009081526001840160205260409020819055505050565b6001600160a01b03821660008181526003850160209081526040808320805460ff19166001908117909155878101835281842086905587546002890184529184208290558101875586835291200180546001600160a01b0319169091179055505050565b6021546000906111ab90606490611972908590610100900460ff16612d76565b6021546000906111ab906064906119729060ff63010000008204811691600160581b8104821691600160681b8204811691600160481b810482169161545d91600160381b8104821691600160281b90910416615a6c565b6154679190615a6c565b6154719190615a6c565b61547b9190615a6c565b6154859190615a6c565b859060ff16612d76565b6000615499613500565b905060006154a78383612d76565b306000908152600460205260409020549091506154c490826136a4565b3060009081526004602090815260408083209390935560179052205460ff1615612b0d573060009081526005602052604090205461550290846136a4565b30600090815260056020526040902055505050565b601c546155249083613752565b601c55601d5461553490826136a4565b601d555050565b600060208083528351808285015260005b818110156155685785810183015185820160400152820161554c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146117c857600080fd5b600080604083850312156155b157600080fd5b82356155bc81615589565b946020939093013593505050565b6000602082840312156155dc57600080fd5b81356112e281615589565b6000806000606084860312156155fc57600080fd5b833561560781615589565b9250602084013561561781615589565b929592945050506040919091013590565b60006020828403121561563a57600080fd5b5035919050565b80151581146117c857600080fd5b6000806040838503121561566257600080fd5b82359150602083013561567481615641565b809150509250929050565b6000806040838503121561569257600080fd5b823561569d81615589565b9150602083013561567481615641565b6000602082840312156156bf57600080fd5b81356112e281615641565b803560ff811681146156db57600080fd5b919050565b600080600080600080600060e0888a0312156156fb57600080fd5b615704886156ca565b9650615712602089016156ca565b9550615720604089016156ca565b945061572e606089016156ca565b935061573c608089016156ca565b925061574a60a089016156ca565b915061575860c089016156ca565b905092959891949750929550565b6000806040838503121561577957600080fd5b823561578481615589565b9150602083013561567481615589565b600181811c908216806157a857607f821691505b6020821081036157c857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008261580157634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b818103818111156111ab576111ab6157ce565b634e487b7160e01b600052603160045260246000fd5b60006001820161588c5761588c6157ce565b5060010190565b60208082526003908201526232b93960e91b604082015260600190565b600181815b808511156158eb5781600019048211156158d1576158d16157ce565b808516156158de57918102915b93841c93908002906158b5565b509250929050565b600082615902575060016111ab565b8161590f575060006111ab565b8160018114615925576002811461592f5761594b565b60019150506111ab565b60ff841115615940576159406157ce565b50506001821b6111ab565b5060208310610133831016604e8410600b841016171561596e575081810a6111ab565b61597883836158b0565b806000190482111561598c5761598c6157ce565b029392505050565b60006112e283836158f3565b80820281158282048414176111ab576111ab6157ce565b6000602082840312156159c957600080fd5b81516112e281615589565b808201808211156111ab576111ab6157ce565b6000602082840312156159f957600080fd5b81516112e281615641565b8082018281126000831280158216821582161715615a2457615a246157ce565b505092915050565b600060208284031215615a3e57600080fd5b5051919050565b8181036000831280158383131683831282161715615a6557615a656157ce565b5092915050565b60ff81811683821601908111156111ab576111ab6157ce565b600081518084526020808501945080840160005b83811015615abe5781516001600160a01b031687529582019590820190600101615a99565b509495945050505050565b85815284602082015260a060408201526000615ae860a0830186615a85565b6001600160a01b0394909416606083015250608001529392505050565b600080600060608486031215615b1a57600080fd5b8351925060208401519150604084015190509250925092565b848152608060208201526000615b4c6080830186615a85565b6001600160a01b0394909416604083015250606001529291505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63658be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212202a1588d309bb8a519c54868c0da03dafd9bb1d37e0643384bef89d9ed6551a4f64736f6c63430008110033000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000084595161401484a00000000000000000000000000000000000000000000000000000000000000000026ac00000000000000000000000000000000000000000000000000000000000023280000000000000000000000003b17d2064f554bd2f830cd97b28fe5de62b7e9110000000000000000000000003b17d2064f554bd2f830cd97b28fe5de62b7e91100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000000000000000000000000001f711def073e9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000117465736c612e4574686572756d20322e300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059

Deployed Bytecode

0x6080604052600436106105065760003560e01c80637d1db4a511610297578063b6c5232411610165578063dd62ed3e116100cc578063f25f4b5611610085578063f25f4b561461102d578063f27fd2541461104d578063f2fde38b1461106d578063f7c618c11461108d578063f887ea40146110ad578063ffb2c479146110cd57600080fd5b8063dd62ed3e14610f52578063e7841ec014610f98578063e98030c714610fad578063ea2f0b3714610fcd578063ec9257d414610fed578063efa088061461100d57600080fd5b8063caebb8431161011e578063caebb84314610ea7578063d12a768814610ec7578063d28d885214610edd578063d543dbeb14610ef2578063d5f3540814610f12578063dd46706414610f3257600080fd5b8063b6c5232414610e05578063bdc653ef14610e1a578063be10b61414610e2f578063c0b0fda214610e45578063c49b9a8014610e66578063c7992f9a14610e8657600080fd5b80639c1b8af511610209578063a9059cbb116101c2578063a9059cbb14610d09578063aafd847a14610d29578063ad56c13c14610d5f578063af465a2714610dc4578063b09f126614610dda578063b1c16b1214610def57600080fd5b80639c1b8af514610c5e578063a457c2d714610c74578063a5f3517714610c94578063a69df4b514610cb4578063a79771bb14610cc9578063a8b9d24014610ce957600080fd5b8063871c128d1161025b578063871c128d14610b9257806388f8202014610bb25780638da5cb5b14610beb57806390d49b9d14610c0957806391b89fba14610c2957806395d89b4114610c4957600080fd5b80637d1db4a514610b0c57806382bf293c14610b2257806382d2a4bb14610b42578063852c252814610b6257806385a6b3ae14610b7c57600080fd5b8063437823ec116103d457806354ce6578116103465780636f2789ec116102ff5780636f2789ec14610a60578063700bb19114610a7657806370690b1114610a9657806370a0823114610ab7578063715018a614610ad75780637bd56c8c14610aec57600080fd5b806354ce6578146109be5780635ebf4db9146109df57806364b0f653146109ff5780636a47400214610a145780636bc87c3a14610a295780636c0a24eb14610a4a57600080fd5b80634e7b827f116103985780634e7b827f146108d357806351330a191461090357806351fde4bb14610924578063521432901461094557806352390c02146109655780635342acb41461098557600080fd5b8063437823ec1461083d5780634549b0391461085d578063455a43961461087d5780634a74bb021461089d5780634e71d92d146108be57600080fd5b80632d6abf87116104785780633685d419116104315780633685d4191461077c578063395093511461079c5780633b124fe7146107bc5780633bd5d173146107db5780633c81385c146107fb578063430ca0901461081c57600080fd5b80632d6abf87146106b35780632d838119146106eb5780633009a6091461070b578063313ce5671461072157806331e79db014610739578063324f8dbf1461075b57600080fd5b806318160ddd116104ca57806318160ddd146105e057806319de79ab146105f55780631cdd3be314610616578063226cfa3d1461064657806323b872dd1461067357806327ce01471461069357600080fd5b806306fdde0314610512578063095ea7b31461053d5780630f94892c1461056d57806313114a9d146105a057806315fa749a146105bf57600080fd5b3661050d57005b600080fd5b34801561051e57600080fd5b50610527611108565b604051610534919061553b565b60405180910390f35b34801561054957600080fd5b5061055d61055836600461559e565b61119a565b6040519015158152602001610534565b34801561057957600080fd5b5060215461058e90600160581b900460ff1681565b60405160ff9091168152602001610534565b3480156105ac57600080fd5b50601d545b604051908152602001610534565b3480156105cb57600080fd5b5060035461058e90600160c01b900460ff1681565b3480156105ec57600080fd5b50601b546105b1565b34801561060157600080fd5b5060215461058e90600160681b900460ff1681565b34801561062257600080fd5b5061055d6106313660046155ca565b602a6020526000908152604090205460ff1681565b34801561065257600080fd5b506105b16106613660046155ca565b60126020526000908152604090205481565b34801561067f57600080fd5b5061055d61068e3660046155e7565b6111b1565b34801561069f57600080fd5b506105b16106ae3660046155ca565b61121a565b3480156106bf57600080fd5b506022546106d3906001600160a01b031681565b6040516001600160a01b039091168152602001610534565b3480156106f757600080fd5b506105b1610706366004615628565b611273565b34801561071757600080fd5b506105b160105481565b34801561072d57600080fd5b5060215460ff1661058e565b34801561074557600080fd5b506107596107543660046155ca565b6112e9565b005b34801561076757600080fd5b5060035461058e90600160c81b900460ff1681565b34801561078857600080fd5b506107596107973660046155ca565b6113c4565b3480156107a857600080fd5b5061055d6107b736600461559e565b61156d565b3480156107c857600080fd5b5060215461058e90610100900460ff1681565b3480156107e757600080fd5b506107596107f6366004615628565b6115a3565b34801561080757600080fd5b5060035461058e90600160b01b900460ff1681565b34801561082857600080fd5b5060035461058e90600160a01b900460ff1681565b34801561084957600080fd5b506107596108583660046155ca565b61168d565b34801561086957600080fd5b506105b161087836600461564f565b6116db565b34801561088957600080fd5b5061075961089836600461567f565b611768565b3480156108a957600080fd5b5060255461055d90600160b81b900460ff1681565b3480156108ca57600080fd5b506107596117bd565b3480156108df57600080fd5b5061055d6108ee3660046155ca565b60116020526000908152604090205460ff1681565b34801561090f57600080fd5b5060035461058e90600160b81b900460ff1681565b34801561093057600080fd5b5060215461058e906301000000900460ff1681565b34801561095157600080fd5b506023546106d3906001600160a01b031681565b34801561097157600080fd5b506107596109803660046155ca565b6117cb565b34801561099157600080fd5b5061055d6109a03660046155ca565b6001600160a01b031660009081526016602052604090205460ff1690565b3480156109ca57600080fd5b5060215461058e90600160481b900460ff1681565b3480156109eb57600080fd5b506107596109fa366004615628565b61192e565b348015610a0b57600080fd5b50600c546105b1565b348015610a2057600080fd5b5061075961199d565b348015610a3557600080fd5b5060215461058e90600160281b900460ff1681565b348015610a5657600080fd5b506105b160275481565b348015610a6c57600080fd5b506105b160135481565b348015610a8257600080fd5b50610759610a91366004615628565b6119a6565b348015610aa257600080fd5b5060035461058e90600160d01b900460ff1681565b348015610ac357600080fd5b506105b1610ad23660046155ca565b611a0f565b348015610ae357600080fd5b50610759611a6e565b348015610af857600080fd5b50610759610b073660046156ad565b611ad0565b348015610b1857600080fd5b506105b160265481565b348015610b2e57600080fd5b50610759610b3d366004615628565b611b18565b348015610b4e57600080fd5b50610759610b5d366004615628565b611b9d565b348015610b6e57600080fd5b50601e5461055d9060ff1681565b348015610b8857600080fd5b506105b1600b5481565b348015610b9e57600080fd5b50610759610bad366004615628565b611be8565b348015610bbe57600080fd5b5061055d610bcd3660046155ca565b6001600160a01b031660009081526017602052604090205460ff1690565b348015610bf757600080fd5b506000546001600160a01b03166106d3565b348015610c1557600080fd5b50610759610c243660046155ca565b611c98565b348015610c3557600080fd5b506105b1610c443660046155ca565b611d29565b348015610c5557600080fd5b50610527611d34565b348015610c6a57600080fd5b506105b160155481565b348015610c8057600080fd5b5061055d610c8f36600461559e565b611d43565b348015610ca057600080fd5b50610759610caf3660046156ad565b611d92565b348015610cc057600080fd5b50610759611dda565b348015610cd557600080fd5b50610759610ce43660046155ca565b611ef3565b348015610cf557600080fd5b506105b1610d043660046155ca565b611f84565b348015610d1557600080fd5b5061055d610d2436600461559e565b611fb0565b348015610d3557600080fd5b506105b1610d443660046155ca565b6001600160a01b03166000908152600a602052604090205490565b348015610d6b57600080fd5b50610d7f610d7a3660046155ca565b611fbd565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610534565b348015610dd057600080fd5b506105b1601b5481565b348015610de657600080fd5b506105276120a6565b348015610dfb57600080fd5b506105b160075481565b348015610e1157600080fd5b506002546105b1565b348015610e2657600080fd5b506029546105b1565b348015610e3b57600080fd5b506105b160145481565b348015610e5157600080fd5b5060215461058e90600160381b900460ff1681565b348015610e7257600080fd5b50610759610e813660046156ad565b612134565b348015610e9257600080fd5b5060035461058e90600160a81b900460ff1681565b348015610eb357600080fd5b50610759610ec23660046155ca565b6121b6565b348015610ed357600080fd5b506105b160285481565b348015610ee957600080fd5b506105276123c5565b348015610efe57600080fd5b50610759610f0d366004615628565b6123d2565b348015610f1e57600080fd5b50610759610f2d3660046156e0565b612457565b348015610f3e57600080fd5b50610759610f4d366004615628565b612780565b348015610f5e57600080fd5b506105b1610f6d366004615766565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b348015610fa457600080fd5b506010546105b1565b348015610fb957600080fd5b50610759610fc8366004615628565b612805565b348015610fd957600080fd5b50610759610fe83660046155ca565b61296e565b348015610ff957600080fd5b506025546106d3906001600160a01b031681565b34801561101957600080fd5b5061075961102836600461559e565b6129b9565b34801561103957600080fd5b506024546106d3906001600160a01b031681565b34801561105957600080fd5b50610d7f611068366004615628565b612b12565b34801561107957600080fd5b506107596110883660046155ca565b612b81565b34801561109957600080fd5b50601a546106d3906001600160a01b031681565b3480156110b957600080fd5b506019546106d3906001600160a01b031681565b3480156110d957600080fd5b506110ed6110e8366004615628565b612c59565b60408051938452602084019290925290820152606001610534565b6060601f805461111790615794565b80601f016020809104026020016040519081016040528092919081815260200182805461114390615794565b80156111905780601f1061116557610100808354040283529160200191611190565b820191906000526020600020905b81548152906001019060200180831161117357829003601f168201915b5050505050905090565b60006111a7338484612e3a565b5060015b92915050565b60006111be848484612f47565b611210843361120b85604051806060016040528060288152602001615b69602891396001600160a01b038a1660009081526006602090815260408083203384529091529020549190613465565b612e3a565b5060019392505050565b6001600160a01b038116600090815260096020526040812054600160801b90611269906112649061125e61125961125088611a0f565b60085490612d76565b61349f565b906134af565b6134ed565b6111ab91906157e4565b6000601c548211156112cc5760405162461bcd60e51b815260206004820152601e60248201527f416d74206d757374206265206c657373207468616e20746f74207265666c000060448201526064015b60405180910390fd5b60006112d6613500565b90506112e28382612df8565b9392505050565b6000546001600160a01b031633146113135760405162461bcd60e51b81526004016112c390615806565b6001600160a01b03811660009081526011602052604090205460ff161561133957600080fd5b6001600160a01b0381166000908152601160205260408120805460ff1916600117905561136582611a0f565b9050601454811015611375575060005b61138182600083613523565b61138c600c83613569565b6040516001600160a01b038316907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2590600090a25050565b6000546001600160a01b031633146113ee5760405162461bcd60e51b81526004016112c390615806565b6001600160a01b03811660009081526017602052604090205460ff166114495760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e48195e18db1d59195960821b60448201526064016112c3565b60005b60185481101561156957816001600160a01b0316601882815481106114735761147361583b565b6000918252602090912001546001600160a01b031603611557576018805461149d90600190615851565b815481106114ad576114ad61583b565b600091825260209091200154601880546001600160a01b0390921691839081106114d9576114d961583b565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600582526040808220829055601790925220805460ff19169055601880548061153157611531615864565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b806115618161587a565b91505061144c565b5050565b3360008181526006602090815260408083206001600160a01b038716845290915281205490916111a791859061120b90866136a4565b3360008181526017602052604090205460ff16156116185760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b60648201526084016112c3565b600061162383613703565b505050506001600160a01b03841660009081526004602052604090205491925061164f91905082613752565b6001600160a01b038316600090815260046020526040902055601c546116759082613752565b601c55601d5461168590846136a4565b601d55505050565b6000546001600160a01b031633146116b75760405162461bcd60e51b81526004016112c390615806565b6001600160a01b03166000908152601660205260409020805460ff19166001179055565b6000601b5483111561172f5760405162461bcd60e51b815260206004820152601c60248201527f416d74206d757374206265206c657373207468616e20737570706c790000000060448201526064016112c3565b8161174e57600061173f84613703565b509395506111ab945050505050565b600061175984613703565b509295506111ab945050505050565b6000546001600160a01b031633146117925760405162461bcd60e51b81526004016112c390615806565b6001600160a01b03919091166000908152602a60205260409020805460ff1916911515919091179055565b6117c8336000613794565b50565b6000546001600160a01b031633146117f55760405162461bcd60e51b81526004016112c390615806565b6001600160a01b03811660009081526017602052604090205460ff161561186e5760405162461bcd60e51b815260206004820152602760248201527f4163636f756e7420697320616c7265616479206578636c756465642066726f6d604482015266081c995dd85c9960ca1b60648201526084016112c3565b6001600160a01b038116600090815260046020526040902054156118c8576001600160a01b0381166000908152600460205260409020546118ae90611273565b6001600160a01b0382166000908152600560205260409020555b6001600160a01b03166000818152601760205260408120805460ff191660019081179091556018805491820181559091527fb13d2d76d1f4b7be834882e410b3e3a8afaf69f83600ae24db354391d2378d2e0180546001600160a01b0319169091179055565b6000546001600160a01b031633146119585760405162461bcd60e51b81526004016112c390615806565b6001811015801561197c57506119786064611972601b5490565b90612df8565b8111155b6119985760405162461bcd60e51b81526004016112c390615893565b601455565b6117c83361383d565b60008060006119b484612c59565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a350505050565b6001600160a01b03811660009081526017602052604081205460ff1615611a4c57506001600160a01b031660009081526005602052604090205490565b6001600160a01b0382166000908152600460205260409020546111ab90611273565b6000546001600160a01b03163314611a985760405162461bcd60e51b81526004016112c390615806565b600080546040516001600160a01b0390911690600080516020615b91833981519152908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314611afa5760405162461bcd60e51b81526004016112c390615806565b60258054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b03163314611b425760405162461bcd60e51b81526004016112c390615806565b600354600160d01b900460ff168110801590611b6057506127108111155b611b7c5760405162461bcd60e51b81526004016112c390615893565b611b9761271061197283601b54612d7690919063ffffffff16565b60275550565b6000546001600160a01b03163314611bc75760405162461bcd60e51b81526004016112c390615806565b602154611bd89060ff16600a615994565b611be290826159a0565b60295550565b6000546001600160a01b03163314611c125760405162461bcd60e51b81526004016112c390615806565b62030d408110158015611c285750624c4b408111155b611c935760405162461bcd60e51b815260206004820152603660248201527f676173466f7250726f63657373696e67206d757374206265206265747765656e6044820152750203230302c30303020616e6420352c3030302c3030360541b60648201526084016112c3565b601555565b6000546001600160a01b03163314611cc25760405162461bcd60e51b81526004016112c390615806565b6001600160a01b038116611d075760405162461bcd60e51b815260206004820152600c60248201526b5a45524f204144445245535360a01b60448201526064016112c3565b602480546001600160a01b0319166001600160a01b0392909216919091179055565b60006111ab82611f84565b60606020805461111790615794565b60006111a7338461120b85604051806060016040528060258152602001615bb1602591393360009081526006602090815260408083206001600160a01b038d1684529091529020549190613465565b6000546001600160a01b03163314611dbc5760405162461bcd60e51b81526004016112c390615806565b60258054911515600160a81b0260ff60a81b19909216919091179055565b6001546001600160a01b03163314611e535760405162461bcd60e51b815260206004820152603660248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152751bd8dac81d1a19481d1bdad95b8818dbdb9d1c9858dd60521b60648201526084016112c3565b6002544211611ea45760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c203720646179730060448201526064016112c3565b600154600080546040516001600160a01b039384169390911691600080516020615b9183398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b6000546001600160a01b03163314611f1d5760405162461bcd60e51b81526004016112c390615806565b6001600160a01b038116611f625760405162461bcd60e51b815260206004820152600c60248201526b5a45524f204144445245535360a01b60448201526064016112c3565b602580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152600a60205260408120546111ab90611faa8461121a565b90613752565b60006111a7338484612f47565b806000808080808080611fd1600c89613a26565b965060001995506000871261203357601054871115611fff57601054611ff8908890613a71565b9550612033565b601054600c5460009110612014576000612023565b601054600c5461202391613752565b905061202f88826134af565b9650505b61203c88611f84565b94506120478861121a565b6001600160a01b03891660009081526012602052604090205490945092508261207157600061207f565b60135461207f9084906136a4565b915042821161208f576000612099565b6120998242613752565b9050919395975091939597565b602080546120b390615794565b80601f01602080910402602001604051908101604052809291908181526020018280546120df90615794565b801561212c5780601f106121015761010080835404028352916020019161212c565b820191906000526020600020905b81548152906001019060200180831161210f57829003601f168201915b505050505081565b6000546001600160a01b0316331461215e5760405162461bcd60e51b81526004016112c390615806565b60258054821515600160b81b0260ff60b81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906121ab90831515815260200190565b60405180910390a150565b6000546001600160a01b031633146121e05760405162461bcd60e51b81526004016112c390615806565b6022546001600160a01b039081169082160361224a5760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b60648201526084016112c3565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561228d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b191906159b7565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061232291906159b7565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561236f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239391906159b7565b602380546001600160a01b039283166001600160a01b0319918216179091556022805493909216921691909117905550565b601f80546120b390615794565b6000546001600160a01b031633146123fc5760405162461bcd60e51b81526004016112c390615806565b600354600160c81b900460ff16811080159061241a57506127108111155b6124365760405162461bcd60e51b81526004016112c390615893565b61245161271061197283601b54612d7690919063ffffffff16565b60265550565b6000546001600160a01b031633146124815760405162461bcd60e51b81526004016112c390615806565b60035460ff600160a81b909104811690881611156124ca5760405162461bcd60e51b81526020600482015260066024820152652a231032b93960d11b60448201526064016112c3565b60035460ff600160a01b909104811690871611156125135760405162461bcd60e51b815260206004820152600660248201526526231032b93960d11b60448201526064016112c3565b60035460ff600160b01b9091048116908616111561255c5760405162461bcd60e51b815260206004820152600660248201526521231032b93960d11b60448201526064016112c3565b60035460ff600160b81b909104811690851611156125a55760405162461bcd60e51b81526020600482015260066024820152652ba31032b93960d11b60448201526064016112c3565b60035460ff600160c01b909104811690841611156125ef5760405162461bcd60e51b81526020600482015260076024820152662121231032b93960c91b60448201526064016112c3565b60035460ff600160b81b909104811690831611156126395760405162461bcd60e51b81526020600482015260076024820152662ba32a1032b93960c91b60448201526064016112c3565b60035460ff600160a81b909104811690821611156126825760405162461bcd60e51b815260206004820152600660248201526529231032b93960d11b60448201526064016112c3565b60ff81161580612693575060ff8716155b6126cc5760405162461bcd60e51b815260206004820152600a602482015269292a103332b29032b93960b11b60448201526064016112c3565b6021805465ff000000ff00191661010060ff998a160265ff0000000000191617600160281b97891697909702969096176dff0000000000ff000000000000001916600160381b9588169590950260ff60681b191694909417600160681b92871692909202919091176bff00ff0000000000000000001916600160481b9286169290920260ff60581b191691909117600160581b918516919091021763ff000000191663010000009190931602919091179055565b6000546001600160a01b031633146127aa5760405162461bcd60e51b81526004016112c390615806565b60008054600180546001600160a01b03199081166001600160a01b038416179091551690556127d981426159d4565b600255600080546040516001600160a01b0390911690600080516020615b91833981519152908390a350565b6000546001600160a01b0316331461282f5760405162461bcd60e51b81526004016112c390615806565b610e1081101580156128445750620151808111155b6128c45760405162461bcd60e51b815260206004820152604560248201527f4469766964656e645f547261636b65723a20636c61696d57616974206d75737460448201527f206265207570646174656420746f206265747765656e203120616e6420323420606482015264686f75727360d81b608482015260a4016112c3565b601354810361293b5760405162461bcd60e51b815260206004820152603760248201527f4469766964656e645f547261636b65723a2043616e6e6f74207570646174652060448201527f636c61696d5761697420746f2073616d652076616c756500000000000000000060648201526084016112c3565b60135460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601355565b6000546001600160a01b031633146129985760405162461bcd60e51b81526004016112c390615806565b6001600160a01b03166000908152601660205260409020805460ff19169055565b6000546001600160a01b031633146129e35760405162461bcd60e51b81526004016112c390615806565b306001600160a01b03831603612a2b5760405162461bcd60e51b815260206004820152600d60248201526c53656c6620776974686472617760981b60448201526064016112c3565b601a546001600160a01b0390811690831603612a7b5760405162461bcd60e51b815260206004820152600f60248201526e72657761726420776974686472617760881b60448201526064016112c3565b816001600160a01b031663a9059cbb612a9c6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015612ae9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0d91906159e7565b505050565b600080600080600080600080612b27600c5490565b8910612b4c575060009650600019955085945086935083925082915081905080612b76565b6000612b59600c8b613aae565b9050612b6481611fbd565b98509850985098509850985098509850505b919395975091939597565b6000546001600160a01b03163314612bab5760405162461bcd60e51b81526004016112c390615806565b6001600160a01b038116612c105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016112c3565b600080546040516001600160a01b0380851693921691600080516020615b9183398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600c5460009081908190808203612c7b57505060105460009250829150612d6f565b6010546000805a90506000805b8984108015612c9657508582105b15612d5e5784612ca58161587a565b600c5490965086109050612cb857600094505b6000600c6000018681548110612cd057612cd061583b565b60009182526020808320909101546001600160a01b03168083526012909152604090912054909150612d0190613ae1565b15612d2457612d11816001613794565b15612d245781612d208161587a565b9250505b82612d2e8161587a565b93505060005a905080851115612d5557612d52612d4b8683613752565b87906136a4565b95505b9350612c889050565b601085905590975095509193505050505b9193909250565b600082600003612d88575060006111ab565b6000612d9483856159a0565b905082612da185836157e4565b146112e25760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016112c3565b60006112e283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613b08565b6001600160a01b038316612e905760405162461bcd60e51b815260206004820181905260248201527f45524332303a20617070726f76652066726f6d207a65726f206164647265737360448201526064016112c3565b6001600160a01b038216612ee65760405162461bcd60e51b815260206004820152601e60248201527f45524332303a20617070726f766520746f207a65726f2061646472657373000060448201526064016112c3565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316612fa75760405162461bcd60e51b815260206004820152602160248201527f45524332303a207472616e736665722066726f6d207a65726f206164647265736044820152607360f81b60648201526084016112c3565b6001600160a01b038216612ffd5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a207472616e7366657220746f207a65726f20616464726573730060448201526064016112c3565b6000811161305f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016112c3565b6001600160a01b0383166000908152602a602052604090205460ff161580156130a157506001600160a01b0382166000908152602a602052604090205460ff16155b6130e35760405162461bcd60e51b8152602060048201526013602482015272426c61636b6c6973746564206164647265737360681b60448201526064016112c3565b6000546001600160a01b0384811691161480159061310f57506000546001600160a01b03838116911614155b801561312957506023546001600160a01b03848116911614155b15613191576026548111156131915760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016112c3565b6000546001600160a01b038481169116148015906131bd57506000546001600160a01b03838116911614155b80156131d157506001600160a01b03821615155b80156131eb57506003546001600160a01b03838116911614155b801561320557506023546001600160a01b03838116911614155b1561327557600061321583611a0f565b60275490915061322583836159d4565b11156132735760405162461bcd60e51b815260206004820152601d60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e7400000060448201526064016112c3565b505b600061328030611a0f565b9050602654811061329057506026545b6028546025549082101590600160b01b900460ff161580156132bf57506023546001600160a01b038581169116145b80156132d45750602554600160b81b900460ff165b156133c45780156132ed5760285491506132ed82613b36565b602154600160681b900460ff16156133485760215447906133129060ff16600a615994565b61331d9060016159a0565b8111156133465760295481111561333357506029545b613346613341826064612df8565b6140d7565b505b6021546301000000900460ff16156133c4576015546000808061336a84612c59565b604080518481526020810184905290810182905260608101889052929550909350915032906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a3505050505b6001600160a01b03851660009081526016602052604090205460019060ff168061340657506001600160a01b03851660009081526016602052604090205460ff165b1561340f575060005b600061341a87611a0f565b9050600061342787611a0f565b905061343588888886614109565b613448886134428a611a0f565b84614380565b61345b8761345589611a0f565b83614380565b5050505050505050565b600081848411156134895760405162461bcd60e51b81526004016112c3919061553b565b5060006134968486615851565b95945050505050565b600081818112156111ab57600080fd5b6000806134bc8385615a04565b9050600083121580156134cf5750838112155b806134e457506000831280156134e457508381125b6112e257600080fd5b6000808212156134fc57600080fd5b5090565b600080600061350d6143fb565b909250905061351c8282612df8565b9250505090565b808211156135495760006135378383613752565b9050613543848261457d565b50505050565b80821015612b0d57600061355d8284613752565b905061354384826145e2565b6001600160a01b038116600090815260038301602052604090205460ff1661358f575050565b6001600160a01b03811660009081526003830160209081526040808320805460ff19169055600180860183528184208490556002860190925282205484549092916135d991615851565b905060008460000182815481106135f2576135f261583b565b60009182526020808320909101546001600160a01b039081168084526002890190925260408084208790559087168352822091909155855490915081908690859081106136415761364161583b565b600091825260209091200180546001600160a01b0319166001600160a01b0392909216919091179055845485908061367b5761367b615864565b600082815260209020810160001990810180546001600160a01b03191690550190555050505050565b6000806136b183856159d4565b9050838110156112e25760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016112c3565b600080600080600080600080600061371a8a614627565b92509250925060008060006137388d8686613733613500565b614663565b919f909e50909c50959a5093985091965092945050505050565b60006112e283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613465565b6001600160a01b0382166000908152600f602052604081205460ff166137bc575060006111ab565b60006137c78461383d565b90508015613833576001600160a01b038416600081815260126020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092906138219085815260200190565b60405180910390a360019150506111ab565b5060009392505050565b60008061384983611f84565b90508015613a1d57601a546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561389a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138be9190615a2c565b9050818110156138d2575060009392505050565b6001600160a01b0384166000908152600a60205260409020546138f590836136a4565b6001600160a01b0385166000818152600a6020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906139449085815260200190565b60405180910390a2601a5460405163a9059cbb60e01b81526001600160a01b03868116600483015260248201859052600092169063a9059cbb906044016020604051808303816000875af11580156139a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139c491906159e7565b905080613a14576001600160a01b0385166000908152600a60205260409020546139ee9084613752565b6001600160a01b039095166000908152600a602052604081209590955550929392505050565b50909392505050565b50600092915050565b6001600160a01b038116600090815260038301602052604081205460ff16613a5157506000196111ab565b506001600160a01b03166000908152600291909101602052604090205490565b600080613a7e8385615a45565b905060008312158015613a915750838113155b806134e457506000831280156134e457508381136112e257600080fd5b6000826000018281548110613ac557613ac561583b565b6000918252602090912001546001600160a01b03169392505050565b600042821115613af357506000919050565b601354613b004284613752565b101592915050565b60008183613b295760405162461bcd60e51b81526004016112c3919061553b565b50600061349684866157e4565b6025805460ff60b01b1916600160b01b1790556021546000906301000000810460ff90811691600160581b8104821691600160681b8204811691600160281b8104821691613b9691600160481b8104821691600160381b90910416615a6c565b613ba09190615a6c565b613baa9190615a6c565b613bb49190615a6c565b613bbe9190615a6c565b6021549091506000908190600160381b900460ff1615613c1d57602154613bff9060ff600160381b909104811690613bf99087908716612df8565b90612d76565b600354909250613c1a9030906001600160a01b0316846146b3565b50805b602154600160481b900460ff1615613cf557602154613c509060ff600160481b909104811690613bf99087908716612df8565b602554909250600160a01b900460ff16613cb657602454600090613c7c906001600160a01b0316611a0f565b602454909150613c979030906001600160a01b0316856146b3565b602454613cb0906001600160a01b031661345581611a0f565b50613ce8565b47613cc083614843565b6000613ccc4783613752565b602454909150613ce5906001600160a01b03168261499d565b50505b613cf282826159d4565b90505b602154600160681b900460ff1615613d4057602154613d289060ff600160681b909104811690613bf99087908716612df8565b9150613d3382614843565b613d3d82826159d4565b90505b602154600160581b900460ff1615613e1857602154613d739060ff600160581b909104811690613bf99087908716612df8565b602554909250600160a81b900460ff16613dd957602554600090613d9f906001600160a01b0316611a0f565b602554909150613dba9030906001600160a01b0316856146b3565b602554613dd3906001600160a01b031661345581611a0f565b50613e0b565b47613de383614843565b6000613def4783613752565b602554909150613e08906001600160a01b03168261499d565b50505b613e1582826159d4565b90505b6021546301000000900460ff161561402157602154613e4b9060ff6301000000909104811690613bf99087908716612df8565b601a54602254604080516315ab88c960e31b815290519395506001600160a01b0392831693919092169163ad5c46489160048083019260209291908290030181865afa158015613e9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ec391906159b7565b6001600160a01b031603613ef95747613edb83614843565b6000613ee74783613752565b9050613ef281614a36565b5050614014565b601a54306001600160a01b0390911603613f1b57613f1682614a36565b614014565b601a546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015613f64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f889190615a2c565b9050613f9383614abc565b601a546040516370a0823160e01b81523060048201526000916140069184916001600160a01b0316906370a0823190602401602060405180830381865afa158015613fe2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611faa9190615a2c565b905061401181614a36565b50505b61401e82826159d4565b90505b602154600160281b900460ff16156140c45761403d8482613752565b9350600061404c856002612df8565b9050600061405a8683613752565b90504761406683614843565b60006140724783613752565b905061407e8382614c1c565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a1505050505b50506025805460ff60b01b191690555050565b6025805460ff60b01b1916600160b01b17905580156140f9576140f981614cd0565b506025805460ff60b01b19169055565b8061411657614116614e34565b6001600160a01b03841660009081526017602052604090205460ff16801561415757506001600160a01b03831660009081526017602052604090205460ff16155b1561416c576141678484846150b7565b61426a565b6001600160a01b03841660009081526017602052604090205460ff161580156141ad57506001600160a01b03831660009081526017602052604090205460ff165b156141bd576141678484846151dd565b6001600160a01b03841660009081526017602052604090205460ff161580156141ff57506001600160a01b03831660009081526017602052604090205460ff16155b1561420f57614167848484615286565b6001600160a01b03841660009081526017602052604090205460ff16801561424f57506001600160a01b03831660009081526017602052604090205460ff165b1561425f576141678484846152ca565b61426a848484615286565b80613543576021805463ff0000001962ff00ff60581b1969ff00ff000000000000001965ff000000ff0019841665ff00000000001961010062010000870460ff9081169190910291821692909217660100000000000061ff0019909716909117959095048116600160281b029490941790811669ff000000000000000000196801000000000000000083048616600160381b0290811691909117600160501b67ff0000000000000019909316909117919091048416600160481b021790811660ff60581b19600160701b83048516600160681b0290811691909117600160601b60ff60681b19909316909117919091048316600160581b0217908116640100000000909104909116630100000002179055613543565b6001600160a01b03831660009081526011602052604090205460ff16156143a657505050565b6014548110156143b4575060005b60145482106143d9576143c8838383613523565b6143d4600c848461533d565b6143f0565b6143e583600083613523565b6143f0600c84613569565b613543836001613794565b601c54601b546000918291825b60185481101561454d5782600460006018848154811061442a5761442a61583b565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180614495575081600560006018848154811061446e5761446e61583b565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156144ab57601c54601b54945094505050509091565b6144f160046000601884815481106144c5576144c561583b565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490613752565b9250614539600560006018848154811061450d5761450d61583b565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390613752565b9150806145458161587a565b915050614408565b50601b54601c5461455d91612df8565b82101561457457601c54601b549350935050509091565b90939092509050565b8060075461458b91906159d4565b6007556008546145c2906145a3906112599084612d76565b6001600160a01b03841660009081526009602052604090205490613a71565b6001600160a01b0390921660009081526009602052604090209190915550565b806007546145f09190615851565b6007556008546145c290614608906112599084612d76565b6001600160a01b038416600090815260096020526040902054906134af565b600080600080614636856153e6565b9050600061464386615406565b9050600061465582611faa8986613752565b979296509094509092505050565b60008080806146728886612d76565b905060006146808887612d76565b9050600061468e8888612d76565b905060006146a082611faa8686613752565b939b939a50919850919650505050505050565b60006146bd613500565b905060006146cb8383612d76565b6001600160a01b0386166000908152600460205260409020549091506146f19082613752565b6001600160a01b03808716600090815260046020526040808220939093559086168152205461472090826136a4565b6001600160a01b0380861660009081526004602090815260408083209490945591881681526017909152205460ff1615614791576001600160a01b0385166000908152600560205260409020546147779084613752565b6001600160a01b0386166000908152600560205260409020555b6001600160a01b03841660009081526017602052604090205460ff16156147ef576001600160a01b0384166000908152600560205260409020546147d590846136a4565b6001600160a01b0385166000908152600560205260409020555b836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161483491815260200190565b60405180910390a35050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106148785761487861583b565b6001600160a01b03928316602091820292909201810191909152602254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156148d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148f591906159b7565b816001815181106149085761490861583b565b6001600160a01b03928316602091820292909201015260225461492e9130911684612e3a565b60225460405163791ac94760e01b81526001600160a01b039091169063791ac94790614967908590600090869030904290600401615ac9565b600060405180830381600087803b15801561498157600080fd5b505af1158015614995573d6000803e3d6000fd5b505050505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146149ea576040519150601f19603f3d011682016040523d82523d6000602084013e6149ef565b606091505b5050905080612b0d5760405162461bcd60e51b8152602060048201526013602482015272115512081514905394d1915488119052531151606a1b60448201526064016112c3565b600060075411614a4557600080fd5b80156117c857600754614a7390614a6083600160801b612d76565b614a6a91906157e4565b600854906136a4565b6008556040518181527f051019b59d3b24249903e46fd05b6def7f293fc3de54eca64b3d32743f27fc8e9060200160405180910390a1600b54614ab690826136a4565b600b5550565b60408051600380825260808201909252600091602082016060803683370190505090503081600081518110614af357614af361583b565b6001600160a01b03928316602091820292909201810191909152602254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015614b4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614b7091906159b7565b81600181518110614b8357614b8361583b565b6001600160a01b039283166020918202929092010152601a54825191169082906002908110614bb457614bb461583b565b6001600160a01b039283166020918202929092010152602254614bda9130911684612e3a565b6022546001600160a01b0316635c11d7958360008430614bfc4261012c6136a4565b6040518663ffffffff1660e01b8152600401614967959493929190615ac9565b602254614c349030906001600160a01b031684612e3a565b60225460035460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1158015614ca4573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190614cc99190615b05565b5050505050565b6040805160028082526060820183526000926020830190803683375050602254604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015614d3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614d5e91906159b7565b81600081518110614d7157614d7161583b565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110614da557614da561583b565b6001600160a01b0392831660209182029290920101526022546003549082169163b6f9de95918591600091869116614ddf4261012c6136a4565b6040518663ffffffff1660e01b8152600401614dfe9493929190615b33565b6000604051808303818588803b158015614e1757600080fd5b505af1158015614e2b573d6000803e3d6000fd5b50505050505050565b602154610100900460ff16158015614e565750602154600160281b900460ff16155b8015614e6c5750602154600160381b900460ff16155b8015614e825750602154600160481b900460ff16155b8015614e985750602154600160681b900460ff16155b8015614eae5750602154600160581b900460ff16155b8015614ec457506021546301000000900460ff16155b15614ecb57565b602160019054906101000a900460ff16602160026101000a81548160ff021916908360ff160217905550602160059054906101000a900460ff16602160066101000a81548160ff021916908360ff160217905550602160079054906101000a900460ff16602160086101000a81548160ff021916908360ff160217905550602160099054906101000a900460ff166021600a6101000a81548160ff021916908360ff1602179055506021600d9054906101000a900460ff166021600e6101000a81548160ff021916908360ff1602179055506021600b9054906101000a900460ff166021600c6101000a81548160ff021916908360ff160217905550602160039054906101000a900460ff16602160046101000a81548160ff021916908360ff1602179055506000602160016101000a81548160ff021916908360ff1602179055506000602160056101000a81548160ff021916908360ff1602179055506000602160076101000a81548160ff021916908360ff1602179055506000602160096101000a81548160ff021916908360ff16021790555060006021600d6101000a81548160ff021916908360ff16021790555060006021600b6101000a81548160ff021916908360ff1602179055506000602160036101000a81548160ff021916908360ff160217905550565b6000806000806000806150c987613703565b6001600160a01b038f16600090815260056020526040902054959b509399509197509550935091506150fb9088613752565b6001600160a01b038a1660009081526005602090815260408083209390935560049052205461512a9087613752565b6001600160a01b03808b1660009081526004602052604080822093909355908a168152205461515990866136a4565b6001600160a01b03891660009081526004602052604090205561517b8161548f565b6151858483615517565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516151ca91815260200190565b60405180910390a3505050505050505050565b6000806000806000806151ef87613703565b6001600160a01b038f16600090815260046020526040902054959b509399509197509550935091506152219087613752565b6001600160a01b03808b16600090815260046020908152604080832094909455918b1681526005909152205461525790846136a4565b6001600160a01b03891660009081526005602090815260408083209390935560049052205461515990866136a4565b60008060008060008061529887613703565b6001600160a01b038f16600090815260046020526040902054959b5093995091975095509350915061512a9087613752565b6000806000806000806152dc87613703565b6001600160a01b038f16600090815260056020526040902054959b5093995091975095509350915061530e9088613752565b6001600160a01b038a166000908152600560209081526040808320939093556004905220546152219087613752565b6001600160a01b038216600090815260038401602052604090205460ff1615615382576001600160a01b03821660009081526001840160205260409020819055505050565b6001600160a01b03821660008181526003850160209081526040808320805460ff19166001908117909155878101835281842086905587546002890184529184208290558101875586835291200180546001600160a01b0319169091179055505050565b6021546000906111ab90606490611972908590610100900460ff16612d76565b6021546000906111ab906064906119729060ff63010000008204811691600160581b8104821691600160681b8204811691600160481b810482169161545d91600160381b8104821691600160281b90910416615a6c565b6154679190615a6c565b6154719190615a6c565b61547b9190615a6c565b6154859190615a6c565b859060ff16612d76565b6000615499613500565b905060006154a78383612d76565b306000908152600460205260409020549091506154c490826136a4565b3060009081526004602090815260408083209390935560179052205460ff1615612b0d573060009081526005602052604090205461550290846136a4565b30600090815260056020526040902055505050565b601c546155249083613752565b601c55601d5461553490826136a4565b601d555050565b600060208083528351808285015260005b818110156155685785810183015185820160400152820161554c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146117c857600080fd5b600080604083850312156155b157600080fd5b82356155bc81615589565b946020939093013593505050565b6000602082840312156155dc57600080fd5b81356112e281615589565b6000806000606084860312156155fc57600080fd5b833561560781615589565b9250602084013561561781615589565b929592945050506040919091013590565b60006020828403121561563a57600080fd5b5035919050565b80151581146117c857600080fd5b6000806040838503121561566257600080fd5b82359150602083013561567481615641565b809150509250929050565b6000806040838503121561569257600080fd5b823561569d81615589565b9150602083013561567481615641565b6000602082840312156156bf57600080fd5b81356112e281615641565b803560ff811681146156db57600080fd5b919050565b600080600080600080600060e0888a0312156156fb57600080fd5b615704886156ca565b9650615712602089016156ca565b9550615720604089016156ca565b945061572e606089016156ca565b935061573c608089016156ca565b925061574a60a089016156ca565b915061575860c089016156ca565b905092959891949750929550565b6000806040838503121561577957600080fd5b823561578481615589565b9150602083013561567481615589565b600181811c908216806157a857607f821691505b6020821081036157c857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008261580157634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b818103818111156111ab576111ab6157ce565b634e487b7160e01b600052603160045260246000fd5b60006001820161588c5761588c6157ce565b5060010190565b60208082526003908201526232b93960e91b604082015260600190565b600181815b808511156158eb5781600019048211156158d1576158d16157ce565b808516156158de57918102915b93841c93908002906158b5565b509250929050565b600082615902575060016111ab565b8161590f575060006111ab565b8160018114615925576002811461592f5761594b565b60019150506111ab565b60ff841115615940576159406157ce565b50506001821b6111ab565b5060208310610133831016604e8410600b841016171561596e575081810a6111ab565b61597883836158b0565b806000190482111561598c5761598c6157ce565b029392505050565b60006112e283836158f3565b80820281158282048414176111ab576111ab6157ce565b6000602082840312156159c957600080fd5b81516112e281615589565b808201808211156111ab576111ab6157ce565b6000602082840312156159f957600080fd5b81516112e281615641565b8082018281126000831280158216821582161715615a2457615a246157ce565b505092915050565b600060208284031215615a3e57600080fd5b5051919050565b8181036000831280158383131683831282161715615a6557615a656157ce565b5092915050565b60ff81811683821601908111156111ab576111ab6157ce565b600081518084526020808501945080840160005b83811015615abe5781516001600160a01b031687529582019590820190600101615a99565b509495945050505050565b85815284602082015260a060408201526000615ae860a0830186615a85565b6001600160a01b0394909416606083015250608001529392505050565b600080600060608486031215615b1a57600080fd5b8351925060208401519150604084015190509250925092565b848152608060208201526000615b4c6080830186615a85565b6001600160a01b0394909416604083015250606001529291505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63658be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212202a1588d309bb8a519c54868c0da03dafd9bb1d37e0643384bef89d9ed6551a4f64736f6c63430008110033

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

000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000084595161401484a00000000000000000000000000000000000000000000000000000000000000000026ac00000000000000000000000000000000000000000000000000000000000023280000000000000000000000003b17d2064f554bd2f830cd97b28fe5de62b7e9110000000000000000000000003b17d2064f554bd2f830cd97b28fe5de62b7e91100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000000000000000000000000001f711def073e9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000117465736c612e4574686572756d20322e300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059

-----Decoded View---------------
Arg [0] : tokenName (string): tesla.Etherum 2.0
Arg [1] : tokenSymbol (string): ETH
Arg [2] : decimal (uint8): 18
Arg [3] : amountOfTokenWei (uint256): 10000000000000000000000000
Arg [4] : setMxTxPer (uint16): 9900
Arg [5] : setMxWalletPer (uint16): 9000
Arg [6] : wallet (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [7] : _rewardToken (address): 0xdAC17F958D2ee523a2206206994597C13D831ec7
Arg [8] : _minimumTokenBalanceForDividends (uint256): 580000000000000000000
Arg [9] : fee (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [10] : _addrs (address[]): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D,0x5B8A969814AEa42CC1faC408e95383eb5c44e059

-----Encoded View---------------
27 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000280
Arg [1] : 00000000000000000000000000000000000000000000000000000000000002c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 000000000000000000000000000000000000000000084595161401484a000000
Arg [4] : 00000000000000000000000000000000000000000000000000000000000026ac
Arg [5] : 0000000000000000000000000000000000000000000000000000000000002328
Arg [6] : 0000000000000000000000003b17d2064f554bd2f830cd97b28fe5de62b7e911
Arg [7] : 0000000000000000000000003b17d2064f554bd2f830cd97b28fe5de62b7e911
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [10] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [11] : 00000000000000000000000000000000000000000000001f711def073e900000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000300
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [21] : 7465736c612e4574686572756d20322e30000000000000000000000000000000
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [23] : 4554480000000000000000000000000000000000000000000000000000000000
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [25] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [26] : 0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059


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

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