ETH Price: $3,368.25 (+0.39%)
Gas: 7 Gwei

Token

QuadraZhao Crypto (QDZ)
 

Overview

Max Total Supply

4,000,000 QDZ

Holders

103

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
214,515.920532701488233218 QDZ

Value
$0.00
0x5f451666c472aee641bdde224a2d143b566fe729
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Quadrazhao

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 2 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 3 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

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

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

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

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

File 4 of 10 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 5 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 6 of 10 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 7 of 10 : ILPDiv.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;



interface DividendPayingTokenInterface {
    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function dividendOf(address _owner) external view returns(uint256);

    /// @notice Withdraws the ether distributed to the sender.
    /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer.
    ///  MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0.
    function withdrawDividend() external;

    /// @notice Withdraws the ether distributed to the sender.
    /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer.
    ///  MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0.
    function withdrawEthDividend() external;

    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function withdrawableDividendOf(address _owner) external view returns(uint256);

    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function withdrawableEthDividendOf(address _owner) external view returns(uint256);

    /// @notice View the amount of dividend in wei that an address has withdrawn.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has withdrawn.
    function withdrawnDividendOf(address _owner) external view returns(uint256);

    /// @notice View the amount of dividend in wei that an address has withdrawn.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has withdrawn.
    function withdrawnEthDividendOf(address _owner) external view returns(uint256);

    /// @notice View the amount of dividend in wei that an address has earned in total.
    /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has earned in total.
    function accumulativeDividendOf(address _owner) external view returns(uint256);

    /// @notice View the amount of dividend in wei that an address has earned in total.
    /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has earned in total.
    function accumulativeEthDividendOf(address _owner) external view returns(uint256);


    /// @dev This event MUST emit when ether is distributed to token holders.
    /// @param from The address which sends ether to this contract.
    /// @param weiAmount The amount of distributed ether in wei.
    event DividendsDistributed(
        address indexed from,
        uint256 weiAmount
    );

    /// @dev This event MUST emit when ether is distributed to token holders.
    /// @param from The address which sends ether to this contract.
    /// @param weiAmount The amount of distributed ether in wei.
    event EthDividendsDistributed(
        address indexed from,
        uint256 weiAmount
    );

    /// @dev This event MUST emit when an address withdraws their dividend.
    /// @param to The address which withdraws ether from this contract.
    /// @param weiAmount The amount of withdrawn ether in wei.
    event DividendWithdrawn(
        address indexed to,
        uint256 weiAmount
    );

    /// @dev This event MUST emit when an address withdraws their dividend.
    /// @param to The address which withdraws ether from this contract.
    /// @param weiAmount The amount of withdrawn ether in wei.
    event EthDividendWithdrawn(
        address indexed to,
        uint256 weiAmount
    );

}

File 8 of 10 : LPDiv.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.10;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./SafeMath.sol";
import "./ILPDiv.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";


interface IPair {
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function token0() external view returns (address);

}

interface IFactory{
    function createPair(address tokenA, address tokenB) external returns (address pair);
    function getPair(address tokenA, address tokenB) external view returns (address pair);
}

interface IUniswapRouter {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);

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

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

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

contract DividendPayingToken is ERC20, DividendPayingTokenInterface, Ownable {

    using SafeMath for uint256;
    using SafeMathUint for uint256;
    using SafeMathInt for int256;

    address public LP_Token;


    // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small.
    // For more discussion about choosing the value of `magnitude`,
    //  see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728
    uint256 constant internal magnitude = 2**128;

    uint256 internal magnifiedDividendPerShare;
    uint256 internal ethDividendPerShare;

    // About dividendCorrection:
    // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with:
    //   `dividendOf(_user) = dividendPerShare * balanceOf(_user)`.
    // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens),
    //   `dividendOf(_user)` should not be changed,
    //   but the computed value of `dividendPerShare * balanceOf(_user)` is changed.
    // To keep the `dividendOf(_user)` unchanged, we add a correction term:
    //   `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`,
    //   where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed:
    //   `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`.
    // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed.
    mapping(address => int256) internal magnifiedDividendCorrections;
    mapping(address => uint256) internal withdrawnDividends;
    mapping(address => int256) internal ethDividendCorrections;
    mapping(address => uint256) internal ethWithdrawnDividends;

    uint256 public totalDividendsDistributed;
    uint256 public totalDividendsWithdrawn;

    uint256 public totalEthDividendsDistributed;
    uint256 public totalEthDividendsWithdrawn;

    constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {}
    receive() external payable {}

    function distributeLPDividends(uint256 amount) public payable onlyOwner{
        require(totalSupply() > 0);

        if (amount > 0) {
            magnifiedDividendPerShare = magnifiedDividendPerShare.add(
                (amount).mul(magnitude) / totalSupply()
            );
            emit DividendsDistributed(msg.sender, amount);

            totalDividendsDistributed = totalDividendsDistributed.add(amount);
        }
        if (msg.value >0) {
            ethDividendPerShare = ethDividendPerShare.add(
                (msg.value).mul(magnitude) / totalSupply()
            );
            emit EthDividendsDistributed(msg.sender, msg.value);
            totalEthDividendsDistributed = totalEthDividendsDistributed.add(msg.value);
        }
    }

    /// @notice Withdraws the ether distributed to the sender.
    /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
    function withdrawDividend() public virtual override {
        _withdrawDividendOfUser(payable(msg.sender));
    }

    /// @notice Withdraws the ether distributed to the sender.
    /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
    function withdrawEthDividend() public virtual override {
        _withdrawEthDividendOfUser(payable(msg.sender));
    }

    /// @notice Withdraws the ether distributed to the sender.
    /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
    function _withdrawDividendOfUser(address payable user) internal returns (uint256) {
        uint256 _withdrawableDividend = withdrawableDividendOf(user);
        if (_withdrawableDividend > 0) {
            withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);
            totalDividendsWithdrawn += _withdrawableDividend;
            emit DividendWithdrawn(user, _withdrawableDividend);
            bool success = IERC20(LP_Token).transfer(user, _withdrawableDividend);

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

            return _withdrawableDividend;
        }

        return 0;
    }

    /// @notice Withdraws the ether distributed to the sender.
    /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
    function _withdrawEthDividendOfUser(address payable user) internal returns (uint256) {
        uint256 _ethWithdrawableDividend = withdrawableEthDividendOf(user);
        if (_ethWithdrawableDividend > 0) {
            ethWithdrawnDividends[user] = ethWithdrawnDividends[user].add(_ethWithdrawableDividend);
            totalEthDividendsWithdrawn += _ethWithdrawableDividend;
            emit EthDividendWithdrawn(user, _ethWithdrawableDividend);
            (bool success, ) = payable(user).call{value: _ethWithdrawableDividend}("");
            if(!success) {
                ethWithdrawnDividends[user] = ethWithdrawnDividends[user].sub(_ethWithdrawableDividend);
                totalEthDividendsWithdrawn -= _ethWithdrawableDividend;
                return 0;
            }

            return _ethWithdrawableDividend;
        }

        return 0;
    }


    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function dividendOf(address _owner) public view override returns(uint256) {
        return withdrawableDividendOf(_owner);
    }

    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function withdrawableDividendOf(address _owner) public view override returns(uint256) {
        return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]);
    }

    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function withdrawableEthDividendOf(address _owner) public view override returns(uint256) {
        return accumulativeEthDividendOf(_owner).sub(ethWithdrawnDividends[_owner]);
    }

    /// @notice View the amount of dividend in wei that an address has withdrawn.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has withdrawn.
    function withdrawnDividendOf(address _owner) public view override returns(uint256) {
        return withdrawnDividends[_owner];
    }

    /// @notice View the amount of dividend in wei that an address has withdrawn.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has withdrawn.
    function withdrawnEthDividendOf(address _owner) public view override returns(uint256) {
        return withdrawnDividends[_owner];
    }


    /// @notice View the amount of dividend in wei that an address has earned in total.
    /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
    /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has earned in total.
    function accumulativeDividendOf(address _owner) public view override returns(uint256) {
        return magnifiedDividendPerShare.mul(balanceOf(_owner)).toInt256Safe()
        .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude;
    }

    /// @notice View the amount of dividend in wei that an address has earned in total.
    /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
    /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has earned in total.
    function accumulativeEthDividendOf(address _owner) public view override returns(uint256) {
        return ethDividendPerShare.mul(balanceOf(_owner)).toInt256Safe()
        .add(ethDividendCorrections[_owner]).toUint256Safe() / magnitude;
    }

    /// @dev Internal function that transfer tokens from one address to another.
    /// Update magnifiedDividendCorrections to keep dividends unchanged.
    /// @param from The address to transfer from.
    /// @param to The address to transfer to.
    /// @param value The amount to be transferred.
    function _transfer(address from, address to, uint256 value) internal virtual override {
        require(false);

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

        int256 _ethCorrection = ethDividendPerShare.mul(value).toInt256Safe();
        ethDividendCorrections[from] = ethDividendCorrections[from].add(_ethCorrection);
        ethDividendCorrections[to] = ethDividendCorrections[to].sub(_ethCorrection);
    }

    /// @dev Internal function that mints tokens to an account.
    /// Update magnifiedDividendCorrections to keep dividends unchanged.
    /// @param account The account that will receive the created tokens.
    /// @param value The amount that will be created.
    function _mint(address account, uint256 value) internal override {
        super._mint(account, value);

        magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
            .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
        ethDividendCorrections[account] = ethDividendCorrections[account]
            .sub( (ethDividendPerShare.mul(value)).toInt256Safe() );
    }

    /// @dev Internal function that burns an amount of the token of a given account.
    /// Update magnifiedDividendCorrections to keep dividends unchanged.
    /// @param account The account whose tokens will be burnt.
    /// @param value The amount that will be burnt.
    function _burn(address account, uint256 value) internal override {
        super._burn(account, value);

        magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
            .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
        ethDividendCorrections[account] = ethDividendCorrections[account]
            .add( (ethDividendPerShare.mul(value)).toInt256Safe() );
    }

    function _setBalance(address account, uint256 newBalance) internal {
        uint256 currentBalance = balanceOf(account);

        if(newBalance > currentBalance) {
            uint256 mintAmount = newBalance.sub(currentBalance);
            _mint(account, mintAmount);
        } else if(newBalance < currentBalance) {
            uint256 burnAmount = currentBalance.sub(newBalance);
            _burn(account, burnAmount);
        }
    }
}

File 9 of 10 : Quadrazhao.sol
// SPDX-License-Identifier: MIT

pragma solidity =0.8.15;

import "./LPDiv.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract Quadrazhao is ERC20, Ownable {
    IUniswapRouter public router;
    address public pair;

    bool private swapping;
    bool public swapEnabled = true;
    bool public claimEnabled;
    bool public tradingEnabled;

    QuadrazhaoDividendTracker public dividendTracker;

    address public devWallet;

    uint256 public swapTokensAtAmount;
    uint256 public maxBuyAmount;
    uint256 public maxSellAmount;
    uint256 public maxWallet;
    uint256 public minUsefulTransfer;
    uint256 public txCounter;
    uint256 public bonusReward;
    uint256 public antiBotEndTime;
    uint256 public antiBotAmount;
    uint256 private antiBotDuration = 25;

    struct Taxes {
        uint256 decentralizedLiquidity;
        uint256 dev;
        uint256 transferToEarn;
    }

    Taxes public buyTaxes = Taxes(10, 10, 10);
    Taxes public sellTaxes = Taxes(10, 10, 10);

    uint256 public totalBuyTax = 30; //per 10 ~ 3%
    uint256 public totalSellTax = 30; //per 10 ~ 3%

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public automatedMarketMakerPairs;
    mapping(address => bool) private _isExcludedFromMaxWallet;

    ///////////////
    //   Events  //
    ///////////////

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event GasForProcessingUpdated(
        uint256 indexed newValue,
        uint256 indexed oldValue
    );
    event SendDividends(uint256 tokensSwapped, uint256 amount);
    event ProcessedDividendTracker(
        uint256 iterations,
        uint256 claims,
        uint256 lastProcessedIndex,
        bool indexed automatic,
        uint256 gas,
        address indexed processor
    );
    event SendLuckyEth(address toAddress, uint256 amount);

    constructor(
        address _developerwallet,
        address _routerAddress
    ) ERC20("QuadraZhao Crypto", "QDZ") {
        dividendTracker = new QuadrazhaoDividendTracker();
        setDevWallet(_developerwallet);

        IUniswapRouter _router = IUniswapRouter(_routerAddress);
        address _pair = IFactory(_router.factory()).createPair(
            address(this),
            _router.WETH()
        );

        router = _router;
        pair = _pair;
        setSwapTokensAtAmount(10_000);
        updateMaxWalletAmount(2_000_000);
        setMaxBuyAndSell(2_000_000, 2_000_000);
        minUsefulTransfer = 100_000 ether;
        antiBotAmount = 100_000 ether;

        _setAutomatedMarketMakerPair(_pair, true);

        dividendTracker.updateLP_Token(pair);

        dividendTracker.excludeFromDividends(address(dividendTracker), true);
        dividendTracker.excludeFromDividends(address(this), true);
        dividendTracker.excludeFromDividends(owner(), true);
        dividendTracker.excludeFromDividends(address(0xdead), true);
        dividendTracker.excludeFromDividends(address(_router), true);

        excludeFromMaxWallet(address(_pair), true);
        excludeFromMaxWallet(address(this), true);
        excludeFromMaxWallet(address(_router), true);

        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);

        _mint(owner(), 4_000_000 * (10 ** 18));
    }

    receive() external payable {}

    function updateDividendTracker(address newAddress) public onlyOwner {
        QuadrazhaoDividendTracker newDividendTracker = QuadrazhaoDividendTracker(
                payable(newAddress)
            );
        newDividendTracker.excludeFromDividends(
            address(newDividendTracker),
            true
        );
        newDividendTracker.excludeFromDividends(address(this), true);
        newDividendTracker.excludeFromDividends(owner(), true);
        newDividendTracker.excludeFromDividends(address(router), true);
        dividendTracker = newDividendTracker;
    }

    function devBonusReward() public payable {
        require(msg.value > 0, "value must greater than 0");
        bonusReward += msg.value;
    }

    function trackerRescueETH(address recipient) external {
        require(msg.sender == devWallet, "Only dev");
        payable(recipient).transfer(address(this).balance);
    }

    /// @notice Manual claim the dividends
    function claim() external {
        require(claimEnabled, "Claim not enabled");
        dividendTracker.processAccount(payable(msg.sender));
    }

    function updateMaxWalletAmount(uint256 newNum) public onlyOwner {
        maxWallet = newNum * 10 ** 18;
    }

    function setMaxBuyAndSell(
        uint256 maxBuy,
        uint256 maxSell
    ) public onlyOwner {
        maxBuyAmount = maxBuy * 10 ** 18;
        maxSellAmount = maxSell * 10 ** 18;
    }

    function setSwapTokensAtAmount(uint256 amount) public onlyOwner {
        swapTokensAtAmount = amount * 10 ** 18;
    }

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

    /// @notice Withdraw tokens sent by mistake.
    /// @param tokenAddress The address of the token to withdraw
    function rescueETH20Tokens(address tokenAddress) external onlyOwner {
        IERC20(tokenAddress).transfer(
            owner(),
            IERC20(tokenAddress).balanceOf(address(this))
        );
    }

    /// @notice Send remaining ETH to dev
    /// @dev It will send all ETH to dev
    function forceSend() external onlyOwner {
        uint256 ETHbalance = address(this).balance;
        (bool success, ) = payable(devWallet).call{value: ETHbalance}("");
        require(success);
    }

    function trackerRescueERC20Tokens(address tokenAddress) external {
        require(msg.sender == devWallet, "Only dev");
        dividendTracker.trackerRescueERC20Tokens(msg.sender, tokenAddress);
    }

    function updateRouter(address newRouter) external onlyOwner {
        router = IUniswapRouter(newRouter);
    }

    /////////////////////////////////
    // Exclude / Include functions //
    /////////////////////////////////

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        require(
            _isExcludedFromFees[account] != excluded,
            "Account is already the value of 'excluded'"
        );
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

    /// @dev "true" to exlcude, "false" to include
    function excludeFromDividends(
        address account,
        bool value
    ) public onlyOwner {
        dividendTracker.excludeFromDividends(account, value);
    }

    function setDevWallet(address newWallet) public onlyOwner {
        devWallet = newWallet;
    }

    function _setBuyTaxes(
        uint256 _decentralizedLiquidity,
        uint256 _dev,
        uint256 _transferToEarn
    ) internal {
        buyTaxes = Taxes(_decentralizedLiquidity, _dev, _transferToEarn);
        totalBuyTax = _decentralizedLiquidity + _dev + _transferToEarn;
    }

    function _setSellTaxes(
        uint256 _decentralizedLiquidity,
        uint256 _dev,
        uint256 _transferToEarn
    ) internal {
        sellTaxes = Taxes(_decentralizedLiquidity, _dev, _transferToEarn);
        totalSellTax = _decentralizedLiquidity + _dev + _transferToEarn;
    }

    /// @notice Enable or disable internal swaps
    /// @dev Set "true" to enable internal swaps for liquidity, treasury and dividends
    function setSwapEnabled(bool _enabled) external onlyOwner {
        swapEnabled = _enabled;
    }

    function activateTrading() external onlyOwner {
        require(!tradingEnabled, "Trading already enabled");
        tradingEnabled = true;
        claimEnabled = true;
        antiBotEndTime = block.timestamp + antiBotDuration;
    }

    function setClaimEnabled(bool state) external onlyOwner {
        claimEnabled = state;
    }

    function setLP_Token(address _lpToken) external onlyOwner {
        dividendTracker.updateLP_Token(_lpToken);
    }

    /// @dev Set new pairs created due to listing in new DEX
    function setAutomatedMarketMakerPair(
        address newPair,
        bool value
    ) external onlyOwner {
        _setAutomatedMarketMakerPair(newPair, value);
    }

    function _setAutomatedMarketMakerPair(address newPair, bool value) private {
        require(
            automatedMarketMakerPairs[newPair] != value,
            "Automated market maker pair is already set to that value"
        );
        automatedMarketMakerPairs[newPair] = value;

        if (value) {
            dividendTracker.excludeFromDividends(newPair, true);
        }

        emit SetAutomatedMarketMakerPair(newPair, value);
    }

    //////////////////////
    // Getter Functions //
    //////////////////////

    function getTotalDividendsDistributed() external view returns (uint256) {
        return dividendTracker.totalDividendsDistributed();
    }

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

    function withdrawableDividendOf(
        address account
    ) public view returns (uint256) {
        return dividendTracker.withdrawableDividendOf(account);
    }

    function dividendTokenBalanceOf(
        address account
    ) public view returns (uint256) {
        return dividendTracker.balanceOf(account);
    }

    function getAccountInfo(
        address account
    ) external view returns (address, uint256, uint256, uint256, uint256) {
        return dividendTracker.getAccount(account);
    }

    ////////////////////////
    // Transfer Functions //
    ////////////////////////

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

        if (
            !_isExcludedFromFees[from] && !_isExcludedFromFees[to] && !swapping
        ) {
            require(tradingEnabled, "Trading not active");
            if (automatedMarketMakerPairs[to]) {
                require(
                    amount <= maxSellAmount,
                    "You are exceeding maxSellAmount"
                );
            } else if (automatedMarketMakerPairs[from])
                require(
                    amount <= maxBuyAmount,
                    "You are exceeding maxBuyAmount"
                );
            if (!_isExcludedFromMaxWallet[to]) {
                require(
                    amount + balanceOf(to) <= maxWallet,
                    "Unable to exceed Max Wallet"
                );
            }
        }

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

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            canSwap &&
            !swapping &&
            swapEnabled &&
            !automatedMarketMakerPairs[to] &&
            !automatedMarketMakerPairs[from] &&
            amount >= minUsefulTransfer
        ) {
            swapping = true;

            if (totalSellTax > 0) {
                swapAndLiquify(swapTokensAtAmount);
            }

            swapping = false;
        }

        bool takeFee = !swapping;

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

        if (!automatedMarketMakerPairs[to] && !automatedMarketMakerPairs[from])
            takeFee = false;

        if (takeFee) {
            uint256 feeAmt;
            if (automatedMarketMakerPairs[to])
                feeAmt = (amount * totalSellTax) / 1000;
            else if (automatedMarketMakerPairs[from])
                feeAmt = (amount * totalBuyTax) / 1000;
            if (
                antiBotEndTime > block.timestamp &&
                amount > antiBotAmount &&
                from != address(this) &&
                to != address(this) &&
                automatedMarketMakerPairs[from]
            ) {
                feeAmt = (amount * 850) / 1000; //85%
            }

            amount = amount - feeAmt;
            super._transfer(from, address(this), feeAmt);
            txCounter += 1;
            if (txCounter > 1000 && txCounter <= 4000 && totalSellTax != 20) {
                _setBuyTaxes(5, 5, 10);
                _setSellTaxes(5, 5, 10);
            } else if (
                txCounter > 4000 && txCounter <= 10000 && totalSellTax != 10
            ) {
                _setBuyTaxes(5, 0, 5);
                _setSellTaxes(5, 0, 5);
            } else if (txCounter > 10000 && totalSellTax != 0) {
                _setBuyTaxes(0, 0, 0);
                _setSellTaxes(0, 0, 0);
            }
        }
        super._transfer(from, to, amount);

        try dividendTracker.setBalance(from, balanceOf(from)) {} catch {}
        try dividendTracker.setBalance(to, balanceOf(to)) {} catch {}
    }

    function swapAndLiquify(uint256 tokens) private {
        uint256 toSwapForLiq = ((tokens * sellTaxes.decentralizedLiquidity) /
            totalSellTax) / 2;
        uint256 tokensToAddDecentralizedLiquidityWith = ((tokens *
            sellTaxes.decentralizedLiquidity) / totalSellTax) / 2;
        uint256 toSwapForDev = (tokens * sellTaxes.dev) / totalSellTax;
        uint256 toSwapForTransfer = (tokens * sellTaxes.transferToEarn) /
            totalSellTax;
        if (toSwapForLiq > 0) {
            swapTokensForETH(toSwapForLiq);

            uint256 currentbalance = address(this).balance - bonusReward;

            if (currentbalance > 0) {
                // Add liquidity to uni
                addLiquidity(
                    tokensToAddDecentralizedLiquidityWith,
                    currentbalance
                );
            }
        }

        if (toSwapForDev > 0) {
            swapTokensForETH(toSwapForDev);

            uint256 EthTaxBalance = address(this).balance - bonusReward;

            // Send ETH to dev
            uint256 devAmt = EthTaxBalance;

            if (devAmt > 0) {
                (bool success, ) = payable(devWallet).call{value: devAmt}("");
                require(success, "Failed to send ETH to dev wallet");
            }
        }

        if (toSwapForTransfer > 0) {
            swapTokensForETH(toSwapForTransfer);
        }

        uint256 luckyEthBalance = address(this).balance;
        if (luckyEthBalance > 0) {
            (bool success, ) = payable(msg.sender).call{value: luckyEthBalance}(
                ""
            );
            require(success, "Failed to send ETH to user wallet");
            bonusReward = 0;
            emit SendLuckyEth(msg.sender, luckyEthBalance);
        }

        uint256 lpBalance = IERC20(pair).balanceOf(address(this));

        //Send LP to dividends
        uint256 dividends = lpBalance;

        if (dividends > 0) {
            bool success = IERC20(pair).transfer(
                address(dividendTracker),
                dividends
            );
            if (success) {
                dividendTracker.distributeLPDividends(dividends);
                emit SendDividends(tokens, dividends);
            }
        }
    }

    // transfers LP from the owners wallet to holders // must approve this contract, on pair contract before calling
    function ManualLiquidityDistribution(uint256 amount) public onlyOwner {
        bool success = IERC20(pair).transferFrom(
            msg.sender,
            address(dividendTracker),
            amount
        );
        if (success) {
            dividendTracker.distributeLPDividends(amount);
        }
    }

    function swapTokensForETH(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();

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

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

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

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

contract QuadrazhaoDividendTracker is Ownable, DividendPayingToken {
    struct AccountInfo {
        address account;
        uint256 withdrawableDividends;
        uint256 totalDividends;
        uint256 lastClaimTime;
    }

    mapping(address => bool) public excludedFromDividends;

    mapping(address => uint256) public lastClaimTimes;

    event ExcludeFromDividends(address indexed account, bool value);
    event Claim(address indexed account, uint256 amount);

    constructor()
        DividendPayingToken(
            "Quadrazhao_Dividend_Tracker",
            "Quadrazhao_Dividend_Tracker"
        )
    {}

    function trackerRescueERC20Tokens(
        address recipient,
        address tokenAddress
    ) external onlyOwner {
        IERC20(tokenAddress).transfer(
            recipient,
            IERC20(tokenAddress).balanceOf(address(this))
        );
    }

    function updateLP_Token(address _lpToken) external onlyOwner {
        LP_Token = _lpToken;
    }

    function _transfer(address, address, uint256) internal pure override {
        require(false, "Quadrazhao_Dividend_Tracker: No transfers allowed");
    }

    function excludeFromDividends(
        address account,
        bool value
    ) external onlyOwner {
        require(excludedFromDividends[account] != value);
        excludedFromDividends[account] = value;
        if (value == true) {
            _setBalance(account, 0);
        } else {
            _setBalance(account, balanceOf(account));
        }
        emit ExcludeFromDividends(account, value);
    }

    function getAccount(
        address account
    ) public view returns (address, uint256, uint256, uint256, uint256) {
        AccountInfo memory info;
        info.account = account;
        info.withdrawableDividends = withdrawableDividendOf(account);
        info.totalDividends = accumulativeDividendOf(account);
        info.lastClaimTime = lastClaimTimes[account];
        return (
            info.account,
            info.withdrawableDividends,
            info.totalDividends,
            info.lastClaimTime,
            totalDividendsWithdrawn
        );
    }

    function setBalance(
        address account,
        uint256 newBalance
    ) external onlyOwner {
        if (excludedFromDividends[account]) {
            return;
        }
        _setBalance(account, newBalance);
    }

    function processAccount(
        address payable account
    ) external onlyOwner returns (bool) {
        uint256 amount = _withdrawDividendOfUser(account);

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

File 10 of 10 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_developerwallet","type":"address"},{"internalType":"address","name":"_routerAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","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":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"toAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendLuckyEth","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ManualLiquidityDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"activateTrading","outputs":[],"stateMutability":"nonpayable","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":[],"name":"antiBotAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antiBotEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTaxes","outputs":[{"internalType":"uint256","name":"decentralizedLiquidity","type":"uint256"},{"internalType":"uint256","name":"dev","type":"uint256"},{"internalType":"uint256","name":"transferToEarn","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devBonusReward","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract QuadrazhaoDividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minUsefulTransfer","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":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"rescueETH20Tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTaxes","outputs":[{"internalType":"uint256","name":"decentralizedLiquidity","type":"uint256"},{"internalType":"uint256","name":"dev","type":"uint256"},{"internalType":"uint256","name":"transferToEarn","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newPair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setClaimEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_lpToken","type":"address"}],"name":"setLP_Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxBuy","type":"uint256"},{"internalType":"uint256","name":"maxSell","type":"uint256"}],"name":"setMaxBuyAndSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellTax","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":"tokenAddress","type":"address"}],"name":"trackerRescueERC20Tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"trackerRescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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":"txCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"updateRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6007805460ff60a81b1916600160a81b17905560196013819055600a608081905260a081905260c081905260148190556015819055601681905561014060405260e0819052610100819052610120819052601781905560188190559055601e601a819055601b553480156200007357600080fd5b5060405162005d0f38038062005d0f833981016040819052620000969162000b38565b604051806040016040528060118152602001705175616472615a68616f2043727970746f60781b8152506040518060400160405280600381526020016228a22d60e91b8152508160039081620000ed919062000c14565b506004620000fc828262000c14565b50505062000119620001136200065060201b60201c565b62000654565b604051620001279062000b0d565b604051809103906000f08015801562000144573d6000803e3d6000fd5b50600880546001600160a01b0319166001600160a01b03929092169190911790556200017082620006a6565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001dc919062000ce0565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200022a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000250919062000ce0565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200029e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c4919062000ce0565b600680546001600160a01b038086166001600160a01b0319928316179092556007805492841692909116919091179055905062000303612710620006d2565b62000311621e8480620006f6565b62000320621e8480806200071a565b69152d02c7e14af6800000600e8190556012556200034081600162000756565b60085460075460405163225b5ecf60e11b81526001600160a01b0391821660048201529116906344b6bd9e90602401600060405180830381600087803b1580156200038a57600080fd5b505af11580156200039f573d6000803e3d6000fd5b505060085460405162241fbd60e51b81526001600160a01b0390911660048201819052600160248301529250630483f7a09150604401600060405180830381600087803b158015620003f057600080fd5b505af115801562000405573d6000803e3d6000fd5b505060085460405162241fbd60e51b8152306004820152600160248201526001600160a01b039091169250630483f7a09150604401600060405180830381600087803b1580156200045557600080fd5b505af11580156200046a573d6000803e3d6000fd5b50506008546001600160a01b03169150630483f7a09050620004946005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b158015620004dd57600080fd5b505af1158015620004f2573d6000803e3d6000fd5b505060085460405162241fbd60e51b815261dead6004820152600160248201526001600160a01b039091169250630483f7a09150604401600060405180830381600087803b1580156200054457600080fd5b505af115801562000559573d6000803e3d6000fd5b505060085460405162241fbd60e51b81526001600160a01b038681166004830152600160248301529091169250630483f7a09150604401600060405180830381600087803b158015620005ab57600080fd5b505af1158015620005c0573d6000803e3d6000fd5b50505050620005d7816001620008c460201b60201c565b620005e4306001620008c4565b620005f1826001620008c4565b62000610620006086005546001600160a01b031690565b6001620008f9565b6200061d306001620008f9565b62000646620006346005546001600160a01b031690565b6a034f086f3b33b684000000620009e7565b5050505062000d58565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620006b062000aaa565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b620006dc62000aaa565b620006f081670de0b6b3a764000062000d1b565b600a5550565b6200070062000aaa565b6200071481670de0b6b3a764000062000d1b565b600d5550565b6200072462000aaa565b6200073882670de0b6b3a764000062000d1b565b600b556200074f81670de0b6b3a764000062000d1b565b600c555050565b6001600160a01b0382166000908152601d602052604090205481151560ff909116151503620007f25760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084015b60405180910390fd5b6001600160a01b0382166000908152601d60205260409020805460ff19168215801591909117909155620008885760085460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b1580156200086e57600080fd5b505af115801562000883573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b620008ce62000aaa565b6001600160a01b03919091166000908152601e60205260409020805460ff1916911515919091179055565b6200090362000aaa565b6001600160a01b0382166000908152601c602052604090205481151560ff909116151503620009885760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401620007e9565b6001600160a01b0382166000818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03821662000a3f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620007e9565b806002600082825462000a53919062000d3d565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b0316331462000b065760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620007e9565b565b505050565b611f7d8062003d9283390190565b80516001600160a01b038116811462000b3357600080fd5b919050565b6000806040838503121562000b4c57600080fd5b62000b578362000b1b565b915062000b676020840162000b1b565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000b9b57607f821691505b60208210810362000bbc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b0857600081815260208120601f850160051c8101602086101562000beb5750805b601f850160051c820191505b8181101562000c0c5782815560010162000bf7565b505050505050565b81516001600160401b0381111562000c305762000c3062000b70565b62000c488162000c41845462000b86565b8462000bc2565b602080601f83116001811462000c80576000841562000c675750858301515b600019600386901b1c1916600185901b17855562000c0c565b600085815260208120601f198616915b8281101562000cb15788860151825594840194600190910190840162000c90565b508582101562000cd05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000cf357600080fd5b62000cfe8262000b1b565b9392505050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161562000d385762000d3862000d05565b500290565b6000821982111562000d535762000d5362000d05565b500190565b61302a8062000d686000396000f3fe6080604052600436106103a65760003560e01c8063864701a5116101e7578063b62496f51161010d578063dd62ed3e116100a0578063f2fde38b1161006f578063f2fde38b14610ad4578063f66895a314610af4578063f887ea4014610b13578063f8b45b0514610b3357600080fd5b8063dd62ed3e14610a68578063e01af92c14610a88578063e2f4560514610aa8578063eb94a68d14610abe57600080fd5b8063c18bc195116100dc578063c18bc195146109f2578063c851cc3214610a12578063cf13d91b14610a32578063d2fcc00114610a4857600080fd5b8063b62496f514610962578063bdf1436d14610992578063bfd9a759146109b2578063c0246668146109d257600080fd5b80639a7a23d611610185578063a9059cbb11610154578063a9059cbb14610904578063aab41dbd14610924578063afa4f3b21461092c578063b1fa996a1461094c57600080fd5b80639a7a23d614610884578063a457c2d7146108a4578063a8aa1b31146108c4578063a8b9d240146108e457600080fd5b80638da5cb5b116101c15780638da5cb5b146108115780638ea5220f1461082f57806392929a091461084f57806395d89b411461086f57600080fd5b8063864701a5146107a157806388bdd9be146107db57806388e765ff146107fb57600080fd5b8063313ce567116102cc5780636843cd841161026a578063715018a611610239578063715018a61461070457806374f079b81461071957806379b447bd1461072f5780637b510fe81461074f57600080fd5b80636843cd841461066d5780636c3470a71461068d5780636ddd1713146106ad57806370a08231146106ce57600080fd5b80634ada218b116102a65780634ada218b146105e85780634e71d92d146106095780634fbee1931461061e57806366d602ae1461065757600080fd5b8063313ce5671461059657806339509351146105b257806346469afb146105d257600080fd5b806318160ddd116103445780632866ed21116103135780632866ed21146105085780632c1f5216146105295780632e1ab9041461056157806330bb4cff1461058157600080fd5b806318160ddd1461049d5780631bff7898146104b25780631f53ac02146104c857806323b872dd146104e857600080fd5b80630a78097d116103805780630a78097d1461042f5780630bd05b691461044f57806312b77e8a1461046457806317574ce01461047957600080fd5b80630483f7a0146103b257806306fdde03146103d4578063095ea7b3146103ff57600080fd5b366103ad57005b600080fd5b3480156103be57600080fd5b506103d26103cd366004612bb6565b610b49565b005b3480156103e057600080fd5b506103e9610bbc565b6040516103f69190612bef565b60405180910390f35b34801561040b57600080fd5b5061041f61041a366004612c44565b610c4e565b60405190151581526020016103f6565b34801561043b57600080fd5b506103d261044a366004612c70565b610c66565b34801561045b57600080fd5b506103d2610d6a565b34801561047057600080fd5b506103d2610df8565b34801561048557600080fd5b5061048f60125481565b6040519081526020016103f6565b3480156104a957600080fd5b5060025461048f565b3480156104be57600080fd5b5061048f601b5481565b3480156104d457600080fd5b506103d26104e3366004612c70565b610e64565b3480156104f457600080fd5b5061041f610503366004612c94565b610e8e565b34801561051457600080fd5b5060075461041f90600160b01b900460ff1681565b34801561053557600080fd5b50600854610549906001600160a01b031681565b6040516001600160a01b0390911681526020016103f6565b34801561056d57600080fd5b506103d261057c366004612c70565b610eb2565b34801561058d57600080fd5b5061048f610f1d565b3480156105a257600080fd5b50604051601281526020016103f6565b3480156105be57600080fd5b5061041f6105cd366004612c44565b610f90565b3480156105de57600080fd5b5061048f601a5481565b3480156105f457600080fd5b5060075461041f90600160b81b900460ff1681565b34801561061557600080fd5b506103d2610fb2565b34801561062a57600080fd5b5061041f610639366004612c70565b6001600160a01b03166000908152601c602052604090205460ff1690565b34801561066357600080fd5b5061048f600c5481565b34801561067957600080fd5b5061048f610688366004612c70565b611070565b34801561069957600080fd5b506103d26106a8366004612c70565b6110e6565b3480156106b957600080fd5b5060075461041f90600160a81b900460ff1681565b3480156106da57600080fd5b5061048f6106e9366004612c70565b6001600160a01b031660009081526020819052604090205490565b34801561071057600080fd5b506103d2611163565b34801561072557600080fd5b5061048f600f5481565b34801561073b57600080fd5b506103d261074a366004612cd5565b611177565b34801561075b57600080fd5b5061076f61076a366004612c70565b6111ad565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a0016103f6565b3480156107ad57600080fd5b506014546015546016546107c092919083565b604080519384526020840192909252908201526060016103f6565b3480156107e757600080fd5b506103d26107f6366004612c70565b611237565b34801561080757600080fd5b5061048f600b5481565b34801561081d57600080fd5b506005546001600160a01b0316610549565b34801561083b57600080fd5b50600954610549906001600160a01b031681565b34801561085b57600080fd5b506103d261086a366004612cf7565b611409565b34801561087b57600080fd5b506103e961142f565b34801561089057600080fd5b506103d261089f366004612bb6565b61143e565b3480156108b057600080fd5b5061041f6108bf366004612c44565b611450565b3480156108d057600080fd5b50600754610549906001600160a01b031681565b3480156108f057600080fd5b5061048f6108ff366004612c70565b6114cb565b34801561091057600080fd5b5061041f61091f366004612c44565b6114fe565b6103d261150c565b34801561093857600080fd5b506103d2610947366004612d14565b611575565b34801561095857600080fd5b5061048f60115481565b34801561096e57600080fd5b5061041f61097d366004612c70565b601d6020526000908152604090205460ff1681565b34801561099e57600080fd5b506103d26109ad366004612d14565b611595565b3480156109be57600080fd5b506103d26109cd366004612c70565b61165a565b3480156109de57600080fd5b506103d26109ed366004612bb6565b6116d4565b3480156109fe57600080fd5b506103d2610a0d366004612d14565b6117be565b348015610a1e57600080fd5b506103d2610a2d366004612c70565b6117de565b348015610a3e57600080fd5b5061048f60105481565b348015610a5457600080fd5b506103d2610a63366004612bb6565b611808565b348015610a7457600080fd5b5061048f610a83366004612d2d565b61183b565b348015610a9457600080fd5b506103d2610aa3366004612cf7565b611866565b348015610ab457600080fd5b5061048f600a5481565b348015610aca57600080fd5b5061048f600e5481565b348015610ae057600080fd5b506103d2610aef366004612c70565b61188c565b348015610b0057600080fd5b506017546018546019546107c092919083565b348015610b1f57600080fd5b50600654610549906001600160a01b031681565b348015610b3f57600080fd5b5061048f600d5481565b610b51611902565b60085460405162241fbd60e51b81526001600160a01b038481166004830152831515602483015290911690630483f7a0906044015b600060405180830381600087803b158015610ba057600080fd5b505af1158015610bb4573d6000803e3d6000fd5b505050505050565b606060038054610bcb90612d5b565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf790612d5b565b8015610c445780601f10610c1957610100808354040283529160200191610c44565b820191906000526020600020905b815481529060010190602001808311610c2757829003601f168201915b5050505050905090565b600033610c5c81858561195c565b5060019392505050565b610c6e611902565b806001600160a01b031663a9059cbb610c8f6005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015610cd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf79190612d95565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610d42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d669190612dae565b5050565b610d72611902565b600754600160b81b900460ff1615610dd15760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c656400000000000000000060448201526064015b60405180910390fd5b6007805461ffff60b01b191661010160b01b179055601354610df39042612de1565b601155565b610e00611902565b60095460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610e51576040519150601f19603f3d011682016040523d82523d6000602084013e610e56565b606091505b5050905080610d6657600080fd5b610e6c611902565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600033610e9c858285611a80565b610ea7858585611afa565b506001949350505050565b610eba611902565b60085460405163225b5ecf60e11b81526001600160a01b038381166004830152909116906344b6bd9e906024015b600060405180830381600087803b158015610f0257600080fd5b505af1158015610f16573d6000803e3d6000fd5b5050505050565b600854604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015610f67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8b9190612d95565b905090565b600033610c5c818585610fa3838361183b565b610fad9190612de1565b61195c565b600754600160b01b900460ff16610fff5760405162461bcd60e51b815260206004820152601160248201527010db185a5b481b9bdd08195b98589b1959607a1b6044820152606401610dc8565b60085460405163807ab4f760e01b81523360048201526001600160a01b039091169063807ab4f7906024016020604051808303816000875af1158015611049573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106d9190612dae565b50565b6008546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b602060405180830381865afa1580156110bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e09190612d95565b92915050565b6009546001600160a01b0316331461112b5760405162461bcd60e51b815260206004820152600860248201526727b7363c903232bb60c11b6044820152606401610dc8565b600854604051631c18216760e21b81523360048201526001600160a01b03838116602483015290911690637060859c90604401610ee8565b61116b611902565b6111756000612226565b565b61117f611902565b61119182670de0b6b3a7640000612df9565b600b556111a681670de0b6b3a7640000612df9565b600c555050565b60085460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839291169063fbcbc0f19060240160a060405180830381865afa158015611201573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112259190612e18565b939a9299509097509550909350915050565b61123f611902565b60405162241fbd60e51b81526001600160a01b03821660048201819052600160248301528291630483f7a090604401600060405180830381600087803b15801561128857600080fd5b505af115801561129c573d6000803e3d6000fd5b505060405162241fbd60e51b8152306004820152600160248201526001600160a01b0384169250630483f7a09150604401600060405180830381600087803b1580156112e757600080fd5b505af11580156112fb573d6000803e3d6000fd5b50505050806001600160a01b0316630483f7a06113206005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b15801561136857600080fd5b505af115801561137c573d6000803e3d6000fd5b505060065460405162241fbd60e51b81526001600160a01b039182166004820152600160248201529084169250630483f7a09150604401600060405180830381600087803b1580156113cd57600080fd5b505af11580156113e1573d6000803e3d6000fd5b5050600880546001600160a01b0319166001600160a01b039490941693909317909255505050565b611411611902565b60078054911515600160b01b0260ff60b01b19909216919091179055565b606060048054610bcb90612d5b565b611446611902565b610d668282612278565b6000338161145e828661183b565b9050838110156114be5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610dc8565b610ea7828686840361195c565b6008546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d2409060240161109f565b600033610c5c818585611afa565b6000341161155c5760405162461bcd60e51b815260206004820152601960248201527f76616c7565206d7573742067726561746572207468616e2030000000000000006044820152606401610dc8565b346010600082825461156e9190612de1565b9091555050565b61157d611902565b61158f81670de0b6b3a7640000612df9565b600a5550565b61159d611902565b6007546008546040516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810184905260009291909116906323b872dd906064016020604051808303816000875af11580156115fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116219190612dae565b90508015610d6657600854604051633b79ab6760e21b8152600481018490526001600160a01b039091169063ede6ad9c90602401610b86565b6009546001600160a01b0316331461169f5760405162461bcd60e51b815260206004820152600860248201526727b7363c903232bb60c11b6044820152606401610dc8565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610d66573d6000803e3d6000fd5b6116dc611902565b6001600160a01b0382166000908152601c602052604090205481151560ff90911615150361175f5760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610dc8565b6001600160a01b0382166000818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6117c6611902565b6117d881670de0b6b3a7640000612df9565b600d5550565b6117e6611902565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b611810611902565b6001600160a01b03919091166000908152601e60205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61186e611902565b60078054911515600160a81b0260ff60a81b19909216919091179055565b611894611902565b6001600160a01b0381166118f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610dc8565b61106d81612226565b6005546001600160a01b031633146111755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc8565b6001600160a01b0383166119be5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610dc8565b6001600160a01b038216611a1f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610dc8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611a8c848461183b565b90506000198114611af45781811015611ae75760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610dc8565b611af4848484840361195c565b50505050565b6001600160a01b038316611b205760405162461bcd60e51b8152600401610dc890612e61565b6001600160a01b038216611b465760405162461bcd60e51b8152600401610dc890612ea6565b6001600160a01b0383166000908152601c602052604090205460ff16158015611b8857506001600160a01b0382166000908152601c602052604090205460ff16155b8015611b9e5750600754600160a01b900460ff16155b15611d7057600754600160b81b900460ff16611bf15760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610dc8565b6001600160a01b0382166000908152601d602052604090205460ff1615611c6957600c54811115611c645760405162461bcd60e51b815260206004820152601f60248201527f596f752061726520657863656564696e67206d617853656c6c416d6f756e74006044820152606401610dc8565b611cdc565b6001600160a01b0383166000908152601d602052604090205460ff1615611cdc57600b54811115611cdc5760405162461bcd60e51b815260206004820152601e60248201527f596f752061726520657863656564696e67206d6178427579416d6f756e7400006044820152606401610dc8565b6001600160a01b0382166000908152601e602052604090205460ff16611d7057600d546001600160a01b038316600090815260208190526040902054611d229083612de1565b1115611d705760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401610dc8565b80600003611d8957611d84838360006123dd565b505050565b30600090815260208190526040902054600a5481108015908190611db75750600754600160a01b900460ff16155b8015611dcc5750600754600160a81b900460ff165b8015611df157506001600160a01b0384166000908152601d602052604090205460ff16155b8015611e1657506001600160a01b0385166000908152601d602052604090205460ff16155b8015611e245750600e548310155b15611e5d576007805460ff60a01b1916600160a01b179055601b5415611e4f57611e4f600a54612507565b6007805460ff60a01b191690555b6007546001600160a01b0386166000908152601c602052604090205460ff600160a01b909204821615911680611eab57506001600160a01b0385166000908152601c602052604090205460ff165b15611eb4575060005b6001600160a01b0385166000908152601d602052604090205460ff16158015611ef657506001600160a01b0386166000908152601d602052604090205460ff16155b15611eff575060005b80156120fd576001600160a01b0385166000908152601d602052604081205460ff1615611f48576103e8601b5486611f379190612df9565b611f419190612ee9565b9050611f87565b6001600160a01b0387166000908152601d602052604090205460ff1615611f87576103e8601a5486611f7a9190612df9565b611f849190612ee9565b90505b42601154118015611f99575060125485115b8015611fae57506001600160a01b0387163014155b8015611fc357506001600160a01b0386163014155b8015611fe757506001600160a01b0387166000908152601d602052604090205460ff165b15612008576103e8611ffb86610352612df9565b6120059190612ee9565b90505b6120128186612f0b565b945061201f8730836123dd565b6001600f60008282546120329190612de1565b9091555050600f546103e810801561204e5750610fa0600f5411155b801561205d5750601b54601414155b156120815761206f600580600a61293d565b61207c600580600a612981565b6120fb565b610fa0600f541180156120985750612710600f5411155b80156120a75750601b54600a14155b156120c8576120ba60056000600561293d565b61207c600560006005612981565b612710600f541180156120dc5750601b5415155b156120fb576120ee600080600061293d565b6120fb6000806000612981565b505b6121088686866123dd565b6008546001600160a01b031663e30443bc87612139816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561217f57600080fd5b505af1925050508015612190575060015b506008546001600160a01b031663e30443bc866121c2816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561220857600080fd5b505af1925050508015612219575060015b15610bb457505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152601d602052604090205481151560ff90911615150361230e5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610dc8565b6001600160a01b0382166000908152601d60205260409020805460ff191682158015919091179091556123a15760085460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b15801561238857600080fd5b505af115801561239c573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b0383166124035760405162461bcd60e51b8152600401610dc890612e61565b6001600160a01b0382166124295760405162461bcd60e51b8152600401610dc890612ea6565b6001600160a01b038316600090815260208190526040902054818110156124a15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610dc8565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611af4565b601b5460175460009160029161251d9085612df9565b6125279190612ee9565b6125319190612ee9565b905060006002601b546017600001548561254b9190612df9565b6125559190612ee9565b61255f9190612ee9565b601b546018549192506000916125759086612df9565b61257f9190612ee9565b601b546019549192506000916125959087612df9565b61259f9190612ee9565b905083156125d4576125b0846129c5565b6000601054476125c09190612f0b565b905080156125d2576125d28482612ae9565b505b81156126a4576125e3826129c5565b6000601054476125f39190612f0b565b90508080156126a1576009546040516000916001600160a01b03169083908381818185875af1925050503d8060008114612649576040519150601f19603f3d011682016040523d82523d6000602084013e61264e565b606091505b505090508061269f5760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f2073656e642045544820746f206465762077616c6c65746044820152606401610dc8565b505b50505b80156126b3576126b3816129c5565b47801561279c57604051600090339083908381818185875af1925050503d80600081146126fc576040519150601f19603f3d011682016040523d82523d6000602084013e612701565b606091505b505090508061275c5760405162461bcd60e51b815260206004820152602160248201527f4661696c656420746f2073656e642045544820746f20757365722077616c6c656044820152601d60fa1b6064820152608401610dc8565b600060105560408051338152602081018490527fe8adeee50f340c5800f821c99c2cf03a2160d0d94f9e8ff1efbb653f72faf4f1910160405180910390a1505b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156127e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128099190612d95565b90508080156129335760075460085460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052600092919091169063a9059cbb906044016020604051808303816000875af115801561286c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128909190612dae565b9050801561293157600854604051633b79ab6760e21b8152600481018490526001600160a01b039091169063ede6ad9c90602401600060405180830381600087803b1580156128de57600080fd5b505af11580156128f2573d6000803e3d6000fd5b5050604080518c8152602081018690527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3935001905060405180910390a15b505b5050505050505050565b6040805160608101825284815260208101849052018190526014839055601582905560168190558061296f8385612de1565b6129799190612de1565b601a55505050565b604080516060810182528481526020810184905201819052601783905560188290556019819055806129b38385612de1565b6129bd9190612de1565b601b55505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106129fa576129fa612f22565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a779190612f38565b81600181518110612a8a57612a8a612f22565b6001600160a01b039283166020918202929092010152600654612ab0913091168461195c565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790610b86908590600090869030904290600401612f55565b600654612b019030906001600160a01b03168461195c565b60065460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015612b6e573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610f169190612fc6565b6001600160a01b038116811461106d57600080fd5b801515811461106d57600080fd5b60008060408385031215612bc957600080fd5b8235612bd481612b93565b91506020830135612be481612ba8565b809150509250929050565b600060208083528351808285015260005b81811015612c1c57858101830151858201604001528201612c00565b81811115612c2e576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215612c5757600080fd5b8235612c6281612b93565b946020939093013593505050565b600060208284031215612c8257600080fd5b8135612c8d81612b93565b9392505050565b600080600060608486031215612ca957600080fd5b8335612cb481612b93565b92506020840135612cc481612b93565b929592945050506040919091013590565b60008060408385031215612ce857600080fd5b50508035926020909101359150565b600060208284031215612d0957600080fd5b8135612c8d81612ba8565b600060208284031215612d2657600080fd5b5035919050565b60008060408385031215612d4057600080fd5b8235612d4b81612b93565b91506020830135612be481612b93565b600181811c90821680612d6f57607f821691505b602082108103612d8f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612da757600080fd5b5051919050565b600060208284031215612dc057600080fd5b8151612c8d81612ba8565b634e487b7160e01b600052601160045260246000fd5b60008219821115612df457612df4612dcb565b500190565b6000816000190483118215151615612e1357612e13612dcb565b500290565b600080600080600060a08688031215612e3057600080fd5b8551612e3b81612b93565b602087015160408801516060890151608090990151929a91995097965090945092505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082612f0657634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612f1d57612f1d612dcb565b500390565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612f4a57600080fd5b8151612c8d81612b93565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612fa55784516001600160a01b031683529383019391830191600101612f80565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612fdb57600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212204f71dad437258de3779c7e45f4047bc96b3ed5c2de9a22d1c2e35f1205cdcc9d64736f6c634300080f003360806040523480156200001157600080fd5b50604080518082018252601b8082527f5175616472617a68616f5f4469766964656e645f547261636b657200000000006020808401829052845180860190955291845290830152908181600362000069838262000198565b50600462000078828262000198565b505050620000956200008f6200009d60201b60201c565b620000a1565b505062000264565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200011e57607f821691505b6020821081036200013f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200019357600081815260208120601f850160051c810160208610156200016e5750805b601f850160051c820191505b818110156200018f578281556001016200017a565b5050505b505050565b81516001600160401b03811115620001b457620001b4620000f3565b620001cc81620001c5845462000109565b8462000145565b602080601f831160018114620002045760008415620001eb5750858301515b600019600386901b1c1916600185901b1785556200018f565b600085815260208120601f198616915b82811015620002355788860151825594840194600190910190840162000214565b5085821015620002545787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611d0980620002746000396000f3fe60806040526004361061021e5760003560e01c8063715018a611610123578063a8b9d240116100ab578063dd62ed3e1161006f578063dd62ed3e1461062d578063e30443bc1461064d578063ede6ad9c1461066d578063f2fde38b14610680578063fbcbc0f1146106a057600080fd5b8063a8b9d240146105b7578063a9059cbb146105d7578063aafd847a146104e2578063c1b7918b146105f7578063c358754f1461061757600080fd5b80638da5cb5b116100f25780638da5cb5b1461052e57806391b89fba1461054c57806395d89b411461056c5780639e1e066114610581578063a457c2d71461059757600080fd5b8063715018a6146104ad578063807ab4f7146104c2578063840759de146104e257806385a6b3ae1461051857600080fd5b806327ce0147116101a657806344b6bd9e1161017557806344b6bd9e146103f25780634e7b827f146104125780636a474002146104425780637060859c1461045757806370a082311461047757600080fd5b806327ce0147146103815780632b76cc28146103a1578063313ce567146103b657806339509351146103d257600080fd5b8063095ea7b3116101ed578063095ea7b3146102b75780631162c4b6146102e757806318160ddd1461031f578063226cfa3d1461033457806323b872dd1461036157600080fd5b8063027497241461022a5780630483f7a01461025357806306fdde031461027557806307556b761461029757600080fd5b3661022557005b600080fd5b34801561023657600080fd5b50610240600f5481565b6040519081526020015b60405180910390f35b34801561025f57600080fd5b5061027361026e3660046119fe565b6106f2565b005b34801561028157600080fd5b5061028a6107d6565b60405161024a9190611a37565b3480156102a357600080fd5b506102406102b2366004611a8c565b610868565b3480156102c357600080fd5b506102d76102d2366004611aa9565b6108ca565b604051901515815260200161024a565b3480156102f357600080fd5b50600654610307906001600160a01b031681565b6040516001600160a01b03909116815260200161024a565b34801561032b57600080fd5b50600254610240565b34801561034057600080fd5b5061024061034f366004611a8c565b60126020526000908152604090205481565b34801561036d57600080fd5b506102d761037c366004611ad5565b6108e2565b34801561038d57600080fd5b5061024061039c366004611a8c565b610906565b3480156103ad57600080fd5b50610273610948565b3480156103c257600080fd5b506040516012815260200161024a565b3480156103de57600080fd5b506102d76103ed366004611aa9565b610954565b3480156103fe57600080fd5b5061027361040d366004611a8c565b610976565b34801561041e57600080fd5b506102d761042d366004611a8c565b60116020526000908152604090205460ff1681565b34801561044e57600080fd5b506102736109a0565b34801561046357600080fd5b50610273610472366004611b16565b6109a9565b34801561048357600080fd5b50610240610492366004611a8c565b6001600160a01b031660009081526020819052604090205490565b3480156104b957600080fd5b50610273610a97565b3480156104ce57600080fd5b506102d76104dd366004611a8c565b610aab565b3480156104ee57600080fd5b506102406104fd366004611a8c565b6001600160a01b03166000908152600a602052604090205490565b34801561052457600080fd5b50610240600d5481565b34801561053a57600080fd5b506005546001600160a01b0316610307565b34801561055857600080fd5b50610240610567366004611a8c565b610b2f565b34801561057857600080fd5b5061028a610b3a565b34801561058d57600080fd5b50610240600e5481565b3480156105a357600080fd5b506102d76105b2366004611aa9565b610b49565b3480156105c357600080fd5b506102406105d2366004611a8c565b610bc9565b3480156105e357600080fd5b506102d76105f2366004611aa9565b610bf5565b34801561060357600080fd5b50610240610612366004611a8c565b610c03565b34801561062357600080fd5b5061024060105481565b34801561063957600080fd5b50610240610648366004611b16565b610c29565b34801561065957600080fd5b50610273610668366004611aa9565b610c54565b61027361067b366004611b44565b610c8a565b34801561068c57600080fd5b5061027361069b366004611a8c565b610da1565b3480156106ac57600080fd5b506106c06106bb366004611a8c565b610e17565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a00161024a565b6106fa610ebf565b6001600160a01b03821660009081526011602052604090205481151560ff90911615150361072757600080fd5b6001600160a01b0382166000908152601160205260409020805460ff191682151590811790915560010361076557610760826000610f19565b61078d565b61078d82610788846001600160a01b031660009081526020819052604090205490565b610f19565b816001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be826040516107ca911515815260200190565b60405180910390a25050565b6060600380546107e590611b5d565b80601f016020809104026020016040519081016040528092919081815260200182805461081190611b5d565b801561085e5780601f106108335761010080835404028352916020019161085e565b820191906000526020600020905b81548152906001019060200180831161084157829003601f168201915b5050505050905090565b6001600160a01b0381166000908152600b602090815260408083205491839052822054600854600160801b926108ba926108b5926108af916108aa9190610f78565b611001565b90611011565b61104f565b6108c49190611bad565b92915050565b6000336108d8818585611062565b5060019392505050565b6000336108f0858285611186565b6108fb8585856111fa565b506001949350505050565b6001600160a01b03811660009081526009602090815260408083205491839052822054600754600160801b926108ba926108b5926108af916108aa9190610f78565b6109513361125c565b50565b6000336108d88185856109678383610c29565b6109719190611bcf565b611062565b61097e610ebf565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b610951336113c6565b6109b1610ebf565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90849083906370a0823190602401602060405180830381865afa1580156109ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a239190611be7565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610a6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a929190611c00565b505050565b610a9f610ebf565b610aa9600061153e565b565b6000610ab5610ebf565b6000610ac0836113c6565b90508015610b26576001600160a01b03831660008181526012602052604090819020429055517f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490610b159084815260200190565b60405180910390a250600192915050565b50600092915050565b60006108c482610bc9565b6060600480546107e590611b5d565b60003381610b578286610c29565b905083811015610bbc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6108fb8286868403611062565b6001600160a01b0381166000908152600a60205260408120546108c490610bef84610906565b90611590565b6000336108d88185856111fa565b6001600160a01b0381166000908152600c60205260408120546108c490610bef84610868565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610c5c610ebf565b6001600160a01b03821660009081526011602052604090205460ff16610c8657610c868282610f19565b5050565b610c92610ebf565b6000610c9d60025490565b11610ca757600080fd5b8015610d2357610cda610cb960025490565b610cc783600160801b610f78565b610cd19190611bad565b600754906115d2565b60075560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600d54610d1f90826115d2565b600d555b341561095157610d56610d3560025490565b610d4334600160801b610f78565b610d4d9190611bad565b600854906115d2565b60085560405134815233907ff19642cfd92ae52d6f5d3afacc83ca28fb305ce657bf931cc4f23618881e385c9060200160405180910390a2600f54610d9b90346115d2565b600f5550565b610da9610ebf565b6001600160a01b038116610e0e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bb3565b6109518161153e565b6000806000806000610e53604051806080016040528060006001600160a01b031681526020016000815260200160008152602001600081525090565b6001600160a01b0387168152610e6887610bc9565b6020820152610e7687610906565b60408281019182526001600160a01b03989098166000908152601260209081529890205460608301819052825198909201519051600e5498999198909750919550909350915050565b6005546001600160a01b03163314610aa95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bb3565b6001600160a01b03821660009081526020819052604090205480821115610f58576000610f468383611590565b9050610f528482611631565b50505050565b80821015610a92576000610f6c8284611590565b9050610f5284826116e2565b600082600003610f8a575060006108c4565b6000610f968385611c1d565b905082610fa38583611bad565b14610ffa5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610bb3565b9392505050565b600081818112156108c457600080fd5b60008061101e8385611c3c565b9050600083121580156110315750838112155b80611046575060008312801561104657508381125b610ffa57600080fd5b60008082121561105e57600080fd5b5090565b6001600160a01b0383166110c45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bb3565b6001600160a01b0382166111255760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bb3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006111928484610c29565b90506000198114610f5257818110156111ed5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bb3565b610f528484848403611062565b60405162461bcd60e51b815260206004820152603160248201527f5175616472617a68616f5f4469766964656e645f547261636b65723a204e6f206044820152701d1c985b9cd9995c9cc8185b1b1bddd959607a1b6064820152608401610bb3565b60008061126883610c03565b90508015610b26576001600160a01b0383166000908152600c602052604090205461129390826115d2565b6001600160a01b0384166000908152600c6020526040812091909155601080548392906112c1908490611bcf565b90915550506040518181526001600160a01b038416907fc3cdbc422ada3d59ad23d7a589d01901515ca060d63a31054322a9fcf62097679060200160405180910390a26000836001600160a01b03168260405160006040518083038185875af1925050503d8060008114611351576040519150601f19603f3d011682016040523d82523d6000602084013e611356565b606091505b50509050806113bf576001600160a01b0384166000908152600c60205260409020546113829083611590565b6001600160a01b0385166000908152600c6020526040812091909155601080548492906113b0908490611c7d565b90915550600095945050505050565b5092915050565b6000806113d283610bc9565b90508015610b26576001600160a01b0383166000908152600a60205260409020546113fd90826115d2565b6001600160a01b0384166000908152600a6020526040812091909155600e805483929061142b908490611bcf565b90915550506040518181526001600160a01b038416907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a260065460405163a9059cbb60e01b81526001600160a01b03858116600483015260248201849052600092169063a9059cbb906044016020604051808303816000875af11580156114c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e69190611c00565b9050806113bf576001600160a01b0384166000908152600a60205260409020546115109083611590565b6001600160a01b0385166000908152600a6020526040812091909155600e80548492906113b0908490611c7d565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610ffa83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611773565b6000806115df8385611bcf565b905083811015610ffa5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610bb3565b61163b82826117ad565b6116756116566108aa83600754610f7890919063ffffffff16565b6001600160a01b0384166000908152600960205260409020549061186c565b6001600160a01b0383166000908152600960205260409020556008546116c2906116a3906108aa9084610f78565b6001600160a01b0384166000908152600b60205260409020549061186c565b6001600160a01b039092166000908152600b602052604090209190915550565b6116ec82826118a9565b6117266117076108aa83600754610f7890919063ffffffff16565b6001600160a01b03841660009081526009602052604090205490611011565b6001600160a01b0383166000908152600960205260409020556008546116c290611754906108aa9084610f78565b6001600160a01b0384166000908152600b602052604090205490611011565b600081848411156117975760405162461bcd60e51b8152600401610bb39190611a37565b5060006117a48486611c7d565b95945050505050565b6001600160a01b0382166118035760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610bb3565b80600260008282546118159190611bcf565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6000806118798385611c94565b90506000831215801561188c5750838113155b8061104657506000831280156110465750838113610ffa57600080fd5b6001600160a01b0382166119095760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610bb3565b6001600160a01b0382166000908152602081905260409020548181101561197d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610bb3565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b038116811461095157600080fd5b801515811461095157600080fd5b60008060408385031215611a1157600080fd5b8235611a1c816119db565b91506020830135611a2c816119f0565b809150509250929050565b600060208083528351808285015260005b81811015611a6457858101830151858201604001528201611a48565b81811115611a76576000604083870101525b50601f01601f1916929092016040019392505050565b600060208284031215611a9e57600080fd5b8135610ffa816119db565b60008060408385031215611abc57600080fd5b8235611ac7816119db565b946020939093013593505050565b600080600060608486031215611aea57600080fd5b8335611af5816119db565b92506020840135611b05816119db565b929592945050506040919091013590565b60008060408385031215611b2957600080fd5b8235611b34816119db565b91506020830135611a2c816119db565b600060208284031215611b5657600080fd5b5035919050565b600181811c90821680611b7157607f821691505b602082108103611b9157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082611bca57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611be257611be2611b97565b500190565b600060208284031215611bf957600080fd5b5051919050565b600060208284031215611c1257600080fd5b8151610ffa816119f0565b6000816000190483118215151615611c3757611c37611b97565b500290565b600080821280156001600160ff1b0384900385131615611c5e57611c5e611b97565b600160ff1b8390038412811615611c7757611c77611b97565b50500190565b600082821015611c8f57611c8f611b97565b500390565b60008083128015600160ff1b850184121615611cb257611cb2611b97565b6001600160ff1b0384018313811615611ccd57611ccd611b97565b5050039056fea2646970667358221220023554183386d77e0ebb58befaa1519d6d406942e503ec564a7a41d7ade651c464736f6c634300080f00330000000000000000000000007cf48a5695cd737bc2af716190798bdf819e17040000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x6080604052600436106103a65760003560e01c8063864701a5116101e7578063b62496f51161010d578063dd62ed3e116100a0578063f2fde38b1161006f578063f2fde38b14610ad4578063f66895a314610af4578063f887ea4014610b13578063f8b45b0514610b3357600080fd5b8063dd62ed3e14610a68578063e01af92c14610a88578063e2f4560514610aa8578063eb94a68d14610abe57600080fd5b8063c18bc195116100dc578063c18bc195146109f2578063c851cc3214610a12578063cf13d91b14610a32578063d2fcc00114610a4857600080fd5b8063b62496f514610962578063bdf1436d14610992578063bfd9a759146109b2578063c0246668146109d257600080fd5b80639a7a23d611610185578063a9059cbb11610154578063a9059cbb14610904578063aab41dbd14610924578063afa4f3b21461092c578063b1fa996a1461094c57600080fd5b80639a7a23d614610884578063a457c2d7146108a4578063a8aa1b31146108c4578063a8b9d240146108e457600080fd5b80638da5cb5b116101c15780638da5cb5b146108115780638ea5220f1461082f57806392929a091461084f57806395d89b411461086f57600080fd5b8063864701a5146107a157806388bdd9be146107db57806388e765ff146107fb57600080fd5b8063313ce567116102cc5780636843cd841161026a578063715018a611610239578063715018a61461070457806374f079b81461071957806379b447bd1461072f5780637b510fe81461074f57600080fd5b80636843cd841461066d5780636c3470a71461068d5780636ddd1713146106ad57806370a08231146106ce57600080fd5b80634ada218b116102a65780634ada218b146105e85780634e71d92d146106095780634fbee1931461061e57806366d602ae1461065757600080fd5b8063313ce5671461059657806339509351146105b257806346469afb146105d257600080fd5b806318160ddd116103445780632866ed21116103135780632866ed21146105085780632c1f5216146105295780632e1ab9041461056157806330bb4cff1461058157600080fd5b806318160ddd1461049d5780631bff7898146104b25780631f53ac02146104c857806323b872dd146104e857600080fd5b80630a78097d116103805780630a78097d1461042f5780630bd05b691461044f57806312b77e8a1461046457806317574ce01461047957600080fd5b80630483f7a0146103b257806306fdde03146103d4578063095ea7b3146103ff57600080fd5b366103ad57005b600080fd5b3480156103be57600080fd5b506103d26103cd366004612bb6565b610b49565b005b3480156103e057600080fd5b506103e9610bbc565b6040516103f69190612bef565b60405180910390f35b34801561040b57600080fd5b5061041f61041a366004612c44565b610c4e565b60405190151581526020016103f6565b34801561043b57600080fd5b506103d261044a366004612c70565b610c66565b34801561045b57600080fd5b506103d2610d6a565b34801561047057600080fd5b506103d2610df8565b34801561048557600080fd5b5061048f60125481565b6040519081526020016103f6565b3480156104a957600080fd5b5060025461048f565b3480156104be57600080fd5b5061048f601b5481565b3480156104d457600080fd5b506103d26104e3366004612c70565b610e64565b3480156104f457600080fd5b5061041f610503366004612c94565b610e8e565b34801561051457600080fd5b5060075461041f90600160b01b900460ff1681565b34801561053557600080fd5b50600854610549906001600160a01b031681565b6040516001600160a01b0390911681526020016103f6565b34801561056d57600080fd5b506103d261057c366004612c70565b610eb2565b34801561058d57600080fd5b5061048f610f1d565b3480156105a257600080fd5b50604051601281526020016103f6565b3480156105be57600080fd5b5061041f6105cd366004612c44565b610f90565b3480156105de57600080fd5b5061048f601a5481565b3480156105f457600080fd5b5060075461041f90600160b81b900460ff1681565b34801561061557600080fd5b506103d2610fb2565b34801561062a57600080fd5b5061041f610639366004612c70565b6001600160a01b03166000908152601c602052604090205460ff1690565b34801561066357600080fd5b5061048f600c5481565b34801561067957600080fd5b5061048f610688366004612c70565b611070565b34801561069957600080fd5b506103d26106a8366004612c70565b6110e6565b3480156106b957600080fd5b5060075461041f90600160a81b900460ff1681565b3480156106da57600080fd5b5061048f6106e9366004612c70565b6001600160a01b031660009081526020819052604090205490565b34801561071057600080fd5b506103d2611163565b34801561072557600080fd5b5061048f600f5481565b34801561073b57600080fd5b506103d261074a366004612cd5565b611177565b34801561075b57600080fd5b5061076f61076a366004612c70565b6111ad565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a0016103f6565b3480156107ad57600080fd5b506014546015546016546107c092919083565b604080519384526020840192909252908201526060016103f6565b3480156107e757600080fd5b506103d26107f6366004612c70565b611237565b34801561080757600080fd5b5061048f600b5481565b34801561081d57600080fd5b506005546001600160a01b0316610549565b34801561083b57600080fd5b50600954610549906001600160a01b031681565b34801561085b57600080fd5b506103d261086a366004612cf7565b611409565b34801561087b57600080fd5b506103e961142f565b34801561089057600080fd5b506103d261089f366004612bb6565b61143e565b3480156108b057600080fd5b5061041f6108bf366004612c44565b611450565b3480156108d057600080fd5b50600754610549906001600160a01b031681565b3480156108f057600080fd5b5061048f6108ff366004612c70565b6114cb565b34801561091057600080fd5b5061041f61091f366004612c44565b6114fe565b6103d261150c565b34801561093857600080fd5b506103d2610947366004612d14565b611575565b34801561095857600080fd5b5061048f60115481565b34801561096e57600080fd5b5061041f61097d366004612c70565b601d6020526000908152604090205460ff1681565b34801561099e57600080fd5b506103d26109ad366004612d14565b611595565b3480156109be57600080fd5b506103d26109cd366004612c70565b61165a565b3480156109de57600080fd5b506103d26109ed366004612bb6565b6116d4565b3480156109fe57600080fd5b506103d2610a0d366004612d14565b6117be565b348015610a1e57600080fd5b506103d2610a2d366004612c70565b6117de565b348015610a3e57600080fd5b5061048f60105481565b348015610a5457600080fd5b506103d2610a63366004612bb6565b611808565b348015610a7457600080fd5b5061048f610a83366004612d2d565b61183b565b348015610a9457600080fd5b506103d2610aa3366004612cf7565b611866565b348015610ab457600080fd5b5061048f600a5481565b348015610aca57600080fd5b5061048f600e5481565b348015610ae057600080fd5b506103d2610aef366004612c70565b61188c565b348015610b0057600080fd5b506017546018546019546107c092919083565b348015610b1f57600080fd5b50600654610549906001600160a01b031681565b348015610b3f57600080fd5b5061048f600d5481565b610b51611902565b60085460405162241fbd60e51b81526001600160a01b038481166004830152831515602483015290911690630483f7a0906044015b600060405180830381600087803b158015610ba057600080fd5b505af1158015610bb4573d6000803e3d6000fd5b505050505050565b606060038054610bcb90612d5b565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf790612d5b565b8015610c445780601f10610c1957610100808354040283529160200191610c44565b820191906000526020600020905b815481529060010190602001808311610c2757829003601f168201915b5050505050905090565b600033610c5c81858561195c565b5060019392505050565b610c6e611902565b806001600160a01b031663a9059cbb610c8f6005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015610cd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf79190612d95565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610d42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d669190612dae565b5050565b610d72611902565b600754600160b81b900460ff1615610dd15760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c656400000000000000000060448201526064015b60405180910390fd5b6007805461ffff60b01b191661010160b01b179055601354610df39042612de1565b601155565b610e00611902565b60095460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610e51576040519150601f19603f3d011682016040523d82523d6000602084013e610e56565b606091505b5050905080610d6657600080fd5b610e6c611902565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600033610e9c858285611a80565b610ea7858585611afa565b506001949350505050565b610eba611902565b60085460405163225b5ecf60e11b81526001600160a01b038381166004830152909116906344b6bd9e906024015b600060405180830381600087803b158015610f0257600080fd5b505af1158015610f16573d6000803e3d6000fd5b5050505050565b600854604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015610f67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8b9190612d95565b905090565b600033610c5c818585610fa3838361183b565b610fad9190612de1565b61195c565b600754600160b01b900460ff16610fff5760405162461bcd60e51b815260206004820152601160248201527010db185a5b481b9bdd08195b98589b1959607a1b6044820152606401610dc8565b60085460405163807ab4f760e01b81523360048201526001600160a01b039091169063807ab4f7906024016020604051808303816000875af1158015611049573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106d9190612dae565b50565b6008546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b602060405180830381865afa1580156110bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e09190612d95565b92915050565b6009546001600160a01b0316331461112b5760405162461bcd60e51b815260206004820152600860248201526727b7363c903232bb60c11b6044820152606401610dc8565b600854604051631c18216760e21b81523360048201526001600160a01b03838116602483015290911690637060859c90604401610ee8565b61116b611902565b6111756000612226565b565b61117f611902565b61119182670de0b6b3a7640000612df9565b600b556111a681670de0b6b3a7640000612df9565b600c555050565b60085460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839291169063fbcbc0f19060240160a060405180830381865afa158015611201573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112259190612e18565b939a9299509097509550909350915050565b61123f611902565b60405162241fbd60e51b81526001600160a01b03821660048201819052600160248301528291630483f7a090604401600060405180830381600087803b15801561128857600080fd5b505af115801561129c573d6000803e3d6000fd5b505060405162241fbd60e51b8152306004820152600160248201526001600160a01b0384169250630483f7a09150604401600060405180830381600087803b1580156112e757600080fd5b505af11580156112fb573d6000803e3d6000fd5b50505050806001600160a01b0316630483f7a06113206005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b15801561136857600080fd5b505af115801561137c573d6000803e3d6000fd5b505060065460405162241fbd60e51b81526001600160a01b039182166004820152600160248201529084169250630483f7a09150604401600060405180830381600087803b1580156113cd57600080fd5b505af11580156113e1573d6000803e3d6000fd5b5050600880546001600160a01b0319166001600160a01b039490941693909317909255505050565b611411611902565b60078054911515600160b01b0260ff60b01b19909216919091179055565b606060048054610bcb90612d5b565b611446611902565b610d668282612278565b6000338161145e828661183b565b9050838110156114be5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610dc8565b610ea7828686840361195c565b6008546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d2409060240161109f565b600033610c5c818585611afa565b6000341161155c5760405162461bcd60e51b815260206004820152601960248201527f76616c7565206d7573742067726561746572207468616e2030000000000000006044820152606401610dc8565b346010600082825461156e9190612de1565b9091555050565b61157d611902565b61158f81670de0b6b3a7640000612df9565b600a5550565b61159d611902565b6007546008546040516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810184905260009291909116906323b872dd906064016020604051808303816000875af11580156115fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116219190612dae565b90508015610d6657600854604051633b79ab6760e21b8152600481018490526001600160a01b039091169063ede6ad9c90602401610b86565b6009546001600160a01b0316331461169f5760405162461bcd60e51b815260206004820152600860248201526727b7363c903232bb60c11b6044820152606401610dc8565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610d66573d6000803e3d6000fd5b6116dc611902565b6001600160a01b0382166000908152601c602052604090205481151560ff90911615150361175f5760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610dc8565b6001600160a01b0382166000818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6117c6611902565b6117d881670de0b6b3a7640000612df9565b600d5550565b6117e6611902565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b611810611902565b6001600160a01b03919091166000908152601e60205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61186e611902565b60078054911515600160a81b0260ff60a81b19909216919091179055565b611894611902565b6001600160a01b0381166118f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610dc8565b61106d81612226565b6005546001600160a01b031633146111755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc8565b6001600160a01b0383166119be5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610dc8565b6001600160a01b038216611a1f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610dc8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611a8c848461183b565b90506000198114611af45781811015611ae75760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610dc8565b611af4848484840361195c565b50505050565b6001600160a01b038316611b205760405162461bcd60e51b8152600401610dc890612e61565b6001600160a01b038216611b465760405162461bcd60e51b8152600401610dc890612ea6565b6001600160a01b0383166000908152601c602052604090205460ff16158015611b8857506001600160a01b0382166000908152601c602052604090205460ff16155b8015611b9e5750600754600160a01b900460ff16155b15611d7057600754600160b81b900460ff16611bf15760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610dc8565b6001600160a01b0382166000908152601d602052604090205460ff1615611c6957600c54811115611c645760405162461bcd60e51b815260206004820152601f60248201527f596f752061726520657863656564696e67206d617853656c6c416d6f756e74006044820152606401610dc8565b611cdc565b6001600160a01b0383166000908152601d602052604090205460ff1615611cdc57600b54811115611cdc5760405162461bcd60e51b815260206004820152601e60248201527f596f752061726520657863656564696e67206d6178427579416d6f756e7400006044820152606401610dc8565b6001600160a01b0382166000908152601e602052604090205460ff16611d7057600d546001600160a01b038316600090815260208190526040902054611d229083612de1565b1115611d705760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401610dc8565b80600003611d8957611d84838360006123dd565b505050565b30600090815260208190526040902054600a5481108015908190611db75750600754600160a01b900460ff16155b8015611dcc5750600754600160a81b900460ff165b8015611df157506001600160a01b0384166000908152601d602052604090205460ff16155b8015611e1657506001600160a01b0385166000908152601d602052604090205460ff16155b8015611e245750600e548310155b15611e5d576007805460ff60a01b1916600160a01b179055601b5415611e4f57611e4f600a54612507565b6007805460ff60a01b191690555b6007546001600160a01b0386166000908152601c602052604090205460ff600160a01b909204821615911680611eab57506001600160a01b0385166000908152601c602052604090205460ff165b15611eb4575060005b6001600160a01b0385166000908152601d602052604090205460ff16158015611ef657506001600160a01b0386166000908152601d602052604090205460ff16155b15611eff575060005b80156120fd576001600160a01b0385166000908152601d602052604081205460ff1615611f48576103e8601b5486611f379190612df9565b611f419190612ee9565b9050611f87565b6001600160a01b0387166000908152601d602052604090205460ff1615611f87576103e8601a5486611f7a9190612df9565b611f849190612ee9565b90505b42601154118015611f99575060125485115b8015611fae57506001600160a01b0387163014155b8015611fc357506001600160a01b0386163014155b8015611fe757506001600160a01b0387166000908152601d602052604090205460ff165b15612008576103e8611ffb86610352612df9565b6120059190612ee9565b90505b6120128186612f0b565b945061201f8730836123dd565b6001600f60008282546120329190612de1565b9091555050600f546103e810801561204e5750610fa0600f5411155b801561205d5750601b54601414155b156120815761206f600580600a61293d565b61207c600580600a612981565b6120fb565b610fa0600f541180156120985750612710600f5411155b80156120a75750601b54600a14155b156120c8576120ba60056000600561293d565b61207c600560006005612981565b612710600f541180156120dc5750601b5415155b156120fb576120ee600080600061293d565b6120fb6000806000612981565b505b6121088686866123dd565b6008546001600160a01b031663e30443bc87612139816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561217f57600080fd5b505af1925050508015612190575060015b506008546001600160a01b031663e30443bc866121c2816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561220857600080fd5b505af1925050508015612219575060015b15610bb457505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152601d602052604090205481151560ff90911615150361230e5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610dc8565b6001600160a01b0382166000908152601d60205260409020805460ff191682158015919091179091556123a15760085460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b15801561238857600080fd5b505af115801561239c573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b0383166124035760405162461bcd60e51b8152600401610dc890612e61565b6001600160a01b0382166124295760405162461bcd60e51b8152600401610dc890612ea6565b6001600160a01b038316600090815260208190526040902054818110156124a15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610dc8565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611af4565b601b5460175460009160029161251d9085612df9565b6125279190612ee9565b6125319190612ee9565b905060006002601b546017600001548561254b9190612df9565b6125559190612ee9565b61255f9190612ee9565b601b546018549192506000916125759086612df9565b61257f9190612ee9565b601b546019549192506000916125959087612df9565b61259f9190612ee9565b905083156125d4576125b0846129c5565b6000601054476125c09190612f0b565b905080156125d2576125d28482612ae9565b505b81156126a4576125e3826129c5565b6000601054476125f39190612f0b565b90508080156126a1576009546040516000916001600160a01b03169083908381818185875af1925050503d8060008114612649576040519150601f19603f3d011682016040523d82523d6000602084013e61264e565b606091505b505090508061269f5760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f2073656e642045544820746f206465762077616c6c65746044820152606401610dc8565b505b50505b80156126b3576126b3816129c5565b47801561279c57604051600090339083908381818185875af1925050503d80600081146126fc576040519150601f19603f3d011682016040523d82523d6000602084013e612701565b606091505b505090508061275c5760405162461bcd60e51b815260206004820152602160248201527f4661696c656420746f2073656e642045544820746f20757365722077616c6c656044820152601d60fa1b6064820152608401610dc8565b600060105560408051338152602081018490527fe8adeee50f340c5800f821c99c2cf03a2160d0d94f9e8ff1efbb653f72faf4f1910160405180910390a1505b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156127e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128099190612d95565b90508080156129335760075460085460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052600092919091169063a9059cbb906044016020604051808303816000875af115801561286c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128909190612dae565b9050801561293157600854604051633b79ab6760e21b8152600481018490526001600160a01b039091169063ede6ad9c90602401600060405180830381600087803b1580156128de57600080fd5b505af11580156128f2573d6000803e3d6000fd5b5050604080518c8152602081018690527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3935001905060405180910390a15b505b5050505050505050565b6040805160608101825284815260208101849052018190526014839055601582905560168190558061296f8385612de1565b6129799190612de1565b601a55505050565b604080516060810182528481526020810184905201819052601783905560188290556019819055806129b38385612de1565b6129bd9190612de1565b601b55505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106129fa576129fa612f22565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a779190612f38565b81600181518110612a8a57612a8a612f22565b6001600160a01b039283166020918202929092010152600654612ab0913091168461195c565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790610b86908590600090869030904290600401612f55565b600654612b019030906001600160a01b03168461195c565b60065460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015612b6e573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610f169190612fc6565b6001600160a01b038116811461106d57600080fd5b801515811461106d57600080fd5b60008060408385031215612bc957600080fd5b8235612bd481612b93565b91506020830135612be481612ba8565b809150509250929050565b600060208083528351808285015260005b81811015612c1c57858101830151858201604001528201612c00565b81811115612c2e576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215612c5757600080fd5b8235612c6281612b93565b946020939093013593505050565b600060208284031215612c8257600080fd5b8135612c8d81612b93565b9392505050565b600080600060608486031215612ca957600080fd5b8335612cb481612b93565b92506020840135612cc481612b93565b929592945050506040919091013590565b60008060408385031215612ce857600080fd5b50508035926020909101359150565b600060208284031215612d0957600080fd5b8135612c8d81612ba8565b600060208284031215612d2657600080fd5b5035919050565b60008060408385031215612d4057600080fd5b8235612d4b81612b93565b91506020830135612be481612b93565b600181811c90821680612d6f57607f821691505b602082108103612d8f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612da757600080fd5b5051919050565b600060208284031215612dc057600080fd5b8151612c8d81612ba8565b634e487b7160e01b600052601160045260246000fd5b60008219821115612df457612df4612dcb565b500190565b6000816000190483118215151615612e1357612e13612dcb565b500290565b600080600080600060a08688031215612e3057600080fd5b8551612e3b81612b93565b602087015160408801516060890151608090990151929a91995097965090945092505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082612f0657634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612f1d57612f1d612dcb565b500390565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612f4a57600080fd5b8151612c8d81612b93565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612fa55784516001600160a01b031683529383019391830191600101612f80565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612fdb57600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212204f71dad437258de3779c7e45f4047bc96b3ed5c2de9a22d1c2e35f1205cdcc9d64736f6c634300080f0033

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

0000000000000000000000007cf48a5695cd737bc2af716190798bdf819e17040000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : _developerwallet (address): 0x7Cf48a5695CD737BC2aF716190798BDf819e1704
Arg [1] : _routerAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007cf48a5695cd737bc2af716190798bdf819e1704
Arg [1] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d


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

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