ETH Price: $3,711.08 (-5.63%)

Contract

0xA4E7D03408B1eeBD2c0eb3Fd5dA1a8daEEDa0d0a
 

Overview

ETH Balance

0.00272919404479561 ETH

Eth Value

$10.13 (@ $3,711.08/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
190906612024-01-26 12:05:11319 days ago1706270711
0xA4E7D034...aEEDa0d0a
0.00033623 ETH
190906612024-01-26 12:05:11319 days ago1706270711
0xA4E7D034...aEEDa0d0a
0.0003365 ETH
190906612024-01-26 12:05:11319 days ago1706270711
0xA4E7D034...aEEDa0d0a
0.00002297 ETH
169893772023-04-06 11:48:47614 days ago1680781727
0xA4E7D034...aEEDa0d0a
0.00028795 ETH
169893772023-04-06 11:48:47614 days ago1680781727
0xA4E7D034...aEEDa0d0a
0.00046774 ETH
169893772023-04-06 11:48:47614 days ago1680781727
0xA4E7D034...aEEDa0d0a
0.0004427 ETH
168332782023-03-15 12:25:11636 days ago1678883111
0xA4E7D034...aEEDa0d0a
0.00026882 ETH
168332782023-03-15 12:25:11636 days ago1678883111
0xA4E7D034...aEEDa0d0a
0.00026882 ETH
168332782023-03-15 12:25:11636 days ago1678883111
0xA4E7D034...aEEDa0d0a
0.00016248 ETH
168332782023-03-15 12:25:11636 days ago1678883111
0xA4E7D034...aEEDa0d0a
0.00005256 ETH
166611712023-02-19 7:31:47660 days ago1676791907
0xA4E7D034...aEEDa0d0a
0.00053764 ETH
166611712023-02-19 7:31:47660 days ago1676791907
0xA4E7D034...aEEDa0d0a
0.00007635 ETH
166611712023-02-19 7:31:47660 days ago1676791907
0xA4E7D034...aEEDa0d0a
0.00005428 ETH
166607492023-02-19 6:06:11660 days ago1676786771
0xA4E7D034...aEEDa0d0a
0.00051898 ETH
166607492023-02-19 6:06:11660 days ago1676786771
0xA4E7D034...aEEDa0d0a
0.00003527 ETH
166607492023-02-19 6:06:11660 days ago1676786771
0xA4E7D034...aEEDa0d0a
0.00002795 ETH
166607492023-02-19 6:06:11660 days ago1676786771
0xA4E7D034...aEEDa0d0a
0.00003882 ETH
166261322023-02-14 9:35:59665 days ago1676367359
0xA4E7D034...aEEDa0d0a
0.00008147 ETH
166261322023-02-14 9:35:59665 days ago1676367359
0xA4E7D034...aEEDa0d0a
0.00015269 ETH
166261322023-02-14 9:35:59665 days ago1676367359
0xA4E7D034...aEEDa0d0a
0.00002916 ETH
166261322023-02-14 9:35:59665 days ago1676367359
0xA4E7D034...aEEDa0d0a
0.00001767 ETH
166160022023-02-12 23:37:23666 days ago1676245043
0xA4E7D034...aEEDa0d0a
0.00003302 ETH
166160022023-02-12 23:37:23666 days ago1676245043
0xA4E7D034...aEEDa0d0a
0.00068341 ETH
166160022023-02-12 23:37:23666 days ago1676245043
0xA4E7D034...aEEDa0d0a
0.00071149 ETH
166160022023-02-12 23:37:23666 days ago1676245043
0xA4E7D034...aEEDa0d0a
0.00005391 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Watch_AiDividendTracker

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-02-06
*/

// SPDX-License-Identifier: MIT

// Telegram: https://t.me/WatchAiOfficialPortal
// Website: https://watch-ai.net
// Twitte: https://twitter.com/watchaiofficial

pragma solidity ^0.8.6;

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

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

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

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

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

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

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

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

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

contract ERC20 is Context, IERC20, IERC20Metadata {
    using SafeMath for uint256;

    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}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * 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 value {ERC20} uses, unless this function is
     * 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 9;
    }

    /**
     * @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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

        /*
            _tokengeneration is an internal function in ERC20.sol that is only called here to generate the total supply first time,
            and CANNOT be called ever again
        */
    function _tokengeneration(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: new tokens to the zero address");

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

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

contract Ownable is Context {
    address private _owner;

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

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

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

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

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

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

interface IPair {
    function sync() external;
}

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

interface IRouter {
    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;
}

/// @title Dividend-Paying Token Interface
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev An interface for a dividend-paying token contract.
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);
  
  function distributeDividends() external payable;
  
  /// @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 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 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);


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

contract DividendPayingToken is ERC20, DividendPayingTokenInterface, Ownable {
  using SafeMath for uint256;
  using SafeMathUint for uint256;
  using SafeMathInt for int256;

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

  IRouter public router;
  address public rewardToken;

  uint256 internal magnifiedDividendPerShare;

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

  uint256 public totalDividendsDistributed;

  constructor(string memory _name, string memory _symbol)  ERC20(_name, _symbol) {
      IRouter _router = IRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
      router = _router;
      rewardToken = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48;
  }

    /// @dev Distributes dividends whenever ether is paid to this contract.
    receive() external payable{
        distributeDividends();
    }

     function distributeDividends() public override payable {
      require(totalSupply() > 0);

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

        totalDividendsDistributed = totalDividendsDistributed.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 _withdrawDividendOfUser(address payable user) internal returns (uint256) {
        uint256 _withdrawableDividend = withdrawableDividendOf(user);
        if (_withdrawableDividend > 0) {
            withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);
            emit DividendWithdrawn(user, _withdrawableDividend);
            if(rewardToken != router.WETH()){
                (bool success) = swapBnbForCustomToken(user, _withdrawableDividend);
                if(!success) {
                    (bool secondSuccess,) = user.call{value: _withdrawableDividend, gas: 3000}("");
                    if(!secondSuccess) {
                        withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend);
                        return 0;
                    }       
                }
            }
            else{
                (bool success,) = user.call{value: _withdrawableDividend, gas: 3000}("");
                if(!success) {
                    withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend);
                    return 0;
                }
            }
            return _withdrawableDividend;
        }
        return 0;
    }
    
    function setRewardToken(address newToken) external onlyOwner{
        rewardToken = newToken;
    }
  
    function swapBnbForCustomToken(address user, uint256 amt) internal returns (bool) {
          address[] memory path = new address[](2);
          path[0] = router.WETH();
          path[1] = rewardToken;

          try router.swapExactETHForTokens{value: amt}(0, path, user, block.timestamp + 2){
            return true;
        } catch {
            return false;
        }
    }

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

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

    /// 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 _tokengeneration(address account, uint256 value) internal override {
      super._tokengeneration(account, value);

      magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
        .sub( (magnifiedDividendPerShare.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() );
    }

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

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

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

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

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

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



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

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

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

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

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

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

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

library Address {
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

contract WatchAi is ERC20, Ownable {
    using Address for address payable;

    IRouter public router;
    address public pair;

    bool private swapping;
    bool public swapEnabled = true;
    bool public tradingEnabled = false;
    uint256 public startTradingBlock;

    Watch_AiDividendTracker public dividendTracker;
    
    address public constant deadWallet = 0x000000000000000000000000000000000000dEaD;
    address public marketingWallet = 0x0B5d665b263595D7CfC9F90a420429cE5F994E07;

    uint256 public swapTokensAtAmount = 3e5 * 10**9;
    uint256 public maxWalletBalance = 2e6 * 10**9;
    uint256 public maxBuyAmount = 2e6 * 10**9;
    uint256 public maxSellAmount = 2e6 * 10**9;
    
    string private currentRewardToken;

    ///////////////
    //   Fees    //
    ///////////////

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

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

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

    ////////////////
    //  Anti Bot  //
    ////////////////

    mapping(address => uint256) public lastSell;
    uint256 private antiBotBlocks = 0;
    mapping (address => bool) private isBlacklisted;
    uint256 public snipersCaught = 0;
    
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public automatedMarketMakerPairs;

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

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

    constructor() ERC20("Watch Ai", "WATCHAI") {
        dividendTracker = new Watch_AiDividendTracker();

        IRouter _router = IRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        // Create a pair for this new token
        address _pair = IFactory(_router.factory()).createPair(address(this), _router.WETH());

        router = _router;
        pair = _pair;

        _setAutomatedMarketMakerPair(_pair, true);

        // exclude from receiving dividends
        dividendTracker.excludeFromDividends(address(dividendTracker), true);
        dividendTracker.excludeFromDividends(address(this), true);
        dividendTracker.excludeFromDividends(owner(), true);
        dividendTracker.excludeFromDividends(deadWallet, true);
        dividendTracker.excludeFromDividends(address(_router), true);

        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);

        /*
            _tokengeneration is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _tokengeneration(owner(), 1e8 * (10**9));
    }

    receive() external payable {}

    function updateDividendTracker(address newAddress) public onlyOwner {
        Watch_AiDividendTracker newDividendTracker = Watch_AiDividendTracker(
            payable(newAddress)
        );

        newDividendTracker.excludeFromDividends(address(newDividendTracker), true);
        newDividendTracker.excludeFromDividends(address(this), true);
        newDividendTracker.excludeFromDividends(owner(), true);
        newDividendTracker.excludeFromDividends(address(router), true);
        dividendTracker = newDividendTracker;
    }

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

    /// @notice Manual claim the dividends after claimWait is passed
    ///    This can be useful during low volume days.
    function claim() external {
        dividendTracker.processAccount(payable(msg.sender), false);
    }

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

    function forceSend() external {
        uint256 BNBbalance = address(this).balance;
        payable(owner()).sendValue(BNBbalance);
    }

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

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

        emit ExcludeFromFees(account, excluded);
    }

    function excludeMultipleAccountsFromFees(address[] calldata accounts, bool excluded)
        public
        onlyOwner
    {
        for (uint256 i = 0; i < accounts.length; i++) {
            _isExcludedFromFees[accounts[i]] = excluded;
        }
        emit ExcludeMultipleAccountsFromFees(accounts, excluded);
    }

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

    ///////////////////////
    //  Setter Functions //
    ///////////////////////

    function setMarketingWallet(address newWallet) external onlyOwner {
        require(newWallet != address(0),"Fee Address cannot be zero address");
        marketingWallet = newWallet;
    }

    /// @notice Update the threshold to swap tokens for liquidity,
    ///   marketing and dividends.
    function setSwapTokensAtAmount(uint256 amount) external onlyOwner {
        require(amount < 1e6,"Swap Threshold should be less than 1% of total supply");
        swapTokensAtAmount = amount * 10**9;
    }

    function setBuyTaxes(uint256 _rewards, uint256 _marketing, uint256 _liquidity) external onlyOwner{
        buyTaxes = Taxes(_rewards, _marketing, _liquidity);
        require((_rewards + _marketing +  _liquidity ) <= 12, "Must keep fees at 12% or less");
    }

    function setSellTaxes(uint256 _rewards, uint256 _marketing, uint256 _liquidity) external onlyOwner{
        sellTaxes = Taxes(_rewards, _marketing, _liquidity);
        require((_rewards + _marketing +  _liquidity ) <= 30, "Must keep fees at 30% or less");
    }

     function setMaxWallet(uint256 amount) external onlyOwner {
        require(amount >= 1e5, "Cannot set max wallet amount lower than 0.1%");
        maxWalletBalance = amount * 10**9;
    }
    
    function setMaxBuyAndSellLimits(uint256 maxBuy, uint256 maxSell) external onlyOwner {
        require(maxBuy >= 1e5, "Cannot set max Buy amount lower than 0.1%");
        require(maxSell >= 1e5, "Cannot set max Sell amount lower than 0.1%");
        maxBuyAmount = maxBuy * 10**decimals();
        maxSellAmount = maxSell * 10**decimals();
    }

    function setRewardToken(address newToken) external onlyOwner {
        require(newToken!=address(0),"New token can't be zero address");
        require(newToken!=deadWallet,"New token can't be dead address");
        require(newToken!=address(this),"New token can't be contract address itself");
        dividendTracker.setRewardToken(newToken);
    }

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

    function enableTradingEnabled() external onlyOwner {
        require(!tradingEnabled, "Trading is already enabled");
        tradingEnabled = true;
        startTradingBlock = block.number;
    }

    function setAntiBotBlocks(uint256 numberOfBlocks) external onlyOwner{
        require(!tradingEnabled, "Can't change when trading has started");
        require(numberOfBlocks <= 10,"Deadline should be less than 8 Blocks");
        antiBotBlocks = numberOfBlocks;
    }

    function setMinBalanceForDividends(uint256 amount) external onlyOwner {
        dividendTracker.setMinBalanceForDividends(amount);
    }
    
    function UnBlacklist_Single_Sniper(address _address, bool _status) external onlyOwner {
        isBlacklisted[_address] = _status;
    }
    
    function UnBlacklist_Multi_Snipers(address[] calldata addresses, bool status) external onlyOwner {
        require(addresses.length < 151,"GAS Error: max limit is 150 addresses");
        for (uint256 i=0; i < addresses.length; ++i) {
            isBlacklisted[addresses[i]] = status;
        }
    }
    
    function _setAutomatedMarketMakerPair(address newPair, bool value) private {
        require(automatedMarketMakerPairs[newPair] != value,"Watch_Ai: Automated market maker pair is already set to that value");
        automatedMarketMakerPairs[newPair] = value;

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

        emit SetAutomatedMarketMakerPair(newPair, value);
    }

    /// @notice Update the gasForProcessing needed to auto-distribute rewards
    /// @param newValue The new amount of gas needed
    /// @dev The amount should not be greater than 500k to avoid expensive transactions
    function setGasForProcessing(uint256 newValue) external onlyOwner {
        require(
            newValue >= 200000 && newValue <= 500000,
            "Watch_Ai: gasForProcessing must be between 200,000 and 500,000"
        );
        require(
            newValue != gasForProcessing,
            "Watch_Ai: Cannot update gasForProcessing to same value"
        );
        emit GasForProcessingUpdated(newValue, gasForProcessing);
        gasForProcessing = newValue;
    }

    /// @dev Update the dividendTracker claimWait
    function setClaimWait(uint256 claimWait) external onlyOwner {
        dividendTracker.updateClaimWait(claimWait);
    }

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

    function getClaimWait() external view returns (uint256) {
        return dividendTracker.claimWait();
    }

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

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

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

    function getCurrentRewardToken() external view returns (string memory) {
        return dividendTracker.getCurrentRewardToken();
    }

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

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

    function getAccountDividendsInfoAtIndex(uint256 index)
        external
        view
        returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        return dividendTracker.getAccountAtIndex(index);
    }

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

    function getNumberOfDividendTokenHolders() external view returns (uint256) {
        return dividendTracker.getNumberOfTokenHolders();
    }

    ////////////////////////
    // 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(!isBlacklisted[from] && !isBlacklisted[to],"You can't transfer tokens");

        if (!_isExcludedFromFees[from] && !_isExcludedFromFees[to]) {
                require(tradingEnabled, "Trading no active");

        }
        if (!automatedMarketMakerPairs[to] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) {
                require( balanceOf(to) + (amount) <= maxWalletBalance,"Balance is exceeding maxWalletBalance" );
        }
             
        if (automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) {
                require(amount <= maxBuyAmount, "You are exceeding maxBuyAmount");
        }
            
        if (!automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) {
                require(amount <= maxSellAmount, "You are exceeding maxSellAmount");
        }

        if(!_isExcludedFromFees[from] && !_isExcludedFromFees[to]){
            require(tradingEnabled,"Trading not open yet");
            if((block.number <= (startTradingBlock + antiBotBlocks) && from == pair)){
                isBlacklisted[to] = true;
                snipersCaught ++;
                emit SniperCaught(to);
            }
        }
        
        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;
        uint256 swapTax = sellTaxes.rewards +
            sellTaxes.marketing +
            sellTaxes.liquidity ;

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

            if (swapTax > 0) {
                swapAndLiquify(swapTokensAtAmount, swapTax);
            }

            swapping = false;
        }

        bool takeFee = !swapping;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }
            if (takeFee) {
            uint256 swapAmt;
            if (automatedMarketMakerPairs[to]) {
                swapAmt = (amount * swapTax) / 100;
            } else if (automatedMarketMakerPairs[from]) {
                swapAmt =
                    (amount *
                        (buyTaxes.rewards +
                            buyTaxes.marketing +
                            buyTaxes.liquidity )) /
                    100;
            } 
            
            amount = amount - (swapAmt);
            super._transfer(from, address(this), swapAmt);
        }
        
        super._transfer(from, to, amount);
        
        try dividendTracker.setBalance(from, balanceOf(from)) {} catch {}
        try dividendTracker.setBalance(to, balanceOf(to)) {} catch {}

        if (!swapping) {
            uint256 gas = gasForProcessing;

            try dividendTracker.process(gas) returns (
                uint256 iterations,
                uint256 claims,
                uint256 lastProcessedIndex
            ) {
                emit ProcessedDividendTracker(
                    iterations,
                    claims,
                    lastProcessedIndex,
                    true,
                    gas,
                    tx.origin
                );
            } catch {}
        }
    }

    function swapAndLiquify(uint256 tokens, uint256 swapTax) private {
        // Split the contract balance into halves
        uint256 denominator = swapTax * 2;
        uint256 tokensToAddLiquidityWith = (tokens * sellTaxes.liquidity) / denominator;
        uint256 toSwap = tokens - tokensToAddLiquidityWith;

        uint256 initialBalance = address(this).balance;

        swapTokensForBNB(toSwap);

        uint256 deltaBalance = address(this).balance - initialBalance;
        uint256 unitBalance = deltaBalance / (denominator - sellTaxes.liquidity);
        uint256 bnbToAddLiquidityWith = unitBalance * sellTaxes.liquidity;

        if (bnbToAddLiquidityWith > 0) {
            // Add liquidity to pancake
            addLiquidity(tokensToAddLiquidityWith, bnbToAddLiquidityWith);
        }

       
        uint256 marketingWalletAmt = unitBalance * 2 * sellTaxes.marketing;
        if (marketingWalletAmt > 0) {
            payable(marketingWallet).sendValue(marketingWalletAmt);
        }

        
        uint256 dividends = unitBalance * 2 * sellTaxes.rewards;
        if (dividends > 0) {
            (bool success, ) = address(dividendTracker).call{ value: dividends }("");
            if (success) emit SendDividends(tokens, dividends);
        }
    }

    function swapTokensForBNB(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
            deadWallet,
            block.timestamp
        );
    }
}

contract Watch_AiDividendTracker is Ownable, DividendPayingToken {
    using SafeMath for uint256;
    using SafeMathInt for int256;
    using IterableMapping for IterableMapping.Map;

    IterableMapping.Map private tokenHoldersMap;
    uint256 public lastProcessedIndex;

    mapping(address => bool) public excludedFromDividends;

    mapping(address => uint256) public lastClaimTimes;

    uint256 public claimWait;
    uint256 public minimumTokenBalanceForDividends;

    event ExcludeFromDividends(address indexed account, bool value);
    event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue);

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

    constructor()
        DividendPayingToken("Watch_Ai_Dividen_Tracker", "Watch_Ai_Dividend_Tracker")
    {
        claimWait = 3600;
        minimumTokenBalanceForDividends = 10000 * (10**decimals()); 
    }

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

    function setMinBalanceForDividends(uint256 amount) external onlyOwner {
        minimumTokenBalanceForDividends = amount * 10**decimals();
    }

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

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

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

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

    function getCurrentRewardToken() external view returns (string memory) {
        return IERC20Metadata(rewardToken).name();
    }

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

        index = tokenHoldersMap.getIndexOfKey(account);

        iterationsUntilProcessed = -1;

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

                iterationsUntilProcessed = index + (int256(processesUntilEndOfArray));
            }
        }

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

        lastClaimTime = lastClaimTimes[account];

        nextClaimTime = lastClaimTime > 0 ? lastClaimTime + (claimWait) : 0;

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

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

        address account = tokenHoldersMap.getKeyAtIndex(index);

        return getAccount(account);
    }

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

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

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

        if (newBalance >= minimumTokenBalanceForDividends) {
            _setBalance(account, newBalance);
            tokenHoldersMap.set(account, newBalance);
        } else {
            _setBalance(account, 0);
            tokenHoldersMap.remove(account);
        }

        processAccount(payable(account), true);
    }

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

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

        uint256 _lastProcessedIndex = lastProcessedIndex;

        uint256 gasUsed = 0;

        uint256 gasLeft = gasleft();

        uint256 iterations = 0;
        uint256 claims = 0;

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

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

            address account = tokenHoldersMap.keys[_lastProcessedIndex];

            if (canAutoClaim(lastClaimTimes[account])) {
                if (processAccount(payable(account), true)) {
                    claims++;
                }
            }

            iterations++;

            uint256 newGasLeft = gasleft();

            if (gasLeft > newGasLeft) {
                gasUsed = gasUsed + (gasLeft.sub(newGasLeft));
            }

            gasLeft = newGasLeft;
        }

        lastProcessedIndex = _lastProcessedIndex;

        return (iterations, claims, lastProcessedIndex);
    }

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

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

        return false;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"ClaimWaitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendsDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"ExcludeFromDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"address","name":"_owner","type":"address"}],"name":"accumulativeDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributeDividends","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"dividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getAccount","outputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"int256","name":"index","type":"int256"},{"internalType":"int256","name":"iterationsUntilProcessed","type":"int256"},{"internalType":"uint256","name":"withdrawableDividends","type":"uint256"},{"internalType":"uint256","name":"totalDividends","type":"uint256"},{"internalType":"uint256","name":"lastClaimTime","type":"uint256"},{"internalType":"uint256","name":"nextClaimTime","type":"uint256"},{"internalType":"uint256","name":"secondsUntilAutoClaimAvailable","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentRewardToken","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfTokenHolders","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":"","type":"address"}],"name":"lastClaimTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumTokenBalanceForDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"process","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"bool","name":"automatic","type":"bool"}],"name":"processAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"setBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMinBalanceForDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newToken","type":"address"}],"name":"setRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newClaimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawnDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b50604080518082018252601881527f57617463685f41695f4469766964656e5f547261636b6572000000000000000060208083019182528351808501909452601984527f57617463685f41695f4469766964656e645f547261636b6572000000000000009084015281519192918391839162000090916003916200018a565b508051620000a69060049060208401906200018a565b5050506000620000bb6200018660201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35050600680546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d179091556007805490911673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4817905550610e1060135562000162600990565b6200016f90600a62000279565b6200017d9061271062000347565b601455620003bc565b3390565b828054620001989062000369565b90600052602060002090601f016020900481019282620001bc576000855562000207565b82601f10620001d757805160ff191683800117855562000207565b8280016001018555821562000207579182015b8281111562000207578251825591602001919060010190620001ea565b506200021592915062000219565b5090565b5b808211156200021557600081556001016200021a565b600181815b8085111562000271578160001904821115620002555762000255620003a6565b808516156200026357918102915b93841c939080029062000235565b509250929050565b60006200028a60ff84168362000291565b9392505050565b600082620002a25750600162000341565b81620002b15750600062000341565b8160018114620002ca5760028114620002d557620002f5565b600191505062000341565b60ff841115620002e957620002e9620003a6565b50506001821b62000341565b5060208310610133831016604e8410600b84101617156200031a575081810a62000341565b62000326838362000230565b80600019048211156200033d576200033d620003a6565b0290505b92915050565b6000816000190483118215151615620003645762000364620003a6565b500290565b600181811c908216806200037e57607f821691505b60208210811415620003a057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b61289080620003cc6000396000f3fe6080604052600436106102345760003560e01c80638aee81271161012e578063be10b614116100ab578063f2fde38b1161006f578063f2fde38b146106ed578063f7c618c11461070d578063f887ea401461072d578063fbcbc0f11461074d578063ffb2c4791461076d57600080fd5b8063be10b6141461063c578063dd62ed3e14610652578063e30443bc14610698578063e7841ec0146106b8578063e98030c7146106cd57600080fd5b8063a457c2d7116100f2578063a457c2d714610586578063a8b9d240146105a6578063a9059cbb146105c6578063aafd847a146105e6578063bc4c4b371461061c57600080fd5b80638aee8127146104df5780638da5cb5b146104ff57806391b89fba1461053157806395d89b41146105515780639d7ceafb1461056657600080fd5b80633009a609116101bc5780636f2789ec116101805780636f2789ec1461045357806370a0823114610469578063715018a61461049f578063854c84dc146104b457806385a6b3ae146104c957600080fd5b80633009a6091461036c578063313ce56714610382578063395093511461039e5780634e7b827f146103be5780635183d6fd146103ee57600080fd5b806309bbedde1161020357806309bbedde146102cb57806318160ddd146102ea578063226cfa3d146102ff57806323b872dd1461032c57806327ce01471461034c57600080fd5b806303c83302146102485780630483f7a01461025057806306fdde0314610270578063095ea7b31461029b57600080fd5b36610243576102416107a8565b005b600080fd5b6102416107a8565b34801561025c57600080fd5b5061024161026b3660046121e0565b61083b565b34801561027c57600080fd5b50610285610a5d565b6040516102929190612498565b60405180910390f35b3480156102a757600080fd5b506102bb6102b636600461228f565b610aef565b6040519015158152602001610292565b3480156102d757600080fd5b50600c545b604051908152602001610292565b3480156102f657600080fd5b506002546102dc565b34801561030b57600080fd5b506102dc61031a3660046121a6565b60126020526000908152604090205481565b34801561033857600080fd5b506102bb61034736600461224e565b610b06565b34801561035857600080fd5b506102dc6103673660046121a6565b610b6f565b34801561037857600080fd5b506102dc60105481565b34801561038e57600080fd5b5060405160098152602001610292565b3480156103aa57600080fd5b506102bb6103b936600461228f565b610bcb565b3480156103ca57600080fd5b506102bb6103d93660046121a6565b60116020526000908152604090205460ff1681565b3480156103fa57600080fd5b5061040e610409366004612415565b610c01565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610292565b34801561045f57600080fd5b506102dc60135481565b34801561047557600080fd5b506102dc6104843660046121a6565b6001600160a01b031660009081526020819052604090205490565b3480156104ab57600080fd5b50610241610d73565b3480156104c057600080fd5b50610285610de7565b3480156104d557600080fd5b506102dc600b5481565b3480156104eb57600080fd5b506102416104fa3660046121a6565b610e6d565b34801561050b57600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610292565b34801561053d57600080fd5b506102dc61054c3660046121a6565b610eb9565b34801561055d57600080fd5b50610285610ec4565b34801561057257600080fd5b50610241610581366004612415565b610ed3565b34801561059257600080fd5b506102bb6105a136600461228f565b610f19565b3480156105b257600080fd5b506102dc6105c13660046121a6565b610f68565b3480156105d257600080fd5b506102bb6105e136600461228f565b610f94565b3480156105f257600080fd5b506102dc6106013660046121a6565b6001600160a01b03166000908152600a602052604090205490565b34801561062857600080fd5b506102bb6106373660046121e0565b610fa1565b34801561064857600080fd5b506102dc60145481565b34801561065e57600080fd5b506102dc61066d366004612215565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156106a457600080fd5b506102416106b336600461228f565b61104f565b3480156106c457600080fd5b506010546102dc565b3480156106d957600080fd5b506102416106e8366004612415565b6111bd565b3480156106f957600080fd5b506102416107083660046121a6565b611332565b34801561071957600080fd5b50600754610519906001600160a01b031681565b34801561073957600080fd5b50600654610519906001600160a01b031681565b34801561075957600080fd5b5061040e6107683660046121a6565b61141d565b34801561077957600080fd5b5061078d610788366004612415565b611594565b60408051938452602084019290925290820152606001610292565b60006107b360025490565b116107bd57600080fd5b3415610839576107f06107cf60025490565b6107dd34600160801b6116af565b6107e7919061258a565b60085490611735565b60085560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600b546108359034611735565b600b555b565b6005546001600160a01b0316331461086e5760405162461bcd60e51b8152600401610865906124cb565b60405180910390fd5b6001600160a01b03821660009081526011602052604090205460ff161515811515141561089a57600080fd5b6001600160a01b0382166000908152601160205260409020805460ff19168215159081179091556001141561094b576108d4826000611794565b60405163131836e760e21b8152600c60048201526001600160a01b03831660248201527316ae5c30164ca2c238ad7c2e9db823151c0b3d7590634c60db9c9060440160006040518083038186803b15801561092e57600080fd5b505af4158015610942573d6000803e3d6000fd5b50505050610a14565b6109738261096e846001600160a01b031660009081526020819052604090205490565b611794565b7316ae5c30164ca2c238ad7c2e9db823151c0b3d7563bc2b405c600c846109af816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e086901b16815260048101939093526001600160a01b039091166024830152604482015260640160006040518083038186803b1580156109fb57600080fd5b505af4158015610a0f573d6000803e3d6000fd5b505050505b816001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be82604051610a51911515815260200190565b60405180910390a25050565b606060038054610a6c9061273b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a989061273b565b8015610ae55780601f10610aba57610100808354040283529160200191610ae5565b820191906000526020600020905b815481529060010190602001808311610ac857829003601f168201915b5050505050905090565b6000610afc3384846117f3565b5060015b92915050565b6000610b13848484611917565b610b658433610b608560405180606001604052806028815260200161280e602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611977565b6117f3565b5060019392505050565b6001600160a01b03811660009081526009602090815260408083205491839052822054600854600160801b92610bc192610bbc92610bb691610bb191906116af565b6119b1565b906119c1565b6119ff565b610b00919061258a565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610afc918590610b609086611735565b600080600080600080600080600c7316ae5c30164ca2c238ad7c2e9db823151c0b3d7563deb3d89690916040518263ffffffff1660e01b8152600401610c4991815260200190565b60206040518083038186803b158015610c6157600080fd5b505af4158015610c75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c999190612368565b8910610cbe575060009650600019955085945086935083925082915081905080610d68565b6040516368d54f3f60e11b8152600c6004820152602481018a90526000907316ae5c30164ca2c238ad7c2e9db823151c0b3d759063d1aa9e7e9060440160206040518083038186803b158015610d1357600080fd5b505af4158015610d27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4b91906121c3565b9050610d568161141d565b98509850985098509850985098509850505b919395975091939597565b6005546001600160a01b03163314610d9d5760405162461bcd60e51b8152600401610865906124cb565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b600754604080516306fdde0360e01b815290516060926001600160a01b0316916306fdde03916004808301926000929190829003018186803b158015610e2c57600080fd5b505afa158015610e40573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e689190810190612381565b905090565b6005546001600160a01b03163314610e975760405162461bcd60e51b8152600401610865906124cb565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b0082610f68565b606060048054610a6c9061273b565b6005546001600160a01b03163314610efd5760405162461bcd60e51b8152600401610865906124cb565b610f096009600a6125ef565b610f13908261269a565b60145550565b6000610afc3384610b6085604051806060016040528060258152602001612836602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611977565b6001600160a01b0381166000908152600a6020526040812054610b0090610f8e84610b6f565b90611a12565b6000610afc338484611917565b6005546000906001600160a01b03163314610fce5760405162461bcd60e51b8152600401610865906124cb565b6000610fd984611a54565b90508015611045576001600160a01b038416600081815260126020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092906110339085815260200190565b60405180910390a36001915050610b00565b5060009392505050565b6005546001600160a01b031633146110795760405162461bcd60e51b8152600401610865906124cb565b6001600160a01b03821660009081526011602052604090205460ff161561109e575050565b601454811061112f576110b18282611794565b604051632f0ad01760e21b8152600c60048201526001600160a01b0383166024820152604481018290527316ae5c30164ca2c238ad7c2e9db823151c0b3d759063bc2b405c9060640160006040518083038186803b15801561111257600080fd5b505af4158015611126573d6000803e3d6000fd5b505050506111ad565b61113a826000611794565b60405163131836e760e21b8152600c60048201526001600160a01b03831660248201527316ae5c30164ca2c238ad7c2e9db823151c0b3d7590634c60db9c9060440160006040518083038186803b15801561119457600080fd5b505af41580156111a8573d6000803e3d6000fd5b505050505b6111b8826001610fa1565b505050565b6005546001600160a01b031633146111e75760405162461bcd60e51b8152600401610865906124cb565b610e1081101580156111fc5750620151808111155b6112855760405162461bcd60e51b815260206004820152604e60248201527f57617463685f41695f4469766964656e645f547261636b65723a20636c61696d60448201527f57616974206d757374206265207570646174656420746f206265747765656e2060648201526d3120616e6420323420686f75727360901b608482015260a401610865565b6013548114156112ff576040805162461bcd60e51b81526020600482015260248101919091527f57617463685f41695f4469766964656e645f547261636b65723a2043616e6e6f60448201527f742075706461746520636c61696d5761697420746f2073616d652076616c75656064820152608401610865565b60135460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601355565b6005546001600160a01b0316331461135c5760405162461bcd60e51b8152600401610865906124cb565b6001600160a01b0381166113c15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610865565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6040516317e142d160e01b8152600c60048201526001600160a01b038216602482015281906000908190819081908190819081907316ae5c30164ca2c238ad7c2e9db823151c0b3d75906317e142d19060440160206040518083038186803b15801561148857600080fd5b505af415801561149c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c09190612368565b9650600019955060008712611522576010548711156114ee576010546114e7908890611cf9565b9550611522565b601054600c5460009110611503576000611512565b601054600c5461151291611a12565b905061151e8189612531565b9650505b61152b88610f68565b945061153688610b6f565b6001600160a01b03891660009081526012602052604090205490945092508261156057600061156d565b60135461156d9084612572565b915042821161157d576000611587565b6115878242611a12565b9050919395975091939597565b600c5460009081908190806115b4575050601054600092508291506116a8565b6010546000805a90506000805b89841080156115cf57508582105b1561169757846115de81612776565b600c54909650861090506115f157600094505b6000600c6000018681548110611609576116096127a7565b60009182526020808320909101546001600160a01b0316808352601290915260409091205490915061163a90611d36565b1561165d5761164a816001610fa1565b1561165d578161165981612776565b9250505b8261166781612776565b93505060005a90508085111561168e576116818582611a12565b61168b9087612572565b95505b93506115c19050565b601085905590975095509193505050505b9193909250565b6000826116be57506000610b00565b60006116ca838561269a565b9050826116d7858361258a565b1461172e5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610865565b9392505050565b6000806117428385612572565b90508381101561172e5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610865565b6001600160a01b038216600090815260208190526040902054808211156117d35760006117c18383611a12565b90506117cd8482611d5d565b50505050565b808210156111b85760006117e78284611a12565b90506117cd8482611dc1565b6001600160a01b0383166118555760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610865565b6001600160a01b0382166118b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610865565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602f60248201527f57617463685f41695f4469766964656e645f547261636b65723a204e6f20747260448201526e185b9cd9995c9cc8185b1b1bddd959608a1b6064820152608401610865565b6000818484111561199b5760405162461bcd60e51b81526004016108659190612498565b5060006119a884866126f8565b95945050505050565b60008181811215610b0057600080fd5b6000806119ce8385612531565b9050600083121580156119e15750838112155b806119f657506000831280156119f657508381125b61172e57600080fd5b600080821215611a0e57600080fd5b5090565b600061172e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611977565b600080611a6083610f68565b90508015611cf0576001600160a01b0383166000908152600a6020526040902054611a8b9082611735565b6001600160a01b0384166000818152600a6020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90611ada9084815260200190565b60405180910390a2600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611b3057600080fd5b505afa158015611b44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6891906121c3565b6007546001600160a01b03908116911614611c41576000611b898483611e05565b905080611c3b576000846001600160a01b031683610bb890604051600060405180830381858888f193505050503d8060008114611be2576040519150601f19603f3d011682016040523d82523d6000602084013e611be7565b606091505b5050905080611c39576001600160a01b0385166000908152600a6020526040902054611c139084611a12565b6001600160a01b039095166000908152600a602052604081209590955550929392505050565b505b50610b00565b6000836001600160a01b031682610bb890604051600060405180830381858888f193505050503d8060008114611c93576040519150601f19603f3d011682016040523d82523d6000602084013e611c98565b606091505b5050905080611ce9576001600160a01b0384166000908152600a6020526040902054611cc49083611a12565b6001600160a01b039094166000908152600a6020526040812094909455509192915050565b5092915050565b50600092915050565b600080611d0683856126b9565b905060008312158015611d195750838113155b806119f657506000831280156119f6575083811361172e57600080fd5b600042821115611d4857506000919050565b601354611d554284611a12565b101592915050565b611d678282611fa0565b611da1611d82610bb1836008546116af90919063ffffffff16565b6001600160a01b03841660009081526009602052604090205490611cf9565b6001600160a01b0390921660009081526009602052604090209190915550565b611dcb828261208d565b611da1611de6610bb1836008546116af90919063ffffffff16565b6001600160a01b038416600090815260096020526040902054906119c1565b604080516002808252606082018352600092839291906020830190803683375050600654604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b158015611e6e57600080fd5b505afa158015611e82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea691906121c3565b81600081518110611eb957611eb96127a7565b6001600160a01b039283166020918202929092010152600754825191169082906001908110611eea57611eea6127a7565b6001600160a01b03928316602091820292909201015260065416637ff36ab58460008488611f19426002612572565b6040518663ffffffff1660e01b8152600401611f38949392919061242e565b6000604051808303818588803b158015611f5157600080fd5b505af193505050508015611f8757506040513d6000823e601f3d908101601f19168201604052611f8491908101906122bb565b60015b611f95576000915050610b00565b506001915050610b00565b6001600160a01b0382166120045760405162461bcd60e51b815260206004820152602560248201527f45524332303a206e657720746f6b656e7320746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610865565b6002546120119082611735565b6002556001600160a01b0382166000908152602081905260409020546120379082611735565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6001600160a01b0382166120ed5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610865565b61212a816040518060600160405280602281526020016127ec602291396001600160a01b0385166000908152602081905260409020549190611977565b6001600160a01b0383166000908152602081905260409020556002546121509082611a12565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001612081565b803580151581146121a157600080fd5b919050565b6000602082840312156121b857600080fd5b813561172e816127d3565b6000602082840312156121d557600080fd5b815161172e816127d3565b600080604083850312156121f357600080fd5b82356121fe816127d3565b915061220c60208401612191565b90509250929050565b6000806040838503121561222857600080fd5b8235612233816127d3565b91506020830135612243816127d3565b809150509250929050565b60008060006060848603121561226357600080fd5b833561226e816127d3565b9250602084013561227e816127d3565b929592945050506040919091013590565b600080604083850312156122a257600080fd5b82356122ad816127d3565b946020939093013593505050565b600060208083850312156122ce57600080fd5b825167ffffffffffffffff808211156122e657600080fd5b818501915085601f8301126122fa57600080fd5b81518181111561230c5761230c6127bd565b8060051b915061231d848301612500565b8181528481019084860184860187018a101561233857600080fd5b600095505b8386101561235b57805183526001959095019491860191860161233d565b5098975050505050505050565b60006020828403121561237a57600080fd5b5051919050565b60006020828403121561239357600080fd5b815167ffffffffffffffff808211156123ab57600080fd5b818401915084601f8301126123bf57600080fd5b8151818111156123d1576123d16127bd565b6123e4601f8201601f1916602001612500565b91508082528560208285010111156123fb57600080fd5b61240c81602084016020860161270f565b50949350505050565b60006020828403121561242757600080fd5b5035919050565b600060808201868352602060808185015281875180845260a086019150828901935060005b818110156124785784516001600160a01b031683529383019391830191600101612453565b50506001600160a01b039690961660408501525050506060015292915050565b60208152600082518060208401526124b781604085016020870161270f565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612529576125296127bd565b604052919050565b600080821280156001600160ff1b038490038513161561255357612553612791565b600160ff1b839003841281161561256c5761256c612791565b50500190565b6000821982111561258557612585612791565b500190565b6000826125a757634e487b7160e01b600052601260045260246000fd5b500490565b600181815b808511156125e75781600019048211156125cd576125cd612791565b808516156125da57918102915b93841c93908002906125b1565b509250929050565b600061172e60ff84168360008261260857506001610b00565b8161261557506000610b00565b816001811461262b576002811461263557612651565b6001915050610b00565b60ff84111561264657612646612791565b50506001821b610b00565b5060208310610133831016604e8410600b8410161715612674575081810a610b00565b61267e83836125ac565b806000190482111561269257612692612791565b029392505050565b60008160001904831182151516156126b4576126b4612791565b500290565b60008083128015600160ff1b8501841216156126d7576126d7612791565b6001600160ff1b03840183138116156126f2576126f2612791565b50500390565b60008282101561270a5761270a612791565b500390565b60005b8381101561272a578181015183820152602001612712565b838111156117cd5750506000910152565b600181811c9082168061274f57607f821691505b6020821081141561277057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561278a5761278a612791565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146127e857600080fd5b5056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122059b7891c451639beef391d0d26e5555008d65ecfb8e7b7035aa391a1f0d5e62e64736f6c63430008060033

Deployed Bytecode

0x6080604052600436106102345760003560e01c80638aee81271161012e578063be10b614116100ab578063f2fde38b1161006f578063f2fde38b146106ed578063f7c618c11461070d578063f887ea401461072d578063fbcbc0f11461074d578063ffb2c4791461076d57600080fd5b8063be10b6141461063c578063dd62ed3e14610652578063e30443bc14610698578063e7841ec0146106b8578063e98030c7146106cd57600080fd5b8063a457c2d7116100f2578063a457c2d714610586578063a8b9d240146105a6578063a9059cbb146105c6578063aafd847a146105e6578063bc4c4b371461061c57600080fd5b80638aee8127146104df5780638da5cb5b146104ff57806391b89fba1461053157806395d89b41146105515780639d7ceafb1461056657600080fd5b80633009a609116101bc5780636f2789ec116101805780636f2789ec1461045357806370a0823114610469578063715018a61461049f578063854c84dc146104b457806385a6b3ae146104c957600080fd5b80633009a6091461036c578063313ce56714610382578063395093511461039e5780634e7b827f146103be5780635183d6fd146103ee57600080fd5b806309bbedde1161020357806309bbedde146102cb57806318160ddd146102ea578063226cfa3d146102ff57806323b872dd1461032c57806327ce01471461034c57600080fd5b806303c83302146102485780630483f7a01461025057806306fdde0314610270578063095ea7b31461029b57600080fd5b36610243576102416107a8565b005b600080fd5b6102416107a8565b34801561025c57600080fd5b5061024161026b3660046121e0565b61083b565b34801561027c57600080fd5b50610285610a5d565b6040516102929190612498565b60405180910390f35b3480156102a757600080fd5b506102bb6102b636600461228f565b610aef565b6040519015158152602001610292565b3480156102d757600080fd5b50600c545b604051908152602001610292565b3480156102f657600080fd5b506002546102dc565b34801561030b57600080fd5b506102dc61031a3660046121a6565b60126020526000908152604090205481565b34801561033857600080fd5b506102bb61034736600461224e565b610b06565b34801561035857600080fd5b506102dc6103673660046121a6565b610b6f565b34801561037857600080fd5b506102dc60105481565b34801561038e57600080fd5b5060405160098152602001610292565b3480156103aa57600080fd5b506102bb6103b936600461228f565b610bcb565b3480156103ca57600080fd5b506102bb6103d93660046121a6565b60116020526000908152604090205460ff1681565b3480156103fa57600080fd5b5061040e610409366004612415565b610c01565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610292565b34801561045f57600080fd5b506102dc60135481565b34801561047557600080fd5b506102dc6104843660046121a6565b6001600160a01b031660009081526020819052604090205490565b3480156104ab57600080fd5b50610241610d73565b3480156104c057600080fd5b50610285610de7565b3480156104d557600080fd5b506102dc600b5481565b3480156104eb57600080fd5b506102416104fa3660046121a6565b610e6d565b34801561050b57600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610292565b34801561053d57600080fd5b506102dc61054c3660046121a6565b610eb9565b34801561055d57600080fd5b50610285610ec4565b34801561057257600080fd5b50610241610581366004612415565b610ed3565b34801561059257600080fd5b506102bb6105a136600461228f565b610f19565b3480156105b257600080fd5b506102dc6105c13660046121a6565b610f68565b3480156105d257600080fd5b506102bb6105e136600461228f565b610f94565b3480156105f257600080fd5b506102dc6106013660046121a6565b6001600160a01b03166000908152600a602052604090205490565b34801561062857600080fd5b506102bb6106373660046121e0565b610fa1565b34801561064857600080fd5b506102dc60145481565b34801561065e57600080fd5b506102dc61066d366004612215565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156106a457600080fd5b506102416106b336600461228f565b61104f565b3480156106c457600080fd5b506010546102dc565b3480156106d957600080fd5b506102416106e8366004612415565b6111bd565b3480156106f957600080fd5b506102416107083660046121a6565b611332565b34801561071957600080fd5b50600754610519906001600160a01b031681565b34801561073957600080fd5b50600654610519906001600160a01b031681565b34801561075957600080fd5b5061040e6107683660046121a6565b61141d565b34801561077957600080fd5b5061078d610788366004612415565b611594565b60408051938452602084019290925290820152606001610292565b60006107b360025490565b116107bd57600080fd5b3415610839576107f06107cf60025490565b6107dd34600160801b6116af565b6107e7919061258a565b60085490611735565b60085560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600b546108359034611735565b600b555b565b6005546001600160a01b0316331461086e5760405162461bcd60e51b8152600401610865906124cb565b60405180910390fd5b6001600160a01b03821660009081526011602052604090205460ff161515811515141561089a57600080fd5b6001600160a01b0382166000908152601160205260409020805460ff19168215159081179091556001141561094b576108d4826000611794565b60405163131836e760e21b8152600c60048201526001600160a01b03831660248201527316ae5c30164ca2c238ad7c2e9db823151c0b3d7590634c60db9c9060440160006040518083038186803b15801561092e57600080fd5b505af4158015610942573d6000803e3d6000fd5b50505050610a14565b6109738261096e846001600160a01b031660009081526020819052604090205490565b611794565b7316ae5c30164ca2c238ad7c2e9db823151c0b3d7563bc2b405c600c846109af816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e086901b16815260048101939093526001600160a01b039091166024830152604482015260640160006040518083038186803b1580156109fb57600080fd5b505af4158015610a0f573d6000803e3d6000fd5b505050505b816001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be82604051610a51911515815260200190565b60405180910390a25050565b606060038054610a6c9061273b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a989061273b565b8015610ae55780601f10610aba57610100808354040283529160200191610ae5565b820191906000526020600020905b815481529060010190602001808311610ac857829003601f168201915b5050505050905090565b6000610afc3384846117f3565b5060015b92915050565b6000610b13848484611917565b610b658433610b608560405180606001604052806028815260200161280e602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611977565b6117f3565b5060019392505050565b6001600160a01b03811660009081526009602090815260408083205491839052822054600854600160801b92610bc192610bbc92610bb691610bb191906116af565b6119b1565b906119c1565b6119ff565b610b00919061258a565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610afc918590610b609086611735565b600080600080600080600080600c7316ae5c30164ca2c238ad7c2e9db823151c0b3d7563deb3d89690916040518263ffffffff1660e01b8152600401610c4991815260200190565b60206040518083038186803b158015610c6157600080fd5b505af4158015610c75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c999190612368565b8910610cbe575060009650600019955085945086935083925082915081905080610d68565b6040516368d54f3f60e11b8152600c6004820152602481018a90526000907316ae5c30164ca2c238ad7c2e9db823151c0b3d759063d1aa9e7e9060440160206040518083038186803b158015610d1357600080fd5b505af4158015610d27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4b91906121c3565b9050610d568161141d565b98509850985098509850985098509850505b919395975091939597565b6005546001600160a01b03163314610d9d5760405162461bcd60e51b8152600401610865906124cb565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b600754604080516306fdde0360e01b815290516060926001600160a01b0316916306fdde03916004808301926000929190829003018186803b158015610e2c57600080fd5b505afa158015610e40573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e689190810190612381565b905090565b6005546001600160a01b03163314610e975760405162461bcd60e51b8152600401610865906124cb565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b0082610f68565b606060048054610a6c9061273b565b6005546001600160a01b03163314610efd5760405162461bcd60e51b8152600401610865906124cb565b610f096009600a6125ef565b610f13908261269a565b60145550565b6000610afc3384610b6085604051806060016040528060258152602001612836602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611977565b6001600160a01b0381166000908152600a6020526040812054610b0090610f8e84610b6f565b90611a12565b6000610afc338484611917565b6005546000906001600160a01b03163314610fce5760405162461bcd60e51b8152600401610865906124cb565b6000610fd984611a54565b90508015611045576001600160a01b038416600081815260126020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092906110339085815260200190565b60405180910390a36001915050610b00565b5060009392505050565b6005546001600160a01b031633146110795760405162461bcd60e51b8152600401610865906124cb565b6001600160a01b03821660009081526011602052604090205460ff161561109e575050565b601454811061112f576110b18282611794565b604051632f0ad01760e21b8152600c60048201526001600160a01b0383166024820152604481018290527316ae5c30164ca2c238ad7c2e9db823151c0b3d759063bc2b405c9060640160006040518083038186803b15801561111257600080fd5b505af4158015611126573d6000803e3d6000fd5b505050506111ad565b61113a826000611794565b60405163131836e760e21b8152600c60048201526001600160a01b03831660248201527316ae5c30164ca2c238ad7c2e9db823151c0b3d7590634c60db9c9060440160006040518083038186803b15801561119457600080fd5b505af41580156111a8573d6000803e3d6000fd5b505050505b6111b8826001610fa1565b505050565b6005546001600160a01b031633146111e75760405162461bcd60e51b8152600401610865906124cb565b610e1081101580156111fc5750620151808111155b6112855760405162461bcd60e51b815260206004820152604e60248201527f57617463685f41695f4469766964656e645f547261636b65723a20636c61696d60448201527f57616974206d757374206265207570646174656420746f206265747765656e2060648201526d3120616e6420323420686f75727360901b608482015260a401610865565b6013548114156112ff576040805162461bcd60e51b81526020600482015260248101919091527f57617463685f41695f4469766964656e645f547261636b65723a2043616e6e6f60448201527f742075706461746520636c61696d5761697420746f2073616d652076616c75656064820152608401610865565b60135460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601355565b6005546001600160a01b0316331461135c5760405162461bcd60e51b8152600401610865906124cb565b6001600160a01b0381166113c15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610865565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6040516317e142d160e01b8152600c60048201526001600160a01b038216602482015281906000908190819081908190819081907316ae5c30164ca2c238ad7c2e9db823151c0b3d75906317e142d19060440160206040518083038186803b15801561148857600080fd5b505af415801561149c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c09190612368565b9650600019955060008712611522576010548711156114ee576010546114e7908890611cf9565b9550611522565b601054600c5460009110611503576000611512565b601054600c5461151291611a12565b905061151e8189612531565b9650505b61152b88610f68565b945061153688610b6f565b6001600160a01b03891660009081526012602052604090205490945092508261156057600061156d565b60135461156d9084612572565b915042821161157d576000611587565b6115878242611a12565b9050919395975091939597565b600c5460009081908190806115b4575050601054600092508291506116a8565b6010546000805a90506000805b89841080156115cf57508582105b1561169757846115de81612776565b600c54909650861090506115f157600094505b6000600c6000018681548110611609576116096127a7565b60009182526020808320909101546001600160a01b0316808352601290915260409091205490915061163a90611d36565b1561165d5761164a816001610fa1565b1561165d578161165981612776565b9250505b8261166781612776565b93505060005a90508085111561168e576116818582611a12565b61168b9087612572565b95505b93506115c19050565b601085905590975095509193505050505b9193909250565b6000826116be57506000610b00565b60006116ca838561269a565b9050826116d7858361258a565b1461172e5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610865565b9392505050565b6000806117428385612572565b90508381101561172e5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610865565b6001600160a01b038216600090815260208190526040902054808211156117d35760006117c18383611a12565b90506117cd8482611d5d565b50505050565b808210156111b85760006117e78284611a12565b90506117cd8482611dc1565b6001600160a01b0383166118555760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610865565b6001600160a01b0382166118b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610865565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602f60248201527f57617463685f41695f4469766964656e645f547261636b65723a204e6f20747260448201526e185b9cd9995c9cc8185b1b1bddd959608a1b6064820152608401610865565b6000818484111561199b5760405162461bcd60e51b81526004016108659190612498565b5060006119a884866126f8565b95945050505050565b60008181811215610b0057600080fd5b6000806119ce8385612531565b9050600083121580156119e15750838112155b806119f657506000831280156119f657508381125b61172e57600080fd5b600080821215611a0e57600080fd5b5090565b600061172e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611977565b600080611a6083610f68565b90508015611cf0576001600160a01b0383166000908152600a6020526040902054611a8b9082611735565b6001600160a01b0384166000818152600a6020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90611ada9084815260200190565b60405180910390a2600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611b3057600080fd5b505afa158015611b44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6891906121c3565b6007546001600160a01b03908116911614611c41576000611b898483611e05565b905080611c3b576000846001600160a01b031683610bb890604051600060405180830381858888f193505050503d8060008114611be2576040519150601f19603f3d011682016040523d82523d6000602084013e611be7565b606091505b5050905080611c39576001600160a01b0385166000908152600a6020526040902054611c139084611a12565b6001600160a01b039095166000908152600a602052604081209590955550929392505050565b505b50610b00565b6000836001600160a01b031682610bb890604051600060405180830381858888f193505050503d8060008114611c93576040519150601f19603f3d011682016040523d82523d6000602084013e611c98565b606091505b5050905080611ce9576001600160a01b0384166000908152600a6020526040902054611cc49083611a12565b6001600160a01b039094166000908152600a6020526040812094909455509192915050565b5092915050565b50600092915050565b600080611d0683856126b9565b905060008312158015611d195750838113155b806119f657506000831280156119f6575083811361172e57600080fd5b600042821115611d4857506000919050565b601354611d554284611a12565b101592915050565b611d678282611fa0565b611da1611d82610bb1836008546116af90919063ffffffff16565b6001600160a01b03841660009081526009602052604090205490611cf9565b6001600160a01b0390921660009081526009602052604090209190915550565b611dcb828261208d565b611da1611de6610bb1836008546116af90919063ffffffff16565b6001600160a01b038416600090815260096020526040902054906119c1565b604080516002808252606082018352600092839291906020830190803683375050600654604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b158015611e6e57600080fd5b505afa158015611e82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea691906121c3565b81600081518110611eb957611eb96127a7565b6001600160a01b039283166020918202929092010152600754825191169082906001908110611eea57611eea6127a7565b6001600160a01b03928316602091820292909201015260065416637ff36ab58460008488611f19426002612572565b6040518663ffffffff1660e01b8152600401611f38949392919061242e565b6000604051808303818588803b158015611f5157600080fd5b505af193505050508015611f8757506040513d6000823e601f3d908101601f19168201604052611f8491908101906122bb565b60015b611f95576000915050610b00565b506001915050610b00565b6001600160a01b0382166120045760405162461bcd60e51b815260206004820152602560248201527f45524332303a206e657720746f6b656e7320746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610865565b6002546120119082611735565b6002556001600160a01b0382166000908152602081905260409020546120379082611735565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6001600160a01b0382166120ed5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610865565b61212a816040518060600160405280602281526020016127ec602291396001600160a01b0385166000908152602081905260409020549190611977565b6001600160a01b0383166000908152602081905260409020556002546121509082611a12565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001612081565b803580151581146121a157600080fd5b919050565b6000602082840312156121b857600080fd5b813561172e816127d3565b6000602082840312156121d557600080fd5b815161172e816127d3565b600080604083850312156121f357600080fd5b82356121fe816127d3565b915061220c60208401612191565b90509250929050565b6000806040838503121561222857600080fd5b8235612233816127d3565b91506020830135612243816127d3565b809150509250929050565b60008060006060848603121561226357600080fd5b833561226e816127d3565b9250602084013561227e816127d3565b929592945050506040919091013590565b600080604083850312156122a257600080fd5b82356122ad816127d3565b946020939093013593505050565b600060208083850312156122ce57600080fd5b825167ffffffffffffffff808211156122e657600080fd5b818501915085601f8301126122fa57600080fd5b81518181111561230c5761230c6127bd565b8060051b915061231d848301612500565b8181528481019084860184860187018a101561233857600080fd5b600095505b8386101561235b57805183526001959095019491860191860161233d565b5098975050505050505050565b60006020828403121561237a57600080fd5b5051919050565b60006020828403121561239357600080fd5b815167ffffffffffffffff808211156123ab57600080fd5b818401915084601f8301126123bf57600080fd5b8151818111156123d1576123d16127bd565b6123e4601f8201601f1916602001612500565b91508082528560208285010111156123fb57600080fd5b61240c81602084016020860161270f565b50949350505050565b60006020828403121561242757600080fd5b5035919050565b600060808201868352602060808185015281875180845260a086019150828901935060005b818110156124785784516001600160a01b031683529383019391830191600101612453565b50506001600160a01b039690961660408501525050506060015292915050565b60208152600082518060208401526124b781604085016020870161270f565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612529576125296127bd565b604052919050565b600080821280156001600160ff1b038490038513161561255357612553612791565b600160ff1b839003841281161561256c5761256c612791565b50500190565b6000821982111561258557612585612791565b500190565b6000826125a757634e487b7160e01b600052601260045260246000fd5b500490565b600181815b808511156125e75781600019048211156125cd576125cd612791565b808516156125da57918102915b93841c93908002906125b1565b509250929050565b600061172e60ff84168360008261260857506001610b00565b8161261557506000610b00565b816001811461262b576002811461263557612651565b6001915050610b00565b60ff84111561264657612646612791565b50506001821b610b00565b5060208310610133831016604e8410600b8410161715612674575081810a610b00565b61267e83836125ac565b806000190482111561269257612692612791565b029392505050565b60008160001904831182151516156126b4576126b4612791565b500290565b60008083128015600160ff1b8501841216156126d7576126d7612791565b6001600160ff1b03840183138116156126f2576126f2612791565b50500390565b60008282101561270a5761270a612791565b500390565b60005b8381101561272a578181015183820152602001612712565b838111156117cd5750506000910152565b600181811c9082168061274f57607f821691505b6020821081141561277057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561278a5761278a612791565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146127e857600080fd5b5056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122059b7891c451639beef391d0d26e5555008d65ecfb8e7b7035aa391a1f0d5e62e64736f6c63430008060033

Libraries Used

IterableMapping : 0x16ae5c30164ca2c238ad7c2e9db823151c0b3d75Unverified

Deployed Bytecode Sourcemap

54325:7276:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26677:21;:19;:21::i;:::-;54325:7276;;;;;26715:411;;;:::i;55622:507::-;;;;;;;;;;-1:-1:-1;55622:507:0;;;;;:::i;:::-;;:::i;4684:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6850:169;;;;;;;;;;-1:-1:-1;6850:169:0;;;;;:::i;:::-;;:::i;:::-;;;6023:14:1;;6016:22;5998:41;;5986:2;5971:18;6850:169:0;5953:92:1;56762:120:0;;;;;;;;;;-1:-1:-1;56847:15:0;:27;56762:120;;;12229:25:1;;;12217:2;12202:18;56762:120:0;12184:76:1;5803:108:0;;;;;;;;;;-1:-1:-1;5891:12:0;;5803:108;;54673:49;;;;;;;;;;-1:-1:-1;54673:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;7501:355;;;;;;;;;;-1:-1:-1;7501:355:0;;;;;:::i;:::-;;:::i;30615:253::-;;;;;;;;;;-1:-1:-1;30615:253:0;;;;;:::i;:::-;;:::i;54569:33::-;;;;;;;;;;;;;;;;5646:92;;;;;;;;;;-1:-1:-1;5646:92:0;;5729:1;13885:36:1;;13873:2;13858:18;5646:92:0;13840:87:1;8265:218:0;;;;;;;;;;-1:-1:-1;8265:218:0;;;;;:::i;:::-;;:::i;54611:53::-;;;;;;;;;;-1:-1:-1;54611:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;58518:542;;;;;;;;;;-1:-1:-1;58518:542:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;5509:32:1;;;;5491:51;;5573:2;5558:18;;5551:34;;;;5601:18;;;5594:34;;;;5659:2;5644:18;;5637:34;;;;5702:3;5687:19;;5680:35;-1:-1:-1;5731:19:1;;5724:35;5790:3;5775:19;;5768:35;5834:3;5819:19;;5812:35;5478:3;5463:19;58518:542:0;5445:408:1;54731:24:0;;;;;;;;;;;;;;;;5974:127;;;;;;;;;;-1:-1:-1;5974:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;6075:18:0;6048:7;6075:18;;;;;;;;;;;;5974:127;20644:148;;;;;;;;;;;;;:::i;56890:131::-;;;;;;;;;;;;;:::i;26255:40::-;;;;;;;;;;;;;;;;28568:101;;;;;;;;;;-1:-1:-1;28568:101:0;;;;;:::i;:::-;;:::i;20002:79::-;;;;;;;;;;-1:-1:-1;20067:6:0;;-1:-1:-1;;;;;20067:6:0;20002:79;;;-1:-1:-1;;;;;5108:32:1;;;;5090:51;;5078:2;5063:18;20002:79:0;5045:102:1;29289:128:0;;;;;;;;;;-1:-1:-1;29289:128:0;;;;;:::i;:::-;;:::i;4903:104::-;;;;;;;;;;;;;:::i;55468:146::-;;;;;;;;;;-1:-1:-1;55468:146:0;;;;;:::i;:::-;;:::i;8986:269::-;;;;;;;;;;-1:-1:-1;8986:269:0;;;;;:::i;:::-;;:::i;29636:172::-;;;;;;;;;;-1:-1:-1;29636:172:0;;;;;:::i;:::-;;:::i;6314:175::-;;;;;;;;;;-1:-1:-1;6314:175:0;;;;;:::i;:::-;;:::i;30029:133::-;;;;;;;;;;-1:-1:-1;30029:133:0;;;;;:::i;:::-;-1:-1:-1;;;;;30128:26:0;30103:7;30128:26;;;:18;:26;;;;;;;30029:133;61201:397;;;;;;;;;;-1:-1:-1;61201:397:0;;;;;:::i;:::-;;:::i;54762:46::-;;;;;;;;;;;;;;;;6552:151;;;;;;;;;;-1:-1:-1;6552:151:0;;;;;:::i;:::-;-1:-1:-1;;;;;6668:18:0;;;6641:7;6668:18;;;-1:-1:-1;6668:18:0;;;;;;;;:27;;;;;;;;;;;;;6552:151;59310:491;;;;;;;;;;-1:-1:-1;59310:491:0;;;;;:::i;:::-;;:::i;56645:109::-;;;;;;;;;;-1:-1:-1;56728:18:0;;56645:109;;56137:500;;;;;;;;;;-1:-1:-1;56137:500:0;;;;;:::i;:::-;;:::i;20947:244::-;;;;;;;;;;-1:-1:-1;20947:244:0;;;;;:::i;:::-;;:::i;25138:26::-;;;;;;;;;;-1:-1:-1;25138:26:0;;;;-1:-1:-1;;;;;25138:26:0;;;25112:21;;;;;;;;;;-1:-1:-1;25112:21:0;;;;-1:-1:-1;;;;;25112:21:0;;;57029:1481;;;;;;;;;;-1:-1:-1;57029:1481:0;;;;;:::i;:::-;;:::i;59809:1384::-;;;;;;;;;;-1:-1:-1;59809:1384:0;;;;;:::i;:::-;;:::i;:::-;;;;13621:25:1;;;13677:2;13662:18;;13655:34;;;;13705:18;;;13698:34;13609:2;13594:18;59809:1384:0;13576:162:1;26715:411:0;26803:1;26787:13;5891:12;;;5803:108;26787:13;:17;26779:26;;;;;;26820:9;:13;26816:303;;26874:95;26945:13;5891:12;;;5803:108;26945:13;26916:26;26917:9;-1:-1:-1;;;26916:15:0;:26::i;:::-;:42;;;;:::i;:::-;26874:25;;;:29;:95::i;:::-;26846:25;:123;26985:43;;27018:9;12229:25:1;;27006:10:0;;26985:43;;12217:2:1;12202:18;26985:43:0;;;;;;;27069:25;;:40;;27099:9;27069:29;:40::i;:::-;27041:25;:68;26816:303;26715:411::o;55622:507::-;20214:6;;-1:-1:-1;;;;;20214:6:0;308:10;20214:22;20206:67;;;;-1:-1:-1;;;20206:67:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;55719:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;:39;;::::0;::::1;;;;55711:48;;;::::0;::::1;;-1:-1:-1::0;;;;;55770:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;:38;;-1:-1:-1;;55770:38:0::1;::::0;::::1;;::::0;;::::1;::::0;;;-1:-1:-1;55823:13:0::1;55819:251;;;55853:23;55865:7;55874:1;55853:11;:23::i;:::-;55891:31;::::0;-1:-1:-1;;;55891:31:0;;:15:::1;:31;::::0;::::1;12469:25:1::0;-1:-1:-1;;;;;12530:32:1;;12510:18;;;12503:60;55891:22:0::1;::::0;::::1;::::0;12442:18:1;;55891:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;55819:251;;;-1:-1:-1::0;;;;;6075:18:0;;6048:7;6075:18;;;;;;;;;;;55955:40:::1;::::0;55967:7;;55955:11:::1;:40::i;:::-;-1:-1:-1::0;;;;;6075:18:0;;6048:7;6075:18;;;;;;;;;;;;56010:48;;-1:-1:-1;;;56010:48:0;;:15:::1;:48;::::0;::::1;12806:25:1::0;12847:18;;;12840:60;;;;12916:18;;;12909:34;56010:48:0;:19:::1;::::0;::::1;::::0;12779:18:1;;;;;6048:7:0;;56010:48;;;;;:19;:48;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;55819:251;56085:36;::::0;6023:14:1;;6016:22;5998:41;;-1:-1:-1;;;;;56085:36:0;::::1;::::0;::::1;::::0;5986:2:1;5971:18;56085:36:0::1;;;;;;;55622:507:::0;;:::o;4684:100::-;4738:13;4771:5;4764:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4684:100;:::o;6850:169::-;6933:4;6950:39;308:10;6973:7;6982:6;6950:8;:39::i;:::-;-1:-1:-1;7007:4:0;6850:169;;;;;:::o;7501:355::-;7641:4;7658:36;7668:6;7676:9;7687:6;7658:9;:36::i;:::-;7705:121;7714:6;308:10;7736:89;7774:6;7736:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7736:19:0;;;;;;-1:-1:-1;7736:19:0;;;;;;;;308:10;7736:33;;;;;;;;;;:37;:89::i;:::-;7705:8;:121::i;:::-;-1:-1:-1;7844:4:0;7501:355;;;;;:::o;30615:253::-;-1:-1:-1;;;;;30795:36:0;;30692:7;30795:36;;;:28;:36;;;;;;;;;6075:18;;;;;;;30717:25;;-1:-1:-1;;;;30717:131:0;;:115;;:63;;:48;;:25;:29;:48::i;:::-;:61;:63::i;:::-;:77;;:115::i;:::-;:129;:131::i;:::-;:143;;;;:::i;8265:218::-;308:10;8353:4;8402:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;8402:34:0;;;;;;;;;;8353:4;;8370:83;;8402:34;;:50;;8441:10;8402:38;:50::i;58518:542::-;58622:7;58644:6;58665;58686:7;58708;58730;58752;58774;58822:15;:20;;;;:22;;;;;;;;;;;;;12229:25:1;;12217:2;12202:18;;12184:76;58822:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58813:5;:31;58809:138;;-1:-1:-1;58869:42:0;;-1:-1:-1;;;;;;;;58869:42:0;;-1:-1:-1;58869:42:0;;-1:-1:-1;58869:42:0;;-1:-1:-1;58869:42:0;;-1:-1:-1;58869:42:0;58861:74;;58809:138;58977:36;;-1:-1:-1;;;58977:36:0;;:15;:36;;;13158:25:1;13199:18;;;13192:34;;;58959:15:0;;58977:29;;;;13131:18:1;;58977:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58959:54;;59033:19;59044:7;59033:10;:19::i;:::-;59026:26;;;;;;;;;;;;;;;;;58518:542;;;;;;;;;;:::o;20644:148::-;20214:6;;-1:-1:-1;;;;;20214:6:0;308:10;20214:22;20206:67;;;;-1:-1:-1;;;20206:67:0;;;;;;;:::i;:::-;20735:6:::1;::::0;20714:40:::1;::::0;20751:1:::1;::::0;-1:-1:-1;;;;;20735:6:0::1;::::0;20714:40:::1;::::0;20751:1;;20714:40:::1;20765:6;:19:::0;;-1:-1:-1;;;;;;20765:19:0::1;::::0;;20644:148::o;56890:131::-;56994:11;;56979:34;;;-1:-1:-1;;;56979:34:0;;;;56946:13;;-1:-1:-1;;;;;56994:11:0;;-1:-1:-1;;56979:34:0;;;;;56994:11;;56979:34;;;;;;;56994:11;56979:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;56979:34:0;;;;;;;;;;;;:::i;:::-;56972:41;;56890:131;:::o;28568:101::-;20214:6;;-1:-1:-1;;;;;20214:6:0;308:10;20214:22;20206:67;;;;-1:-1:-1;;;20206:67:0;;;;;;;:::i;:::-;28639:11:::1;:22:::0;;-1:-1:-1;;;;;;28639:22:0::1;-1:-1:-1::0;;;;;28639:22:0;;;::::1;::::0;;;::::1;::::0;;28568:101::o;29289:128::-;29354:7;29379:30;29402:6;29379:22;:30::i;4903:104::-;4959:13;4992:7;4985:14;;;;;:::i;55468:146::-;20214:6;;-1:-1:-1;;;;;20214:6:0;308:10;20214:22;20206:67;;;;-1:-1:-1;;;20206:67:0;;;;;;;:::i;:::-;55592:14:::1;5729:1:::0;55592:2:::1;:14;:::i;:::-;55583:23;::::0;:6;:23:::1;:::i;:::-;55549:31;:57:::0;-1:-1:-1;55468:146:0:o;8986:269::-;9079:4;9096:129;308:10;9119:7;9128:96;9167:15;9128:96;;;;;;;;;;;;;;;;;308:10;9128:25;;;;:11;:25;;;;;;;;-1:-1:-1;;;;;9128:34:0;;;;;;;;;;;;:38;:96::i;29636:172::-;-1:-1:-1;;;;;29773:26:0;;29713:7;29773:26;;;:18;:26;;;;;;29738:62;;:30;29773:26;29738:22;:30::i;:::-;:34;;:62::i;6314:175::-;6400:4;6417:42;308:10;6441:9;6452:6;6417:9;:42::i;61201:397::-;20214:6;;61319:4;;-1:-1:-1;;;;;20214:6:0;308:10;20214:22;20206:67;;;;-1:-1:-1;;;20206:67:0;;;;;;;:::i;:::-;61341:14:::1;61358:32;61382:7;61358:23;:32::i;:::-;61341:49:::0;-1:-1:-1;61407:10:0;;61403:163:::1;;-1:-1:-1::0;;;;;61434:23:0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;;;;61460:15:::1;61434:41:::0;;61495:33;;12229:25:1;;;61495:33:0;::::1;;::::0;61434:23;61495:33:::1;::::0;12202:18:1;61495:33:0::1;;;;;;;61550:4;61543:11;;;;;61403:163;-1:-1:-1::0;61585:5:0::1;::::0;61201:397;-1:-1:-1;;;61201:397:0:o;59310:491::-;20214:6;;-1:-1:-1;;;;;20214:6:0;308:10;20214:22;20206:67;;;;-1:-1:-1;;;20206:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;59399:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;59395:69;;;59310:491:::0;;:::o;59395:69::-:1;59494:31;;59480:10;:45;59476:267;;59542:32;59554:7;59563:10;59542:11;:32::i;:::-;59589:40;::::0;-1:-1:-1;;;59589:40:0;;:15:::1;:40;::::0;::::1;12806:25:1::0;-1:-1:-1;;;;;12867:32:1;;12847:18;;;12840:60;12916:18;;;12909:34;;;59589:19:0::1;::::0;::::1;::::0;12779:18:1;;59589:40:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;59476:267;;;59662:23;59674:7;59683:1;59662:11;:23::i;:::-;59700:31;::::0;-1:-1:-1;;;59700:31:0;;:15:::1;:31;::::0;::::1;12469:25:1::0;-1:-1:-1;;;;;12530:32:1;;12510:18;;;12503:60;59700:22:0::1;::::0;::::1;::::0;12442:18:1;;59700:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;59476:267;59755:38;59778:7;59788:4;59755:14;:38::i;:::-;;59310:491:::0;;:::o;56137:500::-;20214:6;;-1:-1:-1;;;;;20214:6:0;308:10;20214:22;20206:67;;;;-1:-1:-1;;;20206:67:0;;;;;;;:::i;:::-;56252:4:::1;56236:12;:20;;:45;;;;;56276:5;56260:12;:21;;56236:45;56214:173;;;::::0;-1:-1:-1;;;56214:173:0;;7777:2:1;56214:173:0::1;::::0;::::1;7759:21:1::0;7816:2;7796:18;;;7789:30;7855:34;7835:18;;;7828:62;7926:34;7906:18;;;7899:62;-1:-1:-1;;;7977:19:1;;;7970:45;8032:19;;56214:173:0::1;7749:308:1::0;56214:173:0::1;56436:9;;56420:12;:25;;56398:139;;;::::0;;-1:-1:-1;;;56398:139:0;;10599:2:1;56398:139:0::1;::::0;::::1;10581:21:1::0;10618:18;;;10611:30;;;;10677:34;10657:18;;;10650:62;10748:34;10728:18;;;10721:62;10800:19;;56398:139:0::1;10571:254:1::0;56398:139:0::1;56584:9;::::0;56553:41:::1;::::0;56570:12;;56553:41:::1;::::0;;;::::1;56605:9;:24:::0;56137:500::o;20947:244::-;20214:6;;-1:-1:-1;;;;;20214:6:0;308:10;20214:22;20206:67;;;;-1:-1:-1;;;20206:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;21036:22:0;::::1;21028:73;;;::::0;-1:-1:-1;;;21028:73:0;;8264:2:1;21028:73:0::1;::::0;::::1;8246:21:1::0;8303:2;8283:18;;;8276:30;8342:34;8322:18;;;8315:62;-1:-1:-1;;;8393:18:1;;;8386:36;8439:19;;21028:73:0::1;8236:228:1::0;21028:73:0::1;21138:6;::::0;21117:38:::1;::::0;-1:-1:-1;;;;;21117:38:0;;::::1;::::0;21138:6:::1;::::0;21117:38:::1;::::0;21138:6:::1;::::0;21117:38:::1;21166:6;:17:::0;;-1:-1:-1;;;;;;21166:17:0::1;-1:-1:-1::0;;;;;21166:17:0;;;::::1;::::0;;;::::1;::::0;;20947:244::o;57029:1481::-;57490:38;;-1:-1:-1;;;57490:38:0;;:15;:38;;;12469:25:1;-1:-1:-1;;;;;12530:32:1;;12510:18;;;12503:60;57461:8:0;;57129:15;;;;;;;;;;;;;;57490:29;;;;12442:18:1;;57490:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57482:46;-1:-1:-1;;;;;;57587:10:0;;57583:517;;57635:18;;57626:5;57618:35;57614:475;;;57718:18;;57701:37;;:5;;:9;:37::i;:::-;57674:64;;57614:475;;;57865:18;;57814:15;:27;57779:32;;-1:-1:-1;57814:169:0;;57982:1;57814:169;;;57939:18;;57907:15;:27;:51;;:31;:51::i;:::-;57779:204;-1:-1:-1;58031:42:0;57779:204;58031:5;:42;:::i;:::-;58004:69;;57760:329;57614:475;58136:31;58159:7;58136:22;:31::i;:::-;58112:55;;58195:31;58218:7;58195:22;:31::i;:::-;-1:-1:-1;;;;;58255:23:0;;;;;;:14;:23;;;;;;58178:48;;-1:-1:-1;58255:23:0;-1:-1:-1;58255:23:0;58307:51;;58357:1;58307:51;;;58344:9;;58327:27;;:13;:27;:::i;:::-;58291:67;;58420:15;58404:13;:31;:98;;58501:1;58404:98;;;58451:34;:13;58469:15;58451:17;:34::i;:::-;58371:131;;57029:1481;;;;;;;;;:::o;59809:1384::-;59997:15;:27;59887:7;;;;;;60041:25;60037:91;;-1:-1:-1;;60097:18:0;;60091:1;;-1:-1:-1;60091:1:0;;-1:-1:-1;60083:33:0;;60037:91;60170:18;;60140:27;;60251:9;60233:27;;60273:18;60306:14;60337:736;60354:3;60344:7;:13;:50;;;;;60374:20;60361:10;:33;60344:50;60337:736;;;60411:21;;;;:::i;:::-;60476:15;:27;60411:21;;-1:-1:-1;60453:50:0;;;-1:-1:-1;60449:114:0;;60546:1;60524:23;;60449:114;60579:15;60597;:20;;60618:19;60597:41;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;60597:41:0;60672:23;;;:14;:23;;;;;;;;60597:41;;-1:-1:-1;60659:37:0;;:12;:37::i;:::-;60655:172;;;60721:38;60744:7;60754:4;60721:14;:38::i;:::-;60717:95;;;60784:8;;;;:::i;:::-;;;;60717:95;60843:12;;;;:::i;:::-;;;;60872:18;60893:9;60872:30;;60933:10;60923:7;:20;60919:106;;;60985:23;:7;60997:10;60985:11;:23::i;:::-;60974:35;;:7;:35;:::i;:::-;60964:45;;60919:106;61051:10;-1:-1:-1;60337:736:0;;-1:-1:-1;60337:736:0;;61085:18;:40;;;61146:10;;-1:-1:-1;61158:6:0;-1:-1:-1;61106:19:0;;-1:-1:-1;;;;59809:1384:0;;;;;;:::o;14249:471::-;14307:7;14552:6;14548:47;;-1:-1:-1;14582:1:0;14575:8;;14548:47;14607:9;14619:5;14623:1;14619;:5;:::i;:::-;14607:17;-1:-1:-1;14652:1:0;14643:5;14647:1;14607:17;14643:5;:::i;:::-;:10;14635:56;;;;-1:-1:-1;;;14635:56:0;;9836:2:1;14635:56:0;;;9818:21:1;9875:2;9855:18;;;9848:30;9914:34;9894:18;;;9887:62;-1:-1:-1;;;9965:18:1;;;9958:31;10006:19;;14635:56:0;9808:223:1;14635:56:0;14711:1;14249:471;-1:-1:-1;;;14249:471:0:o;12895:181::-;12953:7;;12985:5;12989:1;12985;:5;:::i;:::-;12973:17;;13014:1;13009;:6;;13001:46;;;;-1:-1:-1;;;13001:46:0;;9074:2:1;13001:46:0;;;9056:21:1;9113:2;9093:18;;;9086:30;9152:29;9132:18;;;9125:57;9199:18;;13001:46:0;9046:177:1;32643:452:0;-1:-1:-1;;;;;6075:18:0;;32719:22;6075:18;;;;;;;;;;;32776:27;;;32773:315;;;32816:26;32845:30;:10;32860:14;32845;:30::i;:::-;32816:59;;32886:45;32903:7;32912:18;32886:16;:45::i;:::-;32805:136;59755:38:::1;59310:491:::0;;:::o;32773:315::-;32963:14;32950:10;:27;32947:141;;;32990:18;33011:30;:14;33030:10;33011:18;:30::i;:::-;32990:51;;33052:26;33058:7;33067:10;33052:5;:26::i;12112:380::-;-1:-1:-1;;;;;12248:19:0;;12240:68;;;;-1:-1:-1;;;12240:68:0;;11434:2:1;12240:68:0;;;11416:21:1;11473:2;11453:18;;;11446:30;11512:34;11492:18;;;11485:62;-1:-1:-1;;;11563:18:1;;;11556:34;11607:19;;12240:68:0;11406:226:1;12240:68:0;-1:-1:-1;;;;;12327:21:0;;12319:68;;;;-1:-1:-1;;;12319:68:0;;8671:2:1;12319:68:0;;;8653:21:1;8710:2;8690:18;;;8683:30;8749:34;8729:18;;;8722:62;-1:-1:-1;;;8800:18:1;;;8793:32;8842:19;;12319:68:0;8643:224:1;12319:68:0;-1:-1:-1;;;;;12400:18:0;;;;;;;-1:-1:-1;12400:18:0;;;;;;;;:27;;;;;;;;;;;;;:36;;;12452:32;;12229:25:1;;;12452:32:0;;;;;;;;;;;;12112:380;;;:::o;55273:187::-;55387:65;;-1:-1:-1;;;55387:65:0;;11839:2:1;55387:65:0;;;11821:21:1;11878:2;11858:18;;;11851:30;11917:34;11897:18;;;11890:62;-1:-1:-1;;;11968:18:1;;;11961:45;12023:19;;55387:65:0;11811:237:1;13798:192:0;13884:7;13920:12;13912:6;;;;13904:29;;;;-1:-1:-1;;;13904:29:0;;;;;;;;:::i;:::-;-1:-1:-1;13944:9:0;13956:5;13960:1;13956;:5;:::i;:::-;13944:17;13798:192;-1:-1:-1;;;;;13798:192:0:o;19369:134::-;19425:6;19458:1;19475:6;;;;19467:15;;;;;18705:176;18761:6;;18791:5;18795:1;18791;:5;:::i;:::-;18780:16;;18821:1;18816;:6;;:16;;;;;18831:1;18826;:6;;18816:16;18815:38;;;;18842:1;18838;:5;:14;;;;;18851:1;18847;:5;18838:14;18807:47;;;;;19110:127;19166:7;19199:1;19194;:6;;19186:15;;;;;;-1:-1:-1;19227:1:0;19110:127::o;13359:136::-;13417:7;13444:43;13448:1;13451;13444:43;;;;;;;;;;;;;;;;;:3;:43::i;27301:1255::-;27374:7;27394:29;27426:28;27449:4;27426:22;:28::i;:::-;27394:60;-1:-1:-1;27469:25:0;;27465:1065;;-1:-1:-1;;;;;27538:24:0;;;;;;:18;:24;;;;;;:51;;27567:21;27538:28;:51::i;:::-;-1:-1:-1;;;;;27511:24:0;;;;;;:18;:24;;;;;;;;;:78;;;;27609:46;12229:25:1;;;27511:24:0;;27609:46;;12202:18:1;27609:46:0;;;;;;;27688:6;;:13;;;-1:-1:-1;;;27688:13:0;;;;-1:-1:-1;;;;;27688:6:0;;;;:11;;:13;;;;;;;;;;;;;;;:6;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;27673:11;;-1:-1:-1;;;;;27673:28:0;;;:11;;:28;27670:806;;27722:12;27738:50;27760:4;27766:21;27738;:50::i;:::-;27721:67;;27811:7;27807:346;;27867:54;;27844:18;;-1:-1:-1;;;;;27867:9:0;;;27912:4;;27884:21;;27844:18;27867:54;27844:18;27867:54;27884:21;27867:9;27912:4;27867:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27843:78;;;27948:13;27944:183;;-1:-1:-1;;;;;28017:24:0;;;;;;:18;:24;;;;;;:51;;28046:21;28017:28;:51::i;:::-;-1:-1:-1;;;;;27990:24:0;;;;;;;;:18;:24;;;;;:78;;;;-1:-1:-1;27990:24:0;;;-1:-1:-1;;;27301:1255:0:o;27944:183::-;27820:333;27807:346;27702:466;27670:806;;;28223:54;;28206:12;;-1:-1:-1;;;;;28223:9:0;;;28268:4;;28240:21;;28206:12;28223:54;28206:12;28223:54;28240:21;28223:9;28268:4;28223:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28205:72;;;28300:7;28296:165;;-1:-1:-1;;;;;28359:24:0;;;;;;:18;:24;;;;;;:51;;28388:21;28359:28;:51::i;:::-;-1:-1:-1;;;;;28332:24:0;;;;;;;;:18;:24;;;;;:78;;;;-1:-1:-1;28332:24:0;;;-1:-1:-1;;27301:1255:0:o;28296:165::-;28186:290;28497:21;27301:1255;-1:-1:-1;;27301:1255:0:o;27465:1065::-;-1:-1:-1;28547:1:0;;27301:1255;-1:-1:-1;;27301:1255:0:o;18441:176::-;18497:6;;18527:5;18531:1;18527;:5;:::i;:::-;18516:16;;18557:1;18552;:6;;:16;;;;;18567:1;18562;:6;;18552:16;18551:38;;;;18578:1;18574;:5;:14;;;;;18587:1;18583;:5;18543:47;;;;;59068:234;59135:4;59172:15;59156:13;:31;59152:76;;;-1:-1:-1;59211:5:0;;59068:234;-1:-1:-1;59068:234:0:o;59152:76::-;59285:9;;59247:34;:15;59267:13;59247:19;:34::i;:::-;:47;;;59068:234;-1:-1:-1;;59068:234:0:o;31792:290::-;31877:38;31900:7;31909:5;31877:22;:38::i;:::-;31966:108;32019:53;32020:36;32050:5;32020:25;;:29;;:36;;;;:::i;32019:53::-;-1:-1:-1;;;;;31966:37:0;;;;;;:28;:37;;;;;;;:51;:108::i;:::-;-1:-1:-1;;;;;31926:37:0;;;;;;;;:28;:37;;;;;:148;;;;-1:-1:-1;31792:290:0:o;32367:268::-;32441:27;32453:7;32462:5;32441:11;:27::i;:::-;32519:108;32572:53;32573:36;32603:5;32573:25;;:29;;:36;;;;:::i;32572:53::-;-1:-1:-1;;;;;32519:37:0;;;;;;:28;:37;;;;;;;:51;:108::i;28679:391::-;28798:16;;;28812:1;28798:16;;;;;;;;28755:4;;;;28798:16;28812:1;28798:16;;;;;;;;-1:-1:-1;;28837:6:0;;:13;;;-1:-1:-1;;;28837:13:0;;;;28774:40;;-1:-1:-1;;;;;;28837:6:0;;;;:11;;-1:-1:-1;28837:13:0;;;;;;;;;;;;;;:6;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28827:4;28832:1;28827:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;28827:23:0;;;:7;;;;;;;;;:23;28873:11;;28863:7;;28873:11;;;28863:7;;-1:-1:-1;;28863:7:0;;;;;;:::i;:::-;-1:-1:-1;;;;;28863:21:0;;;:7;;;;;;;;;:21;28903:6;;;:28;28939:3;28903:6;28947:4;28953;28959:19;:15;28977:1;28959:19;:::i;:::-;28903:76;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;28903:76:0;;;;;;;;;;;;:::i;:::-;;;28899:164;;29046:5;29039:12;;;;;28899:164;;29001:4;28994:11;;;;;10528:395;-1:-1:-1;;;;;10623:21:0;;10615:71;;;;-1:-1:-1;;;10615:71:0;;9430:2:1;10615:71:0;;;9412:21:1;9469:2;9449:18;;;9442:30;9508:34;9488:18;;;9481:62;-1:-1:-1;;;9559:18:1;;;9552:35;9604:19;;10615:71:0;9402:227:1;10615:71:0;10776:12;;:24;;10793:6;10776:16;:24::i;:::-;10761:12;:39;-1:-1:-1;;;;;10832:18:0;;:9;:18;;;;;;;;;;;:30;;10855:6;10832:22;:30::i;:::-;-1:-1:-1;;;;;10811:18:0;;:9;:18;;;;;;;;;;;:51;;;;10878:37;;12229:25:1;;;10811:18:0;;:9;;10878:37;;12202:18:1;10878:37:0;;;;;;;;10528:395;;:::o;11256:418::-;-1:-1:-1;;;;;11340:21:0;;11332:67;;;;-1:-1:-1;;;11332:67:0;;11032:2:1;11332:67:0;;;11014:21:1;11071:2;11051:18;;;11044:30;11110:34;11090:18;;;11083:62;-1:-1:-1;;;11161:18:1;;;11154:31;11202:19;;11332:67:0;11004:223:1;11332:67:0;11495:68;11518:6;11495:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11495:18:0;;:9;:18;;;;;;;;;;;;;:22;:68::i;:::-;-1:-1:-1;;;;;11474:18:0;;:9;:18;;;;;;;;;;:89;11589:12;;:24;;11606:6;11589:16;:24::i;:::-;11574:12;:39;11629:37;;12229:25:1;;;11655:1:0;;-1:-1:-1;;;;;11629:37:0;;;;;12217:2:1;12202:18;11629:37:0;12184:76:1;14:160;79:20;;135:13;;128:21;118:32;;108:2;;164:1;161;154:12;108:2;60:114;;;:::o;179:247::-;238:6;291:2;279:9;270:7;266:23;262:32;259:2;;;307:1;304;297:12;259:2;346:9;333:23;365:31;390:5;365:31;:::i;431:251::-;501:6;554:2;542:9;533:7;529:23;525:32;522:2;;;570:1;567;560:12;522:2;602:9;596:16;621:31;646:5;621:31;:::i;687:323::-;760:6;768;821:2;809:9;800:7;796:23;792:32;789:2;;;837:1;834;827:12;789:2;876:9;863:23;895:31;920:5;895:31;:::i;:::-;945:5;-1:-1:-1;969:35:1;1000:2;985:18;;969:35;:::i;:::-;959:45;;779:231;;;;;:::o;1015:388::-;1083:6;1091;1144:2;1132:9;1123:7;1119:23;1115:32;1112:2;;;1160:1;1157;1150:12;1112:2;1199:9;1186:23;1218:31;1243:5;1218:31;:::i;:::-;1268:5;-1:-1:-1;1325:2:1;1310:18;;1297:32;1338:33;1297:32;1338:33;:::i;:::-;1390:7;1380:17;;;1102:301;;;;;:::o;1408:456::-;1485:6;1493;1501;1554:2;1542:9;1533:7;1529:23;1525:32;1522:2;;;1570:1;1567;1560:12;1522:2;1609:9;1596:23;1628:31;1653:5;1628:31;:::i;:::-;1678:5;-1:-1:-1;1735:2:1;1720:18;;1707:32;1748:33;1707:32;1748:33;:::i;:::-;1512:352;;1800:7;;-1:-1:-1;;;1854:2:1;1839:18;;;;1826:32;;1512:352::o;2189:315::-;2257:6;2265;2318:2;2306:9;2297:7;2293:23;2289:32;2286:2;;;2334:1;2331;2324:12;2286:2;2373:9;2360:23;2392:31;2417:5;2392:31;:::i;:::-;2442:5;2494:2;2479:18;;;;2466:32;;-1:-1:-1;;;2276:228:1:o;2509:947::-;2604:6;2635:2;2678;2666:9;2657:7;2653:23;2649:32;2646:2;;;2694:1;2691;2684:12;2646:2;2727:9;2721:16;2756:18;2797:2;2789:6;2786:14;2783:2;;;2813:1;2810;2803:12;2783:2;2851:6;2840:9;2836:22;2826:32;;2896:7;2889:4;2885:2;2881:13;2877:27;2867:2;;2918:1;2915;2908:12;2867:2;2947;2941:9;2969:2;2965;2962:10;2959:2;;;2975:18;;:::i;:::-;3021:2;3018:1;3014:10;3004:20;;3044:28;3068:2;3064;3060:11;3044:28;:::i;:::-;3106:15;;;3137:12;;;;3169:11;;;3199;;;3195:20;;3192:33;-1:-1:-1;3189:2:1;;;3238:1;3235;3228:12;3189:2;3260:1;3251:10;;3270:156;3284:2;3281:1;3278:9;3270:156;;;3341:10;;3329:23;;3302:1;3295:9;;;;;3372:12;;;;3404;;3270:156;;;-1:-1:-1;3445:5:1;2615:841;-1:-1:-1;;;;;;;;2615:841:1:o;3461:183::-;3530:6;3583:2;3571:9;3562:7;3558:23;3554:32;3551:2;;;3599:1;3596;3589:12;3551:2;-1:-1:-1;3622:16:1;;3541:103;-1:-1:-1;3541:103:1:o;3649:706::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:2;;;3798:1;3795;3788:12;3750:2;3831:9;3825:16;3860:18;3901:2;3893:6;3890:14;3887:2;;;3917:1;3914;3907:12;3887:2;3955:6;3944:9;3940:22;3930:32;;4000:7;3993:4;3989:2;3985:13;3981:27;3971:2;;4022:1;4019;4012:12;3971:2;4051;4045:9;4073:2;4069;4066:10;4063:2;;;4079:18;;:::i;:::-;4121:53;4170:2;-1:-1:-1;;4164:2:1;4145:13;;4141:27;4137:36;4121:53;:::i;:::-;4108:66;;4197:2;4190:5;4183:17;4237:7;4232:2;4227;4223;4219:11;4215:20;4212:33;4209:2;;;4258:1;4255;4248:12;4209:2;4271:54;4322:2;4317;4310:5;4306:14;4301:2;4297;4293:11;4271:54;:::i;:::-;-1:-1:-1;4344:5:1;3740:615;-1:-1:-1;;;;3740:615:1:o;4360:180::-;4419:6;4472:2;4460:9;4451:7;4447:23;4443:32;4440:2;;;4488:1;4485;4478:12;4440:2;-1:-1:-1;4511:23:1;;4430:110;-1:-1:-1;4430:110:1:o;6274:908::-;6508:4;6556:3;6545:9;6541:19;6587:6;6576:9;6569:25;6613:2;6651:3;6646:2;6635:9;6631:18;6624:31;6675:6;6710;6704:13;6741:6;6733;6726:22;6779:3;6768:9;6764:19;6757:26;;6818:2;6810:6;6806:15;6792:29;;6839:1;6849:195;6863:6;6860:1;6857:13;6849:195;;;6928:13;;-1:-1:-1;;;;;6924:39:1;6912:52;;7019:15;;;;6984:12;;;;-1:-1:-1;6878:9:1;6849:195;;;-1:-1:-1;;;;;;;7100:32:1;;;;7095:2;7080:18;;7073:60;-1:-1:-1;;;7164:2:1;7149:18;7142:34;7100:32;7061:3;-1:-1:-1;;6517:665:1:o;7187:383::-;7336:2;7325:9;7318:21;7299:4;7368:6;7362:13;7411:6;7406:2;7395:9;7391:18;7384:34;7427:66;7486:6;7481:2;7470:9;7466:18;7461:2;7453:6;7449:15;7427:66;:::i;:::-;7554:2;7533:15;-1:-1:-1;;7529:29:1;7514:45;;;;7561:2;7510:54;;7308:262;-1:-1:-1;;7308:262:1:o;10036:356::-;10238:2;10220:21;;;10257:18;;;10250:30;10316:34;10311:2;10296:18;;10289:62;10383:2;10368:18;;10210:182::o;13932:275::-;14003:2;13997:9;-1:-1:-1;;14068:2:1;14049:13;;14045:27;14033:40;;14124:22;;;14103:18;14088:34;;14085:62;14082:2;;;14150:18;;:::i;:::-;14186:2;14179:22;13977:230;;-1:-1:-1;13977:230:1:o;14212:265::-;14251:3;14279:9;;;-1:-1:-1;;;;;14323:27:1;;;14316:35;;14304:10;;14300:52;14297:2;;;14355:18;;:::i;:::-;-1:-1:-1;;;14402:19:1;;;14395:27;;14387:36;;14384:2;;;14426:18;;:::i;:::-;-1:-1:-1;;14462:9:1;;14259:218::o;14482:128::-;14522:3;14553:1;14549:6;14546:1;14543:13;14540:2;;;14559:18;;:::i;:::-;-1:-1:-1;14595:9:1;;14530:80::o;14615:217::-;14655:1;14681;14671:2;;14725:10;14720:3;14716:20;14713:1;14706:31;14760:4;14757:1;14750:15;14788:4;14785:1;14778:15;14671:2;-1:-1:-1;14817:9:1;;14661:171::o;14837:422::-;14926:1;14969:5;14926:1;14983:270;15004:7;14994:8;14991:21;14983:270;;;15063:4;15059:1;15055:6;15051:17;15045:4;15042:27;15039:2;;;15072:18;;:::i;:::-;15122:7;15112:8;15108:22;15105:2;;;15142:16;;;;15105:2;15221:22;;;;15181:15;;;;14983:270;;;14987:3;14901:358;;;;;:::o;15264:140::-;15322:5;15351:47;15392:4;15382:8;15378:19;15372:4;15458:5;15488:8;15478:2;;-1:-1:-1;15529:1:1;15543:5;;15478:2;15577:4;15567:2;;-1:-1:-1;15614:1:1;15628:5;;15567:2;15659:4;15677:1;15672:59;;;;15745:1;15740:130;;;;15652:218;;15672:59;15702:1;15693:10;;15716:5;;;15740:130;15777:3;15767:8;15764:17;15761:2;;;15784:18;;:::i;:::-;-1:-1:-1;;15840:1:1;15826:16;;15855:5;;15652:218;;15954:2;15944:8;15941:16;15935:3;15929:4;15926:13;15922:36;15916:2;15906:8;15903:16;15898:2;15892:4;15889:12;15885:35;15882:77;15879:2;;;-1:-1:-1;15991:19:1;;;16023:5;;15879:2;16070:34;16095:8;16089:4;16070:34;:::i;:::-;16140:6;16136:1;16132:6;16128:19;16119:7;16116:32;16113:2;;;16151:18;;:::i;:::-;16189:20;;15468:747;-1:-1:-1;;;15468:747:1:o;16220:168::-;16260:7;16326:1;16322;16318:6;16314:14;16311:1;16308:21;16303:1;16296:9;16289:17;16285:45;16282:2;;;16333:18;;:::i;:::-;-1:-1:-1;16373:9:1;;16272:116::o;16393:267::-;16432:4;16461:9;;;-1:-1:-1;;;16505:19:1;;16498:27;;16486:10;;16482:44;16479:2;;;16529:18;;:::i;:::-;-1:-1:-1;;;;;16576:27:1;;16569:35;;16561:44;;16558:2;;;16608:18;;:::i;:::-;-1:-1:-1;;16645:9:1;;16441:219::o;16665:125::-;16705:4;16733:1;16730;16727:8;16724:2;;;16738:18;;:::i;:::-;-1:-1:-1;16775:9:1;;16714:76::o;16795:258::-;16867:1;16877:113;16891:6;16888:1;16885:13;16877:113;;;16967:11;;;16961:18;16948:11;;;16941:39;16913:2;16906:10;16877:113;;;17008:6;17005:1;17002:13;16999:2;;;-1:-1:-1;;17043:1:1;17025:16;;17018:27;16848:205::o;17058:380::-;17137:1;17133:12;;;;17180;;;17201:2;;17255:4;17247:6;17243:17;17233:27;;17201:2;17308;17300:6;17297:14;17277:18;17274:38;17271:2;;;17354:10;17349:3;17345:20;17342:1;17335:31;17389:4;17386:1;17379:15;17417:4;17414:1;17407:15;17271:2;;17113:325;;;:::o;17443:135::-;17482:3;-1:-1:-1;;17503:17:1;;17500:2;;;17523:18;;:::i;:::-;-1:-1:-1;17570:1:1;17559:13;;17490:88::o;17583:127::-;17644:10;17639:3;17635:20;17632:1;17625:31;17675:4;17672:1;17665:15;17699:4;17696:1;17689:15;17715:127;17776:10;17771:3;17767:20;17764:1;17757:31;17807:4;17804:1;17797:15;17831:4;17828:1;17821:15;17847:127;17908:10;17903:3;17899:20;17896:1;17889:31;17939:4;17936:1;17929:15;17963:4;17960:1;17953:15;17979:131;-1:-1:-1;;;;;18054:31:1;;18044:42;;18034:2;;18100:1;18097;18090:12;18034:2;18024:86;:::o

Swarm Source

ipfs://59b7891c451639beef391d0d26e5555008d65ecfb8e7b7035aa391a1f0d5e62e

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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