ETH Price: $3,284.62 (-9.70%)

Token

UndeadsMysteryBox (UNMB)
 

Overview

Max Total Supply

0 UNMB

Holders

736

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 UNMB
0x39968ddeb963397fe476132b8cf0981eb0759f73
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Gameplay-first survival MMORPG for Web3 community.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MysteryBox

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 30 : MysteryBox.sol
// SPDX-License-Identifier: PROPRIERTARY

// Author: Ilya A. Shlyakhovoy
// Email: [email protected]

pragma solidity 0.8.17;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./interfaces/IPotions.sol";
import "./interfaces/IBenefits.sol";
import "./interfaces/IMysteryBox.sol";
import "../utils/Claimable.sol";
import "../utils/EIP2981.sol";
import "../utils/GuardExtension.sol";
import {
    OperatorFiltererERC721,
    ERC721
} from "../utils/OperatorFiltererERC721.sol";

contract MysteryBox is
    GuardExtension,
    OperatorFiltererERC721,
    EIP2981,
    Claimable,
    IMysteryBox
{
    using Address for address;
    using Address for address payable;
    using Strings for uint256;
    uint256 private _tokenIds;
    uint256 private _total;
    uint256 private _commonLimit;
    uint256 private _rareLimit;
    uint256 private _commonPrice;
    uint256 private _rarePrice;
    uint256 private _rarePriceIncrease;
    mapping(address => uint256) private _commonIssued;
    mapping(address => uint256) private _rareIssued;
    IPotions private _potion;
    IBenefits private _benefits;
    mapping(address => uint256) private _commonLimits;
    mapping(address => uint256) private _rareLimits;
    mapping(uint256 => bool) private _rare;
    string private constant INCORRECT_PRICE = "MysteryBox: incorrect price";
    string private constant SOLD_OUT = "MysteryBox: sold out";
    string private constant NO_MORE_RARE =
        "MysteryBox: no more rare tokens allowed for user";
    string private constant NO_MORE_COMMON =
        "MysteryBox: no more common tokens allowed for user";
    string private constant SOLD_OUT_RARE = "MysteryBox: sold out rare tokens";
    string private constant SOLD_OUT_COMMON =
        "MysteryBox: sold out common tokens";
    string private constant WRONG_OWNER = "MysteryBox: wrong owner";
    string private constant WRONG_ID = "MysteryBox: wrong id";
    string private constant SAME_VALUE = "MysteryBox: same value";
    string private constant ZERO_ADDRESS = "MysteryBox: zero address";
    string private constant BASE_META_HASH =
        "ipfs://QmVUH44vewH4iF93gSMez3qB4dUxc7DowXPztiG3uRXFWS/";

    /// @notice validate the id
    modifier correctId(uint256 id_) {
        require(_exists(id_), WRONG_ID);
        _;
    }

    /**
@notice Constructor
@param name_ The name
@param symbol_ The symbol
@param rights_ The rights address
@param potion_ The potion address
@param benefits_ The benefits address
@param commonLimit_ The maximum number of the common potions saled for one account
@param rareLimit_ The maximum number of the rare potions saled for one account
@param commonPrice_ The price of the common potion
@param rarePrice_ The price of the rare potion
@param rarePriceIncrease_ The increase of the price for each bought rare box
*/
    constructor(
        string memory name_,
        string memory symbol_,
        address rights_,
        address potion_,
        address benefits_,
        uint256 commonLimit_,
        uint256 rareLimit_,
        uint256 commonPrice_,
        uint256 rarePrice_,
        uint256 rarePriceIncrease_
    ) Guard() ERC721(name_, symbol_) GuardExtension(rights_) {
        require(potion_ != address(0), ZERO_ADDRESS);
        require(benefits_ != address(0), ZERO_ADDRESS);

        _commonLimit = commonLimit_;
        _rareLimit = rareLimit_;
        _commonPrice = commonPrice_;
        _rarePrice = rarePrice_;
        _rarePriceIncrease = rarePriceIncrease_;
        _potion = IPotions(potion_);
        _benefits = IBenefits(benefits_);
        emit CommonLimitDefined(_commonLimit);
        emit CommonPriceDefined(_commonPrice);
        emit RareLimitDefined(_rareLimit);
        emit RarePriceDefined(_rarePrice);
        emit RarePriceIncreaseDefined(_rarePriceIncrease);
    }

    /**
@notice Get a total amount of issued tokens
@return The number of tokens minted
*/
    function total() external view override returns (uint256) {
        return _total;
    }

    /**
@notice Set the maximum amount of the common potions saled for one account
@param value_ New amount
*/
    function setCommonLimit(uint256 value_) external override haveRights {
        _commonLimit = value_;
        emit CommonLimitDefined(value_);
    }

    /**
@notice Set the price of the common potions for the account
@param value_ New price
*/
    function setCommonPrice(uint256 value_) external override haveRights {
        _commonPrice = value_;
        emit CommonPriceDefined(value_);
    }

    /**
@notice Set new address of Potion contract
@param value_ New address value
*/
    function setPotion(address value_) external haveRights {
        require(address(_potion) != value_, SAME_VALUE);
        require(value_ != address(0), ZERO_ADDRESS);
        _potion = IPotions(value_);
    }

    /**
@notice Set new address of Benefits contract
@param value_ New address value
*/
    function setBenefits(address value_) external haveRights {
        require(address(_benefits) != value_, SAME_VALUE);
        require(value_ != address(0), ZERO_ADDRESS);
        _benefits = IBenefits(value_);
    }

    /**
@notice Set the maximum amount of the rare potions saled for one account
@param value_ New amount
*/
    function setRareLimit(uint256 value_) external override haveRights {
        _rareLimit = value_;
        emit RareLimitDefined(value_);
    }

    /**
@notice Set the maximum amount of the common potions saled for one account
@param value_ New amount
*/
    function setRarePrice(uint256 value_) external override haveRights {
        _rarePrice = value_;
        emit RarePriceDefined(value_);
    }

    /**
@notice Set the increase of the rare price
@param value_ New amount
*/
    function setRarePriceIncrease(uint256 value_) external override haveRights {
        _rarePriceIncrease = value_;
        emit RarePriceIncreaseDefined(_rarePriceIncrease);
    }

    /**
@notice Get the current rare price
@return Current rare price level
*/
    function getRarePrice() external view override returns (uint256) {
        return _rarePrice;
    }

    /**
@notice Get the amount of the tokens account can buy
@return The two uint's - amount of the common potions and amount of the rare potions
*/

    function getIssued(address account_)
        external
        view
        override
        returns (uint256, uint256)
    {
        return (_commonIssued[account_], _rareIssued[account_]);
    }

    /**
@notice Create the packed id with rare or not (admin only)
@param target_ The box owner
@param rare_ The rarity flag
@return The new box id
*/
    function create(address target_, bool rare_)
        external
        override
        haveRights
        returns (uint256)
    {
        return _create(target_, rare_ ? 1 : 0);
    }

    function _create(address account_, uint8 level_) private returns (uint256) {
        return _create(account_, level_, account_, 0, false, 0);
    }

    /**
    @notice Get the rarity of the box
    @param tokenId_ The id of the token
    @return The rarity flag
    */
    function rarity(uint256 tokenId_)
        external
        view
        override
        correctId(tokenId_)
        returns (bool)
    {
        return _rare[tokenId_];
    }

    /**
@notice Deposit the funds (payable function)
*/
    function deposit() external payable override haveRights {}

    /**
@notice Receive the funds and give the box with rarity according to the amount of funds transferred
Look the event to get the ID (receive functions cannot return values)
*/
    receive() external payable {
        (
            address target,
            uint256 benId,
            uint256 price,
            uint16 tokenId,
            uint8 level,
            bool isBenFound
        ) = _benefits.get(msg.sender, 0, msg.value);

        // found benefit with custom price
        if (price > 0) {
            require(price == msg.value, INCORRECT_PRICE);
            if (target == address(0) && level == 0) {
                require(_commonLimit > _commonIssued[msg.sender], NO_MORE_COMMON);
            }
            // here the first reserved item must be
            _create(msg.sender, level, target, benId, isBenFound, tokenId);
            return;
        }
        require(
            _rarePrice == msg.value || _commonPrice == msg.value,
            INCORRECT_PRICE
        );

        if (isBenFound) {
            if (level > 0) {
                require(_rarePrice == msg.value, INCORRECT_PRICE);
                _create(msg.sender, level, target, benId, isBenFound, tokenId);
            } else {
                require(_commonPrice == msg.value, INCORRECT_PRICE);
                _create(
                    msg.sender,
                    level,
                    target,
                    benId,
                    isBenFound,
                    tokenId == 0 ? _tokenIds : tokenId
                );
            }
            return;
        }

        // nothing found, let's check ordinary
        if (_rarePrice == msg.value) {
            _create(msg.sender, level, target, benId, false, tokenId);
        } else {
            require(_commonLimit > _commonIssued[msg.sender], NO_MORE_COMMON);
            _create(msg.sender, level, target, benId, false, tokenId);
        }
    }

    function _create(
        address account_,
        uint8 level_,
        address benTarget_,
        uint256 benId_,
        bool benIsFound_,
        uint256 newTokenId_
    ) private returns (uint256) {
        bool isRare = level_ > 0;
        if (isRare && newTokenId_ != 1) {
            _rarePrice = _rarePrice + _rarePriceIncrease;
        }
        IBenefits benefits = _benefits;
        if (isRare) {
            require(_rareLimit > _rareIssued[account_], NO_MORE_RARE);
            require(_potion.decreaseAmount(true), SOLD_OUT_RARE);
            _rareIssued[account_] = _rareIssued[account_] + 1;
        } else {
            require(_potion.decreaseAmount(false), SOLD_OUT_COMMON);
            _commonIssued[account_] = _commonIssued[account_] + 1;
        }
        uint256 newId = newTokenId_ == 0 ? _tokenIds : newTokenId_;
        if (newTokenId_ == 0) {
            do {
                newId = newId + 1;
            } while (benefits.denied(newId));
            _tokenIds = newId;
        }

        _rare[newId] = isRare;
        _mint(account_, newId);
        if (benIsFound_) {
            benefits.set(benTarget_, benId_);
        }
        emit Created(account_, newId, isRare);
        _total += 1;
        return newId;
    }

    /**
@notice Open the packed box 
@param id_ The box id
@return The new potion id
*/
    function open(uint256 id_)
        external
        override
        correctId(id_)
        returns (uint256)
    {
        require(ownerOf(id_) == msg.sender, WRONG_OWNER);
        uint256 newId = _potion.create(msg.sender, _rare[id_], id_);
        delete _rare[id_];
        _burn(id_);
        emit Opened(msg.sender, newId);
        return newId;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 id_)
        public
        view
        override(ERC721, IERC721Metadata)
        correctId(id_)
        returns (string memory)
    {
        if (id_ < 12) {
            return
                string(
                    abi.encodePacked(
                        BASE_META_HASH,
                        "legendary/",
                        id_.toString(),
                        "/meta.json"
                    )
                );
        } else {
            return
                string(
                    abi.encodePacked(
                        BASE_META_HASH,
                        "mystery/",
                        id_.toString(),
                        "/meta.json"
                    )
                );
        }
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(IERC165, ERC721, ERC2981)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 30 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 30 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 4 of 30 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 6 of 30 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

File 7 of 30 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 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 ERC721 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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * 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 caller.
     *
     * 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 8 of 30 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 9 of 30 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @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 10 of 30 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 11 of 30 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 13 of 30 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 14 of 30 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 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);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 15 of 30 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * 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[EIP 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 16 of 30 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";
import {CANONICAL_CORI_SUBSCRIPTION} from "./lib/Constants.sol";
/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 * @dev    Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}

File 17 of 30 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}

File 18 of 30 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol";
/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

    /// @dev The constructor that is called when the contract is being deployed.
    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 19 of 30 : Constants.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

File 20 of 30 : IRights.sol
// SPDX-License-Identifier: PROPRIERTARY

// Author: Ilya A. Shlyakhovoy
// Email: [email protected]

pragma solidity 0.8.17;

interface IRights {
    event AdminAdded(address indexed admin);
    event AdminDefined(address indexed admin, address indexed contractHash);
    event AdminRemoved(address indexed admin);
    event AdminCleared(address indexed admin, address indexed contractHash);

    /**
@notice Add a new admin for the Rigths contract
@param admin_ New admin address
*/

    function addAdmin(address admin_) external;

    /**
@notice Add a new admin for the any other contract
@param contract_ Contract address packed into address
@param admin_ New admin address
*/

    function addAdmin(address contract_, address admin_) external;

    /**
@notice Remove the existing admin from the Rigths contract
@param admin_ Admin address
*/

    function removeAdmin(address admin_) external;

    /**
@notice Add a new admin for the any other contract
@param contract_ Contract address packed into address
@param admin_ New admin address
*/

    function removeAdmin(address contract_, address admin_) external;

    /**
@notice Get the rights for the contract for the caller
@param contract_ Contract address packed into address
@return have rights or not
*/
    function haveRights(address contract_) external view returns (bool);

    /**
@notice Get the rights for the contract
@param contract_ Contract address packed into address
@param admin_ Admin address
@return have rights or not
*/
    function haveRights(address contract_, address admin_)
        external
        view
        returns (bool);
}

File 21 of 30 : Structures.sol
// SPDX-License-Identifier: PROPRIERTARY

// Author: Ilya A. Shlyakhovoy
// Email: [email protected]
pragma solidity 0.8.17;

/**
 * @dev Collection of structures
 */
library Structures {
    struct ActorData {
        uint256 adultTime;
        uint256 bornTime;
        string kidTokenUriHash;
        string adultTokenUriHash;
        uint16[10] props;
        uint8 childs;
        uint8 childsPossible;
        bool sex;
        bool born;
        bool immaculate;
        uint16 rank;
        address initialOwner;
    }

    struct Item {
        uint256 class;
        uint256 model;
        uint256 location;
        uint8 slots;
        uint16[10] props;
        string uri;
    }

    struct ItemType {
        uint256 class;
        uint256 model;
        string uri;
    }

    struct LootBox {
        uint256 price;
        uint16 total;
        uint16 available;
        bool paused;
        bool deleted;
        string uri;
        LootBoxItem[] items;
    }

    struct LootBoxItem {
        uint256 class;
        uint256 model;
        uint8 slots;
        uint16 promilles;
        uint16[10] props;
    }

    struct Estate {
        address lender;
        uint256 location;
        uint8 estateType;
        uint256 parent;
        uint256 coordinates;
    }

    struct Villa {
        uint256 location;
        uint256 fraction;
    }

    struct ManageAction {
        address target;
        address author;
        uint256 expiration;
        bytes4 signature;
        bytes data;
        bool executed;
    }

    struct InvestorData {
        address investor;
        uint256 promille;
    }

    struct Benefit {
        uint256 price;
        uint256 from;
        uint256 until;
        uint16 id;
        uint16 amount;
        uint8 level;
        uint8 issued;
    }
}

File 22 of 30 : IBenefits.sol
// SPDX-License-Identifier: PROPRIERTARY

// Author: Ilya A. Shlyakhovoy
// Email: [email protected]

pragma solidity 0.8.17;

import "../../lib/Structures.sol";

interface IBenefits {
    event BenefitAdded(
        address indexed target,
        uint256 from,
        uint256 to,
        uint256 price,
        uint16 id,
        uint16 amount,
        uint8 level
    );
    event BenefitUsed(address indexed target, uint256 id);
    event BenefitsCleared(address indexed target);

    /**
@notice Add a new benefit 
@param target_ target address 
@param price_ Price of the token
@param id_ The token id 
@param amount_ The tokens amount
@param level_ The locked tokens level
@param from_ The timestamp of start of rule usage
@param until_ The timestamp of end of rule usage
*/

    function add(
        address target_,
        uint256 price_,
        uint16 id_,
        uint16 amount_,
        uint8 level_,
        uint256 from_,
        uint256 until_
    ) external;

    /**
@notice Clear user's benefits for the contract 
@param target_ target address 
*/
    function clear(address target_) external;

    /**
@notice Check denied id 
@param current_ current id 
*/
    function denied(uint256 current_) external view returns (bool);

    /**
@notice Get available user benefit 
@param target_ target address 
@param current_ current tested token id
@param price_ the received price
@return benefit id, benefit price, benefit token id, benefit level  (all items can be 0)
*/
    function get(
        address target_,
        uint256 current_,
        uint256 price_
    )
        external
        view
        returns (
            address,
            uint256,
            uint256,
            uint16,
            uint8,
            bool // is fenefit found
        );

    /** 
@notice Set  user benefit 
@param target_ target address 
@param id_ benefit id
*/
    function set(address target_, uint256 id_) external;

    /**
@notice Read specific benefit 
@param target_ target address 
@param id_  benefit id
@return benefit 
*/
    function read(address target_, uint256 id_)
        external
        view
        returns (Structures.Benefit memory);

    /**
@notice Read total count of users received benefits 
@return count 
*/
    function totalReceivers() external view returns (uint256);

    /**
@notice Read list of the addresses received benefits 
@return addresses 
*/
    function listReceivers() external view returns (address[] memory);
}

File 23 of 30 : IMysteryBox.sol
// SPDX-License-Identifier: PROPRIERTARY

// Author: Ilya A. Shlyakhovoy
// Email: [email protected]

pragma solidity 0.8.17;
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "../../utils/interfaces/IClaimableFunds.sol";

interface IMysteryBox is IERC721Metadata, IClaimableFunds {
    event Created(address indexed owner, uint256 indexed id, bool indexed rare);
    event Opened(address indexed owner, uint256 indexed id);
    event CommonLimitDefined(uint256 commonLimit);
    event CommonPriceDefined(uint256 commonPrice);
    event RareLimitDefined(uint256 rareLimit);
    event RarePriceDefined(uint256 rarePrice);
    event RarePriceIncreaseDefined(uint256 rarePriceIncrease);

    /**
@notice Get a total amount of issued tokens
@return The number of tokens minted
*/

    function total() external view returns (uint256);

    /**
@notice Set the maximum amount of the common potions saled for one account
@param value_ New amount
*/
    function setCommonLimit(uint256 value_) external;

    /**
@notice Set the price of the common potions for the account
@param value_ New price
*/
    function setCommonPrice(uint256 value_) external;

    /**
@notice Set the maximum amount of the rare potions saled for one account
@param value_ New amount
*/
    function setRareLimit(uint256 value_) external;

    /**
@notice Set the maximum amount of the common potions saled for one account
@param value_ New amount
*/
    function setRarePrice(uint256 value_) external;

    /**
@notice Set the increase of the rare price
@param value_ New amount
*/
    function setRarePriceIncrease(uint256 value_) external;

    /**
@notice Get the amount of the tokens account can buy
@return The two uint's - amount of the common potions and amount of the rare potions
*/

    /**
@notice Get the current rare price
@return Current rare price level
*/
    function getRarePrice() external view returns (uint256);

    function getIssued(address account_)
        external
        view
        returns (uint256, uint256);

    /**
@notice Create the packed id with rare or not (admin only)
@param target_ The box owner
@param rare_ The rarity flag
@return The new box id
*/
    function create(address target_, bool rare_) external returns (uint256);

    /**
@notice Get the rarity of the box
@param tokenId_ The id of the token
@return The rarity flag
*/
    function rarity(uint256 tokenId_) external view returns (bool);

    /**
@notice Deposit the funds (payable function)
*/
    function deposit() external payable;

    /**
@notice Open the packed box 
@param id_ The box id
@return The new potion id
*/
    function open(uint256 id_) external returns (uint256);
}

File 24 of 30 : IPotions.sol
// SPDX-License-Identifier: PROPRIERTARY

// Author: Ilya A. Shlyakhovoy
// Email: [email protected]

pragma solidity 0.8.17;
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";

interface IPotions is IERC721Metadata {
    event Created(address indexed owner, uint256 indexed id, uint256 indexed level);
    event Opened(address indexed owner, uint256 indexed id);
    event ChildsDefined(uint256 indexed childs);
    event TokenUriDefined(uint256 indexed id, string tokenUri);

    /**
@notice Get a total amount of issued tokens
@return The number of tokens minted
*/

    function total() external view returns (uint256);

    /**
@notice Get the amount of the actors remains to be created
@return The current value
*/
    function unissued() external view returns (uint256);

    /**
@notice Get the level of the potion
@param id_ potion id
@return The level of the potion
*/
    function level(uint256 id_) external view returns (uint256);

    /**
@notice Set the maximum amount of the childs for the woman actor
@param childs_ New childs amount
*/
    function setChilds(uint256 childs_) external;

    /**
@notice Get the current  maximum amount of the childs
@return The current value
*/
    function getChilds() external view returns (uint256);

    /**
@notice Open the packed id with the random values
@param id_ The pack id
@return The new actor id
*/
    function open(uint256 id_) external returns (uint256);

    /**
@notice return max potion level
@return The max potion level (1-based)
*/

    function getMaxLevel() external view returns (uint256);

    /**
@notice Create the potion by box (rare or not)
@param target The potion owner
@param rare The rarity sign
@param id_ The id of a new token
@return The new pack id
*/
    function create(
        address target,
        bool rare,
        uint256 id_
    ) external returns (uint256);

    /**
@notice Create the packed potion with desired level (admin only)
@param target The pack owner
@param level The pack level
@param id_ The id of a new token
@return The new pack id
*/
    function createPotion(
        address target,
        uint256 level,
        uint256 id_
    ) external returns (uint256);

    /**
@notice get the last pack for the address
@param target The  owner 
@return The  pack id
*/
    function getLast(address target) external view returns (uint256);

    /**
@notice Decrease the amount of the common or rare tokens or fails
*/
    function decreaseAmount(bool rare) external returns (bool);

    /**
    @notice Set an uri for the token
    @param id_ token id
    @param metadataHash_ ipfs hash of the metadata
    */
    function setMetadataHash(uint256 id_, string calldata metadataHash_)
        external;
}

File 25 of 30 : Claimable.sol
// SPDX-License-Identifier: PROPRIERTARY

// Author: Ilya A. Shlyakhovoy
// Email: [email protected]

pragma solidity 0.8.17;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./interfaces/IClaimableFunds.sol";
import "./Guard.sol";

abstract contract Claimable is Guard, ReentrancyGuard, IClaimableFunds {
    /**
    @notice Returns the amount of funds available to claim
    @param asset_ Asset to withdraw, 0x0 - is native coin (eth)
    */
    function availableToClaim(
        address, /*owner_*/
        address asset_
    ) external view returns (uint256) {
        if (asset_ == address(0x0)) {
            return address(this).balance;
        } else {
            return IERC20(asset_).balanceOf(address(this));
        }
    }

    /**
    @notice Claim funds
    @param asset_ Asset to withdraw, 0x0 - is native coin (eth)
    @param target_ The target for the withdrawal 
    @param amount_ The amount of 
    */
    function claimFunds(
        address asset_,
        address payable target_,
        uint256 amount_
    ) external haveRights nonReentrant {
        require(target_ != address(0), "ZERO ADDRESS");
        if (asset_ == address(0x0)) {
            (bool sent, ) = target_.call{value: amount_}("");
            require(sent, "Can't sent");
        } else {
            require(
                IERC20(asset_).transfer(target_, amount_),
                "CANNOT TRANSFER"
            );
        }
    }
}

File 26 of 30 : EIP2981.sol
// SPDX-License-Identifier: PROPRIERTARY

// Author: Ilya A. Shlyakhovoy
// Email: [email protected]

pragma solidity 0.8.17;

import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "./Guard.sol";

/**
@title The royalties base contract
@author Ilya A. Shlyakhovoy
@notice This contract manage properties of the game actor, including birth and childhood.
The new actor comes from the Breed or Box contracts
 */

abstract contract EIP2981 is ERC2981, Guard {
    event FeeChanged(
        address indexed receiver,
        uint96 collectionOwnerFeeNumerator,
        uint96 firstOwnerFeeNumerator
    );

    struct AdditionalRoyaltyInfo {
        uint96 collectionOwnerFeeNumerator;
        uint96 firstOwnerFeeNumerator;
    }

    AdditionalRoyaltyInfo private _additionalDefaultRoyaltyInfo;

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function feeDenominator() external pure returns (uint96) {
        return _feeDenominator();
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `collectionOwnerFeeNumerator` + `firstOwnerFeeNumerator` cannot be greater than the fee denominator.
     */
    function setDefaultRoyalty(
        address receiver,
        uint96 collectionOwnerFeeNumerator,
        uint96 firstOwnerFeeNumerator
    ) external haveRights {
        _setDefaultRoyalty(
            receiver,
            collectionOwnerFeeNumerator + firstOwnerFeeNumerator
        );

        _additionalDefaultRoyaltyInfo = _additionalDefaultRoyaltyInfo = AdditionalRoyaltyInfo(
            collectionOwnerFeeNumerator,
            firstOwnerFeeNumerator
        );
        emit FeeChanged(
            receiver,
            collectionOwnerFeeNumerator,
            firstOwnerFeeNumerator
        );
    }

    /**
     * @dev Returns amount of shares which should receive each party.
     */
    function additionalDefaultRoyaltyInfo()
        external
        view
        returns (AdditionalRoyaltyInfo memory)
    {
        return _additionalDefaultRoyaltyInfo;
    }

    /**
     * @dev Removes default royalty information.
     */
    function deleteDefaultRoyalty() external haveRights {
        _deleteDefaultRoyalty();
        delete _additionalDefaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) external haveRights {
        _setTokenRoyalty(tokenId, receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function resetTokenRoyalty(uint256 tokenId) external haveRights {
        _resetTokenRoyalty(tokenId);
    }
}

File 27 of 30 : Guard.sol
// SPDX-License-Identifier: PROPRIERTARY

// Author: Ilya A. Shlyakhovoy
// Email: [email protected]

pragma solidity 0.8.17;
import "../interfaces/IRights.sol";

abstract contract Guard {
    string constant NO_RIGHTS = "Guard: No rights";

    /// @notice only if person with rights calls the contract
    modifier haveRights() {
        require(_rights().haveRights(address(this), msg.sender), NO_RIGHTS);
        _;
    }

    /// @notice only if someone with rights calls the contract
    modifier haveRightsPerson(address who_) {
        require(_rights().haveRights(address(this), who_), NO_RIGHTS);
        _;
    }

    /// @notice only if person with rights calls the function
    modifier haveRightsExt(address target_, address who_) {
        require(_rights().haveRights(target_, who_), NO_RIGHTS);
        _;
    }

    function _rights() internal view virtual returns (IRights);

    function setRights(address rights_) external virtual;
}

File 28 of 30 : GuardExtension.sol
// SPDX-License-Identifier: PROPRIERTARY

// Author: Ilya A. Shlyakhovoy
// Email: [email protected]

pragma solidity 0.8.17;
import "../interfaces/IRights.sol";
import "../utils/Guard.sol";

contract GuardExtension is Guard {
    IRights private _rightsContract;

    string private constant SAME_VALUE = "Guard: same value";
    string private constant ZERO_ADDRESS = "Guard: zero address";

    constructor(address rights_) {
        require(rights_ != address(0), ZERO_ADDRESS);
        _rightsContract = IRights(rights_);
    }

    function _rights() internal view virtual override returns (IRights) {
        return _rightsContract;
    }

    function setRights(address rights_) external virtual override haveRights {
        require(address(_rightsContract) != rights_, SAME_VALUE);
        _rightsContract = IRights(rights_);
    }
}

File 29 of 30 : OperatorFiltererERC721.sol
// SPDX-License-Identifier: PROPRIERTARY

// Author: Bohdan Malkevych
// Email: [email protected]

pragma solidity 0.8.17;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";

abstract contract OperatorFiltererERC721 is
    ERC721,
    DefaultOperatorFilterer,
    Ownable
{
    /**
     * @dev See {IERC721-setApprovalForAll}.
     *      In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        override
        onlyAllowedOperatorApproval(operator)
    {
        super.setApprovalForAll(operator, approved);
    }

    /**
     * @dev See {IERC721-approve}.
     *      In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry.
     */
    function approve(address operator, uint256 tokenId)
        public
        override
        onlyAllowedOperatorApproval(operator)
    {
        super.approve(operator, tokenId);
    }

    /**
     * @dev See {IERC721-transferFrom}.
     *      In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     *      In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     *      In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }
}

File 30 of 30 : IClaimableFunds.sol
// SPDX-License-Identifier: PROPRIERTARY

// Author: Bohdan Malkevych
// Email: [email protected]

pragma solidity 0.8.17;

/**
@notice Interface created to standardize claiming funds by AggregationFunds contract
*/
interface IClaimableFunds {
    /**
    @notice Claim funds
    @param asset_ Asset to withdraw, 0x0 - is native coin (eth)
    @param target_ The target for the withdrawal 
    @param amount_ The amount of 
    */
    function claimFunds(
        address asset_,
        address payable target_,
        uint256 amount_
    ) external;

    /**
    @notice Returns the amount of funds available to claim
    @param owner_ Address of the owner of the asset
    @param asset_ Asset to withdraw, 0x0 - is native coin (eth)
    */
    function availableToClaim(address owner_, address asset_)
        external
        view
        returns (uint256);
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "viaIR": true,
  "evmVersion": "london",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"rights_","type":"address"},{"internalType":"address","name":"potion_","type":"address"},{"internalType":"address","name":"benefits_","type":"address"},{"internalType":"uint256","name":"commonLimit_","type":"uint256"},{"internalType":"uint256","name":"rareLimit_","type":"uint256"},{"internalType":"uint256","name":"commonPrice_","type":"uint256"},{"internalType":"uint256","name":"rarePrice_","type":"uint256"},{"internalType":"uint256","name":"rarePriceIncrease_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"commonLimit","type":"uint256"}],"name":"CommonLimitDefined","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"commonPrice","type":"uint256"}],"name":"CommonPriceDefined","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"bool","name":"rare","type":"bool"}],"name":"Created","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"collectionOwnerFeeNumerator","type":"uint96"},{"indexed":false,"internalType":"uint96","name":"firstOwnerFeeNumerator","type":"uint96"}],"name":"FeeChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Opened","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rareLimit","type":"uint256"}],"name":"RareLimitDefined","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rarePrice","type":"uint256"}],"name":"RarePriceDefined","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rarePriceIncrease","type":"uint256"}],"name":"RarePriceIncreaseDefined","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"additionalDefaultRoyaltyInfo","outputs":[{"components":[{"internalType":"uint96","name":"collectionOwnerFeeNumerator","type":"uint96"},{"internalType":"uint96","name":"firstOwnerFeeNumerator","type":"uint96"}],"internalType":"struct EIP2981.AdditionalRoyaltyInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"asset_","type":"address"}],"name":"availableToClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset_","type":"address"},{"internalType":"address payable","name":"target_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"claimFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target_","type":"address"},{"internalType":"bool","name":"rare_","type":"bool"}],"name":"create","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"feeDenominator","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account_","type":"address"}],"name":"getIssued","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRarePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"open","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"rarity","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"resetTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"value_","type":"address"}],"name":"setBenefits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value_","type":"uint256"}],"name":"setCommonLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value_","type":"uint256"}],"name":"setCommonPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"collectionOwnerFeeNumerator","type":"uint96"},{"internalType":"uint96","name":"firstOwnerFeeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"value_","type":"address"}],"name":"setPotion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value_","type":"uint256"}],"name":"setRareLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value_","type":"uint256"}],"name":"setRarePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value_","type":"uint256"}],"name":"setRarePriceIncrease","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"rights_","type":"address"}],"name":"setRights","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"total","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":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060409080825234620006d657600090620040e380380380916200002582856200070d565b8339810161014082820312620006d25781516001600160401b038111620006ce57816200005491840162000756565b60208301519091906001600160401b038111620006ca57906200007991840162000756565b9062000087858401620007b1565b936200009660608501620007b1565b620000a460808601620007b1565b9060a08601519260c08701519560e0880151956101206101008a01519901519960018060a01b0316620001108c51620000dd81620006db565b601381527f47756172643a207a65726f206164647265737300000000000000000000000000602082015282151562000801565b600280546001600160a01b0319169190911790558051906001600160401b038211620006b657600354600181811c91168015620006ab575b602082101462000697579081601f84931162000627575b50602090601f83116001146200059f57859262000593575b50508160011b916000199060031b1c1916176003555b8051906001600160401b0382116200057f57600454600181811c9116801562000574575b602082101462000560579081601f8d97969594931162000505575b50602090601f83116001146200047757839190836200046b575b50508160011b916000199060031b1c1916176004555b6daaeb6d7670e522a718067333cd4e803b620003b1575b50957fee634e026a43d7d6e3cfc4654a2e0b168ecb82f0ef1a28843a2d00e294288f8960207fd3574eb2a95f97fde67bb8e229d98c69b56840f49de9bce6ef9116bc8f9c6c93977fac5f6383eebdfebf97c3c319ce8a9d1c4a2f509096a73b0e7618f25d8951163782809c9899819a7f40bd272a9b0467299ba9c1f02cd387ded0738a5cadd78fe7ea86fd705c8f50909f7ff692d156c741d7801e39df95e1cb9d6ac21d6711e250e05baebe4877da8dae019a819f9a859b600954903360018060a01b03198316176009557f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0339260018060a01b03169180a36001600b556001600160a01b0316906200033262000329620007c6565b83151562000801565b6001600160a01b031691620003536200034a620007c6565b84151562000801565b84600e558a600f55876010558d60115560125560018060a01b0319601554161760155560018060a01b0319601654161760165551908152a18c51908152a18951908152a18651908152a18351908152a15161389890816200084b8239f35b8091929394503b15620004675781809160448c5180948193633e9f1edf60e11b8352306004840152733cc6cdda760b79bafa08df41ecfa224f810dceb660248401525af180156200045d57908a9493929115620002135792935090916001600160401b03811162000449578952889291907fee634e026a43d7d6e3cfc4654a2e0b168ecb82f0ef1a28843a2d00e294288f8962000213565b634e487b7160e01b82526041600452602482fd5b8a513d84823e3d90fd5b5080fd5b015190503880620001e6565b600484527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b9190845b601f1985168110620004e9575090839291600194601f19811610620004cf575b505050811b01600455620001fc565b015160001960f88460031b161c19169055388080620004c0565b8183015184558e985060019093019260209283019201620004a0565b909192939495506004845260208420601f840160051c81016020851062000558575b908d979695949392915b601f830160051c8201811062000549575050620001cc565b8581558e985060010162000531565b508062000527565b634e487b7160e01b84526022600452602484fd5b90607f1690620001b1565b634e487b7160e01b83526041600452602483fd5b01519050388062000177565b600386527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b9250601f198416865b8181106200060e5750908460019594939210620005f4575b505050811b016003556200018d565b015160001960f88460031b161c19169055388080620005e5565b92936020600181928786015181550195019301620005cd565b600386529091507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f840160051c8101602085106200068f575b90849392915b601f830160051c82018110620006805750506200015f565b87815585945060010162000668565b508062000662565b634e487b7160e01b85526022600452602485fd5b90607f169062000148565b634e487b7160e01b84526041600452602484fd5b8480fd5b8380fd5b8280fd5b600080fd5b604081019081106001600160401b03821117620006f757604052565b634e487b7160e01b600052604160045260246000fd5b601f909101601f19168101906001600160401b03821190821017620006f757604052565b60005b838110620007455750506000910152565b818101518382015260200162000734565b81601f82011215620006d65780516001600160401b038111620006f757604051926200078d601f8301601f1916602001856200070d565b81845260208284010111620006d657620007ae916020808501910162000731565b90565b51906001600160a01b0382168203620006d657565b60405190620007d582620006db565b601882527f4d797374657279426f783a207a65726f206164647265737300000000000000006020830152565b156200080a5750565b6044604051809262461bcd60e51b8252602060048301526200083c815180928160248601526020868601910162000731565b601f01601f19168101030190fdfe60806040526004361015610023575b361561001957600080fd5b610021612172565b005b60003560e01c806301ffc9a71461035757806306fdde031461034e578063081812fc14610345578063095ea7b31461033c578063180b0d7e1461033357806323b872dd1461032a5780632a55205a146103215780632ddbd13a14610318578063319e90901461030f5780633607bc9e1461030657806337d2aae9146102fd57806341f43434146102f457806342842e0e146102eb5780635944c753146102e25780635c11bdd8146102d95780636352211e146102d0578063660e01e8146102c7578063690e7c09146102be57806370a08231146102b5578063715018a6146102ac57806373609adf146102a357806388be73471461029a5780638a616bc0146102915780638b58c569146102885780638da5cb5b1461027f57806395d89b4114610276578063a22cb4651461026d578063aa1b103f14610264578063b88d4fde1461025b578063b9140a5a14610252578063c87b56dd14610249578063cb3a6b2c14610240578063d0e30db014610237578063d10c45a51461022e578063d321040314610225578063e4d960d61461021c578063e895bc2f14610213578063e985e9c51461020a578063f2fde38b14610201578063f5fe3526146101f85763f72455790361000e576101f3611cfa565b61000e565b506101f3611ae3565b506101f3611a48565b506101f36119fd565b506101f36119b2565b506101f361192f565b506101f3611910565b506101f361175a565b506101f3611710565b506101f36116ed565b506101f361166f565b506101f361160f565b506101f361157d565b506101f3611437565b506101f361135a565b506101f3611296565b506101f361126c565b506101f3611217565b506101f36111b8565b506101f3611135565b506101f36110ac565b506101f361104a565b506101f3610fa3565b506101f3610e15565b506101f3610d92565b506101f3610d73565b506101f3610cd8565b506101f3610ba1565b506101f3610aba565b506101f3610a90565b506101f36109dd565b506101f361091e565b506101f361084f565b506101f3610801565b506101f3610744565b506101f36106fb565b506101f36106b1565b506101f36105b6565b506101f3610574565b506101f3610467565b506101f3610377565b6001600160e01b031981160361037257565b600080fd5b503461037257602036600319011261037257602060043561039781610360565b63ffffffff60e01b166380ac58cd60e01b81149081156103ef575b81156103c4575b506040519015158152f35b63152a902d60e11b8114915081156103de575b50386103b9565b6301ffc9a760e01b149050386103d7565b635b5e139f60e01b811491506103b2565b600091031261037257565b60005b83811061041e5750506000910152565b818101518382015260200161040e565b906020916104478151809281855285808601910161040b565b601f01601f1916010190565b90602061046492818152019061042e565b90565b5034610372576000806003193601126105715760405190806003549060019180831c92808216928315610567575b602092838610851461055357858852602088019490811561053257506001146104d9575b6104d5876104c981890382611521565b60405191829182610453565b0390f35b600360005294509192917fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b83861061052157505050910190506104c9826104d538806104b9565b805485870152948201948101610505565b60ff191685525050505090151560051b0190506104c9826104d538806104b9565b634e487b7160e01b82526022600452602482fd5b93607f1693610495565b80fd5b5034610372576020366003190112610372576020610593600435611e89565b6040516001600160a01b039091168152f35b6001600160a01b0381160361037257565b5034610372576040366003190112610372576004356105d4816105a5565b6024356105e0826132f6565b6105e981611e11565b916001600160a01b038084169082168114610662576100219361061691331490811561061b575b506133a4565b612eb5565b6001600160a01b0316600090815260086020526040902061065c91506106559033905b9060018060a01b0316600052602052604060002090565b5460ff1690565b38610610565b60405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608490fd5b50346103725760003660031901126103725760206040516127108152f35b6060906003190112610372576004356106e7816105a5565b906024356106f4816105a5565b9060443590565b50346103725761002161070d366106cf565b91336001600160a01b03821603610736575b61073161072c843361347c565b613416565b6135c4565b61073f336132f6565b61071f565b50346103725760403660031901126103725761271060243560043560005260016020526107746040600020611f41565b80516001600160a01b0316156107ea575b6107b9816001600160601b0360206104d594015116938481029481860414901517156107dd575b516001600160a01b031690565b604080516001600160a01b0390921682529390920460208301529091829190820190565b6107e5611f66565b6107ac565b506104d56107b96107f9611f1b565b915050610785565b5034610372576000366003190112610372576020600d54604051908152f35b8015150361037257565b604090600319011261037257600435610842816105a5565b9060243561046481610820565b5034610372576104d56108cd6108643661082a565b600254604051630f6266a760e01b81523060048201523360248201526108bc9160209082906001600160a01b03168180604481015b03915afa908115610911575b6000916108e3575b506108b6611f9f565b90611fcb565b600090156108dd5750600190612459565b6040519081529081906020820190565b90612459565b610904915060203d811161090a575b6108fc8183611521565b810190611f7d565b386108ad565b503d6108f2565b610919611f92565b6108a5565b503461037257602036600319011261037257600254604051630f6266a760e01b8152306004828101919091523360248301527ff692d156c741d7801e39df95e1cb9d6ac21d6711e250e05baebe4877da8dae01926020929135916109ac91849082906001600160a01b03168180604481015b03915afa9081156109d0575b6000916109b957506108b6611f9f565b80600f55604051908152a1005b6109049150843d811161090a576108fc8183611521565b6109d8611f92565b61099c565b5034610372576020366003190112610372576004356109fb816105a5565b600254604051630f6266a760e01b81523060048201523360248201526001600160a01b0380831693610a8092610a4b906020816044818a5afa908115610911576000916108e357506108b6611f9f565b16928360405191610a5b836114c8565b601183527047756172643a2073616d652076616c756560781b60208401521415611fcb565b6001600160a01b03191617600255005b50346103725760003660031901126103725760206040516daaeb6d7670e522a718067333cd4e8152f35b503461037257610b28610acc366106cf565b6001600160a01b0383163314159290919083610b67575b604051936020850185811067ffffffffffffffff821117610b5a575b60405260008552610b4c575b610b1861072c843361347c565b610b238383836135c4565b61379f565b15610b2f57005b60405162461bcd60e51b815280610b4860048201613706565b0390fd5b610b55336132f6565b610b0b565b610b626114b1565b610aff565b610b70336132f6565b610ae3565b604435906001600160601b038216820361037257565b602435906001600160601b038216820361037257565b503461037257606036600319011261037257602435610bbf816105a5565b610bc7610b75565b600254604051630f6266a760e01b81523060048201523360248201529192916001600160a01b0391610c06919060209082908516818060448101610899565b610c1d6127106001600160601b0385161115613297565b811615610c9357610c5561002192610c45610c36611543565b6001600160a01b039094168452565b6001600160601b03166020830152565b610c6b6004356000526001602052604060002090565b815160209092015160a01b6001600160a01b0319166001600160a01b03909216919091179055565b60405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606490fd5b503461037257602036600319011261037257600435610cf6816105a5565b600254604051630f6266a760e01b81523060048201523360248201526001600160a01b039291610d33919060209082908616818060448101610899565b610d508260165492169283610d46611ff7565b9184161415611fcb565b610d63610d5b612029565b831515611fcb565b6001600160a01b03191617601655005b5034610372576020366003190112610372576020610593600435611e11565b503461037257602036600319011261037257600254604051630f6266a760e01b8152306004828101919091523360248301527fd3574eb2a95f97fde67bb8e229d98c69b56840f49de9bce6ef9116bc8f9c6c9392602092913591610e0891849082906001600160a01b0316818060448101610990565b80601155604051908152a1005b5034610372576020366003190112610372576004356000818152600560205260409020546104d591610eed91610e59906001600160a01b031615155b6108b6612062565b610e7e610e6582611e11565b610e6d612d80565b906001600160a01b03163314611fcb565b6015546020908290610ea0906001600160a01b03165b6001600160a01b031690565b610eb7610655836000526019602052604060002090565b604051630366c4f160e21b8152336004820152901515602482015260448101929092529093849190829060009082906064820190565b03925af1918215610f96575b600092610f62575b5080610f27610f1d610f2c936000526019602052604060002090565b805460ff19169055565b612dd7565b60405191818392337fc4b27f09c64550fd678a5b3c3a00f454814732e346e0f1c79d0add8f980346de600080a382526020820190565b610f2c919250610f889060203d8111610f8f575b610f808183611521565b810190612db9565b9190610f01565b503d610f76565b610f9e611f92565b610ef9565b503461037257602036600319011261037257600435610fc1816105a5565b6001600160a01b03168015610ff25760005260066020526104d5604060002054604051918291829190602083019252565b60405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608490fd5b5034610372576000806003193601126105715760095481906001600160a01b03811690611078338314611d7d565b6001600160a01b0319166009557f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5034610372576020366003190112610372576004356110ca816105a5565b600254604051630f6266a760e01b81523060048201523360248201526001600160a01b039291611107919060209082908616818060448101610899565b61111a8260155492169283610d46611ff7565b611125610d5b612029565b6001600160a01b03191617601555005b503461037257602036600319011261037257600254604051630f6266a760e01b8152306004828101919091523360248301527fee634e026a43d7d6e3cfc4654a2e0b168ecb82f0ef1a28843a2d00e294288f89926020929135916111ab91849082906001600160a01b0316818060448101610990565b80601055604051908152a1005b503461037257602036600319011261037257600254604051630f6266a760e01b81523060048201523360248201526112039160209082906001600160a01b0316818060448101610899565b600435600090815260016020526040812055005b50346103725760203660031901126103725760043560008181526005602052604090205461124f906001600160a01b03161515610e51565b6000526019602052602060ff604060002054166040519015158152f35b5034610372576000366003190112610372576009546040516001600160a01b039091168152602090f35b5034610372576000806003193601126105715760405190806004549060019180831c92808216928315611350575b602092838610851461055357858852602088019490811561053257506001146112f7576104d5876104c981890382611521565b600460005294509192917f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b83861061133f57505050910190506104c9826104d538806104b9565b805485870152948201948101611323565b93607f16936112c4565b5034610372576113693661082a565b611372826132f6565b6001600160a01b038216913383146113f257816113b16113c29233600052600860205260406000209060018060a01b0316600052602052604060002090565b9060ff801983541691151516179055565b60405190151581527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b60405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606490fd5b50346103725760008060031936011261057157600254604051630f6266a760e01b815230600482015233602482015261149a9160209082906001600160a01b03168180604481015b03915afa9081156114a4575b83916108e357506108b6611f9f565b80805580600a5580f35b6114ac611f92565b61148b565b50634e487b7160e01b600052604160045260246000fd5b6040810190811067ffffffffffffffff8211176114e457604052565b6114ec6114b1565b604052565b67ffffffffffffffff81116114e457604052565b6060810190811067ffffffffffffffff8211176114e457604052565b90601f8019910116810190811067ffffffffffffffff8211176114e457604052565b60405190611550826114c8565b565b60209067ffffffffffffffff8111611570575b601f01601f19160190565b6115786114b1565b611565565b50346103725760803660031901126103725760043561159b816105a5565b6024356115a7816105a5565b6064359167ffffffffffffffff83116103725736602384011215610372578260040135916115d483611552565b926115e26040519485611521565b808452366024828701011161037257602081600092602461002198018388013785010152604435916136db565b50346103725760003660031901126103725760006020604051611631816114c8565b828152015260408051611643816114c8565b600a546001600160601b039081602081831694858152019160601c168152835192835251166020820152f35b5034610372576020366003190112610372576004356000818152600560205260409020546104d5916116b4916116af906001600160a01b03161515610e51565b612f88565b60405191829160208352602083019061042e565b6040906003190112610372576004356116e0816105a5565b90602435610464816105a5565b5034610372576020611708611701366116c8565b905061314c565b604051908152f35b5060008060031936011261057157600254604051630f6266a760e01b81523060048201523360248201526117579160209082906001600160a01b031681806044810161147f565b80f35b503461037257606036600319011261037257600435611778816105a5565b60243590611785826105a5565b600254604051630f6266a760e01b8152306004820152336024820152604480359460209390926001600160a01b03926117da9286918391829087165afa908115611903575b6000916118ec57506108b6611f9f565b6002600b54146118a7576002600b55808216936117f88515156131b5565b169081611826575050506000808061181c9481945af161181661322e565b5061325e565b6100216001600b55565b60405163a9059cbb60e01b81526001600160a01b039190911660048201526024810194909452611878939192508290829060449082906000905af191821561189a575b60009261187d575b50506131f0565b61181c565b6118939250803d1061090a576108fc8183611521565b3880611871565b6118a2611f92565b611869565b60405162461bcd60e51b815260048101849052601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b6109049150853d871161090a576108fc8183611521565b61190b611f92565b6117ca565b5034610372576000366003190112610372576020601154604051908152f35b503461037257602036600319011261037257600254604051630f6266a760e01b8152306004828101919091523360248301527fac5f6383eebdfebf97c3c319ce8a9d1c4a2f509096a73b0e7618f25d89511637926020929135916119a591849082906001600160a01b0316818060448101610990565b80600e55604051908152a1005b5034610372576020366003190112610372576004356119d0816105a5565b60018060a01b03166000526013602052604080600020546014602052816000205482519182526020820152f35b503461037257602060ff611a3c611a13366116c8565b6001600160a01b0391821660009081526008865260408082209290931681526020919091522090565b54166040519015158152f35b503461037257602036600319011261037257600435611a66816105a5565b6009546001600160a01b0390611a7f9082163314611d7d565b811615611a8f5761002190611dc8565b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b503461037257606036600319011261037257600435611b01816105a5565b611b09610b8b565b611b11610b75565b600254604051630f6266a760e01b81523060048201523360248201526020946001600160a01b0394929091611b65918790829060449082908a165afa908115611ced575b600091611cd657506108b6611f9f565b6001600160601b0393611b8d6127108686168786160196808811611cc9575b87161115613297565b8116938415611c845794611c05611c6692611bde7fb8e5032b0e405c7f726d44adcae73cc1939b1c7988441ea33922a7723d3345b59798611bcf610c36611543565b6001600160601b031682850152565b805160209091015160a01b6001600160a01b0319166001600160a01b039190911617600055565b611c2e84611c11611543565b6001600160601b0386168152928301906001600160601b03169052565b6001600160601b03815116600a549160206001600160601b0360601b91015160601b169167ffffffffffffffff60c01b161717600a55565b604080516001600160601b03928316815292909116602083015290a2005b60405162461bcd60e51b815260048101879052601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606490fd5b611cd1611f66565b611b84565b6109049150873d891161090a576108fc8183611521565b611cf5611f92565b611b55565b503461037257602036600319011261037257600254604051630f6266a760e01b8152306004828101919091523360248301527f40bd272a9b0467299ba9c1f02cd387ded0738a5cadd78fe7ea86fd705c8f509092602092913591611d7091849082906001600160a01b0316818060448101610990565b80601255604051908152a1005b15611d8457565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b600980546001600160a01b039283166001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b6000908152600560205260409020546001600160a01b03168015611e325790565b60405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608490fd5b6000818152600560205260409020546001600160a01b031615611ec1576000908152600760205260409020546001600160a01b031690565b60405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608490fd5b60405190611f28826114c8565b6000546001600160a01b038116835260a01c6020830152565b90604051611f4e816114c8565b91546001600160a01b038116835260a01c6020830152565b50634e487b7160e01b600052601160045260246000fd5b90816020910312610372575161046481610820565b506040513d6000823e3d90fd5b60405190611fac826114c8565b601082526f47756172643a204e6f2072696768747360801b6020830152565b15611fd35750565b60405162461bcd60e51b815260206004820152908190610b4890602483019061042e565b60405190612004826114c8565b60168252754d797374657279426f783a2073616d652076616c756560501b6020830152565b60405190612036826114c8565b601882527f4d797374657279426f783a207a65726f206164647265737300000000000000006020830152565b6040519061206f826114c8565b6014825273135e5cdd195c9e509bde0e881ddc9bdb99c81a5960621b6020830152565b91908260c09103126103725781516120a9816105a5565b91602081015191604082015191606081015161ffff811681036103725791608082015160ff811681036103725760a09092015161046481610820565b604051906120f2826114c8565b601b82527f4d797374657279426f783a20696e636f727265637420707269636500000000006020830152565b6040519061212b82611505565b6032825271399030b63637bbb2b2103337b9103ab9b2b960711b6040837f4d797374657279426f783a206e6f206d6f726520636f6d6d6f6e20746f6b656e60208201520152565b601654612187906001600160a01b0316610e94565b604051630ca0a39560e11b8152336004820152600060248201523460448201529060c090829060649082905afa90811561234c575b6000918283809481948294612312575b50806122ae575082346011541480156122a3575b6121ec906108b66120e5565b61224c5750505034601154146000146122115761ffff61220e92169033612769565b50565b61ffff61220e92612244600e5461223a3360018060a01b03166000526013602052604060002090565b54106108b661211e565b169033612769565b60ff8416156122745761ffff61220e9561226c34601154146108b66120e5565b16933361296d565b61ffff61220e9561228b34601054146108b66120e5565b168061229d5750600c54935b3361296d565b93612297565b5060105434146121e0565b61220e956122c961ffff926122c16120e5565b903414611fcb565b6001600160a01b0383161580612307575b6122e65716933361296d565b600e54336000908152601360205260409020612302919061223a565b61226c565b5060ff8616156122da565b945050505050612339915060c03d8111612345575b6123318183611521565b810190612092565b919490939192386121cc565b503d612327565b612354611f92565b6121bc565b906001820180921161236757565b611550611f66565b603001908160301161236757565b9190820180921161236757565b6040519061239782611505565b60228252616e7360f01b6040837f4d797374657279426f783a20736f6c64206f757420636f6d6d6f6e20746f6b6560208201520152565b604051906123db82611505565b603082526f30b63637bbb2b2103337b9103ab9b2b960811b6040837f4d797374657279426f783a206e6f206d6f7265207261726520746f6b656e732060208201520152565b6040519061242d826114c8565b602082527f4d797374657279426f783a20736f6c64206f7574207261726520746f6b656e736020830152565b9060ff1615158080612761575b612745575b6016546001600160a01b0316811561267e57600f546001600160a01b03841660009081526014602052604090206124a891905b54106108b66123ce565b6015546124fe906124c1906001600160a01b0316610e94565b60405163dc87599760e01b81526001600482015290602090829060249082906000905af1908115612671575b600091612653575b506108b6612420565b6001600160a01b0383166000908152601460205260409020612521905b54612359565b6001600160a01b0384166000908152601460205260409020555b600c5492839160019081805b6125bb575b50505061255882600c55565b612570836113b1846000526019602052604060002090565b61257a8282612c46565b6001600160a01b03167fd37874d251ba6466c98021921675ebe9b4bd154e1ac55b66de23029027b35164600080a46104646125b6600d54612359565b600d55565b90919350156125db575b6125d0600095612359565b948593919082612547565b604051631723e7b960e01b815260048101869052859060209081816024816001600160a01b0388165afa918215612646575b600092612629575b50501561262257506125c5565b928061254c565b61263f9250803d1061090a576108fc8183611521565b3880612615565b61264e611f92565b61260d565b61266b915060203d811161090a576108fc8183611521565b386124f5565b612679611f92565b6124ed565b6015546126db90612697906001600160a01b0316610e94565b6020604051809263dc87599760e01b8252816000816126be60048201906000602083019252565b03925af1908115612738575b60009161271a575b506108b661238a565b6001600160a01b03831660009081526013602052604090206126fc9061251b565b6001600160a01b03841660009081526013602052604090205561253b565b612732915060203d811161090a576108fc8183611521565b386126d2565b612740611f92565b6126ca565b61275c6127576011546012549061237d565b601155565b61246b565b506001612466565b919060ff16151590818092612962575b61294b575b6016546001600160a01b03169282156128f357600f546001600160a01b03821660009081526014602052604090206127b6919061249e565b6015546127cf906124c1906001600160a01b0316610e94565b6001600160a01b03811660009081526014602052604090206127f09061251b565b6001600160a01b0382166000908152601460205260409020555b81159182156128ee5750600c545b938492612839575b50612570836113b1846000526019602052604060002090565b60019081805b612856575b50505061285082600c55565b38612820565b9091935015612876575b61286b600095612359565b94859391908261283f565b604051631723e7b960e01b815260048101869052859060209081816024816001600160a01b0388165afa9182156128e1575b6000926128c4575b5050156128bd5750612860565b9280612844565b6128da9250803d1061090a576108fc8183611521565b38806128b0565b6128e9611f92565b6128a8565b612818565b60155461290c90612697906001600160a01b0316610e94565b6001600160a01b038116600090815260136020526040902061292d9061251b565b6001600160a01b03821660009081526013602052604090205561280a565b61295d6127576011546012549061237d565b61277e565b506001811415612779565b9395949360ff90911615159290918380612c3b575b612c24575b6016546001600160a01b03168415612bcc57600f546001600160a01b03851660009081526014602052604090206129be919061249e565b6015546129d7906124c1906001600160a01b0316610e94565b6001600160a01b03841660009081526014602052604090206129f89061251b565b6001600160a01b0385166000908152601460205260409020555b8515958615612bc75750600c545b95612b17575b859697612a43866113b18998996000526019602052604060002090565b612a4d8686612c46565b612a91575b5050506001600160a01b03167fd37874d251ba6466c98021921675ebe9b4bd154e1ac55b66de23029027b35164600080a46104646125b6600d54612359565b9193506001600160a01b0390911690813b1561037257604051630704bb0560e31b81526001600160a01b0391909116600482015260248101939093528492906000908290604490829084905af18015612b0a575b612af1575b8080612a52565b80612afe612b04926114f1565b80610400565b38612aea565b612b12611f92565b612ae5565b600180805b612b3c575b5050859697612b31879697600c55565b979650949394612a26565b96909615612b58575b612b50600091612359565b969081612b1c565b604051631723e7b960e01b81526004810182905260209081816024816001600160a01b0388165afa918215612bba575b600092612b9d575b5050612b45579580612b21565b612bb39250803d1061090a576108fc8183611521565b3880612b90565b612bc2611f92565b612b88565b612a20565b601554612be590612697906001600160a01b0316610e94565b6001600160a01b0384166000908152601360205260409020612c069061251b565b6001600160a01b038516600090815260136020526040902055612a12565b612c366127576011546012549061237d565b612987565b506001851415612982565b6001600160a01b038116908115612d3c576000838152600560205260409020546001600160a01b0316612cf7576001600160a01b0381166000908152600660205260409020612ccf9190612c9a8154612359565b9055612cb0846000526005602052604060002090565b80546001600160a01b0319166001600160a01b03909216919091179055565b60007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4565b60405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606490fd5b606460405162461bcd60e51b815260206004820152602060248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b60405190612d8d826114c8565b601782527f4d797374657279426f783a2077726f6e67206f776e65720000000000000000006020830152565b90816020910312610372575190565b60001981019190821161236757565b612de081611e11565b612de982612e61565b6001600160a01b031660008181526006602052604081208054919291600019810191908211612e54575b5582825260056020526040822080546001600160a01b03191690557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8280a4565b612e5c611f66565b612e13565b600081815260076020526040812080546001600160a01b03191690556001600160a01b03612e8e83611e11565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258280a4565b600082815260076020526040902080546001600160a01b0319166001600160a01b0383161790556001600160a01b0380612eee84611e11565b169116907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4565b60405190612f2682611505565b60368252756455786337446f7758507a746947337552584657532f60501b6040837f697066733a2f2f516d565548343476657748346946393367534d657a3371423460208201520152565b90612f846020928281519485920161040b565b0190565b600c81101561300257610464612fc291612ff4612fde612faf612fa9612f19565b93613073565b612fd86040519687956020870190612f71565b696c6567656e646172792f60b01b8152600a0190565b90612f71565b6917b6b2ba30973539b7b760b11b8152600a0190565b03601f198101835282611521565b610464602891612ff4612fde613019612fa9612f19565b604051958461303288965180926020808a01910161040b565b8501676d7973746572792f60c01b60208201520190612f71565b90815181101561305d570160200190565b634e487b7160e01b600052603260045260246000fd5b801561312e57806000908282935b613108575061308f83611552565b9261309d6040519485611521565b80845281601f196130ad83611552565b013660208701375b6130bf5750505090565b6130c890612dc8565b90600a906130f36130e36130dd84840661236f565b60ff1690565b60f81b6001600160f81b03191690565b841a6130ff848761304c565b530490816130b5565b926001600a916000198114613121575b01930480613081565b613129611f66565b613118565b5060405161313b816114c8565b60018152600360fc1b602082015290565b6001600160a01b03168061315f57504790565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156131a8575b600091613190575090565b610464915060203d8111610f8f57610f808183611521565b6131b0611f92565b613185565b156131bc57565b60405162461bcd60e51b815260206004820152600c60248201526b5a45524f204144445245535360a01b6044820152606490fd5b156131f757565b60405162461bcd60e51b815260206004820152600f60248201526e21a0a72727aa102a2920a729a322a960891b6044820152606490fd5b3d15613259573d9061323f82611552565b9161324d6040519384611521565b82523d6000602084013e565b606090565b1561326557565b60405162461bcd60e51b815260206004820152600a60248201526910d85b89dd081cd95b9d60b21b6044820152606490fd5b1561329e57565b60405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608490fd5b6daaeb6d7670e522a718067333cd4e803b61330f575050565b604051633185c44d60e21b81523060048201526001600160a01b038316602482015290602090829060449082905afa908115613397575b600091613379575b50156133575750565b604051633b79c77360e21b81526001600160a01b039091166004820152602490fd5b613391915060203d811161090a576108fc8183611521565b3861334e565b61339f611f92565b613346565b156133ab57565b60405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608490fd5b1561341d57565b60405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608490fd5b6000828152600560205260409020546001600160a01b031615613512576134a282611e11565b9160018060a01b03908183169282851684149485156134e1575b505083156134cb575b50505090565b6134d791929350611e89565b16143880806134c5565b6001600160a01b0316600090815260086020526040902091945060ff91613508919061063e565b54169238806134bc565b60405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608490fd5b1561357357565b60405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b906135ce83611e11565b6001600160a01b0383811692909182168390036136885761361d613661928216946135fa86151561356c565b61360387612e61565b6001600160a01b0316600090815260066020526040902090565b6136278154612dc8565b90556001600160a01b038116600090815260066020526040902061364b8154612359565b9055612cb0856000526005602052604060002090565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4565b60405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608490fd5b6136ff93929190336001600160a01b03821603610b4c57610b1861072c843361347c565b15610b2f57565b60809060208152603260208201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60608201520190565b90816020910312610372575161046481610360565b6001600160a01b0391821681529116602082015260408101919091526080606082018190526104649291019061042e565b92909190823b15613859576137d2926020926000604051809681958294630a85bd0160e11b9a8b8552336004860161376e565b03926001600160a01b03165af160009181613829575b5061381b576137f561322e565b805190816138165760405162461bcd60e51b815280610b4860048201613706565b602001fd5b6001600160e01b0319161490565b61384b91925060203d8111613852575b6138438183611521565b810190613759565b90386137e8565b503d613839565b5050505060019056fea2646970667358221220e6f3680bca7ab65b15f33627a4867fb714d9829eea46fe657fef840e6239891664736f6c6343000811003300000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000dcf111a56573ea8fd1bfee790b45bb433017966c0000000000000000000000000f6487e2ce1494dfbee2978384db906a403edd36000000000000000000000000df1d0cfac0b6d30af81d7ec5df61927a517a12b600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000011c37937e080000000000000000000000000000000000000000000000000001314fb370629800000000000000000000000000000000000000000000000000001bc16d674ec800000000000000000000000000000000000000000000000000000000000000000011556e64656164734d797374657279426f780000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004554e4d4200000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361015610023575b361561001957600080fd5b610021612172565b005b60003560e01c806301ffc9a71461035757806306fdde031461034e578063081812fc14610345578063095ea7b31461033c578063180b0d7e1461033357806323b872dd1461032a5780632a55205a146103215780632ddbd13a14610318578063319e90901461030f5780633607bc9e1461030657806337d2aae9146102fd57806341f43434146102f457806342842e0e146102eb5780635944c753146102e25780635c11bdd8146102d95780636352211e146102d0578063660e01e8146102c7578063690e7c09146102be57806370a08231146102b5578063715018a6146102ac57806373609adf146102a357806388be73471461029a5780638a616bc0146102915780638b58c569146102885780638da5cb5b1461027f57806395d89b4114610276578063a22cb4651461026d578063aa1b103f14610264578063b88d4fde1461025b578063b9140a5a14610252578063c87b56dd14610249578063cb3a6b2c14610240578063d0e30db014610237578063d10c45a51461022e578063d321040314610225578063e4d960d61461021c578063e895bc2f14610213578063e985e9c51461020a578063f2fde38b14610201578063f5fe3526146101f85763f72455790361000e576101f3611cfa565b61000e565b506101f3611ae3565b506101f3611a48565b506101f36119fd565b506101f36119b2565b506101f361192f565b506101f3611910565b506101f361175a565b506101f3611710565b506101f36116ed565b506101f361166f565b506101f361160f565b506101f361157d565b506101f3611437565b506101f361135a565b506101f3611296565b506101f361126c565b506101f3611217565b506101f36111b8565b506101f3611135565b506101f36110ac565b506101f361104a565b506101f3610fa3565b506101f3610e15565b506101f3610d92565b506101f3610d73565b506101f3610cd8565b506101f3610ba1565b506101f3610aba565b506101f3610a90565b506101f36109dd565b506101f361091e565b506101f361084f565b506101f3610801565b506101f3610744565b506101f36106fb565b506101f36106b1565b506101f36105b6565b506101f3610574565b506101f3610467565b506101f3610377565b6001600160e01b031981160361037257565b600080fd5b503461037257602036600319011261037257602060043561039781610360565b63ffffffff60e01b166380ac58cd60e01b81149081156103ef575b81156103c4575b506040519015158152f35b63152a902d60e11b8114915081156103de575b50386103b9565b6301ffc9a760e01b149050386103d7565b635b5e139f60e01b811491506103b2565b600091031261037257565b60005b83811061041e5750506000910152565b818101518382015260200161040e565b906020916104478151809281855285808601910161040b565b601f01601f1916010190565b90602061046492818152019061042e565b90565b5034610372576000806003193601126105715760405190806003549060019180831c92808216928315610567575b602092838610851461055357858852602088019490811561053257506001146104d9575b6104d5876104c981890382611521565b60405191829182610453565b0390f35b600360005294509192917fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b83861061052157505050910190506104c9826104d538806104b9565b805485870152948201948101610505565b60ff191685525050505090151560051b0190506104c9826104d538806104b9565b634e487b7160e01b82526022600452602482fd5b93607f1693610495565b80fd5b5034610372576020366003190112610372576020610593600435611e89565b6040516001600160a01b039091168152f35b6001600160a01b0381160361037257565b5034610372576040366003190112610372576004356105d4816105a5565b6024356105e0826132f6565b6105e981611e11565b916001600160a01b038084169082168114610662576100219361061691331490811561061b575b506133a4565b612eb5565b6001600160a01b0316600090815260086020526040902061065c91506106559033905b9060018060a01b0316600052602052604060002090565b5460ff1690565b38610610565b60405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608490fd5b50346103725760003660031901126103725760206040516127108152f35b6060906003190112610372576004356106e7816105a5565b906024356106f4816105a5565b9060443590565b50346103725761002161070d366106cf565b91336001600160a01b03821603610736575b61073161072c843361347c565b613416565b6135c4565b61073f336132f6565b61071f565b50346103725760403660031901126103725761271060243560043560005260016020526107746040600020611f41565b80516001600160a01b0316156107ea575b6107b9816001600160601b0360206104d594015116938481029481860414901517156107dd575b516001600160a01b031690565b604080516001600160a01b0390921682529390920460208301529091829190820190565b6107e5611f66565b6107ac565b506104d56107b96107f9611f1b565b915050610785565b5034610372576000366003190112610372576020600d54604051908152f35b8015150361037257565b604090600319011261037257600435610842816105a5565b9060243561046481610820565b5034610372576104d56108cd6108643661082a565b600254604051630f6266a760e01b81523060048201523360248201526108bc9160209082906001600160a01b03168180604481015b03915afa908115610911575b6000916108e3575b506108b6611f9f565b90611fcb565b600090156108dd5750600190612459565b6040519081529081906020820190565b90612459565b610904915060203d811161090a575b6108fc8183611521565b810190611f7d565b386108ad565b503d6108f2565b610919611f92565b6108a5565b503461037257602036600319011261037257600254604051630f6266a760e01b8152306004828101919091523360248301527ff692d156c741d7801e39df95e1cb9d6ac21d6711e250e05baebe4877da8dae01926020929135916109ac91849082906001600160a01b03168180604481015b03915afa9081156109d0575b6000916109b957506108b6611f9f565b80600f55604051908152a1005b6109049150843d811161090a576108fc8183611521565b6109d8611f92565b61099c565b5034610372576020366003190112610372576004356109fb816105a5565b600254604051630f6266a760e01b81523060048201523360248201526001600160a01b0380831693610a8092610a4b906020816044818a5afa908115610911576000916108e357506108b6611f9f565b16928360405191610a5b836114c8565b601183527047756172643a2073616d652076616c756560781b60208401521415611fcb565b6001600160a01b03191617600255005b50346103725760003660031901126103725760206040516daaeb6d7670e522a718067333cd4e8152f35b503461037257610b28610acc366106cf565b6001600160a01b0383163314159290919083610b67575b604051936020850185811067ffffffffffffffff821117610b5a575b60405260008552610b4c575b610b1861072c843361347c565b610b238383836135c4565b61379f565b15610b2f57005b60405162461bcd60e51b815280610b4860048201613706565b0390fd5b610b55336132f6565b610b0b565b610b626114b1565b610aff565b610b70336132f6565b610ae3565b604435906001600160601b038216820361037257565b602435906001600160601b038216820361037257565b503461037257606036600319011261037257602435610bbf816105a5565b610bc7610b75565b600254604051630f6266a760e01b81523060048201523360248201529192916001600160a01b0391610c06919060209082908516818060448101610899565b610c1d6127106001600160601b0385161115613297565b811615610c9357610c5561002192610c45610c36611543565b6001600160a01b039094168452565b6001600160601b03166020830152565b610c6b6004356000526001602052604060002090565b815160209092015160a01b6001600160a01b0319166001600160a01b03909216919091179055565b60405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606490fd5b503461037257602036600319011261037257600435610cf6816105a5565b600254604051630f6266a760e01b81523060048201523360248201526001600160a01b039291610d33919060209082908616818060448101610899565b610d508260165492169283610d46611ff7565b9184161415611fcb565b610d63610d5b612029565b831515611fcb565b6001600160a01b03191617601655005b5034610372576020366003190112610372576020610593600435611e11565b503461037257602036600319011261037257600254604051630f6266a760e01b8152306004828101919091523360248301527fd3574eb2a95f97fde67bb8e229d98c69b56840f49de9bce6ef9116bc8f9c6c9392602092913591610e0891849082906001600160a01b0316818060448101610990565b80601155604051908152a1005b5034610372576020366003190112610372576004356000818152600560205260409020546104d591610eed91610e59906001600160a01b031615155b6108b6612062565b610e7e610e6582611e11565b610e6d612d80565b906001600160a01b03163314611fcb565b6015546020908290610ea0906001600160a01b03165b6001600160a01b031690565b610eb7610655836000526019602052604060002090565b604051630366c4f160e21b8152336004820152901515602482015260448101929092529093849190829060009082906064820190565b03925af1918215610f96575b600092610f62575b5080610f27610f1d610f2c936000526019602052604060002090565b805460ff19169055565b612dd7565b60405191818392337fc4b27f09c64550fd678a5b3c3a00f454814732e346e0f1c79d0add8f980346de600080a382526020820190565b610f2c919250610f889060203d8111610f8f575b610f808183611521565b810190612db9565b9190610f01565b503d610f76565b610f9e611f92565b610ef9565b503461037257602036600319011261037257600435610fc1816105a5565b6001600160a01b03168015610ff25760005260066020526104d5604060002054604051918291829190602083019252565b60405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608490fd5b5034610372576000806003193601126105715760095481906001600160a01b03811690611078338314611d7d565b6001600160a01b0319166009557f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5034610372576020366003190112610372576004356110ca816105a5565b600254604051630f6266a760e01b81523060048201523360248201526001600160a01b039291611107919060209082908616818060448101610899565b61111a8260155492169283610d46611ff7565b611125610d5b612029565b6001600160a01b03191617601555005b503461037257602036600319011261037257600254604051630f6266a760e01b8152306004828101919091523360248301527fee634e026a43d7d6e3cfc4654a2e0b168ecb82f0ef1a28843a2d00e294288f89926020929135916111ab91849082906001600160a01b0316818060448101610990565b80601055604051908152a1005b503461037257602036600319011261037257600254604051630f6266a760e01b81523060048201523360248201526112039160209082906001600160a01b0316818060448101610899565b600435600090815260016020526040812055005b50346103725760203660031901126103725760043560008181526005602052604090205461124f906001600160a01b03161515610e51565b6000526019602052602060ff604060002054166040519015158152f35b5034610372576000366003190112610372576009546040516001600160a01b039091168152602090f35b5034610372576000806003193601126105715760405190806004549060019180831c92808216928315611350575b602092838610851461055357858852602088019490811561053257506001146112f7576104d5876104c981890382611521565b600460005294509192917f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b83861061133f57505050910190506104c9826104d538806104b9565b805485870152948201948101611323565b93607f16936112c4565b5034610372576113693661082a565b611372826132f6565b6001600160a01b038216913383146113f257816113b16113c29233600052600860205260406000209060018060a01b0316600052602052604060002090565b9060ff801983541691151516179055565b60405190151581527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b60405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606490fd5b50346103725760008060031936011261057157600254604051630f6266a760e01b815230600482015233602482015261149a9160209082906001600160a01b03168180604481015b03915afa9081156114a4575b83916108e357506108b6611f9f565b80805580600a5580f35b6114ac611f92565b61148b565b50634e487b7160e01b600052604160045260246000fd5b6040810190811067ffffffffffffffff8211176114e457604052565b6114ec6114b1565b604052565b67ffffffffffffffff81116114e457604052565b6060810190811067ffffffffffffffff8211176114e457604052565b90601f8019910116810190811067ffffffffffffffff8211176114e457604052565b60405190611550826114c8565b565b60209067ffffffffffffffff8111611570575b601f01601f19160190565b6115786114b1565b611565565b50346103725760803660031901126103725760043561159b816105a5565b6024356115a7816105a5565b6064359167ffffffffffffffff83116103725736602384011215610372578260040135916115d483611552565b926115e26040519485611521565b808452366024828701011161037257602081600092602461002198018388013785010152604435916136db565b50346103725760003660031901126103725760006020604051611631816114c8565b828152015260408051611643816114c8565b600a546001600160601b039081602081831694858152019160601c168152835192835251166020820152f35b5034610372576020366003190112610372576004356000818152600560205260409020546104d5916116b4916116af906001600160a01b03161515610e51565b612f88565b60405191829160208352602083019061042e565b6040906003190112610372576004356116e0816105a5565b90602435610464816105a5565b5034610372576020611708611701366116c8565b905061314c565b604051908152f35b5060008060031936011261057157600254604051630f6266a760e01b81523060048201523360248201526117579160209082906001600160a01b031681806044810161147f565b80f35b503461037257606036600319011261037257600435611778816105a5565b60243590611785826105a5565b600254604051630f6266a760e01b8152306004820152336024820152604480359460209390926001600160a01b03926117da9286918391829087165afa908115611903575b6000916118ec57506108b6611f9f565b6002600b54146118a7576002600b55808216936117f88515156131b5565b169081611826575050506000808061181c9481945af161181661322e565b5061325e565b6100216001600b55565b60405163a9059cbb60e01b81526001600160a01b039190911660048201526024810194909452611878939192508290829060449082906000905af191821561189a575b60009261187d575b50506131f0565b61181c565b6118939250803d1061090a576108fc8183611521565b3880611871565b6118a2611f92565b611869565b60405162461bcd60e51b815260048101849052601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b6109049150853d871161090a576108fc8183611521565b61190b611f92565b6117ca565b5034610372576000366003190112610372576020601154604051908152f35b503461037257602036600319011261037257600254604051630f6266a760e01b8152306004828101919091523360248301527fac5f6383eebdfebf97c3c319ce8a9d1c4a2f509096a73b0e7618f25d89511637926020929135916119a591849082906001600160a01b0316818060448101610990565b80600e55604051908152a1005b5034610372576020366003190112610372576004356119d0816105a5565b60018060a01b03166000526013602052604080600020546014602052816000205482519182526020820152f35b503461037257602060ff611a3c611a13366116c8565b6001600160a01b0391821660009081526008865260408082209290931681526020919091522090565b54166040519015158152f35b503461037257602036600319011261037257600435611a66816105a5565b6009546001600160a01b0390611a7f9082163314611d7d565b811615611a8f5761002190611dc8565b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b503461037257606036600319011261037257600435611b01816105a5565b611b09610b8b565b611b11610b75565b600254604051630f6266a760e01b81523060048201523360248201526020946001600160a01b0394929091611b65918790829060449082908a165afa908115611ced575b600091611cd657506108b6611f9f565b6001600160601b0393611b8d6127108686168786160196808811611cc9575b87161115613297565b8116938415611c845794611c05611c6692611bde7fb8e5032b0e405c7f726d44adcae73cc1939b1c7988441ea33922a7723d3345b59798611bcf610c36611543565b6001600160601b031682850152565b805160209091015160a01b6001600160a01b0319166001600160a01b039190911617600055565b611c2e84611c11611543565b6001600160601b0386168152928301906001600160601b03169052565b6001600160601b03815116600a549160206001600160601b0360601b91015160601b169167ffffffffffffffff60c01b161717600a55565b604080516001600160601b03928316815292909116602083015290a2005b60405162461bcd60e51b815260048101879052601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606490fd5b611cd1611f66565b611b84565b6109049150873d891161090a576108fc8183611521565b611cf5611f92565b611b55565b503461037257602036600319011261037257600254604051630f6266a760e01b8152306004828101919091523360248301527f40bd272a9b0467299ba9c1f02cd387ded0738a5cadd78fe7ea86fd705c8f509092602092913591611d7091849082906001600160a01b0316818060448101610990565b80601255604051908152a1005b15611d8457565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b600980546001600160a01b039283166001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b6000908152600560205260409020546001600160a01b03168015611e325790565b60405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608490fd5b6000818152600560205260409020546001600160a01b031615611ec1576000908152600760205260409020546001600160a01b031690565b60405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608490fd5b60405190611f28826114c8565b6000546001600160a01b038116835260a01c6020830152565b90604051611f4e816114c8565b91546001600160a01b038116835260a01c6020830152565b50634e487b7160e01b600052601160045260246000fd5b90816020910312610372575161046481610820565b506040513d6000823e3d90fd5b60405190611fac826114c8565b601082526f47756172643a204e6f2072696768747360801b6020830152565b15611fd35750565b60405162461bcd60e51b815260206004820152908190610b4890602483019061042e565b60405190612004826114c8565b60168252754d797374657279426f783a2073616d652076616c756560501b6020830152565b60405190612036826114c8565b601882527f4d797374657279426f783a207a65726f206164647265737300000000000000006020830152565b6040519061206f826114c8565b6014825273135e5cdd195c9e509bde0e881ddc9bdb99c81a5960621b6020830152565b91908260c09103126103725781516120a9816105a5565b91602081015191604082015191606081015161ffff811681036103725791608082015160ff811681036103725760a09092015161046481610820565b604051906120f2826114c8565b601b82527f4d797374657279426f783a20696e636f727265637420707269636500000000006020830152565b6040519061212b82611505565b6032825271399030b63637bbb2b2103337b9103ab9b2b960711b6040837f4d797374657279426f783a206e6f206d6f726520636f6d6d6f6e20746f6b656e60208201520152565b601654612187906001600160a01b0316610e94565b604051630ca0a39560e11b8152336004820152600060248201523460448201529060c090829060649082905afa90811561234c575b6000918283809481948294612312575b50806122ae575082346011541480156122a3575b6121ec906108b66120e5565b61224c5750505034601154146000146122115761ffff61220e92169033612769565b50565b61ffff61220e92612244600e5461223a3360018060a01b03166000526013602052604060002090565b54106108b661211e565b169033612769565b60ff8416156122745761ffff61220e9561226c34601154146108b66120e5565b16933361296d565b61ffff61220e9561228b34601054146108b66120e5565b168061229d5750600c54935b3361296d565b93612297565b5060105434146121e0565b61220e956122c961ffff926122c16120e5565b903414611fcb565b6001600160a01b0383161580612307575b6122e65716933361296d565b600e54336000908152601360205260409020612302919061223a565b61226c565b5060ff8616156122da565b945050505050612339915060c03d8111612345575b6123318183611521565b810190612092565b919490939192386121cc565b503d612327565b612354611f92565b6121bc565b906001820180921161236757565b611550611f66565b603001908160301161236757565b9190820180921161236757565b6040519061239782611505565b60228252616e7360f01b6040837f4d797374657279426f783a20736f6c64206f757420636f6d6d6f6e20746f6b6560208201520152565b604051906123db82611505565b603082526f30b63637bbb2b2103337b9103ab9b2b960811b6040837f4d797374657279426f783a206e6f206d6f7265207261726520746f6b656e732060208201520152565b6040519061242d826114c8565b602082527f4d797374657279426f783a20736f6c64206f7574207261726520746f6b656e736020830152565b9060ff1615158080612761575b612745575b6016546001600160a01b0316811561267e57600f546001600160a01b03841660009081526014602052604090206124a891905b54106108b66123ce565b6015546124fe906124c1906001600160a01b0316610e94565b60405163dc87599760e01b81526001600482015290602090829060249082906000905af1908115612671575b600091612653575b506108b6612420565b6001600160a01b0383166000908152601460205260409020612521905b54612359565b6001600160a01b0384166000908152601460205260409020555b600c5492839160019081805b6125bb575b50505061255882600c55565b612570836113b1846000526019602052604060002090565b61257a8282612c46565b6001600160a01b03167fd37874d251ba6466c98021921675ebe9b4bd154e1ac55b66de23029027b35164600080a46104646125b6600d54612359565b600d55565b90919350156125db575b6125d0600095612359565b948593919082612547565b604051631723e7b960e01b815260048101869052859060209081816024816001600160a01b0388165afa918215612646575b600092612629575b50501561262257506125c5565b928061254c565b61263f9250803d1061090a576108fc8183611521565b3880612615565b61264e611f92565b61260d565b61266b915060203d811161090a576108fc8183611521565b386124f5565b612679611f92565b6124ed565b6015546126db90612697906001600160a01b0316610e94565b6020604051809263dc87599760e01b8252816000816126be60048201906000602083019252565b03925af1908115612738575b60009161271a575b506108b661238a565b6001600160a01b03831660009081526013602052604090206126fc9061251b565b6001600160a01b03841660009081526013602052604090205561253b565b612732915060203d811161090a576108fc8183611521565b386126d2565b612740611f92565b6126ca565b61275c6127576011546012549061237d565b601155565b61246b565b506001612466565b919060ff16151590818092612962575b61294b575b6016546001600160a01b03169282156128f357600f546001600160a01b03821660009081526014602052604090206127b6919061249e565b6015546127cf906124c1906001600160a01b0316610e94565b6001600160a01b03811660009081526014602052604090206127f09061251b565b6001600160a01b0382166000908152601460205260409020555b81159182156128ee5750600c545b938492612839575b50612570836113b1846000526019602052604060002090565b60019081805b612856575b50505061285082600c55565b38612820565b9091935015612876575b61286b600095612359565b94859391908261283f565b604051631723e7b960e01b815260048101869052859060209081816024816001600160a01b0388165afa9182156128e1575b6000926128c4575b5050156128bd5750612860565b9280612844565b6128da9250803d1061090a576108fc8183611521565b38806128b0565b6128e9611f92565b6128a8565b612818565b60155461290c90612697906001600160a01b0316610e94565b6001600160a01b038116600090815260136020526040902061292d9061251b565b6001600160a01b03821660009081526013602052604090205561280a565b61295d6127576011546012549061237d565b61277e565b506001811415612779565b9395949360ff90911615159290918380612c3b575b612c24575b6016546001600160a01b03168415612bcc57600f546001600160a01b03851660009081526014602052604090206129be919061249e565b6015546129d7906124c1906001600160a01b0316610e94565b6001600160a01b03841660009081526014602052604090206129f89061251b565b6001600160a01b0385166000908152601460205260409020555b8515958615612bc75750600c545b95612b17575b859697612a43866113b18998996000526019602052604060002090565b612a4d8686612c46565b612a91575b5050506001600160a01b03167fd37874d251ba6466c98021921675ebe9b4bd154e1ac55b66de23029027b35164600080a46104646125b6600d54612359565b9193506001600160a01b0390911690813b1561037257604051630704bb0560e31b81526001600160a01b0391909116600482015260248101939093528492906000908290604490829084905af18015612b0a575b612af1575b8080612a52565b80612afe612b04926114f1565b80610400565b38612aea565b612b12611f92565b612ae5565b600180805b612b3c575b5050859697612b31879697600c55565b979650949394612a26565b96909615612b58575b612b50600091612359565b969081612b1c565b604051631723e7b960e01b81526004810182905260209081816024816001600160a01b0388165afa918215612bba575b600092612b9d575b5050612b45579580612b21565b612bb39250803d1061090a576108fc8183611521565b3880612b90565b612bc2611f92565b612b88565b612a20565b601554612be590612697906001600160a01b0316610e94565b6001600160a01b0384166000908152601360205260409020612c069061251b565b6001600160a01b038516600090815260136020526040902055612a12565b612c366127576011546012549061237d565b612987565b506001851415612982565b6001600160a01b038116908115612d3c576000838152600560205260409020546001600160a01b0316612cf7576001600160a01b0381166000908152600660205260409020612ccf9190612c9a8154612359565b9055612cb0846000526005602052604060002090565b80546001600160a01b0319166001600160a01b03909216919091179055565b60007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4565b60405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606490fd5b606460405162461bcd60e51b815260206004820152602060248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b60405190612d8d826114c8565b601782527f4d797374657279426f783a2077726f6e67206f776e65720000000000000000006020830152565b90816020910312610372575190565b60001981019190821161236757565b612de081611e11565b612de982612e61565b6001600160a01b031660008181526006602052604081208054919291600019810191908211612e54575b5582825260056020526040822080546001600160a01b03191690557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8280a4565b612e5c611f66565b612e13565b600081815260076020526040812080546001600160a01b03191690556001600160a01b03612e8e83611e11565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258280a4565b600082815260076020526040902080546001600160a01b0319166001600160a01b0383161790556001600160a01b0380612eee84611e11565b169116907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4565b60405190612f2682611505565b60368252756455786337446f7758507a746947337552584657532f60501b6040837f697066733a2f2f516d565548343476657748346946393367534d657a3371423460208201520152565b90612f846020928281519485920161040b565b0190565b600c81101561300257610464612fc291612ff4612fde612faf612fa9612f19565b93613073565b612fd86040519687956020870190612f71565b696c6567656e646172792f60b01b8152600a0190565b90612f71565b6917b6b2ba30973539b7b760b11b8152600a0190565b03601f198101835282611521565b610464602891612ff4612fde613019612fa9612f19565b604051958461303288965180926020808a01910161040b565b8501676d7973746572792f60c01b60208201520190612f71565b90815181101561305d570160200190565b634e487b7160e01b600052603260045260246000fd5b801561312e57806000908282935b613108575061308f83611552565b9261309d6040519485611521565b80845281601f196130ad83611552565b013660208701375b6130bf5750505090565b6130c890612dc8565b90600a906130f36130e36130dd84840661236f565b60ff1690565b60f81b6001600160f81b03191690565b841a6130ff848761304c565b530490816130b5565b926001600a916000198114613121575b01930480613081565b613129611f66565b613118565b5060405161313b816114c8565b60018152600360fc1b602082015290565b6001600160a01b03168061315f57504790565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156131a8575b600091613190575090565b610464915060203d8111610f8f57610f808183611521565b6131b0611f92565b613185565b156131bc57565b60405162461bcd60e51b815260206004820152600c60248201526b5a45524f204144445245535360a01b6044820152606490fd5b156131f757565b60405162461bcd60e51b815260206004820152600f60248201526e21a0a72727aa102a2920a729a322a960891b6044820152606490fd5b3d15613259573d9061323f82611552565b9161324d6040519384611521565b82523d6000602084013e565b606090565b1561326557565b60405162461bcd60e51b815260206004820152600a60248201526910d85b89dd081cd95b9d60b21b6044820152606490fd5b1561329e57565b60405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608490fd5b6daaeb6d7670e522a718067333cd4e803b61330f575050565b604051633185c44d60e21b81523060048201526001600160a01b038316602482015290602090829060449082905afa908115613397575b600091613379575b50156133575750565b604051633b79c77360e21b81526001600160a01b039091166004820152602490fd5b613391915060203d811161090a576108fc8183611521565b3861334e565b61339f611f92565b613346565b156133ab57565b60405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608490fd5b1561341d57565b60405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608490fd5b6000828152600560205260409020546001600160a01b031615613512576134a282611e11565b9160018060a01b03908183169282851684149485156134e1575b505083156134cb575b50505090565b6134d791929350611e89565b16143880806134c5565b6001600160a01b0316600090815260086020526040902091945060ff91613508919061063e565b54169238806134bc565b60405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608490fd5b1561357357565b60405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b906135ce83611e11565b6001600160a01b0383811692909182168390036136885761361d613661928216946135fa86151561356c565b61360387612e61565b6001600160a01b0316600090815260066020526040902090565b6136278154612dc8565b90556001600160a01b038116600090815260066020526040902061364b8154612359565b9055612cb0856000526005602052604060002090565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4565b60405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608490fd5b6136ff93929190336001600160a01b03821603610b4c57610b1861072c843361347c565b15610b2f57565b60809060208152603260208201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60608201520190565b90816020910312610372575161046481610360565b6001600160a01b0391821681529116602082015260408101919091526080606082018190526104649291019061042e565b92909190823b15613859576137d2926020926000604051809681958294630a85bd0160e11b9a8b8552336004860161376e565b03926001600160a01b03165af160009181613829575b5061381b576137f561322e565b805190816138165760405162461bcd60e51b815280610b4860048201613706565b602001fd5b6001600160e01b0319161490565b61384b91925060203d8111613852575b6138438183611521565b810190613759565b90386137e8565b503d613839565b5050505060019056fea2646970667358221220e6f3680bca7ab65b15f33627a4867fb714d9829eea46fe657fef840e6239891664736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000dcf111a56573ea8fd1bfee790b45bb433017966c0000000000000000000000000f6487e2ce1494dfbee2978384db906a403edd36000000000000000000000000df1d0cfac0b6d30af81d7ec5df61927a517a12b600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000011c37937e080000000000000000000000000000000000000000000000000001314fb370629800000000000000000000000000000000000000000000000000001bc16d674ec800000000000000000000000000000000000000000000000000000000000000000011556e64656164734d797374657279426f780000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004554e4d4200000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): UndeadsMysteryBox
Arg [1] : symbol_ (string): UNMB
Arg [2] : rights_ (address): 0xDcF111A56573eA8fd1bfEE790B45bb433017966C
Arg [3] : potion_ (address): 0x0F6487E2cE1494dFbeE2978384db906a403EDd36
Arg [4] : benefits_ (address): 0xdf1d0cfac0B6D30aF81D7ec5DF61927A517A12B6
Arg [5] : commonLimit_ (uint256): 1
Arg [6] : rareLimit_ (uint256): 1
Arg [7] : commonPrice_ (uint256): 80000000000000000
Arg [8] : rarePrice_ (uint256): 22000000000000000000
Arg [9] : rarePriceIncrease_ (uint256): 2000000000000000000

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 000000000000000000000000dcf111a56573ea8fd1bfee790b45bb433017966c
Arg [3] : 0000000000000000000000000f6487e2ce1494dfbee2978384db906a403edd36
Arg [4] : 000000000000000000000000df1d0cfac0b6d30af81d7ec5df61927a517a12b6
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [7] : 000000000000000000000000000000000000000000000000011c37937e080000
Arg [8] : 000000000000000000000000000000000000000000000001314fb37062980000
Arg [9] : 0000000000000000000000000000000000000000000000001bc16d674ec80000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [11] : 556e64656164734d797374657279426f78000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [13] : 554e4d4200000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

538:11590:20:-:0;;;;;;;;;-1:-1:-1;538:11590:20;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;-1:-1:-1;;;;;;538:11590:20;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;;:::i;:::-;;;;;1722:25:4;;;1707:40;;:104;;;;;538:11590:20;1707:156:4;;;;538:11590:20;;;;;;;;;;1707:156:4;-1:-1:-1;;;1533:41:8;;;-1:-1:-1;1533:81:8;;;;1707:156:4;;;;;1533:81:8;-1:-1:-1;;;937:40:12;;-1:-1:-1;1533:81:8;;;1707:104:4;-1:-1:-1;;;1763:48:4;;;-1:-1:-1;1707:104:4;;538:11590:20;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;538:11590:20;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;538:11590:20;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;2574:5:4;538:11590:20;;;-1:-1:-1;538:11590:20;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;-1:-1:-1;538:11590:20;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;538:11590:20;;;-1:-1:-1;;;;538:11590:20;;;;;;;-1:-1:-1;538:11590:20;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;538:11590:20;;;;;;;-1:-1:-1;;;;;538:11590:20;;;;;:::o;:::-;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;:::i;:::-;;;2923:8:16;;;:::i;:::-;3634:23:4;;;:::i;:::-;538:11590:20;-1:-1:-1;;;;;538:11590:20;;;;;;3675:11:4;;538:11590:20;;3924:7:4;719:10:10;3735:165:4;719:10:10;;3756:21:4;:62;;;;;538:11590:20;3735:165:4;;:::i;:::-;3924:7;:::i;3756:62::-;-1:-1:-1;;;;;538:11590:20;;;;;4623:18:4;538:11590:20;;;;;4623:35:4;;-1:-1:-1;4623:35:4;;719:10:10;;4623:25:4;538:11590:20;;;;;;;;;;;;;;;;4623:35:4;538:11590:20;;;;;4623:35:4;3756:62;;;538:11590:20;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;2461:5:8;538:11590:20;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;5042:7:4;538:11590:20;;;:::i;:::-;2646:10:16;;-1:-1:-1;;;;;538:11590:20;;2638:18:16;2634:81;;538:11590:20;4908:103:4;4916:41;2646:10:16;;4916:41:4;:::i;:::-;4908:103;:::i;:::-;5042:7;:::i;2634:81:16:-;2693:10;2646;2693;:::i;:::-;2634:81;;538:11590:20;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;-1:-1:-1;538:11590:20;1825:17:8;538:11590:20;;;;-1:-1:-1;538:11590:20;;:::i;:::-;;;-1:-1:-1;;;;;538:11590:20;1867:30:8;1863:90;;538:11590:20;;2001:23:8;-1:-1:-1;;;;;538:11590:20;;2001:23:8;;538:11590:20;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;538:11590:20;;;;;;;-1:-1:-1;;;;;538:11590:20;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;1863:90:8;538:11590:20;;;;;:::i;:::-;1863:90:8;;;;;538:11590:20;;;;;;;-1:-1:-1;;538:11590:20;;;;;4028:6;538:11590;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;6909:55;538:11590;;;:::i;:::-;621:15:27;538:11590:20;;;-1:-1:-1;;;346:47:26;;375:4;538:11590:20;346:47:26;;538:11590:20;382:10:26;538:11590:20;;;;338:67:26;;346:47;;538:11590:20;;-1:-1:-1;;;;;538:11590:20;;;;;;346:47:26;;;;;;;;;;538:11590:20;-1:-1:-1;346:47:26;;;538:11590:20;;;;:::i;:::-;338:67:26;;:::i;:::-;-1:-1:-1;;6797:13:20;;;;538:11590;6797:13;6909:55;:::i;:::-;538:11590;;;;;;;;;;;;;6797:13;;6909:55;:::i;346:47:26:-;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;538:11590:20;;;;;;;-1:-1:-1;;538:11590:20;;;;621:15:27;538:11590:20;;;-1:-1:-1;;;346:47:26;;375:4;538:11590:20;346:47:26;;;538:11590:20;;;;382:10:26;538:11590:20;;;;5390:24;;538:11590;;;;;338:67:26;;538:11590:20;;;;-1:-1:-1;;;;;538:11590:20;;;;;;346:47:26;;;;;;;;;;538:11590:20;-1:-1:-1;346:47:26;;;538:11590:20;;;:::i;338:67:26:-;538:11590:20;5356:19;538:11590;;;;;;5390:24;538:11590;346:47:26;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;538:11590:20;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;:::i;:::-;621:15:27;538:11590:20;;;-1:-1:-1;;;346:47:26;;375:4;538:11590:20;346:47:26;;538:11590:20;382:10:26;538:11590:20;;;;-1:-1:-1;;;;;538:11590:20;;;;732:56:27;;338:67:26;;538:11590:20;;;;;346:47:26;;;;;;;-1:-1:-1;346:47:26;;;538:11590:20;;;:::i;338:67:26:-;538:11590:20;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;538:11590:20;;;;740:35:27;;732:56;:::i;:::-;-1:-1:-1;;;;;;538:11590:20;;621:15:27;538:11590:20;;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;120:42:17;538:11590:20;;;;;;;;6747:48:4;538:11590:20;;;:::i;:::-;-1:-1:-1;;;;;538:11590:20;;2646:10:16;2638:18;;;2646:10;;;2638:18;2634:81;;538:11590:20;;;;;;;;;;;;;;;;;;;;;;2634:81:16;;538:11590:20;5529:103:4;5537:41;2646:10:16;;5537:41:4;:::i;5529:103::-;6721:7;;;;;:::i;:::-;6747:48;:::i;:::-;538:11590:20;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;;:::i;:::-;;;;2634:81:16;2693:10;2646;2693;:::i;:::-;2634:81;;538:11590:20;;;:::i;:::-;;;2634:81:16;2693:10;2646;2693;:::i;:::-;2634:81;;538:11590:20;;;;-1:-1:-1;;;;;538:11590:20;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;538:11590:20;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;:::i;:::-;;;:::i;:::-;621:15:27;538:11590:20;;;-1:-1:-1;;;346:47:26;;375:4;538:11590:20;346:47:26;;538:11590:20;382:10:26;538:11590:20;;;;;;;-1:-1:-1;;;;;538:11590:20;338:67:26;;538:11590:20;;;;;;;;;;;;346:47:26;538:11590:20;338:67:26;3677:88:8;2461:5;-1:-1:-1;;;;;538:11590:20;;3685:33:8;;3677:88;:::i;:::-;538:11590:20;;3783:22:8;538:11590:20;;3877:35:8;538:11590:20;;3877:35:8;538:11590:20;;:::i;:::-;-1:-1:-1;;;;;538:11590:20;;;;;;3877:35:8;-1:-1:-1;;;;;538:11590:20;;3877:35:8;;538:11590:20;;3877:35:8;3848:26;538:11590:20;;;;3848:17:8;538:11590:20;;;;;;;3848:26:8;538:11590:20;;;;;;;;;-1:-1:-1;;;;;;538:11590:20;-1:-1:-1;;;;;538:11590:20;;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;:::i;:::-;621:15:27;538:11590:20;;;-1:-1:-1;;;346:47:26;;375:4;538:11590:20;346:47:26;;538:11590:20;382:10:26;538:11590:20;;;;-1:-1:-1;;;;;538:11590:20;;338:67:26;;538:11590:20;;;;;;;;;;;;346:47:26;538:11590:20;338:67:26;5016:49:20;538:11590;5032:9;538:11590;;;;;;;:::i;:::-;;;;5024:28;;5016:49;:::i;:::-;5075:43;2005:24;;:::i;:::-;5083:20;;;5075:43;:::i;:::-;-1:-1:-1;;;;;;538:11590:20;;5032:9;538:11590;;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;538:11590:20;;;;621:15:27;538:11590:20;;;-1:-1:-1;;;346:47:26;;375:4;538:11590:20;346:47:26;;;538:11590:20;;;;382:10:26;538:11590:20;;;;5649:24;;538:11590;;;;;338:67:26;;538:11590:20;;;;-1:-1:-1;;;;;538:11590:20;;;;;;346:47:26;538:11590:20;338:67:26;538:11590:20;5615:19;538:11590;;;;;;5649:24;538:11590;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;-1:-1:-1;538:11590:20;;;7248:7:4;538:11590:20;;;;;;;;10869:43;;2292:31;;-1:-1:-1;;;;;538:11590:20;7248:30:4;;2300:12:20;538:11590;;:::i;2292:31::-;10795:48;10803:12;;;:::i;:::-;538:11590;;:::i;:::-;10819:10;-1:-1:-1;;;;;538:11590:20;10819:10;10803:26;10795:48;:::i;:::-;10869:7;538:11590;;;;;10869:14;;-1:-1:-1;;;;;538:11590:20;;-1:-1:-1;;;;;538:11590:20;;;10869:14;10896:10;;;538:11590;;10896:5;538:11590;;;;;;;10896:10;538:11590;;-1:-1:-1;;;10869:43:20;;10819:10;538:11590;10869:43;;538:11590;;;;1874:25;;;538:11590;1874:25;;;538:11590;;;;;;;;-1:-1:-1;538:11590:20;;-1:-1:-1;;538:11590:20;;1874:25;;;;;10869:43;;;;;;;;;;538:11590;-1:-1:-1;10869:43:20;;;538:11590;10929:10;;1874:25;10929:10;10955:3;10929:10;538:11590;;10896:5;538:11590;;;;;;;10929:10;1874:25;;-1:-1:-1;;1874:25:20;;;;;10955:3;:::i;:::-;538:11590;;10819:10;;;;;10974:25;-1:-1:-1;10974:25:20;;538:11590;;;;;;;10869:43;10955:3;10869:43;;;;;538:11590;10869:43;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;538:11590;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;538:11590:20;2028:19:4;;538:11590:20;;-1:-1:-1;538:11590:20;2111:9:4;538:11590:20;;;;-1:-1:-1;538:11590:20;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;;;;;1108:6:0;538:11590:20;;;-1:-1:-1;;;;;538:11590:20;;;1240:68:0;719:10:10;1248:23:0;;1240:68;:::i;:::-;-1:-1:-1;;;;;;538:11590:20;1108:6:0;538:11590:20;2410:40:0;;;;538:11590:20;;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;:::i;:::-;621:15:27;538:11590:20;;;-1:-1:-1;;;346:47:26;;375:4;538:11590:20;346:47:26;;538:11590:20;382:10:26;538:11590:20;;;;-1:-1:-1;;;;;538:11590:20;;338:67:26;;538:11590:20;;;;;;;;;;;;346:47:26;538:11590:20;338:67:26;4712:47:20;538:11590;4728:7;538:11590;;;;;;;:::i;4712:47::-;4769:43;2005:24;;:::i;4769:43::-;-1:-1:-1;;;;;;538:11590:20;;4728:7;538:11590;;;;;;;;;-1:-1:-1;;538:11590:20;;;;621:15:27;538:11590:20;;;-1:-1:-1;;;346:47:26;;375:4;538:11590:20;346:47:26;;;538:11590:20;;;;382:10:26;538:11590:20;;;;4522:26;;538:11590;;;;;338:67:26;;538:11590:20;;;;-1:-1:-1;;;;;538:11590:20;;;;;;346:47:26;538:11590:20;338:67:26;538:11590:20;4486:21;538:11590;;;;;;4522:26;538:11590;;;;;;;;-1:-1:-1;;538:11590:20;;;;621:15:27;538:11590:20;;;-1:-1:-1;;;346:47:26;;375:4;538:11590:20;346:47:26;;538:11590:20;382:10:26;538:11590:20;;;;338:67:26;;538:11590:20;;;;-1:-1:-1;;;;;538:11590:20;;;;;;346:47:26;538:11590:20;338:67:26;538:11590:20;;-1:-1:-1;538:11590:20;;;;;;;;;;;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;-1:-1:-1;538:11590:20;;;7248:7:4;538:11590:20;;;;;;2292:31;;-1:-1:-1;;;;;538:11590:20;7248:30:4;;2300:12:20;7160:125:4;2292:31:20;-1:-1:-1;538:11590:20;7251:5;538:11590;;;;;-1:-1:-1;538:11590:20;;;;;;;;;;;;;;;;;;-1:-1:-1;;538:11590:20;;;;1108:6:0;538:11590:20;;;-1:-1:-1;;;;;538:11590:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;538:11590:20;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;-1:-1:-1;538:11590:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2923:8:16;;;:::i;:::-;-1:-1:-1;;;;;538:11590:20;;;719:10:10;11616:17:4;;538:11590:20;;719:10:10;11673:35:4;:46;719:10:10;;-1:-1:-1;538:11590:20;11673:18:4;538:11590:20;;;-1:-1:-1;538:11590:20;;;;;;;;;;;;;;;;;11673:35:4;1704:34:20;538:11590;;;1704:34;;;538:11590;;;1704:34;;;;;11673:46:4;538:11590:20;;;;;;;11734:41:4;538:11590:20;719:10:10;11734:41:4;;538:11590:20;;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;621:15:27;538:11590:20;;;-1:-1:-1;;;346:47:26;;375:4;538:11590:20;346:47:26;;538:11590:20;382:10:26;538:11590:20;;;;338:67:26;;346:47;;538:11590:20;;-1:-1:-1;;;;;538:11590:20;;;;;;346:47:26;;;;;;;;;;538:11590:20;346:47:26;;;;538:11590:20;;;:::i;338:67:26:-;538:11590:20;;;;2522:36:25;538:11590:20;;;346:47:26;;;:::i;:::-;;;538:11590:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;:::i;:::-;;;:::o;:::-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;:::o;:::-;;;;;;;;;;;-1:-1:-1;;538:11590:20;;;:::o;:::-;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;538:11590:20;;2066:232:28;538:11590:20;;;;;;;;;;;;2066:232:28;;:::i;538:11590:20:-;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;2320:29:25;538:11590:20;-1:-1:-1;;;;;538:11590:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;-1:-1:-1;538:11590:20;;;7248:7:4;538:11590:20;;;;;;;;2333:1;;2292:31;;-1:-1:-1;;;;;538:11590:20;7248:30:4;;2300:12:20;7160:125:4;2292:31:20;2333:1;:::i;:::-;538:11590;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;;;;;;;;621:15:27;538:11590:20;;;-1:-1:-1;;;346:47:26;;375:4;538:11590:20;346:47:26;;538:11590:20;382:10:26;538:11590:20;;;;338:67:26;;346:47;;538:11590:20;;-1:-1:-1;;;;;538:11590:20;;;;;;346:47:26;538:11590:20;338:67:26;538:11590:20;;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;621:15:27;538:11590:20;;;-1:-1:-1;;;346:47:26;;375:4;538:11590:20;346:47:26;;538:11590:20;382:10:26;538:11590:20;;;;;;;;;;;;-1:-1:-1;;;;;538:11590:20;338:67:26;;538:11590:20;;;;;;;;346:47:26;;;;;;;538:11590:20;-1:-1:-1;346:47:26;;;538:11590:20;;;:::i;338:67:26:-;621:15:27;2325:7:2;538:11590:20;2325:19:2;1744:1;;621:15:27;2325:7:2;538:11590:20;;;;1168:21:24;1160:46;1168:21;;;1160:46;:::i;:::-;538:11590:20;;1220:22:24;538:11590:20;;1274:32:24;;;-1:-1:-1;1274:32:24;;1320:27;1274:32;;;;;;;:::i;:::-;;1320:27;:::i;:::-;2628:22:2;1701:1;2325:7;538:11590:20;;1216:288:24;538:11590:20;;-1:-1:-1;;;1403:41:24;;-1:-1:-1;;;;;538:11590:20;;;;;1403:41:24;;538:11590:20;;;;;;;;1378:115:24;;538:11590:20;;-1:-1:-1;538:11590:20;;;;;;;;-1:-1:-1;;1403:41:24;;;;;;;1216:288;-1:-1:-1;1403:41:24;;;1216:288;1378:115;;;:::i;:::-;1216:288;;1403:41;;;;;;-1:-1:-1;1403:41:24;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;1744:1:2;538:11590:20;;-1:-1:-1;;;1744:1:2;;538:11590:20;1744:1:2;;;;;;538:11590:20;1744:1:2;;538:11590:20;1744:1:2;538:11590:20;;;1744:1:2;;;;346:47:26;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;538:11590:20;;;;;;;-1:-1:-1;;538:11590:20;;;;;6110:10;538:11590;;;;;;;;;;;;;;-1:-1:-1;;538:11590:20;;;;621:15:27;538:11590:20;;;-1:-1:-1;;;346:47:26;;375:4;538:11590:20;346:47:26;;;538:11590:20;;;;382:10:26;538:11590:20;;;;4273:26;;538:11590;;;;;338:67:26;;538:11590:20;;;;-1:-1:-1;;;;;538:11590:20;;;;;;346:47:26;538:11590:20;338:67:26;538:11590:20;4237:21;538:11590;;;;;;4273:26;538:11590;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;538:11590:20;6424:13;538:11590;;;;-1:-1:-1;538:11590:20;;6449:11;538:11590;;;-1:-1:-1;538:11590:20;;;;;;;;;;;;;;;;;;;4623:35:4;538:11590:20;;;:::i;:::-;-1:-1:-1;;;;;538:11590:20;;;-1:-1:-1;538:11590:20;;;4623:18:4;538:11590:20;;;;;;;;;;;;-1:-1:-1;538:11590:20;;;;;;;4623:35:4;538:11590:20;;;;;;;;;;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;:::i;:::-;1108:6:0;538:11590:20;-1:-1:-1;;;;;538:11590:20;1240:68:0;;538:11590:20;;719:10:10;1248:23:0;1240:68;:::i;:::-;538:11590:20;;2006:22:0;538:11590:20;;2100:8:0;;;:::i;538:11590:20:-;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;;;;:::i;:::-;;;:::i;:::-;;;:::i;:::-;621:15:27;538:11590:20;;;-1:-1:-1;;;346:47:26;;375:4;538:11590:20;346:47:26;;538:11590:20;382:10:26;538:11590:20;;;;;;-1:-1:-1;;;;;538:11590:20;;;;338:67:26;;538:11590:20;;;;;;;;;;346:47:26;;;;;;;538:11590:20;-1:-1:-1;346:47:26;;;538:11590:20;;;:::i;338:67:26:-;-1:-1:-1;;;;;538:11590:20;2828:88:8;2461:5;538:11590:20;;;;;;;;;;;;;;;;2836:33:8;;2828:88;:::i;:::-;538:11590:20;;2934:22:8;;;538:11590:20;;;;;;3019:35:8;1964:119:25;538:11590:20;;3019:35:8;538:11590:20;;:::i;3019:35:8:-;-1:-1:-1;;;;;538:11590:20;3019:35:8;;;538:11590:20;;3019:35:8;538:11590:20;;;;;;;;;-1:-1:-1;;;;;;538:11590:20;-1:-1:-1;;;;;538:11590:20;;;;;-1:-1:-1;538:11590:20;;;1841:108:25;538:11590:20;;;:::i;:::-;-1:-1:-1;;;;;538:11590:20;;;;1841:108:25;;;538:11590:20;-1:-1:-1;;;;;538:11590:20;;;;1841:108:25;-1:-1:-1;;;;;538:11590:20;;;1809:140:25;538:11590:20;;;-1:-1:-1;;;;;538:11590:20;;;;;;;;;;;;;;;1809:140:25;538:11590:20;;;;;;-1:-1:-1;;;;;538:11590:20;;;;;;;;;;;;;;1964:119:25;538:11590:20;;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;346:47:26;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;538:11590:20;;;;;;;-1:-1:-1;;538:11590:20;;;;621:15:27;538:11590:20;;;-1:-1:-1;;;346:47:26;;375:4;538:11590:20;346:47:26;;;538:11590:20;;;;382:10:26;538:11590:20;;;;5892:44;;538:11590;;;;;338:67:26;;538:11590:20;;;;-1:-1:-1;;;;;538:11590:20;;;;;;346:47:26;538:11590:20;338:67:26;538:11590:20;5850:27;538:11590;;;;;;5892:44;538:11590;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;2270:187:0;2362:6;538:11590:20;;-1:-1:-1;;;;;538:11590:20;;;-1:-1:-1;;;;;;538:11590:20;;;;;;;;;;2410:40:0;-1:-1:-1;;2410:40:0;2270:187::o;2191:235:4:-;-1:-1:-1;538:11590:20;;;2298:7:4;538:11590:20;;;;;;-1:-1:-1;;;;;538:11590:20;2332:19:4;;538:11590:20;;2191:235:4;:::o;538:11590:20:-;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;4000:217:4;-1:-1:-1;538:11590:20;;;7248:7:4;538:11590:20;;;;;;-1:-1:-1;;;;;538:11590:20;7248:30:4;538:11590:20;;-1:-1:-1;538:11590:20;;;4186:15:4;538:11590:20;;;;;;-1:-1:-1;;;;;538:11590:20;;4000:217:4:o;538:11590:20:-;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;538:11590:20;-1:-1:-1;;;;;538:11590:20;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;538:11590:20;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;538:11590:20;;;;:::o;219:18:26:-;;;;;:::o;:::-;538:11590:20;;-1:-1:-1;;;219:18:26;;538:11590:20;219:18:26;;;538:11590:20;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;-1:-1:-1;;;538:11590:20;;;;:::o;2005:24::-;538:11590;;;;;;:::i;:::-;2005:24;538:11590;;2005:24;;;;;:::o;538:11590::-;;;;;;;:::i;:::-;;;;-1:-1:-1;;;538:11590:20;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;:::o;1356:29::-;538:11590;;;;;;:::i;:::-;1356:29;538:11590;;-1:-1:-1;;;538:11590:20;1356:29;;;;;;;;:::o;7580:1735::-;7794:9;538:11590;7794:13;;-1:-1:-1;;;;;538:11590:20;;;7794:13;538:11590;;-1:-1:-1;;;7794:39:20;;7808:10;7794:39;;;538:11590;-1:-1:-1;538:11590:20;;;;7823:9;538:11590;;;;;7794:39;;538:11590;;;;;;7794:39;;;;;;;7580:1735;7820:1;;;;;;;;;7794:39;;;7580:1735;7891:9;;7887:383;;7823:9;;;8300:10;538:11590;8300:23;:52;;;;7580:1735;8279:112;538:11590;;;:::i;8279:112::-;8402:572;;7823:9;;;;8300:10;538:11590;9035:23;9031:278;7823:9;;;538:11590;9031:278;538:11590;;7808:10;;9031:278;:::i;:::-;;7580:1735::o;9031:278::-;538:11590;1356:29;538:11590;9162:65;9170:12;538:11590;9185:25;7808:10;538:11590;;;;;;;;8055:13;538:11590;;;;;;;9185:25;538:11590;-1:-1:-1;1356:29:20;;:::i;9162:65::-;538:11590;7808:10;;1356:29;:::i;8402:572::-;538:11590;;;8436:9;538:11590;;;8532:62;7823:9;8465:49;7823:9;8300:10;538:11590;8473:23;538:11590;;:::i;8465:49::-;538:11590;7808:10;;8532:62;:::i;8432:512::-;538:11590;8702:227;7823:9;8633:51;7823:9;8641:12;538:11590;8641:25;538:11590;;:::i;8633:51::-;538:11590;8877:12;538:11590;;;8892:9;538:11590;8877:34;;7808:10;8702:227;:::i;8877:34::-;;;;8300:52;-1:-1:-1;8327:12:20;538:11590;7823:9;8327:25;8300:52;;7887:383;8177:62;538:11590;7916:44;538:11590;;;;:::i;:::-;7823:9;;7924:18;7916:44;:::i;:::-;-1:-1:-1;;;;;538:11590:20;;7978:20;;:34;;7887:383;7974:138;;538:11590;7808:10;;8177:62;:::i;7974:138::-;8040:12;538:11590;7808:10;538:11590;;;;8055:13;538:11590;;;;;8032:65;;538:11590;8055:25;538:11590;8032:65;7974:138;;7978:34;538:11590;;;;8002:10;7978:34;;7794:39;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;538:11590;;10083:1;538:11590;;;;;;;:::o;:::-;;;:::i;:::-;932:2:11;538:11590:20;;;932:2:11;538:11590:20;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;-1:-1:-1;;;538:11590:20;;;;;;;;;:::o;1794:36::-;538:11590;;;;;;:::i;:::-;1794:36;538:11590;;-1:-1:-1;;;538:11590:20;1794:36;;;;;;;;:::o;1501:50::-;538:11590;;;;;;:::i;:::-;1501:50;538:11590;;1501:50;;;;;:::o;9321:1256::-;;538:11590;;9549:10;;;;9573:26;;9321:1256;9569:101;;9321:1256;9700:9;538:11590;-1:-1:-1;;;;;538:11590:20;9719:376;;;;9753:10;538:11590;-1:-1:-1;;;;;538:11590:20;;;;;;9766:11;538:11590;;;;;9745:57;;538:11590;9766:21;538:11590;-1:-1:-1;1794:36:20;;:::i;9745:57::-;9824:7;538:11590;9816:52;;9824:22;;-1:-1:-1;;;;;538:11590:20;;;9824:22;538:11590;;-1:-1:-1;;;9824:28:20;;9847:4;9824:28;;;538:11590;;9824:28;;538:11590;;;;;;-1:-1:-1;;9824:28:20;;;;;;;9719:376;538:11590;9824:28;;;9719:376;1501:50;;;:::i;9816:52::-;-1:-1:-1;;;;;538:11590:20;;;;;;9766:11;538:11590;;;;;9906:25;;:21;538:11590;9906:25;:::i;:::-;-1:-1:-1;;;;;538:11590:20;;;;;;9766:11;538:11590;;;;;;9719:376;10139:9;538:11590;10208:85;;;10120:16;10208:85;;;10120:16;;;10208:85;10306:17;;;;;;538:11590;;10306:17;10344:21;:12;;;538:11590;;10896:5;538:11590;;;;;;;10344:21;10391:5;;;;:::i;:::-;-1:-1:-1;;;;;538:11590:20;10495:32;538:11590;;10495:32;10537:11;;;538:11590;10537:11;:::i;:::-;;538:11590;;10208:85;;;;;;;;;10237:9;538:11590;10237:9;;:::i;:::-;10208:85;;;;;;;;;538:11590;;-1:-1:-1;;;10269:22:20;;;;;538:11590;;;;;10269:22;;;538:11590;;;-1:-1:-1;;;;;538:11590:20;;10269:22;;;;;;;10208:85;538:11590;10269:22;;;10208:85;10269:22;;;;;10208:85;;;10269:22;;;;;;;;;;;-1:-1:-1;10269:22:20;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;9824:28;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;9719:376;9970:7;538:11590;9962:55;;9970:22;;-1:-1:-1;;;;;538:11590:20;;;9970:22;:29;538:11590;;;;;;;9970:29;;;538:11590;9970:29;;;;;538:11590;9558:1;538:11590;;;;;;9970:29;;;;;;;;;;9719:376;538:11590;9970:29;;;9719:376;538:11590;;;:::i;9962:55::-;-1:-1:-1;;;;;538:11590:20;;;;;;8055:13;538:11590;;;;;10057:27;;:23;538:11590;10057:27;-1:-1:-1;;;;;538:11590:20;;;;;;8055:13;538:11590;;;;;;9719:376;;9970:29;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;9569:101;9615:44;9628:31;:10;538:11590;9641:18;538:11590;9628:31;;:::i;:::-;:10;538:11590;;9615:44;9569:101;;9573:26;;9598:1;9573:26;;9321:1256;;;538:11590;;9549:10;;9573:26;;;;;;9321:1256;9569:101;;9321:1256;9700:9;538:11590;-1:-1:-1;;;;;538:11590:20;9719:376;;;;;9753:10;538:11590;-1:-1:-1;;;;;538:11590:20;;;;;;9766:11;538:11590;;;;;9745:57;;538:11590;9766:21;538:11590;9745:57;9824:7;538:11590;9816:52;;9824:22;;-1:-1:-1;;;;;538:11590:20;;;9816:52;-1:-1:-1;;;;;538:11590:20;;;;;;9766:11;538:11590;;;;;9906:25;;:21;538:11590;9906:25;-1:-1:-1;;;;;538:11590:20;;;;;;9766:11;538:11590;;;;;;9719:376;10120:16;;;:42;;;;538:11590;10139:9;538:11590;10120:42;10172:162;;;;;10120:42;10344:12;:21;:12;;;538:11590;;10896:5;538:11590;;;;;;;10172:162;10208:85;;;;;;;;10306:17;;;;;;538:11590;;10306:17;10172:162;;;10208:85;;;;;;;;;10237:9;7820:1;10237:9;;:::i;:::-;10208:85;;;;;;;;;538:11590;;-1:-1:-1;;;10269:22:20;;;;;538:11590;;;;;10269:22;;;538:11590;;;-1:-1:-1;;;;;538:11590:20;;10269:22;;;;;;;10208:85;7820:1;10269:22;;;10208:85;10269:22;;;;;10208:85;;;10269:22;;;;;;;;;;;-1:-1:-1;10269:22:20;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;10120:42;;;9719:376;9970:7;538:11590;9962:55;;9970:22;;-1:-1:-1;;;;;538:11590:20;;;9962:55;-1:-1:-1;;;;;538:11590:20;;;;;;8055:13;538:11590;;;;;10057:27;;:23;538:11590;10057:27;-1:-1:-1;;;;;538:11590:20;;;;;;8055:13;538:11590;;;;;;9719:376;;9569:101;9615:44;9628:31;:10;538:11590;9641:18;538:11590;9628:31;;:::i;9615:44::-;9569:101;;9573:26;9583:16;9598:1;9583:16;;;9573:26;;9321:1256;;;;;538:11590;;;;9549:10;;;9321:1256;;9549:10;;9573:26;;9321:1256;9569:101;;9321:1256;9700:9;538:11590;-1:-1:-1;;;;;538:11590:20;9719:376;;;;9753:10;538:11590;-1:-1:-1;;;;;538:11590:20;;;;;;9766:11;538:11590;;;;;9745:57;;538:11590;9766:21;538:11590;9745:57;9824:7;538:11590;9816:52;;9824:22;;-1:-1:-1;;;;;538:11590:20;;;9816:52;-1:-1:-1;;;;;538:11590:20;;;;;;9766:11;538:11590;;;;;9906:25;;:21;538:11590;9906:25;-1:-1:-1;;;;;538:11590:20;;;;;;9766:11;538:11590;;;;;;9719:376;10120:16;;;:42;;;;538:11590;10139:9;538:11590;10120:42;10172:162;;;10120:42;10344:12;;;:21;:12;;;;;538:11590;;10896:5;538:11590;;;;;;;10344:21;10391:5;;;;:::i;:::-;10407:74;;10120:42;-1:-1:-1;;;;;;;;538:11590:20;10495:32;9558:1;;10495:32;10537:11;;;538:11590;10537:11;:::i;10407:74::-;538:11590;;-1:-1:-1;;;;;;538:11590:20;;;;10438:32;;;;;538:11590;;-1:-1:-1;;;10438:32:20;;-1:-1:-1;;;;;538:11590:20;;;;10438:32;;;538:11590;;;;;;;;;;;-1:-1:-1;;538:11590:20;;;;;;-1:-1:-1;;10438:32:20;;;;;;10407:74;10438:32;;10407:74;;;;;10438:32;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;:::i;:::-;;;10172:162;10208:85;;;;;;;10306:17;;;;;;;;;;538:11590;;10306:17;10172:162;;;;;;;;10208:85;;;;;;;;10237:9;9558:1;10237:9;;:::i;:::-;10208:85;;;;;;538:11590;;-1:-1:-1;;;10269:22:20;;;;;538:11590;;;10269:22;;;538:11590;;;-1:-1:-1;;;;;538:11590:20;;10269:22;;;;;;;10208:85;9558:1;10269:22;;;10208:85;10269:22;;10208:85;10269:22;;;;;;;;;;;-1:-1:-1;10269:22:20;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;10120:42;;;9719:376;9970:7;538:11590;9962:55;;9970:22;;-1:-1:-1;;;;;538:11590:20;;;9962:55;-1:-1:-1;;;;;538:11590:20;;;;;;8055:13;538:11590;;;;;10057:27;;:23;538:11590;10057:27;-1:-1:-1;;;;;538:11590:20;;;;;;8055:13;538:11590;;;;;;9719:376;;9569:101;9615:44;9628:31;:10;538:11590;9641:18;538:11590;9628:31;;:::i;9615:44::-;9569:101;;9573:26;9583:16;9598:1;9583:16;;;9573:26;;9079:427:4;-1:-1:-1;;;;;538:11590:20;;;9158:16:4;;538:11590:20;;-1:-1:-1;538:11590:20;;;7248:7:4;538:11590:20;;;;;;-1:-1:-1;;;;;538:11590:20;;;-1:-1:-1;;;;;538:11590:20;;;;;;9346:9:4;538:11590:20;;;;;9374:21:4;;9346:13;:18;538:11590:20;;9346:18:4;:::i;:::-;538:11590:20;;9374:16:4;;538:11590:20;;9374:7:4;538:11590:20;;;;;;;9374:16:4;538:11590:20;;-1:-1:-1;;;;;;538:11590:20;-1:-1:-1;;;;;538:11590:20;;;;;;;;;;9374:21:4;-1:-1:-1;9411:33:4;;;;9079:427::o;538:11590:20:-;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;1874:25::-;;;;;;;;;538:11590;1874:25;:::o;538:11590::-;-1:-1:-1;;538:11590:20;;;;;;;;:::o;9723:406:4:-;9798:23;;;:::i;:::-;9939:7;;;:::i;:::-;-1:-1:-1;;;;;538:11590:20;9935:1:4;538:11590:20;;;9958:9:4;538:11590:20;;;;;;;9935:1:4;;538:11590:20;-1:-1:-1;;538:11590:20;;;;;;;;9723:406:4;538:11590:20;;;;9996:7:4;538:11590:20;;;;;;;-1:-1:-1;;;;;;538:11590:20;;;10028:36:4;538:11590:20;;10028:36:4;9723:406::o;538:11590:20:-;;;:::i;:::-;;;11169:171:4;538:11590:20;;;;11243:15:4;538:11590:20;;;;;;;-1:-1:-1;;;;;;538:11590:20;;;-1:-1:-1;;;;;11296:23:4;538:11590:20;11296:23:4;:::i;:::-;538:11590:20;11287:46:4;;;;11169:171::o;:::-;-1:-1:-1;538:11590:20;;;11243:15:4;538:11590:20;;;;;;;-1:-1:-1;;;;;;538:11590:20;-1:-1:-1;;;;;538:11590:20;;;;;-1:-1:-1;;;;;538:11590:20;11296:23:4;;;:::i;:::-;538:11590:20;;;11287:46:4;;-1:-1:-1;11287:46:4;;11169:171::o;538:11590:20:-;;;;;;;:::i;:::-;;;;-1:-1:-1;;;538:11590:20;;;;;;;;;:::o;2155:56::-;;;;;538:11590;;;2155:56;;;;;:::i;:::-;;;:::o;11129:770::-;11309:2;11303:8;;11309:2;;;11378:194;2155:56;538:11590;2155:56;;11498:14;538:11590;;:::i;:::-;11498:14;;:::i;:::-;2155:56;538:11590;;11378:194;;;;;;2155:56;;:::i;:::-;-1:-1:-1;;;2155:56:20;;;;;;;;;:::i;:::-;-1:-1:-1;;;2155:56:20;;;;;;;11378:194;538:11590;;11378:194;;;;;;:::i;11299:594::-;11672:192;2155:56;538:11590;2155:56;;11790:14;538:11590;;:::i;11790:14::-;538:11590;;;;2155:56;538:11590;;;11672:192;;;;;;2155:56;;;:::i;:::-;;;-1:-1:-1;;;11672:192:20;2155:56;;;;;;:::i;538:11590::-;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;328:703:11;601:10;;597:51;;657:20;610:1;687:14;;;711:75;718:9;;;538:11590:20;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;538:11590:20;;;:::i;:::-;;;;;;;851:10:11;;;1003:21;;;328:703;:::o;844:150::-;877:11;;;:::i;:::-;773:2;;538:11590:20;919:39:11;926:31;932:24;538:11590:20;;;932:24:11;:::i;:::-;538:11590:20;;;;926:31:11;538:11590:20;;-1:-1:-1;;;;;;538:11590:20;;;919:39:11;902:56;;;;;;:::i;:::-;;538:11590:20;844:150:11;;;;711:75;538:11590:20;;773:2:11;538:11590:20;;;;;;;711:75:11;538:11590:20;;;711:75:11;;;538:11590:20;;;:::i;:::-;;;597:51:11;538:11590:20;;;;;;:::i;:::-;;;;-1:-1:-1;;;538:11590:20;;;;627:10:11;:::o;526:290:24:-;-1:-1:-1;;;;;538:11590:20;656:22:24;538:11590:20;;701:21:24;;694:28;:::o;652:158::-;760:39;538:11590:20;;;;;;;;;;;760:39:24;;793:4;760:39;;;538:11590:20;760:39:24;;;;;;;652:158;-1:-1:-1;760:39:24;;;753:46;;:::o;760:39::-;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;538:11590:20;;;;:::o;:::-;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;538:11590:20;;;;:::o;:::-;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;3038:638:16;120:42:17;3227:45:16;;3223:447;;3038:638;;:::o;3223:447::-;538:11590:20;;-1:-1:-1;;;3523:67:16;;3574:4;3523:67;;;538:11590:20;-1:-1:-1;;;;;538:11590:20;;;;;;;3523:67:16;;538:11590:20;;;;;;3523:67:16;;;;;;;3223:447;3275:1;3523:67;;;3223:447;3522:68;;3518:142;;3038:638;:::o;3518:142::-;538:11590:20;;-1:-1:-1;;;3617:28:16;;-1:-1:-1;;;;;538:11590:20;;;3523:67:16;3617:28;;538:11590:20;;;3617:28:16;3523:67;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;538:11590:20;;;;:::o;:::-;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;7443:344:4;-1:-1:-1;538:11590:20;;;7248:7:4;538:11590:20;;;;;;-1:-1:-1;;;;;538:11590:20;7248:30:4;538:11590:20;;7651:23:4;;;:::i;:::-;538:11590:20;;;;;;;;;;;;;;7692:16:4;;:52;;;;;7443:344;7692:87;;;;;;7443:344;7684:96;;;7443:344;:::o;7692:87::-;7748:20;;;;;;:::i;:::-;538:11590:20;7748:31:4;7692:87;;;;;:52;-1:-1:-1;;;;;538:11590:20;;;;;4623:18:4;538:11590:20;;;;;4623:25:4;;-1:-1:-1;538:11590:20;;4623:35:4;;:25;;538:11590:20;4623:35:4;538:11590:20;;7692:52:4;;;;;538:11590:20;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;10453:605:4;;10580:23;;;:::i;:::-;-1:-1:-1;;;;;538:11590:20;;;;;;;;10580:31:4;;;538:11590:20;;10880:15:4;10938:21;538:11590:20;;;10671:16:4;10663:65;10671:16;;;10663:65;:::i;:::-;10861:7;;;:::i;:::-;-1:-1:-1;;;;;538:11590:20;;;;;9346:9:4;538:11590:20;;;;;;;10880:15:4;:20;538:11590:20;;10880:20:4;:::i;:::-;538:11590:20;;-1:-1:-1;;;;;538:11590:20;;;;;;9346:9:4;538:11590:20;;;;;10910:18:4;538:11590:20;;10910:18:4;:::i;:::-;538:11590:20;;10938:16:4;;538:11590:20;;9374:7:4;538:11590:20;;;;;;;10938:21:4;10975:27;10685:1;10975:27;;10453:605::o;538:11590:20:-;;;-1:-1:-1;;;538:11590:20;;;;;;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;;2377:355:16;6747:48:4;;2377:355:16;;;2646:10;-1:-1:-1;;;;;538:11590:20;;2638:18:16;2634:81;;5529:103:4;5537:41;2646:10:16;;5537:41:4;:::i;6747:48::-;538:11590:20;;;2377:355:16:o;538:11590:20:-;;;;;;;;;;;;;;;;-1:-1:-1;;;538:11590:20;;;;;;:::o;:::-;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;538:11590:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;12335:778:4:-;;;;;1465:19:9;;:23;12505:15:4;;12540:72;538:11590:20;12540:72:4;538:11590:20;;;;;;;;;;;;;12540:72:4;;;;719:10:10;12540:72:4;;;;:::i;:::-;;;-1:-1:-1;;;;;538:11590:20;12540:72:4;;538:11590:20;;12540:72:4;;;12501:606;-1:-1:-1;12536:519:4;;12729:326;;:::i;:::-;538:11590:20;;;12779:18:4;;;538:11590:20;;-1:-1:-1;;;12821:60:4;;538:11590:20;12821:60:4;12540:72;12821:60;;;:::i;12775:266::-;12540:72;12928:95;;12536:519;-1:-1:-1;;;;;;538:11590:20;12662:51:4;;12655:58::o;12540:72::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;12501:606;13085:11;;;;13092:4;13085:11;:::o

Swarm Source

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