ETH Price: $3,131.09 (+0.97%)

Token

Heiro (HEIRO)
 

Overview

Max Total Supply

1,000,000,000 HEIRO

Holders

332

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
190,000 HEIRO

Value
$0.00
0xd4bC53434C5e12cb41381A556c3c47e1a86e80E3
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x199e98f3...7eFC9DE42
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
BABYTOKEN

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-04-17
*/

// Dependency file: @openzeppelin/contracts/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT

// pragma solidity ^0.8.0;

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


// Dependency file: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

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

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

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


// Dependency file: @openzeppelin/contracts/utils/Context.sol


// pragma solidity ^0.8.0;

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

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


// Dependency file: @openzeppelin/contracts/token/ERC20/ERC20.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
// import "@openzeppelin/contracts/utils/Context.sol";

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * 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 18;
    }

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `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);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

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

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

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `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);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

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

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

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

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

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


// Dependency file: @openzeppelin/contracts/utils/Address.sol


// pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


// Dependency file: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// import "@openzeppelin/contracts/utils/Address.sol";

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

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

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

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

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

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

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

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


// Dependency file: @openzeppelin/contracts/access/Ownable.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/utils/Context.sol";

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

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

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// Dependency file: @openzeppelin/contracts/utils/math/SafeMath.sol


// pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // 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 (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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) {
        return a + b;
    }

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

    /**
     * @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) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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 a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}


// Dependency file: @openzeppelin/contracts/proxy/Clones.sol


// pragma solidity ^0.8.0;

/**
 * @dev https://eips.ethereum.org/EIPS/eip-1167[EIP 1167] is a standard for
 * deploying minimal proxy contracts, also known as "clones".
 *
 * > To simply and cheaply clone contract functionality in an immutable way, this standard specifies
 * > a minimal bytecode implementation that delegates all calls to a known, fixed address.
 *
 * The library includes functions to deploy a proxy using either `create` (traditional deployment) or `create2`
 * (salted deterministic deployment). It also includes functions to predict the addresses of clones deployed using the
 * deterministic method.
 *
 * _Available since v3.4._
 */
library Clones {
    /**
     * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.
     *
     * This function uses the create opcode, which should never revert.
     */
    function clone(address implementation) internal returns (address instance) {
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
            mstore(add(ptr, 0x14), shl(0x60, implementation))
            mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000)
            instance := create(0, ptr, 0x37)
        }
        require(instance != address(0), "ERC1167: create failed");
    }

    /**
     * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.
     *
     * This function uses the create2 opcode and a `salt` to deterministically deploy
     * the clone. Using the same `implementation` and `salt` multiple time will revert, since
     * the clones cannot be deployed twice at the same address.
     */
    function cloneDeterministic(address implementation, bytes32 salt) internal returns (address instance) {
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
            mstore(add(ptr, 0x14), shl(0x60, implementation))
            mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000)
            instance := create2(0, ptr, 0x37, salt)
        }
        require(instance != address(0), "ERC1167: create2 failed");
    }

    /**
     * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.
     */
    function predictDeterministicAddress(
        address implementation,
        bytes32 salt,
        address deployer
    ) internal pure returns (address predicted) {
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
            mstore(add(ptr, 0x14), shl(0x60, implementation))
            mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf3ff00000000000000000000000000000000)
            mstore(add(ptr, 0x38), shl(0x60, deployer))
            mstore(add(ptr, 0x4c), salt)
            mstore(add(ptr, 0x6c), keccak256(ptr, 0x37))
            predicted := keccak256(add(ptr, 0x37), 0x55)
        }
    }

    /**
     * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.
     */
    function predictDeterministicAddress(address implementation, bytes32 salt)
        internal
        view
        returns (address predicted)
    {
        return predictDeterministicAddress(implementation, salt, address(this));
    }
}


// Dependency file: contracts/libs/SafeERC20NoRevert.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

/**
 * @title SafeERC20NoRevert
 * @dev Taken from OpenZeppelin's SafeERC20 implementation, just return a bool value without reverting
 * Clients using this function need to check for the return value themselves.
 */
library SafeERC20NoRevert {
    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal returns (bool) {
        (bool success, bytes memory returndata) = address(token).call(
            abi.encodeWithSelector(token.transfer.selector, to, value)
        );
        return
            success &&
            (returndata.length == 0 || abi.decode(returndata, (bool))) &&
            address(token).code.length > 0;
    }
}


// Dependency file: contracts/interfaces/IUniswapV2Factory.sol

// pragma solidity >=0.5.0;

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

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

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}


// Dependency file: contracts/interfaces/IUniswapV2Router02.sol

// pragma solidity >=0.6.2;

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

    function WETH() external pure returns (address);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// Dependency file: @openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol


// pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @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);
}


// Dependency file: @openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20MetadataUpgradeable is IERC20Upgradeable {
    /**
     * @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);
}


// Dependency file: @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol


// pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}


// Dependency file: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol


// pragma solidity ^0.8.0;
// import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

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

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}


// Dependency file: @openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable {
    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.
     */
    function __ERC20_init(string memory name_, string memory symbol_) internal initializer {
        __Context_init_unchained();
        __ERC20_init_unchained(name_, symbol_);
    }

    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer {
        _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 18;
    }

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `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);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

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

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

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `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);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

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

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

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

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

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


// Dependency file: @openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
    uint256[49] private __gap;
}


// Dependency file: contracts/interfaces/IUniswapV2Pair.sol

// pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

// Dependency file: contracts/libs/SafeMathInt.sol

// pragma solidity =0.8.4;

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


// Dependency file: contracts/libs/SafeMathUint.sol

// pragma solidity =0.8.4;

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


// Dependency file: contracts/baby/IterableMapping.sol

// pragma solidity =0.8.4;

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

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

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

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

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

    function set(
        Map storage map,
        address key,
        uint256 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];

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

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

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


// Dependency file: contracts/baby/BabyTokenDividendTracker.sol

// pragma solidity =0.8.4;

// import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
// import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// import "@openzeppelin/contracts/access/Ownable.sol";
// import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
// import "@openzeppelin/contracts/utils/math/SafeMath.sol";
// import "contracts/interfaces/IUniswapV2Factory.sol";
// import "contracts/interfaces/IUniswapV2Router02.sol";
// import "contracts/interfaces/IUniswapV2Pair.sol";
// import "contracts/libs/SafeMathInt.sol";
// import "contracts/libs/SafeMathUint.sol";
// import "contracts/libs/SafeERC20NoRevert.sol";
// import "contracts/baby/IterableMapping.sol";

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

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

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

/// @title Dividend-Paying Token Optional Interface
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev OPTIONAL functions for a dividend-paying token contract.
interface DividendPayingTokenOptionalInterface {
    /// @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);
}

/// @title Dividend-Paying Token
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev A mintable ERC20 token that allows anyone to pay and distribute ether
///  to token holders as dividends and allows token holders to withdraw their dividends.
///  Reference: the source code of PoWH3D: https://etherscan.io/address/0xB3775fB83F7D12A36E0475aBdD1FCA35c091efBe#code
contract DividendPayingToken is
    ERC20Upgradeable,
    OwnableUpgradeable,
    DividendPayingTokenInterface,
    DividendPayingTokenOptionalInterface
{
    using SafeMath for uint256;
    using SafeMathUint for uint256;
    using SafeMathInt for int256;

    address public rewardToken;

    // 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 internal constant magnitude = 2**128;

    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 minting/burning/transferring tokens),
    //   `dividendOf(_user)` should not be changed,
    //   but the computed value of `dividendPerShare * balanceOf(_user)` is changed.
    // To keep the `dividendOf(_user)` unchanged, we add a correction term:
    //   `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`,
    //   where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed:
    //   `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`.
    // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed.
    mapping(address => int256) internal magnifiedDividendCorrections;
    mapping(address => uint256) internal withdrawnDividends;

    uint256 public totalDividendsDistributed;

    function __DividendPayingToken_init(
        address _rewardToken,
        string memory _name,
        string memory _symbol
    ) internal initializer {
        __Ownable_init();
        __ERC20_init(_name, _symbol);
        rewardToken = _rewardToken;
    }

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

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

            totalDividendsDistributed = totalDividendsDistributed.add(amount);
        }
    }

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

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

            bool success = SafeERC20NoRevert.safeTransfer(
                IERC20(rewardToken),
                user,
                _withdrawableDividend
            );

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

        return 0;
    }

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

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

    /// @notice View the amount of dividend in wei that an address 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
        );
    }

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

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

    /// @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 mintAmount = newBalance.sub(currentBalance);
            _mint(account, mintAmount);
        } else if (newBalance < currentBalance) {
            uint256 burnAmount = currentBalance.sub(newBalance);
            _burn(account, burnAmount);
        }
    }
}

contract BABYTOKENDividendTracker is OwnableUpgradeable, 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);
    event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue);

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

    function initialize(
        address rewardToken_,
        uint256 minimumTokenBalanceForDividends_
    ) external initializer {
        DividendPayingToken.__DividendPayingToken_init(
            rewardToken_,
            "DIVIDEND_TRACKER",
            "DIVIDEND_TRACKER"
        );
        claimWait = 3600;
        minimumTokenBalanceForDividends = minimumTokenBalanceForDividends_;
    }

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

    function withdrawDividend() public pure override {
        require(
            false,
            "Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main BABYTOKEN contract."
        );
    }

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

        _setBalance(account, 0);
        tokenHoldersMap.remove(account);

        emit ExcludeFromDividends(account);
    }

    function isExcludedFromDividends(address account)
        public
        view
        returns (bool)
    {
        return excludedFromDividends[account];
    }

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

    function updateMinimumTokenBalanceForDividends(uint256 amount)
        external
        onlyOwner
    {
        minimumTokenBalanceForDividends = amount;
    }

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

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

    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.add(
                    int256(processesUntilEndOfArray)
                );
            }
        }

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

        lastClaimTime = lastClaimTimes[account];

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

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

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

        address account = tokenHoldersMap.getKeyAtIndex(index);

        return 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 payable account, uint256 newBalance)
        external
        onlyOwner
    {
        if (excludedFromDividends[account]) {
            return;
        }
        if (newBalance >= minimumTokenBalanceForDividends) {
            _setBalance(account, newBalance);
            tokenHoldersMap.set(account, newBalance);
        } else {
            _setBalance(account, 0);
            tokenHoldersMap.remove(account);
        }
        processAccount(account, true);
    }

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

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

        uint256 _lastProcessedIndex = lastProcessedIndex;

        uint256 gasUsed = 0;

        uint256 gasLeft = gasleft();

        uint256 iterations = 0;
        uint256 claims = 0;

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

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

            address account = tokenHoldersMap.keys[_lastProcessedIndex];

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

            iterations++;

            uint256 newGasLeft = gasleft();

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

            gasLeft = newGasLeft;
        }

        lastProcessedIndex = _lastProcessedIndex;

        return (iterations, claims, lastProcessedIndex);
    }

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

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

        return false;
    }
}


// Dependency file: contracts/BaseToken.sol

// pragma solidity =0.8.4;

enum TokenType {
    standard,
    antiBotStandard,
    liquidityGenerator,
    antiBotLiquidityGenerator,
    baby,
    antiBotBaby,
    buybackBaby,
    antiBotBuybackBaby
}

abstract contract BaseToken {
    event TokenCreated(
        address indexed owner,
        address indexed token,
        TokenType tokenType,
        uint256 version
    );
}


// Root file: contracts/baby/BabyToken.sol

pragma solidity =0.8.4;

// import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

// import "@openzeppelin/contracts/access/Ownable.sol";
// import "@openzeppelin/contracts/utils/math/SafeMath.sol";
// import "@openzeppelin/contracts/proxy/Clones.sol";
// import "@openzeppelin/contracts/utils/Address.sol";

// import "contracts/libs/SafeERC20NoRevert.sol";
// import "contracts/interfaces/IUniswapV2Factory.sol";
// import "contracts/interfaces/IUniswapV2Router02.sol";
// import "contracts/baby/BabyTokenDividendTracker.sol";
// import "contracts/BaseToken.sol";

contract BABYTOKEN is ERC20, Ownable, BaseToken {
    using SafeMath for uint256;
    using Address for address;
    using Address for address payable;
    using SafeERC20 for IERC20;

    uint256 public constant VERSION = 6;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;

    bool private swapping;

    BABYTOKENDividendTracker public dividendTracker;

    address public rewardToken;

    uint256 public swapTokensAtAmount;

    uint256 public tokenRewardsFee;
    uint256 public liquidityFee;
    uint256 public marketingFee;
    uint256 public totalFees;

    address public _marketingWalletAddress;

    uint256 public gasForProcessing;

    // exlcude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping(address => bool) public automatedMarketMakerPairs;

    event ExcludeFromFees(address indexed account);
    event ExcludeMultipleAccountsFromFees(address[] accounts);

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event GasForProcessingUpdated(
        uint256 indexed newValue,
        uint256 indexed oldValue
    );

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );

    event SendDividends(uint256 tokensSwapped, uint256 amount);
    event SendDividendsReverted(uint256 tokensSwapped, uint256 amount);

    event ProcessedDividendTracker(
        uint256 iterations,
        uint256 claims,
        uint256 lastProcessedIndex,
        bool indexed automatic,
        uint256 gas,
        address indexed processor
    );

    constructor(
        string memory name_,
        string memory symbol_,
        uint256 totalSupply_,
        address[4] memory addrs, // reward, router, marketing wallet, dividendTracker
        uint256[3] memory feeSettings, // rewards, liquidity, marketing
        uint256 minimumTokenBalanceForDividends_,
        address serviceFeeReceiver_,
        uint256 serviceFee_
    ) payable ERC20(name_, symbol_) {
        rewardToken = addrs[0];
        _marketingWalletAddress = addrs[2];
        require(
            msg.sender != _marketingWalletAddress,
            "Owner and marketing wallet cannot be the same"
        );
        require(
            !_marketingWalletAddress.isContract(),
            "Marketing wallet cannot be a contract"
        );

        tokenRewardsFee = feeSettings[0];
        liquidityFee = feeSettings[1];
        marketingFee = feeSettings[2];
        totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee);
        require(totalFees <= 25, "Total fee is over 25%");
        swapTokensAtAmount = totalSupply_.div(1000); // 0.1%

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

        dividendTracker = BABYTOKENDividendTracker(
            payable(Clones.clone(addrs[3]))
        );
        dividendTracker.initialize(
            rewardToken,
            minimumTokenBalanceForDividends_
        );

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(addrs[1]);
        // Create a uniswap pair for this new token
        address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = _uniswapV2Pair;
        _setAutomatedMarketMakerPair(_uniswapV2Pair, true);

        // exclude from receiving dividends
        dividendTracker.excludeFromDividends(address(dividendTracker));
        dividendTracker.excludeFromDividends(address(this));
        dividendTracker.excludeFromDividends(owner());
        dividendTracker.excludeFromDividends(address(0xdead));
        dividendTracker.excludeFromDividends(address(_uniswapV2Router));
        // exclude from paying fees or having max transaction amount
        _isExcludedFromFees[owner()] = true;
        _isExcludedFromFees[_marketingWalletAddress] = true;
        _isExcludedFromFees[address(this)] = true;
        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(owner(), totalSupply_);

        emit TokenCreated(owner(), address(this), TokenType.baby, VERSION);

        payable(serviceFeeReceiver_).transfer(serviceFee_);
    }

    receive() external payable {}

    function setSwapTokensAtAmount(uint256 amount) external onlyOwner {
        require(
            amount > totalSupply() / 10 ** 5,
            "BABYTOKEN: Amount must be greater than 0.001% of total supply"
        );
        swapTokensAtAmount = amount;
    }

    function excludeFromFees(address account) external onlyOwner {
        require(
            !_isExcludedFromFees[account],
            "BABYTOKEN: Account is already excluded"
        );
        _isExcludedFromFees[account] = true;

        emit ExcludeFromFees(account);
    }

    function excludeMultipleAccountsFromFees(
        address[] calldata accounts
    ) external onlyOwner {
        for (uint256 i = 0; i < accounts.length; i++) {
            _isExcludedFromFees[accounts[i]] = true;
        }

        emit ExcludeMultipleAccountsFromFees(accounts);
    }

    function setMarketingWallet(address payable wallet) external onlyOwner {
        require(
            wallet != address(0),
            "BABYTOKEN: The marketing wallet cannot be the value of zero"
        );
        require(!wallet.isContract(), "Marketing wallet cannot be a contract");
        _marketingWalletAddress = wallet;
    }

    function setTokenRewardsFee(uint256 value) external onlyOwner {
        tokenRewardsFee = value;
        totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee);
        require(totalFees <= 25, "Total fee is over 25%");
    }

    function setLiquiditFee(uint256 value) external onlyOwner {
        liquidityFee = value;
        totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee);
        require(totalFees <= 25, "Total fee is over 25%");
    }

    function setMarketingFee(uint256 value) external onlyOwner {
        marketingFee = value;
        totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee);
        require(totalFees <= 25, "Total fee is over 25%");
    }

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

        if (value) {
            dividendTracker.excludeFromDividends(pair);
        }

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateGasForProcessing(uint256 newValue) public onlyOwner {
        require(
            newValue >= 200000 && newValue <= 500000,
            "BABYTOKEN: gasForProcessing must be between 200,000 and 500,000"
        );
        require(
            newValue != gasForProcessing,
            "BABYTOKEN: Cannot update gasForProcessing to same value"
        );
        emit GasForProcessingUpdated(newValue, gasForProcessing);
        gasForProcessing = newValue;
    }

    function updateClaimWait(uint256 claimWait) external onlyOwner {
        dividendTracker.updateClaimWait(claimWait);
    }

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

    function updateMinimumTokenBalanceForDividends(
        uint256 amount
    ) external onlyOwner {
        dividendTracker.updateMinimumTokenBalanceForDividends(amount);
    }

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

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

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

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

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

    function excludeFromDividends(address account) external onlyOwner {
        dividendTracker.excludeFromDividends(account);
    }

    function isExcludedFromDividends(
        address account
    ) public view returns (bool) {
        return dividendTracker.isExcludedFromDividends(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 processDividendTracker(uint256 gas) external {
        (
            uint256 iterations,
            uint256 claims,
            uint256 lastProcessedIndex
        ) = dividendTracker.process(gas);
        emit ProcessedDividendTracker(
            iterations,
            claims,
            lastProcessedIndex,
            false,
            gas,
            tx.origin
        );
    }

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

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

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

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

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

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            canSwap &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            from != owner() &&
            to != owner() &&
            totalFees > 0
        ) {
            swapping = true;

            if (marketingFee > 0) {
                uint256 marketingTokens = contractTokenBalance
                    .mul(marketingFee)
                    .div(totalFees);
                swapAndSendToFee(marketingTokens);
            }

            if (liquidityFee > 0) {
                uint256 swapTokens = contractTokenBalance.mul(liquidityFee).div(
                    totalFees
                );
                swapAndLiquify(swapTokens);
            }

            uint256 sellTokens = balanceOf(address(this));
            if (sellTokens > 0) {
                swapAndSendDividends(sellTokens);
            }

            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 && totalFees > 0) {
            uint256 fees = amount.mul(totalFees).div(100);
            amount = amount.sub(fees);

            super._transfer(from, address(this), fees);
        }

        super._transfer(from, to, amount);

        try
            dividendTracker.setBalance(payable(from), balanceOf(from))
        {} catch {}
        try dividendTracker.setBalance(payable(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 swapAndSendToFee(uint256 tokens) private {
        uint256 initialCAKEBalance = IERC20(rewardToken).balanceOf(
            address(this)
        );

        swapTokensForCake(tokens);
        uint256 newBalance = (IERC20(rewardToken).balanceOf(address(this))).sub(
            initialCAKEBalance
        );
        IERC20(rewardToken).safeTransfer(_marketingWalletAddress, newBalance);
    }

    function swapAndLiquify(uint256 tokens) private {
        // split the contract balance into halves
        uint256 half = tokens.div(2);
        uint256 otherHalf = tokens.sub(half);

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

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

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

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

        emit SwapAndLiquify(half, newBalance, otherHalf);
    }

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

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

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

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

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

        // make the swap
        try
            uniswapV2Router
                .swapExactTokensForTokensSupportingFeeOnTransferTokens(
                    tokenAmount,
                    0,
                    path,
                    address(this),
                    block.timestamp
                )
        {} catch {}
    }

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

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

    function swapAndSendDividends(uint256 tokens) private {
        swapTokensForCake(tokens);
        uint256 dividends = IERC20(rewardToken).balanceOf(address(this));
        bool success = SafeERC20NoRevert.safeTransfer(
            IERC20(rewardToken),
            address(dividendTracker),
            dividends
        );
        if (success) {
            try dividendTracker.distributeCAKEDividends(dividends) {} catch {
                emit SendDividendsReverted(tokens, dividends);
                return;
            }
            emit SendDividends(tokens, dividends);
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"},{"internalType":"address[4]","name":"addrs","type":"address[4]"},{"internalType":"uint256[3]","name":"feeSettings","type":"uint256[3]"},{"internalType":"uint256","name":"minimumTokenBalanceForDividends_","type":"uint256"},{"internalType":"address","name":"serviceFeeReceiver_","type":"address"},{"internalType":"uint256","name":"serviceFee_","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividendsReverted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"enum TokenType","name":"tokenType","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"version","type":"uint256"}],"name":"TokenCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingWalletAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract BABYTOKENDividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountDividendsInfo","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountDividendsInfoAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinimumTokenBalanceForDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFee","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":"processDividendTracker","outputs":[],"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":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setLiquiditFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMarketingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setTokenRewardsFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateMinimumTokenBalanceForDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052604051620040f8380380620040f8833981016040819052620000269162000d80565b8751889088906200003f90600390602085019062000b9b565b5080516200005590600490602084019062000b9b565b505050620000726200006c6200080a60201b60201c565b6200080e565b8451600980546001600160a01b03199081166001600160a01b03938416179091556040870151600f805490921692169182179055331415620001115760405162461bcd60e51b815260206004820152602d60248201527f4f776e657220616e64206d61726b6574696e672077616c6c65742063616e6e6f60448201526c74206265207468652073616d6560981b60648201526084015b60405180910390fd5b600f5462000134906001600160a01b031662000860602090811b6200194c17901c565b15620001915760405162461bcd60e51b815260206004820152602560248201527f4d61726b6574696e672077616c6c65742063616e6e6f74206265206120636f6e6044820152641d1c9858dd60da1b606482015260840162000108565b8351600b819055602080860151600c8190556040870151600d819055620001dd939092620001c992906200195262000866821b17901c565b6200086660201b620019521790919060201c565b600e81905560191015620002345760405162461bcd60e51b815260206004820152601560248201527f546f74616c20666565206973206f766572203235250000000000000000000000604482015260640162000108565b620002506103e8876200087b60201b6200195e1790919060201c565b600a55620493e06010556200027785600360200201516200088960201b6200196a1760201c565b600880546001600160a01b0319166001600160a01b0392831690811790915560095460405163cd6dc68760e01b815292166004830152602482018590529063cd6dc68790604401600060405180830381600087803b158015620002d957600080fd5b505af1158015620002ee573d6000803e3d6000fd5b505050506000856001600481106200031657634e487b7160e01b600052603260045260246000fd5b602002015190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200035957600080fd5b505afa1580156200036e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000394919062000d63565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015620003dd57600080fd5b505afa158015620003f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000418919062000d63565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200046157600080fd5b505af115801562000476573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200049c919062000d63565b600680546001600160a01b038086166001600160a01b03199283161790925560078054928416929091169190911790559050620004db81600162000938565b60085460405163031e79db60e41b81526001600160a01b0390911660048201819052906331e79db090602401600060405180830381600087803b1580156200052257600080fd5b505af115801562000537573d6000803e3d6000fd5b505060085460405163031e79db60e41b81523060048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b1580156200058157600080fd5b505af115801562000596573d6000803e3d6000fd5b50506008546001600160a01b031691506331e79db09050620005c06005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b1580156200060257600080fd5b505af115801562000617573d6000803e3d6000fd5b505060085460405163031e79db60e41b815261dead60048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b1580156200066357600080fd5b505af115801562000678573d6000803e3d6000fd5b505060085460405163031e79db60e41b81526001600160a01b03868116600483015290911692506331e79db09150602401600060405180830381600087803b158015620006c457600080fd5b505af1158015620006d9573d6000803e3d6000fd5b50505050600160116000620006f362000aa760201b60201c565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055600f54909116815260119092528082208054841660019081179091553083529120805490921617905562000768620007616005546001600160a01b031690565b8962000ab6565b306200077c6005546001600160a01b031690565b6001600160a01b03167f56358b41df5fa59f5639228f0930994cbdde383c8a8fd74e06c04e1deebe356260046006604051620007ba92919062000e90565b60405180910390a36040516001600160a01b0385169084156108fc029085906000818181858888f19350505050158015620007f9573d6000803e3d6000fd5b505050505050505050505062000fb4565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3b151590565b600062000874828462000f1b565b9392505050565b600062000874828462000f40565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528260601b60148201526e5af43d82803e903d91602b57fd5bf360881b60288201526037816000f09150506001600160a01b038116620009335760405162461bcd60e51b815260206004820152601660248201527f455243313136373a20637265617465206661696c656400000000000000000000604482015260640162000108565b919050565b6001600160a01b03821660009081526012602052604090205460ff1615158115151415620009db5760405162461bcd60e51b815260206004820152604360248201527f42414259544f4b454e3a204175746f6d61746564206d61726b6574206d616b6560448201527f72207061697220697320616c72656164792073657420746f20746861742076616064820152626c756560e81b608482015260a40162000108565b6001600160a01b0382166000908152601260205260409020805460ff1916821580159190911790915562000a6b5760085460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b15801562000a5157600080fd5b505af115801562000a66573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b031690565b6001600160a01b03821662000b0e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000108565b806002600082825462000b22919062000f1b565b90915550506001600160a01b0382166000908152602081905260408120805483929062000b5190849062000f1b565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b82805462000ba99062000f61565b90600052602060002090601f01602090048101928262000bcd576000855562000c18565b82601f1062000be857805160ff191683800117855562000c18565b8280016001018555821562000c18579182015b8281111562000c1857825182559160200191906001019062000bfb565b5062000c2692915062000c2a565b5090565b5b8082111562000c26576000815560010162000c2b565b80516001600160a01b03811681146200093357600080fd5b600082601f83011262000c6a578081fd5b604051606081016001600160401b038111828210171562000c8f5762000c8f62000f9e565b60405280836060810186101562000ca4578384fd5b835b600381101562000cc757815183526020928301929091019060010162000ca6565b509195945050505050565b600082601f83011262000ce3578081fd5b81516001600160401b0381111562000cff5762000cff62000f9e565b602062000d15601f8301601f1916820162000ee8565b828152858284870101111562000d29578384fd5b835b8381101562000d4857858101830151828201840152820162000d2b565b8381111562000d5957848385840101525b5095945050505050565b60006020828403121562000d75578081fd5b620008748262000c41565b6000806000806000806000806101a0898b03121562000d9d578384fd5b88516001600160401b038082111562000db4578586fd5b62000dc28c838d0162000cd2565b995060209150818b01518181111562000dd9578687fd5b62000de78d828e0162000cd2565b9950505060408a015196508a607f8b011262000e01578485fd5b62000e0b62000ebd565b8060608c0160e08d018e81111562000e21578889fd5b885b600481101562000e4b5762000e388362000c41565b8552938501939185019160010162000e23565b5082995062000e5b8f8262000c59565b98505050505050610140890151925062000e796101608a0162000c41565b915061018089015190509295985092959890939650565b604081016008841062000eb357634e487b7160e01b600052602160045260246000fd5b9281526020015290565b604051608081016001600160401b038111828210171562000ee25762000ee262000f9e565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000f135762000f1362000f9e565b604052919050565b6000821982111562000f3b57634e487b7160e01b81526011600452602481fd5b500190565b60008262000f5c57634e487b7160e01b81526012600452602481fd5b500490565b600181811c9082168062000f7657607f821691505b6020821081141562000f9857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6131348062000fc46000396000f3fe6080604052600436106102e85760003560e01c8063715018a611610190578063b62496f5116100dc578063e708a0f911610095578063f27fd2541161006f578063f27fd2541461091c578063f2fde38b1461093c578063f7c618c11461095c578063ffa1ad741461097c57600080fd5b8063e708a0f9146108d1578063e7841ec0146108e7578063e98030c7146108fc57600080fd5b8063b62496f5146107f0578063bdd4f29f14610820578063c705c56914610835578063dd62ed3e14610855578063e2f456051461089b578063e57f14e1146108b157600080fd5b8063a26579ad11610149578063a9059cbb11610123578063a9059cbb1461072b578063ad56c13c1461074b578063adefd90c146107b0578063afa4f3b2146107d057600080fd5b8063a26579ad146106d6578063a457c2d7146106eb578063a8b9d2401461070b57600080fd5b8063715018a614610642578063871c128d146106575780638da5cb5b1461067757806395d89b411461069557806398118cb4146106aa5780639c1b8af5146106c057600080fd5b8063395093511161024f5780635d098b38116102085780636843cd84116101e25780636843cd84146105b65780636b67c4df146105d6578063700bb191146105ec57806370a082311461060c57600080fd5b80635d098b3814610561578063625e764c1461058157806364b0f653146105a157600080fd5b806339509351146104935780634144d9e4146104b357806349bd5a5e146104d35780634e71d92d146104f35780634ed080c7146105085780634fbee1931461052857600080fd5b806318160ddd116102a157806318160ddd146103ed57806323b872dd146104025780632c1f52161461042257806330bb4cff14610442578063313ce5671461045757806331e79db01461047357600080fd5b806306fdde03146102f4578063095ea7b31461031f5780630c43c79b1461034f5780630dcb2e891461037157806313114a9d146103915780631694505e146103b557600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b50610309610991565b6040516103169190612e83565b60405180910390f35b34801561032b57600080fd5b5061033f61033a366004612d01565b610a23565b6040519015158152602001610316565b34801561035b57600080fd5b5061036f61036a366004612d2c565b610a39565b005b34801561037d57600080fd5b5061036f61038c366004612dbc565b610b2a565b34801561039d57600080fd5b506103a7600e5481565b604051908152602001610316565b3480156103c157600080fd5b506006546103d5906001600160a01b031681565b6040516001600160a01b039091168152602001610316565b3480156103f957600080fd5b506002546103a7565b34801561040e57600080fd5b5061033f61041d366004612c58565b610bb6565b34801561042e57600080fd5b506008546103d5906001600160a01b031681565b34801561044e57600080fd5b506103a7610c62565b34801561046357600080fd5b5060405160128152602001610316565b34801561047f57600080fd5b5061036f61048e366004612be8565b610ce4565b34801561049f57600080fd5b5061033f6104ae366004612d01565b610d40565b3480156104bf57600080fd5b50600f546103d5906001600160a01b031681565b3480156104df57600080fd5b506007546103d5906001600160a01b031681565b3480156104ff57600080fd5b5061036f610d7c565b34801561051457600080fd5b5061036f610523366004612dbc565b610e03565b34801561053457600080fd5b5061033f610543366004612be8565b6001600160a01b031660009081526011602052604090205460ff1690565b34801561056d57600080fd5b5061036f61057c366004612be8565b610e9b565b34801561058d57600080fd5b5061036f61059c366004612dbc565b610fc9565b3480156105ad57600080fd5b506103a761100d565b3480156105c257600080fd5b506103a76105d1366004612be8565b611052565b3480156105e257600080fd5b506103a7600d5481565b3480156105f857600080fd5b5061036f610607366004612dbc565b6110d7565b34801561061857600080fd5b506103a7610627366004612be8565b6001600160a01b031660009081526020819052604090205490565b34801561064e57600080fd5b5061036f6111b9565b34801561066357600080fd5b5061036f610672366004612dbc565b6111ef565b34801561068357600080fd5b506005546001600160a01b03166103d5565b3480156106a157600080fd5b5061030961134c565b3480156106b657600080fd5b506103a7600c5481565b3480156106cc57600080fd5b506103a760105481565b3480156106e257600080fd5b506103a761135b565b3480156106f757600080fd5b5061033f610706366004612d01565b6113a0565b34801561071757600080fd5b506103a7610726366004612be8565b611439565b34801561073757600080fd5b5061033f610746366004612d01565b61146c565b34801561075757600080fd5b5061076b610766366004612be8565b611479565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610316565b3480156107bc57600080fd5b5061036f6107cb366004612dbc565b611523565b3480156107dc57600080fd5b5061036f6107eb366004612dbc565b611567565b3480156107fc57600080fd5b5061033f61080b366004612be8565b60126020526000908152604090205460ff1681565b34801561082c57600080fd5b506103a7611621565b34801561084157600080fd5b5061033f610850366004612be8565b611666565b34801561086157600080fd5b506103a7610870366004612c20565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108a757600080fd5b506103a7600a5481565b3480156108bd57600080fd5b5061036f6108cc366004612be8565b6116e4565b3480156108dd57600080fd5b506103a7600b5481565b3480156108f357600080fd5b506103a76117d2565b34801561090857600080fd5b5061036f610917366004612dbc565b611817565b34801561092857600080fd5b5061076b610937366004612dbc565b611872565b34801561094857600080fd5b5061036f610957366004612be8565b6118b4565b34801561096857600080fd5b506009546103d5906001600160a01b031681565b34801561098857600080fd5b506103a7600681565b6060600380546109a09061307d565b80601f01602080910402602001604051908101604052809291908181526020018280546109cc9061307d565b8015610a195780601f106109ee57610100808354040283529160200191610a19565b820191906000526020600020905b8154815290600101906020018083116109fc57829003601f168201915b5050505050905090565b6000610a30338484611a07565b50600192915050565b6005546001600160a01b03163314610a6c5760405162461bcd60e51b8152600401610a6390612ef9565b60405180910390fd5b60005b81811015610aec57600160116000858585818110610a9d57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610ab29190612be8565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610ae4816130b8565b915050610a6f565b507f6f058e77d614a1061fc197c99cdde12f5fa414c92529bbe8f48b02f8d9f4f95d8282604051610b1e929190612e35565b60405180910390a15050565b6005546001600160a01b03163314610b545760405162461bcd60e51b8152600401610a6390612ef9565b600854604051630dcb2e8960e01b8152600481018390526001600160a01b0390911690630dcb2e89906024015b600060405180830381600087803b158015610b9b57600080fd5b505af1158015610baf573d6000803e3d6000fd5b5050505050565b6000610bc3848484611b2b565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610c485760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610a63565b610c558533858403611a07565b60019150505b9392505050565b600854604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae916004808301926020929190829003018186803b158015610ca757600080fd5b505afa158015610cbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdf9190612dd4565b905090565b6005546001600160a01b03163314610d0e5760405162461bcd60e51b8152600401610a6390612ef9565b60085460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db090602401610b81565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a30918590610d77908690612fe3565b611a07565b60085460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b3790604401602060405180830381600087803b158015610dc857600080fd5b505af1158015610ddc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e009190612d9c565b50565b6005546001600160a01b03163314610e2d5760405162461bcd60e51b8152600401610a6390612ef9565b600b819055600d54600c54610e4e9190610e48908490611952565b90611952565b600e81905560191015610e005760405162461bcd60e51b8152602060048201526015602482015274546f74616c20666565206973206f7665722032352560581b6044820152606401610a63565b6005546001600160a01b03163314610ec55760405162461bcd60e51b8152600401610a6390612ef9565b6001600160a01b038116610f415760405162461bcd60e51b815260206004820152603b60248201527f42414259544f4b454e3a20546865206d61726b6574696e672077616c6c65742060448201527f63616e6e6f74206265207468652076616c7565206f66207a65726f00000000006064820152608401610a63565b6001600160a01b0381163b15610fa75760405162461bcd60e51b815260206004820152602560248201527f4d61726b6574696e672077616c6c65742063616e6e6f74206265206120636f6e6044820152641d1c9858dd60da1b6064820152608401610a63565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610ff35760405162461bcd60e51b8152600401610a6390612ef9565b600d819055600c54600b54610e4e918391610e4891611952565b600854604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde916004808301926020929190829003018186803b158015610ca757600080fd5b6008546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b60206040518083038186803b15801561109957600080fd5b505afa1580156110ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d19190612dd4565b92915050565b6008546040516001624d3b8760e01b0319815260048101839052600091829182916001600160a01b03169063ffb2c47990602401606060405180830381600087803b15801561112557600080fd5b505af1158015611139573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115d9190612dec565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a98906080015b60405180910390a350505050565b6005546001600160a01b031633146111e35760405162461bcd60e51b8152600401610a6390612ef9565b6111ed6000611f82565b565b6005546001600160a01b031633146112195760405162461bcd60e51b8152600401610a6390612ef9565b62030d40811015801561122f57506207a1208111155b6112a15760405162461bcd60e51b815260206004820152603f60248201527f42414259544f4b454e3a20676173466f7250726f63657373696e67206d75737460448201527f206265206265747765656e203230302c30303020616e64203530302c303030006064820152608401610a63565b6010548114156113195760405162461bcd60e51b815260206004820152603760248201527f42414259544f4b454e3a2043616e6e6f742075706461746520676173466f725060448201527f726f63657373696e6720746f2073616d652076616c75650000000000000000006064820152608401610a63565b60105460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601055565b6060600480546109a09061307d565b60085460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec916004808301926020929190829003018186803b158015610ca757600080fd5b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156114225760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a63565b61142f3385858403611a07565b5060019392505050565b6008546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401611081565b6000610a30338484611b2b565b60085460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839291169063fbcbc0f1906024015b6101006040518083038186803b1580156114d057600080fd5b505afa1580156114e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115089190612c98565b97509750975097509750975097509750919395975091939597565b6005546001600160a01b0316331461154d5760405162461bcd60e51b8152600401610a6390612ef9565b600c819055600d54600b54610e4e9190610e489084611952565b6005546001600160a01b031633146115915760405162461bcd60e51b8152600401610a6390612ef9565b620186a061159e60025490565b6115a89190612ffb565b811161161c5760405162461bcd60e51b815260206004820152603d60248201527f42414259544f4b454e3a20416d6f756e74206d7573742062652067726561746560448201527f72207468616e20302e30303125206f6620746f74616c20737570706c790000006064820152608401610a63565b600a55565b60085460408051632f842d8560e21b815290516000926001600160a01b03169163be10b614916004808301926020929190829003018186803b158015610ca757600080fd5b60085460405163c705c56960e01b81526001600160a01b038381166004830152600092169063c705c5699060240160206040518083038186803b1580156116ac57600080fd5b505afa1580156116c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d19190612d9c565b6005546001600160a01b0316331461170e5760405162461bcd60e51b8152600401610a6390612ef9565b6001600160a01b03811660009081526011602052604090205460ff16156117865760405162461bcd60e51b815260206004820152602660248201527f42414259544f4b454e3a204163636f756e7420697320616c726561647920657860448201526518db1d59195960d21b6064820152608401610a63565b6001600160a01b038116600081815260116020526040808220805460ff19166001179055517f57a00f76b5f242fb1e04b0b514a6974665a5b07bce45e39f36dabff4a042d9369190a250565b6008546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec0916004808301926020929190829003018186803b158015610ca757600080fd5b6005546001600160a01b031633146118415760405162461bcd60e51b8152600401610a6390612ef9565b60085460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c790602401610b81565b600854604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd906024016114b7565b6005546001600160a01b031633146118de5760405162461bcd60e51b8152600401610a6390612ef9565b6001600160a01b0381166119435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a63565b610e0081611f82565b3b151590565b6000610c5b8284612fe3565b6000610c5b8284612ffb565b6000604051733d602d80600a3d3981f3363d3d373d3d3d363d7360601b81528260601b60148201526e5af43d82803e903d91602b57fd5bf360881b60288201526037816000f09150506001600160a01b038116611a025760405162461bcd60e51b8152602060048201526016602482015275115490cc4c4d8dce8818dc99585d194819985a5b195960521b6044820152606401610a63565b919050565b6001600160a01b038316611a695760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a63565b6001600160a01b038216611aca5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a63565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611b515760405162461bcd60e51b8152600401610a6390612f2e565b6001600160a01b038216611b775760405162461bcd60e51b8152600401610a6390612eb6565b80611b8d57611b8883836000611fd4565b505050565b30600090815260208190526040902054600a5481108015908190611bbb5750600754600160a01b900460ff16155b8015611be057506001600160a01b03851660009081526012602052604090205460ff16155b8015611bfa57506005546001600160a01b03868116911614155b8015611c1457506005546001600160a01b03858116911614155b8015611c2257506000600e54115b15611cd2576007805460ff60a01b1916600160a01b179055600d5415611c72576000611c65600e54611c5f600d548661212190919063ffffffff16565b9061195e565b9050611c708161212d565b505b600c5415611ca4576000611c97600e54611c5f600c548661212190919063ffffffff16565b9050611ca28161225c565b505b306000908152602081905260409020548015611cc357611cc3816122e3565b506007805460ff60a01b191690555b6007546001600160a01b03861660009081526011602052604090205460ff600160a01b909204821615911680611d2057506001600160a01b03851660009081526011602052604090205460ff165b15611d29575060005b808015611d3857506000600e54115b15611d74576000611d596064611c5f600e548861212190919063ffffffff16565b9050611d658582612463565b9450611d72873083611fd4565b505b611d7f868686611fd4565b6008546001600160a01b031663e30443bc87611db0816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015611df657600080fd5b505af1925050508015611e07575060015b506008546001600160a01b031663e30443bc86611e39816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015611e7f57600080fd5b505af1925050508015611e90575060015b50600754600160a01b900460ff16611f7a576010546008546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c47990602401606060405180830381600087803b158015611eee57600080fd5b505af1925050508015611f1e575060408051601f3d908101601f19168201909252611f1b91810190612dec565b60015b611f2757611f78565b60408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611ffa5760405162461bcd60e51b8152600401610a6390612f2e565b6001600160a01b0382166120205760405162461bcd60e51b8152600401610a6390612eb6565b6001600160a01b038316600090815260208190526040902054818110156120985760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a63565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906120cf908490612fe3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516111ab91815260200190565b50505050565b6000610c5b828461301b565b6009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561217157600080fd5b505afa158015612185573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a99190612dd4565b90506121b48261246f565b6009546040516370a0823160e01b815230600482015260009161223c9184916001600160a01b0316906370a082319060240160206040518083038186803b1580156121fe57600080fd5b505afa158015612212573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122369190612dd4565b90612463565b600f54600954919250611b88916001600160a01b0390811691168361262b565b600061226982600261195e565b905060006122778383612463565b9050476122838361267d565b600061228f4783612463565b905061229b83826127fa565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b6122ec8161246f565b6009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561233057600080fd5b505afa158015612344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123689190612dd4565b60095460085491925060009161238b916001600160a01b039081169116846128b4565b90508015611b885760085460405163ba72a95560e01b8152600481018490526001600160a01b039091169063ba72a95590602401600060405180830381600087803b1580156123d957600080fd5b505af19250505080156123ea575060015b61242d5760408051848152602081018490527f6b59b56c6c108c779c4d23141e617147844e0ba79d9230d44ff5e6de86801c5691015b60405180910390a1505050565b60408051848152602081018490527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc39101612420565b6000610c5b828461303a565b604080516003808252608082019092526000916020820160608036833701905050905030816000815181106124b457634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561250857600080fd5b505afa15801561251c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125409190612c04565b8160018151811061256157634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526009548251911690829060029081106125a057634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526006546125c69130911684611a07565b600654604051635c11d79560e01b81526001600160a01b0390911690635c11d795906125ff908590600090869030904290600401612f73565b600060405180830381600087803b15801561261957600080fd5b505af1925050508015611b8857505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611b8890849061299e565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106126c057634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561271457600080fd5b505afa158015612728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061274c9190612c04565b8160018151811061276d57634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526006546127939130911684611a07565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906127cc908590600090869030904290600401612f73565b600060405180830381600087803b1580156127e657600080fd5b505af1158015611f7a573d6000803e3d6000fd5b6006546128129030906001600160a01b031684611a07565b60065460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c4016060604051808303818588803b15801561287b57600080fd5b505af115801561288f573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610baf9190612dec565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b179052915160009283928392918816916129129190612e19565b6000604051808303816000865af19150503d806000811461294f576040519150601f19603f3d011682016040523d82523d6000602084013e612954565b606091505b509150915081801561297e57508051158061297e57508080602001905181019061297e9190612d9c565b801561299457506000866001600160a01b03163b115b9695505050505050565b60006129f3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a709092919063ffffffff16565b805190915015611b885780806020019051810190612a119190612d9c565b611b885760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a63565b6060612a7f8484600085612a87565b949350505050565b606082471015612ae85760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a63565b843b612b365760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a63565b600080866001600160a01b03168587604051612b529190612e19565b60006040518083038185875af1925050503d8060008114612b8f576040519150601f19603f3d011682016040523d82523d6000602084013e612b94565b606091505b5091509150612ba4828286612baf565b979650505050505050565b60608315612bbe575081610c5b565b825115612bce5782518084602001fd5b8160405162461bcd60e51b8152600401610a639190612e83565b600060208284031215612bf9578081fd5b8135610c5b816130e9565b600060208284031215612c15578081fd5b8151610c5b816130e9565b60008060408385031215612c32578081fd5b8235612c3d816130e9565b91506020830135612c4d816130e9565b809150509250929050565b600080600060608486031215612c6c578081fd5b8335612c77816130e9565b92506020840135612c87816130e9565b929592945050506040919091013590565b600080600080600080600080610100898b031215612cb4578384fd5b8851612cbf816130e9565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b60008060408385031215612d13578182fd5b8235612d1e816130e9565b946020939093013593505050565b60008060208385031215612d3e578182fd5b823567ffffffffffffffff80821115612d55578384fd5b818501915085601f830112612d68578384fd5b813581811115612d76578485fd5b8660208260051b8501011115612d8a578485fd5b60209290920196919550909350505050565b600060208284031215612dad578081fd5b81518015158114610c5b578182fd5b600060208284031215612dcd578081fd5b5035919050565b600060208284031215612de5578081fd5b5051919050565b600080600060608486031215612e00578283fd5b8351925060208401519150604084015190509250925092565b60008251612e2b818460208701613051565b9190910192915050565b60208082528181018390526000908460408401835b86811015612e78578235612e5d816130e9565b6001600160a01b031682529183019190830190600101612e4a565b509695505050505050565b6020815260008251806020840152612ea2816040850160208701613051565b601f01601f19169190910160400192915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015612fc25784516001600160a01b031683529383019391830191600101612f9d565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115612ff657612ff66130d3565b500190565b60008261301657634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615613035576130356130d3565b500290565b60008282101561304c5761304c6130d3565b500390565b60005b8381101561306c578181015183820152602001613054565b8381111561211b5750506000910152565b600181811c9082168061309157607f821691505b602082108114156130b257634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156130cc576130cc6130d3565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610e0057600080fdfea2646970667358221220027f5bd0f49557d0cc819066934ed81dc321bb81ee6593c2a85eae2202425d2064736f6c6343000804003300000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000084595161401484a000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000937bf9ff09e0b4be3941898ef454413ef1a316180000000000000000000000006702d0857027ff9dcb6e56f50a0df3fa29c7d3fc00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000152d02c7e14af68000000000000000000000000000004b04213c2774f77e60702880654206b116d00508000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000000000000000000000000000000000000000000f4175726f726120556e697665727365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044155524100000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102e85760003560e01c8063715018a611610190578063b62496f5116100dc578063e708a0f911610095578063f27fd2541161006f578063f27fd2541461091c578063f2fde38b1461093c578063f7c618c11461095c578063ffa1ad741461097c57600080fd5b8063e708a0f9146108d1578063e7841ec0146108e7578063e98030c7146108fc57600080fd5b8063b62496f5146107f0578063bdd4f29f14610820578063c705c56914610835578063dd62ed3e14610855578063e2f456051461089b578063e57f14e1146108b157600080fd5b8063a26579ad11610149578063a9059cbb11610123578063a9059cbb1461072b578063ad56c13c1461074b578063adefd90c146107b0578063afa4f3b2146107d057600080fd5b8063a26579ad146106d6578063a457c2d7146106eb578063a8b9d2401461070b57600080fd5b8063715018a614610642578063871c128d146106575780638da5cb5b1461067757806395d89b411461069557806398118cb4146106aa5780639c1b8af5146106c057600080fd5b8063395093511161024f5780635d098b38116102085780636843cd84116101e25780636843cd84146105b65780636b67c4df146105d6578063700bb191146105ec57806370a082311461060c57600080fd5b80635d098b3814610561578063625e764c1461058157806364b0f653146105a157600080fd5b806339509351146104935780634144d9e4146104b357806349bd5a5e146104d35780634e71d92d146104f35780634ed080c7146105085780634fbee1931461052857600080fd5b806318160ddd116102a157806318160ddd146103ed57806323b872dd146104025780632c1f52161461042257806330bb4cff14610442578063313ce5671461045757806331e79db01461047357600080fd5b806306fdde03146102f4578063095ea7b31461031f5780630c43c79b1461034f5780630dcb2e891461037157806313114a9d146103915780631694505e146103b557600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b50610309610991565b6040516103169190612e83565b60405180910390f35b34801561032b57600080fd5b5061033f61033a366004612d01565b610a23565b6040519015158152602001610316565b34801561035b57600080fd5b5061036f61036a366004612d2c565b610a39565b005b34801561037d57600080fd5b5061036f61038c366004612dbc565b610b2a565b34801561039d57600080fd5b506103a7600e5481565b604051908152602001610316565b3480156103c157600080fd5b506006546103d5906001600160a01b031681565b6040516001600160a01b039091168152602001610316565b3480156103f957600080fd5b506002546103a7565b34801561040e57600080fd5b5061033f61041d366004612c58565b610bb6565b34801561042e57600080fd5b506008546103d5906001600160a01b031681565b34801561044e57600080fd5b506103a7610c62565b34801561046357600080fd5b5060405160128152602001610316565b34801561047f57600080fd5b5061036f61048e366004612be8565b610ce4565b34801561049f57600080fd5b5061033f6104ae366004612d01565b610d40565b3480156104bf57600080fd5b50600f546103d5906001600160a01b031681565b3480156104df57600080fd5b506007546103d5906001600160a01b031681565b3480156104ff57600080fd5b5061036f610d7c565b34801561051457600080fd5b5061036f610523366004612dbc565b610e03565b34801561053457600080fd5b5061033f610543366004612be8565b6001600160a01b031660009081526011602052604090205460ff1690565b34801561056d57600080fd5b5061036f61057c366004612be8565b610e9b565b34801561058d57600080fd5b5061036f61059c366004612dbc565b610fc9565b3480156105ad57600080fd5b506103a761100d565b3480156105c257600080fd5b506103a76105d1366004612be8565b611052565b3480156105e257600080fd5b506103a7600d5481565b3480156105f857600080fd5b5061036f610607366004612dbc565b6110d7565b34801561061857600080fd5b506103a7610627366004612be8565b6001600160a01b031660009081526020819052604090205490565b34801561064e57600080fd5b5061036f6111b9565b34801561066357600080fd5b5061036f610672366004612dbc565b6111ef565b34801561068357600080fd5b506005546001600160a01b03166103d5565b3480156106a157600080fd5b5061030961134c565b3480156106b657600080fd5b506103a7600c5481565b3480156106cc57600080fd5b506103a760105481565b3480156106e257600080fd5b506103a761135b565b3480156106f757600080fd5b5061033f610706366004612d01565b6113a0565b34801561071757600080fd5b506103a7610726366004612be8565b611439565b34801561073757600080fd5b5061033f610746366004612d01565b61146c565b34801561075757600080fd5b5061076b610766366004612be8565b611479565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610316565b3480156107bc57600080fd5b5061036f6107cb366004612dbc565b611523565b3480156107dc57600080fd5b5061036f6107eb366004612dbc565b611567565b3480156107fc57600080fd5b5061033f61080b366004612be8565b60126020526000908152604090205460ff1681565b34801561082c57600080fd5b506103a7611621565b34801561084157600080fd5b5061033f610850366004612be8565b611666565b34801561086157600080fd5b506103a7610870366004612c20565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108a757600080fd5b506103a7600a5481565b3480156108bd57600080fd5b5061036f6108cc366004612be8565b6116e4565b3480156108dd57600080fd5b506103a7600b5481565b3480156108f357600080fd5b506103a76117d2565b34801561090857600080fd5b5061036f610917366004612dbc565b611817565b34801561092857600080fd5b5061076b610937366004612dbc565b611872565b34801561094857600080fd5b5061036f610957366004612be8565b6118b4565b34801561096857600080fd5b506009546103d5906001600160a01b031681565b34801561098857600080fd5b506103a7600681565b6060600380546109a09061307d565b80601f01602080910402602001604051908101604052809291908181526020018280546109cc9061307d565b8015610a195780601f106109ee57610100808354040283529160200191610a19565b820191906000526020600020905b8154815290600101906020018083116109fc57829003601f168201915b5050505050905090565b6000610a30338484611a07565b50600192915050565b6005546001600160a01b03163314610a6c5760405162461bcd60e51b8152600401610a6390612ef9565b60405180910390fd5b60005b81811015610aec57600160116000858585818110610a9d57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610ab29190612be8565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610ae4816130b8565b915050610a6f565b507f6f058e77d614a1061fc197c99cdde12f5fa414c92529bbe8f48b02f8d9f4f95d8282604051610b1e929190612e35565b60405180910390a15050565b6005546001600160a01b03163314610b545760405162461bcd60e51b8152600401610a6390612ef9565b600854604051630dcb2e8960e01b8152600481018390526001600160a01b0390911690630dcb2e89906024015b600060405180830381600087803b158015610b9b57600080fd5b505af1158015610baf573d6000803e3d6000fd5b5050505050565b6000610bc3848484611b2b565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610c485760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610a63565b610c558533858403611a07565b60019150505b9392505050565b600854604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae916004808301926020929190829003018186803b158015610ca757600080fd5b505afa158015610cbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdf9190612dd4565b905090565b6005546001600160a01b03163314610d0e5760405162461bcd60e51b8152600401610a6390612ef9565b60085460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db090602401610b81565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a30918590610d77908690612fe3565b611a07565b60085460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b3790604401602060405180830381600087803b158015610dc857600080fd5b505af1158015610ddc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e009190612d9c565b50565b6005546001600160a01b03163314610e2d5760405162461bcd60e51b8152600401610a6390612ef9565b600b819055600d54600c54610e4e9190610e48908490611952565b90611952565b600e81905560191015610e005760405162461bcd60e51b8152602060048201526015602482015274546f74616c20666565206973206f7665722032352560581b6044820152606401610a63565b6005546001600160a01b03163314610ec55760405162461bcd60e51b8152600401610a6390612ef9565b6001600160a01b038116610f415760405162461bcd60e51b815260206004820152603b60248201527f42414259544f4b454e3a20546865206d61726b6574696e672077616c6c65742060448201527f63616e6e6f74206265207468652076616c7565206f66207a65726f00000000006064820152608401610a63565b6001600160a01b0381163b15610fa75760405162461bcd60e51b815260206004820152602560248201527f4d61726b6574696e672077616c6c65742063616e6e6f74206265206120636f6e6044820152641d1c9858dd60da1b6064820152608401610a63565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610ff35760405162461bcd60e51b8152600401610a6390612ef9565b600d819055600c54600b54610e4e918391610e4891611952565b600854604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde916004808301926020929190829003018186803b158015610ca757600080fd5b6008546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b60206040518083038186803b15801561109957600080fd5b505afa1580156110ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d19190612dd4565b92915050565b6008546040516001624d3b8760e01b0319815260048101839052600091829182916001600160a01b03169063ffb2c47990602401606060405180830381600087803b15801561112557600080fd5b505af1158015611139573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115d9190612dec565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a98906080015b60405180910390a350505050565b6005546001600160a01b031633146111e35760405162461bcd60e51b8152600401610a6390612ef9565b6111ed6000611f82565b565b6005546001600160a01b031633146112195760405162461bcd60e51b8152600401610a6390612ef9565b62030d40811015801561122f57506207a1208111155b6112a15760405162461bcd60e51b815260206004820152603f60248201527f42414259544f4b454e3a20676173466f7250726f63657373696e67206d75737460448201527f206265206265747765656e203230302c30303020616e64203530302c303030006064820152608401610a63565b6010548114156113195760405162461bcd60e51b815260206004820152603760248201527f42414259544f4b454e3a2043616e6e6f742075706461746520676173466f725060448201527f726f63657373696e6720746f2073616d652076616c75650000000000000000006064820152608401610a63565b60105460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601055565b6060600480546109a09061307d565b60085460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec916004808301926020929190829003018186803b158015610ca757600080fd5b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156114225760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a63565b61142f3385858403611a07565b5060019392505050565b6008546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401611081565b6000610a30338484611b2b565b60085460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839291169063fbcbc0f1906024015b6101006040518083038186803b1580156114d057600080fd5b505afa1580156114e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115089190612c98565b97509750975097509750975097509750919395975091939597565b6005546001600160a01b0316331461154d5760405162461bcd60e51b8152600401610a6390612ef9565b600c819055600d54600b54610e4e9190610e489084611952565b6005546001600160a01b031633146115915760405162461bcd60e51b8152600401610a6390612ef9565b620186a061159e60025490565b6115a89190612ffb565b811161161c5760405162461bcd60e51b815260206004820152603d60248201527f42414259544f4b454e3a20416d6f756e74206d7573742062652067726561746560448201527f72207468616e20302e30303125206f6620746f74616c20737570706c790000006064820152608401610a63565b600a55565b60085460408051632f842d8560e21b815290516000926001600160a01b03169163be10b614916004808301926020929190829003018186803b158015610ca757600080fd5b60085460405163c705c56960e01b81526001600160a01b038381166004830152600092169063c705c5699060240160206040518083038186803b1580156116ac57600080fd5b505afa1580156116c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d19190612d9c565b6005546001600160a01b0316331461170e5760405162461bcd60e51b8152600401610a6390612ef9565b6001600160a01b03811660009081526011602052604090205460ff16156117865760405162461bcd60e51b815260206004820152602660248201527f42414259544f4b454e3a204163636f756e7420697320616c726561647920657860448201526518db1d59195960d21b6064820152608401610a63565b6001600160a01b038116600081815260116020526040808220805460ff19166001179055517f57a00f76b5f242fb1e04b0b514a6974665a5b07bce45e39f36dabff4a042d9369190a250565b6008546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec0916004808301926020929190829003018186803b158015610ca757600080fd5b6005546001600160a01b031633146118415760405162461bcd60e51b8152600401610a6390612ef9565b60085460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c790602401610b81565b600854604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd906024016114b7565b6005546001600160a01b031633146118de5760405162461bcd60e51b8152600401610a6390612ef9565b6001600160a01b0381166119435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a63565b610e0081611f82565b3b151590565b6000610c5b8284612fe3565b6000610c5b8284612ffb565b6000604051733d602d80600a3d3981f3363d3d373d3d3d363d7360601b81528260601b60148201526e5af43d82803e903d91602b57fd5bf360881b60288201526037816000f09150506001600160a01b038116611a025760405162461bcd60e51b8152602060048201526016602482015275115490cc4c4d8dce8818dc99585d194819985a5b195960521b6044820152606401610a63565b919050565b6001600160a01b038316611a695760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a63565b6001600160a01b038216611aca5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a63565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611b515760405162461bcd60e51b8152600401610a6390612f2e565b6001600160a01b038216611b775760405162461bcd60e51b8152600401610a6390612eb6565b80611b8d57611b8883836000611fd4565b505050565b30600090815260208190526040902054600a5481108015908190611bbb5750600754600160a01b900460ff16155b8015611be057506001600160a01b03851660009081526012602052604090205460ff16155b8015611bfa57506005546001600160a01b03868116911614155b8015611c1457506005546001600160a01b03858116911614155b8015611c2257506000600e54115b15611cd2576007805460ff60a01b1916600160a01b179055600d5415611c72576000611c65600e54611c5f600d548661212190919063ffffffff16565b9061195e565b9050611c708161212d565b505b600c5415611ca4576000611c97600e54611c5f600c548661212190919063ffffffff16565b9050611ca28161225c565b505b306000908152602081905260409020548015611cc357611cc3816122e3565b506007805460ff60a01b191690555b6007546001600160a01b03861660009081526011602052604090205460ff600160a01b909204821615911680611d2057506001600160a01b03851660009081526011602052604090205460ff165b15611d29575060005b808015611d3857506000600e54115b15611d74576000611d596064611c5f600e548861212190919063ffffffff16565b9050611d658582612463565b9450611d72873083611fd4565b505b611d7f868686611fd4565b6008546001600160a01b031663e30443bc87611db0816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015611df657600080fd5b505af1925050508015611e07575060015b506008546001600160a01b031663e30443bc86611e39816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015611e7f57600080fd5b505af1925050508015611e90575060015b50600754600160a01b900460ff16611f7a576010546008546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c47990602401606060405180830381600087803b158015611eee57600080fd5b505af1925050508015611f1e575060408051601f3d908101601f19168201909252611f1b91810190612dec565b60015b611f2757611f78565b60408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611ffa5760405162461bcd60e51b8152600401610a6390612f2e565b6001600160a01b0382166120205760405162461bcd60e51b8152600401610a6390612eb6565b6001600160a01b038316600090815260208190526040902054818110156120985760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a63565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906120cf908490612fe3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516111ab91815260200190565b50505050565b6000610c5b828461301b565b6009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561217157600080fd5b505afa158015612185573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a99190612dd4565b90506121b48261246f565b6009546040516370a0823160e01b815230600482015260009161223c9184916001600160a01b0316906370a082319060240160206040518083038186803b1580156121fe57600080fd5b505afa158015612212573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122369190612dd4565b90612463565b600f54600954919250611b88916001600160a01b0390811691168361262b565b600061226982600261195e565b905060006122778383612463565b9050476122838361267d565b600061228f4783612463565b905061229b83826127fa565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b6122ec8161246f565b6009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561233057600080fd5b505afa158015612344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123689190612dd4565b60095460085491925060009161238b916001600160a01b039081169116846128b4565b90508015611b885760085460405163ba72a95560e01b8152600481018490526001600160a01b039091169063ba72a95590602401600060405180830381600087803b1580156123d957600080fd5b505af19250505080156123ea575060015b61242d5760408051848152602081018490527f6b59b56c6c108c779c4d23141e617147844e0ba79d9230d44ff5e6de86801c5691015b60405180910390a1505050565b60408051848152602081018490527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc39101612420565b6000610c5b828461303a565b604080516003808252608082019092526000916020820160608036833701905050905030816000815181106124b457634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561250857600080fd5b505afa15801561251c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125409190612c04565b8160018151811061256157634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526009548251911690829060029081106125a057634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526006546125c69130911684611a07565b600654604051635c11d79560e01b81526001600160a01b0390911690635c11d795906125ff908590600090869030904290600401612f73565b600060405180830381600087803b15801561261957600080fd5b505af1925050508015611b8857505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611b8890849061299e565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106126c057634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561271457600080fd5b505afa158015612728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061274c9190612c04565b8160018151811061276d57634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526006546127939130911684611a07565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906127cc908590600090869030904290600401612f73565b600060405180830381600087803b1580156127e657600080fd5b505af1158015611f7a573d6000803e3d6000fd5b6006546128129030906001600160a01b031684611a07565b60065460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c4016060604051808303818588803b15801561287b57600080fd5b505af115801561288f573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610baf9190612dec565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b179052915160009283928392918816916129129190612e19565b6000604051808303816000865af19150503d806000811461294f576040519150601f19603f3d011682016040523d82523d6000602084013e612954565b606091505b509150915081801561297e57508051158061297e57508080602001905181019061297e9190612d9c565b801561299457506000866001600160a01b03163b115b9695505050505050565b60006129f3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a709092919063ffffffff16565b805190915015611b885780806020019051810190612a119190612d9c565b611b885760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a63565b6060612a7f8484600085612a87565b949350505050565b606082471015612ae85760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a63565b843b612b365760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a63565b600080866001600160a01b03168587604051612b529190612e19565b60006040518083038185875af1925050503d8060008114612b8f576040519150601f19603f3d011682016040523d82523d6000602084013e612b94565b606091505b5091509150612ba4828286612baf565b979650505050505050565b60608315612bbe575081610c5b565b825115612bce5782518084602001fd5b8160405162461bcd60e51b8152600401610a639190612e83565b600060208284031215612bf9578081fd5b8135610c5b816130e9565b600060208284031215612c15578081fd5b8151610c5b816130e9565b60008060408385031215612c32578081fd5b8235612c3d816130e9565b91506020830135612c4d816130e9565b809150509250929050565b600080600060608486031215612c6c578081fd5b8335612c77816130e9565b92506020840135612c87816130e9565b929592945050506040919091013590565b600080600080600080600080610100898b031215612cb4578384fd5b8851612cbf816130e9565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b60008060408385031215612d13578182fd5b8235612d1e816130e9565b946020939093013593505050565b60008060208385031215612d3e578182fd5b823567ffffffffffffffff80821115612d55578384fd5b818501915085601f830112612d68578384fd5b813581811115612d76578485fd5b8660208260051b8501011115612d8a578485fd5b60209290920196919550909350505050565b600060208284031215612dad578081fd5b81518015158114610c5b578182fd5b600060208284031215612dcd578081fd5b5035919050565b600060208284031215612de5578081fd5b5051919050565b600080600060608486031215612e00578283fd5b8351925060208401519150604084015190509250925092565b60008251612e2b818460208701613051565b9190910192915050565b60208082528181018390526000908460408401835b86811015612e78578235612e5d816130e9565b6001600160a01b031682529183019190830190600101612e4a565b509695505050505050565b6020815260008251806020840152612ea2816040850160208701613051565b601f01601f19169190910160400192915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015612fc25784516001600160a01b031683529383019391830191600101612f9d565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115612ff657612ff66130d3565b500190565b60008261301657634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615613035576130356130d3565b500290565b60008282101561304c5761304c6130d3565b500390565b60005b8381101561306c578181015183820152602001613054565b8381111561211b5750506000910152565b600181811c9082168061309157607f821691505b602082108114156130b257634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156130cc576130cc6130d3565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610e0057600080fdfea2646970667358221220027f5bd0f49557d0cc819066934ed81dc321bb81ee6593c2a85eae2202425d2064736f6c63430008040033

Deployed Bytecode Sourcemap

99302:17184:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6747:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8914:169;;;;;;;;;;-1:-1:-1;8914:169:0;;;;;:::i;:::-;;:::i;:::-;;;7961:14:1;;7954:22;7936:41;;7924:2;7909:18;8914:169:0;7891:92:1;104590:294:0;;;;;;;;;;-1:-1:-1;104590:294:0;;;;;:::i;:::-;;:::i;:::-;;107169:178;;;;;;;;;;-1:-1:-1;107169:178:0;;;;;:::i;:::-;;:::i;99894:24::-;;;;;;;;;;;;;;;;;;;17010:25:1;;;16998:2;16983:18;99894:24:0;16965:76:1;99541:41:0;;;;;;;;;;-1:-1:-1;99541:41:0;;;;-1:-1:-1;;;;;99541:41:0;;;;;;-1:-1:-1;;;;;4842:32:1;;;4824:51;;4812:2;4797:18;99541:41:0;4779:102:1;7867:108:0;;;;;;;;;;-1:-1:-1;7955:12:0;;7867:108;;9565:492;;;;;;;;;;-1:-1:-1;9565:492:0;;;;;:::i;:::-;;:::i;99656:47::-;;;;;;;;;;-1:-1:-1;99656:47:0;;;;-1:-1:-1;;;;;99656:47:0;;;107548:141;;;;;;;;;;;;;:::i;7709:93::-;;;;;;;;;;-1:-1:-1;7709:93:0;;7792:2;19149:36:1;;19137:2;19122:18;7709:93:0;19104:87:1;108170:130:0;;;;;;;;;;-1:-1:-1;108170:130:0;;;;;:::i;:::-;;:::i;10466:215::-;;;;;;;;;;-1:-1:-1;10466:215:0;;;;;:::i;:::-;;:::i;99927:38::-;;;;;;;;;;-1:-1:-1;99927:38:0;;;;-1:-1:-1;;;;;99927:38:0;;;99589:28;;;;;;;;;;-1:-1:-1;99589:28:0;;;;-1:-1:-1;;;;;99589:28:0;;;109661:103;;;;;;;;;;;;;:::i;105243:238::-;;;;;;;;;;-1:-1:-1;105243:238:0;;;;;:::i;:::-;;:::i;107697:126::-;;;;;;;;;;-1:-1:-1;107697:126:0;;;;;:::i;:::-;-1:-1:-1;;;;;107787:28:0;107763:4;107787:28;;;:19;:28;;;;;;;;;107697:126;104892:343;;;;;;;;;;-1:-1:-1;104892:343:0;;;;;:::i;:::-;;:::i;105728:232::-;;;;;;;;;;-1:-1:-1;105728:232:0;;;;;:::i;:::-;;:::i;109910:142::-;;;;;;;;;;;;;:::i;108007:155::-;;;;;;;;;;-1:-1:-1;108007:155:0;;;;;:::i;:::-;;:::i;99860:27::-;;;;;;;;;;;;;;;;109243:410;;;;;;;;;;-1:-1:-1;109243:410:0;;;;;:::i;:::-;;:::i;8038:127::-;;;;;;;;;;-1:-1:-1;8038:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;8139:18:0;8112:7;8139:18;;;;;;;;;;;;8038:127;30592:94;;;;;;;;;;;;;:::i;106424:488::-;;;;;;;;;;-1:-1:-1;106424:488:0;;;;;:::i;:::-;;:::i;29941:87::-;;;;;;;;;;-1:-1:-1;30014:6:0;;-1:-1:-1;;;;;30014:6:0;29941:87;;6966:104;;;;;;;;;;;;;:::i;99826:27::-;;;;;;;;;;;;;;;;99974:31;;;;;;;;;;;;;;;;107052:109;;;;;;;;;;;;;:::i;11184:413::-;;;;;;;;;;-1:-1:-1;11184:413:0;;;;;:::i;:::-;;:::i;107831:168::-;;;;;;;;;;-1:-1:-1;107831:168:0;;;;;:::i;:::-;;:::i;8378:175::-;;;;;;;;;;-1:-1:-1;8378:175:0;;;;;:::i;:::-;;:::i;108483:367::-;;;;;;;;;;-1:-1:-1;108483:367:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;5843:32:1;;;5825:51;;5907:2;5892:18;;5885:34;;;;5935:18;;;5928:34;;;;5993:2;5978:18;;5971:34;;;;6036:3;6021:19;;6014:35;5863:3;6065:19;;6058:35;6124:3;6109:19;;6102:35;6168:3;6153:19;;6146:35;5812:3;5797:19;108483:367:0;5779:408:1;105489:231:0;;;;;;;;;;-1:-1:-1;105489:231:0;;;;;:::i;:::-;;:::i;104023:266::-;;;;;;;;;;-1:-1:-1;104023:266:0;;;;;:::i;:::-;;:::i;100277:57::-;;;;;;;;;;-1:-1:-1;100277:57:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;107355:185;;;;;;;;;;;;;:::i;108308:167::-;;;;;;;;;;-1:-1:-1;108308:167:0;;;;;:::i;:::-;;:::i;8616:151::-;;;;;;;;;;-1:-1:-1;8616:151:0;;;;;:::i;:::-;-1:-1:-1;;;;;8732:18:0;;;8705:7;8732:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8616:151;99747:33;;;;;;;;;;;;;;;;104297:285;;;;;;;;;;-1:-1:-1;104297:285:0;;;;;:::i;:::-;;:::i;99789:30::-;;;;;;;;;;;;;;;;109772:130;;;;;;;;;;;;;:::i;106920:124::-;;;;;;;;;;-1:-1:-1;106920:124:0;;;;;:::i;:::-;;:::i;108858:377::-;;;;;;;;;;-1:-1:-1;108858:377:0;;;;;:::i;:::-;;:::i;30841:192::-;;;;;;;;;;-1:-1:-1;30841:192:0;;;;;:::i;:::-;;:::i;99712:26::-;;;;;;;;;;-1:-1:-1;99712:26:0;;;;-1:-1:-1;;;;;99712:26:0;;;99497:35;;;;;;;;;;;;99531:1;99497:35;;6747:100;6801:13;6834:5;6827:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6747:100;:::o;8914:169::-;8997:4;9014:39;4333:10;9037:7;9046:6;9014:8;:39::i;:::-;-1:-1:-1;9071:4:0;8914:169;;;;:::o;104590:294::-;30014:6;;-1:-1:-1;;;;;30014:6:0;4333:10;30161:23;30153:68;;;;-1:-1:-1;;;30153:68:0;;;;;;;:::i;:::-;;;;;;;;;104711:9:::1;104706:112;104726:19:::0;;::::1;104706:112;;;104802:4;104767:19;:32;104787:8;;104796:1;104787:11;;;;;-1:-1:-1::0;;;104787:11:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;104767:32:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;104767:32:0;:39;;-1:-1:-1;;104767:39:0::1;::::0;::::1;;::::0;;;::::1;::::0;;104747:3;::::1;::::0;::::1;:::i;:::-;;;;104706:112;;;;104835:41;104867:8;;104835:41;;;;;;;:::i;:::-;;;;;;;;104590:294:::0;;:::o;107169:178::-;30014:6;;-1:-1:-1;;;;;30014:6:0;4333:10;30161:23;30153:68;;;;-1:-1:-1;;;30153:68:0;;;;;;;:::i;:::-;107278:15:::1;::::0;:61:::1;::::0;-1:-1:-1;;;107278:61:0;;::::1;::::0;::::1;17010:25:1::0;;;-1:-1:-1;;;;;107278:15:0;;::::1;::::0;:53:::1;::::0;16983:18:1;;107278:61:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;107169:178:::0;:::o;9565:492::-;9705:4;9722:36;9732:6;9740:9;9751:6;9722:9;:36::i;:::-;-1:-1:-1;;;;;9798:19:0;;9771:24;9798:19;;;:11;:19;;;;;;;;4333:10;9798:33;;;;;;;;9850:26;;;;9842:79;;;;-1:-1:-1;;;9842:79:0;;13458:2:1;9842:79:0;;;13440:21:1;13497:2;13477:18;;;13470:30;13536:34;13516:18;;;13509:62;-1:-1:-1;;;13587:18:1;;;13580:38;13635:19;;9842:79:0;13430:230:1;9842:79:0;9957:57;9966:6;4333:10;10007:6;9988:16;:25;9957:8;:57::i;:::-;10045:4;10038:11;;;9565:492;;;;;;:::o;107548:141::-;107638:15;;:43;;;-1:-1:-1;;;107638:43:0;;;;107611:7;;-1:-1:-1;;;;;107638:15:0;;:41;;:43;;;;;;;;;;;;;;:15;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;107631:50;;107548:141;:::o;108170:130::-;30014:6;;-1:-1:-1;;;;;30014:6:0;4333:10;30161:23;30153:68;;;;-1:-1:-1;;;30153:68:0;;;;;;;:::i;:::-;108247:15:::1;::::0;:45:::1;::::0;-1:-1:-1;;;108247:45:0;;-1:-1:-1;;;;;4842:32:1;;;108247:45:0::1;::::0;::::1;4824:51:1::0;108247:15:0;;::::1;::::0;:36:::1;::::0;4797:18:1;;108247:45:0::1;4779:102:1::0;10466:215:0;4333:10;10554:4;10603:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;10603:34:0;;;;;;;;;;10554:4;;10571:80;;10594:7;;10603:47;;10640:10;;10603:47;:::i;:::-;10571:8;:80::i;109661:103::-;109698:15;;:58;;-1:-1:-1;;;109698:58:0;;109737:10;109698:58;;;5070:51:1;109698:15:0;5137:18:1;;;5130:50;-1:-1:-1;;;;;109698:15:0;;;;:30;;5043:18:1;;109698:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;109661:103::o;105243:238::-;30014:6;;-1:-1:-1;;;;;30014:6:0;4333:10;30161:23;30153:68;;;;-1:-1:-1;;;30153:68:0;;;;;;;:::i;:::-;105316:15:::1;:23:::0;;;105400:12:::1;::::0;105382::::1;::::0;105362:51:::1;::::0;105400:12;105362:33:::1;::::0;105334:5;;105362:19:::1;:33::i;:::-;:37:::0;::::1;:51::i;:::-;105350:9;:63:::0;;;105445:2:::1;-1:-1:-1::0;105432:15:0::1;105424:49;;;::::0;-1:-1:-1;;;105424:49:0;;12327:2:1;105424:49:0::1;::::0;::::1;12309:21:1::0;12366:2;12346:18;;;12339:30;-1:-1:-1;;;12385:18:1;;;12378:51;12446:18;;105424:49:0::1;12299:171:1::0;104892:343:0;30014:6;;-1:-1:-1;;;;;30014:6:0;4333:10;30161:23;30153:68;;;;-1:-1:-1;;;30153:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;104996:20:0;::::1;104974:129;;;::::0;-1:-1:-1;;;104974:129:0;;14228:2:1;104974:129:0::1;::::0;::::1;14210:21:1::0;14267:2;14247:18;;;14240:30;14306:34;14286:18;;;14279:62;14377:29;14357:18;;;14350:57;14424:19;;104974:129:0::1;14200:249:1::0;104974:129:0::1;-1:-1:-1::0;;;;;105123:17:0;::::1;17811:20:::0;17859:8;105114:70:::1;;;::::0;-1:-1:-1;;;105114:70:0;;10700:2:1;105114:70:0::1;::::0;::::1;10682:21:1::0;10739:2;10719:18;;;10712:30;10778:34;10758:18;;;10751:62;-1:-1:-1;;;10829:18:1;;;10822:35;10874:19;;105114:70:0::1;10672:227:1::0;105114:70:0::1;105195:23;:32:::0;;-1:-1:-1;;;;;;105195:32:0::1;-1:-1:-1::0;;;;;105195:32:0;;;::::1;::::0;;;::::1;::::0;;104892:343::o;105728:232::-;30014:6;;-1:-1:-1;;;;;30014:6:0;4333:10;30161:23;30153:68;;;;-1:-1:-1;;;30153:68:0;;;;;;;:::i;:::-;105798:12:::1;:20:::0;;;105861:12:::1;::::0;105841:15:::1;::::0;:51:::1;::::0;105813:5;;105841:33:::1;::::0;:19:::1;:33::i;109910:142::-:0;110003:15;;:41;;;-1:-1:-1;;;110003:41:0;;;;109976:7;;-1:-1:-1;;;;;110003:15:0;;:39;;:41;;;;;;;;;;;;;;:15;:41;;;;;;;;;;108007:155;108120:15;;:34;;-1:-1:-1;;;108120:34:0;;-1:-1:-1;;;;;4842:32:1;;;108120:34:0;;;4824:51:1;108093:7:0;;108120:15;;:25;;4797:18:1;;108120:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;108113:41;108007:155;-1:-1:-1;;108007:155:0:o;109243:410::-;109425:15;;:28;;-1:-1:-1;;;;;;109425:28:0;;;;;17010:25:1;;;109323:18:0;;;;;;-1:-1:-1;;;;;109425:15:0;;:23;;16983:18:1;;109425:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;109469:176;;;18842:25:1;;;18898:2;18883:18;;18876:34;;;18926:18;;;18919:34;;;18984:2;18969:18;;18962:34;;;109308:145:0;;-1:-1:-1;109308:145:0;;-1:-1:-1;109308:145:0;-1:-1:-1;109625:9:0;;109587:5;;109469:176;;18829:3:1;18814:19;109469:176:0;;;;;;;;109243:410;;;;:::o;30592:94::-;30014:6;;-1:-1:-1;;;;;30014:6:0;4333:10;30161:23;30153:68;;;;-1:-1:-1;;;30153:68:0;;;;;;;:::i;:::-;30657:21:::1;30675:1;30657:9;:21::i;:::-;30592:94::o:0;106424:488::-;30014:6;;-1:-1:-1;;;;;30014:6:0;4333:10;30161:23;30153:68;;;;-1:-1:-1;;;30153:68:0;;;;;;;:::i;:::-;106536:6:::1;106524:8;:18;;:40;;;;;106558:6;106546:8;:18;;106524:40;106502:153;;;::::0;-1:-1:-1;;;106502:153:0;;9458:2:1;106502:153:0::1;::::0;::::1;9440:21:1::0;9497:2;9477:18;;;9470:30;9536:34;9516:18;;;9509:62;9607:33;9587:18;;;9580:61;9658:19;;106502:153:0::1;9430:253:1::0;106502:153:0::1;106700:16;;106688:8;:28;;106666:133;;;::::0;-1:-1:-1;;;106666:133:0;;16236:2:1;106666:133:0::1;::::0;::::1;16218:21:1::0;16275:2;16255:18;;;16248:30;16314:34;16294:18;;;16287:62;16385:25;16365:18;;;16358:53;16428:19;;106666:133:0::1;16208:245:1::0;106666:133:0::1;106849:16;::::0;106815:51:::1;::::0;106839:8;;106815:51:::1;::::0;;;::::1;106877:16;:27:::0;106424:488::o;6966:104::-;7022:13;7055:7;7048:14;;;;;:::i;107052:109::-;107126:15;;:27;;;-1:-1:-1;;;107126:27:0;;;;107099:7;;-1:-1:-1;;;;;107126:15:0;;:25;;:27;;;;;;;;;;;;;;:15;:27;;;;;;;;;;11184:413;4333:10;11277:4;11321:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;11321:34:0;;;;;;;;;;11374:35;;;;11366:85;;;;-1:-1:-1;;;11366:85:0;;16660:2:1;11366:85:0;;;16642:21:1;16699:2;16679:18;;;16672:30;16738:34;16718:18;;;16711:62;-1:-1:-1;;;16789:18:1;;;16782:35;16834:19;;11366:85:0;16632:227:1;11366:85:0;11487:67;4333:10;11510:7;11538:15;11519:16;:34;11487:8;:67::i;:::-;-1:-1:-1;11585:4:0;;11184:413;-1:-1:-1;;;11184:413:0:o;107831:168::-;107944:15;;:47;;-1:-1:-1;;;107944:47:0;;-1:-1:-1;;;;;4842:32:1;;;107944:47:0;;;4824:51:1;107917:7:0;;107944:15;;:38;;4797:18:1;;107944:47:0;4779:102:1;8378:175:0;8464:4;8481:42;4333:10;8505:9;8516:6;8481:9;:42::i;108483:367::-;108807:15;;:35;;-1:-1:-1;;;108807:35:0;;-1:-1:-1;;;;;4842:32:1;;;108807:35:0;;;4824:51:1;108613:7:0;;;;;;;;;;;;;;;;108807:15;;;:26;;4797:18:1;;108807:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;108800:42;;;;;;;;;;;;;;;;108483:367;;;;;;;;;:::o;105489:231::-;30014:6;;-1:-1:-1;;;;;30014:6:0;4333:10;30161:23;30153:68;;;;-1:-1:-1;;;30153:68:0;;;;;;;:::i;:::-;105558:12:::1;:20:::0;;;105639:12:::1;::::0;105601:15:::1;::::0;:51:::1;::::0;105639:12;105601:33:::1;::::0;105573:5;105601:19:::1;:33::i;104023:266::-:0;30014:6;;-1:-1:-1;;;;;30014:6:0;4333:10;30161:23;30153:68;;;;-1:-1:-1;;;30153:68:0;;;;;;;:::i;:::-;104147:7:::1;104131:13;7955:12:::0;;;7867:108;104131:13:::1;:23;;;;:::i;:::-;104122:6;:32;104100:143;;;::::0;-1:-1:-1;;;104100:143:0;;12677:2:1;104100:143:0::1;::::0;::::1;12659:21:1::0;12716:2;12696:18;;;12689:30;12755:34;12735:18;;;12728:62;12826:31;12806:18;;;12799:59;12875:19;;104100:143:0::1;12649:251:1::0;104100:143:0::1;104254:18;:27:::0;104023:266::o;107355:185::-;107483:15;;:49;;;-1:-1:-1;;;107483:49:0;;;;107451:7;;-1:-1:-1;;;;;107483:15:0;;:47;;:49;;;;;;;;;;;;;;:15;:49;;;;;;;;;;108308:167;108419:15;;:48;;-1:-1:-1;;;108419:48:0;;-1:-1:-1;;;;;4842:32:1;;;108419:48:0;;;4824:51:1;108395:4:0;;108419:15;;:39;;4797:18:1;;108419:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;104297:285::-;30014:6;;-1:-1:-1;;;;;30014:6:0;4333:10;30161:23;30153:68;;;;-1:-1:-1;;;30153:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;104392:28:0;::::1;;::::0;;;:19:::1;:28;::::0;;;;;::::1;;104391:29;104369:117;;;::::0;-1:-1:-1;;;104369:117:0;;11513:2:1;104369:117:0::1;::::0;::::1;11495:21:1::0;11552:2;11532:18;;;11525:30;11591:34;11571:18;;;11564:62;-1:-1:-1;;;11642:18:1;;;11635:36;11688:19;;104369:117:0::1;11485:228:1::0;104369:117:0::1;-1:-1:-1::0;;;;;104497:28:0;::::1;;::::0;;;:19:::1;:28;::::0;;;;;:35;;-1:-1:-1;;104497:35:0::1;104528:4;104497:35;::::0;;104550:24;::::1;::::0;104497:28;104550:24:::1;104297:285:::0;:::o;109772:130::-;109855:15;;:39;;;-1:-1:-1;;;109855:39:0;;;;109828:7;;-1:-1:-1;;;;;109855:15:0;;:37;;:39;;;;;;;;;;;;;;:15;:39;;;;;;;;;;106920:124;30014:6;;-1:-1:-1;;;;;30014:6:0;4333:10;30161:23;30153:68;;;;-1:-1:-1;;;30153:68:0;;;;;;;:::i;:::-;106994:15:::1;::::0;:42:::1;::::0;-1:-1:-1;;;106994:42:0;;::::1;::::0;::::1;17010:25:1::0;;;-1:-1:-1;;;;;106994:15:0;;::::1;::::0;:31:::1;::::0;16983:18:1;;106994:42:0::1;16965:76:1::0;108858:377:0;109187:15;;:40;;-1:-1:-1;;;109187:40:0;;;;;17010:25:1;;;108993:7:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;109187:15:0;;;;:33;;16983:18:1;;109187:40:0;16965:76:1;30841:192:0;30014:6;;-1:-1:-1;;;;;30014:6:0;4333:10;30161:23;30153:68;;;;-1:-1:-1;;;30153:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;30930:22:0;::::1;30922:73;;;::::0;-1:-1:-1;;;30922:73:0;;9890:2:1;30922:73:0::1;::::0;::::1;9872:21:1::0;9929:2;9909:18;;;9902:30;9968:34;9948:18;;;9941:62;-1:-1:-1;;;10019:18:1;;;10012:36;10065:19;;30922:73:0::1;9862:228:1::0;30922:73:0::1;31006:19;31016:8;31006:9;:19::i;17488:387::-:0;17811:20;17859:8;;;17488:387::o;34027:98::-;34085:7;34112:5;34116:1;34112;:5;:::i;35164:98::-;35222:7;35249:5;35253:1;35249;:5;:::i;39157:524::-;39214:16;39284:4;39278:11;-1:-1:-1;;;39310:3:0;39303:79;39429:14;39423:4;39419:25;39412:4;39407:3;39403:14;39396:49;-1:-1:-1;;;39475:4:0;39470:3;39466:14;39459:90;39590:4;39585:3;39582:1;39575:20;39563:32;-1:-1:-1;;;;;;;39624:22:0;;39616:57;;;;-1:-1:-1;;;39616:57:0;;13107:2:1;39616:57:0;;;13089:21:1;13146:2;13126:18;;;13119:30;-1:-1:-1;;;13165:18:1;;;13158:52;13227:18;;39616:57:0;13079:172:1;39616:57:0;39157:524;;;:::o;14868:380::-;-1:-1:-1;;;;;15004:19:0;;14996:68;;;;-1:-1:-1;;;14996:68:0;;15062:2:1;14996:68:0;;;15044:21:1;15101:2;15081:18;;;15074:30;15140:34;15120:18;;;15113:62;-1:-1:-1;;;15191:18:1;;;15184:34;15235:19;;14996:68:0;15034:226:1;14996:68:0;-1:-1:-1;;;;;15083:21:0;;15075:68;;;;-1:-1:-1;;;15075:68:0;;10297:2:1;15075:68:0;;;10279:21:1;10336:2;10316:18;;;10309:30;10375:34;10355:18;;;10348:62;-1:-1:-1;;;10426:18:1;;;10419:32;10468:19;;15075:68:0;10269:224:1;15075:68:0;-1:-1:-1;;;;;15156:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15208:32;;17010:25:1;;;15208:32:0;;16983:18:1;15208:32:0;;;;;;;14868:380;;;:::o;110060:2685::-;-1:-1:-1;;;;;110192:18:0;;110184:68;;;;-1:-1:-1;;;110184:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;110271:16:0;;110263:64;;;;-1:-1:-1;;;110263:64:0;;;;;;;:::i;:::-;110344:11;110340:93;;110372:28;110388:4;110394:2;110398:1;110372:15;:28::i;:::-;110060:2685;;;:::o;110340:93::-;110494:4;110445:28;8139:18;;;;;;;;;;;110552;;110528:42;;;;;;;110601:33;;-1:-1:-1;110626:8:0;;-1:-1:-1;;;110626:8:0;;;;110625:9;110601:33;:82;;;;-1:-1:-1;;;;;;110652:31:0;;;;;;:25;:31;;;;;;;;110651:32;110601:82;:114;;;;-1:-1:-1;30014:6:0;;-1:-1:-1;;;;;110700:15:0;;;30014:6;;110700:15;;110601:114;:144;;;;-1:-1:-1;30014:6:0;;-1:-1:-1;;;;;110732:13:0;;;30014:6;;110732:13;;110601:144;:174;;;;;110774:1;110762:9;;:13;110601:174;110583:922;;;110802:8;:15;;-1:-1:-1;;;;110802:15:0;-1:-1:-1;;;110802:15:0;;;110838:12;;:16;110834:232;;110875:23;110901:97;110988:9;;110901:60;110948:12;;110901:20;:46;;:60;;;;:::i;:::-;:86;;:97::i;:::-;110875:123;;111017:33;111034:15;111017:16;:33::i;:::-;110834:232;;111086:12;;:16;111082:216;;111123:18;111144:93;111209:9;;111144:38;111169:12;;111144:20;:24;;:38;;;;:::i;:93::-;111123:114;;111256:26;111271:10;111256:14;:26::i;:::-;111082:216;;111353:4;111314:18;8139;;;;;;;;;;;111378:14;;111374:87;;111413:32;111434:10;111413:20;:32::i;:::-;-1:-1:-1;111477:8:0;:16;;-1:-1:-1;;;;111477:16:0;;;110583:922;111533:8;;-1:-1:-1;;;;;111643:25:0;;111517:12;111643:25;;;:19;:25;;;;;;111533:8;-1:-1:-1;;;111533:8:0;;;;;111532:9;;111643:25;;:52;;-1:-1:-1;;;;;;111672:23:0;;;;;;:19;:23;;;;;;;;111643:52;111639:100;;;-1:-1:-1;111722:5:0;111639:100;111755:7;:24;;;;;111778:1;111766:9;;:13;111755:24;111751:201;;;111796:12;111811:30;111837:3;111811:21;111822:9;;111811:6;:10;;:21;;;;:::i;:30::-;111796:45;-1:-1:-1;111865:16:0;:6;111796:45;111865:10;:16::i;:::-;111856:25;;111898:42;111914:4;111928;111935;111898:15;:42::i;:::-;111751:201;;111964:33;111980:4;111986:2;111990:6;111964:15;:33::i;:::-;112027:15;;-1:-1:-1;;;;;112027:15:0;:26;112062:4;112069:15;112062:4;-1:-1:-1;;;;;8139:18:0;8112:7;8139:18;;;;;;;;;;;;8038:127;112069:15;112027:58;;-1:-1:-1;;;;;;112027:58:0;;;;;;;-1:-1:-1;;;;;5399:32:1;;;112027:58:0;;;5381:51:1;5448:18;;;5441:34;5354:18;;112027:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;112010:96;112120:15;;-1:-1:-1;;;;;112120:15:0;:26;112155:2;112160:13;112155:2;-1:-1:-1;;;;;8139:18:0;8112:7;8139:18;;;;;;;;;;;;8038:127;112160:13;112120:54;;-1:-1:-1;;;;;;112120:54:0;;;;;;;-1:-1:-1;;;;;5399:32:1;;;112120:54:0;;;5381:51:1;5448:18;;;5441:34;5354:18;;112120:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;112116:70;112203:8;;-1:-1:-1;;;112203:8:0;;;;112198:540;;112242:16;;112279:15;;:28;;-1:-1:-1;;;;;;112279:28:0;;;;;17010:25:1;;;-1:-1:-1;;;;;112279:15:0;;;;:23;;16983:18:1;;112279:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;112279:28:0;;;;;;;;-1:-1:-1;;112279:28:0;;;;;;;;;;;;:::i;:::-;;;112275:452;;;;;112471:231;;;18842:25:1;;;18898:2;18883:18;;18876:34;;;18926:18;;;18919:34;;;18984:2;18969:18;;18962:34;;;112674:9:0;;112621:4;;112471:231;;18829:3:1;18814:19;112471:231:0;;;;;;;112308:410;;;112275:452;112198:540;;110060:2685;;;;;;:::o;31041:173::-;31116:6;;;-1:-1:-1;;;;;31133:17:0;;;-1:-1:-1;;;;;;31133:17:0;;;;;;;31166:40;;31116:6;;;31133:17;31116:6;;31166:40;;31097:16;;31166:40;31041:173;;:::o;12087:733::-;-1:-1:-1;;;;;12227:20:0;;12219:70;;;;-1:-1:-1;;;12219:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;12308:23:0;;12300:71;;;;-1:-1:-1;;;12300:71:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;12468:17:0;;12444:21;12468:17;;;;;;;;;;;12504:23;;;;12496:74;;;;-1:-1:-1;;;12496:74:0;;11106:2:1;12496:74:0;;;11088:21:1;11145:2;11125:18;;;11118:30;11184:34;11164:18;;;11157:62;-1:-1:-1;;;11235:18:1;;;11228:36;11281:19;;12496:74:0;11078:228:1;12496:74:0;-1:-1:-1;;;;;12606:17:0;;;:9;:17;;;;;;;;;;;12626:22;;;12606:42;;12670:20;;;;;;;;:30;;12642:6;;12606:9;12670:30;;12642:6;;12670:30;:::i;:::-;;;;;;;;12735:9;-1:-1:-1;;;;;12718:35:0;12727:6;-1:-1:-1;;;;;12718:35:0;;12746:6;12718:35;;;;17010:25:1;;16998:2;16983:18;;16965:76;12766:46:0;12087:733;;;;:::o;34765:98::-;34823:7;34850:5;34854:1;34850;:5;:::i;112753:410::-;112850:11;;112843:68;;-1:-1:-1;;;112843:68:0;;112895:4;112843:68;;;4824:51:1;112814:26:0;;-1:-1:-1;;;;;112850:11:0;;112843:29;;4797:18:1;;112843:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;112814:97;;112924:25;112942:6;112924:17;:25::i;:::-;112989:11;;112982:44;;-1:-1:-1;;;112982:44:0;;113020:4;112982:44;;;4824:51:1;112960:18:0;;112981:94;;113046:18;;-1:-1:-1;;;;;112989:11:0;;112982:29;;4797:18:1;;112982:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;112981:50;;:94::i;:::-;113119:23;;113093:11;;112960:115;;-1:-1:-1;113086:69:0;;-1:-1:-1;;;;;113093:11:0;;;;113119:23;112960:115;113086:32;:69::i;113171:923::-;113281:12;113296:13;:6;113307:1;113296:10;:13::i;:::-;113281:28;-1:-1:-1;113320:17:0;113340:16;:6;113281:28;113340:10;:16::i;:::-;113320:36;-1:-1:-1;113659:21:0;113725:22;113742:4;113725:16;:22::i;:::-;113878:18;113899:41;:21;113925:14;113899:25;:41::i;:::-;113878:62;;113990:35;114003:9;114014:10;113990:12;:35::i;:::-;114043:43;;;18489:25:1;;;18545:2;18530:18;;18523:34;;;18573:18;;;18566:34;;;114043:43:0;;18477:2:1;18462:18;114043:43:0;;;;;;;113171:923;;;;;:::o;115876:607::-;115941:25;115959:6;115941:17;:25::i;:::-;116004:11;;115997:44;;-1:-1:-1;;;115997:44:0;;116035:4;115997:44;;;4824:51:1;115977:17:0;;-1:-1:-1;;;;;116004:11:0;;115997:29;;4797:18:1;;115997:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;116119:11;;116154:15;;115977:64;;-1:-1:-1;116052:12:0;;116067:138;;-1:-1:-1;;;;;116119:11:0;;;;116154:15;115977:64;116067:30;:138::i;:::-;116052:153;;116220:7;116216:260;;;116248:15;;:50;;-1:-1:-1;;;116248:50:0;;;;;17010:25:1;;;-1:-1:-1;;;;;116248:15:0;;;;:39;;16983:18:1;;116248:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;116244:169;;116332:40;;;18208:25:1;;;18264:2;18249:18;;18242:34;;;116332:40:0;;18181:18:1;116332:40:0;;;;;;;;116391:7;;115876:607;:::o;116244:169::-;116432:32;;;18208:25:1;;;18264:2;18249:18;;18242:34;;;116432:32:0;;18181:18:1;116432:32:0;18163:119:1;34408:98:0;34466:7;34493:5;34497:1;34493;:5;:::i;114699:640::-;114790:16;;;114804:1;114790:16;;;;;;;;;114766:21;;114790:16;;;;;;;;;;-1:-1:-1;114790:16:0;114766:40;;114835:4;114817;114822:1;114817:7;;;;;;-1:-1:-1;;;114817:7:0;;;;;;;;;-1:-1:-1;;;;;114817:23:0;;;:7;;;;;;;;;;:23;;;;114861:15;;:22;;;-1:-1:-1;;;114861:22:0;;;;:15;;;;;:20;;:22;;;;;114817:7;;114861:22;;;;;:15;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;114851:4;114856:1;114851:7;;;;;;-1:-1:-1;;;114851:7:0;;;;;;;;;-1:-1:-1;;;;;114851:32:0;;;:7;;;;;;;;;:32;114904:11;;114894:7;;114904:11;;;114894:4;;114899:1;;114894:7;;;;-1:-1:-1;;;114894:7:0;;;;;;;;;-1:-1:-1;;;;;114894:21:0;;;:7;;;;;;;;;:21;114960:15;;114928:62;;114945:4;;114960:15;114978:11;114928:8;:62::i;:::-;115046:15;;:265;;-1:-1:-1;;;115046:265:0;;-1:-1:-1;;;;;115046:15:0;;;;:87;;:265;;115156:11;;115046:15;;115214:4;;115249;;115277:15;;115046:265;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114699:640;;:::o;25577:211::-;25721:58;;;-1:-1:-1;;;;;5399:32:1;;25721:58:0;;;5381:51:1;5448:18;;;;5441:34;;;25721:58:0;;;;;;;;;;5354:18:1;;;;25721:58:0;;;;;;;;-1:-1:-1;;;;;25721:58:0;-1:-1:-1;;;25721:58:0;;;25694:86;;25714:5;;25694:19;:86::i;114102:589::-;114252:16;;;114266:1;114252:16;;;;;;;;114228:21;;114252:16;;;;;;;;;;-1:-1:-1;114252:16:0;114228:40;;114297:4;114279;114284:1;114279:7;;;;;;-1:-1:-1;;;114279:7:0;;;;;;;;;-1:-1:-1;;;;;114279:23:0;;;:7;;;;;;;;;;:23;;;;114323:15;;:22;;;-1:-1:-1;;;114323:22:0;;;;:15;;;;;:20;;:22;;;;;114279:7;;114323:22;;;;;:15;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;114313:4;114318:1;114313:7;;;;;;-1:-1:-1;;;114313:7:0;;;;;;;;;-1:-1:-1;;;;;114313:32:0;;;:7;;;;;;;;;:32;114390:15;;114358:62;;114375:4;;114390:15;114408:11;114358:8;:62::i;:::-;114459:15;;:224;;-1:-1:-1;;;114459:224:0;;-1:-1:-1;;;;;114459:15:0;;;;:66;;:224;;114540:11;;114459:15;;114610:4;;114637;;114657:15;;114459:224;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;115347:521;115527:15;;115495:62;;115512:4;;-1:-1:-1;;;;;115527:15:0;115545:11;115495:8;:62::i;:::-;115600:15;;:260;;-1:-1:-1;;;115600:260:0;;115672:4;115600:260;;;6812:34:1;6862:18;;;6855:34;;;115600:15:0;6905:18:1;;;6898:34;;;6948:18;;;6941:34;115812:6:0;6991:19:1;;;6984:44;115834:15:0;7044:19:1;;;7037:35;-1:-1:-1;;;;;115600:15:0;;;;:31;;115639:9;;6746:19:1;;115600:260:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;42231:445::-;42439:58;;;-1:-1:-1;;;;;5399:32:1;;;42439:58:0;;;5381:51:1;5448:18;;;;5441:34;;;42439:58:0;;;;;;;;;;5354:18:1;;;;42439:58:0;;;;;;;-1:-1:-1;;;;;42439:58:0;-1:-1:-1;;;42439:58:0;;;42405:103;;-1:-1:-1;;;;;;42405:19:0;;;;:103;;42439:58;42405:103;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42363:145;;;;42539:7;:82;;;;-1:-1:-1;42564:17:0;;:22;;:56;;;42601:10;42590:30;;;;;;;;;;;;:::i;:::-;42539:129;;;;;42667:1;42646:5;-1:-1:-1;;;;;42638:26:0;;:30;42539:129;42519:149;42231:445;-1:-1:-1;;;;;;42231:445:0:o;28150:716::-;28574:23;28600:69;28628:4;28600:69;;;;;;;;;;;;;;;;;28608:5;-1:-1:-1;;;;;28600:27:0;;;:69;;;;;:::i;:::-;28684:17;;28574:95;;-1:-1:-1;28684:21:0;28680:179;;28781:10;28770:30;;;;;;;;;;;;:::i;:::-;28762:85;;;;-1:-1:-1;;;28762:85:0;;15825:2:1;28762:85:0;;;15807:21:1;15864:2;15844:18;;;15837:30;15903:34;15883:18;;;15876:62;-1:-1:-1;;;15954:18:1;;;15947:40;16004:19;;28762:85:0;15797:232:1;20294:229:0;20431:12;20463:52;20485:6;20493:4;20499:1;20502:12;20463:21;:52::i;:::-;20456:59;20294:229;-1:-1:-1;;;;20294:229:0:o;21414:510::-;21584:12;21642:5;21617:21;:30;;21609:81;;;;-1:-1:-1;;;21609:81:0;;11920:2:1;21609:81:0;;;11902:21:1;11959:2;11939:18;;;11932:30;11998:34;11978:18;;;11971:62;-1:-1:-1;;;12049:18:1;;;12042:36;12095:19;;21609:81:0;11892:228:1;21609:81:0;17811:20;;21701:60;;;;-1:-1:-1;;;21701:60:0;;15467:2:1;21701:60:0;;;15449:21:1;15506:2;15486:18;;;15479:30;15545:31;15525:18;;;15518:59;15594:18;;21701:60:0;15439:179:1;21701:60:0;21775:12;21789:23;21816:6;-1:-1:-1;;;;;21816:11:0;21835:5;21842:4;21816:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21774:73;;;;21865:51;21882:7;21891:10;21903:12;21865:16;:51::i;:::-;21858:58;21414:510;-1:-1:-1;;;;;;;21414:510:0:o;24100:712::-;24250:12;24279:7;24275:530;;;-1:-1:-1;24310:10:0;24303:17;;24275:530;24424:17;;:21;24420:374;;24622:10;24616:17;24683:15;24670:10;24666:2;24662:19;24655:44;24570:148;24765:12;24758:20;;-1:-1:-1;;;24758:20:0;;;;;;;;:::i;14:257:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:2;;;147:6;139;132:22;94:2;191:9;178:23;210:31;235:5;210:31;:::i;276:261::-;346:6;399:2;387:9;378:7;374:23;370:32;367:2;;;420:6;412;405:22;367:2;457:9;451:16;476:31;501:5;476:31;:::i;812:398::-;880:6;888;941:2;929:9;920:7;916:23;912:32;909:2;;;962:6;954;947:22;909:2;1006:9;993:23;1025:31;1050:5;1025:31;:::i;:::-;1075:5;-1:-1:-1;1132:2:1;1117:18;;1104:32;1145:33;1104:32;1145:33;:::i;:::-;1197:7;1187:17;;;899:311;;;;;:::o;1215:466::-;1292:6;1300;1308;1361:2;1349:9;1340:7;1336:23;1332:32;1329:2;;;1382:6;1374;1367:22;1329:2;1426:9;1413:23;1445:31;1470:5;1445:31;:::i;:::-;1495:5;-1:-1:-1;1552:2:1;1537:18;;1524:32;1565:33;1524:32;1565:33;:::i;:::-;1319:362;;1617:7;;-1:-1:-1;;;1671:2:1;1656:18;;;;1643:32;;1319:362::o;1686:691::-;1817:6;1825;1833;1841;1849;1857;1865;1873;1926:3;1914:9;1905:7;1901:23;1897:33;1894:2;;;1948:6;1940;1933:22;1894:2;1985:9;1979:16;2004:31;2029:5;2004:31;:::i;:::-;2054:5;2044:15;;;2099:2;2088:9;2084:18;2078:25;2068:35;;2143:2;2132:9;2128:18;2122:25;2112:35;;2187:2;2176:9;2172:18;2166:25;2156:35;;2231:3;2220:9;2216:19;2210:26;2200:36;;2276:3;2265:9;2261:19;2255:26;2245:36;;2321:3;2310:9;2306:19;2300:26;2290:36;;2366:3;2355:9;2351:19;2345:26;2335:36;;1884:493;;;;;;;;;;;:::o;2382:325::-;2450:6;2458;2511:2;2499:9;2490:7;2486:23;2482:32;2479:2;;;2532:6;2524;2517:22;2479:2;2576:9;2563:23;2595:31;2620:5;2595:31;:::i;:::-;2645:5;2697:2;2682:18;;;;2669:32;;-1:-1:-1;;;2469:238:1:o;2712:665::-;2798:6;2806;2859:2;2847:9;2838:7;2834:23;2830:32;2827:2;;;2880:6;2872;2865:22;2827:2;2925:9;2912:23;2954:18;2995:2;2987:6;2984:14;2981:2;;;3016:6;3008;3001:22;2981:2;3059:6;3048:9;3044:22;3034:32;;3104:7;3097:4;3093:2;3089:13;3085:27;3075:2;;3131:6;3123;3116:22;3075:2;3176;3163:16;3202:2;3194:6;3191:14;3188:2;;;3223:6;3215;3208:22;3188:2;3281:7;3276:2;3266:6;3263:1;3259:14;3255:2;3251:23;3247:32;3244:45;3241:2;;;3307:6;3299;3292:22;3241:2;3343;3335:11;;;;;3365:6;;-1:-1:-1;2817:560:1;;-1:-1:-1;;;;2817:560:1:o;3382:297::-;3449:6;3502:2;3490:9;3481:7;3477:23;3473:32;3470:2;;;3523:6;3515;3508:22;3470:2;3560:9;3554:16;3613:5;3606:13;3599:21;3592:5;3589:32;3579:2;;3640:6;3632;3625:22;3684:190;3743:6;3796:2;3784:9;3775:7;3771:23;3767:32;3764:2;;;3817:6;3809;3802:22;3764:2;-1:-1:-1;3845:23:1;;3754:120;-1:-1:-1;3754:120:1:o;3879:194::-;3949:6;4002:2;3990:9;3981:7;3977:23;3973:32;3970:2;;;4023:6;4015;4008:22;3970:2;-1:-1:-1;4051:16:1;;3960:113;-1:-1:-1;3960:113:1:o;4078:316::-;4166:6;4174;4182;4235:2;4223:9;4214:7;4210:23;4206:32;4203:2;;;4256:6;4248;4241:22;4203:2;4290:9;4284:16;4274:26;;4340:2;4329:9;4325:18;4319:25;4309:35;;4384:2;4373:9;4369:18;4363:25;4353:35;;4193:201;;;;;:::o;4399:274::-;4528:3;4566:6;4560:13;4582:53;4628:6;4623:3;4616:4;4608:6;4604:17;4582:53;:::i;:::-;4651:16;;;;;4536:137;-1:-1:-1;;4536:137:1:o;7083:708::-;7264:2;7316:21;;;7289:18;;;7372:22;;;7235:4;;7451:6;7425:2;7410:18;;7235:4;7488:277;7502:6;7499:1;7496:13;7488:277;;;7577:6;7564:20;7597:31;7622:5;7597:31;:::i;:::-;-1:-1:-1;;;;;7653:31:1;7641:44;;7740:15;;;;7705:12;;;;7681:1;7517:9;7488:277;;;-1:-1:-1;7782:3:1;7244:547;-1:-1:-1;;;;;;7244:547:1:o;8464:383::-;8613:2;8602:9;8595:21;8576:4;8645:6;8639:13;8688:6;8683:2;8672:9;8668:18;8661:34;8704:66;8763:6;8758:2;8747:9;8743:18;8738:2;8730:6;8726:15;8704:66;:::i;:::-;8831:2;8810:15;-1:-1:-1;;8806:29:1;8791:45;;;;8838:2;8787:54;;8585:262;-1:-1:-1;;8585:262:1:o;8852:399::-;9054:2;9036:21;;;9093:2;9073:18;;;9066:30;9132:34;9127:2;9112:18;;9105:62;-1:-1:-1;;;9198:2:1;9183:18;;9176:33;9241:3;9226:19;;9026:225::o;13665:356::-;13867:2;13849:21;;;13886:18;;;13879:30;13945:34;13940:2;13925:18;;13918:62;14012:2;13997:18;;13839:182::o;14454:401::-;14656:2;14638:21;;;14695:2;14675:18;;;14668:30;14734:34;14729:2;14714:18;;14707:62;-1:-1:-1;;;14800:2:1;14785:18;;14778:35;14845:3;14830:19;;14628:227::o;17046:983::-;17308:4;17356:3;17345:9;17341:19;17387:6;17376:9;17369:25;17413:2;17451:6;17446:2;17435:9;17431:18;17424:34;17494:3;17489:2;17478:9;17474:18;17467:31;17518:6;17553;17547:13;17584:6;17576;17569:22;17622:3;17611:9;17607:19;17600:26;;17661:2;17653:6;17649:15;17635:29;;17682:4;17695:195;17709:6;17706:1;17703:13;17695:195;;;17774:13;;-1:-1:-1;;;;;17770:39:1;17758:52;;17865:15;;;;17830:12;;;;17806:1;17724:9;17695:195;;;-1:-1:-1;;;;;;;17946:32:1;;;;17941:2;17926:18;;17919:60;-1:-1:-1;;;18010:3:1;17995:19;17988:35;17907:3;17317:712;-1:-1:-1;;;17317:712:1:o;19196:128::-;19236:3;19267:1;19263:6;19260:1;19257:13;19254:2;;;19273:18;;:::i;:::-;-1:-1:-1;19309:9:1;;19244:80::o;19329:217::-;19369:1;19395;19385:2;;-1:-1:-1;;;19420:31:1;;19474:4;19471:1;19464:15;19502:4;19427:1;19492:15;19385:2;-1:-1:-1;19531:9:1;;19375:171::o;19551:168::-;19591:7;19657:1;19653;19649:6;19645:14;19642:1;19639:21;19634:1;19627:9;19620:17;19616:45;19613:2;;;19664:18;;:::i;:::-;-1:-1:-1;19704:9:1;;19603:116::o;19724:125::-;19764:4;19792:1;19789;19786:8;19783:2;;;19797:18;;:::i;:::-;-1:-1:-1;19834:9:1;;19773:76::o;19854:258::-;19926:1;19936:113;19950:6;19947:1;19944:13;19936:113;;;20026:11;;;20020:18;20007:11;;;20000:39;19972:2;19965:10;19936:113;;;20067:6;20064:1;20061:13;20058:2;;;-1:-1:-1;;20102:1:1;20084:16;;20077:27;19907:205::o;20117:380::-;20196:1;20192:12;;;;20239;;;20260:2;;20314:4;20306:6;20302:17;20292:27;;20260:2;20367;20359:6;20356:14;20336:18;20333:38;20330:2;;;20413:10;20408:3;20404:20;20401:1;20394:31;20448:4;20445:1;20438:15;20476:4;20473:1;20466:15;20330:2;;20172:325;;;:::o;20502:135::-;20541:3;-1:-1:-1;;20562:17:1;;20559:2;;;20582:18;;:::i;:::-;-1:-1:-1;20629:1:1;20618:13;;20549:88::o;20642:127::-;20703:10;20698:3;20694:20;20691:1;20684:31;20734:4;20731:1;20724:15;20758:4;20755:1;20748:15;20774:131;-1:-1:-1;;;;;20849:31:1;;20839:42;;20829:2;;20895:1;20892;20885:12

Swarm Source

ipfs://027f5bd0f49557d0cc819066934ed81dc321bb81ee6593c2a85eae2202425d20
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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