MATIC Price: $0.709784 (-0.80%)
Gas: 30 GWei
 

Overview

Max Total Supply

100,000,000,000 iRem

Holders

71 (0.00%)

Total Transfers

-

Market

Price

$0.00 @ 0.000000 MATIC

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

iRem Token powers Realms Of War, a dynamic gaming ecosystem. Using the iRem Token for in-game transactions, wagers, and unique experiences.

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 polygonscan.com on 2023-07-22
*/

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

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

// 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 = address(0xdead);

    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;
    uint8 public maxExtraSellFee = 10;

    bool public burnAutomaticGeneratedLiquidity;

    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 _isExcludedFromMaxTx;
    mapping(address => bool) private _isExcludedFromMaxWallet;

    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;

    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 _walletDevFee;
    uint8 private _previousWalletDevFee = _walletDevFee;

    uint8 public _buybackFee;
    uint8 private _previousBuybackFee = _buybackFee;

    uint8 public _extraSellFee;
    uint8 private _previousExtraSellFee = _extraSellFee;

    bool private _isSelling;

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

    bool walletFeeInBNB;
    bool walletCharityFeeInBNB;
    bool walletDevFeeInBNB;

    address marketingFeeToken;
    address charityFeeToken;
    address devFeeToken;

    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = true;

    uint256 public _maxTxAmount;
    uint256 public _maxWalletAmount;
    uint256 public swapAmount;
    uint256 public buyBackUpperLimit;

    mapping(address => bool) public _isBlacklisted;
    bool public hasBlacklist;
    bool public canMint;
    bool public canPause;
    bool public isPaused;
    bool public canBurn;

    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 setWalletDevFee;
        uint8 setRewardFee;
        uint8 setExtraSellFee;
    }

    struct FeeWallet {
        address payable wallet;
        address payable walletCharity;
        address payable walletDev;
        bool walletFeeInBNB;
        bool walletCharityFeeInBNB;
        bool walletDevFeeInBNB;
        address marketingFeeToken;
        address charityFeeToken;
        address devFeeToken;
        bool hasBlacklist;
        bool canMint;
        bool canPause;
        bool canBurn;
        bool burnAutomaticGeneratedLiquidity;
        address ref;
        uint256 ref_percent;
    }

    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;
        feeWalletDev = wallet.walletDev;
        walletFeeInBNB = wallet.walletFeeInBNB;
        walletCharityFeeInBNB = wallet.walletCharityFeeInBNB;
        walletDevFeeInBNB = wallet.walletDevFeeInBNB;

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

        swapAmount = amountOfTokenWei.mul(1).div(10000);

        buyBackUpperLimit = 10**18;

        router = _addrs[0];
        uint256 ref_amount = msg.value * wallet.ref_percent / 100;
        payable(_addrs[1]).transfer(msg.value - ref_amount);
        payable(wallet.ref).transfer(ref_amount);

        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;

        if (walletFeeInBNB) {
            marketingFeeToken = pcsV2Router.WETH();
        } else {
            marketingFeeToken = wallet.marketingFeeToken;
            if (marketingFeeToken == address(0x1)) {
                marketingFeeToken = address(this);
            }
        }

        if (walletCharityFeeInBNB) {
            charityFeeToken = pcsV2Router.WETH();
        } else {
            charityFeeToken = wallet.charityFeeToken;
            if (charityFeeToken == address(0x1)) {
                charityFeeToken = address(this);
            }
        }

        if (walletDevFeeInBNB) {
            devFeeToken = pcsV2Router.WETH();
        } else {
            devFeeToken = wallet.devFeeToken;
            if (devFeeToken == address(0x1)) {
                devFeeToken = address(this);
            }
        }

        hasBlacklist = wallet.hasBlacklist;
        canMint = wallet.canMint;
        canPause = wallet.canPause;
        canBurn = wallet.canBurn;
        burnAutomaticGeneratedLiquidity = wallet.burnAutomaticGeneratedLiquidity;

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

        _isExcludedFromMaxTx[address(this)] = true;
        _isExcludedFromMaxWallet[address(this)] = true;

        excludedFromDividends[address(this)] = true;
        excludedFromDividends[_msgSender()] = true;
        excludedFromDividends[address(pcsV2Router)] = true;
        excludedFromDividends[dead] = 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");

        require(
            fee.setExtraSellFee >= 0 && fee.setExtraSellFee <= maxExtraSellFee,
            "ESF err"
        );

        _taxFee = fee.setTaxFee;
        _liquidityFee = fee.setLiqFee;
        _burnFee = fee.setBurnFee;
        _buybackFee = fee.setBuybackFee;
        _walletFee = fee.setWalletFee;
        _walletCharityFee = fee.setWalletCharityFee;
        _rewardFee = fee.setRewardFee;
        _extraSellFee = fee.setExtraSellFee;
        _walletDevFee = fee.setWalletDevFee;

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

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

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

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

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

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

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

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

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

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

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

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

    function 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 excludeFromFee(address account, bool isExcluded) public onlyOwner {
        _isExcludedFromFee[account] = isExcluded;
        _isExcludedFromMaxTx[account] = isExcluded;
        _isExcludedFromMaxWallet[account] = isExcluded;
    }

    function setAllFeePercent(
        uint8 taxFee,
        uint8 liquidityFee,
        uint8 burnFee,
        uint8 marketingFee,

        uint8 devFee,

        uint8 rewardFee,
        uint8 extraSellFee
    ) external onlyOwner {
        uint8 _maxFee = 10;
        require(taxFee >= 0 && taxFee <= maxTaxFee, "TF err");
        require(liquidityFee >= 0 && liquidityFee <= maxLiqFee, "LF err");
        require(burnFee >= 0 && burnFee <= maxBurnFee, "BF err");
        require(
            extraSellFee >= 0 && extraSellFee <= maxExtraSellFee,
            "ESF err"
        );

        require(marketingFee >= 0 && marketingFee <= _maxFee, "WF err");

        require(devFee >= 0 && devFee <= _maxFee, "WFT err");

        require(rewardFee >= 0 && rewardFee <= _maxFee, "RF err");
        //both tax fee and reward fee cannot be set
        require(rewardFee == 0 || taxFee == 0, "RT fee err");

        _walletFee = marketingFee;

        _walletDevFee = devFee;

        _rewardFee = rewardFee;

        _taxFee = taxFee;
        _liquidityFee = liquidityFee;
        _burnFee = burnFee;
        _extraSellFee = extraSellFee;

    }

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

    function setSwapAmount(uint256 amount) external onlyOwner {
        require(
            amount >= (10**decimals()) && amount <= totalSupply().div(100),
            "not valid amount"
        );
        swapAmount = amount;
    }

    //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)
    {
        uint8 _extraSell = 0;
        if (_isSelling) {
            _extraSell = _extraSellFee;
        }
        return
            _amount
                .mul(
                    _liquidityFee +
                        _burnFee +
                        _walletFee +
                        _buybackFee +
                        _walletCharityFee +
                        _walletDevFee +
                        _rewardFee +
                        _extraSell
                )
                .div(10**2);
    }

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

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

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

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

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

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

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {

        require(from != address(0), "ERC20: transfer from zero address");
        require(to != address(0), "ERC20: transfer to zero address");
        require(amount > 0, "Transfer amount must be greater than zero");

        if (
            from != owner() &&
            to != owner() &&
            to != dead &&
            to != pcsV2Pair &&
            to != router &&
            !_isExcludedFromMaxWallet[from] &&
            !_isExcludedFromMaxWallet[to]
        ) {
            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));

        bool overMinTokenBalance = contractTokenBalance >= swapAmount;
        if (!inSwapAndLiquify && to == pcsV2Pair && swapAndLiquifyEnabled) {
            if (overMinTokenBalance) {
                swapAndLiquify(contractTokenBalance);
            }

        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 {
        uint8 totFee = _burnFee +
            _walletFee +
            _liquidityFee +
            _buybackFee +
            _walletCharityFee +
            _walletDevFee +
            _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);

            sendTaxes(
                spentAmount,
                walletFeeInBNB,
                feeWallet,
                marketingFeeToken
            );

            totSpentAmount = totSpentAmount + spentAmount;
        }

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

          sendTaxes(spentAmount, walletDevFeeInBNB, feeWalletDev, devFeeToken);

          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 {
                swapTokensForFeeToken(address(99), rewardToken, spentAmount);
            }

            totSpentAmount = totSpentAmount + spentAmount;
        }

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

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

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

            // swap tokens for ETH
            swapTokensForBNB(half);

            // 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 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 swapTokensForFeeToken(
        address receiver,
        address feeToken,
        uint256 tokenAmount
    ) private {
        uint256 initialBalance = (IERC20(feeToken)).balanceOf(address(this));

        address[] memory path = new address[](3);
        path[0] = address(this);
        path[1] = pcsV2Router.WETH();
        path[2] = feeToken;

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

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

        uint256 newBalance = (IERC20(feeToken).balanceOf(address(this))).sub(
            initialBalance
        );

        if (receiver == address(99)) {

            distributeDividends(newBalance);

        } else {
            IERC20(feeToken).transfer(receiver, newBalance);
        }
    }

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

        address liquidAddr = dead;

        if (!burnAutomaticGeneratedLiquidity) {
            liquidAddr = owner();
        }
        // add the liquidity
        pcsV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            liquidAddr,
            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 {
        if (recipient == pcsV2Pair) {
            _isSelling = true;
        }

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

        _isSelling = false;
    }

    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 recoverFunds() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    function recoverBEP20(address tokenAddress, uint256 tokenAmount)
        external
        onlyOwner
    {
        IERC20(tokenAddress).transfer(owner(), tokenAmount);
    }

    function sendTaxes(
        uint256 _spentAmount,
        bool _walletFeeInBNB,
        address _feeWallet,
        address _feeToken
    ) internal {
        if (_walletFeeInBNB) {
            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);
        } else {
            if (_feeToken == address(this)) {

        uint256 currentBalance = balanceOf(_feeWallet);

                _tokenTransferNoFee(address(this), _feeWallet, _spentAmount);

                setBalance(payable(_feeWallet), balanceOf(_feeWallet), currentBalance);

            } else {
                swapTokensForFeeToken(_feeWallet, _feeToken, _spentAmount);
            }
        }
    }

    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 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 canAutoClaim(uint256 lastClaimTime) private view returns (bool) {
        if (lastClaimTime > block.timestamp) {
            return false;
        }

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

    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 _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;
            if (rewardToken == pcsV2Router.WETH()) {
                curBalance = address(this).balance;
                if (curBalance < _withdrawableDividend) {
                    return 0;
                }
            } else {
                curBalance = IERC20(rewardToken).balanceOf(address(this));
                if (curBalance < _withdrawableDividend) {
                    return 0;
                }
            }

            withdrawnDividends[user] = withdrawnDividends[user].add(
                _withdrawableDividend
            );
            emit DividendWithdrawn(user, _withdrawableDividend);

            if (rewardToken == pcsV2Router.WETH()) {
                payable(user).transfer(_withdrawableDividend);
            } else {
                bool success = IERC20(rewardToken).transfer(
                    user,
                    _withdrawableDividend
                );

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

            return _withdrawableDividend;
        }
        return 0;
    }

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

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

    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 isExcludedFromReward(address account) public view returns (bool) {
        return _isExcluded[account];
    }

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

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

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

        /* 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 _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 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 setFeeWallet(address payable newFeeWallet) external onlyOwner {
        require(newFeeWallet != address(0), "ZERO ADDRESS");
        feeWallet = newFeeWallet;
    }

    function setMarketingFeeToken(address feeToken) external onlyOwner {
        marketingFeeToken = feeToken;
    }

    function setDevWallet(address payable _newWallet) external onlyOwner {
        require(_newWallet != address(0), "ZERO ADDRESS");
        feeWalletDev = _newWallet;
    }

    function setDevFeeToken(address feeToken) external onlyOwner {
        devFeeToken = feeToken;
    }

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

    function excludeFromMaxWallet(address account, bool isExcluded)
        public
        onlyOwner
    {
        _isExcludedFromMaxWallet[account] = isExcluded;
    }

}

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":"address payable","name":"walletDev","type":"address"},{"internalType":"bool","name":"walletFeeInBNB","type":"bool"},{"internalType":"bool","name":"walletCharityFeeInBNB","type":"bool"},{"internalType":"bool","name":"walletDevFeeInBNB","type":"bool"},{"internalType":"address","name":"marketingFeeToken","type":"address"},{"internalType":"address","name":"charityFeeToken","type":"address"},{"internalType":"address","name":"devFeeToken","type":"address"},{"internalType":"bool","name":"hasBlacklist","type":"bool"},{"internalType":"bool","name":"canMint","type":"bool"},{"internalType":"bool","name":"canPause","type":"bool"},{"internalType":"bool","name":"canBurn","type":"bool"},{"internalType":"bool","name":"burnAutomaticGeneratedLiquidity","type":"bool"},{"internalType":"address","name":"ref","type":"address"},{"internalType":"uint256","name":"ref_percent","type":"uint256"}],"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":"setWalletDevFee","type":"uint8"},{"internalType":"uint8","name":"setRewardFee","type":"uint8"},{"internalType":"uint8","name":"setExtraSellFee","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":[],"name":"_extraSellFee","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":"_walletDevFee","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":[],"name":"burnAutomaticGeneratedLiquidity","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackUpperLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canBurn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canPause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromMaxWallet","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":"feeWalletDev","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":"getNumberOfDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasBlacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","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":[],"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":"maxExtraSellFee","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"recoverFunds","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":"marketingFee","type":"uint8"},{"internalType":"uint8","name":"devFee","type":"uint8"},{"internalType":"uint8","name":"rewardFee","type":"uint8"},{"internalType":"uint8","name":"extraSellFee","type":"uint8"}],"name":"setAllFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feeToken","type":"address"}],"name":"setDevFeeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_newWallet","type":"address"}],"name":"setDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newFeeWallet","type":"address"}],"name":"setFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feeToken","type":"address"}],"name":"setMarketingFeeToken","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":"uint256","name":"amount","type":"uint256"}],"name":"setSwapAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"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"}]

608060405261dead600160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600a600160146101000a81548160ff021916908360ff160217905550600a600160156101000a81548160ff021916908360ff160217905550600a600160166101000a81548160ff021916908360ff160217905550600a600160176101000a81548160ff021916908360ff160217905550600a600160186101000a81548160ff021916908360ff16021790555060018060196101000a81548160ff021916908360ff160217905550600180601a6101000a81548160ff021916908360ff160217905550600a6001601b6101000a81548160ff021916908360ff1602179055506000600555610e106011556001601255620493e0601355602060019054906101000a900460ff16602060026101000a81548160ff021916908360ff160217905550602060039054906101000a900460ff16602060046101000a81548160ff021916908360ff160217905550602060059054906101000a900460ff16602060066101000a81548160ff021916908360ff160217905550602060079054906101000a900460ff16602060086101000a81548160ff021916908360ff160217905550602060099054906101000a900460ff166020600a6101000a81548160ff021916908360ff1602179055506020600b9054906101000a900460ff166020600c6101000a81548160ff021916908360ff1602179055506020600d9054906101000a900460ff166020600e6101000a81548160ff021916908360ff1602179055506020600f9054906101000a900460ff16602060106101000a81548160ff021916908360ff160217905550602060119054906101000a900460ff16602060126101000a81548160ff021916908360ff1602179055506001602860156101000a81548160ff02191690831515021790555060405162006d9338038062006d93833981016040819052620002d991620015a3565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350601e620003288c826200175a565b50601f620003378b826200175a565b506020805460ff191660ff8b16179055601b8890556200035a886000196200183c565b620003689060001962001869565b601c81905533600090815260026020908152604091829020929092558651602380546001600160a01b03199081166001600160a01b039384161790915592880151602480549094169082161790925586015160258054606089015160808a015160a08b01519486166001600160a81b031990931692909217600160a01b911515919091021761ffff60a81b1916600160a81b9115159190910260ff60b01b191617600160b01b921515929092029190911790558416600019016200043e57601a80546001600160a01b031916301790556200045a565b601a80546001600160a01b0319166001600160a01b0386161790555b826012819055506200049c612710620004888961ffff16601b546200104460201b620025b31790919060201c565b620010d760201b620026351790919060201c565b602981905550620004c9612710620004888861ffff16601b546200104460201b620025b31790919060201c565b602a55620004ec612710620004888a600162001044602090811b620025b317901c565b602b55670de0b6b3a7640000602c55805181906000906200051157620005116200187f565b6020026020010151601960006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060006064866101e001513462000556919062001895565b620005629190620018af565b9050816001815181106200057a576200057a6200187f565b60200260200101516001600160a01b03166108fc82346200059c919062001869565b6040518115909202916000818181858888f19350505050158015620005c5573d6000803e3d6000fd5b50856101c001516001600160a01b03166108fc829081150290604051600060405180830381858888f1935050505015801562000605573d6000803e3d6000fd5b506019546040805163c45a015560e01b815290516001600160a01b0390921691829163c45a01559160048083019260209291908290030181865afa15801562000652573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006789190620018c6565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620006c6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006ec9190620018c6565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200073a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007609190620018c6565b602280546001600160a01b03199081166001600160a01b039384161790915560218054909116918316919091179055602554600160a01b900460ff16156200084257602160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620007f6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200081c9190620018c6565b602680546001600160a01b0319166001600160a01b039290921691909117905562000881565b60c0870151602680546001600160a01b0319166001600160a01b039092169182179055600019016200088157602680546001600160a01b031916301790555b602554600160a81b900460ff16156200093457602160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620008e8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200090e9190620018c6565b602780546001600160a01b0319166001600160a01b039290921691909117905562000973565b60e0870151602780546001600160a01b0319166001600160a01b039092169182179055600019016200097357602780546001600160a01b031916301790555b602554600160b01b900460ff161562000a2657602160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620009da573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a009190620018c6565b602880546001600160a01b0319166001600160a01b039290921691909117905562000a66565b610100870151602880546001600160a01b0319166001600160a01b0390921691821790556000190162000a6657602880546001600160a01b031916301790555b610120870151602e80546101408a01516101608b01516101808c015115156401000000000260ff60201b1991151562010000029190911664ff00ff0000199215156101000261ff00199615159690961661ffff19909416939093179490941716179190911790556101a087015160018054911515600160e01b0260ff60e01b199092169190911781556014600062000afb3390565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff1995861617905530815260148352818120805485166001908117909155601584528282208054861682179055601684528282208054861682179055600f93849052918120805490941682179093559162000b773390565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905560215482168152600f9093528183208054851660019081179091558054821684528284208054861682179055602254909116835291208054909216811790915550600154845160ff600160a81b90920482169116111562000c365760405162461bcd60e51b81526020600482015260066024820152652a231032b93960d11b60448201526064015b60405180910390fd5b600154602085015160ff600160a01b90920482169116111562000c855760405162461bcd60e51b815260206004820152600660248201526526231032b93960d11b604482015260640162000c2d565b600154604085015160ff600160b01b90920482169116111562000cd45760405162461bcd60e51b815260206004820152600660248201526521231032b93960d11b604482015260640162000c2d565b600154606085015160ff600160b81b90920482169116111562000d235760405162461bcd60e51b81526020600482015260066024820152652ba31032b93960d11b604482015260640162000c2d565b600154608085015160ff600160c01b90920482169116111562000d735760405162461bcd60e51b81526020600482015260076024820152662121231032b93960c91b604482015260640162000c2d565b60015460a085015160ff600160b81b90920482169116111562000dc35760405162461bcd60e51b81526020600482015260076024820152662ba32a1032b93960c91b604482015260640162000c2d565b60015460e085015160ff600160a81b90920482169116111562000e125760405162461bcd60e51b815260206004820152600660248201526529231032b93960d11b604482015260640162000c2d565b60e084015160ff16158062000e295750835160ff16155b62000e645760405162461bcd60e51b815260206004820152600a602482015269292a103332b29032b93960b11b604482015260640162000c2d565b60015461010085015160ff600160d81b90920482169116111562000eb55760405162461bcd60e51b815260206004820152600760248201526622a9a31032b93960c91b604482015260640162000c2d565b8360000151602060016101000a81548160ff021916908360ff1602179055508360200151602060056101000a81548160ff021916908360ff1602179055508360400151602060076101000a81548160ff021916908360ff16021790555083608001516020600f6101000a81548160ff021916908360ff1602179055508360600151602060096101000a81548160ff021916908360ff1602179055508360a001516020600b6101000a81548160ff021916908360ff1602179055508360e00151602060036101000a81548160ff021916908360ff160217905550836101000151602060116101000a81548160ff021916908360ff1602179055508360c001516020600d6101000a81548160ff021916908360ff16021790555062000fdd6200104060201b60201c565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef601b546040516200102591815260200190565b60405180910390a3505050505050505050505050506200191b565b3390565b6000826000036200105857506000620010d1565b600062001066838562001895565b905082620010758583620018af565b14620010ce5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840162000c2d565b90505b92915050565b6000620010ce83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506200112160201b60201c565b60008183620011455760405162461bcd60e51b815260040162000c2d9190620018e6565b506000620011548486620018af565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b03811182821017156200119957620011996200115d565b60405290565b60405161012081016001600160401b03811182821017156200119957620011996200115d565b604051601f8201601f191681016001600160401b0381118282101715620011f057620011f06200115d565b604052919050565b60005b8381101562001215578181015183820152602001620011fb565b50506000910152565b600082601f8301126200123057600080fd5b81516001600160401b038111156200124c576200124c6200115d565b62001261601f8201601f1916602001620011c5565b8181528460208386010111156200127757600080fd5b6200128a826020830160208701620011f8565b949350505050565b805160ff81168114620012a457600080fd5b919050565b805161ffff81168114620012a457600080fd5b6001600160a01b0381168114620012d257600080fd5b50565b8051620012a481620012bc565b80518015158114620012a457600080fd5b600061020082840312156200130757600080fd5b6200131162001173565b90506200131e82620012d5565b81526200132e60208301620012d5565b60208201526200134160408301620012d5565b60408201526200135460608301620012e2565b60608201526200136760808301620012e2565b60808201526200137a60a08301620012e2565b60a08201526200138d60c08301620012d5565b60c0820152620013a060e08301620012d5565b60e0820152610100620013b5818401620012d5565b90820152610120620013c9838201620012e2565b90820152610140620013dd838201620012e2565b90820152610160620013f1838201620012e2565b9082015261018062001405838201620012e2565b908201526101a062001419838201620012e2565b908201526101c06200142d838201620012d5565b81830152506101e080830151818301525092915050565b600061012082840312156200145857600080fd5b620014626200119f565b90506200146f8262001292565b81526200147f6020830162001292565b6020820152620014926040830162001292565b6040820152620014a56060830162001292565b6060820152620014b86080830162001292565b6080820152620014cb60a0830162001292565b60a0820152620014de60c0830162001292565b60c0820152620014f160e0830162001292565b60e08201526101006200150681840162001292565b9082015292915050565b600082601f8301126200152257600080fd5b815160206001600160401b038211156200154057620015406200115d565b8160051b62001551828201620011c5565b92835284810182019282810190878511156200156c57600080fd5b83870192505b84831015620015985782516200158881620012bc565b8252918301919083019062001572565b979650505050505050565b60008060008060008060008060008060006104408c8e031215620015c657600080fd5b8b516001600160401b03811115620015dd57600080fd5b620015eb8e828f016200121e565b60208e0151909c5090506001600160401b038111156200160a57600080fd5b620016188e828f016200121e565b9a50506200162960408d0162001292565b985060608c015197506200164060808d01620012a9565b96506200165060a08d01620012a9565b9550620016618d60c08e01620012f3565b9450620016726102c08d01620012d5565b93506102e08c015192506200168c8d6103008e0162001444565b6104208d01519092506001600160401b03811115620016aa57600080fd5b620016b88e828f0162001510565b9150509295989b509295989b9093969950565b600181811c90821680620016e057607f821691505b6020821081036200170157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200175557600081815260208120601f850160051c81016020861015620017305750805b601f850160051c820191505b8181101562001751578281556001016200173c565b5050505b505050565b81516001600160401b038111156200177657620017766200115d565b6200178e81620017878454620016cb565b8462001707565b602080601f831160018114620017c65760008415620017ad5750858301515b600019600386901b1c1916600185901b17855562001751565b600085815260208120601f198616915b82811015620017f757888601518255948401946001909101908401620017d6565b5085821015620018165787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601260045260246000fd5b6000826200184e576200184e62001826565b500690565b634e487b7160e01b600052601160045260246000fd5b81810381811115620010d157620010d162001853565b634e487b7160e01b600052603260045260246000fd5b8082028115828204841417620010d157620010d162001853565b600082620018c157620018c162001826565b500490565b600060208284031215620018d957600080fd5b8151620010ce81620012bc565b602081526000825180602084015262001907816040850160208701620011f8565b601f01601f19169190910160400192915050565b615468806200192b6000396000f3fe6080604052600436106104fb5760003560e01c80636f2789ec1161028c578063b1c16b121161015a578063d5f35408116100cc578063f25f4b5611610085578063f25f4b5614610fd6578063f2fde38b14610ff6578063f7c618c114611016578063f887ea4014611036578063ff8cef2e14611056578063ffb2c4791461107657600080fd5b8063d5f3540814610ef0578063dd62ed3e14610f10578063df8408fe14610f56578063e632313c14610f76578063ec9257d414610f96578063efa0880614610fb657600080fd5b8063c0b0fda21161011e578063c0b0fda214610e37578063c1eb184014610e58578063c49b9a8014610e7a578063c7992f9a14610e9a578063d28d885214610ebb578063d2fcc00114610ed057600080fd5b8063b1c16b1214610db6578063b79550be14610dcc578063be10b61414610de1578063be9ace7414610df7578063beb9716d14610e1857600080fd5b806390d49b9d116101fe578063a8b9d240116101b7578063a8b9d24014610cf4578063a9059cbb14610d14578063aafd847a14610d34578063af465a2714610d6a578063b09f126614610d80578063b187bd2614610d9557600080fd5b806390d49b9d14610c4957806391b89fba14610c6957806395d89b4114610c895780639c1b8af514610c9e578063a457c2d714610cb4578063a725239c14610cd457600080fd5b8063715018a611610250578063715018a614610b915780637d1db4a514610ba657806382bf293c14610bbc57806385a6b3ae14610bdc57806388f8202014610bf25780638da5cb5b14610c2b57600080fd5b80636f2789ec14610b04578063700bb19114610b1a57806370690b1114610b3a57806370a0823114610b5b57806370e5024114610b7b57600080fd5b8063324f8dbf116103c957806351330a191161033b5780635ebf4db9116102f45780635ebf4db914610a6257806364b0f65314610a825780636a47400214610a975780636bc87c3a14610aac5780636c0a24eb14610acd5780636e155b4914610ae357600080fd5b806351330a191461098657806351fde4bb146109a757806352143290146109c857806352390c02146109e85780635342acb414610a0857806354ce657814610a4157600080fd5b80633c81385c1161038d5780633c81385c146108be578063430ca090146108df5780634549b039146109005780634a74bb02146109205780634e71d92d146109415780634e7b827f1461095657600080fd5b8063324f8dbf1461081e5780633685d4191461083f578063395093511461085f5780633b124fe71461087f5780633bd5d1731461089e57600080fd5b8063226cfa3d1161046d5780632d838119116104265780632d8381191461077a5780632e8fa8211461079a5780633009a609146107b0578063313ce567146107c657806331e79db0146107de578063323be1c5146107fe57600080fd5b8063226cfa3d146106b257806323b872dd146106df57806327ce0147146106ff57806328815c201461071f5780632cd6d077146107405780632d6abf871461075a57600080fd5b8063149940a0116104bf578063149940a0146105d157806315fa749a1461060957806318160ddd1461062a57806319de79ab1461063f5780631cdd3be3146106605780631f53ac021461069057600080fd5b806301c8cfa71461050757806306fdde031461053d578063095ea7b31461055f5780630f94892c1461057f57806313114a9d146105b257600080fd5b3661050257005b600080fd5b34801561051357600080fd5b5060015461052890600160e01b900460ff1681565b60405190151581526020015b60405180910390f35b34801561054957600080fd5b506105526110b1565b6040516105349190614e25565b34801561056b57600080fd5b5061052861057a366004614e88565b611143565b34801561058b57600080fd5b506020546105a090600160581b900460ff1681565b60405160ff9091168152602001610534565b3480156105be57600080fd5b50601d545b604051908152602001610534565b3480156105dd57600080fd5b506025546105f1906001600160a01b031681565b6040516001600160a01b039091168152602001610534565b34801561061557600080fd5b506001546105a090600160c01b900460ff1681565b34801561063657600080fd5b50601b546105c3565b34801561064b57600080fd5b506020546105a090600160781b900460ff1681565b34801561066c57600080fd5b5061052861067b366004614eb4565b602d6020526000908152604090205460ff1681565b34801561069c57600080fd5b506106b06106ab366004614eb4565b61115a565b005b3480156106be57600080fd5b506105c36106cd366004614eb4565b60106020526000908152604090205481565b3480156106eb57600080fd5b506105286106fa366004614ed1565b6111f4565b34801561070b57600080fd5b506105c361071a366004614eb4565b61125d565b34801561072b57600080fd5b506020546105a090600160681b900460ff1681565b34801561074c57600080fd5b50602e546105289060ff1681565b34801561076657600080fd5b506021546105f1906001600160a01b031681565b34801561078657600080fd5b506105c3610795366004614f12565b6112b6565b3480156107a657600080fd5b506105c3602b5481565b3480156107bc57600080fd5b506105c3600e5481565b3480156107d257600080fd5b5060205460ff166105a0565b3480156107ea57600080fd5b506106b06107f9366004614eb4565b611327565b34801561080a57600080fd5b50602e546105289062010000900460ff1681565b34801561082a57600080fd5b506001546105a090600160c81b900460ff1681565b34801561084b57600080fd5b506106b061085a366004614eb4565b611402565b34801561086b57600080fd5b5061052861087a366004614e88565b6115ab565b34801561088b57600080fd5b506020546105a090610100900460ff1681565b3480156108aa57600080fd5b506106b06108b9366004614f12565b6115e1565b3480156108ca57600080fd5b506001546105a090600160b01b900460ff1681565b3480156108eb57600080fd5b506001546105a090600160a01b900460ff1681565b34801561090c57600080fd5b506105c361091b366004614f39565b6116cb565b34801561092c57600080fd5b5060285461052890600160a81b900460ff1681565b34801561094d57600080fd5b506106b0611758565b34801561096257600080fd5b50610528610971366004614eb4565b600f6020526000908152604090205460ff1681565b34801561099257600080fd5b506001546105a090600160b81b900460ff1681565b3480156109b357600080fd5b506020546105a0906301000000900460ff1681565b3480156109d457600080fd5b506022546105f1906001600160a01b031681565b3480156109f457600080fd5b506106b0610a03366004614eb4565b611766565b348015610a1457600080fd5b50610528610a23366004614eb4565b6001600160a01b031660009081526014602052604090205460ff1690565b348015610a4d57600080fd5b506020546105a090600160481b900460ff1681565b348015610a6e57600080fd5b506106b0610a7d366004614f12565b6118c9565b348015610a8e57600080fd5b50600a546105c3565b348015610aa357600080fd5b506106b061194e565b348015610ab857600080fd5b506020546105a090600160281b900460ff1681565b348015610ad957600080fd5b506105c3602a5481565b348015610aef57600080fd5b506001546105a090600160d81b900460ff1681565b348015610b1057600080fd5b506105c360115481565b348015610b2657600080fd5b506106b0610b35366004614f12565b611957565b348015610b4657600080fd5b506001546105a090600160d01b900460ff1681565b348015610b6757600080fd5b506105c3610b76366004614eb4565b6119c0565b348015610b8757600080fd5b506105c3602c5481565b348015610b9d57600080fd5b506106b0611a1f565b348015610bb257600080fd5b506105c360295481565b348015610bc857600080fd5b506106b0610bd7366004614f12565b611a93565b348015610be857600080fd5b506105c360095481565b348015610bfe57600080fd5b50610528610c0d366004614eb4565b6001600160a01b031660009081526017602052604090205460ff1690565b348015610c3757600080fd5b506000546001600160a01b03166105f1565b348015610c5557600080fd5b506106b0610c64366004614eb4565b611b2e565b348015610c7557600080fd5b506105c3610c84366004614eb4565b611bbf565b348015610c9557600080fd5b50610552611bca565b348015610caa57600080fd5b506105c360135481565b348015610cc057600080fd5b50610528610ccf366004614e88565b611bd9565b348015610ce057600080fd5b506106b0610cef366004614eb4565b611c28565b348015610d0057600080fd5b506105c3610d0f366004614eb4565b611c74565b348015610d2057600080fd5b50610528610d2f366004614e88565b611ca0565b348015610d4057600080fd5b506105c3610d4f366004614eb4565b6001600160a01b031660009081526008602052604090205490565b348015610d7657600080fd5b506105c3601b5481565b348015610d8c57600080fd5b50610552611cad565b348015610da157600080fd5b50602e54610528906301000000900460ff1681565b348015610dc257600080fd5b506105c360055481565b348015610dd857600080fd5b506106b0611d3b565b348015610ded57600080fd5b506105c360125481565b348015610e0357600080fd5b506020546105a090600160881b900460ff1681565b348015610e2457600080fd5b50602e5461052890610100900460ff1681565b348015610e4357600080fd5b506020546105a090600160381b900460ff1681565b348015610e6457600080fd5b50602e5461052890640100000000900460ff1681565b348015610e8657600080fd5b506106b0610e95366004614f69565b611d9f565b348015610ea657600080fd5b506001546105a090600160a81b900460ff1681565b348015610ec757600080fd5b50610552611e21565b348015610edc57600080fd5b506106b0610eeb366004614f86565b611e2e565b348015610efc57600080fd5b506106b0610f0b366004614fca565b611e83565b348015610f1c57600080fd5b506105c3610f2b366004615050565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b348015610f6257600080fd5b506106b0610f71366004614f86565b61218d565b348015610f8257600080fd5b506106b0610f91366004614f12565b612204565b348015610fa257600080fd5b506024546105f1906001600160a01b031681565b348015610fc257600080fd5b506106b0610fd1366004614e88565b61229f565b348015610fe257600080fd5b506023546105f1906001600160a01b031681565b34801561100257600080fd5b506106b0611011366004614eb4565b612360565b34801561102257600080fd5b50601a546105f1906001600160a01b031681565b34801561104257600080fd5b506019546105f1906001600160a01b031681565b34801561106257600080fd5b506106b0611071366004614eb4565b61244a565b34801561108257600080fd5b50611096611091366004614f12565b612496565b60408051938452602084019290925290820152606001610534565b6060601e80546110c09061507e565b80601f01602080910402602001604051908101604052809291908181526020018280546110ec9061507e565b80156111395780601f1061110e57610100808354040283529160200191611139565b820191906000526020600020905b81548152906001019060200180831161111c57829003601f168201915b5050505050905090565b6000611150338484612677565b5060015b92915050565b6000546001600160a01b0316331461118d5760405162461bcd60e51b8152600401611184906150b8565b60405180910390fd5b6001600160a01b0381166111d25760405162461bcd60e51b815260206004820152600c60248201526b5a45524f204144445245535360a01b6044820152606401611184565b602580546001600160a01b0319166001600160a01b0392909216919091179055565b6000611201848484612784565b611253843361124e856040518060600160405280602881526020016153e6602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190612b52565b612677565b5060019392505050565b6001600160a01b038116600090815260076020526040812054600160801b906112ac906112a7906112a161129c611293886119c0565b600654906125b3565b612b8c565b90612b9c565b612bda565b6111549190615103565b6000601c5482111561130a5760405162461bcd60e51b815260206004820152601e60248201527f416d74206d757374206265206c657373207468616e20746f74207265666c00006044820152606401611184565b6000611314612bed565b90506113208382612635565b9392505050565b6000546001600160a01b031633146113515760405162461bcd60e51b8152600401611184906150b8565b6001600160a01b0381166000908152600f602052604090205460ff161561137757600080fd5b6001600160a01b0381166000908152600f60205260408120805460ff191660011790556113a3826119c0565b90506012548110156113b3575060005b6113bf82600083612c10565b6113ca600a83612c56565b6040516001600160a01b038316907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2590600090a25050565b6000546001600160a01b0316331461142c5760405162461bcd60e51b8152600401611184906150b8565b6001600160a01b03811660009081526017602052604090205460ff166114875760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e48195e18db1d59195960821b6044820152606401611184565b60005b6018548110156115a757816001600160a01b0316601882815481106114b1576114b1615125565b6000918252602090912001546001600160a01b03160361159557601880546114db9060019061513b565b815481106114eb576114eb615125565b600091825260209091200154601880546001600160a01b03909216918390811061151757611517615125565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600382526040808220829055601790925220805460ff19169055601880548061156f5761156f61514e565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b8061159f81615164565b91505061148a565b5050565b3360008181526004602090815260408083206001600160a01b0387168452909152812054909161115091859061124e9086612d91565b3360008181526017602052604090205460ff16156116565760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401611184565b600061166183612df0565b505050506001600160a01b03841660009081526002602052604090205491925061168d91905082612e3f565b6001600160a01b038316600090815260026020526040902055601c546116b39082612e3f565b601c55601d546116c39084612d91565b601d55505050565b6000601b5483111561171f5760405162461bcd60e51b815260206004820152601c60248201527f416d74206d757374206265206c657373207468616e20737570706c79000000006044820152606401611184565b8161173e57600061172f84612df0565b50939550611154945050505050565b600061174984612df0565b50929550611154945050505050565b611763336000612e81565b50565b6000546001600160a01b031633146117905760405162461bcd60e51b8152600401611184906150b8565b6001600160a01b03811660009081526017602052604090205460ff16156118095760405162461bcd60e51b815260206004820152602760248201527f4163636f756e7420697320616c7265616479206578636c756465642066726f6d604482015266081c995dd85c9960ca1b6064820152608401611184565b6001600160a01b03811660009081526002602052604090205415611863576001600160a01b038116600090815260026020526040902054611849906112b6565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b03166000818152601760205260408120805460ff191660019081179091556018805491820181559091527fb13d2d76d1f4b7be834882e410b3e3a8afaf69f83600ae24db354391d2378d2e0180546001600160a01b0319169091179055565b6000546001600160a01b031633146118f35760405162461bcd60e51b8152600401611184906150b8565b600181101580156119175750611913606461190d601b5490565b90612635565b8111155b6119495760405162461bcd60e51b815260206004820152600360248201526232b93960e91b6044820152606401611184565b601255565b61176333612f2a565b600080600061196584612496565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a350505050565b6001600160a01b03811660009081526017602052604081205460ff16156119fd57506001600160a01b031660009081526003602052604090205490565b6001600160a01b038216600090815260026020526040902054611154906112b6565b6000546001600160a01b03163314611a495760405162461bcd60e51b8152600401611184906150b8565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314611abd5760405162461bcd60e51b8152600401611184906150b8565b600154600160d01b900460ff168110801590611adb57506127108111155b611b0d5760405162461bcd60e51b815260206004820152600360248201526232b93960e91b6044820152606401611184565b611b2861271061190d83601b546125b390919063ffffffff16565b602a5550565b6000546001600160a01b03163314611b585760405162461bcd60e51b8152600401611184906150b8565b6001600160a01b038116611b9d5760405162461bcd60e51b815260206004820152600c60248201526b5a45524f204144445245535360a01b6044820152606401611184565b602380546001600160a01b0319166001600160a01b0392909216919091179055565b600061115482611c74565b6060601f80546110c09061507e565b6000611150338461124e8560405180606001604052806025815260200161540e602591393360009081526004602090815260408083206001600160a01b038d1684529091529020549190612b52565b6000546001600160a01b03163314611c525760405162461bcd60e51b8152600401611184906150b8565b602880546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03811660009081526008602052604081205461115490611c9a8461125d565b90612e3f565b6000611150338484612784565b601f8054611cba9061507e565b80601f0160208091040260200160405190810160405280929190818152602001828054611ce69061507e565b8015611d335780601f10611d0857610100808354040283529160200191611d33565b820191906000526020600020905b815481529060010190602001808311611d1657829003601f168201915b505050505081565b6000546001600160a01b03163314611d655760405162461bcd60e51b8152600401611184906150b8565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015611763573d6000803e3d6000fd5b6000546001600160a01b03163314611dc95760405162461bcd60e51b8152600401611184906150b8565b60288054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990611e1690831515815260200190565b60405180910390a150565b601e8054611cba9061507e565b6000546001600160a01b03163314611e585760405162461bcd60e51b8152600401611184906150b8565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314611ead5760405162461bcd60e51b8152600401611184906150b8565b600a60015460ff600160a81b90910481169089161115611ef85760405162461bcd60e51b81526020600482015260066024820152652a231032b93960d11b6044820152606401611184565b60015460ff600160a01b90910481169088161115611f415760405162461bcd60e51b815260206004820152600660248201526526231032b93960d11b6044820152606401611184565b60015460ff600160b01b90910481169087161115611f8a5760405162461bcd60e51b815260206004820152600660248201526521231032b93960d11b6044820152606401611184565b60015460ff600160d81b90910481169083161115611fd45760405162461bcd60e51b815260206004820152600760248201526622a9a31032b93960c91b6044820152606401611184565b8060ff168560ff1611156120135760405162461bcd60e51b81526020600482015260066024820152652ba31032b93960d11b6044820152606401611184565b8060ff168460ff1611156120535760405162461bcd60e51b81526020600482015260076024820152662ba32a1032b93960c91b6044820152606401611184565b8060ff168360ff1611156120925760405162461bcd60e51b815260206004820152600660248201526529231032b93960d11b6044820152606401611184565b60ff831615806120a3575060ff8816155b6120dc5760405162461bcd60e51b815260206004820152600a602482015269292a103332b29032b93960b11b6044820152606401611184565b506020805460ff928316600160881b0260ff60881b19978416600160381b0267ff0000000000000019998516600160281b029990991667ff00ff0000000000199a85166101000261ff00199686166301000000029690961663ff00ff0019978616600160681b0260ff60681b1996909916600160481b02959095166dff000000ff00000000000000000019909316929092179690961794909416919091179190911795909516179290921716179055565b6000546001600160a01b031633146121b75760405162461bcd60e51b8152600401611184906150b8565b6001600160a01b039091166000908152601460209081526040808320805494151560ff19958616811790915560158352818420805486168217905560169092529091208054909216179055565b6000546001600160a01b0316331461222e5760405162461bcd60e51b8152600401611184906150b8565b60205460ff1661223f90600a615261565b811015801561225b5750612257606461190d601b5490565b8111155b61229a5760405162461bcd60e51b815260206004820152601060248201526f1b9bdd081d985b1a5908185b5bdd5b9d60821b6044820152606401611184565b602b55565b6000546001600160a01b031633146122c95760405162461bcd60e51b8152600401611184906150b8565b816001600160a01b031663a9059cbb6122ea6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015612337573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235b9190615270565b505050565b6000546001600160a01b0316331461238a5760405162461bcd60e51b8152600401611184906150b8565b6001600160a01b0381166123ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611184565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146124745760405162461bcd60e51b8152600401611184906150b8565b602680546001600160a01b0319166001600160a01b0392909216919091179055565b600a54600090819081908082036124b8575050600e54600092508291506125ac565b600e546000805a90506000805b89841080156124d357508582105b1561259b57846124e281615164565b600a54909650861090506124f557600094505b6000600a600001868154811061250d5761250d615125565b60009182526020808320909101546001600160a01b0316808352601090915260409091205490915061253e90613276565b156125615761254e816001612e81565b15612561578161255d81615164565b9250505b8261256b81615164565b93505060005a9050808511156125925761258f6125888683612e3f565b8790612d91565b95505b93506124c59050565b600e85905590975095509193505050505b9193909250565b6000826000036125c557506000611154565b60006125d1838561528d565b9050826125de8583615103565b146113205760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401611184565b600061132083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061329d565b6001600160a01b0383166126cd5760405162461bcd60e51b815260206004820181905260248201527f45524332303a20617070726f76652066726f6d207a65726f20616464726573736044820152606401611184565b6001600160a01b0382166127235760405162461bcd60e51b815260206004820152601e60248201527f45524332303a20617070726f766520746f207a65726f206164647265737300006044820152606401611184565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166127e45760405162461bcd60e51b815260206004820152602160248201527f45524332303a207472616e736665722066726f6d207a65726f206164647265736044820152607360f81b6064820152608401611184565b6001600160a01b03821661283a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a207472616e7366657220746f207a65726f2061646472657373006044820152606401611184565b6000811161289c5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401611184565b6000546001600160a01b038481169116148015906128c857506000546001600160a01b03838116911614155b80156128e257506001546001600160a01b03838116911614155b80156128fc57506022546001600160a01b03838116911614155b801561291657506019546001600160a01b03838116911614155b801561293b57506001600160a01b03831660009081526016602052604090205460ff16155b801561296057506001600160a01b03821660009081526016602052604090205460ff16155b156129d0576000612970836119c0565b602a5490915061298083836152a4565b11156129ce5760405162461bcd60e51b815260206004820152601d60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e740000006044820152606401611184565b505b60006129db306119c0565b602b5460285491925082101590600160a01b900460ff16158015612a0c57506022546001600160a01b038581169116145b8015612a215750602854600160a81b900460ff165b15612ab1578015612a3557612a35826132cb565b6020546301000000900460ff1615612ab15760135460008080612a5784612496565b604080518481526020810184905290810182905260608101889052929550909350915032906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a3505050505b6001600160a01b03851660009081526014602052604090205460019060ff1680612af357506001600160a01b03851660009081526014602052604090205460ff165b15612afc575060005b6000612b07876119c0565b90506000612b14876119c0565b9050612b228888888661367f565b612b3588612b2f8a6119c0565b84613964565b612b4887612b42896119c0565b83613964565b5050505050505050565b60008184841115612b765760405162461bcd60e51b81526004016111849190614e25565b506000612b83848661513b565b95945050505050565b6000818181121561115457600080fd5b600080612ba983856152b7565b905060008312158015612bbc5750838112155b80612bd15750600083128015612bd157508381125b61132057600080fd5b600080821215612be957600080fd5b5090565b6000806000612bfa6139df565b9092509050612c098282612635565b9250505090565b80821115612c36576000612c248383612e3f565b9050612c308482613b61565b50505050565b8082101561235b576000612c4a8284612e3f565b9050612c308482613bc6565b6001600160a01b038116600090815260038301602052604090205460ff16612c7c575050565b6001600160a01b03811660009081526003830160209081526040808320805460ff1916905560018086018352818420849055600286019092528220548454909291612cc69161513b565b90506000846000018281548110612cdf57612cdf615125565b60009182526020808320909101546001600160a01b03908116808452600289019092526040808420879055908716835282209190915585549091508190869085908110612d2e57612d2e615125565b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790558454859080612d6857612d6861514e565b600082815260209020810160001990810180546001600160a01b03191690550190555050505050565b600080612d9e83856152a4565b9050838110156113205760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401611184565b6000806000806000806000806000612e078a613c0b565b9250925092506000806000612e258d8686612e20612bed565b613c47565b919f909e50909c50959a5093985091965092945050505050565b600061132083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612b52565b6001600160a01b0382166000908152600d602052604081205460ff16612ea957506000611154565b6000612eb484612f2a565b90508015612f20576001600160a01b038416600081815260106020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290612f0e9085815260200190565b60405180910390a36001915050611154565b5060009392505050565b600080612f3683611c74565b9050801561326d57602154604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015612f88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fac91906152d7565b601a546001600160a01b03918216911603612fda57504781811015612fd5575060009392505050565b61305a565b601a546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015613022573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061304691906152f4565b90508181101561305a575060009392505050565b6001600160a01b03841660009081526008602052604090205461307d9083612d91565b6001600160a01b038516600081815260086020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906130cc9085815260200190565b60405180910390a2602160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613127573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061314b91906152d7565b601a546001600160a01b0391821691160361319c576040516001600160a01b0385169083156108fc029084906000818181858888f19350505050158015613196573d6000803e3d6000fd5b50613266565b601a5460405163a9059cbb60e01b81526001600160a01b03868116600483015260248201859052600092169063a9059cbb906044016020604051808303816000875af11580156131f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132149190615270565b905080613264576001600160a01b03851660009081526008602052604090205461323e9084612e3f565b6001600160a01b0390951660009081526008602052604081209590955550929392505050565b505b5092915050565b50600092915050565b60004282111561328857506000919050565b6011546132954284612e3f565b101592915050565b600081836132be5760405162461bcd60e51b81526004016111849190614e25565b506000612b838486615103565b6028805460ff60a01b1916600160a01b1790556020546000906301000000810460ff90811691600160681b8104821691600160581b8204811691600160781b8104821691600160281b820481169161333491600160481b8204811691600160381b90041661530d565b61333e919061530d565b613348919061530d565b613352919061530d565b61335c919061530d565b613366919061530d565b6020549091506000908190600160381b900460ff16156133c5576020546133a79060ff600160381b9091048116906133a19087908716612635565b906125b3565b6001549092506133c29030906001600160a01b031684613c97565b50805b602054600160481b900460ff1615613434576020546133f89060ff600160481b9091048116906133a19087908716612635565b602554602354602654929450613427928592600160a01b900460ff16916001600160a01b039081169116613e27565b61343182826152a4565b90505b602054600160681b900460ff16156134a0576020546134679060ff600160681b9091048116906133a19087908716612635565b60255460285491935061349391849160ff600160b01b820416916001600160a01b039182169116613e27565b61349d82826152a4565b90505b6020546301000000900460ff16156135c9576020546134d39060ff63010000009091048116906133a19087908716612635565b601a54602154604080516315ab88c960e31b815290519395506001600160a01b0392831693919092169163ad5c46489160048083019260209291908290030181865afa158015613527573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061354b91906152d7565b6001600160a01b031603613581574761356383613e9c565b600061356f4783612e3f565b905061357a81613ff6565b50506135bc565b601a54306001600160a01b03909116036135a35761359e82613ff6565b6135bc565b601a546135bc906063906001600160a01b03168461407c565b6135c682826152a4565b90505b602054600160281b900460ff161561366c576135e58482612e3f565b935060006135f4856002612635565b905060006136028683612e3f565b90504761360e83613e9c565b600061361a4783612e3f565b9050613626838261438f565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a1505050505b50506028805460ff60a01b191690555050565b8061368c5761368c614464565b6001600160a01b03841660009081526017602052604090205460ff1680156136cd57506001600160a01b03831660009081526017602052604090205460ff16155b156136e2576136dd84848461479f565b6137e0565b6001600160a01b03841660009081526017602052604090205460ff1615801561372357506001600160a01b03831660009081526017602052604090205460ff165b15613733576136dd8484846148c5565b6001600160a01b03841660009081526017602052604090205460ff1615801561377557506001600160a01b03831660009081526017602052604090205460ff16155b15613785576136dd84848461496e565b6001600160a01b03841660009081526017602052604090205460ff1680156137c557506001600160a01b03831660009081526017602052604090205460ff165b156137d5576136dd848484614a9c565b6137e084848461496e565b80612c3057612c30602060029054906101000a900460ff16602060016101000a81548160ff021916908360ff160217905550602060069054906101000a900460ff16602060056101000a81548160ff021916908360ff160217905550602060089054906101000a900460ff16602060076101000a81548160ff021916908360ff1602179055506020600a9054906101000a900460ff16602060096101000a81548160ff021916908360ff160217905550602060109054906101000a900460ff166020600f6101000a81548160ff021916908360ff1602179055506020600c9054906101000a900460ff166020600b6101000a81548160ff021916908360ff1602179055506020600e9054906101000a900460ff166020600d6101000a81548160ff021916908360ff160217905550602060049054906101000a900460ff16602060036101000a81548160ff021916908360ff160217905550602060129054906101000a900460ff16602060116101000a81548160ff021916908360ff160217905550565b6001600160a01b0383166000908152600f602052604090205460ff161561398a57505050565b601254811015613998575060005b60125482106139bd576139ac838383612c10565b6139b8600a8484614b0f565b6139d4565b6139c983600083612c10565b6139d4600a84612c56565b612c30836001612e81565b601c54601b546000918291825b601854811015613b3157826002600060188481548110613a0e57613a0e615125565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180613a795750816003600060188481548110613a5257613a52615125565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15613a8f57601c54601b54945094505050509091565b613ad56002600060188481548110613aa957613aa9615125565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490612e3f565b9250613b1d6003600060188481548110613af157613af1615125565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390612e3f565b915080613b2981615164565b9150506139ec565b50601b54601c54613b4191612635565b821015613b5857601c54601b549350935050509091565b90939092509050565b80600554613b6f91906152a4565b600555600654613ba690613b879061129c90846125b3565b6001600160a01b03841660009081526007602052604090205490614bb8565b6001600160a01b0390921660009081526007602052604090209190915550565b80600554613bd4919061513b565b600555600654613ba690613bec9061129c90846125b3565b6001600160a01b03841660009081526007602052604090205490612b9c565b600080600080613c1a85614bf5565b90506000613c2786614c15565b90506000613c3982611c9a8986612e3f565b979296509094509092505050565b6000808080613c5688866125b3565b90506000613c6488876125b3565b90506000613c7288886125b3565b90506000613c8482611c9a8686612e3f565b939b939a50919850919650505050505050565b6000613ca1612bed565b90506000613caf83836125b3565b6001600160a01b038616600090815260026020526040902054909150613cd59082612e3f565b6001600160a01b038087166000908152600260205260408082209390935590861681522054613d049082612d91565b6001600160a01b0380861660009081526002602090815260408083209490945591881681526017909152205460ff1615613d75576001600160a01b038516600090815260036020526040902054613d5b9084612e3f565b6001600160a01b0386166000908152600360205260409020555b6001600160a01b03841660009081526017602052604090205460ff1615613dd3576001600160a01b038416600090815260036020526040902054613db99084612d91565b6001600160a01b0385166000908152600360205260409020555b836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051613e1891815260200190565b60405180910390a35050505050565b8215613e565747613e3785613e9c565b6000613e434783612e3f565b9050613e4f8482614ce0565b5050612c30565b306001600160a01b03821603613e91576000613e71836119c0565b9050613e7e308487613c97565b613e8b83612b42856119c0565b50612c30565b612c3082828661407c565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110613ed157613ed1615125565b6001600160a01b03928316602091820292909201810191909152602154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015613f2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f4e91906152d7565b81600181518110613f6157613f61615125565b6001600160a01b039283166020918202929092010152602154613f879130911684612677565b60215460405163791ac94760e01b81526001600160a01b039091169063791ac94790613fc0908590600090869030904290600401615326565b600060405180830381600087803b158015613fda57600080fd5b505af1158015613fee573d6000803e3d6000fd5b505050505050565b60006005541161400557600080fd5b8015611763576005546140339061402083600160801b6125b3565b61402a9190615103565b60065490612d91565b6006556040518181527f051019b59d3b24249903e46fd05b6def7f293fc3de54eca64b3d32743f27fc8e9060200160405180910390a16009546140769082612d91565b60095550565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156140c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140e791906152f4565b604080516003808252608082019092529192506000919060208201606080368337019050509050308160008151811061412257614122615125565b6001600160a01b03928316602091820292909201810191909152602154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561417b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061419f91906152d7565b816001815181106141b2576141b2615125565b60200260200101906001600160a01b031690816001600160a01b03168152505083816002815181106141e6576141e6615125565b6001600160a01b03928316602091820292909201015260215461420c9130911685612677565b6021546001600160a01b0316635c11d795846000843061422e4261012c612d91565b6040518663ffffffff1660e01b815260040161424e959493929190615326565b600060405180830381600087803b15801561426857600080fd5b505af115801561427c573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092506142f1915084906001600160a01b038816906370a0823190602401602060405180830381865afa1580156142cd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c9a91906152f4565b90506062196001600160a01b038716016143135761430e81613ff6565b613fee565b60405163a9059cbb60e01b81526001600160a01b0387811660048301526024820183905286169063a9059cbb906044016020604051808303816000875af1158015614362573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143869190615270565b50505050505050565b6021546143a79030906001600160a01b031684612677565b6001546001600160a01b03811690600160e01b900460ff166143d157506000546001600160a01b03165b60215460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0383811660848301524260a48301529091169063f305d71990849060c40160606040518083038185885af115801561443f573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190613fee9190615397565b602054610100900460ff161580156144865750602054600160281b900460ff16155b801561449c5750602054600160381b900460ff16155b80156144b25750602054600160481b900460ff16155b80156144c85750602054600160781b900460ff16155b80156144de5750602054600160581b900460ff16155b80156144f45750602054600160681b900460ff16155b801561450a57506020546301000000900460ff16155b80156145205750602054600160881b900460ff16155b1561452757565b602060019054906101000a900460ff16602060026101000a81548160ff021916908360ff160217905550602060059054906101000a900460ff16602060066101000a81548160ff021916908360ff160217905550602060079054906101000a900460ff16602060086101000a81548160ff021916908360ff160217905550602060099054906101000a900460ff166020600a6101000a81548160ff021916908360ff1602179055506020600f9054906101000a900460ff16602060106101000a81548160ff021916908360ff1602179055506020600b9054906101000a900460ff166020600c6101000a81548160ff021916908360ff1602179055506020600d9054906101000a900460ff166020600e6101000a81548160ff021916908360ff160217905550602060039054906101000a900460ff16602060046101000a81548160ff021916908360ff160217905550602060119054906101000a900460ff16602060126101000a81548160ff021916908360ff1602179055506000602060016101000a81548160ff021916908360ff1602179055506000602060056101000a81548160ff021916908360ff1602179055506000602060076101000a81548160ff021916908360ff1602179055506000602060096101000a81548160ff021916908360ff16021790555060006020600f6101000a81548160ff021916908360ff16021790555060006020600b6101000a81548160ff021916908360ff16021790555060006020600d6101000a81548160ff021916908360ff1602179055506000602060036101000a81548160ff021916908360ff1602179055506000602060116101000a81548160ff021916908360ff160217905550565b6000806000806000806147b187612df0565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506147e39088612e3f565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546148129087612e3f565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546148419086612d91565b6001600160a01b03891660009081526002602052604090205561486381614d79565b61486d8483614e01565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516148b291815260200190565b60405180910390a3505050505050505050565b6000806000806000806148d787612df0565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506149099087612e3f565b6001600160a01b03808b16600090815260026020908152604080832094909455918b1681526003909152205461493f9084612d91565b6001600160a01b0389166000908152600360209081526040808320939093556002905220546148419086612d91565b6022546001600160a01b0390811690831603614998576020805460ff60981b1916600160981b1790555b6000806000806000806149aa87612df0565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506149dc9087612e3f565b6001600160a01b03808b1660009081526002602052604080822093909355908a1681522054614a0b9086612d91565b6001600160a01b038916600090815260026020526040902055614a2d81614d79565b614a378483614e01565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051614a7c91815260200190565b60405180910390a350506020805460ff60981b1916905550505050505050565b600080600080600080614aae87612df0565b6001600160a01b038f16600090815260036020526040902054959b50939950919750955093509150614ae09088612e3f565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546149099087612e3f565b6001600160a01b038216600090815260038401602052604090205460ff1615614b54576001600160a01b03821660009081526001840160205260409020819055505050565b6001600160a01b03821660008181526003850160209081526040808320805460ff19166001908117909155878101835281842086905587546002890184529184208290558101875586835291200180546001600160a01b0319169091179055505050565b600080614bc583856153c5565b905060008312158015614bd85750838113155b80612bd15750600083128015612bd1575083811361132057600080fd5b6020546000906111549060649061190d908590610100900460ff166125b3565b6020546000908190600160981b900460ff1615614c3b5750602054600160881b900460ff165b6020546113209060649061190d90849060ff63010000008204811691600160681b8104821691600160581b8204811691600160781b8104821691600160481b8204811691614c9a91600160381b8204811691600160281b90041661530d565b614ca4919061530d565b614cae919061530d565b614cb8919061530d565b614cc2919061530d565b614ccc919061530d565b614cd6919061530d565b869060ff166125b3565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114614d2d576040519150601f19603f3d011682016040523d82523d6000602084013e614d32565b606091505b505090508061235b5760405162461bcd60e51b8152602060048201526013602482015272115512081514905394d1915488119052531151606a1b6044820152606401611184565b6000614d83612bed565b90506000614d9183836125b3565b30600090815260026020526040902054909150614dae9082612d91565b3060009081526002602090815260408083209390935560179052205460ff161561235b5730600090815260036020526040902054614dec9084612d91565b30600090815260036020526040902055505050565b601c54614e0e9083612e3f565b601c55601d54614e1e9082612d91565b601d555050565b600060208083528351808285015260005b81811015614e5257858101830151858201604001528201614e36565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461176357600080fd5b60008060408385031215614e9b57600080fd5b8235614ea681614e73565b946020939093013593505050565b600060208284031215614ec657600080fd5b813561132081614e73565b600080600060608486031215614ee657600080fd5b8335614ef181614e73565b92506020840135614f0181614e73565b929592945050506040919091013590565b600060208284031215614f2457600080fd5b5035919050565b801515811461176357600080fd5b60008060408385031215614f4c57600080fd5b823591506020830135614f5e81614f2b565b809150509250929050565b600060208284031215614f7b57600080fd5b813561132081614f2b565b60008060408385031215614f9957600080fd5b8235614fa481614e73565b91506020830135614f5e81614f2b565b803560ff81168114614fc557600080fd5b919050565b600080600080600080600060e0888a031215614fe557600080fd5b614fee88614fb4565b9650614ffc60208901614fb4565b955061500a60408901614fb4565b945061501860608901614fb4565b935061502660808901614fb4565b925061503460a08901614fb4565b915061504260c08901614fb4565b905092959891949750929550565b6000806040838503121561506357600080fd5b823561506e81614e73565b91506020830135614f5e81614e73565b600181811c9082168061509257607f821691505b6020821081036150b257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008261512057634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b81810381811115611154576111546150ed565b634e487b7160e01b600052603160045260246000fd5b600060018201615176576151766150ed565b5060010190565b600181815b808511156151b857816000190482111561519e5761519e6150ed565b808516156151ab57918102915b93841c9390800290615182565b509250929050565b6000826151cf57506001611154565b816151dc57506000611154565b81600181146151f257600281146151fc57615218565b6001915050611154565b60ff84111561520d5761520d6150ed565b50506001821b611154565b5060208310610133831016604e8410600b841016171561523b575081810a611154565b615245838361517d565b8060001904821115615259576152596150ed565b029392505050565b600061132060ff8416836151c0565b60006020828403121561528257600080fd5b815161132081614f2b565b8082028115828204841417611154576111546150ed565b80820180821115611154576111546150ed565b8082018281126000831280158216821582161715613264576132646150ed565b6000602082840312156152e957600080fd5b815161132081614e73565b60006020828403121561530657600080fd5b5051919050565b60ff8181168382160190811115611154576111546150ed565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156153765784516001600160a01b031683529383019391830191600101615351565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156153ac57600080fd5b8351925060208401519150604084015190509250925092565b8181036000831280158383131683831282161715613266576132666150ed56fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220cb3de85bf1bf687b14dba32224add3ab46fc4233ddeae4ab0f3db1d52baef2fc64736f6c634300081100330000000000000000000000000000000000000000000000000000000000000440000000000000000000000000000000000000000000000000000000000000048000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000001431e0fae6d7217caa0000000000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000000640000000000000000000000005fd8eb663d3e26a1f998e803485a6de3896a9da2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000099ef717d17d31d2eba665fb1cbaceed7c76a3288000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000000e496e66696e697479205265616c6d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046952656d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059

Deployed Bytecode

0x6080604052600436106104fb5760003560e01c80636f2789ec1161028c578063b1c16b121161015a578063d5f35408116100cc578063f25f4b5611610085578063f25f4b5614610fd6578063f2fde38b14610ff6578063f7c618c114611016578063f887ea4014611036578063ff8cef2e14611056578063ffb2c4791461107657600080fd5b8063d5f3540814610ef0578063dd62ed3e14610f10578063df8408fe14610f56578063e632313c14610f76578063ec9257d414610f96578063efa0880614610fb657600080fd5b8063c0b0fda21161011e578063c0b0fda214610e37578063c1eb184014610e58578063c49b9a8014610e7a578063c7992f9a14610e9a578063d28d885214610ebb578063d2fcc00114610ed057600080fd5b8063b1c16b1214610db6578063b79550be14610dcc578063be10b61414610de1578063be9ace7414610df7578063beb9716d14610e1857600080fd5b806390d49b9d116101fe578063a8b9d240116101b7578063a8b9d24014610cf4578063a9059cbb14610d14578063aafd847a14610d34578063af465a2714610d6a578063b09f126614610d80578063b187bd2614610d9557600080fd5b806390d49b9d14610c4957806391b89fba14610c6957806395d89b4114610c895780639c1b8af514610c9e578063a457c2d714610cb4578063a725239c14610cd457600080fd5b8063715018a611610250578063715018a614610b915780637d1db4a514610ba657806382bf293c14610bbc57806385a6b3ae14610bdc57806388f8202014610bf25780638da5cb5b14610c2b57600080fd5b80636f2789ec14610b04578063700bb19114610b1a57806370690b1114610b3a57806370a0823114610b5b57806370e5024114610b7b57600080fd5b8063324f8dbf116103c957806351330a191161033b5780635ebf4db9116102f45780635ebf4db914610a6257806364b0f65314610a825780636a47400214610a975780636bc87c3a14610aac5780636c0a24eb14610acd5780636e155b4914610ae357600080fd5b806351330a191461098657806351fde4bb146109a757806352143290146109c857806352390c02146109e85780635342acb414610a0857806354ce657814610a4157600080fd5b80633c81385c1161038d5780633c81385c146108be578063430ca090146108df5780634549b039146109005780634a74bb02146109205780634e71d92d146109415780634e7b827f1461095657600080fd5b8063324f8dbf1461081e5780633685d4191461083f578063395093511461085f5780633b124fe71461087f5780633bd5d1731461089e57600080fd5b8063226cfa3d1161046d5780632d838119116104265780632d8381191461077a5780632e8fa8211461079a5780633009a609146107b0578063313ce567146107c657806331e79db0146107de578063323be1c5146107fe57600080fd5b8063226cfa3d146106b257806323b872dd146106df57806327ce0147146106ff57806328815c201461071f5780632cd6d077146107405780632d6abf871461075a57600080fd5b8063149940a0116104bf578063149940a0146105d157806315fa749a1461060957806318160ddd1461062a57806319de79ab1461063f5780631cdd3be3146106605780631f53ac021461069057600080fd5b806301c8cfa71461050757806306fdde031461053d578063095ea7b31461055f5780630f94892c1461057f57806313114a9d146105b257600080fd5b3661050257005b600080fd5b34801561051357600080fd5b5060015461052890600160e01b900460ff1681565b60405190151581526020015b60405180910390f35b34801561054957600080fd5b506105526110b1565b6040516105349190614e25565b34801561056b57600080fd5b5061052861057a366004614e88565b611143565b34801561058b57600080fd5b506020546105a090600160581b900460ff1681565b60405160ff9091168152602001610534565b3480156105be57600080fd5b50601d545b604051908152602001610534565b3480156105dd57600080fd5b506025546105f1906001600160a01b031681565b6040516001600160a01b039091168152602001610534565b34801561061557600080fd5b506001546105a090600160c01b900460ff1681565b34801561063657600080fd5b50601b546105c3565b34801561064b57600080fd5b506020546105a090600160781b900460ff1681565b34801561066c57600080fd5b5061052861067b366004614eb4565b602d6020526000908152604090205460ff1681565b34801561069c57600080fd5b506106b06106ab366004614eb4565b61115a565b005b3480156106be57600080fd5b506105c36106cd366004614eb4565b60106020526000908152604090205481565b3480156106eb57600080fd5b506105286106fa366004614ed1565b6111f4565b34801561070b57600080fd5b506105c361071a366004614eb4565b61125d565b34801561072b57600080fd5b506020546105a090600160681b900460ff1681565b34801561074c57600080fd5b50602e546105289060ff1681565b34801561076657600080fd5b506021546105f1906001600160a01b031681565b34801561078657600080fd5b506105c3610795366004614f12565b6112b6565b3480156107a657600080fd5b506105c3602b5481565b3480156107bc57600080fd5b506105c3600e5481565b3480156107d257600080fd5b5060205460ff166105a0565b3480156107ea57600080fd5b506106b06107f9366004614eb4565b611327565b34801561080a57600080fd5b50602e546105289062010000900460ff1681565b34801561082a57600080fd5b506001546105a090600160c81b900460ff1681565b34801561084b57600080fd5b506106b061085a366004614eb4565b611402565b34801561086b57600080fd5b5061052861087a366004614e88565b6115ab565b34801561088b57600080fd5b506020546105a090610100900460ff1681565b3480156108aa57600080fd5b506106b06108b9366004614f12565b6115e1565b3480156108ca57600080fd5b506001546105a090600160b01b900460ff1681565b3480156108eb57600080fd5b506001546105a090600160a01b900460ff1681565b34801561090c57600080fd5b506105c361091b366004614f39565b6116cb565b34801561092c57600080fd5b5060285461052890600160a81b900460ff1681565b34801561094d57600080fd5b506106b0611758565b34801561096257600080fd5b50610528610971366004614eb4565b600f6020526000908152604090205460ff1681565b34801561099257600080fd5b506001546105a090600160b81b900460ff1681565b3480156109b357600080fd5b506020546105a0906301000000900460ff1681565b3480156109d457600080fd5b506022546105f1906001600160a01b031681565b3480156109f457600080fd5b506106b0610a03366004614eb4565b611766565b348015610a1457600080fd5b50610528610a23366004614eb4565b6001600160a01b031660009081526014602052604090205460ff1690565b348015610a4d57600080fd5b506020546105a090600160481b900460ff1681565b348015610a6e57600080fd5b506106b0610a7d366004614f12565b6118c9565b348015610a8e57600080fd5b50600a546105c3565b348015610aa357600080fd5b506106b061194e565b348015610ab857600080fd5b506020546105a090600160281b900460ff1681565b348015610ad957600080fd5b506105c3602a5481565b348015610aef57600080fd5b506001546105a090600160d81b900460ff1681565b348015610b1057600080fd5b506105c360115481565b348015610b2657600080fd5b506106b0610b35366004614f12565b611957565b348015610b4657600080fd5b506001546105a090600160d01b900460ff1681565b348015610b6757600080fd5b506105c3610b76366004614eb4565b6119c0565b348015610b8757600080fd5b506105c3602c5481565b348015610b9d57600080fd5b506106b0611a1f565b348015610bb257600080fd5b506105c360295481565b348015610bc857600080fd5b506106b0610bd7366004614f12565b611a93565b348015610be857600080fd5b506105c360095481565b348015610bfe57600080fd5b50610528610c0d366004614eb4565b6001600160a01b031660009081526017602052604090205460ff1690565b348015610c3757600080fd5b506000546001600160a01b03166105f1565b348015610c5557600080fd5b506106b0610c64366004614eb4565b611b2e565b348015610c7557600080fd5b506105c3610c84366004614eb4565b611bbf565b348015610c9557600080fd5b50610552611bca565b348015610caa57600080fd5b506105c360135481565b348015610cc057600080fd5b50610528610ccf366004614e88565b611bd9565b348015610ce057600080fd5b506106b0610cef366004614eb4565b611c28565b348015610d0057600080fd5b506105c3610d0f366004614eb4565b611c74565b348015610d2057600080fd5b50610528610d2f366004614e88565b611ca0565b348015610d4057600080fd5b506105c3610d4f366004614eb4565b6001600160a01b031660009081526008602052604090205490565b348015610d7657600080fd5b506105c3601b5481565b348015610d8c57600080fd5b50610552611cad565b348015610da157600080fd5b50602e54610528906301000000900460ff1681565b348015610dc257600080fd5b506105c360055481565b348015610dd857600080fd5b506106b0611d3b565b348015610ded57600080fd5b506105c360125481565b348015610e0357600080fd5b506020546105a090600160881b900460ff1681565b348015610e2457600080fd5b50602e5461052890610100900460ff1681565b348015610e4357600080fd5b506020546105a090600160381b900460ff1681565b348015610e6457600080fd5b50602e5461052890640100000000900460ff1681565b348015610e8657600080fd5b506106b0610e95366004614f69565b611d9f565b348015610ea657600080fd5b506001546105a090600160a81b900460ff1681565b348015610ec757600080fd5b50610552611e21565b348015610edc57600080fd5b506106b0610eeb366004614f86565b611e2e565b348015610efc57600080fd5b506106b0610f0b366004614fca565b611e83565b348015610f1c57600080fd5b506105c3610f2b366004615050565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b348015610f6257600080fd5b506106b0610f71366004614f86565b61218d565b348015610f8257600080fd5b506106b0610f91366004614f12565b612204565b348015610fa257600080fd5b506024546105f1906001600160a01b031681565b348015610fc257600080fd5b506106b0610fd1366004614e88565b61229f565b348015610fe257600080fd5b506023546105f1906001600160a01b031681565b34801561100257600080fd5b506106b0611011366004614eb4565b612360565b34801561102257600080fd5b50601a546105f1906001600160a01b031681565b34801561104257600080fd5b506019546105f1906001600160a01b031681565b34801561106257600080fd5b506106b0611071366004614eb4565b61244a565b34801561108257600080fd5b50611096611091366004614f12565b612496565b60408051938452602084019290925290820152606001610534565b6060601e80546110c09061507e565b80601f01602080910402602001604051908101604052809291908181526020018280546110ec9061507e565b80156111395780601f1061110e57610100808354040283529160200191611139565b820191906000526020600020905b81548152906001019060200180831161111c57829003601f168201915b5050505050905090565b6000611150338484612677565b5060015b92915050565b6000546001600160a01b0316331461118d5760405162461bcd60e51b8152600401611184906150b8565b60405180910390fd5b6001600160a01b0381166111d25760405162461bcd60e51b815260206004820152600c60248201526b5a45524f204144445245535360a01b6044820152606401611184565b602580546001600160a01b0319166001600160a01b0392909216919091179055565b6000611201848484612784565b611253843361124e856040518060600160405280602881526020016153e6602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190612b52565b612677565b5060019392505050565b6001600160a01b038116600090815260076020526040812054600160801b906112ac906112a7906112a161129c611293886119c0565b600654906125b3565b612b8c565b90612b9c565b612bda565b6111549190615103565b6000601c5482111561130a5760405162461bcd60e51b815260206004820152601e60248201527f416d74206d757374206265206c657373207468616e20746f74207265666c00006044820152606401611184565b6000611314612bed565b90506113208382612635565b9392505050565b6000546001600160a01b031633146113515760405162461bcd60e51b8152600401611184906150b8565b6001600160a01b0381166000908152600f602052604090205460ff161561137757600080fd5b6001600160a01b0381166000908152600f60205260408120805460ff191660011790556113a3826119c0565b90506012548110156113b3575060005b6113bf82600083612c10565b6113ca600a83612c56565b6040516001600160a01b038316907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2590600090a25050565b6000546001600160a01b0316331461142c5760405162461bcd60e51b8152600401611184906150b8565b6001600160a01b03811660009081526017602052604090205460ff166114875760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e48195e18db1d59195960821b6044820152606401611184565b60005b6018548110156115a757816001600160a01b0316601882815481106114b1576114b1615125565b6000918252602090912001546001600160a01b03160361159557601880546114db9060019061513b565b815481106114eb576114eb615125565b600091825260209091200154601880546001600160a01b03909216918390811061151757611517615125565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600382526040808220829055601790925220805460ff19169055601880548061156f5761156f61514e565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b8061159f81615164565b91505061148a565b5050565b3360008181526004602090815260408083206001600160a01b0387168452909152812054909161115091859061124e9086612d91565b3360008181526017602052604090205460ff16156116565760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401611184565b600061166183612df0565b505050506001600160a01b03841660009081526002602052604090205491925061168d91905082612e3f565b6001600160a01b038316600090815260026020526040902055601c546116b39082612e3f565b601c55601d546116c39084612d91565b601d55505050565b6000601b5483111561171f5760405162461bcd60e51b815260206004820152601c60248201527f416d74206d757374206265206c657373207468616e20737570706c79000000006044820152606401611184565b8161173e57600061172f84612df0565b50939550611154945050505050565b600061174984612df0565b50929550611154945050505050565b611763336000612e81565b50565b6000546001600160a01b031633146117905760405162461bcd60e51b8152600401611184906150b8565b6001600160a01b03811660009081526017602052604090205460ff16156118095760405162461bcd60e51b815260206004820152602760248201527f4163636f756e7420697320616c7265616479206578636c756465642066726f6d604482015266081c995dd85c9960ca1b6064820152608401611184565b6001600160a01b03811660009081526002602052604090205415611863576001600160a01b038116600090815260026020526040902054611849906112b6565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b03166000818152601760205260408120805460ff191660019081179091556018805491820181559091527fb13d2d76d1f4b7be834882e410b3e3a8afaf69f83600ae24db354391d2378d2e0180546001600160a01b0319169091179055565b6000546001600160a01b031633146118f35760405162461bcd60e51b8152600401611184906150b8565b600181101580156119175750611913606461190d601b5490565b90612635565b8111155b6119495760405162461bcd60e51b815260206004820152600360248201526232b93960e91b6044820152606401611184565b601255565b61176333612f2a565b600080600061196584612496565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a350505050565b6001600160a01b03811660009081526017602052604081205460ff16156119fd57506001600160a01b031660009081526003602052604090205490565b6001600160a01b038216600090815260026020526040902054611154906112b6565b6000546001600160a01b03163314611a495760405162461bcd60e51b8152600401611184906150b8565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314611abd5760405162461bcd60e51b8152600401611184906150b8565b600154600160d01b900460ff168110801590611adb57506127108111155b611b0d5760405162461bcd60e51b815260206004820152600360248201526232b93960e91b6044820152606401611184565b611b2861271061190d83601b546125b390919063ffffffff16565b602a5550565b6000546001600160a01b03163314611b585760405162461bcd60e51b8152600401611184906150b8565b6001600160a01b038116611b9d5760405162461bcd60e51b815260206004820152600c60248201526b5a45524f204144445245535360a01b6044820152606401611184565b602380546001600160a01b0319166001600160a01b0392909216919091179055565b600061115482611c74565b6060601f80546110c09061507e565b6000611150338461124e8560405180606001604052806025815260200161540e602591393360009081526004602090815260408083206001600160a01b038d1684529091529020549190612b52565b6000546001600160a01b03163314611c525760405162461bcd60e51b8152600401611184906150b8565b602880546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03811660009081526008602052604081205461115490611c9a8461125d565b90612e3f565b6000611150338484612784565b601f8054611cba9061507e565b80601f0160208091040260200160405190810160405280929190818152602001828054611ce69061507e565b8015611d335780601f10611d0857610100808354040283529160200191611d33565b820191906000526020600020905b815481529060010190602001808311611d1657829003601f168201915b505050505081565b6000546001600160a01b03163314611d655760405162461bcd60e51b8152600401611184906150b8565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015611763573d6000803e3d6000fd5b6000546001600160a01b03163314611dc95760405162461bcd60e51b8152600401611184906150b8565b60288054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990611e1690831515815260200190565b60405180910390a150565b601e8054611cba9061507e565b6000546001600160a01b03163314611e585760405162461bcd60e51b8152600401611184906150b8565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314611ead5760405162461bcd60e51b8152600401611184906150b8565b600a60015460ff600160a81b90910481169089161115611ef85760405162461bcd60e51b81526020600482015260066024820152652a231032b93960d11b6044820152606401611184565b60015460ff600160a01b90910481169088161115611f415760405162461bcd60e51b815260206004820152600660248201526526231032b93960d11b6044820152606401611184565b60015460ff600160b01b90910481169087161115611f8a5760405162461bcd60e51b815260206004820152600660248201526521231032b93960d11b6044820152606401611184565b60015460ff600160d81b90910481169083161115611fd45760405162461bcd60e51b815260206004820152600760248201526622a9a31032b93960c91b6044820152606401611184565b8060ff168560ff1611156120135760405162461bcd60e51b81526020600482015260066024820152652ba31032b93960d11b6044820152606401611184565b8060ff168460ff1611156120535760405162461bcd60e51b81526020600482015260076024820152662ba32a1032b93960c91b6044820152606401611184565b8060ff168360ff1611156120925760405162461bcd60e51b815260206004820152600660248201526529231032b93960d11b6044820152606401611184565b60ff831615806120a3575060ff8816155b6120dc5760405162461bcd60e51b815260206004820152600a602482015269292a103332b29032b93960b11b6044820152606401611184565b506020805460ff928316600160881b0260ff60881b19978416600160381b0267ff0000000000000019998516600160281b029990991667ff00ff0000000000199a85166101000261ff00199686166301000000029690961663ff00ff0019978616600160681b0260ff60681b1996909916600160481b02959095166dff000000ff00000000000000000019909316929092179690961794909416919091179190911795909516179290921716179055565b6000546001600160a01b031633146121b75760405162461bcd60e51b8152600401611184906150b8565b6001600160a01b039091166000908152601460209081526040808320805494151560ff19958616811790915560158352818420805486168217905560169092529091208054909216179055565b6000546001600160a01b0316331461222e5760405162461bcd60e51b8152600401611184906150b8565b60205460ff1661223f90600a615261565b811015801561225b5750612257606461190d601b5490565b8111155b61229a5760405162461bcd60e51b815260206004820152601060248201526f1b9bdd081d985b1a5908185b5bdd5b9d60821b6044820152606401611184565b602b55565b6000546001600160a01b031633146122c95760405162461bcd60e51b8152600401611184906150b8565b816001600160a01b031663a9059cbb6122ea6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015612337573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235b9190615270565b505050565b6000546001600160a01b0316331461238a5760405162461bcd60e51b8152600401611184906150b8565b6001600160a01b0381166123ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611184565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146124745760405162461bcd60e51b8152600401611184906150b8565b602680546001600160a01b0319166001600160a01b0392909216919091179055565b600a54600090819081908082036124b8575050600e54600092508291506125ac565b600e546000805a90506000805b89841080156124d357508582105b1561259b57846124e281615164565b600a54909650861090506124f557600094505b6000600a600001868154811061250d5761250d615125565b60009182526020808320909101546001600160a01b0316808352601090915260409091205490915061253e90613276565b156125615761254e816001612e81565b15612561578161255d81615164565b9250505b8261256b81615164565b93505060005a9050808511156125925761258f6125888683612e3f565b8790612d91565b95505b93506124c59050565b600e85905590975095509193505050505b9193909250565b6000826000036125c557506000611154565b60006125d1838561528d565b9050826125de8583615103565b146113205760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401611184565b600061132083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061329d565b6001600160a01b0383166126cd5760405162461bcd60e51b815260206004820181905260248201527f45524332303a20617070726f76652066726f6d207a65726f20616464726573736044820152606401611184565b6001600160a01b0382166127235760405162461bcd60e51b815260206004820152601e60248201527f45524332303a20617070726f766520746f207a65726f206164647265737300006044820152606401611184565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166127e45760405162461bcd60e51b815260206004820152602160248201527f45524332303a207472616e736665722066726f6d207a65726f206164647265736044820152607360f81b6064820152608401611184565b6001600160a01b03821661283a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a207472616e7366657220746f207a65726f2061646472657373006044820152606401611184565b6000811161289c5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401611184565b6000546001600160a01b038481169116148015906128c857506000546001600160a01b03838116911614155b80156128e257506001546001600160a01b03838116911614155b80156128fc57506022546001600160a01b03838116911614155b801561291657506019546001600160a01b03838116911614155b801561293b57506001600160a01b03831660009081526016602052604090205460ff16155b801561296057506001600160a01b03821660009081526016602052604090205460ff16155b156129d0576000612970836119c0565b602a5490915061298083836152a4565b11156129ce5760405162461bcd60e51b815260206004820152601d60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e740000006044820152606401611184565b505b60006129db306119c0565b602b5460285491925082101590600160a01b900460ff16158015612a0c57506022546001600160a01b038581169116145b8015612a215750602854600160a81b900460ff165b15612ab1578015612a3557612a35826132cb565b6020546301000000900460ff1615612ab15760135460008080612a5784612496565b604080518481526020810184905290810182905260608101889052929550909350915032906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a3505050505b6001600160a01b03851660009081526014602052604090205460019060ff1680612af357506001600160a01b03851660009081526014602052604090205460ff165b15612afc575060005b6000612b07876119c0565b90506000612b14876119c0565b9050612b228888888661367f565b612b3588612b2f8a6119c0565b84613964565b612b4887612b42896119c0565b83613964565b5050505050505050565b60008184841115612b765760405162461bcd60e51b81526004016111849190614e25565b506000612b83848661513b565b95945050505050565b6000818181121561115457600080fd5b600080612ba983856152b7565b905060008312158015612bbc5750838112155b80612bd15750600083128015612bd157508381125b61132057600080fd5b600080821215612be957600080fd5b5090565b6000806000612bfa6139df565b9092509050612c098282612635565b9250505090565b80821115612c36576000612c248383612e3f565b9050612c308482613b61565b50505050565b8082101561235b576000612c4a8284612e3f565b9050612c308482613bc6565b6001600160a01b038116600090815260038301602052604090205460ff16612c7c575050565b6001600160a01b03811660009081526003830160209081526040808320805460ff1916905560018086018352818420849055600286019092528220548454909291612cc69161513b565b90506000846000018281548110612cdf57612cdf615125565b60009182526020808320909101546001600160a01b03908116808452600289019092526040808420879055908716835282209190915585549091508190869085908110612d2e57612d2e615125565b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790558454859080612d6857612d6861514e565b600082815260209020810160001990810180546001600160a01b03191690550190555050505050565b600080612d9e83856152a4565b9050838110156113205760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401611184565b6000806000806000806000806000612e078a613c0b565b9250925092506000806000612e258d8686612e20612bed565b613c47565b919f909e50909c50959a5093985091965092945050505050565b600061132083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612b52565b6001600160a01b0382166000908152600d602052604081205460ff16612ea957506000611154565b6000612eb484612f2a565b90508015612f20576001600160a01b038416600081815260106020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290612f0e9085815260200190565b60405180910390a36001915050611154565b5060009392505050565b600080612f3683611c74565b9050801561326d57602154604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015612f88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fac91906152d7565b601a546001600160a01b03918216911603612fda57504781811015612fd5575060009392505050565b61305a565b601a546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015613022573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061304691906152f4565b90508181101561305a575060009392505050565b6001600160a01b03841660009081526008602052604090205461307d9083612d91565b6001600160a01b038516600081815260086020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906130cc9085815260200190565b60405180910390a2602160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613127573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061314b91906152d7565b601a546001600160a01b0391821691160361319c576040516001600160a01b0385169083156108fc029084906000818181858888f19350505050158015613196573d6000803e3d6000fd5b50613266565b601a5460405163a9059cbb60e01b81526001600160a01b03868116600483015260248201859052600092169063a9059cbb906044016020604051808303816000875af11580156131f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132149190615270565b905080613264576001600160a01b03851660009081526008602052604090205461323e9084612e3f565b6001600160a01b0390951660009081526008602052604081209590955550929392505050565b505b5092915050565b50600092915050565b60004282111561328857506000919050565b6011546132954284612e3f565b101592915050565b600081836132be5760405162461bcd60e51b81526004016111849190614e25565b506000612b838486615103565b6028805460ff60a01b1916600160a01b1790556020546000906301000000810460ff90811691600160681b8104821691600160581b8204811691600160781b8104821691600160281b820481169161333491600160481b8204811691600160381b90041661530d565b61333e919061530d565b613348919061530d565b613352919061530d565b61335c919061530d565b613366919061530d565b6020549091506000908190600160381b900460ff16156133c5576020546133a79060ff600160381b9091048116906133a19087908716612635565b906125b3565b6001549092506133c29030906001600160a01b031684613c97565b50805b602054600160481b900460ff1615613434576020546133f89060ff600160481b9091048116906133a19087908716612635565b602554602354602654929450613427928592600160a01b900460ff16916001600160a01b039081169116613e27565b61343182826152a4565b90505b602054600160681b900460ff16156134a0576020546134679060ff600160681b9091048116906133a19087908716612635565b60255460285491935061349391849160ff600160b01b820416916001600160a01b039182169116613e27565b61349d82826152a4565b90505b6020546301000000900460ff16156135c9576020546134d39060ff63010000009091048116906133a19087908716612635565b601a54602154604080516315ab88c960e31b815290519395506001600160a01b0392831693919092169163ad5c46489160048083019260209291908290030181865afa158015613527573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061354b91906152d7565b6001600160a01b031603613581574761356383613e9c565b600061356f4783612e3f565b905061357a81613ff6565b50506135bc565b601a54306001600160a01b03909116036135a35761359e82613ff6565b6135bc565b601a546135bc906063906001600160a01b03168461407c565b6135c682826152a4565b90505b602054600160281b900460ff161561366c576135e58482612e3f565b935060006135f4856002612635565b905060006136028683612e3f565b90504761360e83613e9c565b600061361a4783612e3f565b9050613626838261438f565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a1505050505b50506028805460ff60a01b191690555050565b8061368c5761368c614464565b6001600160a01b03841660009081526017602052604090205460ff1680156136cd57506001600160a01b03831660009081526017602052604090205460ff16155b156136e2576136dd84848461479f565b6137e0565b6001600160a01b03841660009081526017602052604090205460ff1615801561372357506001600160a01b03831660009081526017602052604090205460ff165b15613733576136dd8484846148c5565b6001600160a01b03841660009081526017602052604090205460ff1615801561377557506001600160a01b03831660009081526017602052604090205460ff16155b15613785576136dd84848461496e565b6001600160a01b03841660009081526017602052604090205460ff1680156137c557506001600160a01b03831660009081526017602052604090205460ff165b156137d5576136dd848484614a9c565b6137e084848461496e565b80612c3057612c30602060029054906101000a900460ff16602060016101000a81548160ff021916908360ff160217905550602060069054906101000a900460ff16602060056101000a81548160ff021916908360ff160217905550602060089054906101000a900460ff16602060076101000a81548160ff021916908360ff1602179055506020600a9054906101000a900460ff16602060096101000a81548160ff021916908360ff160217905550602060109054906101000a900460ff166020600f6101000a81548160ff021916908360ff1602179055506020600c9054906101000a900460ff166020600b6101000a81548160ff021916908360ff1602179055506020600e9054906101000a900460ff166020600d6101000a81548160ff021916908360ff160217905550602060049054906101000a900460ff16602060036101000a81548160ff021916908360ff160217905550602060129054906101000a900460ff16602060116101000a81548160ff021916908360ff160217905550565b6001600160a01b0383166000908152600f602052604090205460ff161561398a57505050565b601254811015613998575060005b60125482106139bd576139ac838383612c10565b6139b8600a8484614b0f565b6139d4565b6139c983600083612c10565b6139d4600a84612c56565b612c30836001612e81565b601c54601b546000918291825b601854811015613b3157826002600060188481548110613a0e57613a0e615125565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180613a795750816003600060188481548110613a5257613a52615125565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15613a8f57601c54601b54945094505050509091565b613ad56002600060188481548110613aa957613aa9615125565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490612e3f565b9250613b1d6003600060188481548110613af157613af1615125565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390612e3f565b915080613b2981615164565b9150506139ec565b50601b54601c54613b4191612635565b821015613b5857601c54601b549350935050509091565b90939092509050565b80600554613b6f91906152a4565b600555600654613ba690613b879061129c90846125b3565b6001600160a01b03841660009081526007602052604090205490614bb8565b6001600160a01b0390921660009081526007602052604090209190915550565b80600554613bd4919061513b565b600555600654613ba690613bec9061129c90846125b3565b6001600160a01b03841660009081526007602052604090205490612b9c565b600080600080613c1a85614bf5565b90506000613c2786614c15565b90506000613c3982611c9a8986612e3f565b979296509094509092505050565b6000808080613c5688866125b3565b90506000613c6488876125b3565b90506000613c7288886125b3565b90506000613c8482611c9a8686612e3f565b939b939a50919850919650505050505050565b6000613ca1612bed565b90506000613caf83836125b3565b6001600160a01b038616600090815260026020526040902054909150613cd59082612e3f565b6001600160a01b038087166000908152600260205260408082209390935590861681522054613d049082612d91565b6001600160a01b0380861660009081526002602090815260408083209490945591881681526017909152205460ff1615613d75576001600160a01b038516600090815260036020526040902054613d5b9084612e3f565b6001600160a01b0386166000908152600360205260409020555b6001600160a01b03841660009081526017602052604090205460ff1615613dd3576001600160a01b038416600090815260036020526040902054613db99084612d91565b6001600160a01b0385166000908152600360205260409020555b836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051613e1891815260200190565b60405180910390a35050505050565b8215613e565747613e3785613e9c565b6000613e434783612e3f565b9050613e4f8482614ce0565b5050612c30565b306001600160a01b03821603613e91576000613e71836119c0565b9050613e7e308487613c97565b613e8b83612b42856119c0565b50612c30565b612c3082828661407c565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110613ed157613ed1615125565b6001600160a01b03928316602091820292909201810191909152602154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015613f2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f4e91906152d7565b81600181518110613f6157613f61615125565b6001600160a01b039283166020918202929092010152602154613f879130911684612677565b60215460405163791ac94760e01b81526001600160a01b039091169063791ac94790613fc0908590600090869030904290600401615326565b600060405180830381600087803b158015613fda57600080fd5b505af1158015613fee573d6000803e3d6000fd5b505050505050565b60006005541161400557600080fd5b8015611763576005546140339061402083600160801b6125b3565b61402a9190615103565b60065490612d91565b6006556040518181527f051019b59d3b24249903e46fd05b6def7f293fc3de54eca64b3d32743f27fc8e9060200160405180910390a16009546140769082612d91565b60095550565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156140c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140e791906152f4565b604080516003808252608082019092529192506000919060208201606080368337019050509050308160008151811061412257614122615125565b6001600160a01b03928316602091820292909201810191909152602154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561417b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061419f91906152d7565b816001815181106141b2576141b2615125565b60200260200101906001600160a01b031690816001600160a01b03168152505083816002815181106141e6576141e6615125565b6001600160a01b03928316602091820292909201015260215461420c9130911685612677565b6021546001600160a01b0316635c11d795846000843061422e4261012c612d91565b6040518663ffffffff1660e01b815260040161424e959493929190615326565b600060405180830381600087803b15801561426857600080fd5b505af115801561427c573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092506142f1915084906001600160a01b038816906370a0823190602401602060405180830381865afa1580156142cd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c9a91906152f4565b90506062196001600160a01b038716016143135761430e81613ff6565b613fee565b60405163a9059cbb60e01b81526001600160a01b0387811660048301526024820183905286169063a9059cbb906044016020604051808303816000875af1158015614362573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143869190615270565b50505050505050565b6021546143a79030906001600160a01b031684612677565b6001546001600160a01b03811690600160e01b900460ff166143d157506000546001600160a01b03165b60215460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0383811660848301524260a48301529091169063f305d71990849060c40160606040518083038185885af115801561443f573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190613fee9190615397565b602054610100900460ff161580156144865750602054600160281b900460ff16155b801561449c5750602054600160381b900460ff16155b80156144b25750602054600160481b900460ff16155b80156144c85750602054600160781b900460ff16155b80156144de5750602054600160581b900460ff16155b80156144f45750602054600160681b900460ff16155b801561450a57506020546301000000900460ff16155b80156145205750602054600160881b900460ff16155b1561452757565b602060019054906101000a900460ff16602060026101000a81548160ff021916908360ff160217905550602060059054906101000a900460ff16602060066101000a81548160ff021916908360ff160217905550602060079054906101000a900460ff16602060086101000a81548160ff021916908360ff160217905550602060099054906101000a900460ff166020600a6101000a81548160ff021916908360ff1602179055506020600f9054906101000a900460ff16602060106101000a81548160ff021916908360ff1602179055506020600b9054906101000a900460ff166020600c6101000a81548160ff021916908360ff1602179055506020600d9054906101000a900460ff166020600e6101000a81548160ff021916908360ff160217905550602060039054906101000a900460ff16602060046101000a81548160ff021916908360ff160217905550602060119054906101000a900460ff16602060126101000a81548160ff021916908360ff1602179055506000602060016101000a81548160ff021916908360ff1602179055506000602060056101000a81548160ff021916908360ff1602179055506000602060076101000a81548160ff021916908360ff1602179055506000602060096101000a81548160ff021916908360ff16021790555060006020600f6101000a81548160ff021916908360ff16021790555060006020600b6101000a81548160ff021916908360ff16021790555060006020600d6101000a81548160ff021916908360ff1602179055506000602060036101000a81548160ff021916908360ff1602179055506000602060116101000a81548160ff021916908360ff160217905550565b6000806000806000806147b187612df0565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506147e39088612e3f565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546148129087612e3f565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546148419086612d91565b6001600160a01b03891660009081526002602052604090205561486381614d79565b61486d8483614e01565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516148b291815260200190565b60405180910390a3505050505050505050565b6000806000806000806148d787612df0565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506149099087612e3f565b6001600160a01b03808b16600090815260026020908152604080832094909455918b1681526003909152205461493f9084612d91565b6001600160a01b0389166000908152600360209081526040808320939093556002905220546148419086612d91565b6022546001600160a01b0390811690831603614998576020805460ff60981b1916600160981b1790555b6000806000806000806149aa87612df0565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506149dc9087612e3f565b6001600160a01b03808b1660009081526002602052604080822093909355908a1681522054614a0b9086612d91565b6001600160a01b038916600090815260026020526040902055614a2d81614d79565b614a378483614e01565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051614a7c91815260200190565b60405180910390a350506020805460ff60981b1916905550505050505050565b600080600080600080614aae87612df0565b6001600160a01b038f16600090815260036020526040902054959b50939950919750955093509150614ae09088612e3f565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546149099087612e3f565b6001600160a01b038216600090815260038401602052604090205460ff1615614b54576001600160a01b03821660009081526001840160205260409020819055505050565b6001600160a01b03821660008181526003850160209081526040808320805460ff19166001908117909155878101835281842086905587546002890184529184208290558101875586835291200180546001600160a01b0319169091179055505050565b600080614bc583856153c5565b905060008312158015614bd85750838113155b80612bd15750600083128015612bd1575083811361132057600080fd5b6020546000906111549060649061190d908590610100900460ff166125b3565b6020546000908190600160981b900460ff1615614c3b5750602054600160881b900460ff165b6020546113209060649061190d90849060ff63010000008204811691600160681b8104821691600160581b8204811691600160781b8104821691600160481b8204811691614c9a91600160381b8204811691600160281b90041661530d565b614ca4919061530d565b614cae919061530d565b614cb8919061530d565b614cc2919061530d565b614ccc919061530d565b614cd6919061530d565b869060ff166125b3565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114614d2d576040519150601f19603f3d011682016040523d82523d6000602084013e614d32565b606091505b505090508061235b5760405162461bcd60e51b8152602060048201526013602482015272115512081514905394d1915488119052531151606a1b6044820152606401611184565b6000614d83612bed565b90506000614d9183836125b3565b30600090815260026020526040902054909150614dae9082612d91565b3060009081526002602090815260408083209390935560179052205460ff161561235b5730600090815260036020526040902054614dec9084612d91565b30600090815260036020526040902055505050565b601c54614e0e9083612e3f565b601c55601d54614e1e9082612d91565b601d555050565b600060208083528351808285015260005b81811015614e5257858101830151858201604001528201614e36565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461176357600080fd5b60008060408385031215614e9b57600080fd5b8235614ea681614e73565b946020939093013593505050565b600060208284031215614ec657600080fd5b813561132081614e73565b600080600060608486031215614ee657600080fd5b8335614ef181614e73565b92506020840135614f0181614e73565b929592945050506040919091013590565b600060208284031215614f2457600080fd5b5035919050565b801515811461176357600080fd5b60008060408385031215614f4c57600080fd5b823591506020830135614f5e81614f2b565b809150509250929050565b600060208284031215614f7b57600080fd5b813561132081614f2b565b60008060408385031215614f9957600080fd5b8235614fa481614e73565b91506020830135614f5e81614f2b565b803560ff81168114614fc557600080fd5b919050565b600080600080600080600060e0888a031215614fe557600080fd5b614fee88614fb4565b9650614ffc60208901614fb4565b955061500a60408901614fb4565b945061501860608901614fb4565b935061502660808901614fb4565b925061503460a08901614fb4565b915061504260c08901614fb4565b905092959891949750929550565b6000806040838503121561506357600080fd5b823561506e81614e73565b91506020830135614f5e81614e73565b600181811c9082168061509257607f821691505b6020821081036150b257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008261512057634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b81810381811115611154576111546150ed565b634e487b7160e01b600052603160045260246000fd5b600060018201615176576151766150ed565b5060010190565b600181815b808511156151b857816000190482111561519e5761519e6150ed565b808516156151ab57918102915b93841c9390800290615182565b509250929050565b6000826151cf57506001611154565b816151dc57506000611154565b81600181146151f257600281146151fc57615218565b6001915050611154565b60ff84111561520d5761520d6150ed565b50506001821b611154565b5060208310610133831016604e8410600b841016171561523b575081810a611154565b615245838361517d565b8060001904821115615259576152596150ed565b029392505050565b600061132060ff8416836151c0565b60006020828403121561528257600080fd5b815161132081614f2b565b8082028115828204841417611154576111546150ed565b80820180821115611154576111546150ed565b8082018281126000831280158216821582161715613264576132646150ed565b6000602082840312156152e957600080fd5b815161132081614e73565b60006020828403121561530657600080fd5b5051919050565b60ff8181168382160190811115611154576111546150ed565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156153765784516001600160a01b031683529383019391830191600101615351565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156153ac57600080fd5b8351925060208401519150604084015190509250925092565b8181036000831280158383131683831282161715613266576132666150ed56fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220cb3de85bf1bf687b14dba32224add3ab46fc4233ddeae4ab0f3db1d52baef2fc64736f6c63430008110033

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

0000000000000000000000000000000000000000000000000000000000000440000000000000000000000000000000000000000000000000000000000000048000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000001431e0fae6d7217caa0000000000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000000640000000000000000000000005fd8eb663d3e26a1f998e803485a6de3896a9da2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000099ef717d17d31d2eba665fb1cbaceed7c76a3288000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000000e496e66696e697479205265616c6d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046952656d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059

-----Decoded View---------------
Arg [0] : tokenName (string): Infinity Realm
Arg [1] : tokenSymbol (string): iRem
Arg [2] : decimal (uint8): 18
Arg [3] : amountOfTokenWei (uint256): 100000000000000000000000000000
Arg [4] : setMxTxPer (uint16): 10000
Arg [5] : setMxWalletPer (uint16): 100
Arg [6] : wallet (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [7] : _rewardToken (address): 0x0000000000000000000000000000000000000001
Arg [8] : _minimumTokenBalanceForDividends (uint256): 1000000000000000000
Arg [9] : fee (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [10] : _addrs (address[]): 0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff,0x5B8A969814AEa42CC1faC408e95383eb5c44e059

-----Encoded View---------------
41 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000440
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000480
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000001431e0fae6d7217caa0000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [6] : 0000000000000000000000005fd8eb663d3e26a1f998e803485a6de3896a9da2
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 00000000000000000000000099ef717d17d31d2eba665fb1cbaceed7c76a3288
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [20] : 0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059
Arg [21] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [23] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [25] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [26] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [27] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [28] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [29] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [30] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [31] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [32] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [33] : 00000000000000000000000000000000000000000000000000000000000004c0
Arg [34] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [35] : 496e66696e697479205265616c6d000000000000000000000000000000000000
Arg [36] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [37] : 6952656d00000000000000000000000000000000000000000000000000000000
Arg [38] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [39] : 000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff
Arg [40] : 0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059


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.