ETH Price: $3,360.40 (-2.72%)
Gas: 1 Gwei

Token

XApis (WAX)
 

Overview

Max Total Supply

10,000,000 WAX

Holders

242

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 WAX

Value
$0.00
0xc807c9f846739e0dbe2de10c35e652d18dd4468d
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:
XApis

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

File 10 of 10 : XApis.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 XApis is ERC20, Ownable {
    IUniswapRouter public router;
    address public pair;

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

    XApisDividendTracker public dividendTracker;

    address public marketingWallet;

    uint256 public swapTokensAtAmount;
    uint256 public maxBuyAmount;
    uint256 public maxSellAmount;
    uint256 public maxWallet;
    uint256 public setBotTime;

    struct Taxes {
        uint256 liquidity;
        uint256 marketing;
        uint256 holderReward;
    }

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

    uint256 public totalBuyTax = 3;
    uint256 public totalSellTax = 3;

    mapping(address => bool) public _isBot;

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

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

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event SendDividends(
        uint256 tokensSwapped,
        uint256 amount,
        uint256 ethAmount
    );

    constructor(address _marketingWallet) ERC20("XApis", "WAX") {
        dividendTracker = new XApisDividendTracker();
        setMarketingWallet(_marketingWallet);

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

        router = _router;
        pair = _pair;
        setSwapTokensAtAmount(30_000);
        updateMaxWalletAmount(5_000_000);
        setMaxBuyAndSell(500_000, 500_000);

        _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);
        excludeFromMaxWallet(owner(), true);

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

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

    receive() external payable {}

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

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

    function claimEth() external {
        require(claimEnabled, "Claim not enabled");
        dividendTracker.processEthAccount(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 marketing
    /// @dev It will send all ETH to marketing
    function forceSend() external onlyOwner {
        uint256 ETHbalance = address(this).balance;
        (bool success, ) = payable(marketingWallet).call{value: ETHbalance}("");
        require(success);
    }

    function trackerRescueETH20Tokens(address tokenAddress) external onlyOwner {
        dividendTracker.trackerRescueETH20Tokens(msg.sender, tokenAddress);
    }

    function trackerRescueETH() external {
        require(msg.sender == marketingWallet, "Only marketing");
        dividendTracker.trackerRescueETH(msg.sender);
    }

    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 setMarketingWallet(address newWallet) public onlyOwner {
        marketingWallet = newWallet;
    }

    /// @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;
        setBotTime = block.timestamp + 600;
    }

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

    function setBot(address[] calldata _addresses) external onlyOwner {
        require(
            block.timestamp <= setBotTime || !tradingEnabled,
            "Can only set bot in the first 10 minutes"
        );
        for (uint256 i = 0; i < _addresses.length; i++) {
            _isBot[_addresses[i]] = true;
        }
    }

    function removeBot(address[] calldata _addresses) external onlyOwner {
        for (uint256 i = 0; i < _addresses.length; i++) {
            _isBot[_addresses[i]] = false;
        }
    }

    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, uint256) {
        return (
            dividendTracker.withdrawableDividendOf(account),
            dividendTracker.withdrawableEthDividendOf(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, 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");
        require(!_isBot[from] && !_isBot[to], "You are bot");

        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] &&
            !_isExcludedFromFees[to] &&
            !_isExcludedFromFees[from]
        ) {
            swapping = true;

            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) / 100;
            else if (automatedMarketMakerPairs[from])
                feeAmt = (amount * totalBuyTax) / 100;

            amount = amount - feeAmt;
            super._transfer(from, address(this), feeAmt);
        }
        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.liquidity) / totalSellTax) /
            2;
        uint256 tokensToAddLiquidityWith = ((tokens * sellTaxes.liquidity) /
            totalSellTax) / 2;
        uint256 toSwapForETH = (tokens *
            (sellTaxes.marketing + sellTaxes.holderReward)) / totalSellTax;

        swapTokensForETH(toSwapForLiq);

        uint256 currentbalance = address(this).balance;

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

        swapTokensForETH(toSwapForETH);

        uint256 EthTaxBalance = address(this).balance;

        // Send ETH to marketing
        uint256 marketingAmt = (EthTaxBalance *
            (sellTaxes.marketing + sellTaxes.holderReward)) / totalSellTax;

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

        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) {
                uint holderEth = address(this).balance;
                dividendTracker.distributeLPDividends{value: holderEth}(
                    dividends
                );
                emit SendDividends(tokens, dividends, holderEth);
            }
        }
    }

    // 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 XApisDividendTracker is Ownable, DividendPayingToken {
    struct AccountInfo {
        address account;
        uint256 withdrawableDividends;
        uint256 withdrawableEthDividendOf;
        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("XApis_Dividend_Tracker", "XApis_Dividend_Tracker")
    {}

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

    function trackerRescueETH(address recipient) external onlyOwner {
        payable(recipient).transfer(address(this).balance);
    }

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

    function _transfer(address, address, uint256) internal pure override {
        require(false, "XApis_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, uint256, uint256)
    {
        AccountInfo memory info;
        info.account = account;
        info.withdrawableDividends = withdrawableDividendOf(account);
        info.withdrawableEthDividendOf = withdrawableEthDividendOf(account);
        info.totalDividends = accumulativeDividendOf(account);
        info.lastClaimTime = lastClaimTimes[account];
        return (
            info.account,
            info.withdrawableDividends,
            info.withdrawableEthDividendOf,
            info.totalDividends,
            info.lastClaimTime,
            totalDividendsWithdrawn,
            totalEthDividendsWithdrawn
        );
    }

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

    function processEthAccount(
        address payable account
    ) external onlyOwner returns (bool) {
        uint256 amount = _withdrawEthDividendOfUser(account);

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

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":"_marketingWallet","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"SendDividends","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":[{"internalType":"address","name":"","type":"address"}],"name":"_isBot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[{"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":"buyTaxes","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"holderReward","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":"claimEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract XApisDividendTracker","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"},{"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":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"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":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeBot","outputs":[],"stateMutability":"nonpayable","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":"liquidity","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"holderReward","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":"address[]","name":"_addresses","type":"address[]"}],"name":"setBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setBotTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setClaimEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_lpToken","type":"address"}],"name":"setLP_Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setMarketingWallet","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":[],"name":"trackerRescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"trackerRescueETH20Tokens","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":[{"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"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6007805460ff60a81b1916600160a81b1790556001608081905260a081905260c0819052600f8190556010819055601181905561014060405260e081905261010081905261012081905260128190556013819055601455600360158190556016553480156200006d57600080fd5b5060405162005e5838038062005e58833981016040819052620000909162000b28565b60405180604001604052806005815260200164584170697360d81b815250604051806040016040528060038152602001620ae82b60eb1b8152508160039081620000db919062000bfe565b506004620000ea828262000bfe565b50505062000107620001016200065d60201b60201c565b62000661565b604051620001159062000b1a565b604051809103906000f08015801562000132573d6000803e3d6000fd5b50600880546001600160a01b0319166001600160a01b03929092169190911790556200015e81620006b3565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001b8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001de919062000b28565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200022c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000252919062000b28565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c6919062000b28565b600680546001600160a01b038086166001600160a01b0319928316179092556007805492841692909116919091179055905062000305617530620006df565b62000313624c4b4062000703565b620003226207a1208062000727565b6200032f81600162000763565b60085460075460405163225b5ecf60e11b81526001600160a01b0391821660048201529116906344b6bd9e90602401600060405180830381600087803b1580156200037957600080fd5b505af11580156200038e573d6000803e3d6000fd5b505060085460405162241fbd60e51b81526001600160a01b0390911660048201819052600160248301529250630483f7a09150604401600060405180830381600087803b158015620003df57600080fd5b505af1158015620003f4573d6000803e3d6000fd5b505060085460405162241fbd60e51b8152306004820152600160248201526001600160a01b039091169250630483f7a09150604401600060405180830381600087803b1580156200044457600080fd5b505af115801562000459573d6000803e3d6000fd5b50506008546001600160a01b03169150630483f7a09050620004836005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b158015620004cc57600080fd5b505af1158015620004e1573d6000803e3d6000fd5b505060085460405162241fbd60e51b815261dead6004820152600160248201526001600160a01b039091169250630483f7a09150604401600060405180830381600087803b1580156200053357600080fd5b505af115801562000548573d6000803e3d6000fd5b505060085460405162241fbd60e51b81526001600160a01b038681166004830152600160248301529091169250630483f7a09150604401600060405180830381600087803b1580156200059a57600080fd5b505af1158015620005af573d6000803e3d6000fd5b50505050620005c6816001620008d160201b60201c565b620005d3306001620008d1565b620005e0826001620008d1565b620005ff620005f76005546001600160a01b031690565b6001620008d1565b6200061e620006166005546001600160a01b031690565b600162000906565b6200062b30600162000906565b62000654620006426005546001600160a01b031690565b6a084595161401484a000000620009f4565b50505062000d1d565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620006bd62000ab7565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b620006e962000ab7565b620006fd81670de0b6b3a764000062000ce0565b600a5550565b6200070d62000ab7565b6200072181670de0b6b3a764000062000ce0565b600d5550565b6200073162000ab7565b6200074582670de0b6b3a764000062000ce0565b600b556200075c81670de0b6b3a764000062000ce0565b600c555050565b6001600160a01b03821660009081526019602052604090205481151560ff909116151503620007ff5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084015b60405180910390fd5b6001600160a01b0382166000908152601960205260409020805460ff19168215801591909117909155620008955760085460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b1580156200087b57600080fd5b505af115801562000890573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b620008db62000ab7565b6001600160a01b03919091166000908152601a60205260409020805460ff1916911515919091179055565b6200091062000ab7565b6001600160a01b03821660009081526018602052604090205481151560ff909116151503620009955760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401620007f6565b6001600160a01b038216600081815260186020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03821662000a4c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620007f6565b806002600082825462000a60919062000d02565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b0316331462000b135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620007f6565b565b505050565b6120538062003e0583390190565b60006020828403121562000b3b57600080fd5b81516001600160a01b038116811462000b5357600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000b8557607f821691505b60208210810362000ba657634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b1557600081815260208120601f850160051c8101602086101562000bd55750805b601f850160051c820191505b8181101562000bf65782815560010162000be1565b505050505050565b81516001600160401b0381111562000c1a5762000c1a62000b5a565b62000c328162000c2b845462000b70565b8462000bac565b602080601f83116001811462000c6a576000841562000c515750858301515b600019600386901b1c1916600185901b17855562000bf6565b600085815260208120601f198616915b8281101562000c9b5788860151825594840194600190910190840162000c7a565b508582101562000cba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161562000cfd5762000cfd62000cca565b500290565b6000821982111562000d185762000d1862000cca565b500190565b6130d88062000d2d6000396000f3fe60806040526004361061039b5760003560e01c8063864701a5116101dc578063afa4f3b211610102578063d2fcc001116100a0578063f2fde38b1161006f578063f2fde38b14610b01578063f66895a314610b21578063f887ea4014610b40578063f8b45b0514610b6057600080fd5b8063d2fcc00114610a8b578063dd62ed3e14610aab578063e01af92c14610acb578063e2f4560514610aeb57600080fd5b8063bdf1436d116100dc578063bdf1436d14610a0b578063c024666814610a2b578063c18bc19514610a4b578063c851cc3214610a6b57600080fd5b8063afa4f3b2146109a6578063b62496f5146109c6578063b7cdddcb146109f657600080fd5b806395d89b411161017a578063a8aa1b3111610149578063a8aa1b3114610901578063a8b9d24014610921578063a9059cbb14610956578063abb810521461097657600080fd5b806395d89b41146108965780639a7a23d6146108ab5780639c3250cf146108cb578063a457c2d7146108e157600080fd5b806389371745116101b657806389371745146108235780638c9684f9146108385780638da5cb5b1461085857806392929a091461087657600080fd5b8063864701a5146107b357806388bdd9be146107ed57806388e765ff1461080d57600080fd5b806339509351116102c157806366d602ae1161025f578063715018a61161022e578063715018a6146106ff57806375f0a8741461071457806379b447bd146107345780637b510fe81461075457600080fd5b806366d602ae146106725780636843cd84146106885780636ddd1713146106a857806370a08231146106c957600080fd5b80634e71d92d1161029b5780634e71d92d146105e45780634fbee193146105f957806359c615cd146106325780635d098b381461065257600080fd5b8063395093511461058d57806346469afb146105ad5780634ada218b146105c357600080fd5b806318160ddd116103395780632c1f5216116103085780632c1f5216146105045780632e1ab9041461053c57806330bb4cff1461055c578063313ce5671461057157600080fd5b806318160ddd1461048e5780631bff7898146104ad57806323b872dd146104c35780632866ed21146104e357600080fd5b80630a78097d116103755780630a78097d146104245780630bd05b69146104445780630eca11801461045957806312b77e8a1461047957600080fd5b80630483f7a0146103a757806306fdde03146103c9578063095ea7b3146103f457600080fd5b366103a257005b600080fd5b3480156103b357600080fd5b506103c76103c2366004612bc2565b610b76565b005b3480156103d557600080fd5b506103de610be9565b6040516103eb9190612bfb565b60405180910390f35b34801561040057600080fd5b5061041461040f366004612c50565b610c7b565b60405190151581526020016103eb565b34801561043057600080fd5b506103c761043f366004612c7c565b610c93565b34801561045057600080fd5b506103c7610d97565b34801561046557600080fd5b506103c7610474366004612ca0565b610e24565b34801561048557600080fd5b506103c7610f1b565b34801561049a57600080fd5b506002545b6040519081526020016103eb565b3480156104b957600080fd5b5061049f60165481565b3480156104cf57600080fd5b506104146104de366004612d15565b610f87565b3480156104ef57600080fd5b5060075461041490600160b01b900460ff1681565b34801561051057600080fd5b50600854610524906001600160a01b031681565b6040516001600160a01b0390911681526020016103eb565b34801561054857600080fd5b506103c7610557366004612c7c565b610fab565b34801561056857600080fd5b5061049f611016565b34801561057d57600080fd5b50604051601281526020016103eb565b34801561059957600080fd5b506104146105a8366004612c50565b611089565b3480156105b957600080fd5b5061049f60155481565b3480156105cf57600080fd5b5060075461041490600160b81b900460ff1681565b3480156105f057600080fd5b506103c76110ab565b34801561060557600080fd5b50610414610614366004612c7c565b6001600160a01b031660009081526018602052604090205460ff1690565b34801561063e57600080fd5b506103c761064d366004612ca0565b61116a565b34801561065e57600080fd5b506103c761066d366004612c7c565b6111e4565b34801561067e57600080fd5b5061049f600c5481565b34801561069457600080fd5b5061049f6106a3366004612c7c565b61120e565b3480156106b457600080fd5b5060075461041490600160a81b900460ff1681565b3480156106d557600080fd5b5061049f6106e4366004612c7c565b6001600160a01b031660009081526020819052604090205490565b34801561070b57600080fd5b506103c7611283565b34801561072057600080fd5b50600954610524906001600160a01b031681565b34801561074057600080fd5b506103c761074f366004612d56565b611297565b34801561076057600080fd5b5061077461076f366004612c7c565b6112cd565b604080516001600160a01b0390981688526020880196909652948601939093526060850191909152608084015260a083015260c082015260e0016103eb565b3480156107bf57600080fd5b50600f546010546011546107d292919083565b604080519384526020840192909252908201526060016103eb565b3480156107f957600080fd5b506103c7610808366004612c7c565b61135f565b34801561081957600080fd5b5061049f600b5481565b34801561082f57600080fd5b506103c7611531565b34801561084457600080fd5b506103c7610853366004612c7c565b6115db565b34801561086457600080fd5b506005546001600160a01b0316610524565b34801561088257600080fd5b506103c7610891366004612d78565b61161b565b3480156108a257600080fd5b506103de611641565b3480156108b757600080fd5b506103c76108c6366004612bc2565b611650565b3480156108d757600080fd5b5061049f600e5481565b3480156108ed57600080fd5b506104146108fc366004612c50565b611662565b34801561090d57600080fd5b50600754610524906001600160a01b031681565b34801561092d57600080fd5b5061094161093c366004612c7c565b6116dd565b604080519283526020830191909152016103eb565b34801561096257600080fd5b50610414610971366004612c50565b6117c6565b34801561098257600080fd5b50610414610991366004612c7c565b60176020526000908152604090205460ff1681565b3480156109b257600080fd5b506103c76109c1366004612d95565b6117d4565b3480156109d257600080fd5b506104146109e1366004612c7c565b60196020526000908152604090205460ff1681565b348015610a0257600080fd5b506103c76117f4565b348015610a1757600080fd5b506103c7610a26366004612d95565b611871565b348015610a3757600080fd5b506103c7610a46366004612bc2565b611936565b348015610a5757600080fd5b506103c7610a66366004612d95565b611a20565b348015610a7757600080fd5b506103c7610a86366004612c7c565b611a40565b348015610a9757600080fd5b506103c7610aa6366004612bc2565b611a6a565b348015610ab757600080fd5b5061049f610ac6366004612dae565b611a9d565b348015610ad757600080fd5b506103c7610ae6366004612d78565b611ac8565b348015610af757600080fd5b5061049f600a5481565b348015610b0d57600080fd5b506103c7610b1c366004612c7c565b611aee565b348015610b2d57600080fd5b506012546013546014546107d292919083565b348015610b4c57600080fd5b50600654610524906001600160a01b031681565b348015610b6c57600080fd5b5061049f600d5481565b610b7e611b64565b60085460405162241fbd60e51b81526001600160a01b038481166004830152831515602483015290911690630483f7a0906044015b600060405180830381600087803b158015610bcd57600080fd5b505af1158015610be1573d6000803e3d6000fd5b505050505050565b606060038054610bf890612ddc565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2490612ddc565b8015610c715780601f10610c4657610100808354040283529160200191610c71565b820191906000526020600020905b815481529060010190602001808311610c5457829003601f168201915b5050505050905090565b600033610c89818585611bbe565b5060019392505050565b610c9b611b64565b806001600160a01b031663a9059cbb610cbc6005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015610d00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d249190612e16565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610d6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d939190612e2f565b5050565b610d9f611b64565b600754600160b81b900460ff1615610dfe5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c656400000000000000000060448201526064015b60405180910390fd5b6007805461ffff60b01b191661010160b01b179055610e1f42610258612e62565b600e55565b610e2c611b64565b600e5442111580610e475750600754600160b81b900460ff16155b610ea45760405162461bcd60e51b815260206004820152602860248201527f43616e206f6e6c792073657420626f7420696e20746865206669727374203130604482015267206d696e7574657360c01b6064820152608401610df5565b60005b81811015610f1657600160176000858585818110610ec757610ec7612e7a565b9050602002016020810190610edc9190612c7c565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610f0e81612e90565b915050610ea7565b505050565b610f23611b64565b60095460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610f74576040519150601f19603f3d011682016040523d82523d6000602084013e610f79565b606091505b5050905080610d9357600080fd5b600033610f95858285611ce2565b610fa0858585611d56565b506001949350505050565b610fb3611b64565b60085460405163225b5ecf60e11b81526001600160a01b038381166004830152909116906344b6bd9e906024015b600060405180830381600087803b158015610ffb57600080fd5b505af115801561100f573d6000803e3d6000fd5b5050505050565b600854604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015611060573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110849190612e16565b905090565b600033610c8981858561109c8383611a9d565b6110a69190612e62565b611bbe565b600754600160b01b900460ff166110f85760405162461bcd60e51b815260206004820152601160248201527010db185a5b481b9bdd08195b98589b1959607a1b6044820152606401610df5565b60085460405163807ab4f760e01b81523360048201526001600160a01b039091169063807ab4f7906024015b6020604051808303816000875af1158015611143573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111679190612e2f565b50565b611172611b64565b60005b81811015610f165760006017600085858581811061119557611195612e7a565b90506020020160208101906111aa9190612c7c565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806111dc81612e90565b915050611175565b6111ec611b64565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6008546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a0823190602401602060405180830381865afa158015611259573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127d9190612e16565b92915050565b61128b611b64565b61129560006123a9565b565b61129f611b64565b6112b182670de0b6b3a7640000612ea9565b600b556112c681670de0b6b3a7640000612ea9565b600c555050565b60085460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392169063fbcbc0f19060240160e060405180830381865afa158015611324573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113489190612ec8565b959e949d50929b5090995097509550909350915050565b611367611b64565b60405162241fbd60e51b81526001600160a01b03821660048201819052600160248301528291630483f7a090604401600060405180830381600087803b1580156113b057600080fd5b505af11580156113c4573d6000803e3d6000fd5b505060405162241fbd60e51b8152306004820152600160248201526001600160a01b0384169250630483f7a09150604401600060405180830381600087803b15801561140f57600080fd5b505af1158015611423573d6000803e3d6000fd5b50505050806001600160a01b0316630483f7a06114486005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b15801561149057600080fd5b505af11580156114a4573d6000803e3d6000fd5b505060065460405162241fbd60e51b81526001600160a01b039182166004820152600160248201529084169250630483f7a09150604401600060405180830381600087803b1580156114f557600080fd5b505af1158015611509573d6000803e3d6000fd5b5050600880546001600160a01b0319166001600160a01b039490941693909317909255505050565b6009546001600160a01b0316331461157c5760405162461bcd60e51b815260206004820152600e60248201526d4f6e6c79206d61726b6574696e6760901b6044820152606401610df5565b60085460405163bfd9a75960e01b81523360048201526001600160a01b039091169063bfd9a75990602401600060405180830381600087803b1580156115c157600080fd5b505af11580156115d5573d6000803e3d6000fd5b50505050565b6115e3611b64565b60085460405163497ec82360e01b81523360048201526001600160a01b0383811660248301529091169063497ec82390604401610fe1565b611623611b64565b60078054911515600160b01b0260ff60b01b19909216919091179055565b606060048054610bf890612ddc565b611658611b64565b610d9382826123fb565b600033816116708286611a9d565b9050838110156116d05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610df5565b610fa08286868403611bbe565b6008546040516302a2e74960e61b81526001600160a01b038381166004830152600092839291169063a8b9d24090602401602060405180830381865afa15801561172b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174f9190612e16565b60085460405163c1b7918b60e01b81526001600160a01b0386811660048301529091169063c1b7918b90602401602060405180830381865afa158015611799573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bd9190612e16565b91509150915091565b600033610c89818585611d56565b6117dc611b64565b6117ee81670de0b6b3a7640000612ea9565b600a5550565b600754600160b01b900460ff166118415760405162461bcd60e51b815260206004820152601160248201527010db185a5b481b9bdd08195b98589b1959607a1b6044820152606401610df5565b60085460405163801e139760e01b81523360048201526001600160a01b039091169063801e139790602401611124565b611879611b64565b6007546008546040516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810184905260009291909116906323b872dd906064016020604051808303816000875af11580156118d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fd9190612e2f565b90508015610d9357600854604051633b79ab6760e21b8152600481018490526001600160a01b039091169063ede6ad9c90602401610bb3565b61193e611b64565b6001600160a01b03821660009081526018602052604090205481151560ff9091161515036119c15760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610df5565b6001600160a01b038216600081815260186020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b611a28611b64565b611a3a81670de0b6b3a7640000612ea9565b600d5550565b611a48611b64565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b611a72611b64565b6001600160a01b03919091166000908152601a60205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b611ad0611b64565b60078054911515600160a81b0260ff60a81b19909216919091179055565b611af6611b64565b6001600160a01b038116611b5b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610df5565b611167816123a9565b6005546001600160a01b031633146112955760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610df5565b6001600160a01b038316611c205760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610df5565b6001600160a01b038216611c815760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610df5565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611cee8484611a9d565b905060001981146115d55781811015611d495760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610df5565b6115d58484848403611bbe565b6001600160a01b038316611d7c5760405162461bcd60e51b8152600401610df590612f25565b6001600160a01b038216611da25760405162461bcd60e51b8152600401610df590612f6a565b6001600160a01b03831660009081526017602052604090205460ff16158015611de457506001600160a01b03821660009081526017602052604090205460ff16155b611e1e5760405162461bcd60e51b815260206004820152600b60248201526a165bdd48185c9948189bdd60aa1b6044820152606401610df5565b6001600160a01b03831660009081526018602052604090205460ff16158015611e6057506001600160a01b03821660009081526018602052604090205460ff16155b8015611e765750600754600160a01b900460ff16155b1561204857600754600160b81b900460ff16611ec95760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610df5565b6001600160a01b03821660009081526019602052604090205460ff1615611f4157600c54811115611f3c5760405162461bcd60e51b815260206004820152601f60248201527f596f752061726520657863656564696e67206d617853656c6c416d6f756e74006044820152606401610df5565b611fb4565b6001600160a01b03831660009081526019602052604090205460ff1615611fb457600b54811115611fb45760405162461bcd60e51b815260206004820152601e60248201527f596f752061726520657863656564696e67206d6178427579416d6f756e7400006044820152606401610df5565b6001600160a01b0382166000908152601a602052604090205460ff1661204857600d546001600160a01b038316600090815260208190526040902054611ffa9083612e62565b11156120485760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401610df5565b8060000361205c57610f1683836000612560565b30600090815260208190526040902054600a548110801590819061208a5750600754600160a01b900460ff16155b801561209f5750600754600160a81b900460ff165b80156120c357506001600160a01b03841660009081526019602052604090205460ff165b80156120e857506001600160a01b03841660009081526018602052604090205460ff16155b801561210d57506001600160a01b03851660009081526018602052604090205460ff16155b1561213f576007805460ff60a01b1916600160a01b179055600a546121319061268a565b6007805460ff60a01b191690555b6007546001600160a01b03861660009081526018602052604090205460ff600160a01b90920482161591168061218d57506001600160a01b03851660009081526018602052604090205460ff165b15612196575060005b6001600160a01b03851660009081526019602052604090205460ff161580156121d857506001600160a01b03861660009081526019602052604090205460ff16155b156121e1575060005b8015612280576001600160a01b03851660009081526019602052604081205460ff1615612229576064601654866122189190612ea9565b6122229190612fad565b9050612267565b6001600160a01b03871660009081526019602052604090205460ff16156122675760646015548661225a9190612ea9565b6122649190612fad565b90505b6122718186612fcf565b945061227e873083612560565b505b61228b868686612560565b6008546001600160a01b031663e30443bc876122bc816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561230257600080fd5b505af1925050508015612313575060015b506008546001600160a01b031663e30443bc86612345816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561238b57600080fd5b505af192505050801561239c575060015b15610be157505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526019602052604090205481151560ff9091161515036124915760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610df5565b6001600160a01b0382166000908152601960205260409020805460ff191682158015919091179091556125245760085460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b15801561250b57600080fd5b505af115801561251f573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b0383166125865760405162461bcd60e51b8152600401610df590612f25565b6001600160a01b0382166125ac5760405162461bcd60e51b8152600401610df590612f6a565b6001600160a01b038316600090815260208190526040902054818110156126245760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610df5565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36115d5565b6016546012546000916002916126a09085612ea9565b6126aa9190612fad565b6126b49190612fad565b905060006002601654601260000154856126ce9190612ea9565b6126d89190612fad565b6126e29190612fad565b6016546014546013549293506000926126fb9190612e62565b6127059086612ea9565b61270f9190612fad565b905061271a836129d1565b47801561272b5761272b8382612af5565b612734826129d1565b6016546014546013544792600092909161274e9190612e62565b6127589084612ea9565b6127629190612fad565b9050801561281e576009546040516000916001600160a01b03169083908381818185875af1925050503d80600081146127b7576040519150601f19603f3d011682016040523d82523d6000602084013e6127bc565b606091505b505090508061281c5760405162461bcd60e51b815260206004820152602660248201527f4661696c656420746f2073656e642045544820746f206d61726b6574696e67206044820152651dd85b1b195d60d21b6064820152608401610df5565b505b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015612867573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061288b9190612e16565b90508080156129c65760075460085460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052600092919091169063a9059cbb906044016020604051808303816000875af11580156128ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129129190612e2f565b905080156129c457600854604051633b79ab6760e21b81526004810184905247916001600160a01b03169063ede6ad9c9083906024016000604051808303818588803b15801561296157600080fd5b505af1158015612975573d6000803e3d6000fd5b5050604080518f8152602081018890529081018590527f629c1de998495dce20571ec07e2db3e3525faee1b59735b7188d26592d031099935060600191506129ba9050565b60405180910390a1505b505b505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612a0657612a06612e7a565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612a5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a839190612fe6565b81600181518110612a9657612a96612e7a565b6001600160a01b039283166020918202929092010152600654612abc9130911684611bbe565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790610bb3908590600090869030904290600401613003565b600654612b0d9030906001600160a01b031684611bbe565b60065460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015612b7a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061100f9190613074565b6001600160a01b038116811461116757600080fd5b801515811461116757600080fd5b60008060408385031215612bd557600080fd5b8235612be081612b9f565b91506020830135612bf081612bb4565b809150509250929050565b600060208083528351808285015260005b81811015612c2857858101830151858201604001528201612c0c565b81811115612c3a576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215612c6357600080fd5b8235612c6e81612b9f565b946020939093013593505050565b600060208284031215612c8e57600080fd5b8135612c9981612b9f565b9392505050565b60008060208385031215612cb357600080fd5b823567ffffffffffffffff80821115612ccb57600080fd5b818501915085601f830112612cdf57600080fd5b813581811115612cee57600080fd5b8660208260051b8501011115612d0357600080fd5b60209290920196919550909350505050565b600080600060608486031215612d2a57600080fd5b8335612d3581612b9f565b92506020840135612d4581612b9f565b929592945050506040919091013590565b60008060408385031215612d6957600080fd5b50508035926020909101359150565b600060208284031215612d8a57600080fd5b8135612c9981612bb4565b600060208284031215612da757600080fd5b5035919050565b60008060408385031215612dc157600080fd5b8235612dcc81612b9f565b91506020830135612bf081612b9f565b600181811c90821680612df057607f821691505b602082108103612e1057634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612e2857600080fd5b5051919050565b600060208284031215612e4157600080fd5b8151612c9981612bb4565b634e487b7160e01b600052601160045260246000fd5b60008219821115612e7557612e75612e4c565b500190565b634e487b7160e01b600052603260045260246000fd5b600060018201612ea257612ea2612e4c565b5060010190565b6000816000190483118215151615612ec357612ec3612e4c565b500290565b600080600080600080600060e0888a031215612ee357600080fd5b8751612eee81612b9f565b602089015160408a015160608b015160808c015160a08d015160c0909d0151949e939d50919b909a50909850965090945092505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082612fca57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612fe157612fe1612e4c565b500390565b600060208284031215612ff857600080fd5b8151612c9981612b9f565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156130535784516001600160a01b03168352938301939183019160010161302e565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561308957600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220524864ed920d45a7d5c2c11f53ac6cdc22d4f27e4295d6f2b32721fd98ca101964736f6c634300080f003360806040523480156200001157600080fd5b5060408051808201825260168082527f58417069735f4469766964656e645f547261636b6572000000000000000000006020808401829052845180860190955291845290830152908181600362000069838262000198565b50600462000078828262000198565b505050620000956200008f6200009d60201b60201c565b620000a1565b505062000264565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200011e57607f821691505b6020821081036200013f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200019357600081815260208120601f850160051c810160208610156200016e5750805b601f850160051c820191505b818110156200018f578281556001016200017a565b5050505b505050565b81516001600160401b03811115620001b457620001b4620000f3565b620001cc81620001c5845462000109565b8462000145565b602080601f831160018114620002045760008415620001eb5750858301515b600019600386901b1c1916600185901b1785556200018f565b600085815260208120601f198616915b82811015620002355788860151825594840194600190910190840162000214565b5085821015620002545787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611ddf80620002746000396000f3fe6080604052600436106102345760003560e01c8063801e13971161012e578063a9059cbb116100ab578063dd62ed3e1161006f578063dd62ed3e14610683578063e30443bc146106a3578063ede6ad9c146106c3578063f2fde38b146106d6578063fbcbc0f1146106f657600080fd5b8063a9059cbb1461060d578063aafd847a14610518578063bfd9a7591461062d578063c1b7918b1461064d578063c358754f1461066d57600080fd5b806391b89fba116100f257806391b89fba1461058257806395d89b41146105a25780639e1e0661146105b7578063a457c2d7146105cd578063a8b9d240146105ed57600080fd5b8063801e1397146104d8578063807ab4f7146104f8578063840759de1461051857806385a6b3ae1461054e5780638da5cb5b1461056457600080fd5b806327ce0147116101bc578063497ec82311610180578063497ec823146104285780634e7b827f146104485780636a4740021461047857806370a082311461048d578063715018a6146104c357600080fd5b806327ce0147146103975780632b76cc28146103b7578063313ce567146103cc57806339509351146103e857806344b6bd9e1461040857600080fd5b8063095ea7b311610203578063095ea7b3146102cd5780631162c4b6146102fd57806318160ddd14610335578063226cfa3d1461034a57806323b872dd1461037757600080fd5b806302749724146102405780630483f7a01461026957806306fdde031461028b57806307556b76146102ad57600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b50610256600f5481565b6040519081526020015b60405180910390f35b34801561027557600080fd5b50610289610284366004611ad4565b610755565b005b34801561029757600080fd5b506102a0610839565b6040516102609190611b0d565b3480156102b957600080fd5b506102566102c8366004611b62565b6108cb565b3480156102d957600080fd5b506102ed6102e8366004611b7f565b61092d565b6040519015158152602001610260565b34801561030957600080fd5b5060065461031d906001600160a01b031681565b6040516001600160a01b039091168152602001610260565b34801561034157600080fd5b50600254610256565b34801561035657600080fd5b50610256610365366004611b62565b60126020526000908152604090205481565b34801561038357600080fd5b506102ed610392366004611bab565b610945565b3480156103a357600080fd5b506102566103b2366004611b62565b610969565b3480156103c357600080fd5b506102896109ab565b3480156103d857600080fd5b5060405160128152602001610260565b3480156103f457600080fd5b506102ed610403366004611b7f565b6109b7565b34801561041457600080fd5b50610289610423366004611b62565b6109d9565b34801561043457600080fd5b50610289610443366004611bec565b610a03565b34801561045457600080fd5b506102ed610463366004611b62565b60116020526000908152604090205460ff1681565b34801561048457600080fd5b50610289610af1565b34801561049957600080fd5b506102566104a8366004611b62565b6001600160a01b031660009081526020819052604090205490565b3480156104cf57600080fd5b50610289610afa565b3480156104e457600080fd5b506102ed6104f3366004611b62565b610b0e565b34801561050457600080fd5b506102ed610513366004611b62565b610b92565b34801561052457600080fd5b50610256610533366004611b62565b6001600160a01b03166000908152600a602052604090205490565b34801561055a57600080fd5b50610256600d5481565b34801561057057600080fd5b506005546001600160a01b031661031d565b34801561058e57600080fd5b5061025661059d366004611b62565b610ba7565b3480156105ae57600080fd5b506102a0610bb2565b3480156105c357600080fd5b50610256600e5481565b3480156105d957600080fd5b506102ed6105e8366004611b7f565b610bc1565b3480156105f957600080fd5b50610256610608366004611b62565b610c41565b34801561061957600080fd5b506102ed610628366004611b7f565b610c6d565b34801561063957600080fd5b50610289610648366004611b62565b610c7b565b34801561065957600080fd5b50610256610668366004611b62565b610cbc565b34801561067957600080fd5b5061025660105481565b34801561068f57600080fd5b5061025661069e366004611bec565b610ce2565b3480156106af57600080fd5b506102896106be366004611b7f565b610d0d565b6102896106d1366004611c1a565b610d3f565b3480156106e257600080fd5b506102896106f1366004611b62565b610e56565b34801561070257600080fd5b50610716610711366004611b62565b610ecc565b604080516001600160a01b0390981688526020880196909652948601939093526060850191909152608084015260a083015260c082015260e001610260565b61075d610f9a565b6001600160a01b03821660009081526011602052604090205481151560ff90911615150361078a57600080fd5b6001600160a01b0382166000908152601160205260409020805460ff19168215159081179091556001036107c8576107c3826000610ff4565b6107f0565b6107f0826107eb846001600160a01b031660009081526020819052604090205490565b610ff4565b816001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be8260405161082d911515815260200190565b60405180910390a25050565b60606003805461084890611c33565b80601f016020809104026020016040519081016040528092919081815260200182805461087490611c33565b80156108c15780601f10610896576101008083540402835291602001916108c1565b820191906000526020600020905b8154815290600101906020018083116108a457829003601f168201915b5050505050905090565b6001600160a01b0381166000908152600b602090815260408083205491839052822054600854600160801b9261091d92610918926109129161090d9190611053565b6110dc565b906110ec565b61112a565b6109279190611c83565b92915050565b60003361093b81858561113d565b5060019392505050565b600033610953858285611261565b61095e8585856112d5565b506001949350505050565b6001600160a01b03811660009081526009602090815260408083205491839052822054600754600160801b9261091d92610918926109129161090d9190611053565b6109b433611332565b50565b60003361093b8185856109ca8383610ce2565b6109d49190611ca5565b61113d565b6109e1610f9a565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b610a0b610f9a565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90849083906370a0823190602401602060405180830381865afa158015610a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7d9190611cbd565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610ac8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aec9190611cd6565b505050565b6109b43361149c565b610b02610f9a565b610b0c6000611614565b565b6000610b18610f9a565b6000610b2383611332565b90508015610b89576001600160a01b03831660008181526012602052604090819020429055517f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490610b789084815260200190565b60405180910390a250600192915050565b50600092915050565b6000610b9c610f9a565b6000610b238361149c565b600061092782610c41565b60606004805461084890611c33565b60003381610bcf8286610ce2565b905083811015610c345760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61095e828686840361113d565b6001600160a01b0381166000908152600a602052604081205461092790610c6784610969565b90611666565b60003361093b8185856112d5565b610c83610f9a565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610cb8573d6000803e3d6000fd5b5050565b6001600160a01b0381166000908152600c602052604081205461092790610c67846108cb565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610d15610f9a565b6001600160a01b03821660009081526011602052604090205460ff16610cb857610cb88282610ff4565b610d47610f9a565b6000610d5260025490565b11610d5c57600080fd5b8015610dd857610d8f610d6e60025490565b610d7c83600160801b611053565b610d869190611c83565b600754906116a8565b60075560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600d54610dd490826116a8565b600d555b34156109b457610e0b610dea60025490565b610df834600160801b611053565b610e029190611c83565b600854906116a8565b60085560405134815233907ff19642cfd92ae52d6f5d3afacc83ca28fb305ce657bf931cc4f23618881e385c9060200160405180910390a2600f54610e5090346116a8565b600f5550565b610e5e610f9a565b6001600160a01b038116610ec35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c2b565b6109b481611614565b6000806000806000806000610f126040518060a0016040528060006001600160a01b03168152602001600081526020016000815260200160008152602001600081525090565b6001600160a01b0389168152610f2789610c41565b6020820152610f3589610cbc565b6040820152610f4389610969565b606082019081526001600160a01b0399909916600090815260126020908152604091829020546080840181905283519184015192909301519a51600e54601054929d939c9b50909950929750919550909350915050565b6005546001600160a01b03163314610b0c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2b565b6001600160a01b038216600090815260208190526040902054808211156110335760006110218383611666565b905061102d8482611707565b50505050565b80821015610aec5760006110478284611666565b905061102d84826117b8565b60008260000361106557506000610927565b60006110718385611cf3565b90508261107e8583611c83565b146110d55760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610c2b565b9392505050565b6000818181121561092757600080fd5b6000806110f98385611d12565b90506000831215801561110c5750838112155b80611121575060008312801561112157508381125b6110d557600080fd5b60008082121561113957600080fd5b5090565b6001600160a01b03831661119f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c2b565b6001600160a01b0382166112005760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c2b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061126d8484610ce2565b9050600019811461102d57818110156112c85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c2b565b61102d848484840361113d565b60405162461bcd60e51b815260206004820152602c60248201527f58417069735f4469766964656e645f547261636b65723a204e6f207472616e7360448201526b19995c9cc8185b1b1bddd95960a21b6064820152608401610c2b565b60008061133e83610cbc565b90508015610b89576001600160a01b0383166000908152600c602052604090205461136990826116a8565b6001600160a01b0384166000908152600c602052604081209190915560108054839290611397908490611ca5565b90915550506040518181526001600160a01b038416907fc3cdbc422ada3d59ad23d7a589d01901515ca060d63a31054322a9fcf62097679060200160405180910390a26000836001600160a01b03168260405160006040518083038185875af1925050503d8060008114611427576040519150601f19603f3d011682016040523d82523d6000602084013e61142c565b606091505b5050905080611495576001600160a01b0384166000908152600c60205260409020546114589083611666565b6001600160a01b0385166000908152600c602052604081209190915560108054849290611486908490611d53565b90915550600095945050505050565b5092915050565b6000806114a883610c41565b90508015610b89576001600160a01b0383166000908152600a60205260409020546114d390826116a8565b6001600160a01b0384166000908152600a6020526040812091909155600e8054839290611501908490611ca5565b90915550506040518181526001600160a01b038416907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a260065460405163a9059cbb60e01b81526001600160a01b03858116600483015260248201849052600092169063a9059cbb906044016020604051808303816000875af1158015611598573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115bc9190611cd6565b905080611495576001600160a01b0384166000908152600a60205260409020546115e69083611666565b6001600160a01b0385166000908152600a6020526040812091909155600e8054849290611486908490611d53565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006110d583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611849565b6000806116b58385611ca5565b9050838110156110d55760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610c2b565b6117118282611883565b61174b61172c61090d8360075461105390919063ffffffff16565b6001600160a01b03841660009081526009602052604090205490611942565b6001600160a01b038316600090815260096020526040902055600854611798906117799061090d9084611053565b6001600160a01b0384166000908152600b602052604090205490611942565b6001600160a01b039092166000908152600b602052604090209190915550565b6117c2828261197f565b6117fc6117dd61090d8360075461105390919063ffffffff16565b6001600160a01b038416600090815260096020526040902054906110ec565b6001600160a01b0383166000908152600960205260409020556008546117989061182a9061090d9084611053565b6001600160a01b0384166000908152600b6020526040902054906110ec565b6000818484111561186d5760405162461bcd60e51b8152600401610c2b9190611b0d565b50600061187a8486611d53565b95945050505050565b6001600160a01b0382166118d95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610c2b565b80600260008282546118eb9190611ca5565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60008061194f8385611d6a565b9050600083121580156119625750838113155b80611121575060008312801561112157508381136110d557600080fd5b6001600160a01b0382166119df5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c2b565b6001600160a01b03821660009081526020819052604090205481811015611a535760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c2b565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b03811681146109b457600080fd5b80151581146109b457600080fd5b60008060408385031215611ae757600080fd5b8235611af281611ab1565b91506020830135611b0281611ac6565b809150509250929050565b600060208083528351808285015260005b81811015611b3a57858101830151858201604001528201611b1e565b81811115611b4c576000604083870101525b50601f01601f1916929092016040019392505050565b600060208284031215611b7457600080fd5b81356110d581611ab1565b60008060408385031215611b9257600080fd5b8235611b9d81611ab1565b946020939093013593505050565b600080600060608486031215611bc057600080fd5b8335611bcb81611ab1565b92506020840135611bdb81611ab1565b929592945050506040919091013590565b60008060408385031215611bff57600080fd5b8235611c0a81611ab1565b91506020830135611b0281611ab1565b600060208284031215611c2c57600080fd5b5035919050565b600181811c90821680611c4757607f821691505b602082108103611c6757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082611ca057634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611cb857611cb8611c6d565b500190565b600060208284031215611ccf57600080fd5b5051919050565b600060208284031215611ce857600080fd5b81516110d581611ac6565b6000816000190483118215151615611d0d57611d0d611c6d565b500290565b600080821280156001600160ff1b0384900385131615611d3457611d34611c6d565b600160ff1b8390038412811615611d4d57611d4d611c6d565b50500190565b600082821015611d6557611d65611c6d565b500390565b60008083128015600160ff1b850184121615611d8857611d88611c6d565b6001600160ff1b0384018313811615611da357611da3611c6d565b5050039056fea2646970667358221220e823ffad1d45a6ba989c2c4e64f6827136100930d122c453c65f9758407aff0564736f6c634300080f0033000000000000000000000000e003ed912db0cc5c60a93ba6b63398f9c0d4abd9

Deployed Bytecode

0x60806040526004361061039b5760003560e01c8063864701a5116101dc578063afa4f3b211610102578063d2fcc001116100a0578063f2fde38b1161006f578063f2fde38b14610b01578063f66895a314610b21578063f887ea4014610b40578063f8b45b0514610b6057600080fd5b8063d2fcc00114610a8b578063dd62ed3e14610aab578063e01af92c14610acb578063e2f4560514610aeb57600080fd5b8063bdf1436d116100dc578063bdf1436d14610a0b578063c024666814610a2b578063c18bc19514610a4b578063c851cc3214610a6b57600080fd5b8063afa4f3b2146109a6578063b62496f5146109c6578063b7cdddcb146109f657600080fd5b806395d89b411161017a578063a8aa1b3111610149578063a8aa1b3114610901578063a8b9d24014610921578063a9059cbb14610956578063abb810521461097657600080fd5b806395d89b41146108965780639a7a23d6146108ab5780639c3250cf146108cb578063a457c2d7146108e157600080fd5b806389371745116101b657806389371745146108235780638c9684f9146108385780638da5cb5b1461085857806392929a091461087657600080fd5b8063864701a5146107b357806388bdd9be146107ed57806388e765ff1461080d57600080fd5b806339509351116102c157806366d602ae1161025f578063715018a61161022e578063715018a6146106ff57806375f0a8741461071457806379b447bd146107345780637b510fe81461075457600080fd5b806366d602ae146106725780636843cd84146106885780636ddd1713146106a857806370a08231146106c957600080fd5b80634e71d92d1161029b5780634e71d92d146105e45780634fbee193146105f957806359c615cd146106325780635d098b381461065257600080fd5b8063395093511461058d57806346469afb146105ad5780634ada218b146105c357600080fd5b806318160ddd116103395780632c1f5216116103085780632c1f5216146105045780632e1ab9041461053c57806330bb4cff1461055c578063313ce5671461057157600080fd5b806318160ddd1461048e5780631bff7898146104ad57806323b872dd146104c35780632866ed21146104e357600080fd5b80630a78097d116103755780630a78097d146104245780630bd05b69146104445780630eca11801461045957806312b77e8a1461047957600080fd5b80630483f7a0146103a757806306fdde03146103c9578063095ea7b3146103f457600080fd5b366103a257005b600080fd5b3480156103b357600080fd5b506103c76103c2366004612bc2565b610b76565b005b3480156103d557600080fd5b506103de610be9565b6040516103eb9190612bfb565b60405180910390f35b34801561040057600080fd5b5061041461040f366004612c50565b610c7b565b60405190151581526020016103eb565b34801561043057600080fd5b506103c761043f366004612c7c565b610c93565b34801561045057600080fd5b506103c7610d97565b34801561046557600080fd5b506103c7610474366004612ca0565b610e24565b34801561048557600080fd5b506103c7610f1b565b34801561049a57600080fd5b506002545b6040519081526020016103eb565b3480156104b957600080fd5b5061049f60165481565b3480156104cf57600080fd5b506104146104de366004612d15565b610f87565b3480156104ef57600080fd5b5060075461041490600160b01b900460ff1681565b34801561051057600080fd5b50600854610524906001600160a01b031681565b6040516001600160a01b0390911681526020016103eb565b34801561054857600080fd5b506103c7610557366004612c7c565b610fab565b34801561056857600080fd5b5061049f611016565b34801561057d57600080fd5b50604051601281526020016103eb565b34801561059957600080fd5b506104146105a8366004612c50565b611089565b3480156105b957600080fd5b5061049f60155481565b3480156105cf57600080fd5b5060075461041490600160b81b900460ff1681565b3480156105f057600080fd5b506103c76110ab565b34801561060557600080fd5b50610414610614366004612c7c565b6001600160a01b031660009081526018602052604090205460ff1690565b34801561063e57600080fd5b506103c761064d366004612ca0565b61116a565b34801561065e57600080fd5b506103c761066d366004612c7c565b6111e4565b34801561067e57600080fd5b5061049f600c5481565b34801561069457600080fd5b5061049f6106a3366004612c7c565b61120e565b3480156106b457600080fd5b5060075461041490600160a81b900460ff1681565b3480156106d557600080fd5b5061049f6106e4366004612c7c565b6001600160a01b031660009081526020819052604090205490565b34801561070b57600080fd5b506103c7611283565b34801561072057600080fd5b50600954610524906001600160a01b031681565b34801561074057600080fd5b506103c761074f366004612d56565b611297565b34801561076057600080fd5b5061077461076f366004612c7c565b6112cd565b604080516001600160a01b0390981688526020880196909652948601939093526060850191909152608084015260a083015260c082015260e0016103eb565b3480156107bf57600080fd5b50600f546010546011546107d292919083565b604080519384526020840192909252908201526060016103eb565b3480156107f957600080fd5b506103c7610808366004612c7c565b61135f565b34801561081957600080fd5b5061049f600b5481565b34801561082f57600080fd5b506103c7611531565b34801561084457600080fd5b506103c7610853366004612c7c565b6115db565b34801561086457600080fd5b506005546001600160a01b0316610524565b34801561088257600080fd5b506103c7610891366004612d78565b61161b565b3480156108a257600080fd5b506103de611641565b3480156108b757600080fd5b506103c76108c6366004612bc2565b611650565b3480156108d757600080fd5b5061049f600e5481565b3480156108ed57600080fd5b506104146108fc366004612c50565b611662565b34801561090d57600080fd5b50600754610524906001600160a01b031681565b34801561092d57600080fd5b5061094161093c366004612c7c565b6116dd565b604080519283526020830191909152016103eb565b34801561096257600080fd5b50610414610971366004612c50565b6117c6565b34801561098257600080fd5b50610414610991366004612c7c565b60176020526000908152604090205460ff1681565b3480156109b257600080fd5b506103c76109c1366004612d95565b6117d4565b3480156109d257600080fd5b506104146109e1366004612c7c565b60196020526000908152604090205460ff1681565b348015610a0257600080fd5b506103c76117f4565b348015610a1757600080fd5b506103c7610a26366004612d95565b611871565b348015610a3757600080fd5b506103c7610a46366004612bc2565b611936565b348015610a5757600080fd5b506103c7610a66366004612d95565b611a20565b348015610a7757600080fd5b506103c7610a86366004612c7c565b611a40565b348015610a9757600080fd5b506103c7610aa6366004612bc2565b611a6a565b348015610ab757600080fd5b5061049f610ac6366004612dae565b611a9d565b348015610ad757600080fd5b506103c7610ae6366004612d78565b611ac8565b348015610af757600080fd5b5061049f600a5481565b348015610b0d57600080fd5b506103c7610b1c366004612c7c565b611aee565b348015610b2d57600080fd5b506012546013546014546107d292919083565b348015610b4c57600080fd5b50600654610524906001600160a01b031681565b348015610b6c57600080fd5b5061049f600d5481565b610b7e611b64565b60085460405162241fbd60e51b81526001600160a01b038481166004830152831515602483015290911690630483f7a0906044015b600060405180830381600087803b158015610bcd57600080fd5b505af1158015610be1573d6000803e3d6000fd5b505050505050565b606060038054610bf890612ddc565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2490612ddc565b8015610c715780601f10610c4657610100808354040283529160200191610c71565b820191906000526020600020905b815481529060010190602001808311610c5457829003601f168201915b5050505050905090565b600033610c89818585611bbe565b5060019392505050565b610c9b611b64565b806001600160a01b031663a9059cbb610cbc6005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015610d00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d249190612e16565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610d6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d939190612e2f565b5050565b610d9f611b64565b600754600160b81b900460ff1615610dfe5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c656400000000000000000060448201526064015b60405180910390fd5b6007805461ffff60b01b191661010160b01b179055610e1f42610258612e62565b600e55565b610e2c611b64565b600e5442111580610e475750600754600160b81b900460ff16155b610ea45760405162461bcd60e51b815260206004820152602860248201527f43616e206f6e6c792073657420626f7420696e20746865206669727374203130604482015267206d696e7574657360c01b6064820152608401610df5565b60005b81811015610f1657600160176000858585818110610ec757610ec7612e7a565b9050602002016020810190610edc9190612c7c565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610f0e81612e90565b915050610ea7565b505050565b610f23611b64565b60095460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610f74576040519150601f19603f3d011682016040523d82523d6000602084013e610f79565b606091505b5050905080610d9357600080fd5b600033610f95858285611ce2565b610fa0858585611d56565b506001949350505050565b610fb3611b64565b60085460405163225b5ecf60e11b81526001600160a01b038381166004830152909116906344b6bd9e906024015b600060405180830381600087803b158015610ffb57600080fd5b505af115801561100f573d6000803e3d6000fd5b5050505050565b600854604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015611060573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110849190612e16565b905090565b600033610c8981858561109c8383611a9d565b6110a69190612e62565b611bbe565b600754600160b01b900460ff166110f85760405162461bcd60e51b815260206004820152601160248201527010db185a5b481b9bdd08195b98589b1959607a1b6044820152606401610df5565b60085460405163807ab4f760e01b81523360048201526001600160a01b039091169063807ab4f7906024015b6020604051808303816000875af1158015611143573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111679190612e2f565b50565b611172611b64565b60005b81811015610f165760006017600085858581811061119557611195612e7a565b90506020020160208101906111aa9190612c7c565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806111dc81612e90565b915050611175565b6111ec611b64565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6008546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a0823190602401602060405180830381865afa158015611259573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127d9190612e16565b92915050565b61128b611b64565b61129560006123a9565b565b61129f611b64565b6112b182670de0b6b3a7640000612ea9565b600b556112c681670de0b6b3a7640000612ea9565b600c555050565b60085460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392169063fbcbc0f19060240160e060405180830381865afa158015611324573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113489190612ec8565b959e949d50929b5090995097509550909350915050565b611367611b64565b60405162241fbd60e51b81526001600160a01b03821660048201819052600160248301528291630483f7a090604401600060405180830381600087803b1580156113b057600080fd5b505af11580156113c4573d6000803e3d6000fd5b505060405162241fbd60e51b8152306004820152600160248201526001600160a01b0384169250630483f7a09150604401600060405180830381600087803b15801561140f57600080fd5b505af1158015611423573d6000803e3d6000fd5b50505050806001600160a01b0316630483f7a06114486005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b15801561149057600080fd5b505af11580156114a4573d6000803e3d6000fd5b505060065460405162241fbd60e51b81526001600160a01b039182166004820152600160248201529084169250630483f7a09150604401600060405180830381600087803b1580156114f557600080fd5b505af1158015611509573d6000803e3d6000fd5b5050600880546001600160a01b0319166001600160a01b039490941693909317909255505050565b6009546001600160a01b0316331461157c5760405162461bcd60e51b815260206004820152600e60248201526d4f6e6c79206d61726b6574696e6760901b6044820152606401610df5565b60085460405163bfd9a75960e01b81523360048201526001600160a01b039091169063bfd9a75990602401600060405180830381600087803b1580156115c157600080fd5b505af11580156115d5573d6000803e3d6000fd5b50505050565b6115e3611b64565b60085460405163497ec82360e01b81523360048201526001600160a01b0383811660248301529091169063497ec82390604401610fe1565b611623611b64565b60078054911515600160b01b0260ff60b01b19909216919091179055565b606060048054610bf890612ddc565b611658611b64565b610d9382826123fb565b600033816116708286611a9d565b9050838110156116d05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610df5565b610fa08286868403611bbe565b6008546040516302a2e74960e61b81526001600160a01b038381166004830152600092839291169063a8b9d24090602401602060405180830381865afa15801561172b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174f9190612e16565b60085460405163c1b7918b60e01b81526001600160a01b0386811660048301529091169063c1b7918b90602401602060405180830381865afa158015611799573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bd9190612e16565b91509150915091565b600033610c89818585611d56565b6117dc611b64565b6117ee81670de0b6b3a7640000612ea9565b600a5550565b600754600160b01b900460ff166118415760405162461bcd60e51b815260206004820152601160248201527010db185a5b481b9bdd08195b98589b1959607a1b6044820152606401610df5565b60085460405163801e139760e01b81523360048201526001600160a01b039091169063801e139790602401611124565b611879611b64565b6007546008546040516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810184905260009291909116906323b872dd906064016020604051808303816000875af11580156118d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fd9190612e2f565b90508015610d9357600854604051633b79ab6760e21b8152600481018490526001600160a01b039091169063ede6ad9c90602401610bb3565b61193e611b64565b6001600160a01b03821660009081526018602052604090205481151560ff9091161515036119c15760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610df5565b6001600160a01b038216600081815260186020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b611a28611b64565b611a3a81670de0b6b3a7640000612ea9565b600d5550565b611a48611b64565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b611a72611b64565b6001600160a01b03919091166000908152601a60205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b611ad0611b64565b60078054911515600160a81b0260ff60a81b19909216919091179055565b611af6611b64565b6001600160a01b038116611b5b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610df5565b611167816123a9565b6005546001600160a01b031633146112955760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610df5565b6001600160a01b038316611c205760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610df5565b6001600160a01b038216611c815760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610df5565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611cee8484611a9d565b905060001981146115d55781811015611d495760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610df5565b6115d58484848403611bbe565b6001600160a01b038316611d7c5760405162461bcd60e51b8152600401610df590612f25565b6001600160a01b038216611da25760405162461bcd60e51b8152600401610df590612f6a565b6001600160a01b03831660009081526017602052604090205460ff16158015611de457506001600160a01b03821660009081526017602052604090205460ff16155b611e1e5760405162461bcd60e51b815260206004820152600b60248201526a165bdd48185c9948189bdd60aa1b6044820152606401610df5565b6001600160a01b03831660009081526018602052604090205460ff16158015611e6057506001600160a01b03821660009081526018602052604090205460ff16155b8015611e765750600754600160a01b900460ff16155b1561204857600754600160b81b900460ff16611ec95760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610df5565b6001600160a01b03821660009081526019602052604090205460ff1615611f4157600c54811115611f3c5760405162461bcd60e51b815260206004820152601f60248201527f596f752061726520657863656564696e67206d617853656c6c416d6f756e74006044820152606401610df5565b611fb4565b6001600160a01b03831660009081526019602052604090205460ff1615611fb457600b54811115611fb45760405162461bcd60e51b815260206004820152601e60248201527f596f752061726520657863656564696e67206d6178427579416d6f756e7400006044820152606401610df5565b6001600160a01b0382166000908152601a602052604090205460ff1661204857600d546001600160a01b038316600090815260208190526040902054611ffa9083612e62565b11156120485760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401610df5565b8060000361205c57610f1683836000612560565b30600090815260208190526040902054600a548110801590819061208a5750600754600160a01b900460ff16155b801561209f5750600754600160a81b900460ff165b80156120c357506001600160a01b03841660009081526019602052604090205460ff165b80156120e857506001600160a01b03841660009081526018602052604090205460ff16155b801561210d57506001600160a01b03851660009081526018602052604090205460ff16155b1561213f576007805460ff60a01b1916600160a01b179055600a546121319061268a565b6007805460ff60a01b191690555b6007546001600160a01b03861660009081526018602052604090205460ff600160a01b90920482161591168061218d57506001600160a01b03851660009081526018602052604090205460ff165b15612196575060005b6001600160a01b03851660009081526019602052604090205460ff161580156121d857506001600160a01b03861660009081526019602052604090205460ff16155b156121e1575060005b8015612280576001600160a01b03851660009081526019602052604081205460ff1615612229576064601654866122189190612ea9565b6122229190612fad565b9050612267565b6001600160a01b03871660009081526019602052604090205460ff16156122675760646015548661225a9190612ea9565b6122649190612fad565b90505b6122718186612fcf565b945061227e873083612560565b505b61228b868686612560565b6008546001600160a01b031663e30443bc876122bc816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561230257600080fd5b505af1925050508015612313575060015b506008546001600160a01b031663e30443bc86612345816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561238b57600080fd5b505af192505050801561239c575060015b15610be157505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526019602052604090205481151560ff9091161515036124915760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610df5565b6001600160a01b0382166000908152601960205260409020805460ff191682158015919091179091556125245760085460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b15801561250b57600080fd5b505af115801561251f573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b0383166125865760405162461bcd60e51b8152600401610df590612f25565b6001600160a01b0382166125ac5760405162461bcd60e51b8152600401610df590612f6a565b6001600160a01b038316600090815260208190526040902054818110156126245760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610df5565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36115d5565b6016546012546000916002916126a09085612ea9565b6126aa9190612fad565b6126b49190612fad565b905060006002601654601260000154856126ce9190612ea9565b6126d89190612fad565b6126e29190612fad565b6016546014546013549293506000926126fb9190612e62565b6127059086612ea9565b61270f9190612fad565b905061271a836129d1565b47801561272b5761272b8382612af5565b612734826129d1565b6016546014546013544792600092909161274e9190612e62565b6127589084612ea9565b6127629190612fad565b9050801561281e576009546040516000916001600160a01b03169083908381818185875af1925050503d80600081146127b7576040519150601f19603f3d011682016040523d82523d6000602084013e6127bc565b606091505b505090508061281c5760405162461bcd60e51b815260206004820152602660248201527f4661696c656420746f2073656e642045544820746f206d61726b6574696e67206044820152651dd85b1b195d60d21b6064820152608401610df5565b505b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015612867573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061288b9190612e16565b90508080156129c65760075460085460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052600092919091169063a9059cbb906044016020604051808303816000875af11580156128ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129129190612e2f565b905080156129c457600854604051633b79ab6760e21b81526004810184905247916001600160a01b03169063ede6ad9c9083906024016000604051808303818588803b15801561296157600080fd5b505af1158015612975573d6000803e3d6000fd5b5050604080518f8152602081018890529081018590527f629c1de998495dce20571ec07e2db3e3525faee1b59735b7188d26592d031099935060600191506129ba9050565b60405180910390a1505b505b505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612a0657612a06612e7a565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612a5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a839190612fe6565b81600181518110612a9657612a96612e7a565b6001600160a01b039283166020918202929092010152600654612abc9130911684611bbe565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790610bb3908590600090869030904290600401613003565b600654612b0d9030906001600160a01b031684611bbe565b60065460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015612b7a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061100f9190613074565b6001600160a01b038116811461116757600080fd5b801515811461116757600080fd5b60008060408385031215612bd557600080fd5b8235612be081612b9f565b91506020830135612bf081612bb4565b809150509250929050565b600060208083528351808285015260005b81811015612c2857858101830151858201604001528201612c0c565b81811115612c3a576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215612c6357600080fd5b8235612c6e81612b9f565b946020939093013593505050565b600060208284031215612c8e57600080fd5b8135612c9981612b9f565b9392505050565b60008060208385031215612cb357600080fd5b823567ffffffffffffffff80821115612ccb57600080fd5b818501915085601f830112612cdf57600080fd5b813581811115612cee57600080fd5b8660208260051b8501011115612d0357600080fd5b60209290920196919550909350505050565b600080600060608486031215612d2a57600080fd5b8335612d3581612b9f565b92506020840135612d4581612b9f565b929592945050506040919091013590565b60008060408385031215612d6957600080fd5b50508035926020909101359150565b600060208284031215612d8a57600080fd5b8135612c9981612bb4565b600060208284031215612da757600080fd5b5035919050565b60008060408385031215612dc157600080fd5b8235612dcc81612b9f565b91506020830135612bf081612b9f565b600181811c90821680612df057607f821691505b602082108103612e1057634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612e2857600080fd5b5051919050565b600060208284031215612e4157600080fd5b8151612c9981612bb4565b634e487b7160e01b600052601160045260246000fd5b60008219821115612e7557612e75612e4c565b500190565b634e487b7160e01b600052603260045260246000fd5b600060018201612ea257612ea2612e4c565b5060010190565b6000816000190483118215151615612ec357612ec3612e4c565b500290565b600080600080600080600060e0888a031215612ee357600080fd5b8751612eee81612b9f565b602089015160408a015160608b015160808c015160a08d015160c0909d0151949e939d50919b909a50909850965090945092505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082612fca57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612fe157612fe1612e4c565b500390565b600060208284031215612ff857600080fd5b8151612c9981612b9f565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156130535784516001600160a01b03168352938301939183019160010161302e565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561308957600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220524864ed920d45a7d5c2c11f53ac6cdc22d4f27e4295d6f2b32721fd98ca101964736f6c634300080f0033

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

000000000000000000000000e003ed912db0cc5c60a93ba6b63398f9c0d4abd9

-----Decoded View---------------
Arg [0] : _marketingWallet (address): 0xE003eD912db0CC5C60a93BA6B63398f9C0d4aBD9

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e003ed912db0cc5c60a93ba6b63398f9c0d4abd9


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.