ETH Price: $2,493.63 (-0.42%)

UndeadsPotions (UNZP)
 

Overview

TokenID

3335

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

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

OVERVIEW

Gameplay-First Survival MMORPG with feature-rich and exciting gameplay built for Web3 community

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Potions

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

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

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

pragma solidity 0.8.17;

import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "../interfaces/IRandomizer.sol";
import "../interfaces/ICalculator.sol";
import "./interfaces/IActors.sol";
import "./interfaces/IPotions.sol";
import "../utils/EIP2981.sol";
import "../lib/Constants.sol";
import "../utils/GuardExtension.sol";
import {
    OperatorFiltererERC721,
    ERC721
} from "../utils/OperatorFiltererERC721.sol";

contract Potions is OperatorFiltererERC721, IPotions, EIP2981, GuardExtension {
    using Counters for Counters.Counter;
    using Strings for uint256;
    Counters.Counter private _tokenIds; 
    uint256 private _childs;
    uint256 private _unissued;
    uint256[] private _amounts;
    mapping(uint256 => uint256) private _total;
    mapping(uint256 => uint256) private _women;
    IActors private _zombie;
    IRandomizer private _random;
    address private _mysteryBoxAddress;
    bytes32 private constant ZERO_STRING = keccak256(bytes(""));
    string private constant WRONG_LEVEL = "Potion: wrong level";
    string private constant WRONG_OWNER = "Potion: wrong owner";
    string private constant NOT_A_BOX = "Potions: Not a box";
    string private constant TRY_AGAIN = "Potion: try again";
    string private constant SOLD_OUT = "Potion: sold out";
    string private constant WRONG_ID = "Potion: wrong id";
    string private constant NO_ZERO_LEVEL = "Potion: no zero level";
    string private constant META_ALREADY_USED = "Potion: meta already used";
    string private constant ALREADY_SET = "Potion: already set";
    string private constant BOX_NOT_SET = "Potion: box not set";
    string private constant SAME_VALUE = "Potion: same value";
    string private constant ZERO_ADDRESS = "Potion: zero address";
    string private constant IPFS_PREFIX = "ipfs://";
    string private constant PLACEHOLDERS_META_HASH =
        "QmZ9bCTRBNwgyhuaX6P7Xfm8D1c7jcUMZ4TFUDggGBE6hb";
    mapping(bytes32 => bool) private _usedMetadata;
    mapping(uint256 => string) private _tokensHashes;
    mapping(uint256 => uint256) private _issuedLevels;
    uint256[] private _limits;
    mapping(address => uint256) private _last;

    /// @notice only if one of the admins calls
    modifier onlyBox() {
        require(_mysteryBoxAddress != address(0), BOX_NOT_SET);
        require(
            _mysteryBoxAddress == msg.sender ||
                _rights().haveRights(address(this), msg.sender),
            NOT_A_BOX
        );
        _;
    }

    /// @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 address of the rights contract
@param zombie_ The address of the zombie contract 
@param random_ The address of the random contract 
@param limits_ The maximum possible limits for the each parameter 
@param amounts_ The amounts of the actors according level (zero-based)   
@param childs_ The maximum number of the childs (for woman actors only)
*/
    constructor(
        string memory name_,
        string memory symbol_,
        address rights_,
        address zombie_,
        address random_,
        uint256[] memory limits_,
        uint256[] memory amounts_,
        uint256[] memory women_,
        uint256 childs_
    ) ERC721(name_, symbol_) GuardExtension(rights_) {
        require(random_ != address(0), ZERO_ADDRESS);
        require(zombie_ != address(0), ZERO_ADDRESS);

        _childs = childs_;
        _random = IRandomizer(random_);
        _zombie = IActors(zombie_);
        _saveAmounts(amounts_);
        _saveLimits(limits_);
        _saveWomen(women_);
    }

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

    function total() external view override returns (uint256) {
        return _tokenIds.current();
    }

    function _saveAmounts(uint256[] memory amounts_) private {
        uint256 len = amounts_.length;
        _unissued = 0;
        _amounts = amounts_;
        for (uint256 i = 0; i < len; ++i) {
            _unissued = _unissued + amounts_[i];
        }
    }

    function _saveWomen(uint256[] memory women_) private {
        for (uint256 i = 0; i < women_.length; i++) {
            _women[i] = women_[i];
        }
    }

    function _saveLimits(uint256[] memory limits_) private {
        _limits = limits_;
    }

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

    /**
@notice Get the level of the potion
@param id_ potion id
@return The level of the potion
*/
    function level(uint256 id_)
        external
        view
        override
        correctId(id_)
        returns (uint256)
    {
        return _issuedLevels[id_];
    }

    function _create(
        address owner_,
        uint256 level_,
        uint256 id_
    ) private returns (uint256) {
        require(level_ > 0, NO_ZERO_LEVEL);
        _tokenIds.increment();
        _issuedLevels[id_] = level_;
        _mint(owner_, id_);
        emit Created(owner_, id_, level_);
        return id_;
    }

    /**
@notice Set the maximum amount of the childs for the woman actor
@param childs_ New childs amount
*/
    function setChilds(uint256 childs_) external override haveRights {
        _childs = childs_;
        emit ChildsDefined(childs_);
    }

        /**
@notice Set new address of Zombie contract
@param value_ New address value
*/
    function setZombie(address value_) external haveRights {
        require(address(_zombie) != value_, SAME_VALUE);
        require(value_ != address(0), ZERO_ADDRESS);
        _zombie = IActors(value_);
    }

            /**
@notice Set new address of Randomizer contract
@param value_ New address value
*/
    function setRandom(address value_) external haveRights {
        require(address(_random) != value_, SAME_VALUE);
        require(value_ != address(0), ZERO_ADDRESS);
        _random = IRandomizer(value_);
    }

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

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

    function _getLimits(uint256 level_)
        private
        view
        returns (uint256, uint256)
    {
        require(level_ > 0, NO_ZERO_LEVEL);
        require(level_ <= _limits.length, WRONG_LEVEL);
        if (level_ == 1) {
            return (Constants.MINIMAL, _limits[0]);
        }
        return (_limits[level_ - 2], _limits[level_ - 1]);
    }

    /**
@notice Get the limits of the properties for the level
@param level_ The desired level
@return Minimum and maximum level available
*/

    function getLimits(uint256 level_)
        external
        view
        returns (uint256, uint256)
    {
        return _getLimits(level_);
    }

    function calcSex(
        IRandomizer random_,
        uint256 total_,
        uint256 womenAvailable_
    ) internal returns (bool) {
        uint256[] memory weights = new uint256[](2);
        weights[0] = total_ - womenAvailable_;
        weights[1] = womenAvailable_;
        uint256 isWoman = random_.distributeRandom(total_, weights);
        return (isWoman == 0);
    }

    function calcProps(
        IRandomizer random,
        uint256 minRange,
        uint256 maxRange
    ) internal returns (uint256, uint16[10] memory) {
        uint16[10] memory props;
        uint256 range = maxRange - minRange;
        uint256 power = 0;

        for (uint256 i = 0; i < 10; i++) {
            props[i] = uint16(random.randomize(range) + minRange);
            power = power + props[i];
        }
        return (power, props);
    }

    function callMint(
        uint256 id_,
        uint16[10] memory props_,
        bool sex_,
        uint256 power_,
        uint8 childs_
    ) internal returns (uint256) {
        _zombie.mint(
            id_,
            msg.sender,
            props_,
            sex_,
            true,
            0,
            childs_,
            true
        );
        emit Opened(msg.sender, id_);
        return id_;
    }

    /**
@notice Open the packed id with the random values
@param id_ The pack id
@return The new actor id
*/
    function open(uint256 id_)
        external
        override
        correctId(id_)
        returns (uint256)
    {
        require(ownerOf(id_) == msg.sender, WRONG_OWNER);
        uint256 level_ = _issuedLevels[id_];
        IRandomizer random = _random;
        (uint256 minRange, uint256 maxRange) = _getLimits(level_);
        (uint256 power, uint16[10] memory props) = calcProps(
            random,
            minRange,
            maxRange
        );
        bool sex = true;
        if (_women[level_ - 1] > 0) {
            sex = calcSex(
                random,
                _total[level_ - 1] + _amounts[level_ - 1],
                _women[level_ - 1]
            );
            if (!sex) {
                _women[level_ - 1] = _women[level_ - 1] - 1;
            }
        }
        uint8 childs = sex ? 0 : uint8(random.randomize(_childs + 1));
        _burn(id_);
        delete _issuedLevels[id_];
        return callMint(id_, props, sex, power, childs);
    }

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

    function getMaxLevel() external view override returns (uint256) {
        return _amounts.length - 1;
    }

    /**
@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 override onlyBox returns (uint256) {
        uint256 level_ = _amounts.length - 1;
        if (!rare) {
            level_ = _random.distributeRandom(_unissued, _amounts);
            require(_amounts[level_] > 0, TRY_AGAIN);
            _amounts[level_] = _amounts[level_] - 1;
        }
        require(_amounts[level_] > 0, SOLD_OUT);
        _total[level_] = _total[level_] + 1;
        return _create(target, level_ + 1, id_);
    }

    /**
@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 override haveRights returns (uint256) {
        require(level_ > 0, NO_ZERO_LEVEL);
        require(_unissued > 0, SOLD_OUT);
        require(_amounts[level_ - 1] > 0, SOLD_OUT);
        _amounts[level_ - 1] = _amounts[level_ - 1] - 1;
        _unissued = _unissued - 1;
        uint256 created = _create(target, level_, id_);
        _last[target] = created;
        return created;
    }

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

    /**
@notice Decrease the amount of the common or rare tokens or fails
*/
    function decreaseAmount(bool rare)
        external
        override
        onlyBox
        returns (bool)
    {
        if(_unissued == 0) return false;
        if (rare) {
            uint256 aLevel = _amounts.length - 1;
            if(_amounts[aLevel] == 0) return false;
            _amounts[aLevel] = _amounts[aLevel] - 1;
        }
        _unissued = _unissued - 1;
        return true;
    }

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 id_)
        public
        view
        override(ERC721, IERC721Metadata)
        correctId(id_)
        returns (string memory)
    {
        uint256 level_ = _issuedLevels[id_];
        if (keccak256(bytes(_tokensHashes[id_])) == ZERO_STRING) {
            return
                string(
                    abi.encodePacked(
                        IPFS_PREFIX,
                        PLACEHOLDERS_META_HASH,
                        "/po/",
                        level_.toString(),
                        "/meta.json"
                    )
                );
        } else {
            return string(abi.encodePacked(IPFS_PREFIX, _tokensHashes[id_]));
        }
    }

    /**
    @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
        override
        haveRights
        correctId(id_)
    {
        require(
            keccak256(bytes(_tokensHashes[id_])) == ZERO_STRING,
            ALREADY_SET
        );
        require(
            !_usedMetadata[keccak256(bytes(metadataHash_))],
            META_ALREADY_USED
        );
        _usedMetadata[keccak256(bytes(metadataHash_))] = true;
        _tokensHashes[id_] = metadataHash_;
        emit TokenUriDefined(
            id_,
            string(abi.encodePacked(IPFS_PREFIX, metadataHash_))
        );
    }
}

File 2 of 29 : 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 29 : 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 29 : 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 5 of 29 : 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 6 of 29 : 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 7 of 29 : 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 8 of 29 : 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 9 of 29 : 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 10 of 29 : 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 11 of 29 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 12 of 29 : 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 13 of 29 : 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 14 of 29 : 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 15 of 29 : 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 16 of 29 : 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 17 of 29 : 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 18 of 29 : 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 19 of 29 : ICalculator.sol
// SPDX-License-Identifier: PROPRIERTARY

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

pragma solidity 0.8.17;

interface ICalculator {
    function compute(bytes memory params) external view returns (uint256);
}

File 20 of 29 : IRandomizer.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

interface IRandomizer {
    function randomize() external returns (uint256);

    function randomize(uint256 limit) external returns (uint256);

    function distributeRandom(uint256 total, uint256[] memory weights)
        external
        returns (uint256);

    function last() external view returns (uint256);
}

File 21 of 29 : 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 22 of 29 : Constants.sol
// SPDX-License-Identifier: PROPRIERTARY

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

/**
 * @dev Collection of constants
 */
library Constants {
    uint16 public constant MINIMAL = 800;
}

File 23 of 29 : 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;
        uint8 amount;
        uint8 level;
        uint8 issued;
    }
}

File 24 of 29 : IActors.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 {Structures} from "../../lib/Structures.sol";

interface IActors is IERC721Metadata {
    event Minted(address indexed owner, uint256 indexed id);

    event MintedImmaculate(address indexed owner, uint256 indexed id);

    event TokenUriDefined(uint256 indexed id, string kidUri, string adultUri);

    event ActorWasBorn(uint256 indexed id, uint256 bornTime);

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

    function total() external view returns (uint256);

    /**
    @notice Set an uri for the adult token (only for non immaculate)
    @param id_ token id
    @param adultHash_ ipfs hash of the kids metadata
    */
    function setMetadataHash(uint256 id_, string calldata adultHash_) external;

    /**
    @notice Set an uri for the adult and kid token (only for immaculate)
    @param id_ token id
    @param kidHash_ ipfs hash of the kids metadata
    @param adultHash_ ipfs hash of the adult metadata
    */
    function setMetadataHashes(
        uint256 id_,
        string calldata kidHash_,
        string calldata adultHash_
    ) external;

    /**
    @notice Get an uri for the kid token
    @param id_ token id
    @return Token uri for the kid actor
    */
    function tokenKidURI(uint256 id_) external view returns (string memory);

    /**
    @notice Get an uri for the adult token
    @param id_ token id
    @return Token uri for the adult actor
    */
    function tokenAdultURI(uint256 id_) external view returns (string memory);

    /**
@notice Create a new person token (not born yet)
@param id_ The id of new minted token
@param owner_ Owner of the token
@param props_ Array of the actor properties
@param sex_ The person sex (true = male, false = female)
@param born_ Is the child born or not
@param adultTime_ When child become adult actor, if 0 actor is not born yet
@param childs_ The amount of childs can be born (only for female)
@param immaculate_ True only for potion-breeded
@return The new id
*/
    function mint(
        uint256 id_,
        address owner_,
        uint16[10] memory props_,
        bool sex_,
        bool born_,
        uint256 adultTime_,
        uint8 childs_,
        bool immaculate_
    ) external returns (uint256);

    /**
@notice Get the person props
@param id_ Person token id
@return Array of the props
*/
    function getProps(uint256 id_) external view returns (uint16[10] memory);

    /**
    @notice Get the actor
    @param id_ Person token id
    @return Structures.ActorData full struct of actor
    */
    function getActor(uint256 id_)
        external
        view
        returns (Structures.ActorData memory);

    /**
@notice Get the person sex
@param id_ Person token id
@return true = male, false = female
*/
    function getSex(uint256 id_) external view returns (bool);

    /**
@notice Get the person childs
@param id_ Person token id
@return childs and possible available childs
*/
    function getChilds(uint256 id_) external view returns (uint8, uint8);

    /**
@notice Breed a child
@param id_ Person token id
*/
    function breedChild(uint256 id_) external;

    /**
@notice Get the person immaculate status
@param id_ Person token id
*/
    function getImmaculate(uint256 id_) external view returns (bool);

    /**
@notice Get the person born time
@param id_ Person token id
@return 0 = complete adult, or amount of tokens needed to be paid for
*/
    function getBornTime(uint256 id_) external view returns (uint256);

    /**
@notice Get the person born state
@param id_ Person token id
@return true = person is born
*/
    function isBorn(uint256 id_) external view returns (bool);

    /**
@notice Birth the person
@param id_ Person token id 
@param adultTime_ When person becomes adult
*/
    function born(uint256 id_, uint256 adultTime_) external;

    /**
@notice Get the person adult timestamp
@param id_ Person token id
@return timestamp
*/
    function getAdultTime(uint256 id_) external view returns (uint256);

    /**
@notice Grow the 
@param id_ Person token id 
@param time_ the deadline to grow
*/
    function setAdultTime(uint256 id_, uint256 time_) external;

    /**
@notice Get the person adult state
@param id_ Person token id
@return true = person is adult (price is 0 and current date > person's grow deadline)
*/
    function isAdult(uint256 id_) external view returns (bool);

    /**
@notice Get the person rank
@param id_ Person token id
@return person rank value
*/
    function getRank(uint256 id_) external view returns (uint16);
}

File 25 of 29 : 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 26 of 29 : 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 29 : 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 29 : 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 29 : 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);
    }
}

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":"zombie_","type":"address"},{"internalType":"address","name":"random_","type":"address"},{"internalType":"uint256[]","name":"limits_","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts_","type":"uint256[]"},{"internalType":"uint256[]","name":"women_","type":"uint256[]"},{"internalType":"uint256","name":"childs_","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":true,"internalType":"uint256","name":"childs","type":"uint256"}],"name":"ChildsDefined","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"level","type":"uint256"}],"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":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"string","name":"tokenUri","type":"string"}],"name":"TokenUriDefined","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":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"rare","type":"bool"},{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"create","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"level_","type":"uint256"},{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"createPotion","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"rare","type":"bool"}],"name":"decreaseAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","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":[],"name":"getChilds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"getLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"level_","type":"uint256"}],"name":"getLimits","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxLevel","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":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"level","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"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":"uint256","name":"childs_","type":"uint256"}],"name":"setChilds","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":"uint256","name":"id_","type":"uint256"},{"internalType":"string","name":"metadataHash_","type":"string"}],"name":"setMetadataHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"value_","type":"address"}],"name":"setMysteryBox","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"value_","type":"address"}],"name":"setRandom","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":"address","name":"value_","type":"address"}],"name":"setZombie","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"},{"inputs":[],"name":"unissued","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060409080825234620007515760006200422d803803809162000024828662000788565b8439820191610120818403126200074d5780516001600160401b03811162000749578362000054918301620007d1565b60208201519093906001600160401b03811162000745578162000079918401620007d1565b620000868684016200082c565b9062000095606085016200082c565b90620000a4608086016200082c565b60a08601519092906001600160401b038111620007415785620000c991880162000841565b60c08701519094906001600160401b0381116200058d5786620000ee91890162000841565b60e08801519096906001600160401b0381116200073d576101009162000116918a0162000841565b97015189519093906001600160401b038111620006615789549a60019b8c81811c9116801562000732575b60208210146200071e57908b82601f859411620006ea575b5050602090601f831160011462000681578c9262000675575b5050600019600383901b1c1916908b1b1789555b8051906001600160401b03821162000661578a548b81811c9116801562000656575b602082101462000642579081601f84931162000602575b50602090601f83116001146200059d578b9262000591575b5050600019600383901b1c1916908a1b1789555b6daaeb6d7670e522a718067333cd4e803b62000507575b50600680546001600160a01b031980821633908117909355956001600160a01b03938493919284929083167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08e80a316620002968d51620002638162000756565b601381527f47756172643a207a65726f2061646472657373000000000000000000000000006020820152821515620008e9565b86600a541617600a551691620002b8620002af620008ae565b841515620008e9565b1691620002c8620002af620008ae565b600c558260125416176012556011918254161781558251600d9386855560018060401b038211620004f3576801000000000000000094858311620004df57600e5483600e55808410620004b3575b50600e88526000805160206200420d833981519152602083018a8a5b8681106200049f5750505050875b8381106200045f5750508351949250506001600160401b03841190506200044b57821162000437576020906017548360175580841062000419575b5060178552017fc624b66cc0138b8fabc209247f72d758e1cf3343756d543badbf24212bed8c1585855b8481106200040557509250505082905b620003ca575b845161387090816200099d8239f35b8151811015620003ff5780620003e5620003f8928462000971565b518185526010602052868520556200094b565b83620003b5565b620003bb565b6020845194019381840155018690620003a5565b601786528286206200043091810190850162000932565b386200037b565b634e487b7160e01b84526041600452602484fd5b634e487b7160e01b85526041600452602485fd5b81546200046d828562000971565b5181018091116200048b57825562000485906200094b565b62000340565b634e487b7160e01b8a52600486905260248afd5b6020835193019281850155018b9062000332565b600e8952620004d8906000805160206200420d83398151915290810190850162000932565b3862000316565b634e487b7160e01b88526041600452602488fd5b634e487b7160e01b87526041600452602487fd5b803b156200058d5788809160448d5180948193633e9f1edf60e11b8352306004840152733cc6cdda760b79bafa08df41ecfa224f810dceb660248401525af1801562000583571562000202579097906001600160401b0381116200056f578a52963862000202565b634e487b7160e01b82526041600452602482fd5b8b513d8b823e3d90fd5b8880fd5b015190503880620001d7565b8c8c5260208c208d94509190601f1984168d5b818110620005e957508411620005cf575b505050811b018955620001eb565b015160001960f88460031b161c19169055388080620005c1565b8284015185558f969094019360209384019301620005b0565b62000630908d8d5260208d20601f850160051c8101916020861062000637575b601f0160051c019062000932565b38620001bf565b909150819062000622565b634e487b7160e01b8b52602260045260248bfd5b90607f1690620001a8565b634e487b7160e01b8a52604160045260248afd5b01519050388062000172565b908d93508c805260208d20918d5b601f1985168110620006d1575083601f19811610620006b7575b505050811b01895562000186565b015160001960f88460031b161c19169055388080620006a9565b8183015184558f9590930192602092830192016200068f565b6020828062000716945220601f850160051c810191602086106200063757601f0160051c019062000932565b8b3862000159565b634e487b7160e01b8c52602260045260248cfd5b90607f169062000141565b8980fd5b8780fd5b8380fd5b8280fd5b5080fd5b600080fd5b604081019081106001600160401b038211176200077257604052565b634e487b7160e01b600052604160045260246000fd5b601f909101601f19168101906001600160401b038211908210176200077257604052565b60005b838110620007c05750506000910152565b8181015183820152602001620007af565b81601f82011215620007515780516001600160401b03811162000772576040519262000808601f8301601f19166020018562000788565b818452602082840101116200075157620008299160208085019101620007ac565b90565b51906001600160a01b03821682036200075157565b9080601f8301121562000751578151906001600160401b03821162000772578160051b60405193602093620008798584018762000788565b8552838086019282010192831162000751578301905b8282106200089e575050505090565b815181529083019083016200088f565b60405190620008bd8262000756565b601482527f506f74696f6e3a207a65726f20616464726573730000000000000000000000006020830152565b15620008f25750565b6044604051809262461bcd60e51b825260206004830152620009248151809281602486015260208686019101620007ac565b601f01601f19168101030190fd5b8181106200093e575050565b6000815560010162000932565b60001981146200095b5760010190565b634e487b7160e01b600052601160045260246000fd5b8051821015620009865760209160051b010190565b634e487b7160e01b600052603260045260246000fdfe60806040526004361015610013575b600080fd5b60003560e01c806301ffc9a71461034757806305c58df21461033e57806306fdde0314610335578063081812fc1461032c578063095ea7b3146103235780630d9b13c41461031a578063180b0d7e1461031157806323b872dd146103085780632a55205a146102ff5780632ddbd13a146102f65780633798fe56146102ed57806337d2aae9146102e457806341f43434146102db57806342842e0e146102d2578063512c97e9146102c95780635944c753146102c05780636352211e146102b7578063690e7c09146102ae57806370a08231146102a5578063715018a61461029c57806376082715146102935780637b43b8271461028a57806387b95404146102815780638a616bc0146102785780638da5cb5b1461026f57806395d89b4114610266578063a22cb4651461025d578063aa1b103f14610254578063b45392ca1461024b578063b88d4fde14610242578063b9140a5a14610239578063c87b56dd14610230578063ca9c0bad14610227578063cc26f3d21461021e578063d6e18b3e14610215578063dbed85581461020c578063dc87599714610203578063e0aa90a4146101fa578063e985e9c5146101f1578063f2fde38b146101e85763f5fe3526146101e057600080fd5b61000e611c42565b5061000e611bab565b5061000e611b4d565b5061000e611ad0565b5061000e611a7c565b5061000e611a51565b5061000e611a32565b5061000e6118c2565b5061000e61183d565b5061000e6117e4565b5061000e611784565b5061000e61170b565b5061000e61157b565b5061000e611504565b5061000e61140e565b5061000e611368565b5061000e61133e565b5061000e6112df565b5061000e6112c0565b5061000e611229565b5061000e6111ee565b5061000e61118c565b5061000e6110e9565b5061000e610ee0565b5061000e610ec1565b5061000e610d77565b5061000e610b3f565b5061000e610aa3565b5061000e610a79565b5061000e61099d565b5061000e610964565b5061000e610945565b5061000e610888565b5061000e61083f565b5061000e6107ec565b5061000e6106e5565b5061000e6105e2565b5061000e610585565b5061000e6104a1565b5061000e6103eb565b5061000e610362565b6001600160e01b031981160361000e57565b503461000e57602036600319011261000e57602060043561038281610350565b63ffffffff60e01b1663152a902d60e11b81149081156103a8575b506040519015158152f35b6380ac58cd60e01b8114915081156103da575b81156103c9575b503861039d565b6301ffc9a760e01b149050386103c2565b635b5e139f60e01b811491506103bb565b503461000e57602036600319011261000e5760043560008181526002602052604090205461042d906001600160a01b031615155b610427612094565b906120c0565b60005260166020526020604060002054604051908152f35b60005b8381106104585750506000910152565b8181015183820152602001610448565b9060209161048181518092818552858086019101610445565b601f01601f1916010190565b90602061049e928181520190610468565b90565b503461000e5760008060031936011261058257604051908080546104c481611f66565b8085529160019180831690811561055857506001146104fe575b6104fa856104ee81870382611678565b6040519182918261048d565b0390f35b80809450527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b8284106105405750505081016020016104ee826104fa6104de565b80546020858701810191909152909301928101610525565b8695506104fa969350602092506104ee94915060ff191682840152151560051b82010192936104de565b80fd5b503461000e57602036600319011261000e5760206105a4600435611fa0565b6040516001600160a01b039091168152f35b600435906001600160a01b038216820361000e57565b602435906001600160a01b038216820361000e57565b503461000e57604036600319011261000e576105fc6105b6565b602435610608826132c9565b61061181611eee565b916001600160a01b03808416908216811461068c576106439361063e913314908115610645575b50613377565b61248f565b005b6001600160a01b03166000908152600560205260409020610686915061067f9033905b9060018060a01b0316600052602052604060002090565b5460ff1690565b38610638565b60405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608490fd5b8015150361000e57565b503461000e57606036600319011261000e576104fa6107566107056105b6565b602435610711816106db565b60135461074d906001600160a01b0390819081165b1661073a61073261287b565b8215156120c0565b3314908115610766575b506104276128aa565b6044359161299b565b6040519081529081906020820190565b600a54604051630f6266a760e01b8152306004820152336024820152925060209183916044918391166001600160a01b03165afa9081156107df575b6000916107b1575b5038610744565b6107d2915060203d81116107d8575b6107ca8183611678565b8101906120ec565b386107aa565b503d6107c0565b6107e7612101565b6107a2565b503461000e57600036600319011261000e5760206040516127108152f35b606090600319011261000e576001600160a01b0390600435828116810361000e5791602435908116810361000e579060443590565b503461000e576106436108513661080a565b91336001600160a01b0382160361087a575b610875610870843361344f565b6133e9565b613597565b610883336132c9565b610863565b503461000e57604036600319011261000e5761271060243560043560005260086020526108b86040600020612058565b80516001600160a01b03161561092e575b6108fd816001600160601b0360206104fa9401511693848102948186041490151715610921575b516001600160a01b031690565b604080516001600160a01b0390921682529390920460208301529091829190820190565b61092961207d565b6108f0565b506104fa6108fd61093d612032565b9150506108c9565b503461000e57600036600319011261000e576020600b54604051908152f35b503461000e57600036600319011261000e576020600e546000198101908111610990575b604051908152f35b61099861207d565b610988565b503461000e57602036600319011261000e576109b76105b6565b600a54604051630f6266a760e01b81523060048201523360248201526001600160a01b0380831693610a3e92610a09906020816044818a5afa908115610a6c575b600091610a4e575b5061042761210e565b16928360405191610a1983611617565b601183527047756172643a2073616d652076616c756560781b602084015214156120c0565b6001600160a01b03191617600a55005b610a66915060203d81116107d8576107ca8183611678565b38610a00565b610a74612101565b6109f8565b503461000e57600036600319011261000e5760206040516daaeb6d7670e522a718067333cd4e8152f35b503461000e57610aff610ab53661080a565b6001600160a01b0383163314159290919083610b31575b60405193610ad985611640565b60008552610b23575b610aef610870843361344f565b610afa838383613597565b613777565b15610b0657005b60405162461bcd60e51b815280610b1f600482016136ae565b0390fd5b610b2c336132c9565b610ae2565b610b3a336132c9565b610acc565b503461000e57604036600319011261000e5760043567ffffffffffffffff60243581811161000e573660238201121561000e57806004013591821161000e576024810190602483369201011161000e57600a54604051630f6266a760e01b81523060048201523360248201527f32ca4bd288f17c941679e795f9f3eb354b8c940b37c6d25a0b56d5017bc2355593610d229390926104ee92602092610d14929091610c10918590829060449082906001600160a01b03165afa908115610d3e575b600091610d27575061042761210e565b600088815260026020526040902054610c33906001600160a01b0316151561041f565b610c69610c52610c4d8a6000526015602052604060002090565b612d18565b848151910120610c60612dbc565b146104276130ca565b610ca2610c9a610c9661067f610c80368a876116d4565b8781519101206000526014602052604060002090565b1590565b6104276130f9565b610cd6610cc9610cb33688856116d4565b8581519101206000526014602052604060002090565b805460ff19166001179055565b610cf48582610cef8b6000526015602052604060002090565b613186565b610cfc612def565b94610d0e604051968795860190612e12565b9161325c565b03601f198101835282611678565b0390a2005b610a669150853d87116107d8576107ca8183611678565b610d46612101565b610c00565b604435906001600160601b038216820361000e57565b602435906001600160601b038216820361000e57565b503461000e57606036600319011261000e57610d916105cc565b610d99610d4b565b600a54604051630f6266a760e01b81523060048201523360248201529192916001600160a01b0391610def9190602090829085168180604481015b03915afa908115610a6c57600091610a4e575061042761210e565b610e066127106001600160601b038516111561326a565b811615610e7c57610e3e61064392610e2e610e1f61169a565b6001600160a01b039094168452565b6001600160601b03166020830152565b610e546004356000526008602052604060002090565b815160209092015160a01b6001600160a01b0319166001600160a01b03909216919091179055565b60405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606490fd5b503461000e57602036600319011261000e5760206105a4600435611eee565b503461000e57602036600319011261000e576004356000818152600260205260409020546104fa9161075691610f20906001600160a01b0316151561041f565b610f2981611eee565b610f46610f34612358565b6001600160a01b0392831633146120c0565b610f5a826000526016602052604060002090565b546012549091906001600160a01b0316610f7d610f768461228e565b908361267c565b929050600193610f9f610f8f8261226a565b6000526010602052604060002090565b5461105e575b506000908415610fd3575050506000925b610fbf816123b1565b60008181526016602052604081205561277d565b602061100860ff94610fe6600c54612387565b85604051958680958194633ac13e5760e11b8352600483019190602083019252565b0393165af1918215611051575b91611023575b501692610fb6565b611044915060203d811161104a575b61103c8183611678565b8101906123a2565b3861101b565b503d611032565b611059612101565b611015565b93506110bb6110a76110826110728761226a565b600052600f602052604060002090565b546110a16110976110928961226a565b6121e0565b90549060031b1c90565b90612395565b6110b3610f8f8761226a565b549084612554565b9384610fa5576110e2610f8f6110dc6110d6610f8f8561226a565b5461226a565b9261226a565b5538610fa5565b503461000e57602036600319011261000e576001600160a01b0361110b6105b6565b1680156111345760005260036020526104fa604060002054604051918291829190602083019252565b60405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608490fd5b503461000e576000806003193601126105825760065481906001600160a01b038116906111ba338314611e5a565b6001600160a01b0319166006557f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461000e57602036600319011261000e576001600160a01b036112106105b6565b1660005260186020526020604060002054604051908152f35b503461000e57602036600319011261000e576112436105b6565b600a54604051630f6266a760e01b81523060048201523360248201526001600160a01b039291611280919060209082908616818060448101610dd4565b61129d826013549216928361129361213a565b91841614156120c0565b6112b06112a8612168565b8315156120c0565b6001600160a01b03191617601355005b503461000e57600036600319011261000e576020600d54604051908152f35b503461000e57602036600319011261000e57600a54604051630f6266a760e01b815230600482015233602482015261132a9160209082906001600160a01b0316818060448101610dd4565b600435600090815260086020526040812055005b503461000e57600036600319011261000e576006546040516001600160a01b039091168152602090f35b503461000e57600080600319360112610582576040519080600180549161138e83611f66565b8086529282811690811561055857506001146113b4576104fa856104ee81870382611678565b92508083527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b8284106113f65750505081016020016104ee826104fa6104de565b805460208587018101919091529093019281016113db565b503461000e57604036600319011261000e576114286105b6565b602435611434816106db565b61143d826132c9565b6001600160a01b038216913383146114bf578161147c61148d9233600052600560205260406000209060018060a01b0316600052602052604060002090565b9060ff801983541691151516179055565b604051901515815233907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190602090a3005b60405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606490fd5b503461000e5760008060031936011261058257600a54604051630f6266a760e01b815230600482015233602482015261156391602090829060449082906001600160a01b03165afa90811561156e575b8391610a4e575061042761210e565b806007558060095580f35b611576612101565b611554565b503461000e57602036600319011261000e576115956105b6565b600a54604051630f6266a760e01b81523060048201523360248201526001600160a01b0392916115d2919060209082908616818060448101610dd4565b6115e5826011549216928361129361213a565b6115f06112a8612168565b6001600160a01b03191617601155005b50634e487b7160e01b600052604160045260246000fd5b6040810190811067ffffffffffffffff82111761163357604052565b61163b611600565b604052565b6020810190811067ffffffffffffffff82111761163357604052565b6060810190811067ffffffffffffffff82111761163357604052565b90601f8019910116810190811067ffffffffffffffff82111761163357604052565b604051906116a782611617565b565b60209067ffffffffffffffff81116116c7575b601f01601f19160190565b6116cf611600565b6116bc565b9291926116e0826116a9565b916116ee6040519384611678565b82948184528183011161000e578281602093846000960137010152565b503461000e57608036600319011261000e576117256105b6565b61172d6105cc565b906044356064359267ffffffffffffffff841161000e573660238501121561000e57611766610aff9436906024816004013591016116d4565b92336001600160a01b03821603610b2357610aef610870843361344f565b503461000e57600036600319011261000e57600060206040516117a681611617565b8281520152604080516117b881611617565b6009546001600160601b039081602081831694858152019160601c168152835192835251166020820152f35b503461000e57602036600319011261000e576004356000818152600260205260409020546104fa9161182991611824906001600160a01b0316151561041f565b612ef8565b604051918291602083526020830190610468565b503461000e57602036600319011261000e576118576105b6565b600a54604051630f6266a760e01b81523060048201523360248201526001600160a01b039291611894919060209082908616818060448101610dd4565b6118a7826012549216928361129361213a565b6118b26112a8612168565b6001600160a01b03191617601255005b503461000e57606036600319011261000e576104fa611a076118e26105b6565b600a54604051630f6266a760e01b8152306004820152336024828101919091526119ec929035916119269160209082906001600160a01b0316818060448101610dd4565b611931610732612198565b611941600d54151561042761296f565b6000198101818111611a25575b600e541115611a18575b600e60005261198e7fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fc820154151561042761296f565b6119cf6119a86119a36110976110928561226a565b61226a565b6119b46110928461226a565b90919082549060031b600019811b9283911b16911916179055565b6119e26119dd600d5461226a565b600d55565b6044359083612ad2565b91829160018060a01b03166000526018602052604060002090565b556040519081529081906020820190565b611a206121c9565b611958565b611a2d61207d565b61194e565b503461000e57600036600319011261000e576020600c54604051908152f35b503461000e57602036600319011261000e576040611a7060043561228e565b82519182526020820152f35b503461000e57602036600319011261000e576104fa611abe600435611aa0816106db565b601354611ab9906001600160a01b039081908116610726565b612c6d565b60405190151581529081906020820190565b503461000e57602036600319011261000e57600a54604051630f6266a760e01b8152306004828101919091523360248301523591611b22919060209082906001600160a01b0316818060448101610dd4565b80600c557f4f441af7cfd7ca1e0f18c1dae2f9a5401c997fd7f7ff246b6c89b67312302c6b600080a2005b503461000e57604036600319011261000e57602060ff611b9f611b6e6105b6565b611b766105cc565b6001600160a01b0391821660009081526005865260408082209290931681526020919091522090565b54166040519015158152f35b503461000e57602036600319011261000e57611bc56105b6565b6006546001600160a01b0390611bde9082163314611e5a565b811615611bee5761064390611ea5565b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b503461000e57606036600319011261000e57611c5c6105b6565b611c64610d61565b611c6c610d4b565b600a54604051630f6266a760e01b81523060048201523360248201526020946001600160a01b0394929091611cc0918790829060449082908a165afa908115611e4d575b600091611e36575061042761210e565b6001600160601b0393611ce86127108686168786160196808811611e29575b8716111561326a565b8116938415611de45794611d60611dc192611d397fb8e5032b0e405c7f726d44adcae73cc1939b1c7988441ea33922a7723d3345b59798611d2a610e1f61169a565b6001600160601b031682850152565b805160209091015160a01b6001600160a01b0319166001600160a01b039190911617600755565b611d8984611d6c61169a565b6001600160601b0386168152928301906001600160601b03169052565b6001600160601b038151166009549160206001600160601b0360601b91015160601b169167ffffffffffffffff60c01b161717600955565b604080516001600160601b03928316815292909116602083015281908101610d22565b60405162461bcd60e51b815260048101879052601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606490fd5b611e3161207d565b611cdf565b610a669150873d89116107d8576107ca8183611678565b611e55612101565b611cb0565b15611e6157565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b600680546001600160a01b039283166001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b6000908152600260205260409020546001600160a01b03168015611f0f5790565b60405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608490fd5b90600182811c92168015611f96575b6020831014611f8057565b634e487b7160e01b600052602260045260246000fd5b91607f1691611f75565b6000818152600260205260409020546001600160a01b031615611fd8576000908152600460205260409020546001600160a01b031690565b60405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608490fd5b6040519061203f82611617565b6007546001600160a01b038116835260a01c6020830152565b9060405161206581611617565b91546001600160a01b038116835260a01c6020830152565b50634e487b7160e01b600052601160045260246000fd5b604051906120a182611617565b601082526f141bdd1a5bdb8e881ddc9bdb99c81a5960821b6020830152565b156120c85750565b60405162461bcd60e51b815260206004820152908190610b1f906024830190610468565b9081602091031261000e575161049e816106db565b506040513d6000823e3d90fd5b6040519061211b82611617565b601082526f47756172643a204e6f2072696768747360801b6020830152565b6040519061214782611617565b6012825271506f74696f6e3a2073616d652076616c756560701b6020830152565b6040519061217582611617565b6014825273506f74696f6e3a207a65726f206164647265737360601b6020830152565b604051906121a582611617565b6015825274141bdd1a5bdb8e881b9bc81e995c9bc81b195d995b605a1b6020830152565b50634e487b7160e01b600052603260045260246000fd5b600e54811015612218575b600e6000527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0190600090565b6122206121c9565b6121eb565b60175481101561225d575b60176000527fc624b66cc0138b8fabc209247f72d758e1cf3343756d543badbf24212bed8c150190600090565b6122656121c9565b612230565b60001981019190821161227957565b6116a761207d565b9190820391821161227957565b9061229a6112a8612198565b6017546122d56040516122ac81611617565b6013815272141bdd1a5bdb8e881ddc9bdb99c81b195d995b606a1b6020820152828511156120c0565b60018314612315575061049e6110976123086122fb600119860186811161230d57612225565b90549060031b1c9461226a565b612225565b61230861207d565b9091501561234b575b60176000527fc624b66cc0138b8fabc209247f72d758e1cf3343756d543badbf24212bed8c155461032091565b6123536121c9565b61231e565b6040519061236582611617565b60138252722837ba34b7b71d103bb937b7339037bbb732b960691b6020830152565b906001820180921161227957565b9190820180921161227957565b9081602091031261000e575190565b6123ba81611eee565b6123c38261243b565b6001600160a01b03166000818152600360205260408120805491929160001981019190821161242e575b5582825260026020526040822080546001600160a01b03191690557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8280a4565b61243661207d565b6123ed565b600081815260046020526040812080546001600160a01b03191690556001600160a01b0361246883611eee565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258280a4565b600082815260046020526040902080546001600160a01b0319166001600160a01b0383161790556001600160a01b03806124c884611eee565b169116907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4565b604090805160011015612504570190565b61250c6121c9565b0190565b9060609160408101918152602092816040858094015285518094520193019160005b828110612540575050505090565b835185529381019392810192600101612532565b916125b292602092604051926125698461165c565b60028452848401604036823781830390838211612605575b8551156125f8575b52612593846124f3565b52600060405180968195829463116cc47f60e21b845260048401612510565b03926001600160a01b03165af19081156125eb575b6000916125d357501590565b610c96915060203d811161104a5761103c8183611678565b6125f3612101565b6125c7565b6126006121c9565b612589565b61260d61207d565b612581565b6040519061014080830183811067ffffffffffffffff821117612638575b604052368337565b612640611600565b612630565b6001906000198114612655570190565b61250c61207d565b90600a81101561266f575b60051b0190565b6126776121c9565b612668565b929192612687612612565b5061269a82612694612612565b95612281565b60009283925b600a84106126b057505050509190565b9091929361274561274b9161272d61271a612713876126ef604051633ac13e5760e11b81528b818b816000816020978896600483019190602083019252565b03926001600160a01b03165af1918215612770575b600092612753575b5050612395565b61ffff1690565b612724898c61265d565b9061ffff169052565b6110a161271361273d898c61265d565b5161ffff1690565b94612645565b9291906126a0565b6127699250803d1061104a5761103c8183611678565b388061270c565b612778612101565b612704565b929060018060a01b036011541691604051938492630610bbd160e11b845286600485015233602485015260448401906000915b600a831061285e5750505060006020946127f261022494869415156101848601526127df6101a4860160019052565b6101c4850184905260ff166101e4850152565b60016102048401525af18015612851575b612833575b5080337fc4b27f09c64550fd678a5b3c3a00f454814732e346e0f1c79d0add8f980346de600080a390565b61284a9060203d811161104a5761103c8183611678565b5038612808565b612859612101565b612803565b815161ffff168152879550600190920191602091820191016127b0565b6040519061288882611617565b6013825272141bdd1a5bdb8e88189bde081b9bdd081cd95d606a1b6020830152565b604051906128b782611617565b60128252710a0dee8d2dedce674409cdee840c240c4def60731b6020830152565b604081019181526060602091604083820152600e548094520191600e6000527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd916000905b82821061292b575050505090565b83548552938401936001938401939091019061291d565b6040519061294f82611617565b60118252702837ba34b7b71d103a393c9030b3b0b4b760791b6020830152565b6040519061297c82611617565b601082526f141bdd1a5bdb8e881cdbdb19081bdd5d60821b6020830152565b61049e92916129ab600e5461226a565b9015612a0c575b806129cf6129c5611097612a06946121e0565b151561042761296f565b6129ec6129e682600052600f602052604060002090565b54612387565b612a0082600052600f602052604060002090565b55612387565b90612ad2565b50612a0660006020612a56612a37612a2b60125460018060a01b031690565b6001600160a01b031690565b600d5460405194858094819363116cc47f60e21b8352600483016128d8565b03925af1908115612ac5575b600091612aa7575b50612aa081612a88612a7e611097836121e0565b1515610427612942565b6119b4612a9a6119a3611097846121e0565b916121e0565b90506129b2565b612abf915060203d811161104a5761103c8183611678565b38612a6a565b612acd612101565b612a62565b612add6112a8612198565b600b805460010190556000838152601660205260408120839055906001600160a01b038116908115612bdd578492612bb17f95b18bbe5373dcbe675d3ab2ae6e3888392575c51b8b8c9c3cbbdb431af1929992612b5a612b55610c9688600052600260205260018060a01b0360406000205416151590565b612c21565b6001600160a01b0381166000908152600360205260409020612b7c8154612387565b9055612b92866000526002602052604060002090565b80546001600160a01b0319166001600160a01b03909216919091179055565b8383827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a480a490565b606460405162461bcd60e51b815260206004820152602060248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b15612c2857565b60405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606490fd5b600d5415612cf857612c8d575b612c85600d5461226a565b600d55600190565b600e547fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fc600019820191808311612d0b575b80831015612cfe575b600e600052015415612cf857806119b4612a9a612ce7612cf3946121e0565b90549060031b1c61226a565b612c7a565b50600090565b612d066121c9565b612cc8565b612d1361207d565b612cbf565b9060405191826000825492612d2c84611f66565b908184526001948581169081600014612d995750600114612d56575b50506116a792500383611678565b9093915060005260209081600020936000915b818310612d815750506116a793508201013880612d48565b85548884018501529485019487945091830191612d69565b9150506116a794506020925060ff191682840152151560051b8201013880612d48565b6000604051612dca81611640565b527fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47090565b60405190612dfc82611617565b6007825266697066733a2f2f60c81b6020830152565b9061250c60209282815194859201610445565b600092918154612e3481611f66565b92600191808316908115612e8d5750600114612e51575b50505050565b90919293945060005260209081600020906000915b858310612e7c5750505050019038808080612e4b565b805485840152918301918101612e66565b60ff1916845250505081151590910201915038808080612e4b565b60405190612eb58261165c565b602e82526d2d1a2a232aa233b3a3a1229b343160911b6040837f516d5a3962435452424e7767796875615836503758666d38443163376a63554d60208201520152565b612f0c816000526016602052604060002090565b5490612f25610c4d826000526015602052604060002090565b60208151910120612f34612dbc565b03612fa4575061049e612f7891610d14612f8e612f4f612def565b92612f78612f7e612f67612f61612ea8565b93613001565b926040519889976020890190612e12565b90612e12565b632f706f2f60e01b815260040190565b6917b6b2ba30973539b7b760b11b8152600a0190565b612fdc915061049e90610d14612fcc612fbb612def565b926000526015602052604060002090565b6040519485936020850190612e12565b90612e25565b906020918051821015612ff457010190565b612ffc6121c9565b010190565b80156130ac57806000908282935b613098575061301d836116a9565b9261302b6040519485611678565b80845281601f1961303b836116a9565b013660208701375b61304d5750505090565b6130569061226a565b90600a906030828206810180911161308b575b60f81b6001600160f81b031916841a6130828487612fe2565b53049081613043565b61309361207d565b613069565b926130a4600a91612645565b93048061300f565b506040516130b981611617565b60018152600360fc1b602082015290565b604051906130d782611617565b6013825272141bdd1a5bdb8e88185b1c9958591e481cd95d606a1b6020830152565b6040519061310682611617565b601982527f506f74696f6e3a206d65746120616c72656164792075736564000000000000006020830152565b90601f811161314057505050565b600091825260208220906020601f850160051c8301941061317c575b601f0160051c01915b82811061317157505050565b818155600101613165565b909250829061315c565b90929167ffffffffffffffff811161324f575b6131ad816131a78454611f66565b84613132565b6000601f82116001146131e757819293946000926131dc575b50508160011b916000199060031b1c1916179055565b0135905038806131c6565b601f198216946131fc84600052602060002090565b91805b87811061323757508360019596971061321d575b505050811b019055565b0135600019600384901b60f8161c19169055388080613213565b909260206001819286860135815501940191016131ff565b613257611600565b613199565b908092918237016000815290565b1561327157565b60405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608490fd5b6daaeb6d7670e522a718067333cd4e803b6132e2575050565b604051633185c44d60e21b81523060048201526001600160a01b038316602482015290602090829060449082905afa90811561336a575b60009161334c575b501561332a5750565b604051633b79c77360e21b81526001600160a01b039091166004820152602490fd5b613364915060203d81116107d8576107ca8183611678565b38613321565b613372612101565b613319565b1561337e57565b60405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608490fd5b156133f057565b60405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608490fd5b6000828152600260205260409020546001600160a01b0316156134e55761347582611eee565b9160018060a01b03908183169282851684149485156134b4575b5050831561349e575b50505090565b6134aa91929350611fa0565b1614388080613498565b6001600160a01b0316600090815260056020526040902091945060ff916134db9190610668565b541692388061348f565b60405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608490fd5b1561354657565b60405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b906135a183611eee565b6001600160a01b03838116929091821683900361365b576135f0613634928216946135cd86151561353f565b6135d68761243b565b6001600160a01b0316600090815260036020526040902090565b6135fa815461226a565b90556001600160a01b038116600090815260036020526040902061361e8154612387565b9055612b92856000526002602052604060002090565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4565b60405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608490fd5b60809060208152603260208201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60608201520190565b9081602091031261000e575161049e81610350565b6001600160a01b03918216815291166020820152604081019190915260806060820181905261049e92910190610468565b3d15613772573d90613758826116a9565b916137666040519384611678565b82523d6000602084013e565b606090565b92909190823b15613831576137aa926020926000604051809681958294630a85bd0160e11b9a8b85523360048601613716565b03926001600160a01b03165af160009181613801575b506137f3576137cd613747565b805190816137ee5760405162461bcd60e51b815280610b1f600482016136ae565b602001fd5b6001600160e01b0319161490565b61382391925060203d811161382a575b61381b8183611678565b810190613701565b90386137c0565b503d613811565b5050505060019056fea2646970667358221220cf2ae4c2d29855bdc1ec059c010a29b1a6069e2f8aff2717cef0ec6dbf2445d664736f6c63430008110033bb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd00000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000dcf111a56573ea8fd1bfee790b45bb433017966c000000000000000000000000d2fdfb3aae284f9f7308c596aa2eb6dc8af599ee000000000000000000000000c657ced190c0077a1d18524f5451df696c7606e100000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000e556e6465616473506f74696f6e730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004554e5a50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000047e00000000000000000000000000000000000000000000000000000000000004f6000000000000000000000000000000000000000000000000000000000000056e00000000000000000000000000000000000000000000000000000000000005d200000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000d0500000000000000000000000000000000000000000000000000000000000008ae00000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000029b00000000000000000000000000000000000000000000000000000000000001bc00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361015610013575b600080fd5b60003560e01c806301ffc9a71461034757806305c58df21461033e57806306fdde0314610335578063081812fc1461032c578063095ea7b3146103235780630d9b13c41461031a578063180b0d7e1461031157806323b872dd146103085780632a55205a146102ff5780632ddbd13a146102f65780633798fe56146102ed57806337d2aae9146102e457806341f43434146102db57806342842e0e146102d2578063512c97e9146102c95780635944c753146102c05780636352211e146102b7578063690e7c09146102ae57806370a08231146102a5578063715018a61461029c57806376082715146102935780637b43b8271461028a57806387b95404146102815780638a616bc0146102785780638da5cb5b1461026f57806395d89b4114610266578063a22cb4651461025d578063aa1b103f14610254578063b45392ca1461024b578063b88d4fde14610242578063b9140a5a14610239578063c87b56dd14610230578063ca9c0bad14610227578063cc26f3d21461021e578063d6e18b3e14610215578063dbed85581461020c578063dc87599714610203578063e0aa90a4146101fa578063e985e9c5146101f1578063f2fde38b146101e85763f5fe3526146101e057600080fd5b61000e611c42565b5061000e611bab565b5061000e611b4d565b5061000e611ad0565b5061000e611a7c565b5061000e611a51565b5061000e611a32565b5061000e6118c2565b5061000e61183d565b5061000e6117e4565b5061000e611784565b5061000e61170b565b5061000e61157b565b5061000e611504565b5061000e61140e565b5061000e611368565b5061000e61133e565b5061000e6112df565b5061000e6112c0565b5061000e611229565b5061000e6111ee565b5061000e61118c565b5061000e6110e9565b5061000e610ee0565b5061000e610ec1565b5061000e610d77565b5061000e610b3f565b5061000e610aa3565b5061000e610a79565b5061000e61099d565b5061000e610964565b5061000e610945565b5061000e610888565b5061000e61083f565b5061000e6107ec565b5061000e6106e5565b5061000e6105e2565b5061000e610585565b5061000e6104a1565b5061000e6103eb565b5061000e610362565b6001600160e01b031981160361000e57565b503461000e57602036600319011261000e57602060043561038281610350565b63ffffffff60e01b1663152a902d60e11b81149081156103a8575b506040519015158152f35b6380ac58cd60e01b8114915081156103da575b81156103c9575b503861039d565b6301ffc9a760e01b149050386103c2565b635b5e139f60e01b811491506103bb565b503461000e57602036600319011261000e5760043560008181526002602052604090205461042d906001600160a01b031615155b610427612094565b906120c0565b60005260166020526020604060002054604051908152f35b60005b8381106104585750506000910152565b8181015183820152602001610448565b9060209161048181518092818552858086019101610445565b601f01601f1916010190565b90602061049e928181520190610468565b90565b503461000e5760008060031936011261058257604051908080546104c481611f66565b8085529160019180831690811561055857506001146104fe575b6104fa856104ee81870382611678565b6040519182918261048d565b0390f35b80809450527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b8284106105405750505081016020016104ee826104fa6104de565b80546020858701810191909152909301928101610525565b8695506104fa969350602092506104ee94915060ff191682840152151560051b82010192936104de565b80fd5b503461000e57602036600319011261000e5760206105a4600435611fa0565b6040516001600160a01b039091168152f35b600435906001600160a01b038216820361000e57565b602435906001600160a01b038216820361000e57565b503461000e57604036600319011261000e576105fc6105b6565b602435610608826132c9565b61061181611eee565b916001600160a01b03808416908216811461068c576106439361063e913314908115610645575b50613377565b61248f565b005b6001600160a01b03166000908152600560205260409020610686915061067f9033905b9060018060a01b0316600052602052604060002090565b5460ff1690565b38610638565b60405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608490fd5b8015150361000e57565b503461000e57606036600319011261000e576104fa6107566107056105b6565b602435610711816106db565b60135461074d906001600160a01b0390819081165b1661073a61073261287b565b8215156120c0565b3314908115610766575b506104276128aa565b6044359161299b565b6040519081529081906020820190565b600a54604051630f6266a760e01b8152306004820152336024820152925060209183916044918391166001600160a01b03165afa9081156107df575b6000916107b1575b5038610744565b6107d2915060203d81116107d8575b6107ca8183611678565b8101906120ec565b386107aa565b503d6107c0565b6107e7612101565b6107a2565b503461000e57600036600319011261000e5760206040516127108152f35b606090600319011261000e576001600160a01b0390600435828116810361000e5791602435908116810361000e579060443590565b503461000e576106436108513661080a565b91336001600160a01b0382160361087a575b610875610870843361344f565b6133e9565b613597565b610883336132c9565b610863565b503461000e57604036600319011261000e5761271060243560043560005260086020526108b86040600020612058565b80516001600160a01b03161561092e575b6108fd816001600160601b0360206104fa9401511693848102948186041490151715610921575b516001600160a01b031690565b604080516001600160a01b0390921682529390920460208301529091829190820190565b61092961207d565b6108f0565b506104fa6108fd61093d612032565b9150506108c9565b503461000e57600036600319011261000e576020600b54604051908152f35b503461000e57600036600319011261000e576020600e546000198101908111610990575b604051908152f35b61099861207d565b610988565b503461000e57602036600319011261000e576109b76105b6565b600a54604051630f6266a760e01b81523060048201523360248201526001600160a01b0380831693610a3e92610a09906020816044818a5afa908115610a6c575b600091610a4e575b5061042761210e565b16928360405191610a1983611617565b601183527047756172643a2073616d652076616c756560781b602084015214156120c0565b6001600160a01b03191617600a55005b610a66915060203d81116107d8576107ca8183611678565b38610a00565b610a74612101565b6109f8565b503461000e57600036600319011261000e5760206040516daaeb6d7670e522a718067333cd4e8152f35b503461000e57610aff610ab53661080a565b6001600160a01b0383163314159290919083610b31575b60405193610ad985611640565b60008552610b23575b610aef610870843361344f565b610afa838383613597565b613777565b15610b0657005b60405162461bcd60e51b815280610b1f600482016136ae565b0390fd5b610b2c336132c9565b610ae2565b610b3a336132c9565b610acc565b503461000e57604036600319011261000e5760043567ffffffffffffffff60243581811161000e573660238201121561000e57806004013591821161000e576024810190602483369201011161000e57600a54604051630f6266a760e01b81523060048201523360248201527f32ca4bd288f17c941679e795f9f3eb354b8c940b37c6d25a0b56d5017bc2355593610d229390926104ee92602092610d14929091610c10918590829060449082906001600160a01b03165afa908115610d3e575b600091610d27575061042761210e565b600088815260026020526040902054610c33906001600160a01b0316151561041f565b610c69610c52610c4d8a6000526015602052604060002090565b612d18565b848151910120610c60612dbc565b146104276130ca565b610ca2610c9a610c9661067f610c80368a876116d4565b8781519101206000526014602052604060002090565b1590565b6104276130f9565b610cd6610cc9610cb33688856116d4565b8581519101206000526014602052604060002090565b805460ff19166001179055565b610cf48582610cef8b6000526015602052604060002090565b613186565b610cfc612def565b94610d0e604051968795860190612e12565b9161325c565b03601f198101835282611678565b0390a2005b610a669150853d87116107d8576107ca8183611678565b610d46612101565b610c00565b604435906001600160601b038216820361000e57565b602435906001600160601b038216820361000e57565b503461000e57606036600319011261000e57610d916105cc565b610d99610d4b565b600a54604051630f6266a760e01b81523060048201523360248201529192916001600160a01b0391610def9190602090829085168180604481015b03915afa908115610a6c57600091610a4e575061042761210e565b610e066127106001600160601b038516111561326a565b811615610e7c57610e3e61064392610e2e610e1f61169a565b6001600160a01b039094168452565b6001600160601b03166020830152565b610e546004356000526008602052604060002090565b815160209092015160a01b6001600160a01b0319166001600160a01b03909216919091179055565b60405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606490fd5b503461000e57602036600319011261000e5760206105a4600435611eee565b503461000e57602036600319011261000e576004356000818152600260205260409020546104fa9161075691610f20906001600160a01b0316151561041f565b610f2981611eee565b610f46610f34612358565b6001600160a01b0392831633146120c0565b610f5a826000526016602052604060002090565b546012549091906001600160a01b0316610f7d610f768461228e565b908361267c565b929050600193610f9f610f8f8261226a565b6000526010602052604060002090565b5461105e575b506000908415610fd3575050506000925b610fbf816123b1565b60008181526016602052604081205561277d565b602061100860ff94610fe6600c54612387565b85604051958680958194633ac13e5760e11b8352600483019190602083019252565b0393165af1918215611051575b91611023575b501692610fb6565b611044915060203d811161104a575b61103c8183611678565b8101906123a2565b3861101b565b503d611032565b611059612101565b611015565b93506110bb6110a76110826110728761226a565b600052600f602052604060002090565b546110a16110976110928961226a565b6121e0565b90549060031b1c90565b90612395565b6110b3610f8f8761226a565b549084612554565b9384610fa5576110e2610f8f6110dc6110d6610f8f8561226a565b5461226a565b9261226a565b5538610fa5565b503461000e57602036600319011261000e576001600160a01b0361110b6105b6565b1680156111345760005260036020526104fa604060002054604051918291829190602083019252565b60405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608490fd5b503461000e576000806003193601126105825760065481906001600160a01b038116906111ba338314611e5a565b6001600160a01b0319166006557f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461000e57602036600319011261000e576001600160a01b036112106105b6565b1660005260186020526020604060002054604051908152f35b503461000e57602036600319011261000e576112436105b6565b600a54604051630f6266a760e01b81523060048201523360248201526001600160a01b039291611280919060209082908616818060448101610dd4565b61129d826013549216928361129361213a565b91841614156120c0565b6112b06112a8612168565b8315156120c0565b6001600160a01b03191617601355005b503461000e57600036600319011261000e576020600d54604051908152f35b503461000e57602036600319011261000e57600a54604051630f6266a760e01b815230600482015233602482015261132a9160209082906001600160a01b0316818060448101610dd4565b600435600090815260086020526040812055005b503461000e57600036600319011261000e576006546040516001600160a01b039091168152602090f35b503461000e57600080600319360112610582576040519080600180549161138e83611f66565b8086529282811690811561055857506001146113b4576104fa856104ee81870382611678565b92508083527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b8284106113f65750505081016020016104ee826104fa6104de565b805460208587018101919091529093019281016113db565b503461000e57604036600319011261000e576114286105b6565b602435611434816106db565b61143d826132c9565b6001600160a01b038216913383146114bf578161147c61148d9233600052600560205260406000209060018060a01b0316600052602052604060002090565b9060ff801983541691151516179055565b604051901515815233907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190602090a3005b60405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606490fd5b503461000e5760008060031936011261058257600a54604051630f6266a760e01b815230600482015233602482015261156391602090829060449082906001600160a01b03165afa90811561156e575b8391610a4e575061042761210e565b806007558060095580f35b611576612101565b611554565b503461000e57602036600319011261000e576115956105b6565b600a54604051630f6266a760e01b81523060048201523360248201526001600160a01b0392916115d2919060209082908616818060448101610dd4565b6115e5826011549216928361129361213a565b6115f06112a8612168565b6001600160a01b03191617601155005b50634e487b7160e01b600052604160045260246000fd5b6040810190811067ffffffffffffffff82111761163357604052565b61163b611600565b604052565b6020810190811067ffffffffffffffff82111761163357604052565b6060810190811067ffffffffffffffff82111761163357604052565b90601f8019910116810190811067ffffffffffffffff82111761163357604052565b604051906116a782611617565b565b60209067ffffffffffffffff81116116c7575b601f01601f19160190565b6116cf611600565b6116bc565b9291926116e0826116a9565b916116ee6040519384611678565b82948184528183011161000e578281602093846000960137010152565b503461000e57608036600319011261000e576117256105b6565b61172d6105cc565b906044356064359267ffffffffffffffff841161000e573660238501121561000e57611766610aff9436906024816004013591016116d4565b92336001600160a01b03821603610b2357610aef610870843361344f565b503461000e57600036600319011261000e57600060206040516117a681611617565b8281520152604080516117b881611617565b6009546001600160601b039081602081831694858152019160601c168152835192835251166020820152f35b503461000e57602036600319011261000e576004356000818152600260205260409020546104fa9161182991611824906001600160a01b0316151561041f565b612ef8565b604051918291602083526020830190610468565b503461000e57602036600319011261000e576118576105b6565b600a54604051630f6266a760e01b81523060048201523360248201526001600160a01b039291611894919060209082908616818060448101610dd4565b6118a7826012549216928361129361213a565b6118b26112a8612168565b6001600160a01b03191617601255005b503461000e57606036600319011261000e576104fa611a076118e26105b6565b600a54604051630f6266a760e01b8152306004820152336024828101919091526119ec929035916119269160209082906001600160a01b0316818060448101610dd4565b611931610732612198565b611941600d54151561042761296f565b6000198101818111611a25575b600e541115611a18575b600e60005261198e7fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fc820154151561042761296f565b6119cf6119a86119a36110976110928561226a565b61226a565b6119b46110928461226a565b90919082549060031b600019811b9283911b16911916179055565b6119e26119dd600d5461226a565b600d55565b6044359083612ad2565b91829160018060a01b03166000526018602052604060002090565b556040519081529081906020820190565b611a206121c9565b611958565b611a2d61207d565b61194e565b503461000e57600036600319011261000e576020600c54604051908152f35b503461000e57602036600319011261000e576040611a7060043561228e565b82519182526020820152f35b503461000e57602036600319011261000e576104fa611abe600435611aa0816106db565b601354611ab9906001600160a01b039081908116610726565b612c6d565b60405190151581529081906020820190565b503461000e57602036600319011261000e57600a54604051630f6266a760e01b8152306004828101919091523360248301523591611b22919060209082906001600160a01b0316818060448101610dd4565b80600c557f4f441af7cfd7ca1e0f18c1dae2f9a5401c997fd7f7ff246b6c89b67312302c6b600080a2005b503461000e57604036600319011261000e57602060ff611b9f611b6e6105b6565b611b766105cc565b6001600160a01b0391821660009081526005865260408082209290931681526020919091522090565b54166040519015158152f35b503461000e57602036600319011261000e57611bc56105b6565b6006546001600160a01b0390611bde9082163314611e5a565b811615611bee5761064390611ea5565b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b503461000e57606036600319011261000e57611c5c6105b6565b611c64610d61565b611c6c610d4b565b600a54604051630f6266a760e01b81523060048201523360248201526020946001600160a01b0394929091611cc0918790829060449082908a165afa908115611e4d575b600091611e36575061042761210e565b6001600160601b0393611ce86127108686168786160196808811611e29575b8716111561326a565b8116938415611de45794611d60611dc192611d397fb8e5032b0e405c7f726d44adcae73cc1939b1c7988441ea33922a7723d3345b59798611d2a610e1f61169a565b6001600160601b031682850152565b805160209091015160a01b6001600160a01b0319166001600160a01b039190911617600755565b611d8984611d6c61169a565b6001600160601b0386168152928301906001600160601b03169052565b6001600160601b038151166009549160206001600160601b0360601b91015160601b169167ffffffffffffffff60c01b161717600955565b604080516001600160601b03928316815292909116602083015281908101610d22565b60405162461bcd60e51b815260048101879052601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606490fd5b611e3161207d565b611cdf565b610a669150873d89116107d8576107ca8183611678565b611e55612101565b611cb0565b15611e6157565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b600680546001600160a01b039283166001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b6000908152600260205260409020546001600160a01b03168015611f0f5790565b60405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608490fd5b90600182811c92168015611f96575b6020831014611f8057565b634e487b7160e01b600052602260045260246000fd5b91607f1691611f75565b6000818152600260205260409020546001600160a01b031615611fd8576000908152600460205260409020546001600160a01b031690565b60405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608490fd5b6040519061203f82611617565b6007546001600160a01b038116835260a01c6020830152565b9060405161206581611617565b91546001600160a01b038116835260a01c6020830152565b50634e487b7160e01b600052601160045260246000fd5b604051906120a182611617565b601082526f141bdd1a5bdb8e881ddc9bdb99c81a5960821b6020830152565b156120c85750565b60405162461bcd60e51b815260206004820152908190610b1f906024830190610468565b9081602091031261000e575161049e816106db565b506040513d6000823e3d90fd5b6040519061211b82611617565b601082526f47756172643a204e6f2072696768747360801b6020830152565b6040519061214782611617565b6012825271506f74696f6e3a2073616d652076616c756560701b6020830152565b6040519061217582611617565b6014825273506f74696f6e3a207a65726f206164647265737360601b6020830152565b604051906121a582611617565b6015825274141bdd1a5bdb8e881b9bc81e995c9bc81b195d995b605a1b6020830152565b50634e487b7160e01b600052603260045260246000fd5b600e54811015612218575b600e6000527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0190600090565b6122206121c9565b6121eb565b60175481101561225d575b60176000527fc624b66cc0138b8fabc209247f72d758e1cf3343756d543badbf24212bed8c150190600090565b6122656121c9565b612230565b60001981019190821161227957565b6116a761207d565b9190820391821161227957565b9061229a6112a8612198565b6017546122d56040516122ac81611617565b6013815272141bdd1a5bdb8e881ddc9bdb99c81b195d995b606a1b6020820152828511156120c0565b60018314612315575061049e6110976123086122fb600119860186811161230d57612225565b90549060031b1c9461226a565b612225565b61230861207d565b9091501561234b575b60176000527fc624b66cc0138b8fabc209247f72d758e1cf3343756d543badbf24212bed8c155461032091565b6123536121c9565b61231e565b6040519061236582611617565b60138252722837ba34b7b71d103bb937b7339037bbb732b960691b6020830152565b906001820180921161227957565b9190820180921161227957565b9081602091031261000e575190565b6123ba81611eee565b6123c38261243b565b6001600160a01b03166000818152600360205260408120805491929160001981019190821161242e575b5582825260026020526040822080546001600160a01b03191690557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8280a4565b61243661207d565b6123ed565b600081815260046020526040812080546001600160a01b03191690556001600160a01b0361246883611eee565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258280a4565b600082815260046020526040902080546001600160a01b0319166001600160a01b0383161790556001600160a01b03806124c884611eee565b169116907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4565b604090805160011015612504570190565b61250c6121c9565b0190565b9060609160408101918152602092816040858094015285518094520193019160005b828110612540575050505090565b835185529381019392810192600101612532565b916125b292602092604051926125698461165c565b60028452848401604036823781830390838211612605575b8551156125f8575b52612593846124f3565b52600060405180968195829463116cc47f60e21b845260048401612510565b03926001600160a01b03165af19081156125eb575b6000916125d357501590565b610c96915060203d811161104a5761103c8183611678565b6125f3612101565b6125c7565b6126006121c9565b612589565b61260d61207d565b612581565b6040519061014080830183811067ffffffffffffffff821117612638575b604052368337565b612640611600565b612630565b6001906000198114612655570190565b61250c61207d565b90600a81101561266f575b60051b0190565b6126776121c9565b612668565b929192612687612612565b5061269a82612694612612565b95612281565b60009283925b600a84106126b057505050509190565b9091929361274561274b9161272d61271a612713876126ef604051633ac13e5760e11b81528b818b816000816020978896600483019190602083019252565b03926001600160a01b03165af1918215612770575b600092612753575b5050612395565b61ffff1690565b612724898c61265d565b9061ffff169052565b6110a161271361273d898c61265d565b5161ffff1690565b94612645565b9291906126a0565b6127699250803d1061104a5761103c8183611678565b388061270c565b612778612101565b612704565b929060018060a01b036011541691604051938492630610bbd160e11b845286600485015233602485015260448401906000915b600a831061285e5750505060006020946127f261022494869415156101848601526127df6101a4860160019052565b6101c4850184905260ff166101e4850152565b60016102048401525af18015612851575b612833575b5080337fc4b27f09c64550fd678a5b3c3a00f454814732e346e0f1c79d0add8f980346de600080a390565b61284a9060203d811161104a5761103c8183611678565b5038612808565b612859612101565b612803565b815161ffff168152879550600190920191602091820191016127b0565b6040519061288882611617565b6013825272141bdd1a5bdb8e88189bde081b9bdd081cd95d606a1b6020830152565b604051906128b782611617565b60128252710a0dee8d2dedce674409cdee840c240c4def60731b6020830152565b604081019181526060602091604083820152600e548094520191600e6000527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd916000905b82821061292b575050505090565b83548552938401936001938401939091019061291d565b6040519061294f82611617565b60118252702837ba34b7b71d103a393c9030b3b0b4b760791b6020830152565b6040519061297c82611617565b601082526f141bdd1a5bdb8e881cdbdb19081bdd5d60821b6020830152565b61049e92916129ab600e5461226a565b9015612a0c575b806129cf6129c5611097612a06946121e0565b151561042761296f565b6129ec6129e682600052600f602052604060002090565b54612387565b612a0082600052600f602052604060002090565b55612387565b90612ad2565b50612a0660006020612a56612a37612a2b60125460018060a01b031690565b6001600160a01b031690565b600d5460405194858094819363116cc47f60e21b8352600483016128d8565b03925af1908115612ac5575b600091612aa7575b50612aa081612a88612a7e611097836121e0565b1515610427612942565b6119b4612a9a6119a3611097846121e0565b916121e0565b90506129b2565b612abf915060203d811161104a5761103c8183611678565b38612a6a565b612acd612101565b612a62565b612add6112a8612198565b600b805460010190556000838152601660205260408120839055906001600160a01b038116908115612bdd578492612bb17f95b18bbe5373dcbe675d3ab2ae6e3888392575c51b8b8c9c3cbbdb431af1929992612b5a612b55610c9688600052600260205260018060a01b0360406000205416151590565b612c21565b6001600160a01b0381166000908152600360205260409020612b7c8154612387565b9055612b92866000526002602052604060002090565b80546001600160a01b0319166001600160a01b03909216919091179055565b8383827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a480a490565b606460405162461bcd60e51b815260206004820152602060248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b15612c2857565b60405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606490fd5b600d5415612cf857612c8d575b612c85600d5461226a565b600d55600190565b600e547fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fc600019820191808311612d0b575b80831015612cfe575b600e600052015415612cf857806119b4612a9a612ce7612cf3946121e0565b90549060031b1c61226a565b612c7a565b50600090565b612d066121c9565b612cc8565b612d1361207d565b612cbf565b9060405191826000825492612d2c84611f66565b908184526001948581169081600014612d995750600114612d56575b50506116a792500383611678565b9093915060005260209081600020936000915b818310612d815750506116a793508201013880612d48565b85548884018501529485019487945091830191612d69565b9150506116a794506020925060ff191682840152151560051b8201013880612d48565b6000604051612dca81611640565b527fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47090565b60405190612dfc82611617565b6007825266697066733a2f2f60c81b6020830152565b9061250c60209282815194859201610445565b600092918154612e3481611f66565b92600191808316908115612e8d5750600114612e51575b50505050565b90919293945060005260209081600020906000915b858310612e7c5750505050019038808080612e4b565b805485840152918301918101612e66565b60ff1916845250505081151590910201915038808080612e4b565b60405190612eb58261165c565b602e82526d2d1a2a232aa233b3a3a1229b343160911b6040837f516d5a3962435452424e7767796875615836503758666d38443163376a63554d60208201520152565b612f0c816000526016602052604060002090565b5490612f25610c4d826000526015602052604060002090565b60208151910120612f34612dbc565b03612fa4575061049e612f7891610d14612f8e612f4f612def565b92612f78612f7e612f67612f61612ea8565b93613001565b926040519889976020890190612e12565b90612e12565b632f706f2f60e01b815260040190565b6917b6b2ba30973539b7b760b11b8152600a0190565b612fdc915061049e90610d14612fcc612fbb612def565b926000526015602052604060002090565b6040519485936020850190612e12565b90612e25565b906020918051821015612ff457010190565b612ffc6121c9565b010190565b80156130ac57806000908282935b613098575061301d836116a9565b9261302b6040519485611678565b80845281601f1961303b836116a9565b013660208701375b61304d5750505090565b6130569061226a565b90600a906030828206810180911161308b575b60f81b6001600160f81b031916841a6130828487612fe2565b53049081613043565b61309361207d565b613069565b926130a4600a91612645565b93048061300f565b506040516130b981611617565b60018152600360fc1b602082015290565b604051906130d782611617565b6013825272141bdd1a5bdb8e88185b1c9958591e481cd95d606a1b6020830152565b6040519061310682611617565b601982527f506f74696f6e3a206d65746120616c72656164792075736564000000000000006020830152565b90601f811161314057505050565b600091825260208220906020601f850160051c8301941061317c575b601f0160051c01915b82811061317157505050565b818155600101613165565b909250829061315c565b90929167ffffffffffffffff811161324f575b6131ad816131a78454611f66565b84613132565b6000601f82116001146131e757819293946000926131dc575b50508160011b916000199060031b1c1916179055565b0135905038806131c6565b601f198216946131fc84600052602060002090565b91805b87811061323757508360019596971061321d575b505050811b019055565b0135600019600384901b60f8161c19169055388080613213565b909260206001819286860135815501940191016131ff565b613257611600565b613199565b908092918237016000815290565b1561327157565b60405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608490fd5b6daaeb6d7670e522a718067333cd4e803b6132e2575050565b604051633185c44d60e21b81523060048201526001600160a01b038316602482015290602090829060449082905afa90811561336a575b60009161334c575b501561332a5750565b604051633b79c77360e21b81526001600160a01b039091166004820152602490fd5b613364915060203d81116107d8576107ca8183611678565b38613321565b613372612101565b613319565b1561337e57565b60405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608490fd5b156133f057565b60405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608490fd5b6000828152600260205260409020546001600160a01b0316156134e55761347582611eee565b9160018060a01b03908183169282851684149485156134b4575b5050831561349e575b50505090565b6134aa91929350611fa0565b1614388080613498565b6001600160a01b0316600090815260056020526040902091945060ff916134db9190610668565b541692388061348f565b60405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608490fd5b1561354657565b60405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b906135a183611eee565b6001600160a01b03838116929091821683900361365b576135f0613634928216946135cd86151561353f565b6135d68761243b565b6001600160a01b0316600090815260036020526040902090565b6135fa815461226a565b90556001600160a01b038116600090815260036020526040902061361e8154612387565b9055612b92856000526002602052604060002090565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4565b60405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608490fd5b60809060208152603260208201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60608201520190565b9081602091031261000e575161049e81610350565b6001600160a01b03918216815291166020820152604081019190915260806060820181905261049e92910190610468565b3d15613772573d90613758826116a9565b916137666040519384611678565b82523d6000602084013e565b606090565b92909190823b15613831576137aa926020926000604051809681958294630a85bd0160e11b9a8b85523360048601613716565b03926001600160a01b03165af160009181613801575b506137f3576137cd613747565b805190816137ee5760405162461bcd60e51b815280610b1f600482016136ae565b602001fd5b6001600160e01b0319161490565b61382391925060203d811161382a575b61381b8183611678565b810190613701565b90386137c0565b503d613811565b5050505060019056fea2646970667358221220cf2ae4c2d29855bdc1ec059c010a29b1a6069e2f8aff2717cef0ec6dbf2445d664736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000dcf111a56573ea8fd1bfee790b45bb433017966c000000000000000000000000d2fdfb3aae284f9f7308c596aa2eb6dc8af599ee000000000000000000000000c657ced190c0077a1d18524f5451df696c7606e100000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000e556e6465616473506f74696f6e730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004554e5a50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000047e00000000000000000000000000000000000000000000000000000000000004f6000000000000000000000000000000000000000000000000000000000000056e00000000000000000000000000000000000000000000000000000000000005d200000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000d0500000000000000000000000000000000000000000000000000000000000008ae00000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000029b00000000000000000000000000000000000000000000000000000000000001bc00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): UndeadsPotions
Arg [1] : symbol_ (string): UNZP
Arg [2] : rights_ (address): 0xDcF111A56573eA8fd1bfEE790B45bb433017966C
Arg [3] : zombie_ (address): 0xd2fdFb3aae284F9f7308c596AA2eB6DC8af599eE
Arg [4] : random_ (address): 0xC657ceD190C0077a1d18524f5451DF696c7606E1
Arg [5] : limits_ (uint256[]): 1150,1270,1390,1490,1500
Arg [6] : amounts_ (uint256[]): 3333,2222,1000,100,11
Arg [7] : women_ (uint256[]): 667,444,200,20,0
Arg [8] : childs_ (uint256): 5

-----Encoded View---------------
31 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 000000000000000000000000dcf111a56573ea8fd1bfee790b45bb433017966c
Arg [3] : 000000000000000000000000d2fdfb3aae284f9f7308c596aa2eb6dc8af599ee
Arg [4] : 000000000000000000000000c657ced190c0077a1d18524f5451df696c7606e1
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000320
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [10] : 556e6465616473506f74696f6e73000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [12] : 554e5a5000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [14] : 000000000000000000000000000000000000000000000000000000000000047e
Arg [15] : 00000000000000000000000000000000000000000000000000000000000004f6
Arg [16] : 000000000000000000000000000000000000000000000000000000000000056e
Arg [17] : 00000000000000000000000000000000000000000000000000000000000005d2
Arg [18] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000d05
Arg [21] : 00000000000000000000000000000000000000000000000000000000000008ae
Arg [22] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [24] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [25] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [26] : 000000000000000000000000000000000000000000000000000000000000029b
Arg [27] : 00000000000000000000000000000000000000000000000000000000000001bc
Arg [28] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [29] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [30] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

576:13289:22:-:0;;;;;;;;;-1:-1:-1;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::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;;;;;;576:13289:22;;;;;:::o;:::-;;;;;;;-1:-1:-1;;576:13289:22;;;;;;;;;;:::i;:::-;;;;;1548:26:6;;;1533:41;;:81;;;;;576:13289:22;;;;;;;;;;1533:81:6;-1:-1:-1;;;1707:40:2;;;-1:-1:-1;1707:104:2;;;;1533:81:6;1707:156:2;;;;1533:81:6;;;;;1707:156:2;-1:-1:-1;;;937:40:11;;-1:-1:-1;1707:156:2;;;:104;-1:-1:-1;;;1763:48:2;;;-1:-1:-1;1707:104:2;;576:13289:22;;;;;;;-1:-1:-1;;576:13289:22;;;;;;-1:-1:-1;576:13289:22;;;7248:7:2;576:13289:22;;;;;;2701:31;;-1:-1:-1;;;;;576:13289:22;7248:30:2;;2709:12:22;576:13289;;:::i;:::-;2701:31;;:::i;:::-;-1:-1:-1;576:13289:22;5006:13;576:13289;;;;-1:-1:-1;576:13289:22;;;;;;;;;;;;;;;;-1:-1:-1;;576:13289:22;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;576:13289:22;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;576:13289:22;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;576:13289:22;;;;;;;;;;-1:-1:-1;;;;;576:13289:22;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;576:13289:22;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;576:13289:22;;;;;;:::i;:::-;;;2923:8:15;;;:::i;:::-;3634:23:2;;;:::i;:::-;576:13289:22;-1:-1:-1;;;;;576:13289:22;;;;;;3675:11:2;;576:13289:22;;3924:7:2;719:10:8;3735:165:2;719:10:8;;3756:21:2;:62;;;;;576:13289:22;3735:165:2;;:::i;:::-;3924:7;:::i;:::-;576:13289:22;3756:62:2;-1:-1:-1;;;;;576:13289:22;;;;;4623:18:2;576:13289:22;;;;;4623:35:2;;-1:-1:-1;4623:35:2;;719:10:8;;4623:25:2;576:13289:22;;;;;;;;;;;;;;;;4623:35:2;576:13289:22;;;;;4623:35:2;3756:62;;;576:13289:22;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;576:13289:22;;;;;10152:532;576:13289;;:::i;:::-;;;;;;:::i;:::-;2394:18;576:13289;2450:153;;-1:-1:-1;;;;;576:13289:22;;;;;;;2386:54;576:13289;;:::i;:::-;2394:32;;;2386:54;:::i;:::-;2493:10;2471:32;:99;;;;;576:13289;1748:21;;;:::i;2450:153::-;576:13289;;10152:532;;:::i;:::-;576:13289;;;;;;;;;;;;;2471:99;621:15:27;576:13289:22;;;-1:-1:-1;;;2523:47:22;;2552:4;576:13289;2523:47;;576:13289;2493:10;576:13289;;;;;-1:-1:-1;576:13289:22;;;;;;;;;-1:-1:-1;;;;;576:13289:22;2523:47;;;;;;;2471:99;-1:-1:-1;2523:47:22;;;2471:99;;;;;2523:47;;;;576:13289;2523:47;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;576:13289;;;;;;;-1:-1:-1;;576:13289:22;;;;;;;2461:5:6;576:13289:22;;;;;;;;;;;;-1:-1:-1;;;;;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;5042:7:2;576:13289:22;;;:::i;:::-;2646:10:15;;-1:-1:-1;;;;;576:13289:22;;2638:18:15;2634:81;;576:13289:22;4908:103:2;4916:41;2646:10:15;;4916:41:2;:::i;:::-;4908:103;:::i;:::-;5042:7;:::i;2634:81:15:-;2693:10;2646;2693;:::i;:::-;2634:81;;576:13289:22;;;;;;;-1:-1:-1;;576:13289:22;;;;;;;;;-1:-1:-1;576:13289:22;1825:17:6;576:13289:22;;;;-1:-1:-1;576:13289:22;;:::i;:::-;;;-1:-1:-1;;;;;576:13289:22;1867:30:6;1863:90;;576:13289:22;;2001:23:6;-1:-1:-1;;;;;576:13289:22;;2001:23:6;;576:13289:22;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;576:13289:22;;;;;;;-1:-1:-1;;;;;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;1863:90:6;576:13289:22;;;;;:::i;:::-;1863:90:6;;;;;576:13289:22;;;;;;;-1:-1:-1;;576:13289:22;;;;;4009:9;576:13289;;;;;;;;;;;;;;-1:-1:-1;;576:13289:22;;;;;9946:8;1539:23;221:3:20;;;;;;;;;576:13289:22;;;;;;;221:3:20;;;:::i;:::-;;;576:13289:22;;;;;;;-1:-1:-1;;576:13289:22;;;;;;:::i;:::-;621:15:27;576:13289:22;;;-1:-1:-1;;;346:47:26;;375:4;576:13289:22;346:47:26;;576:13289:22;382:10:26;576:13289:22;;;;-1:-1:-1;;;;;576:13289:22;;;;732:56:27;;338:67:26;;576:13289:22;;;;;346:47:26;;;;;;;576:13289:22;-1:-1:-1;346:47:26;;;576:13289:22;;;;:::i;338:67:26:-;576:13289:22;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;576:13289:22;;;;740:35:27;;732:56;:::i;:::-;-1:-1:-1;;;;;;576:13289:22;;621:15:27;576:13289:22;;346:47:26;;;;576:13289:22;346:47:26;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;576:13289:22;;;;;;;-1:-1:-1;;576:13289:22;;;;;;;120:42:16;576:13289:22;;;;;;;;6747:48:2;576:13289:22;;;:::i;:::-;-1:-1:-1;;;;;576:13289:22;;2646:10:15;2638:18;;;2646:10;;;2638:18;2634:81;;576:13289:22;;;;;;;:::i;:::-;;;;2634:81:15;;576:13289:22;5529:103:2;5537:41;2646:10:15;;5537:41:2;:::i;5529:103::-;6721:7;;;;;:::i;:::-;6747:48;:::i;:::-;576:13289:22;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;;;:::i;:::-;;;;2634:81:15;2693:10;2646;2693;:::i;:::-;2634:81;;;2693:10;2646;2693;:::i;:::-;2634:81;;576:13289:22;;;;;;;-1:-1:-1;;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;621:15:27;576:13289:22;;;-1:-1:-1;;;346:47:26;;375:4;576:13289:22;346:47:26;;576:13289:22;382:10:26;576:13289:22;;;;13748:108;;;;;;13801:44;;346:47:26;;1612:27:22;;13748:108;;338:67:26;;346:47;;576:13289:22;;;;;;-1:-1:-1;;;;;576:13289:22;346:47:26;;;;;;;576:13289:22;-1:-1:-1;346:47:26;;;576:13289:22;;;:::i;338:67:26:-;-1:-1:-1;576:13289:22;;;7248:7:2;576:13289:22;;;;;;2701:31;;-1:-1:-1;;;;;576:13289:22;7248:30:2;;2709:12:22;7160:125:2;2701:31:22;13400:107;576:13289;13437:18;;576:13289;;12640:13;576:13289;;;;;;;13437:18;576:13289;:::i;:::-;;;;;;13421:36;13461:11;;:::i;:::-;13421:51;576:13289;;:::i;13400:107::-;13517:109;13538:47;13539:46;;1683:21;576:13289;1683:21;;;:::i;:::-;576:13289;;;;;13553:31;576:13289;;13539:13;576:13289;;;;;;;13539:46;13538:47;;576:13289;13538:47;1683:21;;:::i;13517:109::-;13636:53;:46;1683:21;576:13289;1683:21;;;:::i;:::-;576:13289;;;;;13650:31;576:13289;;13539:13;576:13289;;;;;;;13636:46;1612:27;;-1:-1:-1;;1612:27:22;13685:4;1612:27;;;;13636:53;1612:27;13699:18;;;;576:13289;;12640:13;576:13289;;;;;;;13699:18;1612:27;:::i;:::-;1102:20;;:::i;:::-;576:13289;1612:27;576:13289;;13801:44;;;;;1612:27;;:::i;:::-;;;:::i;:::-;13801:44;576:13289;;13801:44;;;;;;:::i;13748:108::-;;;;576:13289;346:47:26;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;576:13289:22;;;;-1:-1:-1;;;;;576:13289:22;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;576:13289:22;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;576:13289:22;;;;;;:::i;:::-;;;:::i;:::-;621:15:27;576:13289:22;;;-1:-1:-1;;;346:47:26;;375:4;576:13289:22;346:47:26;;576:13289:22;382:10:26;576:13289:22;;;;;;;-1:-1:-1;;;;;576:13289:22;338:67:26;;576:13289:22;;;;;;;;;;;;346:47:26;;;;;;;;;;-1:-1:-1;346:47:26;;;576:13289:22;;;:::i;338:67:26:-;3677:88:6;2461:5;-1:-1:-1;;;;;576:13289:22;;3685:33:6;;3677:88;:::i;:::-;576:13289:22;;3783:22:6;576:13289:22;;3877:35:6;576:13289:22;;3877:35:6;576:13289:22;;:::i;:::-;-1:-1:-1;;;;;576:13289:22;;;;;;3877:35:6;-1:-1:-1;;;;;576:13289:22;;3877:35:6;;576:13289:22;;3877:35:6;3848:26;576:13289:22;;;;3848:17:6;576:13289:22;;;;;;;3848:26:6;576:13289:22;;;;;;;;;-1:-1:-1;;;;;;576:13289:22;-1:-1:-1;;;;;576:13289:22;;;;;;;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;576:13289:22;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;576:13289:22;;;;;;-1:-1:-1;576:13289:22;;;7248:7:2;576:13289:22;;;;;;;;9722:47;;2701:31;;-1:-1:-1;;;;;576:13289:22;7248:30:2;;2709:12:22;7160:125:2;2701:31:22;8928:12;;;:::i;:::-;8920:48;576:13289;;:::i;:::-;-1:-1:-1;;;;;576:13289:22;;;8944:10;8928:26;8920:48;:::i;:::-;8995:18;;576:13289;;8995:13;576:13289;;;;;;;8995:18;576:13289;9044:7;576:13289;;;;-1:-1:-1;;;;;576:13289:22;9171:83;9100:18;;;:::i;:::-;9171:83;;;:::i;:::-;9264:15;;;576:13289;9300:10;9293:18;9300:10;;;:::i;:::-;576:13289;;9293:6;576:13289;;;;;;;9293:18;576:13289;9289:298;;576:13289;-1:-1:-1;;;9611:46:22;;;;;;;-1:-1:-1;9611:46:22;;9673:3;;;:::i;:::-;-1:-1:-1;576:13289:22;;;8995:13;576:13289;;;;;1231:21;9722:47;:::i;9611:46::-;576:13289;9627:29;576:13289;;9644:11;:7;576:13289;9644:11;:::i;:::-;576:13289;;;;;;;;;;;;9627:29;;576:13289;9627:29;;576:13289;;;;;;;;9627:29;;576:13289;;9627:29;;;;;;;9611:46;9627:29;;;9611:46;576:13289;;9611:46;;;9627:29;;;;576:13289;9627:29;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;9289:298;9393:10;;9337:140;9386:41;:18;9393:10;;;:::i;:::-;576:13289;;9386:6;576:13289;;;;;;;9386:18;576:13289;221:3:20;9407:20:22;9416:10;;;:::i;:::-;9407:20;:::i;:::-;221:3:20;;;;;;;;;9386:41:22;;:::i;:::-;9445:18;9452:10;;;:::i;9445:18::-;576:13289;9337:140;;;:::i;:::-;9495:4;;9289:298;9491:86;9519:18;9526:10;9540:22;:18;9547:10;;;:::i;9540:18::-;576:13289;9540:22;:::i;:::-;9526:10;;:::i;9519:18::-;576:13289;9491:86;9289:298;;576:13289;;;;;;;-1:-1:-1;;576:13289:22;;;;-1:-1:-1;;;;;576:13289:22;;:::i;:::-;;2028:19:2;;576:13289:22;;-1:-1:-1;576:13289:22;;;;;;-1:-1:-1;576:13289:22;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;;;;;1108:6:0;576:13289:22;;;-1:-1:-1;;;;;576:13289:22;;;1240:68:0;719:10:8;1248:23:0;;1240:68;:::i;:::-;-1:-1:-1;;;;;;576:13289:22;1108:6:0;576:13289:22;2410:40:0;;;;576:13289:22;;;;;;;;;-1:-1:-1;;576:13289:22;;;;-1:-1:-1;;;;;576:13289:22;;:::i;:::-;;-1:-1:-1;576:13289:22;11573:5;576:13289;;;;-1:-1:-1;576:13289:22;;;;;;;;;;;;;;;-1:-1:-1;;576:13289:22;;;;;;:::i;:::-;621:15:27;576:13289:22;;;-1:-1:-1;;;346:47:26;;375:4;576:13289:22;346:47:26;;576:13289:22;382:10:26;576:13289:22;;;;-1:-1:-1;;;;;576:13289:22;;338:67:26;;576:13289:22;;;;;;;;;;;;346:47:26;576:13289:22;338:67:26;6407:58:22;576:13289;6423:18;576:13289;;;;;;;:::i;:::-;;;;6415:37;;6407:58;:::i;:::-;6475:43;1812:20;;:::i;:::-;6483;;;6475:43;:::i;:::-;-1:-1:-1;;;;;;576:13289:22;;6423:18;576:13289;;;;;;;;;-1:-1:-1;;576:13289:22;;;;;4739:9;576:13289;;;;;;;;;;;;;;-1:-1:-1;;576:13289:22;;;;621:15:27;576:13289:22;;;-1:-1:-1;;;346:47:26;;375:4;576:13289:22;346:47:26;;576:13289:22;382:10:26;576:13289:22;;;;338:67:26;;576:13289:22;;;;-1:-1:-1;;;;;576:13289:22;;;;;;346:47:26;576:13289:22;338:67:26;576:13289:22;;-1:-1:-1;576:13289:22;;;4104:17:6;576:13289:22;;;;;;;;;;;;;;-1:-1:-1;;576:13289:22;;;;1108:6:0;576:13289:22;;;-1:-1:-1;;;;;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;;;2738:7:2;576:13289:22;;;;;;:::i;:::-;;;;;;;;;2738:7:2;;;;576:13289:22;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;576:13289:22;;;;;;:::i;:::-;;;;;;:::i;:::-;2923:8:15;;;:::i;:::-;-1:-1:-1;;;;;576:13289:22;;;719:10:8;11616:17:2;;576:13289:22;;719:10:8;11673:35:2;:46;719:10:8;;-1:-1:-1;576:13289:22;11673:18:2;576:13289:22;;;-1:-1:-1;576:13289:22;;;;;;;;;;;;;;;;;11673:35:2;1612:27:22;576:13289;;;1612:27;;;576:13289;;;1612:27;;;;;11673:46:2;576:13289:22;;;;;;;719:10:8;;11734:41:2;;576:13289:22;;11734:41:2;576:13289:22;;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;621:15:27;576:13289:22;;;-1:-1:-1;;;346:47:26;;375:4;576:13289:22;346:47:26;;576:13289:22;382:10:26;576:13289:22;;;;338:67:26;;346:47;;576:13289:22;;;;;;-1:-1:-1;;;;;576:13289:22;346:47:26;;;;;;;576:13289:22;346:47:26;;;;576:13289:22;;;:::i;338:67:26:-;576:13289:22;3192:26:6;576:13289:22;;2522:36:25;576:13289:22;;;346:47:26;;;:::i;:::-;;;576:13289:22;;;;;;;-1:-1:-1;;576:13289:22;;;;;;:::i;:::-;621:15:27;576:13289:22;;;-1:-1:-1;;;346:47:26;;375:4;576:13289:22;346:47:26;;576:13289:22;382:10:26;576:13289:22;;;;-1:-1:-1;;;;;576:13289:22;;338:67:26;;576:13289:22;;;;;;;;;;;;346:47:26;576:13289:22;338:67:26;5777:47:22;576:13289;5793:7;576:13289;;;;;;;:::i;5777:47::-;5834:43;1812:20;;:::i;5834:43::-;-1:-1:-1;;;;;;576:13289:22;;5793:7;576:13289;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;:::o;:::-;;;;;;;;;;;-1:-1:-1;;576:13289:22;;;:::o;:::-;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;576:13289:22;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;576:13289:22;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6747:48:2;576:13289:22;;;;;;;;;;;:::i;:::-;2646:10:15;;-1:-1:-1;;;;;576:13289:22;;2638:18:15;2634:81;;5529:103:2;5537:41;2646:10:15;;5537:41:2;:::i;576:13289:22:-;;;;;;;-1:-1:-1;;576:13289:22;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;2320:29:25;576:13289:22;-1:-1:-1;;;;;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;576:13289:22;;;;;;-1:-1:-1;576:13289:22;;;7248:7:2;576:13289:22;;;;;;;;2742:1;;2701:31;;-1:-1:-1;;;;;576:13289:22;7248:30:2;;2709:12:22;7160:125:2;2701:31:22;2742:1;:::i;:::-;576:13289;;;;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;576:13289:22;;;;;;:::i;:::-;621:15:27;576:13289:22;;;-1:-1:-1;;;346:47:26;;375:4;576:13289:22;346:47:26;;576:13289:22;382:10:26;576:13289:22;;;;-1:-1:-1;;;;;576:13289:22;;338:67:26;;576:13289:22;;;;;;;;;;;;346:47:26;576:13289:22;338:67:26;6088:47:22;576:13289;6104:7;576:13289;;;;;;;:::i;6088:47::-;6145:43;1812:20;;:::i;6145:43::-;-1:-1:-1;;;;;;576:13289:22;;6104:7;576:13289;;;;;;;;;-1:-1:-1;;576:13289:22;;;;;11322:13;576:13289;;:::i;:::-;621:15:27;576:13289:22;;;-1:-1:-1;;;346:47:26;;375:4;576:13289:22;346:47:26;;576:13289:22;382:10:26;576:13289:22;;;;;;;;11284:28;;576:13289;;;338:67:26;;576:13289:22;;;;-1:-1:-1;;;;;576:13289:22;;;;;;346:47:26;576:13289:22;338:67:26;11035:34:22;576:13289;;:::i;11035:34::-;11079:32;11087:9;576:13289;11087:13;;1356:19;;:::i;11079:32::-;-1:-1:-1;;221:3:20;;;;;;;576:13289:22;11129:8;1539:23;-1:-1:-1;221:3:20;;;576:13289:22;11129:8;-1:-1:-1;576:13289:22;11121:43;221:3:20;;;;11129:24:22;;1356:19;;:::i;11121:43::-;11174:47;11197:24;221:3:20;11197:20:22;11206:10;;;:::i;221:3:20:-;11197:24:22;:::i;:::-;11174:20;11183:10;;;:::i;11174:20::-;:47;1231:21;;;;;;;221:3:20;;1231:21:22;;;;;;;;;;;;;;11174:47;11231:25;11243:13;11087:9;576:13289;11243:13;:::i;:::-;11087:9;576:13289;;11231:25;576:13289;;11284:28;;;:::i;:::-;11322:13;;;576:13289;;;;;;;;11322:5;576:13289;;;;;;;11322:13;576:13289;;;;;;;;;;;;;;221:3:20;;;:::i;:::-;;;;;;:::i;:::-;;;576:13289:22;;;;;;;-1:-1:-1;;576:13289:22;;;;;6738:7;576:13289;;;;;;;;;;;;;;-1:-1:-1;;576:13289:22;;;;;7387:18;576:13289;;7387:18;:::i;:::-;576:13289;;;;;;;;;;;;;;;;;-1:-1:-1;;576:13289:22;;;;;2613:1;576:13289;;;;;:::i;:::-;2394:18;576:13289;2450:153;;-1:-1:-1;;;;;576:13289:22;;;;;;;2450:153;2613:1;:::i;:::-;576:13289;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;576:13289:22;;;;621:15:27;576:13289:22;;;-1:-1:-1;;;346:47:26;;375:4;576:13289:22;346:47:26;;;576:13289:22;;;;382:10:26;576:13289:22;;;;;;338:67:26;;576:13289:22;;;;;-1:-1:-1;;;;;576:13289:22;;;;;;346:47:26;576:13289:22;338:67:26;576:13289:22;5555:17;576:13289;5587:22;-1:-1:-1;5587:22:22;;576:13289;;;;;;;;-1:-1:-1;;576:13289:22;;;;;;4623:35:2;576:13289:22;;:::i;:::-;;;:::i;:::-;-1:-1:-1;;;;;576:13289:22;;;-1:-1:-1;576:13289:22;;;4623:18:2;576:13289:22;;;;;;;;;;;;-1:-1:-1;576:13289:22;;;;;;;4623:35:2;576:13289:22;;;;;;;;;;;;;;;;;-1:-1:-1;;576:13289:22;;;;;;:::i;:::-;1108:6:0;576:13289:22;-1:-1:-1;;;;;576:13289:22;1240:68:0;;576:13289:22;;719:10:8;1248:23:0;1240:68;:::i;:::-;576:13289:22;;2006:22:0;576:13289:22;;2100:8:0;;;:::i;576:13289:22:-;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;-1:-1:-1;;576:13289:22;;;;;;:::i;:::-;;;:::i;:::-;;;:::i;:::-;621:15:27;576:13289:22;;;-1:-1:-1;;;346:47:26;;375:4;576:13289:22;346:47:26;;576:13289:22;382:10:26;576:13289:22;;;;;;-1:-1:-1;;;;;576:13289:22;;;;338:67:26;;576:13289:22;;;;;;;;;;346:47:26;;;;;;;576:13289:22;-1:-1:-1;346:47:26;;;576:13289:22;;;:::i;338:67:26:-;-1:-1:-1;;;;;576:13289:22;2828:88:6;2461:5;576:13289:22;;;;;;;;;;;;;;;;2836:33:6;;2828:88;:::i;:::-;576:13289:22;;2934:22:6;;;576:13289:22;;;;;;3019:35:6;1964:119:25;576:13289:22;;3019:35:6;576:13289:22;;:::i;3019:35:6:-;-1:-1:-1;;;;;576:13289:22;3019:35:6;;;576:13289:22;;3019:35:6;576:13289:22;;;;;;;;;-1:-1:-1;;;;;;576:13289:22;-1:-1:-1;;;;;576:13289:22;;;;;2997:57:6;576:13289:22;;;1841:108:25;576:13289:22;;;:::i;:::-;-1:-1:-1;;;;;576:13289:22;;;;1841:108:25;;;576:13289:22;-1:-1:-1;;;;;576:13289:22;;;;1841:108:25;-1:-1:-1;;;;;576:13289:22;;;1809:140:25;576:13289:22;;;-1:-1:-1;;;;;576:13289:22;;;;;;;;;;;;;;;1809:140:25;576:13289:22;;;;;;-1:-1:-1;;;;;576:13289:22;;;;;;;;;;;;;;;;;1964:119:25;576:13289:22;;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;346:47:26;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;576:13289:22;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;2270:187:0;2362:6;576:13289:22;;-1:-1:-1;;;;;576:13289:22;;;-1:-1:-1;;;;;;576:13289:22;;;;;;;;;;2410:40:0;-1:-1:-1;;2410:40:0;2270:187::o;2191:235:2:-;-1:-1:-1;576:13289:22;;;2298:7:2;576:13289:22;;;;;;-1:-1:-1;;;;;576:13289:22;2332:19:2;;576:13289:22;;2191:235:2;:::o;576:13289:22:-;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;4000:217:2;-1:-1:-1;576:13289:22;;;7248:7:2;576:13289:22;;;;;;-1:-1:-1;;;;;576:13289:22;7248:30:2;576:13289:22;;-1:-1:-1;576:13289:22;;;4186:15:2;576:13289:22;;;;;;-1:-1:-1;;;;;576:13289:22;;4000:217:2:o;576:13289:22:-;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;:::i;:::-;1923:19:6;576:13289:22;-1:-1:-1;;;;;576:13289:22;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;576:13289:22;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;576:13289:22;;;;:::o;1475:18::-;;;;;:::o;:::-;576:13289;;-1:-1:-1;;;1475:18:22;;576:13289;1475:18;;;576:13289;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;576:13289:22;;;;:::o;:::-;;;;;;;:::i;:::-;;;;-1:-1:-1;;;576:13289:22;;;;:::o;1812:20::-;576:13289;;;;;;:::i;:::-;1812:20;576:13289;;-1:-1:-1;;;1812:20:22;;;;:::o;576:13289::-;;;;;;;:::i;:::-;;;;-1:-1:-1;;;576:13289:22;;;;:::o;221:3:20:-;;576:13289:22;;;221:3:20;;;;;;;;;9407:8:22;1539:23;221:3:20;;;;;;9407:8:22;-1:-1:-1;576:13289:22;;221:3:20;;-1:-1:-1;221:3:20;:::o;:::-;;;:::i;:::-;;;;6934:7:22;1539:23;221:3:20;;;;;;6934:7:22;-1:-1:-1;576:13289:22;;221:3:20;;-1:-1:-1;221:3:20;:::o;:::-;;;:::i;:::-;;;;-1:-1:-1;;221:3:20;;;;;;;;:::o;:::-;;;:::i;:::-;;;;;;;;;;:::o;6758:359:22:-;;6872:34;576:13289;;:::i;6872:34::-;6934:7;1539:23;6916:46;576:13289;;;;;:::i;:::-;1539:23;576:13289;;-1:-1:-1;;;1539:23:22;;;;6924:24;;;;6916:46;:::i;:::-;6986:1;6976:11;;6972:80;;-1:-1:-1;221:3:20;7090:19:22;7098:10;7069:19;-1:-1:-1;;221:3:20;;;;;;;7069:19:22;:::i;:::-;221:3:20;;;;;;7098:10:22;;:::i;:::-;7090:19;:::i;221:3:20:-;;;:::i;6972:80:22:-;221:3:20;;;;;;6972:80:22;6934:7;6889:1;576:13289;;221:3:20;;;7003:38:22:o;221:3:20:-;;;:::i;:::-;;;576:13289:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;576:13289:22;;;;:::o;1231:21::-;;9275:4;1231:21;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;9723:406:2:-;9798:23;;;:::i;:::-;9939:7;;;:::i;:::-;-1:-1:-1;;;;;576:13289:22;9935:1:2;576:13289:22;;;9958:9:2;576:13289:22;;;;;;;9935:1:2;;576:13289:22;-1:-1:-1;;221:3:20;;;576:13289:22;221:3:20;;;;9723:406:2;576:13289:22;;;;9996:7:2;576:13289:22;;;;;;;-1:-1:-1;;;;;;576:13289:22;;;10028:36:2;576:13289:22;;10028:36:2;9723:406::o;221:3:20:-;;;:::i;:::-;;;11169:171:2;576:13289:22;;;;11243:15:2;576:13289:22;;;;;;;-1:-1:-1;;;;;;576:13289:22;;;-1:-1:-1;;;;;11296:23:2;576:13289:22;11296:23:2;:::i;:::-;576:13289:22;11287:46:2;;;;11169:171::o;:::-;-1:-1:-1;576:13289:22;;;11243:15:2;576:13289:22;;;;;;;-1:-1:-1;;;;;;576:13289:22;-1:-1:-1;;;;;576:13289:22;;;;;-1:-1:-1;;;;;576:13289:22;11296:23:2;;;:::i;:::-;576:13289:22;;;11287:46:2;;-1:-1:-1;11287:46:2;;11169:171::o;576:13289:22:-;;;;;7669:1;576:13289;;;;;;:::o;:::-;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;7418:378;;7717:41;7418:378;576:13289;7418:378;576:13289;;;;;;:::i;:::-;7602:1;576:13289;;;;;;;;;221:3:20;;;;;;;;;7418:378:22;576:13289;;;;;7418:378;576:13289;7661:28;;;:::i;:::-;576:13289;-1:-1:-1;576:13289:22;;;;;;;;;;;7717:41;;;;;;:::i;:::-;;;-1:-1:-1;;;;;576:13289:22;7717:41;;;;;;;7418:378;-1:-1:-1;7717:41:22;;;7776:12;;7418:378;:::o;7717:41::-;;;;576:13289;7717:41;;;;;;;;;:::i;:::-;;;:::i;:::-;;;576:13289;;;:::i;:::-;;;221:3:20;;;:::i;:::-;;;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;:::i;:::-;;;;;;-1:-1:-1;;576:13289:22;;;;;;:::o;:::-;;;:::i;:::-;;;;;;;;;;;;;:::o;:::-;;;:::i;:::-;;;7802:453;;;;576:13289;;:::i;:::-;;8012:19;576:13289;;;:::i;:::-;8012:19;;:::i;:::-;-1:-1:-1;8074:13:22;;8069:149;8089:6;576:13289;8089:6;;;;8227:21;;;;;7802:453;:::o;8097:3::-;576:13289;;;;8191:16;8097:3;576:13289;8116:53;8127:42;8134:34;576:13289;8134:23;576:13289;;;;;8134:23;;;;;;-1:-1:-1;8134:23:22;;;;;;;;576:13289;;;;;;;;8134:23;;;-1:-1:-1;;;;;576:13289:22;8134:23;;;;;;;8097:3;-1:-1:-1;8134:23:22;;;8097:3;8134:34;;;:::i;:::-;1166:21;;;;8127:42;8116:53;;;;:::i;:::-;576:13289;1166:21;;576:13289;;;8116:53;8191:16;8199:8;;;;;:::i;:::-;576:13289;1166:21;;;576:13289;8191:16;8097:3;;:::i;:::-;8074:13;;;;;8134:23;;;;;;-1:-1:-1;8134:23:22;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;8261:420;;;576:13289;;;;;8443:7;576:13289;;;;;;;;;;;8443:173;;;;;;576:13289;8486:10;576:13289;;;;;;;;-1:-1:-1;576:13289:22;;;;;;;;;;-1:-1:-1;8443:173:22;576:13289;;;;;;;;;;;;;;;;8548:4;576:13289;;;;;;;;;;;;;;;;;;8548:4;576:13289;;;;8443:173;;;;;;576:13289;8443:173;;576:13289;8486:10;;;8631:23;-1:-1:-1;8631:23:22;;8261:420;:::o;8443:173::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;576:13289;;;1166:21;;576:13289;;;;-1:-1:-1;576:13289:22;;;;;8443:173;576:13289;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;576:13289:22;;;;:::o;1748:21::-;576:13289;;;;;;:::i;:::-;1748:21;576:13289;;-1:-1:-1;;;1748:21:22;;;;:::o;576:13289::-;;;;;;;;;;;;;;;10309:8;1539:23;576:13289;;;;;10309:8;576:13289;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;576:13289:22;;;;:::o;1356:19::-;576:13289;;;;;;:::i;:::-;1356:19;576:13289;;-1:-1:-1;;;1356:19:22;;;;:::o;10152:532::-;10645:32;10152:532;;10309:19;:8;1539:23;10309:19;:::i;:::-;10342:5;;10338:197;;10152:532;10552:16;10544:39;221:3:20;10552:16:22;10661:10;10552:16;;:::i;221:3:20:-;10552:20:22;;1356:19;;:::i;10544:39::-;10610:18;:14;;576:13289;;9386:6;576:13289;;;;;;;10610:14;576:13289;10610:18;:::i;:::-;10593:14;;576:13289;;9386:6;576:13289;;;;;;;10593:14;576:13289;10661:10;:::i;:::-;10645:32;;:::i;10338:197::-;576:13289;10661:10;-1:-1:-1;10372:45:22;;:24;576:13289;10372:7;576:13289;;;;;;;;;;-1:-1:-1;;;;;576:13289:22;;;10372:24;10397:9;576:13289;;;;;;;;;;;;10372:45;;;;;;:::i;:::-;;;;;;;;;;10338:197;-1:-1:-1;10372:45:22;;;10338:197;10363:54;10485:39;10363:54;10431:40;221:3:20;10439:16:22;;;:::i;221:3:20:-;10439:20:22;;576:13289;;:::i;10431:40::-;10485:16;10504:20;221:3:20;10504:16:22;;;:::i;:20::-;10485:16;;:::i;:39::-;10338:197;;;;10372:45;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;5037:328;5165:34;576:13289;;:::i;5165:34::-;5209:9;576:13289;;1050:1:9;576:13289:22;;;-1:-1:-1;576:13289:22;;;5240:13;576:13289;;;;;;;;-1:-1:-1;;;;;;576:13289:22;;;9158:16:2;;576:13289:22;;9230:16:2;;9374:21;5310:28:22;9230:16:2;9221:58;9229:17;9230:16;;-1:-1:-1;576:13289:22;7248:7:2;576:13289:22;;;;;;;;-1:-1:-1;576:13289:22;;;7248:30:2;;7160:125;;9229:17;9221:58;:::i;:::-;-1:-1:-1;;;;;576:13289:22;;;;;;9346:9:2;576:13289:22;;;;;9346:18:2;576:13289:22;;9346:18:2;:::i;:::-;576:13289:22;;9374:16:2;;576:13289:22;;9374:7:2;576:13289:22;;;;;;;9374:16:2;576:13289:22;;-1:-1:-1;;;;;;576:13289:22;-1:-1:-1;;;;;576:13289:22;;;;;;;;;;9374:21:2;9411:33;;;;;;;5310:28:22;;5037:328;:::o;576:13289::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;;;;11676:401;11801:9;576:13289;11801:14;11798:31;;11839:176;;11676:401;12036:13;11801:9;576:13289;12036:13;:::i;:::-;11801:9;576:13289;12048:1;11676:401;:::o;11839:176::-;11880:8;1539:23;221:3:20;;;;;;;;;;;11839:176:22;221:3:20;;;;;;11839:176:22;11880:8;221:3:20;576:13289:22;221:3:20;;11916:21:22;11913:38;;11984:16;11965;11984:20;:16;11965:39;11984:16;;:::i;:::-;221:3:20;;;;;;11984:20:22;:::i;11965:39::-;11839:176;;11913:38;11939:12;221:3:20;11939:12:22;:::o;221:3:20:-;;;:::i;:::-;;;;;;:::i;:::-;;;576:13289:22;;;;;;-1:-1:-1;576:13289:22;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;576:13289:22;;;;-1:-1:-1;576:13289:22;;-1:-1:-1;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1063:59;576:13289;;;;;;:::i;:::-;;1102:20;;1063:59::o;1102:20::-;576:13289;;;;;;:::i;:::-;1102:20;576:13289;;-1:-1:-1;;;1102:20:22;;;;:::o;1943:9::-;;;;;576:13289;;;1943:9;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;576:13289;;;;;;-1:-1:-1;576:13289:22;;;;-1:-1:-1;576:13289:22;1943:9;-1:-1:-1;1943:9:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1943:9:22;;;-1:-1:-1;;;1943:9:22;;;;;;;;-1:-1:-1;1943:9:22;;;;;;;576:13289;;;;;;:::i;:::-;1943:9;576:13289;;-1:-1:-1;;;576:13289:22;1943:9;;;;;;;;:::o;12405:703::-;12592:18;;576:13289;;8995:13;576:13289;;;;;;;12592:18;576:13289;12640:18;576:13289;12640:18;;576:13289;;12640:13;576:13289;;;;;;;;;;;;;12624:36;12664:11;;:::i;:::-;12624:51;12664:11;;1102:20;12742:236;2015:48;1102:20;2015:48;;1102:20;;:::i;:::-;1943:9;2015:48;;12901:17;1943:9;;:::i;:::-;12901:17;;:::i;:::-;576:13289;;;12742:236;;;576:13289;12742:236;;2015:48;;:::i;:::-;;;:::i;:::-;-1:-1:-1;;;2015:48:22;;;;;;;-1:-1:-1;;;2015:48:22;;;;;;12620:482;1943:9;1102:20;;13041:49;1102:20;1943:9;13071:18;1102:20;;:::i;:::-;13071:18;576:13289;;12640:13;576:13289;;;;;;;13071:18;576:13289;;13041:49;;;576:13289;13041:49;;1943:9;;:::i;:::-;;;:::i;576:13289::-;;;;;;;;;;;;;;:::o;:::-;;;:::i;:::-;;;;:::o;328:703:10:-;601:10;;597:51;;657:20;610:1;687:14;;;711:75;718:9;;;576:13289:22;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;576:13289:22;;;:::i;:::-;;;;;;;851:10:10;;;1003:21;;;328:703;:::o;844:150::-;877:11;;;:::i;:::-;773:2;;932;;576:13289:22;;;1231:21;;;;;;;844:150:10;576:13289:22;;-1:-1:-1;;;;;;576:13289:22;902:56:10;;;;;;:::i;:::-;;576:13289:22;844:150:10;;;;1231:21:22;;;:::i;:::-;;;711:75:10;743:8;;773:2;743:8;;:::i;:::-;576:13289:22;;711:75:10;;;597:51;576:13289:22;;;;;;:::i;:::-;;;;-1:-1:-1;;;576:13289:22;;;;627:10:10;:::o;576:13289:22:-;;;;;;;:::i;:::-;;;;-1:-1:-1;;;576:13289:22;;;;:::o;1683:21::-;576:13289;;;;;;:::i;:::-;1683:21;576:13289;;1683:21;;;;;:::o;1612:27::-;;;;;;;;;;:::o;:::-;-1:-1:-1;576:13289:22;;;;;;1612:27;576:13289;1612:27;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;1231:21;;;1612:27;;;;;;;-1:-1:-1;1612:27:22;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;221:3:20;;;1612:27:22;;;221:3:20;1612:27:22;;;;;:::o;:::-;;;;-1:-1:-1;1612:27:22;;;;;576:13289;;1612:27;;;;;576:13289;;;;;;;1612:27;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;1612:27:22;;;;;;221:3:20;1612:27:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;576:13289;;;;;;1612:27;:::o;576:13289::-;;;;:::o;:::-;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;;3038:638:15;120:42:16;3227:45:15;;3223:447;;3038:638;;:::o;3223:447::-;576:13289:22;;-1:-1:-1;;;3523:67:15;;3574:4;3523:67;;;576:13289:22;-1:-1:-1;;;;;576:13289:22;;;;;;;3523:67:15;;576:13289:22;;;;;;3523:67:15;;;;;;;3223:447;3275:1;3523:67;;;3223:447;3522:68;;3518:142;;3038:638;:::o;3518:142::-;576:13289:22;;-1:-1:-1;;;3617:28:15;;-1:-1:-1;;;;;576:13289:22;;;3523:67:15;3617:28;;576:13289:22;;;3617:28:15;3523:67;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;576:13289:22;;;;:::o;:::-;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;;7443:344:2;-1:-1:-1;576:13289:22;;;7248:7:2;576:13289:22;;;;;;-1:-1:-1;;;;;576:13289:22;7248:30:2;576:13289:22;;7651:23:2;;;:::i;:::-;576:13289:22;;;;;;;;;;;;;;7692:16:2;;:52;;;;;7443:344;7692:87;;;;;;7443:344;7684:96;;;7443:344;:::o;7692:87::-;7748:20;;;;;;:::i;:::-;576:13289:22;7748:31:2;7692:87;;;;;:52;-1:-1:-1;;;;;576:13289:22;;;;;4623:18:2;576:13289:22;;;;;4623:25:2;;-1:-1:-1;576:13289:22;;4623:35:2;;:25;;576:13289:22;4623:35:2;576:13289:22;;7692:52:2;;;;;576:13289:22;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;;10453:605:2;;10580:23;;;:::i;:::-;-1:-1:-1;;;;;576:13289:22;;;;;;;;10580:31:2;;;576:13289:22;;10880:15:2;10938:21;576:13289:22;;;10671:16:2;10663:65;10671:16;;;10663:65;:::i;:::-;10861:7;;;:::i;:::-;-1:-1:-1;;;;;576:13289:22;;;;;9346:9:2;576:13289:22;;;;;;;10880:15:2;:20;576:13289:22;;10880:20:2;:::i;:::-;576:13289:22;;-1:-1:-1;;;;;576:13289:22;;;;;;9346:9:2;576:13289:22;;;;;10910:18:2;576:13289:22;;10910:18:2;:::i;:::-;576:13289:22;;10938:16:2;;576:13289:22;;9374:7:2;576:13289:22;;;;;;;10938:21:2;10975:27;10685:1;10975:27;;10453:605::o;576:13289:22:-;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;576:13289:22;;;;;;:::o;:::-;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;576:13289:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;576:13289:22;;;;:::o;:::-;;;:::o;12335:778:2:-;;;;;1465:19:7;;:23;12505:15:2;;12540:72;576:13289:22;12540:72:2;576:13289:22;;;;;;;;;;;;;12540:72:2;;;;719:10:8;12540:72:2;;;;:::i;:::-;;;-1:-1:-1;;;;;576:13289:22;12540:72:2;;576:13289:22;;12540:72:2;;;12501:606;-1:-1:-1;12536:519:2;;12729:326;;:::i;:::-;576:13289:22;;;12779:18:2;;;576:13289:22;;-1:-1:-1;;;12821:60:2;;576:13289:22;12821:60:2;12540:72;12821:60;;;:::i;12775:266::-;12540:72;12928:95;;12536:519;-1:-1:-1;;;;;;576:13289:22;12662:51:2;;12655:58::o;12540:72::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;12501:606;13085:11;;;;13092:4;13085:11;:::o

Swarm Source

ipfs://cf2ae4c2d29855bdc1ec059c010a29b1a6069e2f8aff2717cef0ec6dbf2445d6
Loading...
Loading
Loading...
Loading
[ 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.