ETH Price: $1,972.04 (-0.31%)

Token

AppleTree (APTESG)

Overview

Max Total Supply

54,999,998 APTESG

Holders

134

Transfers

-
1

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

-

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

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

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
AppleTree

Compiler Version
v0.8.30+commit.73712a01

Optimization Enabled:
Yes with 200 runs

Other Settings:
prague EvmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan.io on 2025-06-18
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.30;

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;


/**
 * @dev Interface for the optional metadata functions from the ERC-20 standard.
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol


// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;





/**
 * @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}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC-20
 * applications.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * Both 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 returns (string memory) {
        return _name;
    }

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

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

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

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

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

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

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

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

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     *
     * ```solidity
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner`'s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance < type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;


/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

// File: @openzeppelin/contracts/access/Ownable2Step.sol


// OpenZeppelin Contracts (last updated v5.1.0) (access/Ownable2Step.sol)

pragma solidity ^0.8.20;


/**
 * @dev Contract module which provides access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * This extension of the {Ownable} contract includes a two-step mechanism to transfer
 * ownership, where the new owner must call {acceptOwnership} in order to replace the
 * old one. This can help prevent common mistakes, such as transfers of ownership to
 * incorrect accounts, or to contracts that are unable to interact with the
 * permission system.
 *
 * The initial owner is specified at deployment time in the constructor for `Ownable`. This
 * can later be changed with {transferOwnership} and {acceptOwnership}.
 *
 * This module is used through inheritance. It will make available all functions
 * from parent (Ownable).
 */
abstract contract Ownable2Step is Ownable {
    address private _pendingOwner;

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

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

    /**
     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
     * Can only be called by the current owner.
     *
     * Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.
     */
    function transferOwnership(address newOwner) public virtual override onlyOwner {
        _pendingOwner = newOwner;
        emit OwnershipTransferStarted(owner(), newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual override {
        delete _pendingOwner;
        super._transferOwnership(newOwner);
    }

    /**
     * @dev The new owner accepts the ownership transfer.
     */
    function acceptOwnership() public virtual {
        address sender = _msgSender();
        if (pendingOwner() != sender) {
            revert OwnableUnauthorizedAccount(sender);
        }
        _transferOwnership(sender);
    }
}

// File: @openzeppelin/contracts/access/IAccessControl.sol


// OpenZeppelin Contracts (last updated v5.3.0) (access/IAccessControl.sol)

pragma solidity ^0.8.20;

/**
 * @dev External interface of AccessControl declared to support ERC-165 detection.
 */
interface IAccessControl {
    /**
     * @dev The `account` is missing a role.
     */
    error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);

    /**
     * @dev The caller of a function is not the expected one.
     *
     * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.
     */
    error AccessControlBadConfirmation();

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted to signal this.
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call. This account bears the admin role (for the granted role).
     * Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `callerConfirmation`.
     */
    function renounceRole(bytes32 role, address callerConfirmation) external;
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[ERC].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/access/AccessControl.sol


// OpenZeppelin Contracts (last updated v5.3.0) (access/AccessControl.sol)

pragma solidity ^0.8.20;




/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```solidity
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```solidity
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address account => bool) hasRole;
        bytes32 adminRole;
    }

    mapping(bytes32 role => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with an {AccessControlUnauthorizedAccount} error including the required role.
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual returns (bool) {
        return _roles[role].hasRole[account];
    }

    /**
     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`
     * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`
     * is missing `role`.
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert AccessControlUnauthorizedAccount(account, role);
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `callerConfirmation`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address callerConfirmation) public virtual {
        if (callerConfirmation != _msgSender()) {
            revert AccessControlBadConfirmation();
        }

        _revokeRole(role, callerConfirmation);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual returns (bool) {
        if (!hasRole(role, account)) {
            _roles[role].hasRole[account] = true;
            emit RoleGranted(role, account, _msgSender());
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Attempts to revoke `role` from `account` and returns a boolean indicating if `role` was revoked.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {
        if (hasRole(role, account)) {
            _roles[role].hasRole[account] = false;
            emit RoleRevoked(role, account, _msgSender());
            return true;
        } else {
            return false;
        }
    }
}

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.20;


/**
 * @dev Required interface of an ERC-721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon
     *   a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC-721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or
     *   {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon
     *   a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the address zero.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol



pragma solidity ^0.8.27;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol



pragma solidity ^0.8.27;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File: @uniswap/v3-periphery/contracts/interfaces/IPoolInitializer.sol


pragma solidity >=0.7.5;
pragma abicoder v2;

/// @title Creates and initializes V3 Pools
/// @notice Provides a method for creating and initializing a pool, if necessary, for bundling with other methods that
/// require the pool to exist.
interface IPoolInitializer {
    /// @notice Creates a new pool if it does not exist, then initializes if not initialized
    /// @dev This method can be bundled with others via IMulticall for the first action (e.g. mint) performed against a pool
    /// @param token0 The contract address of token0 of the pool
    /// @param token1 The contract address of token1 of the pool
    /// @param fee The fee amount of the v3 pool for the specified token pair
    /// @param sqrtPriceX96 The initial square root price of the pool as a Q64.96 value
    /// @return pool Returns the pool address based on the pair of tokens and fee, will return the newly created pool address if necessary
    function createAndInitializePoolIfNecessary(
        address token0,
        address token1,
        uint24 fee,
        uint160 sqrtPriceX96
    ) external payable returns (address pool);
}

// File: @uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol


pragma solidity >=0.7.5;


/// @title ERC721 with permit
/// @notice Extension to ERC721 that includes a permit function for signature based approvals
interface IERC721Permit is IERC721 {
    /// @notice The permit typehash used in the permit signature
    /// @return The typehash for the permit
    function PERMIT_TYPEHASH() external pure returns (bytes32);

    /// @notice The domain separator used in the permit signature
    /// @return The domain seperator used in encoding of permit signature
    function DOMAIN_SEPARATOR() external view returns (bytes32);

    /// @notice Approve of a specific token ID for spending by spender via signature
    /// @param spender The account that is being approved
    /// @param tokenId The ID of the token that is being approved for spending
    /// @param deadline The deadline timestamp by which the call must be mined for the approve to work
    /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s`
    /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s`
    /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v`
    function permit(
        address spender,
        uint256 tokenId,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external payable;
}

// File: @uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol


pragma solidity >=0.7.5;

/// @title Periphery Payments
/// @notice Functions to ease deposits and withdrawals of ETH
interface IPeripheryPayments {
    /// @notice Unwraps the contract's WETH9 balance and sends it to recipient as ETH.
    /// @dev The amountMinimum parameter prevents malicious contracts from stealing WETH9 from users.
    /// @param amountMinimum The minimum amount of WETH9 to unwrap
    /// @param recipient The address receiving ETH
    function unwrapWETH9(uint256 amountMinimum, address recipient) external payable;

    /// @notice Refunds any ETH balance held by this contract to the `msg.sender`
    /// @dev Useful for bundling with mint or increase liquidity that uses ether, or exact output swaps
    /// that use ether for the input amount
    function refundETH() external payable;

    /// @notice Transfers the full amount of a token held by this contract to recipient
    /// @dev The amountMinimum parameter prevents malicious contracts from stealing the token from users
    /// @param token The contract address of the token which will be transferred to `recipient`
    /// @param amountMinimum The minimum amount of token required for a transfer
    /// @param recipient The destination address of the token
    function sweepToken(
        address token,
        uint256 amountMinimum,
        address recipient
    ) external payable;
}

// File: @uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol


pragma solidity >=0.5.0;

/// @title Immutable state
/// @notice Functions that return immutable state of the router
interface IPeripheryImmutableState {
    /// @return Returns the address of the Uniswap V3 factory
    function factory() external view returns (address);

    /// @return Returns the address of WETH9
    function WETH9() external view returns (address);
}

// File: @uniswap/v3-periphery/contracts/libraries/PoolAddress.sol


pragma solidity >=0.5.0;

/// @title Provides functions for deriving a pool address from the factory, tokens, and the fee
library PoolAddress {
    bytes32 internal constant POOL_INIT_CODE_HASH = 0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54;

    /// @notice The identifying key of the pool
    struct PoolKey {
        address token0;
        address token1;
        uint24 fee;
    }

    /// @notice Returns PoolKey: the ordered tokens with the matched fee levels
    /// @param tokenA The first token of a pool, unsorted
    /// @param tokenB The second token of a pool, unsorted
    /// @param fee The fee level of the pool
    /// @return Poolkey The pool details with ordered token0 and token1 assignments
    function getPoolKey(
        address tokenA,
        address tokenB,
        uint24 fee
    ) internal pure returns (PoolKey memory) {
        if (tokenA > tokenB) (tokenA, tokenB) = (tokenB, tokenA);
        return PoolKey({token0: tokenA, token1: tokenB, fee: fee});
    }

    /// @notice Deterministically computes the pool address given the factory and PoolKey
    /// @param factory The Uniswap V3 factory contract address
    /// @param key The PoolKey
    /// @return pool The contract address of the V3 pool
    function computeAddress(address factory, PoolKey memory key) internal pure returns (address pool) {
    require(key.token0 < key.token1);
    pool = address(uint160(uint256(keccak256(abi.encodePacked(
        hex'ff',
        factory,
        keccak256(abi.encode(key.token0, key.token1, key.fee)),
        POOL_INIT_CODE_HASH
    )))));
}
}

// File: @uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol


pragma solidity >=0.7.5;




/// @title Non-fungible token for positions
/// @notice Wraps Uniswap V3 positions in a non-fungible token interface which allows for them to be transferred
/// and authorized.
interface INonfungiblePositionManager is
    IPoolInitializer,
    IPeripheryPayments,
    IPeripheryImmutableState,
    IERC721Metadata,
    IERC721Enumerable,
    IERC721Permit
{
    /// @notice Emitted when liquidity is increased for a position NFT
    /// @dev Also emitted when a token is minted
    /// @param tokenId The ID of the token for which liquidity was increased
    /// @param liquidity The amount by which liquidity for the NFT position was increased
    /// @param amount0 The amount of token0 that was paid for the increase in liquidity
    /// @param amount1 The amount of token1 that was paid for the increase in liquidity
    event IncreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1);
    /// @notice Emitted when liquidity is decreased for a position NFT
    /// @param tokenId The ID of the token for which liquidity was decreased
    /// @param liquidity The amount by which liquidity for the NFT position was decreased
    /// @param amount0 The amount of token0 that was accounted for the decrease in liquidity
    /// @param amount1 The amount of token1 that was accounted for the decrease in liquidity
    event DecreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1);
    /// @notice Emitted when tokens are collected for a position NFT
    /// @dev The amounts reported may not be exactly equivalent to the amounts transferred, due to rounding behavior
    /// @param tokenId The ID of the token for which underlying tokens were collected
    /// @param recipient The address of the account that received the collected tokens
    /// @param amount0 The amount of token0 owed to the position that was collected
    /// @param amount1 The amount of token1 owed to the position that was collected
    event Collect(uint256 indexed tokenId, address recipient, uint256 amount0, uint256 amount1);

    /// @notice Returns the position information associated with a given token ID.
    /// @dev Throws if the token ID is not valid.
    /// @param tokenId The ID of the token that represents the position
    /// @return nonce The nonce for permits
    /// @return operator The address that is approved for spending
    /// @return token0 The address of the token0 for a specific pool
    /// @return token1 The address of the token1 for a specific pool
    /// @return fee The fee associated with the pool
    /// @return tickLower The lower end of the tick range for the position
    /// @return tickUpper The higher end of the tick range for the position
    /// @return liquidity The liquidity of the position
    /// @return feeGrowthInside0LastX128 The fee growth of token0 as of the last action on the individual position
    /// @return feeGrowthInside1LastX128 The fee growth of token1 as of the last action on the individual position
    /// @return tokensOwed0 The uncollected amount of token0 owed to the position as of the last computation
    /// @return tokensOwed1 The uncollected amount of token1 owed to the position as of the last computation
    function positions(uint256 tokenId)
        external
        view
        returns (
            uint96 nonce,
            address operator,
            address token0,
            address token1,
            uint24 fee,
            int24 tickLower,
            int24 tickUpper,
            uint128 liquidity,
            uint256 feeGrowthInside0LastX128,
            uint256 feeGrowthInside1LastX128,
            uint128 tokensOwed0,
            uint128 tokensOwed1
        );

    struct MintParams {
        address token0;
        address token1;
        uint24 fee;
        int24 tickLower;
        int24 tickUpper;
        uint256 amount0Desired;
        uint256 amount1Desired;
        uint256 amount0Min;
        uint256 amount1Min;
        address recipient;
        uint256 deadline;
    }

    /// @notice Creates a new position wrapped in a NFT
    /// @dev Call this when the pool does exist and is initialized. Note that if the pool is created but not initialized
    /// a method does not exist, i.e. the pool is assumed to be initialized.
    /// @param params The params necessary to mint a position, encoded as `MintParams` in calldata
    /// @return tokenId The ID of the token that represents the minted position
    /// @return liquidity The amount of liquidity for this position
    /// @return amount0 The amount of token0
    /// @return amount1 The amount of token1
    function mint(MintParams calldata params)
        external
        payable
        returns (
            uint256 tokenId,
            uint128 liquidity,
            uint256 amount0,
            uint256 amount1
        );

    struct IncreaseLiquidityParams {
        uint256 tokenId;
        uint256 amount0Desired;
        uint256 amount1Desired;
        uint256 amount0Min;
        uint256 amount1Min;
        uint256 deadline;
    }

    /// @notice Increases the amount of liquidity in a position, with tokens paid by the `msg.sender`
    /// @param params tokenId The ID of the token for which liquidity is being increased,
    /// amount0Desired The desired amount of token0 to be spent,
    /// amount1Desired The desired amount of token1 to be spent,
    /// amount0Min The minimum amount of token0 to spend, which serves as a slippage check,
    /// amount1Min The minimum amount of token1 to spend, which serves as a slippage check,
    /// deadline The time by which the transaction must be included to effect the change
    /// @return liquidity The new liquidity amount as a result of the increase
    /// @return amount0 The amount of token0 to acheive resulting liquidity
    /// @return amount1 The amount of token1 to acheive resulting liquidity
    function increaseLiquidity(IncreaseLiquidityParams calldata params)
        external
        payable
        returns (
            uint128 liquidity,
            uint256 amount0,
            uint256 amount1
        );

    struct DecreaseLiquidityParams {
        uint256 tokenId;
        uint128 liquidity;
        uint256 amount0Min;
        uint256 amount1Min;
        uint256 deadline;
    }

    /// @notice Decreases the amount of liquidity in a position and accounts it to the position
    /// @param params tokenId The ID of the token for which liquidity is being decreased,
    /// amount The amount by which liquidity will be decreased,
    /// amount0Min The minimum amount of token0 that should be accounted for the burned liquidity,
    /// amount1Min The minimum amount of token1 that should be accounted for the burned liquidity,
    /// deadline The time by which the transaction must be included to effect the change
    /// @return amount0 The amount of token0 accounted to the position's tokens owed
    /// @return amount1 The amount of token1 accounted to the position's tokens owed
    function decreaseLiquidity(DecreaseLiquidityParams calldata params)
        external
        payable
        returns (uint256 amount0, uint256 amount1);

    struct CollectParams {
        uint256 tokenId;
        address recipient;
        uint128 amount0Max;
        uint128 amount1Max;
    }

    /// @notice Collects up to a maximum amount of fees owed to a specific position to the recipient
    /// @param params tokenId The ID of the NFT for which tokens are being collected,
    /// recipient The account that should receive the tokens,
    /// amount0Max The maximum amount of token0 to collect,
    /// amount1Max The maximum amount of token1 to collect
    /// @return amount0 The amount of fees collected in token0
    /// @return amount1 The amount of fees collected in token1
    function collect(CollectParams calldata params) external payable returns (uint256 amount0, uint256 amount1);

    /// @notice Burns a token ID, which deletes it from the NFT contract. The token must have 0 liquidity and all tokens
    /// must be collected first.
    /// @param tokenId The ID of the token that is being burned
    function burn(uint256 tokenId) external payable;
}

// File: @uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol


pragma solidity >=0.5.0;

/// @title Pool state that never changes
/// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values
interface IUniswapV3PoolImmutables {
    /// @notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface
    /// @return The contract address
    function factory() external view returns (address);

    /// @notice The first of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token0() external view returns (address);

    /// @notice The second of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token1() external view returns (address);

    /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6
    /// @return The fee
    function fee() external view returns (uint24);

    /// @notice The pool tick spacing
    /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive
    /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...
    /// This value is an int24 to avoid casting even though it is always positive.
    /// @return The tick spacing
    function tickSpacing() external view returns (int24);

    /// @notice The maximum amount of position liquidity that can use any tick in the range
    /// @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and
    /// also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool
    /// @return The max amount of liquidity per tick
    function maxLiquidityPerTick() external view returns (uint128);
}

// File: @uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol


pragma solidity >=0.5.0;

/// @title Pool state that can change
/// @notice These methods compose the pool's state, and can change with any frequency including multiple times
/// per transaction
interface IUniswapV3PoolState {
    /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas
    /// when accessed externally.
    /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value
    /// tick The current tick of the pool, i.e. according to the last tick transition that was run.
    /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick
    /// boundary.
    /// observationIndex The index of the last oracle observation that was written,
    /// observationCardinality The current maximum number of observations stored in the pool,
    /// observationCardinalityNext The next maximum number of observations, to be updated when the observation.
    /// feeProtocol The protocol fee for both tokens of the pool.
    /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0
    /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee.
    /// unlocked Whether the pool is currently locked to reentrancy
    function slot0()
        external
        view
        returns (
            uint160 sqrtPriceX96,
            int24 tick,
            uint16 observationIndex,
            uint16 observationCardinality,
            uint16 observationCardinalityNext,
            uint8 feeProtocol,
            bool unlocked
        );

    /// @notice The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool
    /// @dev This value can overflow the uint256
    function feeGrowthGlobal0X128() external view returns (uint256);

    /// @notice The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool
    /// @dev This value can overflow the uint256
    function feeGrowthGlobal1X128() external view returns (uint256);

    /// @notice The amounts of token0 and token1 that are owed to the protocol
    /// @dev Protocol fees will never exceed uint128 max in either token
    function protocolFees() external view returns (uint128 token0, uint128 token1);

    /// @notice The currently in range liquidity available to the pool
    /// @dev This value has no relationship to the total liquidity across all ticks
    function liquidity() external view returns (uint128);

    /// @notice Look up information about a specific tick in the pool
    /// @param tick The tick to look up
    /// @return liquidityGross the total amount of position liquidity that uses the pool either as tick lower or
    /// tick upper,
    /// liquidityNet how much liquidity changes when the pool price crosses the tick,
    /// feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0,
    /// feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1,
    /// tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick
    /// secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick,
    /// secondsOutside the seconds spent on the other side of the tick from the current tick,
    /// initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false.
    /// Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0.
    /// In addition, these values are only relative and must be used only in comparison to previous snapshots for
    /// a specific position.
    function ticks(int24 tick)
        external
        view
        returns (
            uint128 liquidityGross,
            int128 liquidityNet,
            uint256 feeGrowthOutside0X128,
            uint256 feeGrowthOutside1X128,
            int56 tickCumulativeOutside,
            uint160 secondsPerLiquidityOutsideX128,
            uint32 secondsOutside,
            bool initialized
        );

    /// @notice Returns 256 packed tick initialized boolean values. See TickBitmap for more information
    function tickBitmap(int16 wordPosition) external view returns (uint256);

    /// @notice Returns the information about a position by the position's key
    /// @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper
    /// @return _liquidity The amount of liquidity in the position,
    /// Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke,
    /// Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke,
    /// Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke,
    /// Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke
    function positions(bytes32 key)
        external
        view
        returns (
            uint128 _liquidity,
            uint256 feeGrowthInside0LastX128,
            uint256 feeGrowthInside1LastX128,
            uint128 tokensOwed0,
            uint128 tokensOwed1
        );

    /// @notice Returns data about a specific observation index
    /// @param index The element of the observations array to fetch
    /// @dev You most likely want to use #observe() instead of this method to get an observation as of some amount of time
    /// ago, rather than at a specific index in the array.
    /// @return blockTimestamp The timestamp of the observation,
    /// Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp,
    /// Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp,
    /// Returns initialized whether the observation has been initialized and the values are safe to use
    function observations(uint256 index)
        external
        view
        returns (
            uint32 blockTimestamp,
            int56 tickCumulative,
            uint160 secondsPerLiquidityCumulativeX128,
            bool initialized
        );
}

// File: @uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol


pragma solidity >=0.5.0;

/// @title Pool state that is not stored
/// @notice Contains view functions to provide information about the pool that is computed rather than stored on the
/// blockchain. The functions here may have variable gas costs.
interface IUniswapV3PoolDerivedState {
    /// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp
    /// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing
    /// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick,
    /// you must call it with secondsAgos = [3600, 0].
    /// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in
    /// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.
    /// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned
    /// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp
    /// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block
    /// timestamp
    function observe(uint32[] calldata secondsAgos)
        external
        view
        returns (int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s);

    /// @notice Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range
    /// @dev Snapshots must only be compared to other snapshots, taken over a period for which a position existed.
    /// I.e., snapshots cannot be compared if a position is not held for the entire period between when the first
    /// snapshot is taken and the second snapshot is taken.
    /// @param tickLower The lower tick of the range
    /// @param tickUpper The upper tick of the range
    /// @return tickCumulativeInside The snapshot of the tick accumulator for the range
    /// @return secondsPerLiquidityInsideX128 The snapshot of seconds per liquidity for the range
    /// @return secondsInside The snapshot of seconds per liquidity for the range
    function snapshotCumulativesInside(int24 tickLower, int24 tickUpper)
        external
        view
        returns (
            int56 tickCumulativeInside,
            uint160 secondsPerLiquidityInsideX128,
            uint32 secondsInside
        );
}

// File: @uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol


pragma solidity >=0.5.0;

/// @title Permissionless pool actions
/// @notice Contains pool methods that can be called by anyone
interface IUniswapV3PoolActions {
    /// @notice Sets the initial price for the pool
    /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value
    /// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96
    function initialize(uint160 sqrtPriceX96) external;

    /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position
    /// @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback
    /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends
    /// on tickLower, tickUpper, the amount of liquidity, and the current price.
    /// @param recipient The address for which the liquidity will be created
    /// @param tickLower The lower tick of the position in which to add liquidity
    /// @param tickUpper The upper tick of the position in which to add liquidity
    /// @param amount The amount of liquidity to mint
    /// @param data Any data that should be passed through to the callback
    /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback
    /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback
    function mint(
        address recipient,
        int24 tickLower,
        int24 tickUpper,
        uint128 amount,
        bytes calldata data
    ) external returns (uint256 amount0, uint256 amount1);

    /// @notice Collects tokens owed to a position
    /// @dev Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity.
    /// Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or
    /// amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the
    /// actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity.
    /// @param recipient The address which should receive the fees collected
    /// @param tickLower The lower tick of the position for which to collect fees
    /// @param tickUpper The upper tick of the position for which to collect fees
    /// @param amount0Requested How much token0 should be withdrawn from the fees owed
    /// @param amount1Requested How much token1 should be withdrawn from the fees owed
    /// @return amount0 The amount of fees collected in token0
    /// @return amount1 The amount of fees collected in token1
    function collect(
        address recipient,
        int24 tickLower,
        int24 tickUpper,
        uint128 amount0Requested,
        uint128 amount1Requested
    ) external returns (uint128 amount0, uint128 amount1);

    /// @notice Burn liquidity from the sender and account tokens owed for the liquidity to the position
    /// @dev Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0
    /// @dev Fees must be collected separately via a call to #collect
    /// @param tickLower The lower tick of the position for which to burn liquidity
    /// @param tickUpper The upper tick of the position for which to burn liquidity
    /// @param amount How much liquidity to burn
    /// @return amount0 The amount of token0 sent to the recipient
    /// @return amount1 The amount of token1 sent to the recipient
    function burn(
        int24 tickLower,
        int24 tickUpper,
        uint128 amount
    ) external returns (uint256 amount0, uint256 amount1);

    /// @notice Swap token0 for token1, or token1 for token0
    /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback
    /// @param recipient The address to receive the output of the swap
    /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0
    /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)
    /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this
    /// value after the swap. If one for zero, the price cannot be greater than this value after the swap
    /// @param data Any data to be passed through to the callback
    /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive
    /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive
    function swap(
        address recipient,
        bool zeroForOne,
        int256 amountSpecified,
        uint160 sqrtPriceLimitX96,
        bytes calldata data
    ) external returns (int256 amount0, int256 amount1);

    /// @notice Receive token0 and/or token1 and pay it back, plus a fee, in the callback
    /// @dev The caller of this method receives a callback in the form of IUniswapV3FlashCallback#uniswapV3FlashCallback
    /// @dev Can be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling
    /// with 0 amount{0,1} and sending the donation amount(s) from the callback
    /// @param recipient The address which will receive the token0 and token1 amounts
    /// @param amount0 The amount of token0 to send
    /// @param amount1 The amount of token1 to send
    /// @param data Any data to be passed through to the callback
    function flash(
        address recipient,
        uint256 amount0,
        uint256 amount1,
        bytes calldata data
    ) external;

    /// @notice Increase the maximum number of price and liquidity observations that this pool will store
    /// @dev This method is no-op if the pool already has an observationCardinalityNext greater than or equal to
    /// the input observationCardinalityNext.
    /// @param observationCardinalityNext The desired minimum number of observations for the pool to store
    function increaseObservationCardinalityNext(uint16 observationCardinalityNext) external;
}

// File: @uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol


pragma solidity >=0.5.0;

/// @title Permissioned pool actions
/// @notice Contains pool methods that may only be called by the factory owner
interface IUniswapV3PoolOwnerActions {
    /// @notice Set the denominator of the protocol's % share of the fees
    /// @param feeProtocol0 new protocol fee for token0 of the pool
    /// @param feeProtocol1 new protocol fee for token1 of the pool
    function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) external;

    /// @notice Collect the protocol fee accrued to the pool
    /// @param recipient The address to which collected protocol fees should be sent
    /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1
    /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0
    /// @return amount0 The protocol fee collected in token0
    /// @return amount1 The protocol fee collected in token1
    function collectProtocol(
        address recipient,
        uint128 amount0Requested,
        uint128 amount1Requested
    ) external returns (uint128 amount0, uint128 amount1);
}

// File: @uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol


pragma solidity >=0.5.0;

/// @title Events emitted by a pool
/// @notice Contains all events emitted by the pool
interface IUniswapV3PoolEvents {
    /// @notice Emitted exactly once by a pool when #initialize is first called on the pool
    /// @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize
    /// @param sqrtPriceX96 The initial sqrt price of the pool, as a Q64.96
    /// @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool
    event Initialize(uint160 sqrtPriceX96, int24 tick);

    /// @notice Emitted when liquidity is minted for a given position
    /// @param sender The address that minted the liquidity
    /// @param owner The owner of the position and recipient of any minted liquidity
    /// @param tickLower The lower tick of the position
    /// @param tickUpper The upper tick of the position
    /// @param amount The amount of liquidity minted to the position range
    /// @param amount0 How much token0 was required for the minted liquidity
    /// @param amount1 How much token1 was required for the minted liquidity
    event Mint(
        address sender,
        address indexed owner,
        int24 indexed tickLower,
        int24 indexed tickUpper,
        uint128 amount,
        uint256 amount0,
        uint256 amount1
    );

    /// @notice Emitted when fees are collected by the owner of a position
    /// @dev Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees
    /// @param owner The owner of the position for which fees are collected
    /// @param tickLower The lower tick of the position
    /// @param tickUpper The upper tick of the position
    /// @param amount0 The amount of token0 fees collected
    /// @param amount1 The amount of token1 fees collected
    event Collect(
        address indexed owner,
        address recipient,
        int24 indexed tickLower,
        int24 indexed tickUpper,
        uint128 amount0,
        uint128 amount1
    );

    /// @notice Emitted when a position's liquidity is removed
    /// @dev Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect
    /// @param owner The owner of the position for which liquidity is removed
    /// @param tickLower The lower tick of the position
    /// @param tickUpper The upper tick of the position
    /// @param amount The amount of liquidity to remove
    /// @param amount0 The amount of token0 withdrawn
    /// @param amount1 The amount of token1 withdrawn
    event Burn(
        address indexed owner,
        int24 indexed tickLower,
        int24 indexed tickUpper,
        uint128 amount,
        uint256 amount0,
        uint256 amount1
    );

    /// @notice Emitted by the pool for any swaps between token0 and token1
    /// @param sender The address that initiated the swap call, and that received the callback
    /// @param recipient The address that received the output of the swap
    /// @param amount0 The delta of the token0 balance of the pool
    /// @param amount1 The delta of the token1 balance of the pool
    /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96
    /// @param liquidity The liquidity of the pool after the swap
    /// @param tick The log base 1.0001 of price of the pool after the swap
    event Swap(
        address indexed sender,
        address indexed recipient,
        int256 amount0,
        int256 amount1,
        uint160 sqrtPriceX96,
        uint128 liquidity,
        int24 tick
    );

    /// @notice Emitted by the pool for any flashes of token0/token1
    /// @param sender The address that initiated the swap call, and that received the callback
    /// @param recipient The address that received the tokens from flash
    /// @param amount0 The amount of token0 that was flashed
    /// @param amount1 The amount of token1 that was flashed
    /// @param paid0 The amount of token0 paid for the flash, which can exceed the amount0 plus the fee
    /// @param paid1 The amount of token1 paid for the flash, which can exceed the amount1 plus the fee
    event Flash(
        address indexed sender,
        address indexed recipient,
        uint256 amount0,
        uint256 amount1,
        uint256 paid0,
        uint256 paid1
    );

    /// @notice Emitted by the pool for increases to the number of observations that can be stored
    /// @dev observationCardinalityNext is not the observation cardinality until an observation is written at the index
    /// just before a mint/swap/burn.
    /// @param observationCardinalityNextOld The previous value of the next observation cardinality
    /// @param observationCardinalityNextNew The updated value of the next observation cardinality
    event IncreaseObservationCardinalityNext(
        uint16 observationCardinalityNextOld,
        uint16 observationCardinalityNextNew
    );

    /// @notice Emitted when the protocol fee is changed by the pool
    /// @param feeProtocol0Old The previous value of the token0 protocol fee
    /// @param feeProtocol1Old The previous value of the token1 protocol fee
    /// @param feeProtocol0New The updated value of the token0 protocol fee
    /// @param feeProtocol1New The updated value of the token1 protocol fee
    event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New);

    /// @notice Emitted when the collected protocol fees are withdrawn by the factory owner
    /// @param sender The address that collects the protocol fees
    /// @param recipient The address that receives the collected protocol fees
    /// @param amount0 The amount of token0 protocol fees that is withdrawn
    /// @param amount0 The amount of token1 protocol fees that is withdrawn
    event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1);
}

// File: @uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol


pragma solidity >=0.5.0;







/// @title The interface for a Uniswap V3 Pool
/// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform
/// to the ERC20 specification
/// @dev The pool interface is broken up into many smaller pieces
interface IUniswapV3Pool is
    IUniswapV3PoolImmutables,
    IUniswapV3PoolState,
    IUniswapV3PoolDerivedState,
    IUniswapV3PoolActions,
    IUniswapV3PoolOwnerActions,
    IUniswapV3PoolEvents
{

}

// File: @chainlink/contracts/src/v0.8/AutomationBase.sol


pragma solidity ^0.8.0;

contract AutomationBase {
  error OnlySimulatedBackend();

  /**
   * @notice method that allows it to be simulated via eth_call by checking that
   * the sender is the zero address.
   */
  function preventExecution() internal view {
    if (tx.origin != address(0)) {
      revert OnlySimulatedBackend();
    }
  }

  /**
   * @notice modifier that allows it to be simulated via eth_call by checking
   * that the sender is the zero address.
   */
  modifier cannotExecute() {
    preventExecution();
    _;
  }
}

// File: @chainlink/contracts/src/v0.8/interfaces/AutomationCompatibleInterface.sol


pragma solidity ^0.8.0;

interface AutomationCompatibleInterface {
  /**
   * @notice method that is simulated by the keepers to see if any work actually
   * needs to be performed. This method does does not actually need to be
   * executable, and since it is only ever simulated it can consume lots of gas.
   * @dev To ensure that it is never called, you may want to add the
   * cannotExecute modifier from KeeperBase to your implementation of this
   * method.
   * @param checkData specified in the upkeep registration so it is always the
   * same for a registered upkeep. This can easily be broken down into specific
   * arguments using `abi.decode`, so multiple upkeeps can be registered on the
   * same contract and easily differentiated by the contract.
   * @return upkeepNeeded boolean to indicate whether the keeper should call
   * performUpkeep or not.
   * @return performData bytes that the keeper should call performUpkeep with, if
   * upkeep is needed. If you would like to encode data to decode later, try
   * `abi.encode`.
   */
  function checkUpkeep(bytes calldata checkData) external returns (bool upkeepNeeded, bytes memory performData);

  /**
   * @notice method that is actually executed by the keepers, via the registry.
   * The data returned by the checkUpkeep simulation will be passed into
   * this method to actually be executed.
   * @dev The input to this method should not be trusted, and the caller of the
   * method should not even be restricted to any single registry. Anyone should
   * be able call it, and the input should be validated, there is no guarantee
   * that the data passed in is the performData returned from checkUpkeep. This
   * could happen due to malicious keepers, racing keepers, or simply a state
   * change while the performUpkeep transaction is waiting for confirmation.
   * Always validate the data passed in.
   * @param performData is the data which was passed back from the checkData
   * simulation. If it is encoded, it can easily be decoded into other types by
   * calling `abi.decode`. This data should not be trusted, and should be
   * validated against the contract's current state.
   */
  function performUpkeep(bytes calldata performData) external;
}

// File: @chainlink/contracts/src/v0.8/AutomationCompatible.sol


pragma solidity ^0.8.0;



abstract contract AutomationCompatible is AutomationBase, AutomationCompatibleInterface {}

// File: contracts/IKYCProvider.sol


pragma solidity ^0.8.27;

interface IKYCProvider {
    function isKycCompleted(address user) external view returns (bool);
}
// File: contracts/AppleTreeAPTESG.sol



pragma solidity ^0.8.30;









interface IWETH9 {
    function deposit() external payable;
    function withdraw(uint wad) external;
    function approve(address guy, uint wad) external returns (bool);
    function transfer(address dst, uint wad) external returns (bool);
}
contract AppleTree is ERC20, Ownable2Step, ReentrancyGuard, AccessControl, AutomationCompatibleInterface  {
    bytes32 private constant _AUTHORIZED_ROLE = keccak256("AUTHORIZED_ROLE");
    modifier onlyAuthorized() {
        require(hasRole(_AUTHORIZED_ROLE, msg.sender), "Caller isn't authorized");
        _;
    }
    bytes32 private constant _ADMIN_ROLE = keccak256("ADMIN_ROLE");
    modifier onlyAdmin() {
        require(hasRole(_ADMIN_ROLE, msg.sender), "Caller isn't admin");
        _;
    }
    modifier onlyESGCertifier() {
        require(msg.sender == certifier, "Not ESG certifier");
        _;
    }
    modifier onlyVerifiedInvestor() {
        require(verifiedInvestors[msg.sender], "user is not KYC verified");
        _;
    }
    modifier onlyCertifiedCompany() {
        require(companyData[msg.sender].isCertified, "Only certified companies allowed");
        _;
    }
    uint256 private constant DECIMALS_MULTIPLIER = 1e18;
    uint256 public maxSupply;
    uint256 public certificationFee = 100e18; // Fee for certification
    uint256 public transferFee = 1; // Transfer fee percentage (default: 1%)
    uint256 public totalBurnedTokens; // Tracks total burned tokens
    address public treasury; //Address for accumulaing transfer fees
    uint256 private constant _ADMIN_ACTION_DELAY = 1 days; // 1 day delay
    uint256 public lastDistributionTime;
    uint256 public lastCheckedIndex; // Indice dell'ultima posizione controllata
    uint256 private constant PROVIDER_CHANGE_DELAY = 1 days; // Ritardo temporale per cambiare provider KYC
    uint256 public requiredSignatures = 2; // Numero minimo di firme necessarie
    uint256 public kycFee;// Tariffa KYC
    uint256 public liquidityBonusBudget = 1_000_000 * DECIMALS_MULTIPLIER; // Budget for liquidity bonuses
    uint256 public stakingBonusBudget = 1_000_000 * DECIMALS_MULTIPLIER; // Budget for staking bonuses
    uint256 public certificationBonusBudget = 50_000 * DECIMALS_MULTIPLIER; // Budget for certification bonuses
    uint256 public treasuryBonusPercentage = 10; // Inizializzata al 10%
    uint256 public dailyRedemptionLimitPercentage = 30; // Daily redemption limit in percentage of contract balance
    uint256 public redeemedToday; // Tracks tokens redeemed today
    uint256 public lastRedemptionDay; // Tracks the last redemption day
    uint256 private constant _TRANSFER_DELAY = 24 hours;
    uint24 public poolFee;

    address public swapRouter; // Uniswap V3 Swap Router
    address public positionManager; // Uniswap V3 Position Manager
    address [] public certifiedCompaniesList;
    address public certifier; // Certifier role for certification management
    address public contractAddress;
    address [] public owners; // Lista degli indirizzi dei proprietari
    address public kycProvider; // Indirizzo del provider KYC autorizzato
    address public WETH9; // Indirizzo di WETH9 sulla rete di Arbitrum
    address public uniswapPool;
    // struct list
     struct OwnerData {
        bool isOwner; // Indica se è un proprietario
        uint256 lastUpdated; // Timestamp dell'ultimo aggiornamento
        }
    struct CompanyData {
        bool isCertified; // Indica se è una compagnia certificata
        uint256 feesPaid; // Quota di certificazione pagata
        }
    struct StakingData {
        uint256 startTime; // Timestamp di inizio staking
        uint256 amount; // Quantità di token in staking
        bool isVerified; // Indica se l'investitore è verificato
        }
    struct AdminAction {
        uint256 executeTime;
        uint256 confirmations; // Numero di conferme
        bool isActive;
        mapping(address => bool) confirmedBy; // Proprietari che hanno firmato
        }
    struct ProviderChangeRequest {
        address newProvider;
        uint256 changeTime;
        uint256 confirmations; // Numero di firme raccolte
        bool isActive;
        mapping(address => bool) confirmedBy; // Tieni traccia di chi ha firmato
        }
    struct VestingInfo {
        uint256 totalAmount;
        uint256 claimedAmount;
        uint256 startTime;
        uint256 lastClaimTime;
    }
    //mapping list
    mapping(bytes32 actionId => AdminAction action) public adminActions;
    mapping(address ownerAddress => OwnerData) public ownerData; // check if an address is an owner
    mapping(bytes32 key => mapping(address user => bool)) public confirmedBy;
    mapping(address user => bool isKycPaid) public kycPaid; // Mapping investitori che hanno pagato
    mapping(address user => StakingData data) public stakingData;
    mapping(address => uint256) public claimedBonus; // // Mappatura traccia bonus già ritirato da ogni utente
    mapping(address companyAddress => CompanyData) public companyData;
    mapping(bytes32 => ProviderChangeRequest) public pendingESGCertifierChanges; // Change ESG certification body
    mapping(address investor => bool isVerified) public verifiedInvestors; // Tracks verified investors
    mapping(bytes32 actionId => uint256 timestamp) public scheduledActions; // Planned administrative action
    mapping(bytes32 => ProviderChangeRequest) public pendingProviderChanges; // Mappatura per gestire più richieste
    mapping(address purchaser => uint256 amount) public tokensPurchased;
    mapping(address => uint256) public userBonuses;
    mapping(address => uint256) public depositTimestamp;
    mapping(address => bool) public authorizedBackends;
    mapping(address => VestingInfo) public vesting;
    mapping(address => uint256) public lastLiquidityProvided;
    error TreasuryAddressNotSet();
    // Events
    event KYCProviderUpdated(address indexed oldProvider, address indexed newProvider);
    event TreasuryUpdated(address indexed oldTreasury, address indexed newTreasury);
    event KYCFeePaid(address indexed investor, uint256 amount);
    event CompanyCertified(address indexed company);
    event CompanyDecertified(address indexed company);
    event CertificationRequested(address indexed company, uint256 feePaid);
    event CertificationFeeUpdated(uint256 oldFee, uint256 newFee);
    event ESGCertifierChangeRequested(bytes32 indexed requestId, address indexed newCertifier, uint256 changeTime);
    event ESGCertifierChangeConfirmed(bytes32 indexed requestId, address indexed confirmer);
    event ESGCertifierChangeExecuted(bytes32 indexed requestId, address indexed newCertifier);
    event RewardsDistributed(uint256 totalDistributed);
    event TreasuryBonusPercentageUpdated(uint256 oldPercentage, uint256 newPercentage);
    event TokensWithdrawn(address indexed recipient, uint256 amount);
    event TransferFeeUpdated(uint256 oldFee, uint256 newFee);
    event RewardIntervalUpdated(uint256 newInterval);
    event TokensBurned(address indexed burner, uint256 amount);
    event InvestorVerified(address indexed investor);
    event InvestorVerificationRevoked(address indexed investor);
    event Staked(address indexed user, uint256 amount, uint256 timestamp);
    event StakeWithdrawn(address indexed user, uint256 amount, uint256 timestamp);
    event StakingBonusGranted(address indexed user, uint256 bonus);
    event CertificationBonusGranted(address indexed company, uint256 tokenAmount);
    event OwnerWithdrawnFunds(uint256 amount);
    event OwnerShareTransferred(address indexed owner, uint256 ownerShare);
    event FeeCollected(address indexed sender, uint256 feeAmount, address feeRecipient);
    event LiquidityAdded(uint256 tokenAmount, uint256 ethAmount);
    event LiquidityProvided(address indexed investor, uint256 amount0Used, uint256 amount1Used, uint256 bonusTokens);
    event LiquidityBonusGranted(address indexed investor, uint256 tokenAmount);
    event BonusClaimed(address indexed user, uint256 amount);
    event AdminActionScheduled(bytes32 actionId, uint256 executeTime);
    event AdminActionExecuted(bytes32 actionId, address indexed executor, uint256 timestampp);
    event AdminActionConfirmed(bytes32 indexed actionId, address indexed confirmer);
    event AllBonusBudgetsChecked(uint256 liquidityBonus, uint256 stakingBonus, uint256 certificationBonus);
    event BackendUpdated(address indexed backend, bool isAuthorized);
    event KYCFeeUpdated(address indexed owner, uint256 newKycFee);
    event KYCRequestSent(address indexed trader, address indexed provider);
    event ProviderChangeRequested(bytes32 indexed requestId, address indexed newProvider, uint256 changeTime);
    event ProviderChangeConfirmed(bytes32 indexed requestId, address indexed confirmer);
    event ProviderChangeExecuted(bytes32 indexed requestId, address indexed newProvider);
    event TreasurySet(address indexed treasury);
    event TreasuryDistributed(uint256 totalAmount, uint256 totalCompanies);
    event OwnerAdded(address indexed newOwner);
    event OwnerRemoved(address indexed removedOwner);
    event RequiredSignaturesUpdated(uint256 newRequiredSignatures);
    event PoolAddressUpdated(address newPool);
    event PoolFeeUpdated(uint24 newFee);
    event TokensClaimed(address indexed user, uint256 amount);
    event FundsReceived(address indexed from, uint256 amount);
    event FundsWithdrawn(address indexed to, uint256 amount);

  constructor(
    uint256 _initialSupply,
    uint256 _maxSupply,
    address _swapRouter,
    address _positionManager,
    address _WETH9,
    address[] memory _owners,
    uint256 _requiredSignatures,
    address _treasury,
    uint256 _kycFee,
    address _initialCertifier
) payable ERC20("AppleTree", "APTESG") Ownable(_owners[0]) {
    require(_initialSupply < _maxSupply, "Init supply > max supply");
    require(_owners.length != 0, "At least one owner required");
    swapRouter = _swapRouter;
    positionManager = _positionManager;
    WETH9 = _WETH9;
    // Controllo numero minimo firme
    require(_requiredSignatures != 0, "Signatures must be > 0");
    require(_requiredSignatures < _owners.length + 1, "Signatures < owners+1");
    require(_requiredSignatures < _owners.length + 1, "Signatures > owners");
    // assegna il certifier ESG
    require(_initialCertifier != address(0), "Certifier address cannot be zero");
    certifier = _initialCertifier;
    // configura i ruoli di AccessControl
    _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
    _grantRole(_AUTHORIZED_ROLE, msg.sender);
    _grantRole(_ADMIN_ROLE, msg.sender);
    // Inizializza contractAddress con l'indirizzo del contratto
    address cachedAddress = address(this);
    contractAddress = cachedAddress;
    // Calcola la riserva del 40% dell'offerta iniziale
    uint256 reserveAmount = (_initialSupply * 40) / 100;
    uint256 circulatingSupply = _initialSupply - reserveAmount;
    // Mint dell'offerta iniziale
    _mint(_owners[0], circulatingSupply * DECIMALS_MULTIPLIER);
    _mint(contractAddress, reserveAmount * DECIMALS_MULTIPLIER);
    // Imposta il massimo dell'offerta
    maxSupply = _maxSupply * DECIMALS_MULTIPLIER;
    // inizializza treasury e kycFee
    require(_treasury != address(0), "Treasury address cannot be zero");
    treasury = _treasury;
    require(_kycFee != 0, "KYC fee must be > 0");
    kycFee = _kycFee;
    // Imposta il router di swap e il gestore delle posizioni
    swapRouter = _swapRouter;
    positionManager = _positionManager;
    // Configura il certificatore come il primo proprietario
    certifier = _owners[0];
    // Configura i proprietari iniziali
    uint256 ownersLength = _owners.length;
    uint256 maxIterations = 50;
    for (uint256 i = 0; i < ownersLength && i < maxIterations; ++i) {
        address owner = _owners[i];
        require(owner != address(0), "Invalid owner address");
        require(!ownerData[owner].isOwner, "Duplicate owner");
        ownerData[owner].isOwner = true;
        ownerData[owner].lastUpdated = block.timestamp;
        owners.push(owner);
    }
    requiredSignatures = _requiredSignatures;
    }
    /// function to monitor all bonuses
    function getAllBonusBudgets() external onlyAuthorized returns (
    uint256 liquidityBonus,
    uint256 stakingBonus,
    uint256 certificationBonus
    ) {
    uint256 _liquidityBonusBudget = liquidityBonusBudget;
    uint256 _stakingBonusBudget = stakingBonusBudget;
    uint256 _certificationBonusBudget = certificationBonusBudget;
    emit AllBonusBudgetsChecked(
        _liquidityBonusBudget,
        _stakingBonusBudget,
        _certificationBonusBudget
    );
    return (
        _liquidityBonusBudget,
        _stakingBonusBudget,
        _certificationBonusBudget
        );        
    }
    /// Funzione per pianificare un'azione amministrativa
    function scheduleAdminAction(bytes32 actionId) public onlyOwner {
    AdminAction storage action = adminActions[actionId];
    require(action.executeTime == 0, "Action already scheduled");
    action.executeTime = block.timestamp + _ADMIN_ACTION_DELAY;
    emit AdminActionScheduled(actionId, action.executeTime);
    }
    /// Conferma un'azione pianificata (multi-signature)
    function confirmAdminAction(bytes32 actionId) public onlyOwner {
    AdminAction storage action = adminActions[actionId];
    require(action.executeTime != 0, "Action not scheduled");
    require(!action.confirmedBy[msg.sender], "Already confirmed");
    require(block.timestamp < action.executeTime, "Action expired");
    action.confirmedBy[msg.sender] = true;
    action.confirmations += 1;  
    emit AdminActionConfirmed(actionId, msg.sender);
    }
    /// Esecuzione dell'azione amministrativa
    function executeAdminAction(bytes32 actionId) public onlyOwner {
    AdminAction storage action = adminActions[actionId];
    require(action.executeTime != 0, "Action not scheduled");
    require(block.timestamp > action.executeTime, "Action delay not elapsed");
    require(action.confirmations > requiredSignatures - 1, "Not enough confirmations");
    require(action.confirmedBy[msg.sender], "action not confirmed");
    // Cancella l'azione pianificata
    adminActions[actionId].isActive = false;
    emit AdminActionExecuted(actionId, msg.sender, block.timestamp);
    }
    // Modificatore per consentire l'accesso solo al provider KYC
    modifier onlyProvider() {
        require(msg.sender == kycProvider, "Not KYC provider");
        _;
    }
    // Funzione per impostare il provider KYC
    function setKYCProvider(address _provider) external payable onlyOwner {
    require(_provider != address(0), "Invalid address");
    if (kycProvider != _provider) {
        address oldProvider = kycProvider;
        kycProvider = _provider;
        emit KYCProviderUpdated(oldProvider, _provider);
        }
    }

    // Funzione per impostare il tesoro
   function setTreasury(address _treasury) external payable onlyOwner {
    require(_treasury != address(0), "Invalid treasury address");
    if (treasury != _treasury) {
        address oldTreasury = treasury;
        treasury = _treasury;
        emit TreasuryUpdated(oldTreasury, _treasury);
        }
    }

    // Funzione per impostare la tariffa KYC
    function setKYCFee(uint256 _kycFee) external payable onlyOwner {
    if (kycFee != _kycFee) {
        kycFee = _kycFee;
        emit KYCFeeUpdated(msg.sender, _kycFee);
        }
    }
   
    // funzione per convertire la tariffa kyc piu leggibile
    function getKYCFeeInETH() external view returns (string memory) {
    uint256 feeInWei = kycFee;
    uint256 integerPart = feeInWei / 1 ether; // Parte intera in ETH
    uint256 decimalPart = (feeInWei % 1 ether) / 1e14; // Primi 4 decimali

    return string(abi.encodePacked(
        uint2str(integerPart), ".",
        uint2str(decimalPart)
    ));
    }

    // Funzione di conversione da uint a string
    function uint2str(uint256 _i) internal pure returns (string memory) {
    if (_i == 0) return "0";
    uint256 j = _i;
    uint256 length;
    while (j != 0) {
        length++;
        j /= 10;
    }
    bytes memory bstr = new bytes(length);
    while (_i != 0) {
        length--;
        bstr[length] = bytes1(uint8(48 + _i % 10));
        _i /= 10;
    }
    return string(bstr);
}

    // Funzione per pagare la tariffa KYC
    function payForKYC() external payable nonReentrant {
    require(msg.value >= kycFee, "Insufficient KYC fee");
    require(!kycPaid[msg.sender], "KYC fee already paid");
    require(kycProvider != address(0), "KYC provider not set");
    require(treasury != address(0), "Treasury address not set");
    // Segna il trader come pagato
    kycPaid[msg.sender] = true;
    // Invia i fondi al treasury
    (bool success, ) = treasury.call{value: msg.value}("");
    require(success, "Transfer to treasury failed");
    // Il provider puo leggere la richiesta di verifica
    emit KYCRequestSent(msg.sender, kycProvider);
    // Emetti evento per il pagamento
    emit KYCFeePaid(msg.sender, msg.value);
    }
   
    /// @notice funzione per richiedere un nuovo provider KYC
    function requestKYCProviderChange(address newProvider) external onlyOwner {
    require(newProvider != address(0), "Invalid provider address");
    require(newProvider != kycProvider, "New provider must be different");
    bytes32 requestId = keccak256(abi.encodePacked(newProvider, block.timestamp));
    ProviderChangeRequest storage request = pendingProviderChanges[requestId];
    require(!request.isActive, "Request already active");
    request.newProvider = newProvider;
    request.changeTime = block.timestamp + PROVIDER_CHANGE_DELAY;
    request.isActive = true;
    request.confirmations = 0;
    require(block.timestamp > request.changeTime, "Change delay not yet elapsed");
    require(request.isActive, "Request not active");
    emit ProviderChangeRequested(requestId, newProvider, request.changeTime);
    }
    //  funzione per confermare il nuovo provider KYC
    function confirmKYCProviderChange(bytes32 requestId) external onlyOwner {
    ProviderChangeRequest storage request = pendingProviderChanges[requestId];
    require(request.isActive, "No active request");
    require(!request.confirmedBy[msg.sender], "Already confirmed");
    // Registra la conferma
    request.confirmedBy[msg.sender] = true;
    request.confirmations += 1;
    emit ProviderChangeConfirmed(requestId, msg.sender);
    }
    // esecuzione della richiesta
    function executeKYCProviderChange(bytes32 requestId) external onlyOwner {
    ProviderChangeRequest storage request = pendingProviderChanges[requestId];
    require(request.isActive, "No active request");
    require(request.confirmations > requiredSignatures - 1, "Not enough confirmations");
    require(block.timestamp > request.changeTime, "Change delay not elapsed");
    // Aggiorna il provider KYC
    kycProvider = request.newProvider;
    // Marca la richiesta come completata
    request.isActive = false;
    emit ProviderChangeExecuted(requestId, request.newProvider);
    }

    ///Funzione per gestire i backend
    function setAuthorizedBackend(address backend, bool isAuthorized) external onlyOwner {
    require(backend != address(0), "Invalid backend address");
    authorizedBackends[backend] = isAuthorized;
    emit BackendUpdated(backend, isAuthorized);
    }
   
    /// @notice Funzione per verificare automaticamente un investitore
    /// @notice Funzione per verificare o revocare la verifica di un investitore
    function verifyInvestor(address investor, bool isVerified) external {
    require(authorizedBackends[msg.sender], "caller is not authorized");
    require(investor != address(0), "Invalid investor address");
    require(kycPaid[investor], "KYC fee not paid");
    verifiedInvestors[investor] = isVerified;

    if (isVerified) {
        emit InvestorVerified(investor);
    } else {
        emit InvestorVerificationRevoked(investor);
        }
    }
    function confirmSetTreasury(address _treasury) external payable onlyOwner {
    bytes32 actionId = keccak256(abi.encodePacked("setTreasury", _treasury, block.timestamp));
    confirmAdminAction(actionId);
    emit TreasurySet(_treasury);
    }
    function executeSetTreasury(address _treasury) external onlyOwner {
    if (treasury != _treasury) { // Check if the new address is different
        bytes32 actionId = keccak256(abi.encodePacked("setTreasury", _treasury, block.timestamp));
        executeAdminAction(actionId);
        address oldTreasury = treasury; // Save the old treasury address
        treasury = _treasury; // Update the treasury address
        emit TreasuryUpdated(oldTreasury, _treasury);
        }
    }
    // funzione certifyCompany
    function certifyCompany(address company) external onlyESGCertifier {
    require(company != address(0), "Invalid company address");
    require(!companyData[company].isCertified, "Company is already certified");
    companyData[company].isCertified = true;
    companyData[company].feesPaid = certificationFee;
    certifiedCompaniesList.push(company);
    if (certifiedCompaniesList.length <= 50) {
        _grantCertificationBonus(company);
        }
    emit CompanyCertified(company);
    }

    // funzione per inviare richiesta cambio certificatore ESG
    function requestESGCertifierChange(address newCertifier) external onlyOwner {
    require(newCertifier != address(0), "Invalid certifier address");
    require(newCertifier != certifier, "New certifier must be different");
    bytes32 requestId = keccak256(abi.encodePacked(newCertifier, block.timestamp));
    ProviderChangeRequest storage request = pendingESGCertifierChanges[requestId];
    require(!request.isActive, "Request already active");
    request.newProvider = newCertifier;
    request.changeTime = block.timestamp + PROVIDER_CHANGE_DELAY;
    request.isActive = true;
    request.confirmations = 0;
    emit ESGCertifierChangeRequested(requestId, newCertifier, request.changeTime);
    }
    // funzione per confermare cambio certificatore ESG
    function confirmESGCertifierChange(bytes32 requestId) external onlyOwner {
    ProviderChangeRequest storage request = pendingESGCertifierChanges[requestId];
    require(request.isActive, "No active request");
    require(!request.confirmedBy[msg.sender], "Already confirmed");
    request.confirmedBy[msg.sender] = true;
    request.confirmations += 1;
    emit ESGCertifierChangeConfirmed(requestId, msg.sender);
    }
    // funzione esecuzione cambio certificatore ESG
    function executeESGCertifierChange(bytes32 requestId) external onlyOwner {
    ProviderChangeRequest storage request = pendingESGCertifierChanges[requestId];
    require(request.isActive, "No active request");
    require(request.confirmations > requiredSignatures - 1, "Not enough confirmations");
    require(block.timestamp > request.changeTime, "Change delay not elapsed");
    certifier = request.newProvider; // Aggiorna il certificatore
    request.isActive = false; // Disattiva la richiesta
    emit ESGCertifierChangeExecuted(requestId, request.newProvider);
    }
    // funzione bonus certifyCompany
    function _grantCertificationBonus(address company) internal {
    require(company != address(0), "Invalid company address");
    require(companyData[company].isCertified, "Company is not certified");
    require(certifiedCompaniesList.length < 51, "Limit reached");
    uint256 _budget = certificationBonusBudget; // Cache the storage variable
    require(_budget > 999 * DECIMALS_MULTIPLIER, "Budget too low");
    certificationBonusBudget = _budget - 1_000 * DECIMALS_MULTIPLIER; // Update the storage variable
    _mint(company, 1_000 * DECIMALS_MULTIPLIER);
    emit CertificationBonusGranted(company, 1_000 * DECIMALS_MULTIPLIER);
    }
    // funzione decertifyCompany
    function decertifyCompany(address company) external onlyESGCertifier {
    require(company != address(0), "Invalid company address");
    require(companyData[company].isCertified, "Company is not certified");
    address[] storage companiesList = certifiedCompaniesList;
    uint256 length = companiesList.length;
    require(length != 0, "No companies to decertify");
    uint256 maxIterations = 50; // Limite massimo di iterazioni per batch
    bool found = false;
    // Inizia il ciclo dal punto in cui si era fermato l'ultimo batch
    for (uint256 i = lastCheckedIndex; i < length && i < lastCheckedIndex + maxIterations; ++i) {
        if (companiesList[i] == company) {
            // Rimuove l'azienda trovata
            companiesList[i] = companiesList[length - 1];
            companiesList.pop();
            companyData[company].isCertified = false;
            found = true;
            emit CompanyDecertified(company);
            break;
        }
    }
    // Aggiorna l'indice per il prossimo batch
    if (!found) {
        lastCheckedIndex = (lastCheckedIndex + maxIterations) % length;
    } else {
        lastCheckedIndex = 0; // Resetta l'indice se l'azienda è stata trovata
        }
    }

    /// @notice Funzione per distribuire il 10% del tesoro alle aziende certificate in batch.
    function distributeTreasuryProportionally(uint256 batchSize) public nonReentrant onlyOwner {
    require(block.timestamp > lastDistributionTime + 365 days, "Annual distribution only");
    require(certifiedCompaniesList.length != 0, "No certified companies");
    require(batchSize != 0, "Batch size > 0");
    uint256 treasuryBalance = contractAddress.balance; // Saldo del contratto
    uint256 distributionAmount = (treasuryBalance * 10) / 100; // Calcola il 10% del saldo del tesoro
    uint256 totalCompanies = certifiedCompaniesList.length;
    uint256 totalTokensPurchased = 0;
    // Calcola il totale dei token acquistati in questo batch
    for (uint256 i = lastCheckedIndex; i < totalCompanies && i < lastCheckedIndex + batchSize; ++i) {
        totalTokensPurchased += tokensPurchased[certifiedCompaniesList[i]];
    }
    require(totalTokensPurchased != 0, "No tokens purchased by companies");
    // Distribuisci i fondi proporzionalmente
    uint256 startIndex = lastCheckedIndex;
    uint256 endIndex = startIndex + batchSize;
    if (endIndex >= totalCompanies) {
        endIndex = totalCompanies; // Limita l'indice alla lunghezza totale della lista
    }
    for (uint256 i = startIndex; i < endIndex; ++i) {
        address company = certifiedCompaniesList[i];
        uint256 companyShare = (tokensPurchased[company] * distributionAmount) / totalTokensPurchased;
        if (companyShare > 0) {
            payable(company).transfer(companyShare);
        }
    }
    // Aggiorna l'indice per il prossimo batch
    lastCheckedIndex = endIndex;
    if (endIndex == totalCompanies) {
        lastCheckedIndex = 0; // Resetta l'indice
        lastDistributionTime = block.timestamp; // Aggiorna il tempo di distribuzione
    }
    emit TreasuryDistributed(distributionAmount, totalCompanies);
    }
    /// @notice Funzione Keeper per verificare se l'upkeep è necessario.
    function checkUpkeep(bytes calldata checkData) external view override returns (bool upkeepNeeded, bytes memory performData) {
    uint256 treasuryBalance = contractAddress.balance;
    upkeepNeeded = (
        block.timestamp >= lastDistributionTime + 365 days &&
        certifiedCompaniesList.length > 0 &&
        treasuryBalance > 0
    );
    performData = checkData; // Può essere vuoto se non hai bisogno di dati aggiuntivi
    }
    /// @notice Funzione Keeper per eseguire l'upkeep.
    function performUpkeep(bytes calldata /*performData*/) external override {
    require(block.timestamp > lastDistributionTime + 365 days, "Interval not reached");
    require(certifiedCompaniesList.length != 0, "No certified companies");
    uint256 batchSize = 50; // Puoi definire un batch size fisso per l'automazione
    distributeTreasuryProportionally(batchSize);
    }
    // pianifica cambio percentuale di treasury da dare alle aziende
    function scheduleTreasuryBonusPercentageUpdate(uint256 newPercentage) external onlyOwner {
    require(newPercentage != 0 && newPercentage < 101, "Invalid percentage");
    bytes32 actionId = keccak256(abi.encodePacked("updateTreasuryBonusPercentage", newPercentage, block.timestamp));
    scheduleAdminAction(actionId);
    emit AdminActionScheduled(actionId, block.timestamp + 1 days); // Delay di 1 giorno
    }
    // conferma la nuova percentuale di treasury da dare alle aziende
    function confirmTreasuryBonusPercentageUpdate(uint256 newPercentage) external onlyOwner {
    bytes32 actionId = keccak256(abi.encodePacked("updateTreasuryBonusPercentage", newPercentage, block.timestamp));
    confirmAdminAction(actionId);
    emit AdminActionConfirmed(actionId, msg.sender);
    }
    // conferma nuova percentuale del treasury da dare alle aziende
    function executeTreasuryBonusPercentageUpdate(uint256 newPercentage) external onlyOwner {
    bytes32 actionId = keccak256(abi.encodePacked("updateTreasuryBonusPercentage", newPercentage, block.timestamp));
    executeAdminAction(actionId); // Controlla che l'azione abbia il numero di conferme richiesto
    uint256 oldPercentage = treasuryBonusPercentage;
    if (oldPercentage != newPercentage) {
        treasuryBonusPercentage = newPercentage;
        emit TreasuryBonusPercentageUpdated(oldPercentage, newPercentage);
        }
    }
    // Funzione per aggiornare la tassa di certificazione
    function setCertificationFee(uint256 newFee) external onlyESGCertifier {
    require(newFee > 0, "Certification fee must be greater than zero");
    uint256 oldFee = certificationFee; // Salva il valore attuale
    certificationFee = newFee; // Aggiorna la tassa
    emit CertificationFeeUpdated(oldFee, newFee); // Registra la modifica
    }
    // Funzione tassa di trasferimento solo per le aziende
    function transfer(address recipient, uint256 amount) public override returns (bool) {
    require(recipient != address(0), "Invalid recipient address");
    require(amount > 0, "Transfer amount must be greater than zero");
    uint256 fee = 0;
    uint256 burnAmount = 0;
    uint256 treasuryAmount = 0;
    // Se il mittente è un'azienda certificata, applica la tassa
    if (companyData[msg.sender].isCertified) {
        fee = (amount * transferFee) / 100; // Calcola la tassa (es. 3%)
        burnAmount = (fee * 50) / 100; // Brucia il 50% della tassa
        treasuryAmount = fee - burnAmount; // Il restante 50% va al treasury
    }

    uint256 amountAfterFee = amount - fee; // Importo netto trasferito

    // Brucia la parte della tassa
    if (burnAmount > 0) {
        _burn(msg.sender, burnAmount);
        totalBurnedTokens += burnAmount;
        emit TokensBurned(msg.sender, burnAmount);
    }
    // Trasferisci la parte della tassa al treasury
    if (treasuryAmount > 0 && treasury != address(0)) {
        _transfer(msg.sender, treasury, treasuryAmount);
        emit FeeCollected(msg.sender, treasuryAmount, treasury);
    }
    // Esegui il trasferimento netto al destinatario
    _transfer(msg.sender, recipient, amountAfterFee);
    return true;
    }

    // Funzione per modificare la tassa di trasferimento dedicato alle aziende certificate (da 0 a max 10%)
    function setTransferFee(uint256 newFee) external onlyOwner {
    require(newFee <= 10, "Fee too high"); // Limite massimo 10%
    uint256 oldFee = transferFee;
    transferFee = newFee;
    emit TransferFeeUpdated(oldFee, newFee);
    }

    //*************
    /// @notice Funzione per fornire liquidità con un bonus
    function provideLiquidity() external payable nonReentrant onlyVerifiedInvestor {
    require(msg.value > 0, "Must provide liquidity");

    // Calcola l'importo equivalente in APTESG basandosi sul prezzo attuale
    uint256 aptesgAmount = getEquivalentAptesgAmount(msg.value);
    require(balanceOf(address(this)) >= aptesgAmount, "Not enough APTESG in contract");

    // Calcola il bonus (10% dell'importo in APTESG)
    uint256 bonusAmount = (aptesgAmount * 10) / 100;
    require(liquidityBonusBudget >= bonusAmount, "Insufficient bonus budget");

    // Converti ETH in WETH
    IWETH9(WETH9).deposit{value: msg.value}();

    // Approva Uniswap Position Manager per trasferire WETH e APTESG
    IWETH9(WETH9).approve(positionManager, msg.value);
    _approve(address(this), positionManager, aptesgAmount);

    //*********
    // Determina quale token è token0/token1
address token0 = address(this) < WETH9 ? address(this) : WETH9;
address token1 = address(this) < WETH9 ? WETH9 : address(this);
uint256 amount0Desired = token0 == address(this) ? aptesgAmount : msg.value;
uint256 amount1Desired = token1 == WETH9 ? msg.value : aptesgAmount;

// Ottieni il tick corrente e calcola range ±300
(int24 currentTick, ) = getCurrentTick();
int24 tickSpacing = getTickSpacing(poolFee); // automatico in base alle fee
int24 tickLower = roundTick(currentTick - 300, tickSpacing);
int24 tickUpper = roundTick(currentTick + 300, tickSpacing);

// Prepara i parametri per Uniswap V3
INonfungiblePositionManager.MintParams memory params = INonfungiblePositionManager.MintParams({
    token0: token0,
    token1: token1,
    fee: poolFee,
    tickLower: tickLower,
    tickUpper: tickUpper,
    amount0Desired: amount0Desired,
    amount1Desired: amount1Desired,
    amount0Min: 0,
    amount1Min: 0,
    recipient: owner(),
    deadline: block.timestamp + 15 minutes
});
//**********

    // Chiama Uniswap per creare la posizione di liquidità
    (uint256 tokenId, , , ) = INonfungiblePositionManager(positionManager).mint(params);

    // Deduce il bonus dal budget
    liquidityBonusBudget -= bonusAmount;

    // Registra il bonus per il futuro riscatto
    userBonuses[msg.sender] = bonusAmount;
    depositTimestamp[msg.sender] = block.timestamp;

    // Invia in vesting all'utente l'equivalente in APTESG (senza il bonus)
    require(
    block.timestamp >= lastLiquidityProvided[msg.sender] + 30 days,
    "You can provide liquidity only once every 30 days"
    );
    // Registra i dati di vesting
    vesting[msg.sender] = VestingInfo({
    totalAmount: aptesgAmount + bonusAmount,
    claimedAmount: 0,
    startTime: block.timestamp,
    lastClaimTime: block.timestamp
    });
    lastLiquidityProvided[msg.sender] = block.timestamp;

    emit LiquidityProvided(msg.sender, msg.value, aptesgAmount, bonusAmount);
    }
    // funzione clain tokens per riirare il 2% al giorno
    function claimTokens() external nonReentrant onlyVerifiedInvestor {
    VestingInfo storage info = vesting[msg.sender];
    require(info.totalAmount > 0, "No vested tokens");
    // Calcola giorni trascorsi
    uint256 daysElapsed = (block.timestamp - info.lastClaimTime) / 1 days;
    require(daysElapsed > 0, "Claim once per day");
    // Max 2% al giorno
    uint256 dailyRate = (info.totalAmount * 2) / 100;
    uint256 amountToClaim = dailyRate * daysElapsed;
    // Limita al massimo non ancora reclamato
    uint256 remaining = info.totalAmount - info.claimedAmount;
    if (amountToClaim > remaining) {
        amountToClaim = remaining;
    }
    require(amountToClaim > 0, "Nothing to claim");

    info.claimedAmount += amountToClaim;
    info.lastClaimTime = block.timestamp;

    require(balanceOf(address(this)) >= amountToClaim, "Insufficient contract balance");
    _transfer(address(this), msg.sender, amountToClaim);

    emit TokensClaimed(msg.sender, amountToClaim);
}
   
    //funzione per ritirare il bonus dopo 30 giorni
    function claimLiquidityBonus() external nonReentrant onlyVerifiedInvestor {
    require(userBonuses[msg.sender] > 0, "No bonus available");
    require(block.timestamp >= depositTimestamp[msg.sender] + 30 days, "Bonus still locked");

    uint256 bonusAmount = userBonuses[msg.sender];

    // Resetta il bonus per evitare doppi riscatti
    userBonuses[msg.sender] = 0;

    // Controlliamo che il budget sia sufficiente
    require(liquidityBonusBudget >= bonusAmount, "Insufficient liquidity bonus budget");

    // Riduci il budget del bonus
    liquidityBonusBudget -= bonusAmount;

    // Trasferisce i token bonus all'utente
    require(balanceOf(address(this)) >= bonusAmount, "Insufficient contract balance");
    _transfer(address(this), msg.sender, bonusAmount);

    emit BonusClaimed(msg.sender, bonusAmount);
    }
   
   
    function updateUniswapPool(address newPool) external onlyOwner {
    require(newPool != address(0), "Invalid pool address");

    // Ottieni la fee del nuovo pool
    uint24 newFee = getPoolFee(newPool);
    require(newFee > 0, "Invalid pool fee");

    // Aggiorna il pool e la fee
    uniswapPool = newPool;
    poolFee = newFee;

    emit PoolAddressUpdated(newPool);
    }

    // funzione per ottenere le fee dal pool
    function getPoolFee(address pool) public view returns (uint24) {
    require(pool != address(0), "Pool address is invalid");
    return IUniswapV3Pool(pool).fee();
    }
   
    function getEquivalentAptesgAmount(uint256 ethAmount) public view returns (uint256) {
    uint256 price = getPriceFromUniswap();
    require(price != 0, "Avoid division by zero");
    return (ethAmount * DECIMALS_MULTIPLIER) / price;
    }
   
    function getPriceFromUniswap() public view returns (uint256) {
    address pool = uniswapPool;
    require(pool != address(0), "Uniswap pool not set");

    (uint160 sqrtPriceX96, , , , , , ) = IUniswapV3Pool(pool).slot0();
    return uint256(sqrtPriceX96) * uint256(sqrtPriceX96) * 1e18 >> (96 * 2);
    }

     function getCurrentTick() internal view returns (int24 tick, uint160 sqrtPriceX96) {
        require(uniswapPool != address(0), "Pool not set");
        (sqrtPriceX96, tick, , , , , ) = IUniswapV3Pool(uniswapPool).slot0();
    }

    function roundTick(int24 tick, int24 spacing) internal pure returns (int24) {
        int24 remainder = tick % spacing;
        return tick - remainder;
    }

    function getTickSpacing(uint24 fee) internal pure returns (int24) {
        if (fee == 100) return 1; // 0.01%
        if (fee == 500) return 10; // 0.05%
        if (fee == 3000) return 60; // 0.3%
        if (fee == 10000) return 200; // 1%
        revert("Unsupported fee tier");
    }
    //************************

    /// @notice funzione di staking con bonus
    function stakeTokens(uint256 amount) external onlyVerifiedInvestor {
    require(amount != 0, "Amount must be greater than 0");
    require(balanceOf(msg.sender) >= amount, "Insufficient balance");
    // Transfer tokens to the contract
    _transfer(msg.sender, address(this), amount);
    // Cache staking data in memory
    StakingData storage data = stakingData[msg.sender];
    // Register staking data
    data.startTime = block.timestamp;
    data.amount += amount;
    data.isVerified = true; // Assume all stakers are verified
    emit Staked(msg.sender, amount, block.timestamp);
    }
    //funzione per ritirare lo staking
    function withdrawStake(uint256 amount) external onlyVerifiedInvestor {
    require(amount > 0, "Amount must be greater than 0");
    StakingData storage userStakingData = stakingData[msg.sender];

    require(userStakingData.amount >= amount, "Insufficient staked amount");

    uint256 penalty = 0;
    uint256 stakingDuration = block.timestamp - userStakingData.startTime;
    uint256 bonusAmount = (userStakingData.amount * 10) / 100; // Bonus del 10% totale

    // Penalità applicata solo al bonus
    if (stakingDuration < 90 days) {
        penalty = bonusAmount; // Perdi il 100% del bonus
    } else if (stakingDuration < 180 days) {
        penalty = (bonusAmount * 70) / 100; // Perdi il 70% del bonus
    } else if (stakingDuration < 270 days) {
        penalty = (bonusAmount * 50) / 100; // Perdi il 50% del bonus
    } else if (stakingDuration < 365 days) {
        penalty = (bonusAmount * 25) / 100; // Perdi il 25% del bonus
    }

    uint256 remainingBonus = bonusAmount - penalty; // Bonus effettivamente ricevuto

    // Brucia solo la penalità sul bonus
    if (penalty > 0) {
        _burn(msg.sender, penalty);
    }

    // Riduci solo l'importo in staking, senza toccare il principale
    userStakingData.amount -= amount;

    // Trasferisce i token principali dell'utente senza modifiche
    _transfer(address(this), msg.sender, amount);

    // Se rimane un bonus, lo accreditiamo all'utente
    if (remainingBonus > 0) {
        _mint(msg.sender, remainingBonus);
    }

    emit StakeWithdrawn(msg.sender, amount, block.timestamp);
    }
   
    // funzione per richiedere il bonus
    function claimStakingBonus() external onlyVerifiedInvestor {
    StakingData storage userStakingData = stakingData[msg.sender];
    require(userStakingData.amount != 0, "No staked tokens");

    uint256 stakingDuration = block.timestamp - userStakingData.startTime;
    uint256 totalBonus = (userStakingData.amount * 10) / 100; // Il bonus massimo è il 10% dello stake
    uint256 claimableBonus = 0;

    // Calcoliamo la percentuale di bonus disponibile in base ai giorni di staking
    if (stakingDuration >= 365 days) {
        claimableBonus = totalBonus; // 100% dopo 12 mesi
    } else if (stakingDuration >= 270 days) {
        claimableBonus = (totalBonus * 75) / 100; // 75% dopo 9 mesi
    } else if (stakingDuration >= 180 days) {
        claimableBonus = (totalBonus * 50) / 100; // 50% dopo 6 mesi
    } else if (stakingDuration >= 90 days) {
        claimableBonus = (totalBonus * 30) / 100; // 30% dopo 3 mesi
    } else {
        revert("Bonus not yet available"); // Se è meno di 3 mesi, niente bonus
    }

    // Calcoliamo quanto bonus è ancora disponibile per l'utente
    uint256 remainingBonus = claimableBonus - claimedBonus[msg.sender];
    require(remainingBonus > 0, "No new bonus to claim");

    require(stakingBonusBudget >= remainingBonus, "Insufficient bonus budget");
   
    // Aggiorniamo il totale del bonus già ritirato dall'utente
    claimedBonus[msg.sender] += remainingBonus;
   
    stakingBonusBudget -= remainingBonus;
    _mint(msg.sender, remainingBonus);

    emit StakingBonusGranted(msg.sender, remainingBonus);
    }
    function getRemainingStakingBonus() external view returns (uint256) {
    return stakingBonusBudget;
    }

    // funzione per inviare e prelevare fondi dal contratto
    function depositToContract() external payable onlyOwner {
    require(msg.value > 0, "Must send ETH");
    emit FundsReceived(msg.sender, msg.value);
    }
    function withdrawFromContract(uint256 amount, address payable to) external onlyOwner {
    require(to != address(0), "Invalid recipient");
    require(amount <= address(this).balance, "Insufficient contract balance");

    to.transfer(amount);
    emit FundsWithdrawn(to, amount);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"uint256","name":"_initialSupply","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"address","name":"_swapRouter","type":"address"},{"internalType":"address","name":"_positionManager","type":"address"},{"internalType":"address","name":"_WETH9","type":"address"},{"internalType":"address[]","name":"_owners","type":"address[]"},{"internalType":"uint256","name":"_requiredSignatures","type":"uint256"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"uint256","name":"_kycFee","type":"uint256"},{"internalType":"address","name":"_initialCertifier","type":"address"}],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"TreasuryAddressNotSet","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"actionId","type":"bytes32"},{"indexed":true,"internalType":"address","name":"confirmer","type":"address"}],"name":"AdminActionConfirmed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"actionId","type":"bytes32"},{"indexed":true,"internalType":"address","name":"executor","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestampp","type":"uint256"}],"name":"AdminActionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"actionId","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"executeTime","type":"uint256"}],"name":"AdminActionScheduled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"liquidityBonus","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"stakingBonus","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"certificationBonus","type":"uint256"}],"name":"AllBonusBudgetsChecked","type":"event"},{"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":"backend","type":"address"},{"indexed":false,"internalType":"bool","name":"isAuthorized","type":"bool"}],"name":"BackendUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"BonusClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"company","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"CertificationBonusGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"CertificationFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"company","type":"address"},{"indexed":false,"internalType":"uint256","name":"feePaid","type":"uint256"}],"name":"CertificationRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"company","type":"address"}],"name":"CompanyCertified","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"company","type":"address"}],"name":"CompanyDecertified","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"requestId","type":"bytes32"},{"indexed":true,"internalType":"address","name":"confirmer","type":"address"}],"name":"ESGCertifierChangeConfirmed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"requestId","type":"bytes32"},{"indexed":true,"internalType":"address","name":"newCertifier","type":"address"}],"name":"ESGCertifierChangeExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"requestId","type":"bytes32"},{"indexed":true,"internalType":"address","name":"newCertifier","type":"address"},{"indexed":false,"internalType":"uint256","name":"changeTime","type":"uint256"}],"name":"ESGCertifierChangeRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"feeAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"feeRecipient","type":"address"}],"name":"FeeCollected","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FundsReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FundsWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"investor","type":"address"}],"name":"InvestorVerificationRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"investor","type":"address"}],"name":"InvestorVerified","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"investor","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"KYCFeePaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"newKycFee","type":"uint256"}],"name":"KYCFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldProvider","type":"address"},{"indexed":true,"internalType":"address","name":"newProvider","type":"address"}],"name":"KYCProviderUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"trader","type":"address"},{"indexed":true,"internalType":"address","name":"provider","type":"address"}],"name":"KYCRequestSent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"LiquidityAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"investor","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"LiquidityBonusGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"investor","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0Used","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1Used","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bonusTokens","type":"uint256"}],"name":"LiquidityProvided","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"removedOwner","type":"address"}],"name":"OwnerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"ownerShare","type":"uint256"}],"name":"OwnerShareTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OwnerWithdrawnFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":"address","name":"newPool","type":"address"}],"name":"PoolAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint24","name":"newFee","type":"uint24"}],"name":"PoolFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"requestId","type":"bytes32"},{"indexed":true,"internalType":"address","name":"confirmer","type":"address"}],"name":"ProviderChangeConfirmed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"requestId","type":"bytes32"},{"indexed":true,"internalType":"address","name":"newProvider","type":"address"}],"name":"ProviderChangeExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"requestId","type":"bytes32"},{"indexed":true,"internalType":"address","name":"newProvider","type":"address"},{"indexed":false,"internalType":"uint256","name":"changeTime","type":"uint256"}],"name":"ProviderChangeRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newRequiredSignatures","type":"uint256"}],"name":"RequiredSignaturesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newInterval","type":"uint256"}],"name":"RewardIntervalUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalDistributed","type":"uint256"}],"name":"RewardsDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"StakeWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"bonus","type":"uint256"}],"name":"StakingBonusGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"burner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensWithdrawn","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"TransferFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldPercentage","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"TreasuryBonusPercentageUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalCompanies","type":"uint256"}],"name":"TreasuryDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"treasury","type":"address"}],"name":"TreasurySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldTreasury","type":"address"},{"indexed":true,"internalType":"address","name":"newTreasury","type":"address"}],"name":"TreasuryUpdated","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH9","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"actionId","type":"bytes32"}],"name":"adminActions","outputs":[{"internalType":"uint256","name":"executeTime","type":"uint256"},{"internalType":"uint256","name":"confirmations","type":"uint256"},{"internalType":"bool","name":"isActive","type":"bool"}],"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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"authorizedBackends","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":"certificationBonusBudget","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"certificationFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"certifiedCompaniesList","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"certifier","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"company","type":"address"}],"name":"certifyCompany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"checkData","type":"bytes"}],"name":"checkUpkeep","outputs":[{"internalType":"bool","name":"upkeepNeeded","type":"bool"},{"internalType":"bytes","name":"performData","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimLiquidityBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimStakingBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"companyAddress","type":"address"}],"name":"companyData","outputs":[{"internalType":"bool","name":"isCertified","type":"bool"},{"internalType":"uint256","name":"feesPaid","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"actionId","type":"bytes32"}],"name":"confirmAdminAction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"name":"confirmESGCertifierChange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"name":"confirmKYCProviderChange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"confirmSetTreasury","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"confirmTreasuryBonusPercentageUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"key","type":"bytes32"},{"internalType":"address","name":"user","type":"address"}],"name":"confirmedBy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dailyRedemptionLimitPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"company","type":"address"}],"name":"decertifyCompany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"depositTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositToContract","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"batchSize","type":"uint256"}],"name":"distributeTreasuryProportionally","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"actionId","type":"bytes32"}],"name":"executeAdminAction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"name":"executeESGCertifierChange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"name":"executeKYCProviderChange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"executeSetTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"executeTreasuryBonusPercentageUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllBonusBudgets","outputs":[{"internalType":"uint256","name":"liquidityBonus","type":"uint256"},{"internalType":"uint256","name":"stakingBonus","type":"uint256"},{"internalType":"uint256","name":"certificationBonus","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"getEquivalentAptesgAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getKYCFeeInETH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"getPoolFee","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPriceFromUniswap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRemainingStakingBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kycFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"kycPaid","outputs":[{"internalType":"bool","name":"isKycPaid","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kycProvider","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastCheckedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastDistributionTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastLiquidityProvided","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastRedemptionDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityBonusBudget","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","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":"address","name":"ownerAddress","type":"address"}],"name":"ownerData","outputs":[{"internalType":"bool","name":"isOwner","type":"bool"},{"internalType":"uint256","name":"lastUpdated","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"owners","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payForKYC","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"pendingESGCertifierChanges","outputs":[{"internalType":"address","name":"newProvider","type":"address"},{"internalType":"uint256","name":"changeTime","type":"uint256"},{"internalType":"uint256","name":"confirmations","type":"uint256"},{"internalType":"bool","name":"isActive","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"pendingProviderChanges","outputs":[{"internalType":"address","name":"newProvider","type":"address"},{"internalType":"uint256","name":"changeTime","type":"uint256"},{"internalType":"uint256","name":"confirmations","type":"uint256"},{"internalType":"bool","name":"isActive","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"performUpkeep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"poolFee","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"positionManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provideLiquidity","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"redeemedToday","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newCertifier","type":"address"}],"name":"requestESGCertifierChange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newProvider","type":"address"}],"name":"requestKYCProviderChange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"requiredSignatures","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"actionId","type":"bytes32"}],"name":"scheduleAdminAction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"scheduleTreasuryBonusPercentageUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"actionId","type":"bytes32"}],"name":"scheduledActions","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"backend","type":"address"},{"internalType":"bool","name":"isAuthorized","type":"bool"}],"name":"setAuthorizedBackend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"setCertificationFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_kycFee","type":"uint256"}],"name":"setKYCFee","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_provider","type":"address"}],"name":"setKYCProvider","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"setTransferFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stakeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingBonusBudget","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"stakingData","outputs":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"isVerified","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"purchaser","type":"address"}],"name":"tokensPurchased","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurnedTokens","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":[],"name":"transferFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryBonusPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newPool","type":"address"}],"name":"updateUniswapPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userBonuses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"investor","type":"address"}],"name":"verifiedInvestors","outputs":[{"internalType":"bool","name":"isVerified","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"investor","type":"address"},{"internalType":"bool","name":"isVerified","type":"bool"}],"name":"verifyInvestor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vesting","outputs":[{"internalType":"uint256","name":"totalAmount","type":"uint256"},{"internalType":"uint256","name":"claimedAmount","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"lastClaimTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawFromContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawStake","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405268056bc75e2d63100000600a556001600b556002601055610030670de0b6b3a7640000620f4240610a0b565b601255610048670de0b6b3a7640000620f4240610a0b565b60135561005f670de0b6b3a764000061c350610a0b565b601455600a601555601e601655604051616c51380380616c5183398101604081905261008a91610a51565b845f8151811061009c5761009c610b99565b6020026020010151604051806040016040528060098152602001684170706c655472656560b81b8152506040518060400160405280600681526020016541505445534760d01b81525081600390816100f49190610c31565b5060046101018282610c31565b5050506001600160a01b03811661013257604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b61013b8161077f565b506001600755888a106101905760405162461bcd60e51b815260206004820152601860248201527f496e697420737570706c79203e206d617820737570706c7900000000000000006044820152606401610129565b84515f036101e05760405162461bcd60e51b815260206004820152601b60248201527f4174206c65617374206f6e65206f776e657220726571756972656400000000006044820152606401610129565b601980546001600160a01b03808b166301000000026301000000600160b81b031990921691909117909155601a80548983166001600160a01b03199182161790915560208054928916929091169190911790555f8490036102835760405162461bcd60e51b815260206004820152601660248201527f5369676e617475726573206d757374206265203e2030000000000000000000006044820152606401610129565b8451610290906001610ceb565b84106102de5760405162461bcd60e51b815260206004820152601560248201527f5369676e617475726573203c206f776e6572732b3100000000000000000000006044820152606401610129565b84516102eb906001610ceb565b84106103395760405162461bcd60e51b815260206004820152601360248201527f5369676e617475726573203e206f776e657273000000000000000000000000006044820152606401610129565b6001600160a01b03811661038f5760405162461bcd60e51b815260206004820181905260248201527f43657274696669657220616464726573732063616e6e6f74206265207a65726f6044820152606401610129565b601c80546001600160a01b0319166001600160a01b0383161790556103b45f3361079b565b506103df7f0393b4c1b6519e8b53ae0efa1ab522060a3b9f8d86d09c8a22ca6d6eea735cf73361079b565b5061040a7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217753361079b565b50601d80546001600160a01b031916309081179091555f606461042e8d6028610a0b565b6104389190610cfe565b90505f610445828e610d1d565b905061047d885f8151811061045c5761045c610b99565b6020026020010151670de0b6b3a7640000836104789190610a0b565b610848565b601d5461049f906001600160a01b0316610478670de0b6b3a764000085610a0b565b6104b1670de0b6b3a76400008d610a0b565b6009556001600160a01b03861661050a5760405162461bcd60e51b815260206004820152601f60248201527f547265617375727920616464726573732063616e6e6f74206265207a65726f006044820152606401610129565b600d80546001600160a01b0319166001600160a01b0388161790555f8590036105755760405162461bcd60e51b815260206004820152601360248201527f4b594320666565206d757374206265203e2030000000000000000000000000006044820152606401610129565b6011859055601980546301000000600160b81b03191663010000006001600160a01b038e81169190910291909117909155601a80546001600160a01b031916918c16919091179055875188905f906105cf576105cf610b99565b6020908102919091010151601c80546001600160a01b0319166001600160a01b03909216919091179055875160325f5b828110801561060d57508181105b15610764575f8b828151811061062557610625610b99565b602002602001015190505f6001600160a01b0316816001600160a01b0316036106905760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206f776e6572206164647265737300000000000000000000006044820152606401610129565b6001600160a01b0381165f9081526023602052604090205460ff16156106ea5760405162461bcd60e51b815260206004820152600f60248201526e223ab83634b1b0ba329037bbb732b960891b6044820152606401610129565b6001600160a01b03165f818152602360205260408120805460ff1916600190811782554291810191909155601e805491820181559091527f50bb669a95c7b50b7e8a6f09454034b2b14cf2b85c730dca9a539ca82cb6e3500180546001600160a01b031916909117905561075d81610d30565b90506105ff565b50505060109690965550610d489a5050505050505050505050565b600680546001600160a01b031916905561079881610880565b50565b5f8281526008602090815260408083206001600160a01b038516845290915281205460ff1661083f575f8381526008602090815260408083206001600160a01b03861684529091529020805460ff191660011790556107f73390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610842565b505f5b92915050565b6001600160a01b0382166108715760405163ec442f0560e01b81525f6004820152602401610129565b61087c5f83836108d1565b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0383166108fb578060025f8282546108f09190610ceb565b9091555061096b9050565b6001600160a01b0383165f908152602081905260409020548181101561094d5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610129565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610987576002805482900390556109a5565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516109ea91815260200190565b60405180910390a3505050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610842576108426109f7565b80516001600160a01b0381168114610a38575f5ffd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f5f5f5f5f5f5f5f5f5f6101408b8d031215610a6b575f5ffd5b8a5160208c0151909a509850610a8360408c01610a22565b9750610a9160608c01610a22565b9650610a9f60808c01610a22565b60a08c01519096506001600160401b03811115610aba575f5ffd5b8b01601f81018d13610aca575f5ffd5b80516001600160401b03811115610ae357610ae3610a3d565b604051600582901b603f01601f191681016001600160401b0381118282101715610b0f57610b0f610a3d565b604052818152602060059290921b830182019181018f831115610b30575f5ffd5b6020840193505b82841015610b5657610b4884610a22565b815260209384019301610b37565b5060c08e01519097509550610b7091505060e08c01610a22565b6101008c01519093509150610b886101208c01610a22565b90509295989b9194979a5092959850565b634e487b7160e01b5f52603260045260245ffd5b600181811c90821680610bc157607f821691505b602082108103610bdf57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610c2c57805f5260205f20601f840160051c81016020851015610c0a5750805b601f840160051c820191505b81811015610c29575f8155600101610c16565b50505b505050565b81516001600160401b03811115610c4a57610c4a610a3d565b610c5e81610c588454610bad565b84610be5565b6020601f821160018114610c90575f8315610c795750848201515b5f19600385901b1c1916600184901b178455610c29565b5f84815260208120601f198516915b82811015610cbf5787850151825560209485019460019092019101610c9f565b5084821015610cdc57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b80820180821115610842576108426109f7565b5f82610d1857634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610842576108426109f7565b5f60018201610d4157610d416109f7565b5060010190565b615efc80610d555f395ff3fe608060405260043610610617575f3560e01c806379ba50971161031b578063c24366f0116101ae578063e712a35d116100fd578063f2fde38b1161009d578063fca7788611610078578063fca77886146113a9578063fd03dee8146113be578063ff347c5e146113dd578063ffe6daab146113fc575f5ffd5b8063f2fde38b14611357578063f6b4dfb414611376578063f76c31ac14611395575f5ffd5b8063f02cbadc116100d8578063f02cbadc146112e7578063f0f4426014611306578063f22049c614611319578063f23b488414611338575f5ffd5b8063e712a35d1461122f578063eca511391461125d578063ef3dfd941461129a575f5ffd5b8063d80b57bf11610168578063e137ec4011610143578063e137ec4014611143578063e30c397814611158578063e388c42314611175578063e4df85e0146111d5575f5ffd5b8063d80b57bf146110d5578063dc3b8259146110ea578063dd62ed3e146110ff575f5ffd5b8063c24366f01461104b578063c31c9c071461105e578063c8b5305014611084578063c8f781c214611099578063d547741f146110a1578063d5abeb01146110c0575f5ffd5b80639e18bf321161026a578063a9059cbb11610224578063b145271b116101ff578063b145271b14610fa7578063b536271f14610fd5578063b83a13f41461100d578063bdd3d8251461102c575f5ffd5b8063a9059cbb14610f5e578063acb2ad6f14610f7d578063acd8834914610f92575f5ffd5b80639e18bf3214610ea15780639ffcb10714610ef0578063a217fddf14610f05578063a26c786f14610f18578063a54cc71014610f37578063a633254214610f3f575f5ffd5b80638f106ff4116102d557806394a9d6f8116102b057806394a9d6f814610e4657806395d89b4114610e5b5780639605f50514610e6f578063983ce99814610e8e575f5ffd5b80638f106ff414610df357806391d1485414610e125780639404d5a614610e31575f5ffd5b806379ba509714610d5c57806385cb436a14610d7057806386a3ee8914610d8f5780638d06804314610da25780638da5cb5b14610db75780638f02bb5b14610dd4575f5ffd5b8063437dfb53116104ad5780635b0dac43116103fc57806372b4417e1161039c5780637547c7a3116103775780637547c7a314610cea57806375b1735014610d0957806378c3612914610d1e578063791b98bc14610d3d575f5ffd5b806372b4417e14610c8857806373f8599614610cb7578063743d320c14610cd6575f5ffd5b806361d027b3116103d757806361d027b314610bf45780636e04ff0d14610c1357806370a0823114610c40578063715018a614610c74575f5ffd5b80635b0dac4314610bb85780635db5f06014610bd757806360c97b2214610bec575f5ffd5b806348c54b9d116104675780635138a185116104425780635138a18514610ae0578063530ca9f914610b0b578063555f323a14610b845780635958aa3c14610b99575f5ffd5b806348c54b9d14610a8e5780634aa4a4fc14610aa25780634fb37f3c14610ac1575f5ffd5b8063437dfb53146109d3578063449e66ec146109f25780634585e33b14610a1157806346b00d0414610a3057806346cb48e114610a5b57806347b610f514610a6f575f5ffd5b806323b872dd11610569578063328f69361161052357806339ab0fb6116104fe57806339ab0fb61461094b5780634084dc311461096a57806342fa8c831461098957806342fcc6fb146109b4575f5ffd5b8063328f6936146108c557806334a5b4aa146108f357806336568abe1461092c575f5ffd5b806323b872dd146107f4578063248a9ca31461081357806325d5971f146108415780632ad92740146108605780632f2ff15d1461088b578063313ce567146108aa575f5ffd5b80630c2a4f74116105d457806316fc4f04116105af57806316fc4f041461078d578063171d99ab146107a157806318160ddd146107cc5780631c9ad2a1146107e0575f5ffd5b80630c2a4f7414610716578063120c7efd146107355780631659375214610754575f5ffd5b806301ffc9a71461061b578063025e7c271461064f57806306fdde0314610686578063089fe6aa146106a7578063092f31ba146106d6578063095ea7b3146106f7575b5f5ffd5b348015610626575f5ffd5b5061063a6106353660046156fd565b61141b565b60405190151581526020015b60405180910390f35b34801561065a575f5ffd5b5061066e610669366004615724565b611451565b6040516001600160a01b039091168152602001610646565b348015610691575f5ffd5b5061069a611479565b6040516106469190615769565b3480156106b2575f5ffd5b506019546106c29062ffffff1681565b60405162ffffff9091168152602001610646565b3480156106e1575f5ffd5b506106f56106f0366004615724565b611509565b005b348015610702575f5ffd5b5061063a61071136600461578f565b6115e7565b348015610721575f5ffd5b506106f5610730366004615724565b6115fe565b348015610740575f5ffd5b50601c5461066e906001600160a01b031681565b34801561075f575f5ffd5b5061077f61076e3660046157b9565b60326020525f908152604090205481565b604051908152602001610646565b348015610798575f5ffd5b5061069a611794565b3480156107ac575f5ffd5b5061077f6107bb3660046157b9565b602e6020525f908152604090205481565b3480156107d7575f5ffd5b5060025461077f565b3480156107eb575f5ffd5b506106f561180f565b3480156107ff575f5ffd5b5061063a61080e3660046157d4565b611aa6565b34801561081e575f5ffd5b5061077f61082d366004615724565b5f9081526008602052604090206001015490565b34801561084c575f5ffd5b506106f561085b366004615724565b611ac9565b34801561086b575f5ffd5b5061077f61087a3660046157b9565b602d6020525f908152604090205481565b348015610896575f5ffd5b506106f56108a5366004615812565b611ce8565b3480156108b5575f5ffd5b5060405160128152602001610646565b3480156108d0575f5ffd5b5061063a6108df3660046157b9565b602a6020525f908152604090205460ff1681565b3480156108fe575f5ffd5b5061063a61090d366004615812565b602460209081525f928352604080842090915290825290205460ff1681565b348015610937575f5ffd5b506106f5610946366004615812565b611d12565b348015610956575f5ffd5b506106f56109653660046157b9565b611d4a565b348015610975575f5ffd5b506106f5610984366004615724565b611e53565b348015610994575f5ffd5b5061077f6109a33660046157b9565b60276020525f908152604090205481565b3480156109bf575f5ffd5b506106c26109ce3660046157b9565b611f68565b3480156109de575f5ffd5b506106f56109ed366004615724565b61201f565b3480156109fd575f5ffd5b506106f5610a0c3660046157b9565b612134565b348015610a1c575f5ffd5b506106f5610a2b366004615840565b6123ae565b348015610a3b575f5ffd5b5061077f610a4a3660046157b9565b602f6020525f908152604090205481565b348015610a66575f5ffd5b5061077f612459565b348015610a7a575f5ffd5b506106f5610a89366004615724565b61254f565b348015610a99575f5ffd5b506106f561285e565b348015610aad575f5ffd5b5060205461066e906001600160a01b031681565b348015610acc575f5ffd5b506106f5610adb3660046158bb565b612a74565b348015610aeb575f5ffd5b5061077f610afa366004615724565b602b6020525f908152604090205481565b348015610b16575f5ffd5b50610b58610b25366004615724565b602c6020525f908152604090208054600182015460028301546003909301546001600160a01b0390921692909160ff1684565b604080516001600160a01b03909516855260208501939093529183015215156060820152608001610646565b348015610b8f575f5ffd5b5061077f600c5481565b348015610ba4575f5ffd5b506106f5610bb33660046158bb565b612b29565b348015610bc3575f5ffd5b506106f5610bd23660046157b9565b612cd2565b348015610be2575f5ffd5b5061077f60185481565b6106f5612ea5565b348015610bff575f5ffd5b50600d5461066e906001600160a01b031681565b348015610c1e575f5ffd5b50610c32610c2d366004615840565b6134a1565b6040516106469291906158e7565b348015610c4b575f5ffd5b5061077f610c5a3660046157b9565b6001600160a01b03165f9081526020819052604090205490565b348015610c7f575f5ffd5b506106f5613525565b348015610c93575f5ffd5b50610c9c613536565b60408051938452602084019290925290820152606001610646565b348015610cc2575f5ffd5b5061077f610cd1366004615724565b613605565b348015610ce1575f5ffd5b506106f561367d565b348015610cf5575f5ffd5b506106f5610d04366004615724565b613864565b348015610d14575f5ffd5b5061077f600e5481565b348015610d29575f5ffd5b506106f5610d38366004615724565b6139b2565b348015610d48575f5ffd5b50601a5461066e906001600160a01b031681565b348015610d67575f5ffd5b506106f5613a5d565b348015610d7b575f5ffd5b506106f5610d8a3660046157b9565b613a9e565b6106f5610d9d366004615724565b613b42565b348015610dad575f5ffd5b5061077f60105481565b348015610dc2575f5ffd5b506005546001600160a01b031661066e565b348015610ddf575f5ffd5b506106f5610dee366004615724565b613b90565b348015610dfe575f5ffd5b506106f5610e0d366004615724565b613c16565b348015610e1d575f5ffd5b5061063a610e2c366004615812565b613ce1565b348015610e3c575f5ffd5b5061077f60145481565b348015610e51575f5ffd5b5061077f60165481565b348015610e66575f5ffd5b5061069a613d0b565b348015610e7a575f5ffd5b506106f5610e89366004615812565b613d1a565b6106f5610e9c3660046157b9565b613dfb565b348015610eac575f5ffd5b50610ed9610ebb3660046157b9565b60286020525f90815260409020805460019091015460ff9091169082565b604080519215158352602083019190915201610646565b348015610efb575f5ffd5b5061077f60155481565b348015610f10575f5ffd5b5061077f5f81565b348015610f23575f5ffd5b50601f5461066e906001600160a01b031681565b6106f5613e6f565b348015610f4a575f5ffd5b506106f5610f59366004615724565b6140e1565b348015610f69575f5ffd5b5061063a610f7836600461578f565b61414e565b348015610f88575f5ffd5b5061077f600b5481565b348015610f9d575f5ffd5b5061077f600f5481565b348015610fb2575f5ffd5b5061063a610fc13660046157b9565b60256020525f908152604090205460ff1681565b348015610fe0575f5ffd5b50610ed9610fef3660046157b9565b60236020525f90815260409020805460019091015460ff9091169082565b348015611018575f5ffd5b506106f5611027366004615724565b614362565b348015611037575f5ffd5b5060215461066e906001600160a01b031681565b6106f56110593660046157b9565b614434565b348015611069575f5ffd5b5060195461066e90630100000090046001600160a01b031681565b34801561108f575f5ffd5b5061077f60175481565b6106f56144ea565b3480156110ac575f5ffd5b506106f56110bb366004615812565b614568565b3480156110cb575f5ffd5b5061077f60095481565b3480156110e0575f5ffd5b5061077f60135481565b3480156110f5575f5ffd5b5061077f60125481565b34801561110a575f5ffd5b5061077f611119366004615901565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561114e575f5ffd5b5061077f60115481565b348015611163575f5ffd5b506006546001600160a01b031661066e565b348015611180575f5ffd5b506111b561118f3660046157b9565b60316020525f908152604090208054600182015460028301546003909301549192909184565b604080519485526020850193909352918301526060820152608001610646565b3480156111e0575f5ffd5b506112126111ef366004615724565b60226020525f908152604090208054600182015460029092015490919060ff1683565b604080519384526020840192909252151590820152606001610646565b34801561123a575f5ffd5b5061063a6112493660046157b9565b60306020525f908152604090205460ff1681565b348015611268575f5ffd5b506112126112773660046157b9565b60266020525f908152604090208054600182015460029092015490919060ff1683565b3480156112a5575f5ffd5b50610b586112b4366004615724565b60296020525f908152604090208054600182015460028301546003909301546001600160a01b0390921692909160ff1684565b3480156112f2575f5ffd5b506106f5611301366004615724565b61458c565b6106f56113143660046157b9565b61465e565b348015611324575f5ffd5b506106f56113333660046157b9565b614722565b348015611343575f5ffd5b506106f56113523660046157b9565b6149bf565b348015611362575f5ffd5b506106f56113713660046157b9565b614b2d565b348015611381575f5ffd5b50601d5461066e906001600160a01b031681565b3480156113a0575f5ffd5b5060135461077f565b3480156113b4575f5ffd5b5061077f600a5481565b3480156113c9575f5ffd5b5061066e6113d8366004615724565b614b9e565b3480156113e8575f5ffd5b506106f56113f7366004615724565b614bad565b348015611407575f5ffd5b506106f5611416366004615724565b614c37565b5f6001600160e01b03198216637965db0b60e01b148061144b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b601e8181548110611460575f80fd5b5f918252602090912001546001600160a01b0316905081565b6060600380546114889061592d565b80601f01602080910402602001604051908101604052809291908181526020018280546114b49061592d565b80156114ff5780601f106114d6576101008083540402835291602001916114ff565b820191905f5260205f20905b8154815290600101906020018083116114e257829003601f168201915b5050505050905090565b611511614d6d565b80158015906115205750606581105b6115665760405162461bcd60e51b8152602060048201526012602482015271496e76616c69642070657263656e7461676560701b60448201526064015b60405180910390fd5b5f814260405160200161157a929190615965565b60405160208183030381529060405280519060200120905061159b816139b2565b7f50e1e825c1e87fd00faf18f57f50cc1bc7349e8a383fdbac77b9f95c1191d8eb816115ca42620151806159af565b604080519283526020830191909152015b60405180910390a15050565b5f336115f4818585614d9a565b5060019392505050565b611606614d6d565b5f818152602260205260408120805490910361165b5760405162461bcd60e51b81526020600482015260146024820152731058dd1a5bdb881b9bdd081cd8da19591d5b195960621b604482015260640161155d565b805442116116ab5760405162461bcd60e51b815260206004820152601860248201527f416374696f6e2064656c6179206e6f7420656c61707365640000000000000000604482015260640161155d565b60016010546116ba91906159c2565b8160010154116116dc5760405162461bcd60e51b815260040161155d906159d5565b335f90815260038201602052604090205460ff166117335760405162461bcd60e51b81526020600482015260146024820152731858dd1a5bdb881b9bdd0818dbdb999a5c9b595960621b604482015260640161155d565b5f8281526022602052604090819020600201805460ff191690555133907f8f0942ad58aa01551c91e83fb6f58682ca4b53bbcd6537ecea1463b7fe29a77d906117889085904290918252602082015260400190565b60405180910390a25050565b6011546060905f6117ad670de0b6b3a764000083615a20565b90505f655af3107a40006117c9670de0b6b3a764000085615a33565b6117d39190615a20565b90506117de82614da7565b6117e782614da7565b6040516020016117f8929190615a5d565b604051602081830303815290604052935050505090565b335f908152602a602052604090205460ff1661183d5760405162461bcd60e51b815260040161155d90615a85565b335f90815260266020526040812060018101549091036118925760405162461bcd60e51b815260206004820152601060248201526f4e6f207374616b656420746f6b656e7360801b604482015260640161155d565b80545f906118a090426159c2565b90505f60648360010154600a6118b69190615abc565b6118c09190615a20565b90505f6301e1338083106118d5575080611974565b630163f50083106118fe5760646118ed83604b615abc565b6118f79190615a20565b9050611974565b62ed4e0083106119155760646118ed836032615abc565b6276a700831061192c5760646118ed83601e615abc565b60405162461bcd60e51b815260206004820152601760248201527f426f6e7573206e6f742079657420617661696c61626c65000000000000000000604482015260640161155d565b335f9081526027602052604081205461198d90836159c2565b90505f81116119d65760405162461bcd60e51b81526020600482015260156024820152744e6f206e657720626f6e757320746f20636c61696d60581b604482015260640161155d565b806013541015611a245760405162461bcd60e51b8152602060048201526019602482015278125b9cdd59999a58da595b9d08189bdb9d5cc8189d5919d95d603a1b604482015260640161155d565b335f9081526027602052604081208054839290611a429084906159af565b925050819055508060135f828254611a5a91906159c2565b90915550611a6a90503382614ead565b60405181815233907f383cf983c2fcea345d344a4c3639bb3707ab8fb48c0a484c28d3a709efd54b899060200160405180910390a25050505050565b5f33611ab3858285614ee1565b611abe858585614f57565b506001949350505050565b335f908152602a602052604090205460ff16611af75760405162461bcd60e51b815260040161155d90615a85565b5f8111611b465760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604482015260640161155d565b335f9081526026602052604090206001810154821115611ba85760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e74207374616b656420616d6f756e74000000000000604482015260640161155d565b80545f908190611bb890426159c2565b90505f60648460010154600a611bce9190615abc565b611bd89190615a20565b90506276a700821015611bed57809250611c55565b62ed4e00821015611c16576064611c05826046615abc565b611c0f9190615a20565b9250611c55565b630163f500821015611c2f576064611c05826032615abc565b6301e13380821015611c55576064611c48826019615abc565b611c529190615a20565b92505b5f611c6084836159c2565b90508315611c7257611c723385614fb4565b85856001015f828254611c8591906159c2565b90915550611c969050303388614f57565b8015611ca657611ca63382614ead565b6040805187815242602082015233917f933735aa8de6d7547d0126171b2f31b9c34dd00f3ecd4be85a0ba047db4fafef910160405180910390a2505050505050565b5f82815260086020526040902060010154611d0281614fe8565b611d0c8383614ff2565b50505050565b6001600160a01b0381163314611d3b5760405163334bd91960e11b815260040160405180910390fd5b611d458282615083565b505050565b611d52614d6d565b6001600160a01b038116611d9f5760405162461bcd60e51b8152602060048201526014602482015273496e76616c696420706f6f6c206164647265737360601b604482015260640161155d565b5f611da982611f68565b90505f8162ffffff1611611df25760405162461bcd60e51b815260206004820152601060248201526f496e76616c696420706f6f6c2066656560801b604482015260640161155d565b602180546001600160a01b0319166001600160a01b0384169081179091556019805462ffffff191662ffffff84161790556040519081527f031da3734b220fa1a63625219719c1d966c26ac87b5bf949943fec5a80392dfb906020016115db565b611e5b614d6d565b5f818152602960205260409020600381015460ff16611e8c5760405162461bcd60e51b815260040161155d90615ad3565b6001601054611e9b91906159c2565b816002015411611ebd5760405162461bcd60e51b815260040161155d906159d5565b80600101544211611f0b5760405162461bcd60e51b815260206004820152601860248201527710da185b99d94819195b185e481b9bdd08195b185c1cd95960421b604482015260640161155d565b8054601c80546001600160a01b0319166001600160a01b0392831617905560038201805460ff19169055815460405191169083907f33673ce7577956af4469a4b0fcf5e2334f87dd687c6d9695970f8ac7ef01177c905f90a35050565b5f6001600160a01b038216611fbf5760405162461bcd60e51b815260206004820152601760248201527f506f6f6c206164647265737320697320696e76616c6964000000000000000000604482015260640161155d565b816001600160a01b031663ddca3f436040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ffb573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061144b9190615afe565b612027614d6d565b5f818152602c60205260409020600381015460ff166120585760405162461bcd60e51b815260040161155d90615ad3565b600160105461206791906159c2565b8160020154116120895760405162461bcd60e51b815260040161155d906159d5565b806001015442116120d75760405162461bcd60e51b815260206004820152601860248201527710da185b99d94819195b185e481b9bdd08195b185c1cd95960421b604482015260640161155d565b8054601f80546001600160a01b0319166001600160a01b0392831617905560038201805460ff19169055815460405191169083907f54c8c991ce99aa0bb3e3f15bb9a9867cb92f3d468e04fc9bdf30003bb06c97b2905f90a35050565b61213c614d6d565b6001600160a01b0381166121925760405162461bcd60e51b815260206004820152601860248201527f496e76616c69642070726f766964657220616464726573730000000000000000604482015260640161155d565b601f546001600160a01b03908116908216036121f05760405162461bcd60e51b815260206004820152601e60248201527f4e65772070726f7669646572206d75737420626520646966666572656e740000604482015260640161155d565b6040516001600160601b0319606083901b1660208201524260348201525f9060540160408051601f1981840301815291815281516020928301205f818152602c909352912060038101549192509060ff16156122875760405162461bcd60e51b81526020600482015260166024820152755265717565737420616c72656164792061637469766560501b604482015260640161155d565b80546001600160a01b0319166001600160a01b0384161781556122ad62015180426159af565b600180830182905560038301805460ff191690911790555f600283015542116123185760405162461bcd60e51b815260206004820152601c60248201527f4368616e67652064656c6179206e6f742079657420656c617073656400000000604482015260640161155d565b600381015460ff166123615760405162461bcd60e51b815260206004820152601260248201527152657175657374206e6f742061637469766560701b604482015260640161155d565b826001600160a01b0316827f2bd7befcc828a7d58137dd127b5cd4970399de5e3d12341314309f27e33e94a583600101546040516123a191815260200190565b60405180910390a3505050565b600e546123bf906301e133806159af565b42116124045760405162461bcd60e51b8152602060048201526014602482015273125b9d195c9d985b081b9bdd081c995858da195960621b604482015260640161155d565b601b545f0361244e5760405162461bcd60e51b81526020600482015260166024820152754e6f2063657274696669656420636f6d70616e69657360501b604482015260640161155d565b6032611d458161254f565b6021545f906001600160a01b0316806124ab5760405162461bcd60e51b8152602060048201526014602482015273155b9a5cddd85c081c1bdbdb081b9bdd081cd95d60621b604482015260640161155d565b5f816001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e060405180830381865afa1580156124e8573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061250c9190615b36565b505050505050905060c0816001600160a01b0316826001600160a01b03166125349190615abc565b61254690670de0b6b3a7640000615abc565b901c9250505090565b6125576150ee565b61255f614d6d565b600e54612570906301e133806159af565b42116125be5760405162461bcd60e51b815260206004820152601860248201527f416e6e75616c20646973747269627574696f6e206f6e6c790000000000000000604482015260640161155d565b601b545f036126085760405162461bcd60e51b81526020600482015260166024820152754e6f2063657274696669656420636f6d70616e69657360501b604482015260640161155d565b805f036126485760405162461bcd60e51b815260206004820152600e60248201526d042617463682073697a65203e20360941b604482015260640161155d565b601d546001600160a01b0316315f606461266383600a615abc565b61266d9190615a20565b601b54600f54919250905f905b8281108015612695575085600f5461269291906159af565b81105b156126f057602d5f601b83815481106126b0576126b0615bce565b5f9182526020808320909101546001600160a01b031683528201929092526040019020546126de90836159af565b91506126e981615be2565b905061267a565b50805f036127405760405162461bcd60e51b815260206004820181905260248201527f4e6f20746f6b656e732070757263686173656420627920636f6d70616e696573604482015260640161155d565b600f545f61274e87836159af565b905083811061275a5750825b815b818110156127fc575f601b828154811061277857612778615bce565b5f9182526020808320909101546001600160a01b0316808352602d909152604082205490925086906127ab908a90615abc565b6127b59190615a20565b905080156127f2576040516001600160a01b0383169082156108fc029083905f818181858888f193505050501580156127f0573d5f5f3e3d5ffd5b505b505060010161275c565b50600f819055838103612812575f600f5542600e555b60408051868152602081018690527f79cd740565316429cd7959abf85206de5ec9e5df71c7e2764aca2bcf06fed85c910160405180910390a150505050505061285b6001600755565b50565b6128666150ee565b335f908152602a602052604090205460ff166128945760405162461bcd60e51b815260040161155d90615a85565b335f90815260316020526040902080546128e35760405162461bcd60e51b815260206004820152601060248201526f4e6f2076657374656420746f6b656e7360801b604482015260640161155d565b5f620151808260030154426128f891906159c2565b6129029190615a20565b90505f81116129485760405162461bcd60e51b8152602060048201526012602482015271436c61696d206f6e6365207065722064617960701b604482015260640161155d565b81545f9060649061295a906002615abc565b6129649190615a20565b90505f6129718383615abc565b90505f8460010154855f015461298791906159c2565b905080821115612995578091505b5f82116129d75760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f20636c61696d60801b604482015260640161155d565b81856001015f8282546129ea91906159af565b9091555050426003860155305f90815260208190526040902054821115612a235760405162461bcd60e51b815260040161155d90615bfa565b612a2e303384614f57565b60405182815233907f896e034966eaaf1adc54acc0f257056febbd300c9e47182cf761982cf1f5e4309060200160405180910390a25050505050612a726001600755565b565b612a7c614d6d565b6001600160a01b038216612ad25760405162461bcd60e51b815260206004820152601760248201527f496e76616c6964206261636b656e642061646472657373000000000000000000604482015260640161155d565b6001600160a01b0382165f81815260306020908152604091829020805460ff191685151590811790915591519182527f41ffa95f717115e090ac5cbb02950e436631a515ba4ea217c24ca181412e84a89101611788565b335f9081526030602052604090205460ff16612b875760405162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420617574686f72697a65640000000000000000604482015260640161155d565b6001600160a01b038216612bdd5760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420696e766573746f7220616464726573730000000000000000604482015260640161155d565b6001600160a01b0382165f9081526025602052604090205460ff16612c375760405162461bcd60e51b815260206004820152601060248201526f12d650c8199959481b9bdd081c185a5960821b604482015260640161155d565b6001600160a01b0382165f908152602a60205260409020805460ff19168215801591909117909155612c9a576040516001600160a01b038316907f293e993e01bc214772c3f076d0b72798191877356179e95807eba63d2f8d2df2905f90a25050565b6040516001600160a01b038316907ff366f90792e15e534863d2d16c27e22a3b784ab231b46a7c2b6371b7eeba73b8905f90a25b5050565b612cda614d6d565b6001600160a01b038116612d305760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420636572746966696572206164647265737300000000000000604482015260640161155d565b601c546001600160a01b0390811690821603612d8e5760405162461bcd60e51b815260206004820152601f60248201527f4e657720636572746966696572206d75737420626520646966666572656e7400604482015260640161155d565b6040516001600160601b0319606083901b1660208201524260348201525f9060540160408051601f1981840301815291815281516020928301205f8181526029909352912060038101549192509060ff1615612e255760405162461bcd60e51b81526020600482015260166024820152755265717565737420616c72656164792061637469766560501b604482015260640161155d565b80546001600160a01b0319166001600160a01b038416178155612e4b62015180426159af565b600182810182905560038301805460ff191690911790555f60028301556040519081526001600160a01b0384169083907fa6bb5d83e1ddb68abc21752bff8a6ec67a3da60448b068327575f2949a303374906020016123a1565b612ead6150ee565b335f908152602a602052604090205460ff16612edb5760405162461bcd60e51b815260040161155d90615a85565b5f3411612f235760405162461bcd60e51b81526020600482015260166024820152754d7573742070726f76696465206c697175696469747960501b604482015260640161155d565b5f612f2d34613605565b305f90815260208190526040902054909150811115612f8e5760405162461bcd60e51b815260206004820152601d60248201527f4e6f7420656e6f7567682041505445534720696e20636f6e7472616374000000604482015260640161155d565b5f6064612f9c83600a615abc565b612fa69190615a20565b9050806012541015612ff65760405162461bcd60e51b8152602060048201526019602482015278125b9cdd59999a58da595b9d08189bdb9d5cc8189d5919d95d603a1b604482015260640161155d565b60205f9054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004015f604051808303818588803b158015613043575f5ffd5b505af1158015613055573d5f5f3e3d5ffd5b5050602054601a5460405163095ea7b360e01b81526001600160a01b0391821660048201523460248201529116935063095ea7b3925060440190506020604051808303815f875af11580156130ac573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130d09190615c31565b50601a546130e99030906001600160a01b031684614d9a565b6020545f906001600160a01b0316301061310e576020546001600160a01b0316613110565b305b6020549091505f906001600160a01b0316301061312d573061313a565b6020546001600160a01b03165b90505f6001600160a01b03831630146131535734613155565b845b6020549091505f906001600160a01b038481169116146131755785613177565b345b90505f613182615147565b506019549091505f906131999062ffffff16615215565b90505f6131b16131ab61012c85615c4c565b836152ac565b90505f6131c96131c38561012c615c71565b846152ac565b90505f6040518061016001604052808a6001600160a01b03168152602001896001600160a01b0316815260200160195f9054906101000a900462ffffff1662ffffff1681526020018460020b81526020018360020b81526020018881526020018781526020015f81526020015f815260200161324d6005546001600160a01b031690565b6001600160a01b03168152602001613267426103846159af565b9052601a54604051634418b22b60e11b81529192505f916001600160a01b039091169063883164569061329e908590600401615c96565b6080604051808303815f875af11580156132ba573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132de9190615d5a565b50505090508a60125f8282546132f491906159c2565b9091555050335f908152602e602090815260408083208e9055602f8252808320429055603290915290205461332c9062278d006159af565b4210156133955760405162461bcd60e51b815260206004820152603160248201527f596f752063616e2070726f76696465206c6971756964697479206f6e6c79206f6044820152706e6365206576657279203330206461797360781b606482015260840161155d565b60405180608001604052808c8e6133ac91906159af565b81526020015f81526020014281526020014281525060315f336001600160a01b03166001600160a01b031681526020019081526020015f205f820151815f01556020820151816001015560408201518160020155606082015181600301559050504260325f336001600160a01b03166001600160a01b031681526020019081526020015f2081905550336001600160a01b03167f3bca7014f4c0ccc8016338c79f4c00e82068dbadaf4f01ca5449040fdd39f500348e8e604051613483939291909283526020830191909152604082015260600190565b60405180910390a2505050505050505050505050612a726001600755565b601d54600e545f916060916001600160a01b0390911631906134c7906301e133806159af565b42101580156134d75750601b5415155b80156134e257505f81115b925084848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525095989297509195505050505050565b61352d614d6d565b612a725f6152c4565b5f5f5f6135637f0393b4c1b6519e8b53ae0efa1ab522060a3b9f8d86d09c8a22ca6d6eea735cf733613ce1565b6135af5760405162461bcd60e51b815260206004820152601760248201527f43616c6c65722069736e277420617574686f72697a6564000000000000000000604482015260640161155d565b60125460135460145460408051848152602081018490529081018290527fca256af9d38135bcc46810d607bef638a0713963b52e7512f80b8bd6e3bdf6be9060600160405180910390a191945092509050909192565b5f5f61360f612459565b9050805f036136595760405162461bcd60e51b815260206004820152601660248201527541766f6964206469766973696f6e206279207a65726f60501b604482015260640161155d565b8061366c670de0b6b3a764000085615abc565b6136769190615a20565b9392505050565b6136856150ee565b335f908152602a602052604090205460ff166136b35760405162461bcd60e51b815260040161155d90615a85565b335f908152602e60205260409020546137035760405162461bcd60e51b81526020600482015260126024820152714e6f20626f6e757320617661696c61626c6560701b604482015260640161155d565b335f908152602f602052604090205461371f9062278d006159af565b4210156137635760405162461bcd60e51b8152602060048201526012602482015271109bdb9d5cc81cdd1a5b1b081b1bd8dad95960721b604482015260640161155d565b335f908152602e6020526040812080549190556012548111156137d45760405162461bcd60e51b815260206004820152602360248201527f496e73756666696369656e74206c697175696469747920626f6e75732062756460448201526219d95d60ea1b606482015260840161155d565b8060125f8282546137e591906159c2565b9091555050305f908152602081905260409020548111156138185760405162461bcd60e51b815260040161155d90615bfa565b613823303383614f57565b60405181815233907f4e69fdc49495bcab2b4375781457ba16653a90eb4ffb6588351bdc39071433e2906020015b60405180910390a250612a726001600755565b335f908152602a602052604090205460ff166138925760405162461bcd60e51b815260040161155d90615a85565b805f036138e15760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604482015260640161155d565b335f908152602081905260409020548111156139365760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b604482015260640161155d565b613941333083614f57565b335f908152602660205260408120428155600181018054919284926139679084906159af565b909155505060028101805460ff191660011790556040805183815242602082015233917f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee909101611788565b6139ba614d6d565b5f818152602260205260409020805415613a165760405162461bcd60e51b815260206004820152601860248201527f416374696f6e20616c7265616479207363686564756c65640000000000000000604482015260640161155d565b613a2362015180426159af565b8082556040805184815260208101929092527f50e1e825c1e87fd00faf18f57f50cc1bc7349e8a383fdbac77b9f95c1191d8eb91016115db565b60065433906001600160a01b03168114613a955760405163118cdaa760e01b81526001600160a01b038216600482015260240161155d565b61285b816152c4565b613aa6614d6d565b600d546001600160a01b0382811691161461285b575f8142604051602001613acf929190615daa565b604051602081830303815290604052805190602001209050613af0816115fe565b600d80546001600160a01b038481166001600160a01b0319831681179093556040519116919082907f4ab5be82436d353e61ca18726e984e561f5c1cc7c6d38b29d2553c790434705a905f90a3505050565b613b4a614d6d565b806011541461285b57601181905560405181815233907fcd9f3de71a5f344edba338e70b407765c921ec2f6d47e532108af456ef0a09dc9060200160405180910390a250565b613b98614d6d565b600a811115613bd85760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b604482015260640161155d565b600b80549082905560408051828152602081018490527f940334a9f5c76529ad9447ac490c2073b06d880209383a3d3e4b0ecab72a0d9991016115db565b601c546001600160a01b03163314613c405760405162461bcd60e51b815260040161155d90615ddb565b5f8111613ca35760405162461bcd60e51b815260206004820152602b60248201527f43657274696669636174696f6e20666565206d7573742062652067726561746560448201526a72207468616e207a65726f60a81b606482015260840161155d565b600a80549082905560408051828152602081018490527f8e2865cd4fc438a9dc6bef593092558c17cc3c32c7132e34d5fdd0b162b0fd9991016115db565b5f9182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546114889061592d565b613d22614d6d565b6001600160a01b038116613d6c5760405162461bcd60e51b8152602060048201526011602482015270125b9d985b1a59081c9958da5c1a595b9d607a1b604482015260640161155d565b47821115613d8c5760405162461bcd60e51b815260040161155d90615bfa565b6040516001600160a01b0382169083156108fc029084905f818181858888f19350505050158015613dbf573d5f5f3e3d5ffd5b50806001600160a01b03167feaff4b37086828766ad3268786972c0cd24259d4c87a80f9d3963a3c3d999b0d8360405161178891815260200190565b613e03614d6d565b5f8142604051602001613e17929190615daa565b604051602081830303815290604052805190602001209050613e3881614c37565b6040516001600160a01b038316907f3c864541ef71378c6229510ed90f376565ee42d9c5e0904a984a9e863e6db44f905f90a25050565b613e776150ee565b601154341015613ec05760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e74204b59432066656560601b604482015260640161155d565b335f9081526025602052604090205460ff1615613f165760405162461bcd60e51b815260206004820152601460248201527312d650c819995948185b1c9958591e481c185a5960621b604482015260640161155d565b601f546001600160a01b0316613f655760405162461bcd60e51b815260206004820152601460248201527312d650c81c1c9bdd9a59195c881b9bdd081cd95d60621b604482015260640161155d565b600d546001600160a01b0316613fbd5760405162461bcd60e51b815260206004820152601860248201527f54726561737572792061646472657373206e6f74207365740000000000000000604482015260640161155d565b335f90815260256020526040808220805460ff19166001179055600d5490516001600160a01b039091169034908381818185875af1925050503d805f8114614020576040519150601f19603f3d011682016040523d82523d5f602084013e614025565b606091505b50509050806140765760405162461bcd60e51b815260206004820152601b60248201527f5472616e7366657220746f207472656173757279206661696c65640000000000604482015260640161155d565b601f546040516001600160a01b039091169033907f27bac1cd47f7f0b12fbc51b8f234c08315c9e7fe9cbe5b1f419d66b9bb5e9c13905f90a360405134815233907fe43c16d7ebc74bc3fbcf0eb4290a753bd8ab62a88e2f7b133ace9b37298b706190602001613851565b6140e9614d6d565b5f81426040516020016140fd929190615965565b60405160208183030381529060405280519060200120905061411e81614c37565b604051339082907ff1ee42e66a4a5238c8ec9dc53fad2e7a6d1eb231e2b9f109cce957206da381f2905f90a35050565b5f6001600160a01b0383166141a55760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420726563697069656e74206164647265737300000000000000604482015260640161155d565b5f82116142065760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161155d565b335f908152602860205260408120548190819060ff1615614263576064600b54866142319190615abc565b61423b9190615a20565b9250606461424a846032615abc565b6142549190615a20565b915061426082846159c2565b90505b5f61426e84876159c2565b905082156142cc576142803384614fb4565b82600c5f82825461429191906159af565b909155505060405183815233907ffd38818f5291bf0bb3a2a48aadc06ba8757865d1dabd804585338aab3009dcb69060200160405180910390a25b5f821180156142e55750600d546001600160a01b031615155b1561434a57600d546143029033906001600160a01b031684614f57565b600d54604080518481526001600160a01b03909216602083015233917f36119f4f28ae3384ed31589f21ec2992cb0ebe53b11c79a24466ee74471764ed910160405180910390a25b614355338883614f57565b5060019695505050505050565b61436a614d6d565b5f818152602c60205260409020600381015460ff1661439b5760405162461bcd60e51b815260040161155d90615ad3565b335f90815260048201602052604090205460ff16156143cc5760405162461bcd60e51b815260040161155d90615e06565b335f9081526004820160205260408120805460ff19166001908117909155600283018054919290916143ff9084906159af565b9091555050604051339083907f02fb384ed74bda85429ca8c445271c5ba55fc5b812135b940b7e40ef09a2a306905f90a35050565b61443c614d6d565b6001600160a01b0381166144845760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161155d565b601f546001600160a01b0382811691161461285b57601f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f4082cdf8b7f5d3cd556c2a4c0a01aa4b8bebd3db3ec48c5ac4008aaf7554f0e1905f90a35050565b6144f2614d6d565b5f34116145315760405162461bcd60e51b815260206004820152600d60248201526c09aeae6e840e6cadcc8408aa89609b1b604482015260640161155d565b60405134815233907f8e47b87b0ef542cdfa1659c551d88bad38aa7f452d2bbb349ab7530dfec8be8f9060200160405180910390a2565b5f8281526008602052604090206001015461458281614fe8565b611d0c8383615083565b614594614d6d565b5f818152602960205260409020600381015460ff166145c55760405162461bcd60e51b815260040161155d90615ad3565b335f90815260048201602052604090205460ff16156145f65760405162461bcd60e51b815260040161155d90615e06565b335f9081526004820160205260408120805460ff19166001908117909155600283018054919290916146299084906159af565b9091555050604051339083907faf40a0c08bb5db62eff8769cb8662188d3f18264f12c809c7f8cf0f260a43c9b905f90a35050565b614666614d6d565b6001600160a01b0381166146bc5760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420747265617375727920616464726573730000000000000000604482015260640161155d565b600d546001600160a01b0382811691161461285b57600d80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f4ab5be82436d353e61ca18726e984e561f5c1cc7c6d38b29d2553c790434705a905f90a35050565b601c546001600160a01b0316331461474c5760405162461bcd60e51b815260040161155d90615ddb565b6001600160a01b0381166147725760405162461bcd60e51b815260040161155d90615e31565b6001600160a01b0381165f9081526028602052604090205460ff166147d45760405162461bcd60e51b815260206004820152601860248201527710dbdb5c185b9e481a5cc81b9bdd0818d95c9d1a599a595960421b604482015260640161155d565b601b80545f8190036148285760405162461bcd60e51b815260206004820152601960248201527f4e6f20636f6d70616e69657320746f2064656365727469667900000000000000604482015260640161155d565b600f546032905f905b838110801561484c575082600f5461484991906159af565b81105b1561498c57856001600160a01b031685828154811061486d5761486d615bce565b5f918252602090912001546001600160a01b03160361497c57846148926001866159c2565b815481106148a2576148a2615bce565b905f5260205f20015f9054906101000a90046001600160a01b03168582815481106148cf576148cf615bce565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508480548061490a5761490a615e68565b5f828152602080822083015f1990810180546001600160a01b03191690559092019092556001600160a01b03881680835260289091526040808320805460ff19169055516001945090917f73cd725a8a379ec9b6b1697b91f91dd522f7042e29cacae32339a1fb79d6041891a261498c565b61498581615be2565b9050614831565b50806149b3578282600f546149a191906159af565b6149ab9190615a33565b600f556149b8565b5f600f555b5050505050565b601c546001600160a01b031633146149e95760405162461bcd60e51b815260040161155d90615ddb565b6001600160a01b038116614a0f5760405162461bcd60e51b815260040161155d90615e31565b6001600160a01b0381165f9081526028602052604090205460ff1615614a775760405162461bcd60e51b815260206004820152601c60248201527f436f6d70616e7920697320616c72656164792063657274696669656400000000604482015260640161155d565b6001600160a01b0381165f818152602860205260408120805460ff191660019081178255600a5491810191909155601b80549182018155918290527f3ad8aa4f87544323a9d1e5dd902f40c356527a7955687113db5f9a85ad579dc10180546001600160a01b03191690921790915554603210614af757614af7816152dd565b6040516001600160a01b038216907fbc65a13add646e732fd7a006009f986aeac7bebc6f1c1b29843ab60a5fc22ceb905f90a250565b614b35614d6d565b600680546001600160a01b0383166001600160a01b03199091168117909155614b666005546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b601b8181548110611460575f80fd5b614bb5614d6d565b5f8142604051602001614bc9929190615965565b604051602081830303815290604052805190602001209050614bea816115fe565b601554828114611d4557601583905560408051828152602081018590527f40054107419013fadd78e405fcf838d3ded311e95bc5016d130695291fdb4a2b910160405180910390a1505050565b614c3f614d6d565b5f8181526022602052604081208054909103614c945760405162461bcd60e51b81526020600482015260146024820152731058dd1a5bdb881b9bdd081cd8da19591d5b195960621b604482015260640161155d565b335f90815260038201602052604090205460ff1615614cc55760405162461bcd60e51b815260040161155d90615e06565b80544210614d065760405162461bcd60e51b815260206004820152600e60248201526d1058dd1a5bdb88195e1c1a5c995960921b604482015260640161155d565b335f9081526003820160205260408120805460ff19166001908117909155828101805491929091614d389084906159af565b9091555050604051339083907ff1ee42e66a4a5238c8ec9dc53fad2e7a6d1eb231e2b9f109cce957206da381f2905f90a35050565b6005546001600160a01b03163314612a725760405163118cdaa760e01b815233600482015260240161155d565b611d458383836001615488565b6060815f03614dcd5750506040805180820190915260018152600360fc1b602082015290565b815f5b8115614df65780614de081615be2565b9150614def9050600a83615a20565b9150614dd0565b5f8167ffffffffffffffff811115614e1057614e10615e7c565b6040519080825280601f01601f191660200182016040528015614e3a576020820181803683370190505b5090505b8415614ea55781614e4e81615e90565b9250614e5d9050600a86615a33565b614e689060306159af565b60f81b818381518110614e7d57614e7d615bce565b60200101906001600160f81b03191690815f1a905350614e9e600a86615a20565b9450614e3e565b949350505050565b6001600160a01b038216614ed65760405163ec442f0560e01b81525f600482015260240161155d565b612cce5f838361555a565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811015611d0c5781811015614f4957604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161155d565b611d0c84848484035f615488565b6001600160a01b038316614f8057604051634b637e8f60e11b81525f600482015260240161155d565b6001600160a01b038216614fa95760405163ec442f0560e01b81525f600482015260240161155d565b611d4583838361555a565b6001600160a01b038216614fdd57604051634b637e8f60e11b81525f600482015260240161155d565b612cce825f8361555a565b61285b8133615673565b5f614ffd8383613ce1565b61507c575f8381526008602090815260408083206001600160a01b03861684529091529020805460ff191660011790556150343390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161144b565b505f61144b565b5f61508e8383613ce1565b1561507c575f8381526008602090815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a450600161144b565b6002600754036151405760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161155d565b6002600755565b6021545f9081906001600160a01b03166151925760405162461bcd60e51b815260206004820152600c60248201526b141bdbdb081b9bdd081cd95d60a21b604482015260640161155d565b60215f9054906101000a90046001600160a01b03166001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e060405180830381865afa1580156151e2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906152069190615b36565b50939794965093945050505050565b5f8162ffffff1660640361522b57506001919050565b8162ffffff166101f4036152415750600a919050565b8162ffffff16610bb8036152575750603c919050565b8162ffffff166127100361526d575060c8919050565b60405162461bcd60e51b81526020600482015260146024820152732ab739bab83837b93a32b2103332b2903a34b2b960611b604482015260640161155d565b5f806152b88385615ea5565b9050614ea58185615c4c565b600680546001600160a01b031916905561285b816156ac565b6001600160a01b0381166153035760405162461bcd60e51b815260040161155d90615e31565b6001600160a01b0381165f9081526028602052604090205460ff166153655760405162461bcd60e51b815260206004820152601860248201527710dbdb5c185b9e481a5cc81b9bdd0818d95c9d1a599a595960421b604482015260640161155d565b601b546033116153a75760405162461bcd60e51b815260206004820152600d60248201526c131a5b5a5d081c995858da1959609a1b604482015260640161155d565b6014546153be670de0b6b3a76400006103e7615abc565b81116153fd5760405162461bcd60e51b815260206004820152600e60248201526d42756467657420746f6f206c6f7760901b604482015260640161155d565b615411670de0b6b3a76400006103e8615abc565b61541b90826159c2565b60145561543b82615436670de0b6b3a76400006103e8615abc565b614ead565b6001600160a01b0382167fac7ab06511c1585436318f5d185521b966763789479c9122afe02f10ec798bf561547a670de0b6b3a76400006103e8615abc565b604051908152602001611788565b6001600160a01b0384166154b15760405163e602df0560e01b81525f600482015260240161155d565b6001600160a01b0383166154da57604051634a1406b160e11b81525f600482015260240161155d565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015611d0c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161554c91815260200190565b60405180910390a350505050565b6001600160a01b038316615584578060025f82825461557991906159af565b909155506155f49050565b6001600160a01b0383165f90815260208190526040902054818110156155d65760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161155d565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166156105760028054829003905561562e565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516123a191815260200190565b61567d8282613ce1565b612cce5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440161155d565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f6020828403121561570d575f5ffd5b81356001600160e01b031981168114613676575f5ffd5b5f60208284031215615734575f5ffd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f613676602083018461573b565b6001600160a01b038116811461285b575f5ffd5b5f5f604083850312156157a0575f5ffd5b82356157ab8161577b565b946020939093013593505050565b5f602082840312156157c9575f5ffd5b81356136768161577b565b5f5f5f606084860312156157e6575f5ffd5b83356157f18161577b565b925060208401356158018161577b565b929592945050506040919091013590565b5f5f60408385031215615823575f5ffd5b8235915060208301356158358161577b565b809150509250929050565b5f5f60208385031215615851575f5ffd5b823567ffffffffffffffff811115615867575f5ffd5b8301601f81018513615877575f5ffd5b803567ffffffffffffffff81111561588d575f5ffd5b85602082840101111561589e575f5ffd5b6020919091019590945092505050565b801515811461285b575f5ffd5b5f5f604083850312156158cc575f5ffd5b82356158d78161577b565b91506020830135615835816158ae565b8215158152604060208201525f614ea5604083018461573b565b5f5f60408385031215615912575f5ffd5b823561591d8161577b565b915060208301356158358161577b565b600181811c9082168061594157607f821691505b60208210810361595f57634e487b7160e01b5f52602260045260245ffd5b50919050565b7f7570646174655472656173757279426f6e757350657263656e746167650000008152601d810192909252603d820152605d0190565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561144b5761144b61599b565b8181038181111561144b5761144b61599b565b60208082526018908201527f4e6f7420656e6f75676820636f6e6669726d6174696f6e730000000000000000604082015260600190565b634e487b7160e01b5f52601260045260245ffd5b5f82615a2e57615a2e615a0c565b500490565b5f82615a4157615a41615a0c565b500690565b5f81518060208401855e5f93019283525090919050565b5f615a688285615a46565b601760f91b8152615a7c6001820185615a46565b95945050505050565b60208082526018908201527f75736572206973206e6f74204b59432076657269666965640000000000000000604082015260600190565b808202811582820484141761144b5761144b61599b565b602080825260119082015270139bc81858dd1a5d99481c995c5d595cdd607a1b604082015260600190565b5f60208284031215615b0e575f5ffd5b815162ffffff81168114613676575f5ffd5b805161ffff81168114615b31575f5ffd5b919050565b5f5f5f5f5f5f5f60e0888a031215615b4c575f5ffd5b8751615b578161577b565b8097505060208801518060020b8114615b6e575f5ffd5b9550615b7c60408901615b20565b9450615b8a60608901615b20565b9350615b9860808901615b20565b925060a088015160ff81168114615bad575f5ffd5b60c0890151909250615bbe816158ae565b8091505092959891949750929550565b634e487b7160e01b5f52603260045260245ffd5b5f60018201615bf357615bf361599b565b5060010190565b6020808252601d908201527f496e73756666696369656e7420636f6e74726163742062616c616e6365000000604082015260600190565b5f60208284031215615c41575f5ffd5b8151613676816158ae565b600282810b9082900b03627fffff198112627fffff8213171561144b5761144b61599b565b600281810b9083900b01627fffff8113627fffff198212171561144b5761144b61599b565b81516001600160a01b0316815261016081016020830151615cc260208401826001600160a01b03169052565b506040830151615cd9604084018262ffffff169052565b506060830151615cee606084018260020b9052565b506080830151615d03608084018260020b9052565b5060a083015160a083015260c083015160c083015260e083015160e0830152610100830151610100830152610120830151615d4a6101208401826001600160a01b03169052565b5061014092830151919092015290565b5f5f5f5f60808587031215615d6d575f5ffd5b845160208601519094506fffffffffffffffffffffffffffffffff81168114615d94575f5ffd5b6040860151606090960151949790965092505050565b6a736574547265617375727960a81b815260609290921b6001600160601b031916600b830152601f820152603f0190565b6020808252601190820152702737ba1022a9a39031b2b93a34b334b2b960791b604082015260600190565b602080825260119082015270105b1c9958591e4818dbdb999a5c9b5959607a1b604082015260600190565b60208082526017908201527f496e76616c696420636f6d70616e792061646472657373000000000000000000604082015260600190565b634e487b7160e01b5f52603160045260245ffd5b634e487b7160e01b5f52604160045260245ffd5b5f81615e9e57615e9e61599b565b505f190190565b5f8260020b80615eb757615eb7615a0c565b808360020b079150509291505056fea2646970667358221220235bb912a723faeec8f916448fda067db706ccda559c1a281e34605615ca1d6064736f6c634300081e00330000000000000000000000000000000000000000000000000000000003473bc00000000000000000000000000000000000000000000000000000000003567e00000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe8800000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab10000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000200000000000000000000000072eef7c44809c698b7645bd4a91f12f4b6b2e8160000000000000000000000000000000000000000000000000005543df729c0000000000000000000000000008e46af311f328fda5b5f8c648bb91b6e2022d4a300000000000000000000000000000000000000000000000000000000000000020000000000000000000000008e46af311f328fda5b5f8c648bb91b6e2022d4a300000000000000000000000072eef7c44809c698b7645bd4a91f12f4b6b2e816

Deployed Bytecode

0x608060405260043610610617575f3560e01c806379ba50971161031b578063c24366f0116101ae578063e712a35d116100fd578063f2fde38b1161009d578063fca7788611610078578063fca77886146113a9578063fd03dee8146113be578063ff347c5e146113dd578063ffe6daab146113fc575f5ffd5b8063f2fde38b14611357578063f6b4dfb414611376578063f76c31ac14611395575f5ffd5b8063f02cbadc116100d8578063f02cbadc146112e7578063f0f4426014611306578063f22049c614611319578063f23b488414611338575f5ffd5b8063e712a35d1461122f578063eca511391461125d578063ef3dfd941461129a575f5ffd5b8063d80b57bf11610168578063e137ec4011610143578063e137ec4014611143578063e30c397814611158578063e388c42314611175578063e4df85e0146111d5575f5ffd5b8063d80b57bf146110d5578063dc3b8259146110ea578063dd62ed3e146110ff575f5ffd5b8063c24366f01461104b578063c31c9c071461105e578063c8b5305014611084578063c8f781c214611099578063d547741f146110a1578063d5abeb01146110c0575f5ffd5b80639e18bf321161026a578063a9059cbb11610224578063b145271b116101ff578063b145271b14610fa7578063b536271f14610fd5578063b83a13f41461100d578063bdd3d8251461102c575f5ffd5b8063a9059cbb14610f5e578063acb2ad6f14610f7d578063acd8834914610f92575f5ffd5b80639e18bf3214610ea15780639ffcb10714610ef0578063a217fddf14610f05578063a26c786f14610f18578063a54cc71014610f37578063a633254214610f3f575f5ffd5b80638f106ff4116102d557806394a9d6f8116102b057806394a9d6f814610e4657806395d89b4114610e5b5780639605f50514610e6f578063983ce99814610e8e575f5ffd5b80638f106ff414610df357806391d1485414610e125780639404d5a614610e31575f5ffd5b806379ba509714610d5c57806385cb436a14610d7057806386a3ee8914610d8f5780638d06804314610da25780638da5cb5b14610db75780638f02bb5b14610dd4575f5ffd5b8063437dfb53116104ad5780635b0dac43116103fc57806372b4417e1161039c5780637547c7a3116103775780637547c7a314610cea57806375b1735014610d0957806378c3612914610d1e578063791b98bc14610d3d575f5ffd5b806372b4417e14610c8857806373f8599614610cb7578063743d320c14610cd6575f5ffd5b806361d027b3116103d757806361d027b314610bf45780636e04ff0d14610c1357806370a0823114610c40578063715018a614610c74575f5ffd5b80635b0dac4314610bb85780635db5f06014610bd757806360c97b2214610bec575f5ffd5b806348c54b9d116104675780635138a185116104425780635138a18514610ae0578063530ca9f914610b0b578063555f323a14610b845780635958aa3c14610b99575f5ffd5b806348c54b9d14610a8e5780634aa4a4fc14610aa25780634fb37f3c14610ac1575f5ffd5b8063437dfb53146109d3578063449e66ec146109f25780634585e33b14610a1157806346b00d0414610a3057806346cb48e114610a5b57806347b610f514610a6f575f5ffd5b806323b872dd11610569578063328f69361161052357806339ab0fb6116104fe57806339ab0fb61461094b5780634084dc311461096a57806342fa8c831461098957806342fcc6fb146109b4575f5ffd5b8063328f6936146108c557806334a5b4aa146108f357806336568abe1461092c575f5ffd5b806323b872dd146107f4578063248a9ca31461081357806325d5971f146108415780632ad92740146108605780632f2ff15d1461088b578063313ce567146108aa575f5ffd5b80630c2a4f74116105d457806316fc4f04116105af57806316fc4f041461078d578063171d99ab146107a157806318160ddd146107cc5780631c9ad2a1146107e0575f5ffd5b80630c2a4f7414610716578063120c7efd146107355780631659375214610754575f5ffd5b806301ffc9a71461061b578063025e7c271461064f57806306fdde0314610686578063089fe6aa146106a7578063092f31ba146106d6578063095ea7b3146106f7575b5f5ffd5b348015610626575f5ffd5b5061063a6106353660046156fd565b61141b565b60405190151581526020015b60405180910390f35b34801561065a575f5ffd5b5061066e610669366004615724565b611451565b6040516001600160a01b039091168152602001610646565b348015610691575f5ffd5b5061069a611479565b6040516106469190615769565b3480156106b2575f5ffd5b506019546106c29062ffffff1681565b60405162ffffff9091168152602001610646565b3480156106e1575f5ffd5b506106f56106f0366004615724565b611509565b005b348015610702575f5ffd5b5061063a61071136600461578f565b6115e7565b348015610721575f5ffd5b506106f5610730366004615724565b6115fe565b348015610740575f5ffd5b50601c5461066e906001600160a01b031681565b34801561075f575f5ffd5b5061077f61076e3660046157b9565b60326020525f908152604090205481565b604051908152602001610646565b348015610798575f5ffd5b5061069a611794565b3480156107ac575f5ffd5b5061077f6107bb3660046157b9565b602e6020525f908152604090205481565b3480156107d7575f5ffd5b5060025461077f565b3480156107eb575f5ffd5b506106f561180f565b3480156107ff575f5ffd5b5061063a61080e3660046157d4565b611aa6565b34801561081e575f5ffd5b5061077f61082d366004615724565b5f9081526008602052604090206001015490565b34801561084c575f5ffd5b506106f561085b366004615724565b611ac9565b34801561086b575f5ffd5b5061077f61087a3660046157b9565b602d6020525f908152604090205481565b348015610896575f5ffd5b506106f56108a5366004615812565b611ce8565b3480156108b5575f5ffd5b5060405160128152602001610646565b3480156108d0575f5ffd5b5061063a6108df3660046157b9565b602a6020525f908152604090205460ff1681565b3480156108fe575f5ffd5b5061063a61090d366004615812565b602460209081525f928352604080842090915290825290205460ff1681565b348015610937575f5ffd5b506106f5610946366004615812565b611d12565b348015610956575f5ffd5b506106f56109653660046157b9565b611d4a565b348015610975575f5ffd5b506106f5610984366004615724565b611e53565b348015610994575f5ffd5b5061077f6109a33660046157b9565b60276020525f908152604090205481565b3480156109bf575f5ffd5b506106c26109ce3660046157b9565b611f68565b3480156109de575f5ffd5b506106f56109ed366004615724565b61201f565b3480156109fd575f5ffd5b506106f5610a0c3660046157b9565b612134565b348015610a1c575f5ffd5b506106f5610a2b366004615840565b6123ae565b348015610a3b575f5ffd5b5061077f610a4a3660046157b9565b602f6020525f908152604090205481565b348015610a66575f5ffd5b5061077f612459565b348015610a7a575f5ffd5b506106f5610a89366004615724565b61254f565b348015610a99575f5ffd5b506106f561285e565b348015610aad575f5ffd5b5060205461066e906001600160a01b031681565b348015610acc575f5ffd5b506106f5610adb3660046158bb565b612a74565b348015610aeb575f5ffd5b5061077f610afa366004615724565b602b6020525f908152604090205481565b348015610b16575f5ffd5b50610b58610b25366004615724565b602c6020525f908152604090208054600182015460028301546003909301546001600160a01b0390921692909160ff1684565b604080516001600160a01b03909516855260208501939093529183015215156060820152608001610646565b348015610b8f575f5ffd5b5061077f600c5481565b348015610ba4575f5ffd5b506106f5610bb33660046158bb565b612b29565b348015610bc3575f5ffd5b506106f5610bd23660046157b9565b612cd2565b348015610be2575f5ffd5b5061077f60185481565b6106f5612ea5565b348015610bff575f5ffd5b50600d5461066e906001600160a01b031681565b348015610c1e575f5ffd5b50610c32610c2d366004615840565b6134a1565b6040516106469291906158e7565b348015610c4b575f5ffd5b5061077f610c5a3660046157b9565b6001600160a01b03165f9081526020819052604090205490565b348015610c7f575f5ffd5b506106f5613525565b348015610c93575f5ffd5b50610c9c613536565b60408051938452602084019290925290820152606001610646565b348015610cc2575f5ffd5b5061077f610cd1366004615724565b613605565b348015610ce1575f5ffd5b506106f561367d565b348015610cf5575f5ffd5b506106f5610d04366004615724565b613864565b348015610d14575f5ffd5b5061077f600e5481565b348015610d29575f5ffd5b506106f5610d38366004615724565b6139b2565b348015610d48575f5ffd5b50601a5461066e906001600160a01b031681565b348015610d67575f5ffd5b506106f5613a5d565b348015610d7b575f5ffd5b506106f5610d8a3660046157b9565b613a9e565b6106f5610d9d366004615724565b613b42565b348015610dad575f5ffd5b5061077f60105481565b348015610dc2575f5ffd5b506005546001600160a01b031661066e565b348015610ddf575f5ffd5b506106f5610dee366004615724565b613b90565b348015610dfe575f5ffd5b506106f5610e0d366004615724565b613c16565b348015610e1d575f5ffd5b5061063a610e2c366004615812565b613ce1565b348015610e3c575f5ffd5b5061077f60145481565b348015610e51575f5ffd5b5061077f60165481565b348015610e66575f5ffd5b5061069a613d0b565b348015610e7a575f5ffd5b506106f5610e89366004615812565b613d1a565b6106f5610e9c3660046157b9565b613dfb565b348015610eac575f5ffd5b50610ed9610ebb3660046157b9565b60286020525f90815260409020805460019091015460ff9091169082565b604080519215158352602083019190915201610646565b348015610efb575f5ffd5b5061077f60155481565b348015610f10575f5ffd5b5061077f5f81565b348015610f23575f5ffd5b50601f5461066e906001600160a01b031681565b6106f5613e6f565b348015610f4a575f5ffd5b506106f5610f59366004615724565b6140e1565b348015610f69575f5ffd5b5061063a610f7836600461578f565b61414e565b348015610f88575f5ffd5b5061077f600b5481565b348015610f9d575f5ffd5b5061077f600f5481565b348015610fb2575f5ffd5b5061063a610fc13660046157b9565b60256020525f908152604090205460ff1681565b348015610fe0575f5ffd5b50610ed9610fef3660046157b9565b60236020525f90815260409020805460019091015460ff9091169082565b348015611018575f5ffd5b506106f5611027366004615724565b614362565b348015611037575f5ffd5b5060215461066e906001600160a01b031681565b6106f56110593660046157b9565b614434565b348015611069575f5ffd5b5060195461066e90630100000090046001600160a01b031681565b34801561108f575f5ffd5b5061077f60175481565b6106f56144ea565b3480156110ac575f5ffd5b506106f56110bb366004615812565b614568565b3480156110cb575f5ffd5b5061077f60095481565b3480156110e0575f5ffd5b5061077f60135481565b3480156110f5575f5ffd5b5061077f60125481565b34801561110a575f5ffd5b5061077f611119366004615901565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561114e575f5ffd5b5061077f60115481565b348015611163575f5ffd5b506006546001600160a01b031661066e565b348015611180575f5ffd5b506111b561118f3660046157b9565b60316020525f908152604090208054600182015460028301546003909301549192909184565b604080519485526020850193909352918301526060820152608001610646565b3480156111e0575f5ffd5b506112126111ef366004615724565b60226020525f908152604090208054600182015460029092015490919060ff1683565b604080519384526020840192909252151590820152606001610646565b34801561123a575f5ffd5b5061063a6112493660046157b9565b60306020525f908152604090205460ff1681565b348015611268575f5ffd5b506112126112773660046157b9565b60266020525f908152604090208054600182015460029092015490919060ff1683565b3480156112a5575f5ffd5b50610b586112b4366004615724565b60296020525f908152604090208054600182015460028301546003909301546001600160a01b0390921692909160ff1684565b3480156112f2575f5ffd5b506106f5611301366004615724565b61458c565b6106f56113143660046157b9565b61465e565b348015611324575f5ffd5b506106f56113333660046157b9565b614722565b348015611343575f5ffd5b506106f56113523660046157b9565b6149bf565b348015611362575f5ffd5b506106f56113713660046157b9565b614b2d565b348015611381575f5ffd5b50601d5461066e906001600160a01b031681565b3480156113a0575f5ffd5b5060135461077f565b3480156113b4575f5ffd5b5061077f600a5481565b3480156113c9575f5ffd5b5061066e6113d8366004615724565b614b9e565b3480156113e8575f5ffd5b506106f56113f7366004615724565b614bad565b348015611407575f5ffd5b506106f5611416366004615724565b614c37565b5f6001600160e01b03198216637965db0b60e01b148061144b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b601e8181548110611460575f80fd5b5f918252602090912001546001600160a01b0316905081565b6060600380546114889061592d565b80601f01602080910402602001604051908101604052809291908181526020018280546114b49061592d565b80156114ff5780601f106114d6576101008083540402835291602001916114ff565b820191905f5260205f20905b8154815290600101906020018083116114e257829003601f168201915b5050505050905090565b611511614d6d565b80158015906115205750606581105b6115665760405162461bcd60e51b8152602060048201526012602482015271496e76616c69642070657263656e7461676560701b60448201526064015b60405180910390fd5b5f814260405160200161157a929190615965565b60405160208183030381529060405280519060200120905061159b816139b2565b7f50e1e825c1e87fd00faf18f57f50cc1bc7349e8a383fdbac77b9f95c1191d8eb816115ca42620151806159af565b604080519283526020830191909152015b60405180910390a15050565b5f336115f4818585614d9a565b5060019392505050565b611606614d6d565b5f818152602260205260408120805490910361165b5760405162461bcd60e51b81526020600482015260146024820152731058dd1a5bdb881b9bdd081cd8da19591d5b195960621b604482015260640161155d565b805442116116ab5760405162461bcd60e51b815260206004820152601860248201527f416374696f6e2064656c6179206e6f7420656c61707365640000000000000000604482015260640161155d565b60016010546116ba91906159c2565b8160010154116116dc5760405162461bcd60e51b815260040161155d906159d5565b335f90815260038201602052604090205460ff166117335760405162461bcd60e51b81526020600482015260146024820152731858dd1a5bdb881b9bdd0818dbdb999a5c9b595960621b604482015260640161155d565b5f8281526022602052604090819020600201805460ff191690555133907f8f0942ad58aa01551c91e83fb6f58682ca4b53bbcd6537ecea1463b7fe29a77d906117889085904290918252602082015260400190565b60405180910390a25050565b6011546060905f6117ad670de0b6b3a764000083615a20565b90505f655af3107a40006117c9670de0b6b3a764000085615a33565b6117d39190615a20565b90506117de82614da7565b6117e782614da7565b6040516020016117f8929190615a5d565b604051602081830303815290604052935050505090565b335f908152602a602052604090205460ff1661183d5760405162461bcd60e51b815260040161155d90615a85565b335f90815260266020526040812060018101549091036118925760405162461bcd60e51b815260206004820152601060248201526f4e6f207374616b656420746f6b656e7360801b604482015260640161155d565b80545f906118a090426159c2565b90505f60648360010154600a6118b69190615abc565b6118c09190615a20565b90505f6301e1338083106118d5575080611974565b630163f50083106118fe5760646118ed83604b615abc565b6118f79190615a20565b9050611974565b62ed4e0083106119155760646118ed836032615abc565b6276a700831061192c5760646118ed83601e615abc565b60405162461bcd60e51b815260206004820152601760248201527f426f6e7573206e6f742079657420617661696c61626c65000000000000000000604482015260640161155d565b335f9081526027602052604081205461198d90836159c2565b90505f81116119d65760405162461bcd60e51b81526020600482015260156024820152744e6f206e657720626f6e757320746f20636c61696d60581b604482015260640161155d565b806013541015611a245760405162461bcd60e51b8152602060048201526019602482015278125b9cdd59999a58da595b9d08189bdb9d5cc8189d5919d95d603a1b604482015260640161155d565b335f9081526027602052604081208054839290611a429084906159af565b925050819055508060135f828254611a5a91906159c2565b90915550611a6a90503382614ead565b60405181815233907f383cf983c2fcea345d344a4c3639bb3707ab8fb48c0a484c28d3a709efd54b899060200160405180910390a25050505050565b5f33611ab3858285614ee1565b611abe858585614f57565b506001949350505050565b335f908152602a602052604090205460ff16611af75760405162461bcd60e51b815260040161155d90615a85565b5f8111611b465760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604482015260640161155d565b335f9081526026602052604090206001810154821115611ba85760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e74207374616b656420616d6f756e74000000000000604482015260640161155d565b80545f908190611bb890426159c2565b90505f60648460010154600a611bce9190615abc565b611bd89190615a20565b90506276a700821015611bed57809250611c55565b62ed4e00821015611c16576064611c05826046615abc565b611c0f9190615a20565b9250611c55565b630163f500821015611c2f576064611c05826032615abc565b6301e13380821015611c55576064611c48826019615abc565b611c529190615a20565b92505b5f611c6084836159c2565b90508315611c7257611c723385614fb4565b85856001015f828254611c8591906159c2565b90915550611c969050303388614f57565b8015611ca657611ca63382614ead565b6040805187815242602082015233917f933735aa8de6d7547d0126171b2f31b9c34dd00f3ecd4be85a0ba047db4fafef910160405180910390a2505050505050565b5f82815260086020526040902060010154611d0281614fe8565b611d0c8383614ff2565b50505050565b6001600160a01b0381163314611d3b5760405163334bd91960e11b815260040160405180910390fd5b611d458282615083565b505050565b611d52614d6d565b6001600160a01b038116611d9f5760405162461bcd60e51b8152602060048201526014602482015273496e76616c696420706f6f6c206164647265737360601b604482015260640161155d565b5f611da982611f68565b90505f8162ffffff1611611df25760405162461bcd60e51b815260206004820152601060248201526f496e76616c696420706f6f6c2066656560801b604482015260640161155d565b602180546001600160a01b0319166001600160a01b0384169081179091556019805462ffffff191662ffffff84161790556040519081527f031da3734b220fa1a63625219719c1d966c26ac87b5bf949943fec5a80392dfb906020016115db565b611e5b614d6d565b5f818152602960205260409020600381015460ff16611e8c5760405162461bcd60e51b815260040161155d90615ad3565b6001601054611e9b91906159c2565b816002015411611ebd5760405162461bcd60e51b815260040161155d906159d5565b80600101544211611f0b5760405162461bcd60e51b815260206004820152601860248201527710da185b99d94819195b185e481b9bdd08195b185c1cd95960421b604482015260640161155d565b8054601c80546001600160a01b0319166001600160a01b0392831617905560038201805460ff19169055815460405191169083907f33673ce7577956af4469a4b0fcf5e2334f87dd687c6d9695970f8ac7ef01177c905f90a35050565b5f6001600160a01b038216611fbf5760405162461bcd60e51b815260206004820152601760248201527f506f6f6c206164647265737320697320696e76616c6964000000000000000000604482015260640161155d565b816001600160a01b031663ddca3f436040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ffb573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061144b9190615afe565b612027614d6d565b5f818152602c60205260409020600381015460ff166120585760405162461bcd60e51b815260040161155d90615ad3565b600160105461206791906159c2565b8160020154116120895760405162461bcd60e51b815260040161155d906159d5565b806001015442116120d75760405162461bcd60e51b815260206004820152601860248201527710da185b99d94819195b185e481b9bdd08195b185c1cd95960421b604482015260640161155d565b8054601f80546001600160a01b0319166001600160a01b0392831617905560038201805460ff19169055815460405191169083907f54c8c991ce99aa0bb3e3f15bb9a9867cb92f3d468e04fc9bdf30003bb06c97b2905f90a35050565b61213c614d6d565b6001600160a01b0381166121925760405162461bcd60e51b815260206004820152601860248201527f496e76616c69642070726f766964657220616464726573730000000000000000604482015260640161155d565b601f546001600160a01b03908116908216036121f05760405162461bcd60e51b815260206004820152601e60248201527f4e65772070726f7669646572206d75737420626520646966666572656e740000604482015260640161155d565b6040516001600160601b0319606083901b1660208201524260348201525f9060540160408051601f1981840301815291815281516020928301205f818152602c909352912060038101549192509060ff16156122875760405162461bcd60e51b81526020600482015260166024820152755265717565737420616c72656164792061637469766560501b604482015260640161155d565b80546001600160a01b0319166001600160a01b0384161781556122ad62015180426159af565b600180830182905560038301805460ff191690911790555f600283015542116123185760405162461bcd60e51b815260206004820152601c60248201527f4368616e67652064656c6179206e6f742079657420656c617073656400000000604482015260640161155d565b600381015460ff166123615760405162461bcd60e51b815260206004820152601260248201527152657175657374206e6f742061637469766560701b604482015260640161155d565b826001600160a01b0316827f2bd7befcc828a7d58137dd127b5cd4970399de5e3d12341314309f27e33e94a583600101546040516123a191815260200190565b60405180910390a3505050565b600e546123bf906301e133806159af565b42116124045760405162461bcd60e51b8152602060048201526014602482015273125b9d195c9d985b081b9bdd081c995858da195960621b604482015260640161155d565b601b545f0361244e5760405162461bcd60e51b81526020600482015260166024820152754e6f2063657274696669656420636f6d70616e69657360501b604482015260640161155d565b6032611d458161254f565b6021545f906001600160a01b0316806124ab5760405162461bcd60e51b8152602060048201526014602482015273155b9a5cddd85c081c1bdbdb081b9bdd081cd95d60621b604482015260640161155d565b5f816001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e060405180830381865afa1580156124e8573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061250c9190615b36565b505050505050905060c0816001600160a01b0316826001600160a01b03166125349190615abc565b61254690670de0b6b3a7640000615abc565b901c9250505090565b6125576150ee565b61255f614d6d565b600e54612570906301e133806159af565b42116125be5760405162461bcd60e51b815260206004820152601860248201527f416e6e75616c20646973747269627574696f6e206f6e6c790000000000000000604482015260640161155d565b601b545f036126085760405162461bcd60e51b81526020600482015260166024820152754e6f2063657274696669656420636f6d70616e69657360501b604482015260640161155d565b805f036126485760405162461bcd60e51b815260206004820152600e60248201526d042617463682073697a65203e20360941b604482015260640161155d565b601d546001600160a01b0316315f606461266383600a615abc565b61266d9190615a20565b601b54600f54919250905f905b8281108015612695575085600f5461269291906159af565b81105b156126f057602d5f601b83815481106126b0576126b0615bce565b5f9182526020808320909101546001600160a01b031683528201929092526040019020546126de90836159af565b91506126e981615be2565b905061267a565b50805f036127405760405162461bcd60e51b815260206004820181905260248201527f4e6f20746f6b656e732070757263686173656420627920636f6d70616e696573604482015260640161155d565b600f545f61274e87836159af565b905083811061275a5750825b815b818110156127fc575f601b828154811061277857612778615bce565b5f9182526020808320909101546001600160a01b0316808352602d909152604082205490925086906127ab908a90615abc565b6127b59190615a20565b905080156127f2576040516001600160a01b0383169082156108fc029083905f818181858888f193505050501580156127f0573d5f5f3e3d5ffd5b505b505060010161275c565b50600f819055838103612812575f600f5542600e555b60408051868152602081018690527f79cd740565316429cd7959abf85206de5ec9e5df71c7e2764aca2bcf06fed85c910160405180910390a150505050505061285b6001600755565b50565b6128666150ee565b335f908152602a602052604090205460ff166128945760405162461bcd60e51b815260040161155d90615a85565b335f90815260316020526040902080546128e35760405162461bcd60e51b815260206004820152601060248201526f4e6f2076657374656420746f6b656e7360801b604482015260640161155d565b5f620151808260030154426128f891906159c2565b6129029190615a20565b90505f81116129485760405162461bcd60e51b8152602060048201526012602482015271436c61696d206f6e6365207065722064617960701b604482015260640161155d565b81545f9060649061295a906002615abc565b6129649190615a20565b90505f6129718383615abc565b90505f8460010154855f015461298791906159c2565b905080821115612995578091505b5f82116129d75760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f20636c61696d60801b604482015260640161155d565b81856001015f8282546129ea91906159af565b9091555050426003860155305f90815260208190526040902054821115612a235760405162461bcd60e51b815260040161155d90615bfa565b612a2e303384614f57565b60405182815233907f896e034966eaaf1adc54acc0f257056febbd300c9e47182cf761982cf1f5e4309060200160405180910390a25050505050612a726001600755565b565b612a7c614d6d565b6001600160a01b038216612ad25760405162461bcd60e51b815260206004820152601760248201527f496e76616c6964206261636b656e642061646472657373000000000000000000604482015260640161155d565b6001600160a01b0382165f81815260306020908152604091829020805460ff191685151590811790915591519182527f41ffa95f717115e090ac5cbb02950e436631a515ba4ea217c24ca181412e84a89101611788565b335f9081526030602052604090205460ff16612b875760405162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420617574686f72697a65640000000000000000604482015260640161155d565b6001600160a01b038216612bdd5760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420696e766573746f7220616464726573730000000000000000604482015260640161155d565b6001600160a01b0382165f9081526025602052604090205460ff16612c375760405162461bcd60e51b815260206004820152601060248201526f12d650c8199959481b9bdd081c185a5960821b604482015260640161155d565b6001600160a01b0382165f908152602a60205260409020805460ff19168215801591909117909155612c9a576040516001600160a01b038316907f293e993e01bc214772c3f076d0b72798191877356179e95807eba63d2f8d2df2905f90a25050565b6040516001600160a01b038316907ff366f90792e15e534863d2d16c27e22a3b784ab231b46a7c2b6371b7eeba73b8905f90a25b5050565b612cda614d6d565b6001600160a01b038116612d305760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420636572746966696572206164647265737300000000000000604482015260640161155d565b601c546001600160a01b0390811690821603612d8e5760405162461bcd60e51b815260206004820152601f60248201527f4e657720636572746966696572206d75737420626520646966666572656e7400604482015260640161155d565b6040516001600160601b0319606083901b1660208201524260348201525f9060540160408051601f1981840301815291815281516020928301205f8181526029909352912060038101549192509060ff1615612e255760405162461bcd60e51b81526020600482015260166024820152755265717565737420616c72656164792061637469766560501b604482015260640161155d565b80546001600160a01b0319166001600160a01b038416178155612e4b62015180426159af565b600182810182905560038301805460ff191690911790555f60028301556040519081526001600160a01b0384169083907fa6bb5d83e1ddb68abc21752bff8a6ec67a3da60448b068327575f2949a303374906020016123a1565b612ead6150ee565b335f908152602a602052604090205460ff16612edb5760405162461bcd60e51b815260040161155d90615a85565b5f3411612f235760405162461bcd60e51b81526020600482015260166024820152754d7573742070726f76696465206c697175696469747960501b604482015260640161155d565b5f612f2d34613605565b305f90815260208190526040902054909150811115612f8e5760405162461bcd60e51b815260206004820152601d60248201527f4e6f7420656e6f7567682041505445534720696e20636f6e7472616374000000604482015260640161155d565b5f6064612f9c83600a615abc565b612fa69190615a20565b9050806012541015612ff65760405162461bcd60e51b8152602060048201526019602482015278125b9cdd59999a58da595b9d08189bdb9d5cc8189d5919d95d603a1b604482015260640161155d565b60205f9054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004015f604051808303818588803b158015613043575f5ffd5b505af1158015613055573d5f5f3e3d5ffd5b5050602054601a5460405163095ea7b360e01b81526001600160a01b0391821660048201523460248201529116935063095ea7b3925060440190506020604051808303815f875af11580156130ac573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130d09190615c31565b50601a546130e99030906001600160a01b031684614d9a565b6020545f906001600160a01b0316301061310e576020546001600160a01b0316613110565b305b6020549091505f906001600160a01b0316301061312d573061313a565b6020546001600160a01b03165b90505f6001600160a01b03831630146131535734613155565b845b6020549091505f906001600160a01b038481169116146131755785613177565b345b90505f613182615147565b506019549091505f906131999062ffffff16615215565b90505f6131b16131ab61012c85615c4c565b836152ac565b90505f6131c96131c38561012c615c71565b846152ac565b90505f6040518061016001604052808a6001600160a01b03168152602001896001600160a01b0316815260200160195f9054906101000a900462ffffff1662ffffff1681526020018460020b81526020018360020b81526020018881526020018781526020015f81526020015f815260200161324d6005546001600160a01b031690565b6001600160a01b03168152602001613267426103846159af565b9052601a54604051634418b22b60e11b81529192505f916001600160a01b039091169063883164569061329e908590600401615c96565b6080604051808303815f875af11580156132ba573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132de9190615d5a565b50505090508a60125f8282546132f491906159c2565b9091555050335f908152602e602090815260408083208e9055602f8252808320429055603290915290205461332c9062278d006159af565b4210156133955760405162461bcd60e51b815260206004820152603160248201527f596f752063616e2070726f76696465206c6971756964697479206f6e6c79206f6044820152706e6365206576657279203330206461797360781b606482015260840161155d565b60405180608001604052808c8e6133ac91906159af565b81526020015f81526020014281526020014281525060315f336001600160a01b03166001600160a01b031681526020019081526020015f205f820151815f01556020820151816001015560408201518160020155606082015181600301559050504260325f336001600160a01b03166001600160a01b031681526020019081526020015f2081905550336001600160a01b03167f3bca7014f4c0ccc8016338c79f4c00e82068dbadaf4f01ca5449040fdd39f500348e8e604051613483939291909283526020830191909152604082015260600190565b60405180910390a2505050505050505050505050612a726001600755565b601d54600e545f916060916001600160a01b0390911631906134c7906301e133806159af565b42101580156134d75750601b5415155b80156134e257505f81115b925084848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525095989297509195505050505050565b61352d614d6d565b612a725f6152c4565b5f5f5f6135637f0393b4c1b6519e8b53ae0efa1ab522060a3b9f8d86d09c8a22ca6d6eea735cf733613ce1565b6135af5760405162461bcd60e51b815260206004820152601760248201527f43616c6c65722069736e277420617574686f72697a6564000000000000000000604482015260640161155d565b60125460135460145460408051848152602081018490529081018290527fca256af9d38135bcc46810d607bef638a0713963b52e7512f80b8bd6e3bdf6be9060600160405180910390a191945092509050909192565b5f5f61360f612459565b9050805f036136595760405162461bcd60e51b815260206004820152601660248201527541766f6964206469766973696f6e206279207a65726f60501b604482015260640161155d565b8061366c670de0b6b3a764000085615abc565b6136769190615a20565b9392505050565b6136856150ee565b335f908152602a602052604090205460ff166136b35760405162461bcd60e51b815260040161155d90615a85565b335f908152602e60205260409020546137035760405162461bcd60e51b81526020600482015260126024820152714e6f20626f6e757320617661696c61626c6560701b604482015260640161155d565b335f908152602f602052604090205461371f9062278d006159af565b4210156137635760405162461bcd60e51b8152602060048201526012602482015271109bdb9d5cc81cdd1a5b1b081b1bd8dad95960721b604482015260640161155d565b335f908152602e6020526040812080549190556012548111156137d45760405162461bcd60e51b815260206004820152602360248201527f496e73756666696369656e74206c697175696469747920626f6e75732062756460448201526219d95d60ea1b606482015260840161155d565b8060125f8282546137e591906159c2565b9091555050305f908152602081905260409020548111156138185760405162461bcd60e51b815260040161155d90615bfa565b613823303383614f57565b60405181815233907f4e69fdc49495bcab2b4375781457ba16653a90eb4ffb6588351bdc39071433e2906020015b60405180910390a250612a726001600755565b335f908152602a602052604090205460ff166138925760405162461bcd60e51b815260040161155d90615a85565b805f036138e15760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604482015260640161155d565b335f908152602081905260409020548111156139365760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b604482015260640161155d565b613941333083614f57565b335f908152602660205260408120428155600181018054919284926139679084906159af565b909155505060028101805460ff191660011790556040805183815242602082015233917f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee909101611788565b6139ba614d6d565b5f818152602260205260409020805415613a165760405162461bcd60e51b815260206004820152601860248201527f416374696f6e20616c7265616479207363686564756c65640000000000000000604482015260640161155d565b613a2362015180426159af565b8082556040805184815260208101929092527f50e1e825c1e87fd00faf18f57f50cc1bc7349e8a383fdbac77b9f95c1191d8eb91016115db565b60065433906001600160a01b03168114613a955760405163118cdaa760e01b81526001600160a01b038216600482015260240161155d565b61285b816152c4565b613aa6614d6d565b600d546001600160a01b0382811691161461285b575f8142604051602001613acf929190615daa565b604051602081830303815290604052805190602001209050613af0816115fe565b600d80546001600160a01b038481166001600160a01b0319831681179093556040519116919082907f4ab5be82436d353e61ca18726e984e561f5c1cc7c6d38b29d2553c790434705a905f90a3505050565b613b4a614d6d565b806011541461285b57601181905560405181815233907fcd9f3de71a5f344edba338e70b407765c921ec2f6d47e532108af456ef0a09dc9060200160405180910390a250565b613b98614d6d565b600a811115613bd85760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b604482015260640161155d565b600b80549082905560408051828152602081018490527f940334a9f5c76529ad9447ac490c2073b06d880209383a3d3e4b0ecab72a0d9991016115db565b601c546001600160a01b03163314613c405760405162461bcd60e51b815260040161155d90615ddb565b5f8111613ca35760405162461bcd60e51b815260206004820152602b60248201527f43657274696669636174696f6e20666565206d7573742062652067726561746560448201526a72207468616e207a65726f60a81b606482015260840161155d565b600a80549082905560408051828152602081018490527f8e2865cd4fc438a9dc6bef593092558c17cc3c32c7132e34d5fdd0b162b0fd9991016115db565b5f9182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546114889061592d565b613d22614d6d565b6001600160a01b038116613d6c5760405162461bcd60e51b8152602060048201526011602482015270125b9d985b1a59081c9958da5c1a595b9d607a1b604482015260640161155d565b47821115613d8c5760405162461bcd60e51b815260040161155d90615bfa565b6040516001600160a01b0382169083156108fc029084905f818181858888f19350505050158015613dbf573d5f5f3e3d5ffd5b50806001600160a01b03167feaff4b37086828766ad3268786972c0cd24259d4c87a80f9d3963a3c3d999b0d8360405161178891815260200190565b613e03614d6d565b5f8142604051602001613e17929190615daa565b604051602081830303815290604052805190602001209050613e3881614c37565b6040516001600160a01b038316907f3c864541ef71378c6229510ed90f376565ee42d9c5e0904a984a9e863e6db44f905f90a25050565b613e776150ee565b601154341015613ec05760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e74204b59432066656560601b604482015260640161155d565b335f9081526025602052604090205460ff1615613f165760405162461bcd60e51b815260206004820152601460248201527312d650c819995948185b1c9958591e481c185a5960621b604482015260640161155d565b601f546001600160a01b0316613f655760405162461bcd60e51b815260206004820152601460248201527312d650c81c1c9bdd9a59195c881b9bdd081cd95d60621b604482015260640161155d565b600d546001600160a01b0316613fbd5760405162461bcd60e51b815260206004820152601860248201527f54726561737572792061646472657373206e6f74207365740000000000000000604482015260640161155d565b335f90815260256020526040808220805460ff19166001179055600d5490516001600160a01b039091169034908381818185875af1925050503d805f8114614020576040519150601f19603f3d011682016040523d82523d5f602084013e614025565b606091505b50509050806140765760405162461bcd60e51b815260206004820152601b60248201527f5472616e7366657220746f207472656173757279206661696c65640000000000604482015260640161155d565b601f546040516001600160a01b039091169033907f27bac1cd47f7f0b12fbc51b8f234c08315c9e7fe9cbe5b1f419d66b9bb5e9c13905f90a360405134815233907fe43c16d7ebc74bc3fbcf0eb4290a753bd8ab62a88e2f7b133ace9b37298b706190602001613851565b6140e9614d6d565b5f81426040516020016140fd929190615965565b60405160208183030381529060405280519060200120905061411e81614c37565b604051339082907ff1ee42e66a4a5238c8ec9dc53fad2e7a6d1eb231e2b9f109cce957206da381f2905f90a35050565b5f6001600160a01b0383166141a55760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420726563697069656e74206164647265737300000000000000604482015260640161155d565b5f82116142065760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161155d565b335f908152602860205260408120548190819060ff1615614263576064600b54866142319190615abc565b61423b9190615a20565b9250606461424a846032615abc565b6142549190615a20565b915061426082846159c2565b90505b5f61426e84876159c2565b905082156142cc576142803384614fb4565b82600c5f82825461429191906159af565b909155505060405183815233907ffd38818f5291bf0bb3a2a48aadc06ba8757865d1dabd804585338aab3009dcb69060200160405180910390a25b5f821180156142e55750600d546001600160a01b031615155b1561434a57600d546143029033906001600160a01b031684614f57565b600d54604080518481526001600160a01b03909216602083015233917f36119f4f28ae3384ed31589f21ec2992cb0ebe53b11c79a24466ee74471764ed910160405180910390a25b614355338883614f57565b5060019695505050505050565b61436a614d6d565b5f818152602c60205260409020600381015460ff1661439b5760405162461bcd60e51b815260040161155d90615ad3565b335f90815260048201602052604090205460ff16156143cc5760405162461bcd60e51b815260040161155d90615e06565b335f9081526004820160205260408120805460ff19166001908117909155600283018054919290916143ff9084906159af565b9091555050604051339083907f02fb384ed74bda85429ca8c445271c5ba55fc5b812135b940b7e40ef09a2a306905f90a35050565b61443c614d6d565b6001600160a01b0381166144845760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161155d565b601f546001600160a01b0382811691161461285b57601f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f4082cdf8b7f5d3cd556c2a4c0a01aa4b8bebd3db3ec48c5ac4008aaf7554f0e1905f90a35050565b6144f2614d6d565b5f34116145315760405162461bcd60e51b815260206004820152600d60248201526c09aeae6e840e6cadcc8408aa89609b1b604482015260640161155d565b60405134815233907f8e47b87b0ef542cdfa1659c551d88bad38aa7f452d2bbb349ab7530dfec8be8f9060200160405180910390a2565b5f8281526008602052604090206001015461458281614fe8565b611d0c8383615083565b614594614d6d565b5f818152602960205260409020600381015460ff166145c55760405162461bcd60e51b815260040161155d90615ad3565b335f90815260048201602052604090205460ff16156145f65760405162461bcd60e51b815260040161155d90615e06565b335f9081526004820160205260408120805460ff19166001908117909155600283018054919290916146299084906159af565b9091555050604051339083907faf40a0c08bb5db62eff8769cb8662188d3f18264f12c809c7f8cf0f260a43c9b905f90a35050565b614666614d6d565b6001600160a01b0381166146bc5760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420747265617375727920616464726573730000000000000000604482015260640161155d565b600d546001600160a01b0382811691161461285b57600d80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f4ab5be82436d353e61ca18726e984e561f5c1cc7c6d38b29d2553c790434705a905f90a35050565b601c546001600160a01b0316331461474c5760405162461bcd60e51b815260040161155d90615ddb565b6001600160a01b0381166147725760405162461bcd60e51b815260040161155d90615e31565b6001600160a01b0381165f9081526028602052604090205460ff166147d45760405162461bcd60e51b815260206004820152601860248201527710dbdb5c185b9e481a5cc81b9bdd0818d95c9d1a599a595960421b604482015260640161155d565b601b80545f8190036148285760405162461bcd60e51b815260206004820152601960248201527f4e6f20636f6d70616e69657320746f2064656365727469667900000000000000604482015260640161155d565b600f546032905f905b838110801561484c575082600f5461484991906159af565b81105b1561498c57856001600160a01b031685828154811061486d5761486d615bce565b5f918252602090912001546001600160a01b03160361497c57846148926001866159c2565b815481106148a2576148a2615bce565b905f5260205f20015f9054906101000a90046001600160a01b03168582815481106148cf576148cf615bce565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508480548061490a5761490a615e68565b5f828152602080822083015f1990810180546001600160a01b03191690559092019092556001600160a01b03881680835260289091526040808320805460ff19169055516001945090917f73cd725a8a379ec9b6b1697b91f91dd522f7042e29cacae32339a1fb79d6041891a261498c565b61498581615be2565b9050614831565b50806149b3578282600f546149a191906159af565b6149ab9190615a33565b600f556149b8565b5f600f555b5050505050565b601c546001600160a01b031633146149e95760405162461bcd60e51b815260040161155d90615ddb565b6001600160a01b038116614a0f5760405162461bcd60e51b815260040161155d90615e31565b6001600160a01b0381165f9081526028602052604090205460ff1615614a775760405162461bcd60e51b815260206004820152601c60248201527f436f6d70616e7920697320616c72656164792063657274696669656400000000604482015260640161155d565b6001600160a01b0381165f818152602860205260408120805460ff191660019081178255600a5491810191909155601b80549182018155918290527f3ad8aa4f87544323a9d1e5dd902f40c356527a7955687113db5f9a85ad579dc10180546001600160a01b03191690921790915554603210614af757614af7816152dd565b6040516001600160a01b038216907fbc65a13add646e732fd7a006009f986aeac7bebc6f1c1b29843ab60a5fc22ceb905f90a250565b614b35614d6d565b600680546001600160a01b0383166001600160a01b03199091168117909155614b666005546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b601b8181548110611460575f80fd5b614bb5614d6d565b5f8142604051602001614bc9929190615965565b604051602081830303815290604052805190602001209050614bea816115fe565b601554828114611d4557601583905560408051828152602081018590527f40054107419013fadd78e405fcf838d3ded311e95bc5016d130695291fdb4a2b910160405180910390a1505050565b614c3f614d6d565b5f8181526022602052604081208054909103614c945760405162461bcd60e51b81526020600482015260146024820152731058dd1a5bdb881b9bdd081cd8da19591d5b195960621b604482015260640161155d565b335f90815260038201602052604090205460ff1615614cc55760405162461bcd60e51b815260040161155d90615e06565b80544210614d065760405162461bcd60e51b815260206004820152600e60248201526d1058dd1a5bdb88195e1c1a5c995960921b604482015260640161155d565b335f9081526003820160205260408120805460ff19166001908117909155828101805491929091614d389084906159af565b9091555050604051339083907ff1ee42e66a4a5238c8ec9dc53fad2e7a6d1eb231e2b9f109cce957206da381f2905f90a35050565b6005546001600160a01b03163314612a725760405163118cdaa760e01b815233600482015260240161155d565b611d458383836001615488565b6060815f03614dcd5750506040805180820190915260018152600360fc1b602082015290565b815f5b8115614df65780614de081615be2565b9150614def9050600a83615a20565b9150614dd0565b5f8167ffffffffffffffff811115614e1057614e10615e7c565b6040519080825280601f01601f191660200182016040528015614e3a576020820181803683370190505b5090505b8415614ea55781614e4e81615e90565b9250614e5d9050600a86615a33565b614e689060306159af565b60f81b818381518110614e7d57614e7d615bce565b60200101906001600160f81b03191690815f1a905350614e9e600a86615a20565b9450614e3e565b949350505050565b6001600160a01b038216614ed65760405163ec442f0560e01b81525f600482015260240161155d565b612cce5f838361555a565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811015611d0c5781811015614f4957604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161155d565b611d0c84848484035f615488565b6001600160a01b038316614f8057604051634b637e8f60e11b81525f600482015260240161155d565b6001600160a01b038216614fa95760405163ec442f0560e01b81525f600482015260240161155d565b611d4583838361555a565b6001600160a01b038216614fdd57604051634b637e8f60e11b81525f600482015260240161155d565b612cce825f8361555a565b61285b8133615673565b5f614ffd8383613ce1565b61507c575f8381526008602090815260408083206001600160a01b03861684529091529020805460ff191660011790556150343390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161144b565b505f61144b565b5f61508e8383613ce1565b1561507c575f8381526008602090815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a450600161144b565b6002600754036151405760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161155d565b6002600755565b6021545f9081906001600160a01b03166151925760405162461bcd60e51b815260206004820152600c60248201526b141bdbdb081b9bdd081cd95d60a21b604482015260640161155d565b60215f9054906101000a90046001600160a01b03166001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e060405180830381865afa1580156151e2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906152069190615b36565b50939794965093945050505050565b5f8162ffffff1660640361522b57506001919050565b8162ffffff166101f4036152415750600a919050565b8162ffffff16610bb8036152575750603c919050565b8162ffffff166127100361526d575060c8919050565b60405162461bcd60e51b81526020600482015260146024820152732ab739bab83837b93a32b2103332b2903a34b2b960611b604482015260640161155d565b5f806152b88385615ea5565b9050614ea58185615c4c565b600680546001600160a01b031916905561285b816156ac565b6001600160a01b0381166153035760405162461bcd60e51b815260040161155d90615e31565b6001600160a01b0381165f9081526028602052604090205460ff166153655760405162461bcd60e51b815260206004820152601860248201527710dbdb5c185b9e481a5cc81b9bdd0818d95c9d1a599a595960421b604482015260640161155d565b601b546033116153a75760405162461bcd60e51b815260206004820152600d60248201526c131a5b5a5d081c995858da1959609a1b604482015260640161155d565b6014546153be670de0b6b3a76400006103e7615abc565b81116153fd5760405162461bcd60e51b815260206004820152600e60248201526d42756467657420746f6f206c6f7760901b604482015260640161155d565b615411670de0b6b3a76400006103e8615abc565b61541b90826159c2565b60145561543b82615436670de0b6b3a76400006103e8615abc565b614ead565b6001600160a01b0382167fac7ab06511c1585436318f5d185521b966763789479c9122afe02f10ec798bf561547a670de0b6b3a76400006103e8615abc565b604051908152602001611788565b6001600160a01b0384166154b15760405163e602df0560e01b81525f600482015260240161155d565b6001600160a01b0383166154da57604051634a1406b160e11b81525f600482015260240161155d565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015611d0c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161554c91815260200190565b60405180910390a350505050565b6001600160a01b038316615584578060025f82825461557991906159af565b909155506155f49050565b6001600160a01b0383165f90815260208190526040902054818110156155d65760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161155d565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166156105760028054829003905561562e565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516123a191815260200190565b61567d8282613ce1565b612cce5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440161155d565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f6020828403121561570d575f5ffd5b81356001600160e01b031981168114613676575f5ffd5b5f60208284031215615734575f5ffd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f613676602083018461573b565b6001600160a01b038116811461285b575f5ffd5b5f5f604083850312156157a0575f5ffd5b82356157ab8161577b565b946020939093013593505050565b5f602082840312156157c9575f5ffd5b81356136768161577b565b5f5f5f606084860312156157e6575f5ffd5b83356157f18161577b565b925060208401356158018161577b565b929592945050506040919091013590565b5f5f60408385031215615823575f5ffd5b8235915060208301356158358161577b565b809150509250929050565b5f5f60208385031215615851575f5ffd5b823567ffffffffffffffff811115615867575f5ffd5b8301601f81018513615877575f5ffd5b803567ffffffffffffffff81111561588d575f5ffd5b85602082840101111561589e575f5ffd5b6020919091019590945092505050565b801515811461285b575f5ffd5b5f5f604083850312156158cc575f5ffd5b82356158d78161577b565b91506020830135615835816158ae565b8215158152604060208201525f614ea5604083018461573b565b5f5f60408385031215615912575f5ffd5b823561591d8161577b565b915060208301356158358161577b565b600181811c9082168061594157607f821691505b60208210810361595f57634e487b7160e01b5f52602260045260245ffd5b50919050565b7f7570646174655472656173757279426f6e757350657263656e746167650000008152601d810192909252603d820152605d0190565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561144b5761144b61599b565b8181038181111561144b5761144b61599b565b60208082526018908201527f4e6f7420656e6f75676820636f6e6669726d6174696f6e730000000000000000604082015260600190565b634e487b7160e01b5f52601260045260245ffd5b5f82615a2e57615a2e615a0c565b500490565b5f82615a4157615a41615a0c565b500690565b5f81518060208401855e5f93019283525090919050565b5f615a688285615a46565b601760f91b8152615a7c6001820185615a46565b95945050505050565b60208082526018908201527f75736572206973206e6f74204b59432076657269666965640000000000000000604082015260600190565b808202811582820484141761144b5761144b61599b565b602080825260119082015270139bc81858dd1a5d99481c995c5d595cdd607a1b604082015260600190565b5f60208284031215615b0e575f5ffd5b815162ffffff81168114613676575f5ffd5b805161ffff81168114615b31575f5ffd5b919050565b5f5f5f5f5f5f5f60e0888a031215615b4c575f5ffd5b8751615b578161577b565b8097505060208801518060020b8114615b6e575f5ffd5b9550615b7c60408901615b20565b9450615b8a60608901615b20565b9350615b9860808901615b20565b925060a088015160ff81168114615bad575f5ffd5b60c0890151909250615bbe816158ae565b8091505092959891949750929550565b634e487b7160e01b5f52603260045260245ffd5b5f60018201615bf357615bf361599b565b5060010190565b6020808252601d908201527f496e73756666696369656e7420636f6e74726163742062616c616e6365000000604082015260600190565b5f60208284031215615c41575f5ffd5b8151613676816158ae565b600282810b9082900b03627fffff198112627fffff8213171561144b5761144b61599b565b600281810b9083900b01627fffff8113627fffff198212171561144b5761144b61599b565b81516001600160a01b0316815261016081016020830151615cc260208401826001600160a01b03169052565b506040830151615cd9604084018262ffffff169052565b506060830151615cee606084018260020b9052565b506080830151615d03608084018260020b9052565b5060a083015160a083015260c083015160c083015260e083015160e0830152610100830151610100830152610120830151615d4a6101208401826001600160a01b03169052565b5061014092830151919092015290565b5f5f5f5f60808587031215615d6d575f5ffd5b845160208601519094506fffffffffffffffffffffffffffffffff81168114615d94575f5ffd5b6040860151606090960151949790965092505050565b6a736574547265617375727960a81b815260609290921b6001600160601b031916600b830152601f820152603f0190565b6020808252601190820152702737ba1022a9a39031b2b93a34b334b2b960791b604082015260600190565b602080825260119082015270105b1c9958591e4818dbdb999a5c9b5959607a1b604082015260600190565b60208082526017908201527f496e76616c696420636f6d70616e792061646472657373000000000000000000604082015260600190565b634e487b7160e01b5f52603160045260245ffd5b634e487b7160e01b5f52604160045260245ffd5b5f81615e9e57615e9e61599b565b505f190190565b5f8260020b80615eb757615eb7615a0c565b808360020b079150509291505056fea2646970667358221220235bb912a723faeec8f916448fda067db706ccda559c1a281e34605615ca1d6064736f6c634300081e0033

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

0000000000000000000000000000000000000000000000000000000003473bc00000000000000000000000000000000000000000000000000000000003567e00000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe8800000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab10000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000200000000000000000000000072eef7c44809c698b7645bd4a91f12f4b6b2e8160000000000000000000000000000000000000000000000000005543df729c0000000000000000000000000008e46af311f328fda5b5f8c648bb91b6e2022d4a300000000000000000000000000000000000000000000000000000000000000020000000000000000000000008e46af311f328fda5b5f8c648bb91b6e2022d4a300000000000000000000000072eef7c44809c698b7645bd4a91f12f4b6b2e816

-----Decoded View---------------
Arg [0] : _initialSupply (uint256): 55000000
Arg [1] : _maxSupply (uint256): 56000000
Arg [2] : _swapRouter (address): 0xE592427A0AEce92De3Edee1F18E0157C05861564
Arg [3] : _positionManager (address): 0xC36442b4a4522E871399CD717aBDD847Ab11FE88
Arg [4] : _WETH9 (address): 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1
Arg [5] : _owners (address[]): 0x8e46AF311F328FDa5B5F8c648BB91B6e2022D4a3,0x72eEF7c44809C698b7645BD4a91f12f4B6B2e816
Arg [6] : _requiredSignatures (uint256): 2
Arg [7] : _treasury (address): 0x72eEF7c44809C698b7645BD4a91f12f4B6B2e816
Arg [8] : _kycFee (uint256): 1500000000000000
Arg [9] : _initialCertifier (address): 0x8e46AF311F328FDa5B5F8c648BB91B6e2022D4a3

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000003473bc0
Arg [1] : 0000000000000000000000000000000000000000000000000000000003567e00
Arg [2] : 000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564
Arg [3] : 000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe88
Arg [4] : 00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [7] : 00000000000000000000000072eef7c44809c698b7645bd4a91f12f4b6b2e816
Arg [8] : 0000000000000000000000000000000000000000000000000005543df729c000
Arg [9] : 0000000000000000000000008e46af311f328fda5b5f8c648bb91b6e2022d4a3
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [11] : 0000000000000000000000008e46af311f328fda5b5f8c648bb91b6e2022d4a3
Arg [12] : 00000000000000000000000072eef7c44809c698b7645bd4a91f12f4b6b2e816


Deployed Bytecode Sourcemap

94781:43408:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35964:204;;;;;;;;;;-1:-1:-1;35964:204:0;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;35964:204:0;;;;;;;;97542:24;;;;;;;;;;-1:-1:-1;97542:24:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1001:32:1;;;983:51;;971:2;956:18;97542:24:0;837:203:1;13018:91:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;97224:21::-;;;;;;;;;;-1:-1:-1;97224:21:0;;;;;;;;;;;1857:8:1;1845:21;;;1827:40;;1815:2;1800:18;97224:21:0;1683:190:1;123081:419:0;;;;;;;;;;-1:-1:-1;123081:419:0;;;;;:::i;:::-;;:::i;:::-;;15311:190;;;;;;;;;;-1:-1:-1;15311:190:0;;;;;:::i;:::-;;:::i;108507:585::-;;;;;;;;;;-1:-1:-1;108507:585:0;;;;;:::i;:::-;;:::i;97427:24::-;;;;;;;;;;-1:-1:-1;97427:24:0;;;;-1:-1:-1;;;;;97427:24:0;;;100384:56;;;;;;;;;;-1:-1:-1;100384:56:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;3015:25:1;;;3003:2;2988:18;100384:56:0;2869:177:1;110324:366:0;;;;;;;;;;;;;:::i;100163:46::-;;;;;;;;;;-1:-1:-1;100163:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;14120:99;;;;;;;;;;-1:-1:-1;14199:12:0;;14120:99;;135942:1605;;;;;;;;;;;;;:::i;16111:249::-;;;;;;;;;;-1:-1:-1;16111:249:0;;;;;:::i;:::-;;:::i;37244:122::-;;;;;;;;;;-1:-1:-1;37244:122:0;;;;;:::i;:::-;37309:7;37336:12;;;:6;:12;;;;;:22;;;;37244:122;134279:1611;;;;;;;;;;-1:-1:-1;134279:1611:0;;;;;:::i;:::-;;:::i;100089:67::-;;;;;;;;;;-1:-1:-1;100089:67:0;;;;;:::i;:::-;;;;;;;;;;;;;;37676:138;;;;;;;;;;-1:-1:-1;37676:138:0;;;;;:::i;:::-;;:::i;13971:84::-;;;;;;;;;;-1:-1:-1;13971:84:0;;14045:2;4260:36:1;;4248:2;4233:18;13971:84:0;4118:184:1;99756:69:0;;;;;;;;;;-1:-1:-1;99756:69:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;99209:72;;;;;;;;;;-1:-1:-1;99209:72:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;38813:251;;;;;;;;;;-1:-1:-1;38813:251:0;;;;;:::i;:::-;;:::i;131637:388::-;;;;;;;;;;-1:-1:-1;131637:388:0;;;;;:::i;:::-;;:::i;117526:582::-;;;;;;;;;;-1:-1:-1;117526:582:0;;;;;:::i;:::-;;:::i;99456:47::-;;;;;;;;;;-1:-1:-1;99456:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;132079:172;;;;;;;;;;-1:-1:-1;132079:172:0;;;;;:::i;:::-;;:::i;113377:596::-;;;;;;;;;;-1:-1:-1;113377:596:0;;;;;:::i;:::-;;:::i;111992:836::-;;;;;;;;;;-1:-1:-1;111992:836:0;;;;;:::i;:::-;;:::i;122625:380::-;;;;;;;;;;-1:-1:-1;122625:380:0;;;;;:::i;:::-;;:::i;100216:51::-;;;;;;;;;;-1:-1:-1;100216:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;132516:312;;;;;;;;;;;;;:::i;120187:1850::-;;;;;;;;;;-1:-1:-1;120187:1850:0;;;;;:::i;:::-;;:::i;129698:1011::-;;;;;;;;;;;;;:::i;97689:20::-;;;;;;;;;;-1:-1:-1;97689:20:0;;;;-1:-1:-1;;;;;97689:20:0;;;114020:255;;;;;;;;;;-1:-1:-1;114020:255:0;;;;;:::i;:::-;;:::i;99861:70::-;;;;;;;;;;-1:-1:-1;99861:70:0;;;;;:::i;:::-;;;;;;;;;;;;;;99971:71;;;;;;;;;;-1:-1:-1;99971:71:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;99971:71:0;;;;;;;;;;;;;;-1:-1:-1;;;;;5651:32:1;;;5633:51;;5715:2;5700:18;;5693:34;;;;5743:18;;;5736:34;5813:14;5806:22;5801:2;5786:18;;5779:50;5620:3;5605:19;99971:71:0;5408:427:1;95940:32:0;;;;;;;;;;;;;;;;114440:461;;;;;;;;;;-1:-1:-1;114440:461:0;;;;;:::i;:::-;;:::i;116264:713::-;;;;;;;;;;-1:-1:-1;116264:713:0;;;;;:::i;:::-;;:::i;97093:32::-;;;;;;;;;;;;;;;;126735:2899;;;:::i;96009:23::-;;;;;;;;;;-1:-1:-1;96009:23:0;;;;-1:-1:-1;;;;;96009:23:0;;;122118:445;;;;;;;;;;-1:-1:-1;122118:445:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;14282:118::-;;;;;;;;;;-1:-1:-1;14282:118:0;;;;;:::i;:::-;-1:-1:-1;;;;;14374:18:0;14347:7;14374:18;;;;;;;;;;;;14282:118;24740:103;;;;;;;;;;;;;:::i;106921:618::-;;;;;;;;;;;;;:::i;:::-;;;;6357:25:1;;;6413:2;6398:18;;6391:34;;;;6441:18;;;6434:34;6345:2;6330:18;106921:618:0;6155:319:1;132262:243:0;;;;;;;;;;-1:-1:-1;132262:243:0;;;;;:::i;:::-;;:::i;130773:848::-;;;;;;;;;;;;;:::i;133626:607::-;;;;;;;;;;-1:-1:-1;133626:607:0;;;;;:::i;:::-;;:::i;96154:35::-;;;;;;;;;;;;;;;;107604:324;;;;;;;;;;-1:-1:-1;107604:324:0;;;;;:::i;:::-;;:::i;97312:30::-;;;;;;;;;;-1:-1:-1;97312:30:0;;;;-1:-1:-1;;;;;97312:30:0;;;27868:235;;;;;;;;;;;;;:::i;115160:490::-;;;;;;;;;;-1:-1:-1;115160:490:0;;;;;:::i;:::-;;:::i;110063:189::-;;;;;;:::i;:::-;;:::i;96387:37::-;;;;;;;;;;;;;;;;24065:87;;;;;;;;;;-1:-1:-1;24138:6:0;;-1:-1:-1;;;;;24138:6:0;24065:87;;126403:241;;;;;;;;;;-1:-1:-1;126403:241:0;;;;;:::i;:::-;;:::i;124567:347::-;;;;;;;;;;-1:-1:-1;124567:347:0;;;;;:::i;:::-;;:::i;36260:138::-;;;;;;;;;;-1:-1:-1;36260:138:0;;;;;:::i;:::-;;:::i;96722:70::-;;;;;;;;;;;;;;;;96909:50;;;;;;;;;;;;;;;;13228:95;;;;;;;;;;;;;:::i;137894:292::-;;;;;;;;;;-1:-1:-1;137894:292:0;;;;;:::i;:::-;;:::i;114907:247::-;;;;;;:::i;:::-;;:::i;99569:65::-;;;;;;;;;;-1:-1:-1;99569:65:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7052:14:1;;7045:22;7027:41;;7099:2;7084:18;;7077:34;;;;7000:18;99569:65:0;6859:258:1;96835:43:0;;;;;;;;;;;;;;;;35572:49;;;;;;;;;;-1:-1:-1;35572:49:0;35617:4;35572:49;;97614:26;;;;;;;;;;-1:-1:-1;97614:26:0;;;;-1:-1:-1;;;;;97614:26:0;;;111199:719;;;:::i;123577:303::-;;;;;;;;;;-1:-1:-1;123577:303:0;;;;;:::i;:::-;;:::i;124980:1306::-;;;;;;;;;;-1:-1:-1;124980:1306:0;;;;;:::i;:::-;;:::i;95862:30::-;;;;;;;;;;;;;;;;96196:31;;;;;;;;;;;;;;;;99288:54;;;;;;;;;;-1:-1:-1;99288:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;99108:59;;;;;;;;;;-1:-1:-1;99108:59:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;112889:447;;;;;;;;;;-1:-1:-1;112889:447:0;;;;;:::i;:::-;;:::i;97761:26::-;;;;;;;;;;-1:-1:-1;97761:26:0;;;;-1:-1:-1;;;;;97761:26:0;;;109327:320;;;;;;:::i;:::-;;:::i;97254:25::-;;;;;;;;;;-1:-1:-1;97254:25:0;;;;;;;-1:-1:-1;;;;;97254:25:0;;;97026:28;;;;;;;;;;;;;;;;137730:158;;;:::i;38107:140::-;;;;;;;;;;-1:-1:-1;38107:140:0;;;;;:::i;:::-;;:::i;95759:24::-;;;;;;;;;;;;;;;;96618:67;;;;;;;;;;;;;;;;96510:69;;;;;;;;;;;;;;;;14850:142;;;;;;;;;;-1:-1:-1;14850:142:0;;;;;:::i;:::-;-1:-1:-1;;;;;14957:18:0;;;14930:7;14957:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;14850:142;96468:21;;;;;;;;;;;;;;;;26829:101;;;;;;;;;;-1:-1:-1;26909:13:0;;-1:-1:-1;;;;;26909:13:0;26829:101;;100331:46;;;;;;;;;;-1:-1:-1;100331:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7746:25:1;;;7802:2;7787:18;;7780:34;;;;7830:18;;;7823:34;7888:2;7873:18;;7866:34;7733:3;7718:19;100331:46:0;7515:391:1;99034:67:0;;;;;;;;;;-1:-1:-1;99034:67:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8107:25:1;;;8163:2;8148:18;;8141:34;;;;8218:14;8211:22;8191:18;;;8184:50;8095:2;8080:18;99034:67:0;7911:329:1;100274:50:0;;;;;;;;;;-1:-1:-1;100274:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;99389:60;;;;;;;;;;-1:-1:-1;99389:60:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99641:75;;;;;;;;;;-1:-1:-1;99641:75:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;99641:75:0;;;;;;;;;;117040:427;;;;;;;;;;-1:-1:-1;117040:427:0;;;;;:::i;:::-;;:::i;109695:314::-;;;;;;:::i;:::-;;:::i;118842:1242::-;;;;;;;;;;-1:-1:-1;118842:1242:0;;;;;:::i;:::-;;:::i;115688:504::-;;;;;;;;;;-1:-1:-1;115688:504:0;;;;;:::i;:::-;;:::i;27256:181::-;;;;;;;;;;-1:-1:-1;27256:181:0;;;;;:::i;:::-;;:::i;97505:30::-;;;;;;;;;;-1:-1:-1;97505:30:0;;;;-1:-1:-1;;;;;97505:30:0;;;137553:108;;;;;;;;;;-1:-1:-1;137635:18:0;;137553:108;;95790:40;;;;;;;;;;;;;;;;97380;;;;;;;;;;-1:-1:-1;97380:40:0;;;;;:::i;:::-;;:::i;123955:547::-;;;;;;;;;;-1:-1:-1;123955:547:0;;;;;:::i;:::-;;:::i;107992:462::-;;;;;;;;;;-1:-1:-1;107992:462:0;;;;;:::i;:::-;;:::i;35964:204::-;36049:4;-1:-1:-1;;;;;;36073:47:0;;-1:-1:-1;;;36073:47:0;;:87;;-1:-1:-1;;;;;;;;;;33400:40:0;;;36124:36;36066:94;35964:204;-1:-1:-1;;35964:204:0:o;97542:24::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;97542:24:0;;-1:-1:-1;97542:24:0;:::o;13018:91::-;13063:13;13096:5;13089:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13018:91;:::o;123081:419::-;23951:13;:11;:13::i;:::-;123185:18;;;::::1;::::0;:41:::1;;;123223:3;123207:13;:19;123185:41;123177:72;;;::::0;-1:-1:-1;;;123177:72:0;;8832:2:1;123177:72:0::1;::::0;::::1;8814:21:1::0;8871:2;8851:18;;;8844:30;-1:-1:-1;;;8890:18:1;;;8883:48;8948:18;;123177:72:0::1;;;;;;;;;123256:16;123335:13;123350:15;123285:81;;;;;;;;;:::i;:::-;;;;;;;;;;;;;123275:92;;;;;;123256:111;;123374:29;123394:8;123374:19;:29::i;:::-;123415:56;123436:8:::0;123446:24:::1;:15;123464:6;123446:24;:::i;:::-;123415:56;::::0;;9828:25:1;;;9884:2;9869:18;;9862:34;;;;9801:18;123415:56:0::1;;;;;;;;123170:330;123081:419:::0;:::o;15311:190::-;15384:4;4417:10;15440:31;4417:10;15456:7;15465:5;15440:8;:31::i;:::-;-1:-1:-1;15489:4:0;;15311:190;-1:-1:-1;;;15311:190:0:o;108507:585::-;23951:13;:11;:13::i;:::-;108577:26:::1;108606:22:::0;;;:12:::1;:22;::::0;;;;108643:18;;108606:22;;108643:23;108635:56:::1;;;::::0;-1:-1:-1;;;108635:56:0;;10109:2:1;108635:56:0::1;::::0;::::1;10091:21:1::0;10148:2;10128:18;;;10121:30;-1:-1:-1;;;10167:18:1;;;10160:50;10227:18;;108635:56:0::1;9907:344:1::0;108635:56:0::1;108724:18:::0;;108706:15:::1;:36;108698:73;;;::::0;-1:-1:-1;;;108698:73:0;;10458:2:1;108698:73:0::1;::::0;::::1;10440:21:1::0;10497:2;10477:18;;;10470:30;10536:26;10516:18;;;10509:54;10580:18;;108698:73:0::1;10256:348:1::0;108698:73:0::1;108830:1;108809:18;;:22;;;;:::i;:::-;108786:6;:20;;;:45;108778:82;;;;-1:-1:-1::0;;;108778:82:0::1;;;;;;;:::i;:::-;108894:10;108875:30;::::0;;;:18:::1;::::0;::::1;:30;::::0;;;;;::::1;;108867:63;;;::::0;-1:-1:-1;;;108867:63:0;;11297:2:1;108867:63:0::1;::::0;::::1;11279:21:1::0;11336:2;11316:18;;;11309:30;-1:-1:-1;;;11355:18:1;;;11348:50;11415:18;;108867:63:0::1;11095:344:1::0;108867:63:0::1;109009:5;108975:22:::0;;;:12:::1;:22;::::0;;;;;;:31:::1;;:39:::0;;-1:-1:-1;;108975:39:0::1;::::0;;109026:58;109056:10:::1;::::0;109026:58:::1;::::0;::::1;::::0;108988:8;;109068:15:::1;::::0;9828:25:1;;;9884:2;9869:18;;9862:34;9816:2;9801:18;;9654:248;109026:58:0::1;;;;;;;;108570:522;108507:585:::0;:::o;110324:366::-;110414:6;;110373:13;;110395:16;110449:18;110460:7;110414:6;110449:18;:::i;:::-;110427:40;-1:-1:-1;110497:19:0;110542:4;110520:18;110531:7;110520:8;:18;:::i;:::-;110519:27;;;;:::i;:::-;110497:49;;110616:21;110625:11;110616:8;:21::i;:::-;110653;110662:11;110653:8;:21::i;:::-;110589:92;;;;;;;;;:::i;:::-;;;;;;;;;;;;;110575:107;;;;;110324:366;:::o;135942:1605::-;95486:10;95468:29;;;;:17;:29;;;;;;;;95460:66;;;;-1:-1:-1;;;95460:66:0;;;;;;;:::i;:::-;136058:10:::1;136008:35;136046:23:::0;;;:11:::1;:23;::::0;;;;136084:22:::1;::::0;::::1;::::0;136046:23;;136084:27;136076:56:::1;;;::::0;-1:-1:-1;;;136076:56:0;;13016:2:1;136076:56:0::1;::::0;::::1;12998:21:1::0;13055:2;13035:18;;;13028:30;-1:-1:-1;;;13074:18:1;;;13067:46;13130:18;;136076:56:0::1;12814:340:1::0;136076:56:0::1;136185:25:::0;;136141:23:::1;::::0;136167:43:::1;::::0;:15:::1;:43;:::i;:::-;136141:69;;136217:18;136270:3;136239:15;:22;;;136264:2;136239:27;;;;:::i;:::-;136238:35;;;;:::i;:::-;136217:56:::0;-1:-1:-1;136322:22:0::1;136464:8;136445:27:::0;::::1;136441:546;;-1:-1:-1::0;136502:10:0;136441:546:::1;;;136570:8;136551:15;:27;136547:440;;136628:3;136609:15;:10:::0;136622:2:::1;136609:15;:::i;:::-;136608:23;;;;:::i;:::-;136591:40;;136547:440;;;136687:8;136668:15;:27;136664:323;;136745:3;136726:15;:10:::0;136739:2:::1;136726:15;:::i;136664:323::-;136804:7;136785:15;:26;136781:206;;136861:3;136842:15;:10:::0;136855:2:::1;136842:15;:::i;136781:206::-;136908:33;::::0;-1:-1:-1;;;136908:33:0;;13534:2:1;136908:33:0::1;::::0;::::1;13516:21:1::0;13573:2;13553:18;;;13546:30;13612:25;13592:18;;;13585:53;13655:18;;136908:33:0::1;13332:347:1::0;136781:206:0::1;137117:10;137062:22;137104:24:::0;;;:12:::1;:24;::::0;;;;;137087:41:::1;::::0;:14;:41:::1;:::i;:::-;137062:66;;137160:1;137143:14;:18;137135:52;;;::::0;-1:-1:-1;;;137135:52:0;;13886:2:1;137135:52:0::1;::::0;::::1;13868:21:1::0;13925:2;13905:18;;;13898:30;-1:-1:-1;;;13944:18:1;;;13937:51;14005:18;;137135:52:0::1;13684:345:1::0;137135:52:0::1;137226:14;137204:18;;:36;;137196:74;;;::::0;-1:-1:-1;;;137196:74:0;;14236:2:1;137196:74:0::1;::::0;::::1;14218:21:1::0;14275:2;14255:18;;;14248:30;-1:-1:-1;;;14294:18:1;;;14287:55;14359:18;;137196:74:0::1;14034:349:1::0;137196:74:0::1;137361:10;137348:24;::::0;;;:12:::1;:24;::::0;;;;:42;;137376:14;;137348:24;:42:::1;::::0;137376:14;;137348:42:::1;:::i;:::-;;;;;;;;137424:14;137402:18;;:36;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;137445:33:0::1;::::0;-1:-1:-1;137451:10:0::1;137463:14:::0;137445:5:::1;:33::i;:::-;137492:47;::::0;3015:25:1;;;137512:10:0::1;::::0;137492:47:::1;::::0;3003:2:1;2988:18;137492:47:0::1;;;;;;;136001:1546;;;;;135942:1605::o:0;16111:249::-;16198:4;4417:10;16256:37;16272:4;4417:10;16287:5;16256:15;:37::i;:::-;16304:26;16314:4;16320:2;16324:5;16304:9;:26::i;:::-;-1:-1:-1;16348:4:0;;16111:249;-1:-1:-1;;;;16111:249:0:o;134279:1611::-;95486:10;95468:29;;;;:17;:29;;;;;;;;95460:66;;;;-1:-1:-1;;;95460:66:0;;;;;;;:::i;:::-;134372:1:::1;134363:6;:10;134355:52;;;::::0;-1:-1:-1;;;134355:52:0;;14590:2:1;134355:52:0::1;::::0;::::1;14572:21:1::0;14629:2;14609:18;;;14602:30;14668:31;14648:18;;;14641:59;14717:18;;134355:52:0::1;14388:353:1::0;134355:52:0::1;134464:10;134414:35;134452:23:::0;;;:11:::1;:23;::::0;;;;134492:22:::1;::::0;::::1;::::0;:32;-1:-1:-1;134492:32:0::1;134484:71;;;::::0;-1:-1:-1;;;134484:71:0;;14948:2:1;134484:71:0::1;::::0;::::1;14930:21:1::0;14987:2;14967:18;;;14960:30;15026:28;15006:18;;;14999:56;15072:18;;134484:71:0::1;14746:350:1::0;134484:71:0::1;134634:25:::0;;134564:15:::1;::::0;;;134616:43:::1;::::0;:15:::1;:43;:::i;:::-;134590:69;;134666:19;134720:3;134689:15;:22;;;134714:2;134689:27;;;;:::i;:::-;134688:35;;;;:::i;:::-;134666:57;;134820:7;134802:15;:25;134798:449;;;134850:11;134840:21;;134798:449;;;134924:8;134906:15;:26;134902:345;;;134976:3;134956:16;:11:::0;134970:2:::1;134956:16;:::i;:::-;134955:24;;;;:::i;:::-;134945:34;;134902:345;;;135041:8;135023:15;:26;135019:228;;;135093:3;135073:16;:11:::0;135087:2:::1;135073:16;:::i;135019:228::-;135158:8;135140:15;:26;135136:111;;;135210:3;135190:16;:11:::0;135204:2:::1;135190:16;:::i;:::-;135189:24;;;;:::i;:::-;135179:34;;135136:111;135255:22;135280:21;135294:7:::0;135280:11;:21:::1;:::i;:::-;135255:46:::0;-1:-1:-1;135390:11:0;;135386:62:::1;;135414:26;135420:10;135432:7;135414:5;:26::i;:::-;135552:6;135526:15;:22;;;:32;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;135634:44:0::1;::::0;-1:-1:-1;135652:4:0::1;135659:10;135671:6:::0;135634:9:::1;:44::i;:::-;135746:18:::0;;135742:76:::1;;135777:33;135783:10;135795:14;135777:5;:33::i;:::-;135831:51;::::0;;9828:25:1;;;135866:15:0::1;9884:2:1::0;9869:18;;9862:34;135846:10:0::1;::::0;135831:51:::1;::::0;9801:18:1;135831:51:0::1;;;;;;;134348:1542;;;;;134279:1611:::0;:::o;37676:138::-;37309:7;37336:12;;;:6;:12;;;;;:22;;;35856:16;35867:4;35856:10;:16::i;:::-;37781:25:::1;37792:4;37798:7;37781:10;:25::i;:::-;;37676:138:::0;;;:::o;38813:251::-;-1:-1:-1;;;;;38907:34:0;;4417:10;38907:34;38903:104;;38965:30;;-1:-1:-1;;;38965:30:0;;;;;;;;;;;38903:104;39019:37;39031:4;39037:18;39019:11;:37::i;:::-;;38813:251;;:::o;131637:388::-;23951:13;:11;:13::i;:::-;-1:-1:-1;;;;;131715:21:0;::::1;131707:54;;;::::0;-1:-1:-1;;;131707:54:0;;15556:2:1;131707:54:0::1;::::0;::::1;15538:21:1::0;15595:2;15575:18;;;15568:30;-1:-1:-1;;;15614:18:1;;;15607:50;15674:18;;131707:54:0::1;15354:344:1::0;131707:54:0::1;131808:13;131824:19;131835:7;131824:10;:19::i;:::-;131808:35;;131867:1;131858:6;:10;;;131850:39;;;::::0;-1:-1:-1;;;131850:39:0;;15905:2:1;131850:39:0::1;::::0;::::1;15887:21:1::0;15944:2;15924:18;;;15917:30;-1:-1:-1;;;15963:18:1;;;15956:46;16019:18;;131850:39:0::1;15703:340:1::0;131850:39:0::1;131932:11;:21:::0;;-1:-1:-1;;;;;;131932:21:0::1;-1:-1:-1::0;;;;;131932:21:0;::::1;::::0;;::::1;::::0;;;131960:7:::1;:16:::0;;-1:-1:-1;;131960:16:0::1;;::::0;::::1;;::::0;;131990:27:::1;::::0;983:51:1;;;131990:27:0::1;::::0;971:2:1;956:18;131990:27:0::1;837:203:1::0;117526:582:0;23951:13;:11;:13::i;:::-;117606:37:::1;117646::::0;;;:26:::1;:37;::::0;;;;117698:16:::1;::::0;::::1;::::0;::::1;;117690:46;;;;-1:-1:-1::0;;;117690:46:0::1;;;;;;;:::i;:::-;117796:1;117775:18;;:22;;;;:::i;:::-;117751:7;:21;;;:46;117743:83;;;;-1:-1:-1::0;;;117743:83:0::1;;;;;;;:::i;:::-;117859:7;:18;;;117841:15;:36;117833:73;;;::::0;-1:-1:-1;;;117833:73:0;;16596:2:1;117833:73:0::1;::::0;::::1;16578:21:1::0;16635:2;16615:18;;;16608:30;-1:-1:-1;;;16654:18:1;;;16647:54;16718:18;;117833:73:0::1;16394:348:1::0;117833:73:0::1;117925:19:::0;;117913:9:::1;:31:::0;;-1:-1:-1;;;;;;117913:31:0::1;-1:-1:-1::0;;;;;117925:19:0;;::::1;117913:31;::::0;;117980:16:::1;::::0;::::1;:24:::0;;-1:-1:-1;;117980:24:0::1;::::0;;118080:19;;118042:58:::1;::::0;118080:19;::::1;::::0;118069:9;;118042:58:::1;::::0;117925:19:::1;::::0;118042:58:::1;117599:509;117526:582:::0;:::o;132079:172::-;132134:6;-1:-1:-1;;;;;132157:18:0;;132149:54;;;;-1:-1:-1;;;132149:54:0;;16949:2:1;132149:54:0;;;16931:21:1;16988:2;16968:18;;;16961:30;17027:25;17007:18;;;17000:53;17070:18;;132149:54:0;16747:347:1;132149:54:0;132232:4;-1:-1:-1;;;;;132217:24:0;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;113377:596::-;23951:13;:11;:13::i;:::-;113456:37:::1;113496:33:::0;;;:22:::1;:33;::::0;;;;113544:16:::1;::::0;::::1;::::0;::::1;;113536:46;;;;-1:-1:-1::0;;;113536:46:0::1;;;;;;;:::i;:::-;113642:1;113621:18;;:22;;;;:::i;:::-;113597:7;:21;;;:46;113589:83;;;;-1:-1:-1::0;;;113589:83:0::1;;;;;;;:::i;:::-;113705:7;:18;;;113687:15;:36;113679:73;;;::::0;-1:-1:-1;;;113679:73:0;;16596:2:1;113679:73:0::1;::::0;::::1;16578:21:1::0;16635:2;16615:18;;;16608:30;-1:-1:-1;;;16654:18:1;;;16647:54;16718:18;;113679:73:0::1;16394:348:1::0;113679:73:0::1;113806:19:::0;;113792:11:::1;:33:::0;;-1:-1:-1;;;;;;113792:33:0::1;-1:-1:-1::0;;;;;113806:19:0;;::::1;113792:33;::::0;;113875:16:::1;::::0;::::1;:24:::0;;-1:-1:-1;;113875:24:0::1;::::0;;113945:19;;113911:54:::1;::::0;113945:19;::::1;::::0;113934:9;;113911:54:::1;::::0;113806:19:::1;::::0;113911:54:::1;113449:524;113377:596:::0;:::o;111992:836::-;23951:13;:11;:13::i;:::-;-1:-1:-1;;;;;112081:25:0;::::1;112073:62;;;::::0;-1:-1:-1;;;112073:62:0;;17584:2:1;112073:62:0::1;::::0;::::1;17566:21:1::0;17623:2;17603:18;;;17596:30;17662:26;17642:18;;;17635:54;17706:18;;112073:62:0::1;17382:348:1::0;112073:62:0::1;112165:11;::::0;-1:-1:-1;;;;;112165:11:0;;::::1;112150:26:::0;;::::1;::::0;112142:69:::1;;;::::0;-1:-1:-1;;;112142:69:0;;17937:2:1;112142:69:0::1;::::0;::::1;17919:21:1::0;17976:2;17956:18;;;17949:30;18015:32;17995:18;;;17988:60;18065:18;;112142:69:0::1;17735:354:1::0;112142:69:0::1;112248:46;::::0;-1:-1:-1;;;;;;18271:2:1;18267:15;;;18263:53;112248:46:0::1;::::0;::::1;18251:66:1::0;112278:15:0::1;18333:12:1::0;;;18326:28;112218:17:0::1;::::0;18370:12:1;;112248:46:0::1;::::0;;-1:-1:-1;;112248:46:0;;::::1;::::0;;;;;;112238:57;;112248:46:::1;112238:57:::0;;::::1;::::0;112302:37:::1;112342:33:::0;;;:22:::1;:33:::0;;;;;112391:16:::1;::::0;::::1;::::0;112238:57;;-1:-1:-1;112342:33:0;112391:16:::1;;112390:17;112382:52;;;::::0;-1:-1:-1;;;112382:52:0;;18595:2:1;112382:52:0::1;::::0;::::1;18577:21:1::0;18634:2;18614:18;;;18607:30;-1:-1:-1;;;18653:18:1;;;18646:52;18715:18;;112382:52:0::1;18393:346:1::0;112382:52:0::1;112441:33:::0;;-1:-1:-1;;;;;;112441:33:0::1;-1:-1:-1::0;;;;;112441:33:0;::::1;;::::0;;112502:39:::1;96327:6;112502:15;:39;:::i;:::-;112481:18;::::0;;::::1;:60:::0;;;112548:16:::1;::::0;::::1;:23:::0;;-1:-1:-1;;112548:23:0::1;::::0;;::::1;::::0;;:16:::1;112578:21;::::0;::::1;:25:::0;112618:15:::1;:36;112610:77;;;::::0;-1:-1:-1;;;112610:77:0;;18946:2:1;112610:77:0::1;::::0;::::1;18928:21:1::0;18985:2;18965:18;;;18958:30;19024;19004:18;;;18997:58;19072:18;;112610:77:0::1;18744:352:1::0;112610:77:0::1;112702:16;::::0;::::1;::::0;::::1;;112694:47;;;::::0;-1:-1:-1;;;112694:47:0;;19303:2:1;112694:47:0::1;::::0;::::1;19285:21:1::0;19342:2;19322:18;;;19315:30;-1:-1:-1;;;19361:18:1;;;19354:48;19419:18;;112694:47:0::1;19101:342:1::0;112694:47:0::1;112788:11;-1:-1:-1::0;;;;;112753:67:0::1;112777:9;112753:67;112801:7;:18;;;112753:67;;;;3015:25:1::0;;3003:2;2988:18;;2869:177;112753:67:0::1;;;;;;;;112066:762;;111992:836:::0;:::o;122625:380::-;122731:20;;:31;;122754:8;122731:31;:::i;:::-;122713:15;:49;122705:82;;;;-1:-1:-1;;;122705:82:0;;19650:2:1;122705:82:0;;;19632:21:1;19689:2;19669:18;;;19662:30;-1:-1:-1;;;19708:18:1;;;19701:50;19768:18;;122705:82:0;19448:344:1;122705:82:0;122802:22;:29;122835:1;122802:34;122794:69;;;;-1:-1:-1;;;122794:69:0;;19999:2:1;122794:69:0;;;19981:21:1;20038:2;20018:18;;;20011:30;-1:-1:-1;;;20057:18:1;;;20050:52;20119:18;;122794:69:0;19797:346:1;122794:69:0;122890:2;122954:43;122890:2;122954:32;:43::i;132516:312::-;132599:11;;132568:7;;-1:-1:-1;;;;;132599:11:0;;132617:51;;;;-1:-1:-1;;;132617:51:0;;20350:2:1;132617:51:0;;;20332:21:1;20389:2;20369:18;;;20362:30;-1:-1:-1;;;20408:18:1;;;20401:50;20468:18;;132617:51:0;20148:344:1;132617:51:0;132678:20;132729:4;-1:-1:-1;;;;;132714:26:0;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;132677:65;;;;;;;;132813:6;132788:12;-1:-1:-1;;;;;132780:21:0;132764:12;-1:-1:-1;;;;;132756:21:0;:45;;;;:::i;:::-;:52;;132804:4;132756:52;:::i;:::-;:64;;132749:71;;;;132516:312;:::o;120187:1850::-;42937:21;:19;:21::i;:::-;23951:13:::1;:11;:13::i;:::-;120311:20:::2;::::0;:31:::2;::::0;120334:8:::2;120311:31;:::i;:::-;120293:15;:49;120285:86;;;::::0;-1:-1:-1;;;120285:86:0;;21824:2:1;120285:86:0::2;::::0;::::2;21806:21:1::0;21863:2;21843:18;;;21836:30;21902:26;21882:18;;;21875:54;21946:18;;120285:86:0::2;21622:348:1::0;120285:86:0::2;120386:22;:29:::0;120419:1:::2;120386:34:::0;120378:69:::2;;;::::0;-1:-1:-1;;;120378:69:0;;19999:2:1;120378:69:0::2;::::0;::::2;19981:21:1::0;20038:2;20018:18;;;20011:30;-1:-1:-1;;;20057:18:1;;;20050:52;20119:18;;120378:69:0::2;19797:346:1::0;120378:69:0::2;120462:9;120475:1;120462:14:::0;120454:41:::2;;;::::0;-1:-1:-1;;;120454:41:0;;22177:2:1;120454:41:0::2;::::0;::::2;22159:21:1::0;22216:2;22196:18;;;22189:30;-1:-1:-1;;;22235:18:1;;;22228:44;22289:18;;120454:41:0::2;21975:338:1::0;120454:41:0::2;120528:15;::::0;-1:-1:-1;;;;;120528:15:0::2;:23;120502;120635:3;120611:20;120528:23:::0;120629:2:::2;120611:20;:::i;:::-;120610:28;;;;:::i;:::-;120709:22;:29:::0;120864:16:::2;::::0;120581:57;;-1:-1:-1;120709:29:0;120684:22:::2;::::0;120847:181:::2;120886:14;120882:1;:18;:54;;;;;120927:9;120908:16;;:28;;;;:::i;:::-;120904:1;:32;120882:54;120847:181;;;120978:15;:42;120994:22;121017:1;120994:25;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;;;;::::2;::::0;-1:-1:-1;;;;;120994:25:0::2;120978:42:::0;;;::::2;::::0;;;;;;;;;120954:66:::2;::::0;;::::2;:::i;:::-;::::0;-1:-1:-1;120938:3:0::2;::::0;::::2;:::i;:::-;;;120847:181;;;;121042:20;121066:1;121042:25:::0;121034:70:::2;;;::::0;-1:-1:-1;;;121034:70:0;;22792:2:1;121034:70:0::2;::::0;::::2;22774:21:1::0;;;22811:18;;;22804:30;22870:34;22850:18;;;22843:62;22922:18;;121034:70:0::2;22590:356:1::0;121034:70:0::2;121179:16;::::0;121158:18:::2;121221:22;121234:9:::0;121179:16;121221:22:::2;:::i;:::-;121202:41;;121266:14;121254:8;:26;121250:129;;-1:-1:-1::0;121304:14:0;121250:129:::2;121402:10:::0;121385:312:::2;121418:8;121414:1;:12;121385:312;;;121444:15;121462:22;121485:1;121462:25;;;;;;;;:::i;:::-;;::::0;;;::::2;::::0;;;;;::::2;::::0;-1:-1:-1;;;;;121462:25:0::2;121522:24:::0;;;:15:::2;:24:::0;;;;;;;121462:25;;-1:-1:-1;121571:20:0;;121522:45:::2;::::0;121549:18;;121522:45:::2;:::i;:::-;121521:70;;;;:::i;:::-;121498:93:::0;-1:-1:-1;121606:16:0;;121602:88:::2;;121639:39;::::0;-1:-1:-1;;;;;121639:25:0;::::2;::::0;:39;::::2;;;::::0;121665:12;;121639:39:::2;::::0;;;121665:12;121639:25;:39;::::2;;;;;;;;;;;;;;;;;;;;121602:88;-1:-1:-1::0;;121428:3:0::2;;121385:312;;;-1:-1:-1::0;121751:16:0::2;:27:::0;;;121789:26;;;121785:178:::2;;121847:1;121828:16;:20:::0;121902:15:::2;121879:20;:38:::0;121785:178:::2;121974:55;::::0;;9828:25:1;;;9884:2;9869:18;;9862:34;;;121974:55:0::2;::::0;9801:18:1;121974:55:0::2;;;;;;;120278:1759;;;;;;42981:20:::0;42375:1;43501:7;:22;43318:213;42981:20;120187:1850;:::o;129698:1011::-;42937:21;:19;:21::i;:::-;95486:10:::1;95468:29;::::0;;;:17:::1;:29;::::0;;;;;::::1;;95460:66;;;;-1:-1:-1::0;;;95460:66:0::1;;;;;;;:::i;:::-;129806:10:::2;129771:24;129798:19:::0;;;:7:::2;:19;::::0;;;;129832:16;;129824:49:::2;;;::::0;-1:-1:-1;;;129824:49:0;;23153:2:1;129824:49:0::2;::::0;::::2;23135:21:1::0;23192:2;23172:18;;;23165:30;-1:-1:-1;;;23211:18:1;;;23204:46;23267:18;;129824:49:0::2;22951:340:1::0;129824:49:0::2;129913:19;129976:6;129954:4;:18;;;129936:15;:36;;;;:::i;:::-;129935:47;;;;:::i;:::-;129913:69;;130011:1;129997:11;:15;129989:46;;;::::0;-1:-1:-1;;;129989:46:0;;23498:2:1;129989:46:0::2;::::0;::::2;23480:21:1::0;23537:2;23517:18;;;23510:30;-1:-1:-1;;;23556:18:1;;;23549:48;23614:18;;129989:46:0::2;23296:342:1::0;129989:46:0::2;130088:16:::0;;130067:17:::2;::::0;130112:3:::2;::::0;130088:20:::2;::::0;130107:1:::2;130088:20;:::i;:::-;130087:28;;;;:::i;:::-;130067:48:::0;-1:-1:-1;130122:21:0::2;130146:23;130158:11:::0;130067:48;130146:23:::2;:::i;:::-;130122:47;;130223:17;130262:4;:18;;;130243:4;:16;;;:37;;;;:::i;:::-;130223:57;;130307:9;130291:13;:25;130287:75;;;130345:9;130329:25;;130287:75;130392:1;130376:13;:17;130368:46;;;::::0;-1:-1:-1;;;130368:46:0;;23845:2:1;130368:46:0::2;::::0;::::2;23827:21:1::0;23884:2;23864:18;;;23857:30;-1:-1:-1;;;23903:18:1;;;23896:46;23959:18;;130368:46:0::2;23643:340:1::0;130368:46:0::2;130445:13;130423:4;:18;;;:35;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;130486:15:0::2;130465:18;::::0;::::2;:36:::0;130536:4:::2;14347:7:::0;14374:18;;;;;;;;;;;130546:13;-1:-1:-1;130518:41:0::2;130510:83;;;;-1:-1:-1::0;;;130510:83:0::2;;;;;;;:::i;:::-;130600:51;130618:4;130625:10;130637:13;130600:9;:51::i;:::-;130665:40;::::0;3015:25:1;;;130679:10:0::2;::::0;130665:40:::2;::::0;3003:2:1;2988:18;130665:40:0::2;;;;;;;129764:945;;;;;42981:20:::0;42375:1;43501:7;:22;43318:213;42981:20;129698:1011::o;114020:255::-;23951:13;:11;:13::i;:::-;-1:-1:-1;;;;;114120:21:0;::::1;114112:57;;;::::0;-1:-1:-1;;;114112:57:0;;24548:2:1;114112:57:0::1;::::0;::::1;24530:21:1::0;24587:2;24567:18;;;24560:30;24626:25;24606:18;;;24599:53;24669:18;;114112:57:0::1;24346:347:1::0;114112:57:0::1;-1:-1:-1::0;;;;;114176:27:0;::::1;;::::0;;;:18:::1;:27;::::0;;;;;;;;:42;;-1:-1:-1;;114176:42:0::1;::::0;::::1;;::::0;;::::1;::::0;;;114230:37;;445:41:1;;;114230:37:0::1;::::0;418:18:1;114230:37:0::1;305:187:1::0;114440:461:0;114542:10;114523:30;;;;:18;:30;;;;;;;;114515:67;;;;-1:-1:-1;;;114515:67:0;;24900:2:1;114515:67:0;;;24882:21:1;24939:2;24919:18;;;24912:30;24978:26;24958:18;;;24951:54;25022:18;;114515:67:0;24698:348:1;114515:67:0;-1:-1:-1;;;;;114597:22:0;;114589:59;;;;-1:-1:-1;;;114589:59:0;;25253:2:1;114589:59:0;;;25235:21:1;25292:2;25272:18;;;25265:30;25331:26;25311:18;;;25304:54;25375:18;;114589:59:0;25051:348:1;114589:59:0;-1:-1:-1;;;;;114663:17:0;;;;;;:7;:17;;;;;;;;114655:46;;;;-1:-1:-1;;;114655:46:0;;25606:2:1;114655:46:0;;;25588:21:1;25645:2;25625:18;;;25618:30;-1:-1:-1;;;25664:18:1;;;25657:46;25720:18;;114655:46:0;25404:340:1;114655:46:0;-1:-1:-1;;;;;114708:27:0;;;;;;:17;:27;;;;;:40;;-1:-1:-1;;114708:40:0;;;;;;;;;;;;114757:137;;114789:26;;-1:-1:-1;;;;;114789:26:0;;;;;;;;114440:461;;:::o;114757:137::-;114845:37;;-1:-1:-1;;;;;114845:37:0;;;;;;;;114757:137;114440:461;;:::o;116264:713::-;23951:13;:11;:13::i;:::-;-1:-1:-1;;;;;116355:26:0;::::1;116347:64;;;::::0;-1:-1:-1;;;116347:64:0;;25951:2:1;116347:64:0::1;::::0;::::1;25933:21:1::0;25990:2;25970:18;;;25963:30;26029:27;26009:18;;;26002:55;26074:18;;116347:64:0::1;25749:349:1::0;116347:64:0::1;116442:9;::::0;-1:-1:-1;;;;;116442:9:0;;::::1;116426:25:::0;;::::1;::::0;116418:69:::1;;;::::0;-1:-1:-1;;;116418:69:0;;26305:2:1;116418:69:0::1;::::0;::::1;26287:21:1::0;26344:2;26324:18;;;26317:30;26383:33;26363:18;;;26356:61;26434:18;;116418:69:0::1;26103:355:1::0;116418:69:0::1;116524:47;::::0;-1:-1:-1;;;;;;18271:2:1;18267:15;;;18263:53;116524:47:0::1;::::0;::::1;18251:66:1::0;116555:15:0::1;18333:12:1::0;;;18326:28;116494:17:0::1;::::0;18370:12:1;;116524:47:0::1;::::0;;-1:-1:-1;;116524:47:0;;::::1;::::0;;;;;;116514:58;;116524:47:::1;116514:58:::0;;::::1;::::0;116579:37:::1;116619::::0;;;:26:::1;:37:::0;;;;;116672:16:::1;::::0;::::1;::::0;116514:58;;-1:-1:-1;116619:37:0;116672:16:::1;;116671:17;116663:52;;;::::0;-1:-1:-1;;;116663:52:0;;18595:2:1;116663:52:0::1;::::0;::::1;18577:21:1::0;18634:2;18614:18;;;18607:30;-1:-1:-1;;;18653:18:1;;;18646:52;18715:18;;116663:52:0::1;18393:346:1::0;116663:52:0::1;116722:34:::0;;-1:-1:-1;;;;;;116722:34:0::1;-1:-1:-1::0;;;;;116722:34:0;::::1;;::::0;;116784:39:::1;96327:6;116784:15;:39;:::i;:::-;116763:18;::::0;;::::1;:60:::0;;;116830:16:::1;::::0;::::1;:23:::0;;-1:-1:-1;;116830:23:0::1;::::0;;::::1;::::0;;-1:-1:-1;116860:21:0::1;::::0;::::1;:25:::0;116897:72:::1;::::0;3015:25:1;;;-1:-1:-1;;;;;116897:72:0;::::1;::::0;116925:9;;116897:72:::1;::::0;3003:2:1;2988:18;116897:72:0::1;2869:177:1::0;126735:2899:0;42937:21;:19;:21::i;:::-;95486:10:::1;95468:29;::::0;;;:17:::1;:29;::::0;;;;;::::1;;95460:66;;;;-1:-1:-1::0;;;95460:66:0::1;;;;;;;:::i;:::-;126841:1:::2;126829:9;:13;126821:48;;;::::0;-1:-1:-1;;;126821:48:0;;26665:2:1;126821:48:0::2;::::0;::::2;26647:21:1::0;26704:2;26684:18;;;26677:30;-1:-1:-1;;;26723:18:1;;;26716:52;26785:18;;126821:48:0::2;26463:346:1::0;126821:48:0::2;126955:20;126978:36;127004:9;126978:25;:36::i;:::-;127047:4;14347:7:::0;14374:18;;;;;;;;;;;126955:59;;-1:-1:-1;126955:59:0;-1:-1:-1;127029:40:0::2;127021:82;;;::::0;-1:-1:-1;;;127021:82:0;;27016:2:1;127021:82:0::2;::::0;::::2;26998:21:1::0;27055:2;27035:18;;;27028:30;27094:31;27074:18;;;27067:59;27143:18;;127021:82:0::2;26814:353:1::0;127021:82:0::2;127166:19;127210:3;127189:17;:12:::0;127204:2:::2;127189:17;:::i;:::-;127188:25;;;;:::i;:::-;127166:47;;127252:11;127228:20;;:35;;127220:73;;;::::0;-1:-1:-1;;;127220:73:0;;14236:2:1;127220:73:0::2;::::0;::::2;14218:21:1::0;14275:2;14255:18;;;14248:30;-1:-1:-1;;;14294:18:1;;;14287:55;14359:18;;127220:73:0::2;14034:349:1::0;127220:73:0::2;127338:5;;;;;;;;;-1:-1:-1::0;;;;;127338:5:0::2;-1:-1:-1::0;;;;;127331:21:0::2;;127360:9;127331:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;127458:5:0::2;::::0;127473:15:::2;::::0;127451:49:::2;::::0;-1:-1:-1;;;127451:49:0;;-1:-1:-1;;;;;127473:15:0;;::::2;127451:49;::::0;::::2;27346:51:1::0;127490:9:0::2;27413:18:1::0;;;27406:34;127458:5:0;::::2;::::0;-1:-1:-1;127451:21:0::2;::::0;-1:-1:-1;27319:18:1;;;-1:-1:-1;127451:49:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;127531:15:0::2;::::0;127507:54:::2;::::0;127524:4:::2;::::0;-1:-1:-1;;;;;127531:15:0::2;127548:12:::0;127507:8:::2;:54::i;:::-;127663:5;::::0;127630:14:::2;::::0;-1:-1:-1;;;;;127663:5:0::2;127655:4;127647:21;:45;;127687:5;::::0;-1:-1:-1;;;;;127687:5:0::2;127647:45;;;127679:4;127647:45;127728:5;::::0;127630:62;;-1:-1:-1;127695:14:0::2;::::0;-1:-1:-1;;;;;127728:5:0::2;127720:4;127712:21;:45;;127752:4;127712:45;;;127736:5;::::0;-1:-1:-1;;;;;127736:5:0::2;127712:45;127695:62:::0;-1:-1:-1;127760:22:0::2;-1:-1:-1::0;;;;;127785:23:0;::::2;127803:4;127785:23;:50;;127826:9;127785:50;;;127811:12;127785:50;127873:5;::::0;127760:75;;-1:-1:-1;127838:22:0::2;::::0;-1:-1:-1;;;;;127863:15:0;;::::2;127873:5:::0;::::2;127863:15;:42;;127893:12;127863:42;;;127881:9;127863:42;127838:67;;127962:17;127985:16;:14;:16::i;:::-;-1:-1:-1::0;128039:7:0::2;::::0;127961:40;;-1:-1:-1;128004:17:0::2;::::0;128024:23:::2;::::0;128039:7:::2;;128024:14;:23::i;:::-;128004:43:::0;-1:-1:-1;128081:15:0::2;128099:41;128109:17;128123:3;128109:11:::0;:17:::2;:::i;:::-;128128:11;128099:9;:41::i;:::-;128081:59:::0;-1:-1:-1;128143:15:0::2;128161:41;128171:17;:11:::0;128185:3:::2;128171:17;:::i;:::-;128190:11;128161:9;:41::i;:::-;128143:59;;128246:52;128301:342;;;;;;;;128355:6;-1:-1:-1::0;;;;;128301:342:0::2;;;;;128376:6;-1:-1:-1::0;;;;;128301:342:0::2;;;;;128394:7;;;;;;;;;;;128301:342;;;;;;128419:9;128301:342;;;;;;128446:9;128301:342;;;;;;128478:14;128301:342;;;;128515:14;128301:342;;;;128548:1;128301:342;;;;128568:1;128301:342;;;;128587:7;24138:6:::0;;-1:-1:-1;;;;;24138:6:0;;24065:87;128587:7:::2;-1:-1:-1::0;;;;;128301:342:0::2;::::0;;::::2;;128611:28;:15;128629:10;128611:28;:::i;:::-;128301:342:::0;;128781:15:::2;::::0;128753:57:::2;::::0;-1:-1:-1;;;128753:57:0;;128246:397;;-1:-1:-1;128728:15:0::2;::::0;-1:-1:-1;;;;;128781:15:0;;::::2;::::0;128753:49:::2;::::0;:57:::2;::::0;128246:397;;128753:57:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;128727:83;;;;;128878:11;128854:20;;:35;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;128959:10:0::2;128947:23;::::0;;;:11:::2;:23;::::0;;;;;;;:37;;;128991:16:::2;:28:::0;;;;;129022:15:::2;128991:46:::0;;129156:21:::2;:33:::0;;;;;;:43:::2;::::0;129192:7:::2;129156:43;:::i;:::-;129137:15;:62;;129123:141;;;::::0;-1:-1:-1;;;129123:141:0;;30219:2:1;129123:141:0::2;::::0;::::2;30201:21:1::0;30258:2;30238:18;;;30231:30;30297:34;30277:18;;;30270:62;-1:-1:-1;;;30348:18:1;;;30341:47;30405:19;;129123:141:0::2;30017:413:1::0;129123:141:0::2;129328:159;;;;;;;;129375:11;129360:12;:26;;;;:::i;:::-;129328:159;;;;129408:1;129328:159;;;;129427:15;129328:159;;;;129464:15;129328:159;;::::0;129306:7:::2;:19;129314:10;-1:-1:-1::0;;;;;129306:19:0::2;-1:-1:-1::0;;;;;129306:19:0::2;;;;;;;;;;;;:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;129530:15;129494:21;:33;129516:10;-1:-1:-1::0;;;;;129494:33:0::2;-1:-1:-1::0;;;;;129494:33:0::2;;;;;;;;;;;;:51;;;;129577:10;-1:-1:-1::0;;;;;129559:67:0::2;;129589:9;129600:12;129614:11;129559:67;;;;;;;6357:25:1::0;;;6413:2;6398:18;;6391:34;;;;6456:2;6441:18;;6434:34;6345:2;6330:18;;6155:319;129559:67:0::2;;;;;;;;126814:2820;;;;;;;;;;;;42981:20:::0;42375:1;43501:7;:22;43318:213;122118:445;122275:15;;122350:20;;122197:17;;122216:24;;-1:-1:-1;;;;;122275:15:0;;;:23;;122350:31;;122373:8;122350:31;:::i;:::-;122331:15;:50;;:96;;;;-1:-1:-1;122394:22:0;:29;:33;;122331:96;:128;;;;;122458:1;122440:15;:19;122331:128;122305:161;;122487:9;;122473:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;122118:445:0;;122473:23;;-1:-1:-1;122118:445:0;;-1:-1:-1;;;;;;122118:445:0:o;24740:103::-;23951:13;:11;:13::i;:::-;24805:30:::1;24832:1;24805:18;:30::i;106921:618::-:0;106990:22;107019:20;107046:26;95018:37;94938:28;95044:10;95018:7;:37::i;:::-;95010:73;;;;-1:-1:-1;;;95010:73:0;;30637:2:1;95010:73:0;;;30619:21:1;30676:2;30656:18;;;30649:30;30715:25;30695:18;;;30688:53;30758:18;;95010:73:0;30435:347:1;95010:73:0;107119:20:::1;::::0;107176:18:::1;::::0;107237:24:::1;::::0;107273:127:::1;::::0;;6357:25:1;;;6413:2;6398:18;;6391:34;;;6441:18;;;6434:34;;;107273:127:0::1;::::0;6345:2:1;6330:18;107273:127:0::1;;;;;;;107425:21:::0;;-1:-1:-1;107457:19:0;-1:-1:-1;107487:25:0;-1:-1:-1;106921:618:0;;;:::o;132262:243::-;132337:7;132353:13;132369:21;:19;:21::i;:::-;132353:37;;132405:5;132414:1;132405:10;132397:45;;;;-1:-1:-1;;;132397:45:0;;30989:2:1;132397:45:0;;;30971:21:1;31028:2;31008:18;;;31001:30;-1:-1:-1;;;31047:18:1;;;31040:52;31109:18;;132397:45:0;30787:346:1;132397:45:0;132492:5;132457:31;95748:4;132457:9;:31;:::i;:::-;132456:41;;;;:::i;:::-;132449:48;132262:243;-1:-1:-1;;;132262:243:0:o;130773:848::-;42937:21;:19;:21::i;:::-;95486:10:::1;95468:29;::::0;;;:17:::1;:29;::::0;;;;;::::1;;95460:66;;;;-1:-1:-1::0;;;95460:66:0::1;;;;;;;:::i;:::-;130874:10:::2;130888:1;130862:23:::0;;;:11:::2;:23;::::0;;;;;130854:58:::2;;;::::0;-1:-1:-1;;;130854:58:0;;31340:2:1;130854:58:0::2;::::0;::::2;31322:21:1::0;31379:2;31359:18;;;31352:30;-1:-1:-1;;;31398:18:1;;;31391:48;31456:18;;130854:58:0::2;31138:342:1::0;130854:58:0::2;130963:10;130946:28;::::0;;;:16:::2;:28;::::0;;;;;:38:::2;::::0;130977:7:::2;130946:38;:::i;:::-;130927:15;:57;;130919:88;;;::::0;-1:-1:-1;;;130919:88:0;;31687:2:1;130919:88:0::2;::::0;::::2;31669:21:1::0;31726:2;31706:18;;;31699:30;-1:-1:-1;;;31745:18:1;;;31738:48;31803:18;;130919:88:0::2;31485:342:1::0;130919:88:0::2;131050:10;131016:19;131038:23:::0;;;:11:::2;:23;::::0;;;;;;131122:27;;;131217:20:::2;::::0;:35;-1:-1:-1;131217:35:0::2;131209:83;;;::::0;-1:-1:-1;;;131209:83:0;;32034:2:1;131209:83:0::2;::::0;::::2;32016:21:1::0;32073:2;32053:18;;;32046:30;32112:34;32092:18;;;32085:62;-1:-1:-1;;;32163:18:1;;;32156:33;32206:19;;131209:83:0::2;31832:399:1::0;131209:83:0::2;131360:11;131336:20;;:35;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;131451:4:0::2;14347:7:::0;14374:18;;;;;;;;;;;131461:11;-1:-1:-1;131433:39:0::2;131425:81;;;;-1:-1:-1::0;;;131425:81:0::2;;;;;;;:::i;:::-;131513:49;131531:4;131538:10;131550:11;131513:9;:49::i;:::-;131576:37;::::0;3015:25:1;;;131589:10:0::2;::::0;131576:37:::2;::::0;3003:2:1;2988:18;131576:37:0::2;;;;;;;;130847:774;42981:20:::0;42375:1;43501:7;:22;43318:213;133626:607;95486:10;95468:29;;;;:17;:29;;;;;;;;95460:66;;;;-1:-1:-1;;;95460:66:0;;;;;;;:::i;:::-;133708:6:::1;133718:1;133708:11:::0;133700:53:::1;;;::::0;-1:-1:-1;;;133700:53:0;;14590:2:1;133700:53:0::1;::::0;::::1;14572:21:1::0;14629:2;14609:18;;;14602:30;14668:31;14648:18;;;14641:59;14717:18;;133700:53:0::1;14388:353:1::0;133700:53:0::1;133778:10;14347:7:::0;14374:18;;;;;;;;;;;133793:6;-1:-1:-1;133768:31:0::1;133760:64;;;::::0;-1:-1:-1;;;133760:64:0;;32438:2:1;133760:64:0::1;::::0;::::1;32420:21:1::0;32477:2;32457:18;;;32450:30;-1:-1:-1;;;32496:18:1;;;32489:50;32556:18;;133760:64:0::1;32236:344:1::0;133760:64:0::1;133871:44;133881:10;133901:4;133908:6;133871:9;:44::i;:::-;133998:10;133959:24;133986:23:::0;;;:11:::1;:23;::::0;;;;134063:15:::1;134046:32:::0;;134085:11:::1;::::0;::::1;:21:::0;;133986:23;;134100:6;;134085:21:::1;::::0;134100:6;;134085:21:::1;:::i;:::-;::::0;;;-1:-1:-1;;134113:15:0::1;::::0;::::1;:22:::0;;-1:-1:-1;;134113:22:0::1;134131:4;134113:22;::::0;;134182:43:::1;::::0;;9828:25:1;;;134209:15:0::1;9884:2:1::0;9869:18;;9862:34;134189:10:0::1;::::0;134182:43:::1;::::0;9801:18:1;134182:43:0::1;9654:248:1::0;107604:324:0;23951:13;:11;:13::i;:::-;107675:26:::1;107704:22:::0;;;:12:::1;:22;::::0;;;;107741:18;;:23;107733:60:::1;;;::::0;-1:-1:-1;;;107733:60:0;;32787:2:1;107733:60:0::1;::::0;::::1;32769:21:1::0;32826:2;32806:18;;;32799:30;32865:26;32845:18;;;32838:54;32909:18;;107733:60:0::1;32585:348:1::0;107733:60:0::1;107821:37;96126:6;107821:15;:37;:::i;:::-;107800:58:::0;;;107870:50:::1;::::0;;9828:25:1;;;9884:2;9869:18;;9862:34;;;;107870:50:0::1;::::0;9801:18:1;107870:50:0::1;9654:248:1::0;27868:235:0;26909:13;;4417:10;;-1:-1:-1;;;;;26909:13:0;27965:24;;27961:98;;28013:34;;-1:-1:-1;;;28013:34:0;;-1:-1:-1;;;;;1001:32:1;;28013:34:0;;;983:51:1;956:18;;28013:34:0;837:203:1;27961:98:0;28069:26;28088:6;28069:18;:26::i;115160:490::-;23951:13;:11;:13::i;:::-;115237:8:::1;::::0;-1:-1:-1;;;;;115237:21:0;;::::1;:8:::0;::::1;:21;115233:410;;115312:16;115373:9;115384:15;115341:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;115331:70;;;;;;115312:89;;115412:28;115431:8;115412:18;:28::i;:::-;115473:8;::::0;;-1:-1:-1;;;;;115525:20:0;;::::1;-1:-1:-1::0;;;;;;115525:20:0;::::1;::::0;::::1;::::0;;;115592:39:::1;::::0;115473:8;::::1;::::0;115525:20;115473:8;;115592:39:::1;::::0;115451:19:::1;::::0;115592:39:::1;115260:383;;115160:490:::0;:::o;110063:189::-;23951:13;:11;:13::i;:::-;110147:7:::1;110137:6;;:17;110133:112;;110167:6;:16:::0;;;110199:34:::1;::::0;3015:25:1;;;110213:10:0::1;::::0;110199:34:::1;::::0;3003:2:1;2988:18;110199:34:0::1;;;;;;;110063:189:::0;:::o;126403:241::-;23951:13;:11;:13::i;:::-;126487:2:::1;126477:6;:12;;126469:37;;;::::0;-1:-1:-1;;;126469:37:0;;33584:2:1;126469:37:0::1;::::0;::::1;33566:21:1::0;33623:2;33603:18;;;33596:30;-1:-1:-1;;;33642:18:1;;;33635:42;33694:18;;126469:37:0::1;33382:336:1::0;126469:37:0::1;126552:11;::::0;;126570:20;;;;126602:34:::1;::::0;;9828:25:1;;;9884:2;9869:18;;9862:34;;;126602::0::1;::::0;9801:18:1;126602:34:0::1;9654:248:1::0;124567:347:0;95360:9;;-1:-1:-1;;;;;95360:9:0;95346:10;:23;95338:53;;;;-1:-1:-1;;;95338:53:0;;;;;;;:::i;:::-;124662:1:::1;124653:6;:10;124645:66;;;::::0;-1:-1:-1;;;124645:66:0;;34271:2:1;124645:66:0::1;::::0;::::1;34253:21:1::0;34310:2;34290:18;;;34283:30;34349:34;34329:18;;;34322:62;-1:-1:-1;;;34400:18:1;;;34393:41;34451:19;;124645:66:0::1;34069:407:1::0;124645:66:0::1;124735:16;::::0;;124785:25;;;;124843:39:::1;::::0;;9828:25:1;;;9884:2;9869:18;;9862:34;;;124843:39:0::1;::::0;9801:18:1;124843:39:0::1;9654:248:1::0;36260:138:0;36337:4;36361:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;36361:29:0;;;;;;;;;;;;;;;36260:138::o;13228:95::-;13275:13;13308:7;13301:14;;;;;:::i;137894:292::-;23951:13;:11;:13::i;:::-;-1:-1:-1;;;;;137994:16:0;::::1;137986:46;;;::::0;-1:-1:-1;;;137986:46:0;;34683:2:1;137986:46:0::1;::::0;::::1;34665:21:1::0;34722:2;34702:18;;;34695:30;-1:-1:-1;;;34741:18:1;;;34734:47;34798:18;;137986:46:0::1;34481:341:1::0;137986:46:0::1;138057:21;138047:6;:31;;138039:73;;;;-1:-1:-1::0;;;138039:73:0::1;;;;;;;:::i;:::-;138121:19;::::0;-1:-1:-1;;;;;138121:11:0;::::1;::::0;:19;::::1;;;::::0;138133:6;;138121:19:::1;::::0;;;138133:6;138121:11;:19;::::1;;;;;;;;;;;;;;;;;;;;138167:2;-1:-1:-1::0;;;;;138152:26:0::1;;138171:6;138152:26;;;;3015:25:1::0;;3003:2;2988:18;;2869:177;114907:247:0;23951:13;:11;:13::i;:::-;114988:16:::1;115049:9;115060:15;115017:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;115007:70;;;;;;114988:89;;115084:28;115103:8;115084:18;:28::i;:::-;115124:22;::::0;-1:-1:-1;;;;;115124:22:0;::::1;::::0;::::1;::::0;;;::::1;114981:173;114907:247:::0;:::o;111199:719::-;42937:21;:19;:21::i;:::-;111278:6:::1;;111265:9;:19;;111257:52;;;::::0;-1:-1:-1;;;111257:52:0;;35029:2:1;111257:52:0::1;::::0;::::1;35011:21:1::0;35068:2;35048:18;;;35041:30;-1:-1:-1;;;35087:18:1;;;35080:50;35147:18;;111257:52:0::1;34827:344:1::0;111257:52:0::1;111333:10;111325:19;::::0;;;:7:::1;:19;::::0;;;;;::::1;;111324:20;111316:53;;;::::0;-1:-1:-1;;;111316:53:0;;35378:2:1;111316:53:0::1;::::0;::::1;35360:21:1::0;35417:2;35397:18;;;35390:30;-1:-1:-1;;;35436:18:1;;;35429:50;35496:18;;111316:53:0::1;35176:344:1::0;111316:53:0::1;111384:11;::::0;-1:-1:-1;;;;;111384:11:0::1;111376:58;;;::::0;-1:-1:-1;;;111376:58:0;;35727:2:1;111376:58:0::1;::::0;::::1;35709:21:1::0;35766:2;35746:18;;;35739:30;-1:-1:-1;;;35785:18:1;;;35778:50;35845:18;;111376:58:0::1;35525:344:1::0;111376:58:0::1;111449:8;::::0;-1:-1:-1;;;;;111449:8:0::1;111441:59;;;::::0;-1:-1:-1;;;111441:59:0;;36076:2:1;111441:59:0::1;::::0;::::1;36058:21:1::0;36115:2;36095:18;;;36088:30;36154:26;36134:18;;;36127:54;36198:18;;111441:59:0::1;35874:348:1::0;111441:59:0::1;111551:10;111543:19;::::0;;;:7:::1;:19;::::0;;;;;:26;;-1:-1:-1;;111543:26:0::1;111565:4;111543:26;::::0;;111629:8:::1;::::0;:35;;-1:-1:-1;;;;;111629:8:0;;::::1;::::0;111650:9:::1;::::0;111543:19;111629:35;111543:19;111629:35;111650:9;111629:8;:35:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111610:54;;;111679:7;111671:47;;;::::0;-1:-1:-1;;;111671:47:0;;36639:2:1;111671:47:0::1;::::0;::::1;36621:21:1::0;36678:2;36658:18;;;36651:30;36717:29;36697:18;;;36690:57;36764:18;;111671:47:0::1;36437:351:1::0;111671:47:0::1;111814:11;::::0;111787:39:::1;::::0;-1:-1:-1;;;;;111814:11:0;;::::1;::::0;111802:10:::1;::::0;111787:39:::1;::::0;111814:11:::1;::::0;111787:39:::1;111877:33;::::0;111900:9:::1;3015:25:1::0;;111888:10:0::1;::::0;111877:33:::1;::::0;3003:2:1;2988:18;111877:33:0::1;2869:177:1::0;123577:303:0;23951:13;:11;:13::i;:::-;123672:16:::1;123751:13;123766:15;123701:81;;;;;;;;;:::i;:::-;;;;;;;;;;;;;123691:92;;;;;;123672:111;;123790:28;123809:8;123790:18;:28::i;:::-;123830:42;::::0;123861:10:::1;::::0;123851:8;;123830:42:::1;::::0;;;::::1;123665:215;123577:303:::0;:::o;124980:1306::-;125058:4;-1:-1:-1;;;;;125079:23:0;;125071:61;;;;-1:-1:-1;;;125071:61:0;;36995:2:1;125071:61:0;;;36977:21:1;37034:2;37014:18;;;37007:30;37073:27;37053:18;;;37046:55;37118:18;;125071:61:0;36793:349:1;125071:61:0;125156:1;125147:6;:10;125139:64;;;;-1:-1:-1;;;125139:64:0;;37349:2:1;125139:64:0;;;37331:21:1;37388:2;37368:18;;;37361:30;37427:34;37407:18;;;37400:62;-1:-1:-1;;;37478:18:1;;;37471:39;37527:19;;125139:64:0;37147:405:1;125139:64:0;125377:10;125210:11;125365:23;;;:11;:23;;;;;:35;125210:11;;;;125365:35;;125361:270;;;125444:3;125429:11;;125420:6;:20;;;;:::i;:::-;125419:28;;;;:::i;:::-;125413:34;-1:-1:-1;125513:3:0;125501:8;125413:34;125507:2;125501:8;:::i;:::-;125500:16;;;;:::i;:::-;125487:29;-1:-1:-1;125573:16:0;125487:29;125573:3;:16;:::i;:::-;125556:33;;125361:270;125639:22;125664:12;125673:3;125664:6;:12;:::i;:::-;125639:37;-1:-1:-1;125753:14:0;;125749:162;;125780:29;125786:10;125798;125780:5;:29::i;:::-;125841:10;125820:17;;:31;;;;;;;:::i;:::-;;;;-1:-1:-1;;125867:36:0;;3015:25:1;;;125880:10:0;;125867:36;;3003:2:1;2988:18;125867:36:0;;;;;;;125749:162;125991:1;125974:14;:18;:44;;;;-1:-1:-1;125996:8:0;;-1:-1:-1;;;;;125996:8:0;:22;;125974:44;125970:182;;;126053:8;;126031:47;;126041:10;;-1:-1:-1;;;;;126053:8:0;126063:14;126031:9;:47::i;:::-;126135:8;;126094:50;;;37731:25:1;;;-1:-1:-1;;;;;126135:8:0;;;37787:2:1;37772:18;;37765:60;126107:10:0;;126094:50;;37704:18:1;126094:50:0;;;;;;;125970:182;126212:48;126222:10;126234:9;126245:14;126212:9;:48::i;:::-;-1:-1:-1;126274:4:0;;124980:1306;-1:-1:-1;;;;;;124980:1306:0:o;112889:447::-;23951:13;:11;:13::i;:::-;112968:37:::1;113008:33:::0;;;:22:::1;:33;::::0;;;;113056:16:::1;::::0;::::1;::::0;::::1;;113048:46;;;;-1:-1:-1::0;;;113048:46:0::1;;;;;;;:::i;:::-;113130:10;113110:31;::::0;;;:19:::1;::::0;::::1;:31;::::0;;;;;::::1;;113109:32;113101:62;;;;-1:-1:-1::0;;;113101:62:0::1;;;;;;;:::i;:::-;113219:10;113199:31;::::0;;;:19:::1;::::0;::::1;:31;::::0;;;;:38;;-1:-1:-1;;113199:38:0::1;113233:4;113199:38:::0;;::::1;::::0;;;113244:21:::1;::::0;::::1;:26:::0;;113233:4;;113244:21;;:26:::1;::::0;113233:4;;113244:26:::1;:::i;:::-;::::0;;;-1:-1:-1;;113282:46:0::1;::::0;113317:10:::1;::::0;113306:9;;113282:46:::1;::::0;;;::::1;112961:375;112889:447:::0;:::o;109327:320::-;23951:13;:11;:13::i;:::-;-1:-1:-1;;;;;109412:23:0;::::1;109404:51;;;::::0;-1:-1:-1;;;109404:51:0;;38384:2:1;109404:51:0::1;::::0;::::1;38366:21:1::0;38423:2;38403:18;;;38396:30;-1:-1:-1;;;38442:18:1;;;38435:45;38497:18;;109404:51:0::1;38182:339:1::0;109404:51:0::1;109466:11;::::0;-1:-1:-1;;;;;109466:24:0;;::::1;:11:::0;::::1;:24;109462:178;;109525:11;::::0;;-1:-1:-1;;;;;109547:23:0;;::::1;-1:-1:-1::0;;;;;;109547:23:0;::::1;::::0;::::1;::::0;;;109586:42:::1;::::0;109525:11;::::1;::::0;109547:23;109525:11;;109586:42:::1;::::0;109503:19:::1;::::0;109586:42:::1;109492:148;109327:320:::0;:::o;137730:158::-;23951:13;:11;:13::i;:::-;137813:1:::1;137801:9;:13;137793:39;;;::::0;-1:-1:-1;;;137793:39:0;;38728:2:1;137793:39:0::1;::::0;::::1;38710:21:1::0;38767:2;38747:18;;;38740:30;-1:-1:-1;;;38786:18:1;;;38779:43;38839:18;;137793:39:0::1;38526:337:1::0;137793:39:0::1;137844:36;::::0;137870:9:::1;3015:25:1::0;;137858:10:0::1;::::0;137844:36:::1;::::0;3003:2:1;2988:18;137844:36:0::1;;;;;;;137730:158::o:0;38107:140::-;37309:7;37336:12;;;:6;:12;;;;;:22;;;35856:16;35867:4;35856:10;:16::i;:::-;38213:26:::1;38225:4;38231:7;38213:11;:26::i;117040:427::-:0;23951:13;:11;:13::i;:::-;117120:37:::1;117160::::0;;;:26:::1;:37;::::0;;;;117212:16:::1;::::0;::::1;::::0;::::1;;117204:46;;;;-1:-1:-1::0;;;117204:46:0::1;;;;;;;:::i;:::-;117286:10;117266:31;::::0;;;:19:::1;::::0;::::1;:31;::::0;;;;;::::1;;117265:32;117257:62;;;;-1:-1:-1::0;;;117257:62:0::1;;;;;;;:::i;:::-;117346:10;117326:31;::::0;;;:19:::1;::::0;::::1;:31;::::0;;;;:38;;-1:-1:-1;;117326:38:0::1;117360:4;117326:38:::0;;::::1;::::0;;;117371:21:::1;::::0;::::1;:26:::0;;117360:4;;117371:21;;:26:::1;::::0;117360:4;;117371:26:::1;:::i;:::-;::::0;;;-1:-1:-1;;117409:50:0::1;::::0;117448:10:::1;::::0;117437:9;;117409:50:::1;::::0;;;::::1;117113:354;117040:427:::0;:::o;109695:314::-;23951:13;:11;:13::i;:::-;-1:-1:-1;;;;;109777:23:0;::::1;109769:60;;;::::0;-1:-1:-1;;;109769:60:0;;39070:2:1;109769:60:0::1;::::0;::::1;39052:21:1::0;39109:2;39089:18;;;39082:30;39148:26;39128:18;;;39121:54;39192:18;;109769:60:0::1;38868:348:1::0;109769:60:0::1;109840:8;::::0;-1:-1:-1;;;;;109840:21:0;;::::1;:8:::0;::::1;:21;109836:166;;109896:8;::::0;;-1:-1:-1;;;;;109915:20:0;;::::1;-1:-1:-1::0;;;;;;109915:20:0;::::1;::::0;::::1;::::0;;;109951:39:::1;::::0;109896:8;::::1;::::0;109915:20;109896:8;;109951:39:::1;::::0;109874:19:::1;::::0;109951:39:::1;109863:139;109695:314:::0;:::o;118842:1242::-;95360:9;;-1:-1:-1;;;;;95360:9:0;95346:10;:23;95338:53;;;;-1:-1:-1;;;95338:53:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;118926:21:0;::::1;118918:57;;;;-1:-1:-1::0;;;118918:57:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;118990:20:0;::::1;;::::0;;;:11:::1;:20;::::0;;;;:32;::::1;;118982:69;;;::::0;-1:-1:-1;;;118982:69:0;;39775:2:1;118982:69:0::1;::::0;::::1;39757:21:1::0;39814:2;39794:18;;;39787:30;-1:-1:-1;;;39833:18:1;;;39826:54;39897:18;;118982:69:0::1;39573:348:1::0;118982:69:0::1;119092:22;119138:20:::0;;119058:31:::1;119173:11:::0;;;119165:49:::1;;;::::0;-1:-1:-1;;;119165:49:0;;40128:2:1;119165:49:0::1;::::0;::::1;40110:21:1::0;40167:2;40147:18;;;40140:30;40206:27;40186:18;;;40179:55;40251:18;;119165:49:0::1;39926:349:1::0;119165:49:0::1;119409:16;::::0;119245:2:::1;::::0;119221:21:::1;::::0;119392:439:::1;119431:6;119427:1;:10;:50;;;;;119464:13;119445:16;;:32;;;;:::i;:::-;119441:1;:36;119427:50;119392:439;;;119519:7;-1:-1:-1::0;;;;;119499:27:0::1;:13;119513:1;119499:16;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;119499:16:0::1;:27:::0;119495:329:::1;;119604:13:::0;119618:10:::1;119627:1;119618:6:::0;:10:::1;:::i;:::-;119604:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;119604:25:0::1;119585:13;119599:1;119585:16;;;;;;;;:::i;:::-;;;;;;;;;:44;;;;;-1:-1:-1::0;;;;;119585:44:0::1;;;;;-1:-1:-1::0;;;;;119585:44:0::1;;;;;;119644:13;:19;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;-1:-1:-1;;119644:19:0;;;;;-1:-1:-1;;;;;;119644:19:0::1;::::0;;;;;;;;-1:-1:-1;;;;;119678:20:0;::::1;::::0;;;:11:::1;:20:::0;;;;;;;:40;;-1:-1:-1;;119678:40:0::1;::::0;;119765:27;119644:19:::1;::::0;-1:-1:-1;119678:20:0;;119765:27:::1;::::0;::::1;119807:5;;119495:329;119479:3;::::0;::::1;:::i;:::-;;;119392:439;;;;119890:5;119885:192;;119964:6;119947:13;119928:16;;:32;;;;:::i;:::-;119927:43;;;;:::i;:::-;119908:16;:62:::0;119885:192:::1;;;120014:1;119995:16;:20:::0;119885:192:::1;118911:1173;;;;118842:1242:::0;:::o;115688:504::-;95360:9;;-1:-1:-1;;;;;95360:9:0;95346:10;:23;95338:53;;;;-1:-1:-1;;;95338:53:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;115770:21:0;::::1;115762:57;;;;-1:-1:-1::0;;;115762:57:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;115835:20:0;::::1;;::::0;;;:11:::1;:20;::::0;;;;:32;::::1;;115834:33;115826:74;;;::::0;-1:-1:-1;;;115826:74:0;;40614:2:1;115826:74:0::1;::::0;::::1;40596:21:1::0;40653:2;40633:18;;;40626:30;40692;40672:18;;;40665:58;40740:18;;115826:74:0::1;40412:352:1::0;115826:74:0::1;-1:-1:-1::0;;;;;115907:20:0;::::1;;::::0;;;:11:::1;:20;::::0;;;;:39;;-1:-1:-1;;115907:39:0::1;115942:4;115907:39:::0;;::::1;::::0;;115985:16:::1;::::0;115953:29;;::::1;:48:::0;;;;116008:22:::1;:36:::0;;;;::::1;::::0;;;;;;;::::1;::::0;;-1:-1:-1;;;;;;116008:36:0::1;::::0;;::::1;::::0;;;116055:29;116088:2:::1;-1:-1:-1::0;116051:97:0::1;;116103:33;116128:7;116103:24;:33::i;:::-;116159:25;::::0;-1:-1:-1;;;;;116159:25:0;::::1;::::0;::::1;::::0;;;::::1;115688:504:::0;:::o;27256:181::-;23951:13;:11;:13::i;:::-;27346::::1;:24:::0;;-1:-1:-1;;;;;27346:24:0;::::1;-1:-1:-1::0;;;;;;27346:24:0;;::::1;::::0;::::1;::::0;;;27411:7:::1;24138:6:::0;;-1:-1:-1;;;;;24138:6:0;;24065:87;27411:7:::1;-1:-1:-1::0;;;;;27386:43:0::1;;;;;;;;;;;27256:181:::0;:::o;97380:40::-;;;;;;;;;;;;123955:547;23951:13;:11;:13::i;:::-;124050:16:::1;124129:13;124144:15;124079:81;;;;;;;;;:::i;:::-;;;;;;;;;;;;;124069:92;;;;;;124050:111;;124168:28;124187:8;124168:18;:28::i;:::-;124291:23;::::0;124325:30;;::::1;124321:174;;124368:23;:39:::0;;;124423:60:::1;::::0;;9828:25:1;;;9884:2;9869:18;;9862:34;;;124423:60:0::1;::::0;9801:18:1;124423:60:0::1;;;;;;;124043:459;;123955:547:::0;:::o;107992:462::-;23951:13;:11;:13::i;:::-;108062:26:::1;108091:22:::0;;;:12:::1;:22;::::0;;;;108128:18;;108091:22;;108128:23;108120:56:::1;;;::::0;-1:-1:-1;;;108120:56:0;;10109:2:1;108120:56:0::1;::::0;::::1;10091:21:1::0;10148:2;10128:18;;;10121:30;-1:-1:-1;;;10167:18:1;;;10160:50;10227:18;;108120:56:0::1;9907:344:1::0;108120:56:0::1;108211:10;108192:30;::::0;;;:18:::1;::::0;::::1;:30;::::0;;;;;::::1;;108191:31;108183:61;;;;-1:-1:-1::0;;;108183:61:0::1;;;;;;;:::i;:::-;108277:18:::0;;108259:15:::1;:36;108251:63;;;::::0;-1:-1:-1;;;108251:63:0;;40971:2:1;108251:63:0::1;::::0;::::1;40953:21:1::0;41010:2;40990:18;;;40983:30;-1:-1:-1;;;41029:18:1;;;41022:44;41083:18;;108251:63:0::1;40769:338:1::0;108251:63:0::1;108340:10;108321:30;::::0;;;:18:::1;::::0;::::1;:30;::::0;;;;:37;;-1:-1:-1;;108321:37:0::1;108354:4;108321:37:::0;;::::1;::::0;;;108365:20;;::::1;:25:::0;;108354:4;;108365:20;;:25:::1;::::0;108354:4;;108365:25:::1;:::i;:::-;::::0;;;-1:-1:-1;;108404:42:0::1;::::0;108435:10:::1;::::0;108425:8;;108404:42:::1;::::0;;;::::1;108055:399;107992:462:::0;:::o;24230:166::-;24138:6;;-1:-1:-1;;;;;24138:6:0;4417:10;24290:23;24286:103;;24337:40;;-1:-1:-1;;;24337:40:0;;4417:10;24337:40;;;983:51:1;956:18;;24337:40:0;837:203:1;20170:130:0;20255:37;20264:5;20271:7;20280:5;20287:4;20255:8;:37::i;110747:401::-;110800:13;110826:2;110832:1;110826:7;110822:23;;-1:-1:-1;;110835:10:0;;;;;;;;;;;;-1:-1:-1;;;110835:10:0;;;;;110747:401::o;110822:23::-;110864:2;110852:9;110894:60;110901:6;;110894:60;;110920:8;;;;:::i;:::-;;-1:-1:-1;110939:7:0;;-1:-1:-1;110944:2:0;110939:7;;:::i;:::-;;;110894:60;;;110960:17;110990:6;110980:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;110980:17:0;;110960:37;;111004:115;111011:7;;111004:115;;111031:8;;;;:::i;:::-;;-1:-1:-1;111083:7:0;;-1:-1:-1;111088:2:0;111083;:7;:::i;:::-;111078:12;;:2;:12;:::i;:::-;111065:27;;111050:4;111055:6;111050:12;;;;;;;;:::i;:::-;;;;:42;-1:-1:-1;;;;;111050:42:0;;;;;;;;-1:-1:-1;111103:8:0;111109:2;111103:8;;:::i;:::-;;;111004:115;;;111139:4;110747:401;-1:-1:-1;;;;110747:401:0:o;18865:213::-;-1:-1:-1;;;;;18936:21:0;;18932:93;;18981:32;;-1:-1:-1;;;18981:32:0;;19010:1;18981:32;;;983:51:1;956:18;;18981:32:0;837:203:1;18932:93:0;19035:35;19051:1;19055:7;19064:5;19035:7;:35::i;21902:486::-;-1:-1:-1;;;;;14957:18:0;;;22002:24;14957:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;22069:36:0;;22065:316;;;22145:5;22126:16;:24;22122:132;;;22178:60;;-1:-1:-1;;;22178:60:0;;-1:-1:-1;;;;;41605:32:1;;22178:60:0;;;41587:51:1;41654:18;;;41647:34;;;41697:18;;;41690:34;;;41560:18;;22178:60:0;41385:345:1;22122:132:0;22297:57;22306:5;22313:7;22341:5;22322:16;:24;22348:5;22297:8;:57::i;16745:308::-;-1:-1:-1;;;;;16829:18:0;;16825:88;;16871:30;;-1:-1:-1;;;16871:30:0;;16898:1;16871:30;;;983:51:1;956:18;;16871:30:0;837:203:1;16825:88:0;-1:-1:-1;;;;;16927:16:0;;16923:88;;16967:32;;-1:-1:-1;;;16967:32:0;;16996:1;16967:32;;;983:51:1;956:18;;16967:32:0;837:203:1;16923:88:0;17021:24;17029:4;17035:2;17039:5;17021:7;:24::i;19406:211::-;-1:-1:-1;;;;;19477:21:0;;19473:91;;19522:30;;-1:-1:-1;;;19522:30:0;;19549:1;19522:30;;;983:51:1;956:18;;19522:30:0;837:203:1;19473:91:0;19574:35;19582:7;19599:1;19603:5;19574:7;:35::i;36613:105::-;36680:30;36691:4;4417:10;36680;:30::i;39690:324::-;39767:4;39789:22;39797:4;39803:7;39789;:22::i;:::-;39784:223;;39828:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;39828:29:0;;;;;;;;;:36;;-1:-1:-1;;39828:36:0;39860:4;39828:36;;;39911:12;4417:10;;4337:98;39911:12;-1:-1:-1;;;;;39884:40:0;39902:7;-1:-1:-1;;;;;39884:40:0;39896:4;39884:40;;;;;;;;;;-1:-1:-1;39946:4:0;39939:11;;39784:223;-1:-1:-1;39990:5:0;39983:12;;40260:325;40338:4;40359:22;40367:4;40373:7;40359;:22::i;:::-;40355:223;;;40430:5;40398:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;40398:29:0;;;;;;;;;;:37;;-1:-1:-1;;40398:37:0;;;40455:40;4417:10;;40398:12;;40455:40;;40430:5;40455:40;-1:-1:-1;40517:4:0;40510:11;;43017:293;42419:1;43151:7;;:19;43143:63;;;;-1:-1:-1;;;43143:63:0;;41937:2:1;43143:63:0;;;41919:21:1;41976:2;41956:18;;;41949:30;42015:33;41995:18;;;41988:61;42066:18;;43143:63:0;41735:355:1;43143:63:0;42419:1;43284:7;:18;43017:293::o;132837:231::-;132939:11;;132886:10;;;;-1:-1:-1;;;;;132939:11:0;132931:50;;;;-1:-1:-1;;;132931:50:0;;42297:2:1;132931:50:0;;;42279:21:1;42336:2;42316:18;;;42309:30;-1:-1:-1;;;42355:18:1;;;42348:42;42407:18;;132931:50:0;42095:336:1;132931:50:0;133040:11;;;;;;;;;-1:-1:-1;;;;;133040:11:0;-1:-1:-1;;;;;133025:33:0;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;132992:68:0;;;;-1:-1:-1;132837:231:0;;-1:-1:-1;;;;;132837:231:0:o;133245:294::-;133304:5;133326:3;:10;;133333:3;133326:10;133322:24;;-1:-1:-1;133345:1:0;;133245:294;-1:-1:-1;133245:294:0:o;133322:24::-;133370:3;:10;;133377:3;133370:10;133366:25;;-1:-1:-1;133389:2:0;;133245:294;-1:-1:-1;133245:294:0:o;133366:25::-;133415:3;:11;;133422:4;133415:11;133411:26;;-1:-1:-1;133435:2:0;;133245:294;-1:-1:-1;133245:294:0:o;133411:26::-;133460:3;:12;;133467:5;133460:12;133456:28;;-1:-1:-1;133481:3:0;;133245:294;-1:-1:-1;133245:294:0:o;133456:28::-;133501:30;;-1:-1:-1;;;133501:30:0;;42638:2:1;133501:30:0;;;42620:21:1;42677:2;42657:18;;;42650:30;-1:-1:-1;;;42696:18:1;;;42689:50;42756:18;;133501:30:0;42436:344:1;133076:161:0;133145:5;;133181:14;133188:7;133181:4;:14;:::i;:::-;133163:32;-1:-1:-1;133213:16:0;133163:32;133213:4;:16;:::i;27627:156::-;27717:13;27710:20;;-1:-1:-1;;;;;;27710:20:0;;;27741:34;27766:8;27741:24;:34::i;118152:650::-;-1:-1:-1;;;;;118227:21:0;;118219:57;;;;-1:-1:-1;;;118219:57:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;118291:20:0;;;;;;:11;:20;;;;;:32;;;118283:69;;;;-1:-1:-1;;;118283:69:0;;39775:2:1;118283:69:0;;;39757:21:1;39814:2;39794:18;;;39787:30;-1:-1:-1;;;39833:18:1;;;39826:54;39897:18;;118283:69:0;39573:348:1;118283:69:0;118367:22;:29;118399:2;-1:-1:-1;118359:60:0;;;;-1:-1:-1;;;118359:60:0;;43158:2:1;118359:60:0;;;43140:21:1;43197:2;43177:18;;;43170:30;-1:-1:-1;;;43216:18:1;;;43209:43;43269:18;;118359:60:0;42956:337:1;118359:60:0;118444:24;;118523:25;95748:4;118523:3;:25;:::i;:::-;118513:7;:35;118505:62;;;;-1:-1:-1;;;118505:62:0;;43500:2:1;118505:62:0;;;43482:21:1;43539:2;43519:18;;;43512:30;-1:-1:-1;;;43558:18:1;;;43551:44;43612:18;;118505:62:0;43298:338:1;118505:62:0;118611:27;95748:4;118611:5;:27;:::i;:::-;118601:37;;:7;:37;:::i;:::-;118574:24;:64;118676:43;118682:7;118691:27;95748:4;118691:5;:27;:::i;:::-;118676:5;:43::i;:::-;-1:-1:-1;;;;;118731:63:0;;;118766:27;95748:4;118766:5;:27;:::i;:::-;118731:63;;3015:25:1;;;3003:2;2988:18;118731:63:0;2869:177:1;21167:443:0;-1:-1:-1;;;;;21280:19:0;;21276:91;;21323:32;;-1:-1:-1;;;21323:32:0;;21352:1;21323:32;;;983:51:1;956:18;;21323:32:0;837:203:1;21276:91:0;-1:-1:-1;;;;;21381:21:0;;21377:92;;21426:31;;-1:-1:-1;;;21426:31:0;;21454:1;21426:31;;;983:51:1;956:18;;21426:31:0;837:203:1;21377:92:0;-1:-1:-1;;;;;21479:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;21525:78;;;;21576:7;-1:-1:-1;;;;;21560:31:0;21569:5;-1:-1:-1;;;;;21560:31:0;;21585:5;21560:31;;;;3015:25:1;;3003:2;2988:18;;2869:177;21560:31:0;;;;;;;;21167:443;;;;:::o;17377:1135::-;-1:-1:-1;;;;;17467:18:0;;17463:552;;17621:5;17605:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;17463:552:0;;-1:-1:-1;17463:552:0;;-1:-1:-1;;;;;17681:15:0;;17659:19;17681:15;;;;;;;;;;;17715:19;;;17711:117;;;17762:50;;-1:-1:-1;;;17762:50:0;;-1:-1:-1;;;;;41605:32:1;;17762:50:0;;;41587:51:1;41654:18;;;41647:34;;;41697:18;;;41690:34;;;41560:18;;17762:50:0;41385:345:1;17711:117:0;-1:-1:-1;;;;;17951:15:0;;:9;:15;;;;;;;;;;17969:19;;;;17951:37;;17463:552;-1:-1:-1;;;;;18031:16:0;;18027:435;;18197:12;:21;;;;;;;18027:435;;;-1:-1:-1;;;;;18413:13:0;;:9;:13;;;;;;;;;;:22;;;;;;18027:435;18494:2;-1:-1:-1;;;;;18479:25:0;18488:4;-1:-1:-1;;;;;18479:25:0;;18498:5;18479:25;;;;3015::1;;3003:2;2988:18;;2869:177;36854:201:0;36943:22;36951:4;36957:7;36943;:22::i;:::-;36938:110;;36989:47;;-1:-1:-1;;;36989:47:0;;-1:-1:-1;;;;;27364:32:1;;36989:47:0;;;27346:51:1;27413:18;;;27406:34;;;27319:18;;36989:47:0;27172:274:1;25378:191:0;25471:6;;;-1:-1:-1;;;;;25488:17:0;;;-1:-1:-1;;;;;;25488:17:0;;;;;;;25521:40;;25471:6;;;25488:17;25471:6;;25521:40;;25452:16;;25521:40;25441:128;25378:191;:::o;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:226;556:6;609:2;597:9;588:7;584:23;580:32;577:52;;;625:1;622;615:12;577:52;-1:-1:-1;670:23:1;;497:226;-1:-1:-1;497:226:1:o;1045:300::-;1098:3;1136:5;1130:12;1163:6;1158:3;1151:19;1219:6;1212:4;1205:5;1201:16;1194:4;1189:3;1185:14;1179:47;1271:1;1264:4;1255:6;1250:3;1246:16;1242:27;1235:38;1334:4;1327:2;1323:7;1318:2;1310:6;1306:15;1302:29;1297:3;1293:39;1289:50;1282:57;;;1045:300;;;;:::o;1350:231::-;1499:2;1488:9;1481:21;1462:4;1519:56;1571:2;1560:9;1556:18;1548:6;1519:56;:::i;1878:131::-;-1:-1:-1;;;;;1953:31:1;;1943:42;;1933:70;;1999:1;1996;1989:12;2014:367;2082:6;2090;2143:2;2131:9;2122:7;2118:23;2114:32;2111:52;;;2159:1;2156;2149:12;2111:52;2198:9;2185:23;2217:31;2242:5;2217:31;:::i;:::-;2267:5;2345:2;2330:18;;;;2317:32;;-1:-1:-1;;;2014:367:1:o;2617:247::-;2676:6;2729:2;2717:9;2708:7;2704:23;2700:32;2697:52;;;2745:1;2742;2735:12;2697:52;2784:9;2771:23;2803:31;2828:5;2803:31;:::i;3051:508::-;3128:6;3136;3144;3197:2;3185:9;3176:7;3172:23;3168:32;3165:52;;;3213:1;3210;3203:12;3165:52;3252:9;3239:23;3271:31;3296:5;3271:31;:::i;:::-;3321:5;-1:-1:-1;3378:2:1;3363:18;;3350:32;3391:33;3350:32;3391:33;:::i;:::-;3051:508;;3443:7;;-1:-1:-1;;;3523:2:1;3508:18;;;;3495:32;;3051:508::o;3746:367::-;3814:6;3822;3875:2;3863:9;3854:7;3850:23;3846:32;3843:52;;;3891:1;3888;3881:12;3843:52;3936:23;;;-1:-1:-1;4035:2:1;4020:18;;4007:32;4048:33;4007:32;4048:33;:::i;:::-;4100:7;4090:17;;;3746:367;;;;;:::o;4307:586::-;4377:6;4385;4438:2;4426:9;4417:7;4413:23;4409:32;4406:52;;;4454:1;4451;4444:12;4406:52;4494:9;4481:23;4527:18;4519:6;4516:30;4513:50;;;4559:1;4556;4549:12;4513:50;4582:22;;4635:4;4627:13;;4623:27;-1:-1:-1;4613:55:1;;4664:1;4661;4654:12;4613:55;4704:2;4691:16;4730:18;4722:6;4719:30;4716:50;;;4762:1;4759;4752:12;4716:50;4807:7;4802:2;4793:6;4789:2;4785:15;4781:24;4778:37;4775:57;;;4828:1;4825;4818:12;4775:57;4859:2;4851:11;;;;;4881:6;;-1:-1:-1;4307:586:1;-1:-1:-1;;;4307:586:1:o;4898:118::-;4984:5;4977:13;4970:21;4963:5;4960:32;4950:60;;5006:1;5003;4996:12;5021:382;5086:6;5094;5147:2;5135:9;5126:7;5122:23;5118:32;5115:52;;;5163:1;5160;5153:12;5115:52;5202:9;5189:23;5221:31;5246:5;5221:31;:::i;:::-;5271:5;-1:-1:-1;5328:2:1;5313:18;;5300:32;5341:30;5300:32;5341:30;:::i;5840:310::-;6023:6;6016:14;6009:22;5998:9;5991:41;6068:2;6063;6052:9;6048:18;6041:30;5972:4;6088:56;6140:2;6129:9;6125:18;6117:6;6088:56;:::i;7122:388::-;7190:6;7198;7251:2;7239:9;7230:7;7226:23;7222:32;7219:52;;;7267:1;7264;7257:12;7219:52;7306:9;7293:23;7325:31;7350:5;7325:31;:::i;:::-;7375:5;-1:-1:-1;7432:2:1;7417:18;;7404:32;7445:33;7404:32;7445:33;:::i;8245:380::-;8324:1;8320:12;;;;8367;;;8388:61;;8442:4;8434:6;8430:17;8420:27;;8388:61;8495:2;8487:6;8484:14;8464:18;8461:38;8458:161;;8541:10;8536:3;8532:20;8529:1;8522:31;8576:4;8573:1;8566:15;8604:4;8601:1;8594:15;8458:161;;8245:380;;;:::o;8977:410::-;9247:31;9235:44;;9304:2;9295:12;;9288:28;;;;9341:2;9332:12;;9325:28;9378:2;9369:12;;8977:410::o;9392:127::-;9453:10;9448:3;9444:20;9441:1;9434:31;9484:4;9481:1;9474:15;9508:4;9505:1;9498:15;9524:125;9589:9;;;9610:10;;;9607:36;;;9623:18;;:::i;10609:128::-;10676:9;;;10697:11;;;10694:37;;;10711:18;;:::i;10742:348::-;10944:2;10926:21;;;10983:2;10963:18;;;10956:30;11022:26;11017:2;11002:18;;10995:54;11081:2;11066:18;;10742:348::o;11444:127::-;11505:10;11500:3;11496:20;11493:1;11486:31;11536:4;11533:1;11526:15;11560:4;11557:1;11550:15;11576:120;11616:1;11642;11632:35;;11647:18;;:::i;:::-;-1:-1:-1;11681:9:1;;11576:120::o;11701:112::-;11733:1;11759;11749:35;;11764:18;;:::i;:::-;-1:-1:-1;11798:9:1;;11701:112::o;11818:212::-;11860:3;11898:5;11892:12;11942:6;11935:4;11928:5;11924:16;11919:3;11913:36;12004:1;11968:16;;11993:13;;;-1:-1:-1;11968:16:1;;11818:212;-1:-1:-1;11818:212:1:o;12035:421::-;12315:3;12343:30;12369:3;12361:6;12343:30;:::i;:::-;-1:-1:-1;;;12389:2:1;12382:15;12413:37;12447:1;12443:2;12439:10;12431:6;12413:37;:::i;:::-;12406:44;12035:421;-1:-1:-1;;;;;12035:421:1:o;12461:348::-;12663:2;12645:21;;;12702:2;12682:18;;;12675:30;12741:26;12736:2;12721:18;;12714:54;12800:2;12785:18;;12461:348::o;13159:168::-;13232:9;;;13263;;13280:15;;;13274:22;;13260:37;13250:71;;13301:18;;:::i;16048:341::-;16250:2;16232:21;;;16289:2;16269:18;;;16262:30;-1:-1:-1;;;16323:2:1;16308:18;;16301:47;16380:2;16365:18;;16048:341::o;17099:278::-;17168:6;17221:2;17209:9;17200:7;17196:23;17192:32;17189:52;;;17237:1;17234;17227:12;17189:52;17269:9;17263:16;17319:8;17312:5;17308:20;17301:5;17298:31;17288:59;;17343:1;17340;17333:12;20497:163;20575:13;;20628:6;20617:18;;20607:29;;20597:57;;20650:1;20647;20640:12;20597:57;20497:163;;;:::o;20665:952::-;20779:6;20787;20795;20803;20811;20819;20827;20880:3;20868:9;20859:7;20855:23;20851:33;20848:53;;;20897:1;20894;20887:12;20848:53;20929:9;20923:16;20948:31;20973:5;20948:31;:::i;:::-;20998:5;20988:15;;;21048:2;21037:9;21033:18;21027:25;21097:7;21094:1;21083:22;21074:7;21071:35;21061:63;;21120:1;21117;21110:12;21061:63;21143:7;-1:-1:-1;21169:48:1;21213:2;21198:18;;21169:48;:::i;:::-;21159:58;;21236:48;21280:2;21269:9;21265:18;21236:48;:::i;:::-;21226:58;;21303:49;21347:3;21336:9;21332:19;21303:49;:::i;:::-;21293:59;;21397:3;21386:9;21382:19;21376:26;21446:4;21437:7;21433:18;21424:7;21421:31;21411:59;;21466:1;21463;21456:12;21411:59;21541:3;21526:19;;21520:26;21489:7;;-1:-1:-1;21555:30:1;21520:26;21555:30;:::i;:::-;21604:7;21594:17;;;20665:952;;;;;;;;;;:::o;22318:127::-;22379:10;22374:3;22370:20;22367:1;22360:31;22410:4;22407:1;22400:15;22434:4;22431:1;22424:15;22450:135;22489:3;22510:17;;;22507:43;;22530:18;;:::i;:::-;-1:-1:-1;22577:1:1;22566:13;;22450:135::o;23988:353::-;24190:2;24172:21;;;24229:2;24209:18;;;24202:30;24268:31;24263:2;24248:18;;24241:59;24332:2;24317:18;;23988:353::o;27451:245::-;27518:6;27571:2;27559:9;27550:7;27546:23;27542:32;27539:52;;;27587:1;27584;27577:12;27539:52;27619:9;27613:16;27638:28;27660:5;27638:28;:::i;27701:193::-;27799:1;27788:16;;;27770;;;;27766:39;-1:-1:-1;;27820:23:1;;27855:8;27845:19;;27817:48;27814:74;;;27868:18;;:::i;27899:189::-;27995:1;27966:16;;;27984;;;;27962:39;28049:7;28016:18;;-1:-1:-1;;28036:22:1;;28013:46;28010:72;;;28062:18;;:::i;28189:1171::-;28411:13;;-1:-1:-1;;;;;794:31:1;782:44;;28379:3;28364:19;;28483:4;28475:6;28471:17;28465:24;28498:54;28546:4;28535:9;28531:20;28517:12;-1:-1:-1;;;;;794:31:1;782:44;;728:104;28498:54;;28601:4;28593:6;28589:17;28583:24;28616:55;28665:4;28654:9;28650:20;28634:14;1662:8;1651:20;1639:33;;1586:92;28616:55;;28720:4;28712:6;28708:17;28702:24;28735:54;28783:4;28772:9;28768:20;28752:14;28168:1;28157:20;28145:33;;28093:91;28735:54;;28838:4;28830:6;28826:17;28820:24;28853:54;28901:4;28890:9;28886:20;28870:14;28168:1;28157:20;28145:33;;28093:91;28853:54;;28963:4;28955:6;28951:17;28945:24;28938:4;28927:9;28923:20;28916:54;29026:4;29018:6;29014:17;29008:24;29001:4;28990:9;28986:20;28979:54;29089:4;29081:6;29077:17;29071:24;29064:4;29053:9;29049:20;29042:54;29154:6;29146;29142:19;29136:26;29127:6;29116:9;29112:22;29105:58;29212:6;29204;29200:19;29194:26;29229:58;29279:6;29268:9;29264:22;29248:14;-1:-1:-1;;;;;794:31:1;782:44;;728:104;29229:58;-1:-1:-1;29345:6:1;29333:19;;;29327:26;29303:22;;;;29296:58;28189:1171;:::o;29365:647::-;29462:6;29470;29478;29486;29539:3;29527:9;29518:7;29514:23;29510:33;29507:53;;;29556:1;29553;29546:12;29507:53;29601:16;;29686:2;29671:18;;29665:25;29601:16;;-1:-1:-1;29734:34:1;29721:48;;29709:61;;29699:89;;29784:1;29781;29774:12;29699:89;29880:2;29865:18;;29859:25;29976:2;29961:18;;;29955:25;29365:647;;29807:7;;-1:-1:-1;29365:647:1;-1:-1:-1;;;29365:647:1:o;32938:439::-;-1:-1:-1;;;33196:26:1;;33260:2;33256:15;;;;-1:-1:-1;;;;;;33252:53:1;33247:2;33238:12;;33231:75;33331:2;33322:12;;33315:28;33368:2;33359:12;;32938:439::o;33723:341::-;33925:2;33907:21;;;33964:2;33944:18;;;33937:30;-1:-1:-1;;;33998:2:1;33983:18;;33976:47;34055:2;34040:18;;33723:341::o;37836:::-;38038:2;38020:21;;;38077:2;38057:18;;;38050:30;-1:-1:-1;;;38111:2:1;38096:18;;38089:47;38168:2;38153:18;;37836:341::o;39221:347::-;39423:2;39405:21;;;39462:2;39442:18;;;39435:30;39501:25;39496:2;39481:18;;39474:53;39559:2;39544:18;;39221:347::o;40280:127::-;40341:10;40336:3;40332:20;40329:1;40322:31;40372:4;40369:1;40362:15;40396:4;40393:1;40386:15;41112:127;41173:10;41168:3;41164:20;41161:1;41154:31;41204:4;41201:1;41194:15;41228:4;41225:1;41218:15;41244:136;41283:3;41311:5;41301:39;;41320:18;;:::i;:::-;-1:-1:-1;;;41356:18:1;;41244:136::o;42785:166::-;42815:1;42856;42853;42842:16;42877:3;42867:37;;42884:18;;:::i;:::-;42941:3;42937:1;42934;42923:16;42918:27;42913:32;;;42785:166;;;;:::o

Swarm Source

ipfs://235bb912a723faeec8f916448fda067db706ccda559c1a281e34605615ca1d60
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.