ETH Price: $3,271.01 (-4.09%)
Gas: 9 Gwei

Token

Mutated Moon Ape (MAL_MUTANT)
 

Overview

Max Total Supply

11,130 MAL_MUTANT

Holders

1,360

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
2 MAL_MUTANT
0x2dc88c74058ff2d8dc4b186c92667d185825df7c
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Collection of up to 15000 Mutant Moon Apes

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MoonBreeding

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-03-27
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;



// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
/**
 * @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);
}


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.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`, 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)
/**
 * @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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.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);
}


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
/**
 * @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);
            }
        }
    }
}


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

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


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
/**
 * @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);
    }
}


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.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;
    }
}


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.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 overriden 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 || getApproved(tokenId) == spender || isApprovedForAll(owner, 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 {}
}


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)
/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)
/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)
/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}


// OpenZeppelin Contracts v4.4.1 (access/Ownable.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);
    }
}


// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}


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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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


interface IMAL {
  function spendMAL(address user, uint256 amount) external;
}

interface ISTAKING {
    function balanceOf(address user) external view returns (uint256);
}

contract MoonBreeding is Context, ERC721Enumerable, Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using Strings for uint256;

    string private _baseUri;
    uint256 public MAX_SUPPLY = 18000;
    uint256 public breedingPrice = 5000 ether;

    bool public saleIsActive;
    bool public apeOwnershipRequired;
    bool private revealed;

    enum BreedingTypes{
        CommonBreed,
        RareBreed,
        LegendaryBreed
    }

    mapping(BreedingTypes => uint256) breedingTypeSupplies;
    mapping(BreedingTypes => uint256) breedingTypeMaxSupplies;
    mapping(uint256 => BreedingTypes) colaToBreedingType;
    bool private maxSuppliesSet;
    bool private formulaSet;

    mapping (address => bool) private _isAuthorised;
    address[] public authorisedLog;

    // Contracts
    IMAL public MAL;
    ISTAKING public STAKING;
    IERC721 public APES;
    IERC1155 public CRYPTO_COLA;

    event BreedingMinted(address indexed mintedBy, uint256 breedType, uint256 amount);

    constructor(address _apes, address _staking, address _mal, address _cryptocola) ERC721("Mutated Moon Ape", "MAL_MUTANT"){
      APES = IERC721(address(_apes));
      STAKING = ISTAKING(address(_staking));
      MAL = IMAL(address(_mal));
      CRYPTO_COLA = IERC1155(_cryptocola);

      _baseUri = "ipfs://QmXHQA7TtPs1LAnQ5wgWk5gL5BjYLv9zcMKsnp8eqvKWkS/";
      apeOwnershipRequired = true;

      saleIsActive = false;

      colaToBreedingType[0] = BreedingTypes.CommonBreed;
      colaToBreedingType[1] = BreedingTypes.RareBreed;
      colaToBreedingType[2] = BreedingTypes.LegendaryBreed;
      formulaSet = true;

      breedingTypeMaxSupplies[BreedingTypes.CommonBreed] = 10000;
      breedingTypeMaxSupplies[BreedingTypes.RareBreed] = 6000;
      breedingTypeMaxSupplies[BreedingTypes.LegendaryBreed] = 2000;
      maxSuppliesSet = true;
    }

    function authorise(address addressToAuth) public onlyOwner {
      _isAuthorised[addressToAuth] = true;
      authorisedLog.push(addressToAuth);
    }

    function unauthorise(address addressToUnAuth) public onlyOwner {
      _isAuthorised[addressToUnAuth] = false;
    }

    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view override returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender) || _isAuthorised[spender]);
    }

    function setFormula(uint256[] memory _cryptoColaTypes, uint256[] memory _breedingTypes, uint256[] memory _maxSupplies) public onlyOwner{
      require(_cryptoColaTypes.length == _breedingTypes.length, "Lists not same length");
      require(_cryptoColaTypes.length == _maxSupplies.length, "Lists not same length");
      for (uint256 i = 0; i < _cryptoColaTypes.length; i++){
        require(_cryptoColaTypes[i] < 3, "Invalid Crypto Cola type");
        require(_breedingTypes[i] <= uint256(BreedingTypes.LegendaryBreed), "Invalid Breeding type");
        colaToBreedingType[_cryptoColaTypes[i]] = BreedingTypes(_breedingTypes[i]);
        breedingTypeMaxSupplies[BreedingTypes(_breedingTypes[i])] = _maxSupplies[i];
      }
      formulaSet = true;    
      maxSuppliesSet = true;
    }

    function setMaxSupplies(uint256[] memory _breedingTypes, uint256[] memory _maxSupplies) public onlyOwner{
      require(_maxSupplies.length == _breedingTypes.length, "Lists not same length");
      for (uint256 i = 0; i < _maxSupplies.length; i++){
        require(_breedingTypes[i] <= uint256(BreedingTypes.LegendaryBreed), "Invalid Breeding type");
        breedingTypeMaxSupplies[BreedingTypes(_breedingTypes[i])] = _maxSupplies[i];
      }
    }

    function getNewTokenId(BreedingTypes _breedingType) public view returns (uint256){
      uint256 currentSupply = breedingTypeSupplies[_breedingType];
      if (_breedingType == BreedingTypes.CommonBreed){
        return 1 + currentSupply;
      } else if (_breedingType == BreedingTypes.RareBreed){
        return breedingTypeMaxSupplies[BreedingTypes.CommonBreed] + 1 + currentSupply;
      } else { // BreedingTypes.LegendaryBreed
        return breedingTypeMaxSupplies[BreedingTypes.CommonBreed] + breedingTypeMaxSupplies[BreedingTypes.RareBreed] + 1 + currentSupply;
      }
    }

    function _validateApeOwnership(address user) internal view returns (bool) {
      if (!apeOwnershipRequired) return true;
      if (STAKING.balanceOf(user) > 0) {
        return true;
      }
      return APES.balanceOf(user) > 0;
    }

    function reserveForGiveaways(uint256 breedingType, uint256 breedsToMint) public onlyOwner{
      require(totalSupply().add(breedsToMint) <= MAX_SUPPLY, "Minting more tokens than allowed");
      require(breedingType <= uint256(BreedingTypes.LegendaryBreed), "Invalid breeding type");
      require(breedingTypeSupplies[BreedingTypes(breedingType)].add(breedsToMint) <= breedingTypeMaxSupplies[BreedingTypes(breedingType)], "Max Supply for this breeding type has already been reached");
      uint256 newTokenId = getNewTokenId(BreedingTypes(breedingType));
      for(uint256 i = 0; i < breedsToMint; i++) {
        _safeMint(_msgSender(), newTokenId + i);
      }
      breedingTypeSupplies[BreedingTypes(breedingType)] += breedsToMint;
    }

    function getBreedingTypeSupply(BreedingTypes breedingType) public view returns (uint256){
        require(uint256(breedingType) <= uint256(BreedingTypes.LegendaryBreed), "Invalid breeding type");
        return breedingTypeSupplies[breedingType];
    }

    function purchase(uint256 _cryptoColaToken, uint256 amount) public nonReentrant {
      require(saleIsActive, "The mint has not started yet");
      require(formulaSet && maxSuppliesSet, "The mint has not started yet");
      require(_validateApeOwnership(_msgSender()), "You do not have any Moon Apes");
      require(totalSupply().add(1) <= MAX_SUPPLY, "Max Supply has been already reached");
      require(CRYPTO_COLA.balanceOf(_msgSender(), _cryptoColaToken) > 0, "Not the owner of this Crypto Cola");

      BreedingTypes resulting_breed = colaToBreedingType[_cryptoColaToken];
      require(breedingTypeSupplies[resulting_breed].add(amount) <= breedingTypeMaxSupplies[resulting_breed], "Max Supply for this breeding type has already been reached");

      MAL.spendMAL(_msgSender(), breedingPrice * amount);
      CRYPTO_COLA.safeTransferFrom(_msgSender(), address(this), _cryptoColaToken, amount, "");

      uint256 newTokenId = getNewTokenId(resulting_breed);
      for (uint256 i = 0; i < amount; i++){
        _safeMint(_msgSender(), newTokenId + i);
      }
      breedingTypeSupplies[resulting_breed] += amount;

      emit BreedingMinted(_msgSender(), uint256(resulting_breed), amount);
    }

    function updateSaleStatus(bool status) public onlyOwner {
      saleIsActive = status;
    }

    function updateBreedingPrice(uint256 _newPrice) public onlyOwner {
      require(!saleIsActive, "Pause sale before price update");
      breedingPrice = _newPrice;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
      require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
      return string(abi.encodePacked(string(abi.encodePacked(_baseUri, tokenId.toString())), ".json"));
    }

    function changeMaxSupply(uint256 newSupply) public onlyOwner{
        require(!saleIsActive, "Pause sale before max supply update");
        MAX_SUPPLY = newSupply;
    }

    function withdraw() external onlyOwner {
      uint256 balance = address(this).balance;
      payable(owner()).transfer(balance);
    }

    function reveal(string memory _revealUri) public onlyOwner{
      require(!revealed, "Already revealed");
      _baseUri = _revealUri;
      revealed = true;
    }

    function onERC1155Received(address, address, uint256, uint256, bytes memory) public pure returns (bytes4) {
        return bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"));
    }

    function onERC1155BatchReceived(address, address, uint256[] memory, uint256[] memory, bytes memory) public pure returns (bytes4) {
        return bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_apes","type":"address"},{"internalType":"address","name":"_staking","type":"address"},{"internalType":"address","name":"_mal","type":"address"},{"internalType":"address","name":"_cryptocola","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"address","name":"mintedBy","type":"address"},{"indexed":false,"internalType":"uint256","name":"breedType","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"BreedingMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"APES","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CRYPTO_COLA","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAL","outputs":[{"internalType":"contract IMAL","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAKING","outputs":[{"internalType":"contract ISTAKING","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"apeOwnershipRequired","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addressToAuth","type":"address"}],"name":"authorise","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"authorisedLog","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"breedingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"changeMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum MoonBreeding.BreedingTypes","name":"breedingType","type":"uint8"}],"name":"getBreedingTypeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum MoonBreeding.BreedingTypes","name":"_breedingType","type":"uint8"}],"name":"getNewTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cryptoColaToken","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"breedingType","type":"uint256"},{"internalType":"uint256","name":"breedsToMint","type":"uint256"}],"name":"reserveForGiveaways","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_revealUri","type":"string"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_cryptoColaTypes","type":"uint256[]"},{"internalType":"uint256[]","name":"_breedingTypes","type":"uint256[]"},{"internalType":"uint256[]","name":"_maxSupplies","type":"uint256[]"}],"name":"setFormula","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_breedingTypes","type":"uint256[]"},{"internalType":"uint256[]","name":"_maxSupplies","type":"uint256[]"}],"name":"setMaxSupplies","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","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":[{"internalType":"address","name":"addressToUnAuth","type":"address"}],"name":"unauthorise","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"updateBreedingPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"updateSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052614650600d5569010f0cf064dd59200000600e553480156200002557600080fd5b5060405162003891380380620038918339810160408190526200004891620003ab565b604080518082018252601081526f4d757461746564204d6f6f6e2041706560801b60208083019182528351808501909452600a84526913505317d3555510539560b21b908401528151919291620000a291600091620002e8565b508051620000b8906001906020840190620002e8565b505050620000d5620000cf6200029260201b60201c565b62000296565b6001600b55601880546001600160a01b038087166001600160a01b03199283161790925560178054868416908316179055601680548584169083161790556019805492841692909116919091179055604080516060810190915260368082526200385b602083013980516200015391600c91602090910190620002e8565b50600f805461ffff19166101009081179091557f7e7fa33969761a458e04f477e039a608702b4f924981d6653935a8319a08ad7b805460ff199081169091557f71a67924699a20698523213e55fe499d539379d7769cd5567e2c45d583f815a38054821660019081179091557f8e1fee8c88a9e04123b21e90cae2727a7715bf522a1e46eb5934ccd05203a6b2805460029316831790556013805461ff001916909317909255601160208190526127107f4ad3b33220dddc71b994a52d72c06b10862965f7d926534c05c00fb7e819e7b75560009283526117707f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b552556107d0929091600281111562000269576200026962000445565b815260208101919091526040016000205550506013805460ff19166001179055506200045b9050565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002f69062000408565b90600052602060002090601f0160209004810192826200031a576000855562000365565b82601f106200033557805160ff191683800117855562000365565b8280016001018555821562000365579182015b828111156200036557825182559160200191906001019062000348565b506200037392915062000377565b5090565b5b8082111562000373576000815560010162000378565b80516001600160a01b0381168114620003a657600080fd5b919050565b60008060008060808587031215620003c257600080fd5b620003cd856200038e565b9350620003dd602086016200038e565b9250620003ed604086016200038e565b9150620003fd606086016200038e565b905092959194509250565b600181811c908216806200041d57607f821691505b602082108114156200043f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052602160045260246000fd5b6133f0806200046b6000396000f3fe608060405234801561001057600080fd5b50600436106102695760003560e01c8063715018a611610151578063bc197c81116100c3578063e985e9c511610087578063e985e9c514610564578063eb8d2444146105a0578063f23a6e61146105ad578063f2fde38b146105e5578063f31121d7146105f8578063f68737fb1461060a57600080fd5b8063bc197c81146104c7578063c82bc61d14610518578063c87b56dd1461052b578063dab4bf191461053e578063e02d07d71461055157600080fd5b8063922fab0511610115578063922fab051461046057806395d89b411461047357806397610f301461047b578063a22cb4651461048e578063b791a78f146104a1578063b88d4fde146104b457600080fd5b8063715018a61461040e5780637bdadbcf1461041657806380833d78146104295780638674c6941461043c5780638da5cb5b1461044f57600080fd5b80633ccfd60b116101ea5780634f6ccce7116101ae5780634f6ccce7146103a65780636352211e146103b95780636411140a146103cc57806366e6c8af146103d557806370876c98146103e857806370a08231146103fb57600080fd5b80633ccfd60b14610352578063404c7cdd1461035a57806342842e0e1461036d57806343de1b3d146103805780634c2612471461039357600080fd5b806318160ddd1161023157806318160ddd146102fe57806323b872dd146103105780632f745c591461032357806332cb6b0c1461033657806332cd75ec1461033f57600080fd5b806301ffc9a71461026e57806306fdde0314610296578063081812fc146102ab578063095ea7b3146102d65780630a088949146102eb575b600080fd5b61028161027c366004612e39565b61061d565b60405190151581526020015b60405180910390f35b61029e610648565b60405161028d9190613086565b6102be6102b9366004612edd565b6106da565b6040516001600160a01b03909116815260200161028d565b6102e96102e4366004612d08565b610774565b005b6102e96102f9366004612e1e565b61088a565b6008545b60405190815260200161028d565b6102e961031e366004612bd5565b6108c7565b610302610331366004612d08565b6108f8565b610302600d5481565b61030261034d366004612e73565b61098e565b6102e9610abc565b6102e9610368366004612edd565b610b35565b6102e961037b366004612bd5565b610bc3565b61030261038e366004612e73565b610bde565b6102e96103a1366004612e94565b610c77565b6103026103b4366004612edd565b610d15565b6102be6103c7366004612edd565b610da8565b610302600e5481565b6102e96103e3366004612add565b610e1f565b6102e96103f6366004612f0f565b610eaf565b610302610409366004612add565b611408565b6102e961148f565b6016546102be906001600160a01b031681565b6102e9610437366004612add565b6114c5565b6102e961044a366004612d32565b611510565b600a546001600160a01b03166102be565b6018546102be906001600160a01b031681565b61029e611657565b6017546102be906001600160a01b031681565b6102e961049c366004612cde565b611666565b6102e96104af366004612f0f565b611671565b6102e96104c2366004612c11565b611872565b6104ff6104d5366004612b2b565b7fbc197c819b3e337a6f9652dd10becd7eef83032af3b9d958d3d42f669414662195945050505050565b6040516001600160e01b0319909116815260200161028d565b6102be610526366004612edd565b6118aa565b61029e610539366004612edd565b6118d4565b6102e961054c366004612edd565b6119a2565b6019546102be906001600160a01b031681565b610281610572366004612af8565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600f546102819060ff1681565b6104ff6105bb366004612c79565b7ff23a6e612e1ff4830e658fe43f4e3cb4a5f8170bd5d9e69fb5d7a7fa9e4fdf9795945050505050565b6102e96105f3366004612add565b611a24565b600f5461028190610100900460ff1681565b6102e9610618366004612d96565b611abf565b60006001600160e01b0319821663780e9d6360e01b1480610642575061064282611d22565b92915050565b606060008054610657906132bc565b80601f0160208091040260200160405190810160405280929190818152602001828054610683906132bc565b80156106d05780601f106106a5576101008083540402835291602001916106d0565b820191906000526020600020905b8154815290600101906020018083116106b357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107585760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061077f82610da8565b9050806001600160a01b0316836001600160a01b031614156107ed5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161074f565b336001600160a01b038216148061080957506108098133610572565b61087b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161074f565b6108858383611d72565b505050565b600a546001600160a01b031633146108b45760405162461bcd60e51b815260040161074f906130eb565b600f805460ff1916911515919091179055565b6108d13382611de0565b6108ed5760405162461bcd60e51b815260040161074f906131ac565b610885838383611efa565b600061090383611408565b82106109655760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161074f565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600080601060008460028111156109a7576109a761334c565b60028111156109b8576109b861334c565b8152602081019190915260400160009081205491508360028111156109df576109df61334c565b14156109f7576109f081600161322e565b9392505050565b6001836002811115610a0b57610a0b61334c565b1415610a53576000805260116020527f4ad3b33220dddc71b994a52d72c06b10862965f7d926534c05c00fb7e819e7b7548190610a4990600161322e565b6109f0919061322e565b60116020527f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b55254600080527f4ad3b33220dddc71b994a52d72c06b10862965f7d926534c05c00fb7e819e7b7548291610aab9161322e565b610a4990600161322e565b50919050565b600a546001600160a01b03163314610ae65760405162461bcd60e51b815260040161074f906130eb565b47610af9600a546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015610b31573d6000803e3d6000fd5b5050565b600a546001600160a01b03163314610b5f5760405162461bcd60e51b815260040161074f906130eb565b600f5460ff1615610bbe5760405162461bcd60e51b815260206004820152602360248201527f50617573652073616c65206265666f7265206d617820737570706c792075706460448201526261746560e81b606482015260840161074f565b600d55565b61088583838360405180602001604052806000815250611872565b60006002826002811115610bf457610bf461334c565b1115610c3a5760405162461bcd60e51b8152602060048201526015602482015274496e76616c6964206272656564696e67207479706560581b604482015260640161074f565b60106000836002811115610c5057610c5061334c565b6002811115610c6157610c6161334c565b8152602001908152602001600020549050919050565b600a546001600160a01b03163314610ca15760405162461bcd60e51b815260040161074f906130eb565b600f5462010000900460ff1615610ced5760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481c995d99585b195960821b604482015260640161074f565b8051610d0090600c90602084019061291a565b5050600f805462ff0000191662010000179055565b6000610d2060085490565b8210610d835760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161074f565b60088281548110610d9657610d96613378565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806106425760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161074f565b600a546001600160a01b03163314610e495760405162461bcd60e51b815260040161074f906130eb565b6001600160a01b03166000818152601460205260408120805460ff191660019081179091556015805491820181559091527f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec4750180546001600160a01b0319169091179055565b6002600b541415610f025760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161074f565b6002600b55600f5460ff16610f595760405162461bcd60e51b815260206004820152601c60248201527f546865206d696e7420686173206e6f7420737461727465642079657400000000604482015260640161074f565b601354610100900460ff168015610f72575060135460ff165b610fbe5760405162461bcd60e51b815260206004820152601c60248201527f546865206d696e7420686173206e6f7420737461727465642079657400000000604482015260640161074f565b610fc7336120a1565b6110135760405162461bcd60e51b815260206004820152601d60248201527f596f7520646f206e6f74206861766520616e79204d6f6f6e2041706573000000604482015260640161074f565b600d5461102a600161102460085490565b906121cc565b11156110845760405162461bcd60e51b815260206004820152602360248201527f4d617820537570706c7920686173206265656e20616c726561647920726561636044820152621a195960ea1b606482015260840161074f565b6019546000906001600160a01b031662fdd58e336040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526024810186905260440160206040518083038186803b1580156110de57600080fd5b505afa1580156110f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111169190612ef6565b1161116d5760405162461bcd60e51b815260206004820152602160248201527f4e6f7420746865206f776e6572206f6620746869732043727970746f20436f6c6044820152606160f81b606482015260840161074f565b60008281526012602052604081205460ff16906011908260028111156111955761119561334c565b60028111156111a6576111a661334c565b8152602001908152602001600020546111fd83601060008560028111156111cf576111cf61334c565b60028111156111e0576111e061334c565b8152602001908152602001600020546121cc90919063ffffffff16565b111561121b5760405162461bcd60e51b815260040161074f90613120565b6016546001600160a01b03166384a85b0d3384600e5461123b919061325a565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561128157600080fd5b505af1158015611295573d6000803e3d6000fd5b50506019546001600160a01b0316915063f242432a9050336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604481018690526064810185905260a06084820152600060a482015260c401600060405180830381600087803b15801561131057600080fd5b505af1158015611324573d6000803e3d6000fd5b5050505060006113338261098e565b905060005b8381101561136657611354335b61134f838561322e565b6121d8565b8061135e816132f1565b915050611338565b50826010600084600281111561137e5761137e61334c565b600281111561138f5761138f61334c565b815260200190815260200160002060008282546113ac919061322e565b909155503390507fcd5bfa37268b1cd9cf45386b3702faa409b97c737e5d1cd33951a62ab2ef7b448360028111156113e6576113e661334c565b60408051918252602082018790520160405180910390a250506001600b555050565b60006001600160a01b0382166114735760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161074f565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146114b95760405162461bcd60e51b815260040161074f906130eb565b6114c360006121f2565b565b600a546001600160a01b031633146114ef5760405162461bcd60e51b815260040161074f906130eb565b6001600160a01b03166000908152601460205260409020805460ff19169055565b600a546001600160a01b0316331461153a5760405162461bcd60e51b815260040161074f906130eb565b815181511461155b5760405162461bcd60e51b815260040161074f9061317d565b60005b815181101561088557600283828151811061157b5761157b613378565b602002602001015111156115c95760405162461bcd60e51b8152602060048201526015602482015274496e76616c6964204272656564696e67207479706560581b604482015260640161074f565b8181815181106115db576115db613378565b6020026020010151601160008584815181106115f9576115f9613378565b602002602001015160028111156116125761161261334c565b60028111156116235761162361334c565b60028111156116345761163461334c565b81526020810191909152604001600020558061164f816132f1565b91505061155e565b606060018054610657906132bc565b610b31338383612244565b600a546001600160a01b0316331461169b5760405162461bcd60e51b815260040161074f906130eb565b600d546116ab8261102460085490565b11156116f95760405162461bcd60e51b815260206004820181905260248201527f4d696e74696e67206d6f726520746f6b656e73207468616e20616c6c6f776564604482015260640161074f565b60028211156117425760405162461bcd60e51b8152602060048201526015602482015274496e76616c6964206272656564696e67207479706560581b604482015260640161074f565b601160008360028111156117585761175861334c565b60028111156117695761176961334c565b600281111561177a5761177a61334c565b8152602001908152602001600020546117b482601060008660028111156117a3576117a361334c565b60028111156111cf576111cf61334c565b11156117d25760405162461bcd60e51b815260040161074f90613120565b60006117e983600281111561034d5761034d61334c565b905060005b82811015611811576117ff33611345565b80611809816132f1565b9150506117ee565b5081601060008560028111156118295761182961334c565b600281111561183a5761183a61334c565b600281111561184b5761184b61334c565b81526020019081526020016000206000828254611868919061322e565b9091555050505050565b61187c3383611de0565b6118985760405162461bcd60e51b815260040161074f906131ac565b6118a484848484612313565b50505050565b601581815481106118ba57600080fd5b6000918252602090912001546001600160a01b0316905081565b6000818152600260205260409020546060906001600160a01b03166119535760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161074f565b600c61195e83612346565b60405160200161196f929190612fa2565b60408051601f198184030181529082905261198c91602001612f79565b6040516020818303038152906040529050919050565b600a546001600160a01b031633146119cc5760405162461bcd60e51b815260040161074f906130eb565b600f5460ff1615611a1f5760405162461bcd60e51b815260206004820152601e60248201527f50617573652073616c65206265666f7265207072696365207570646174650000604482015260640161074f565b600e55565b600a546001600160a01b03163314611a4e5760405162461bcd60e51b815260040161074f906130eb565b6001600160a01b038116611ab35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161074f565b611abc816121f2565b50565b600a546001600160a01b03163314611ae95760405162461bcd60e51b815260040161074f906130eb565b8151835114611b0a5760405162461bcd60e51b815260040161074f9061317d565b8051835114611b2b5760405162461bcd60e51b815260040161074f9061317d565b60005b8351811015611d0d576003848281518110611b4b57611b4b613378565b602002602001015110611ba05760405162461bcd60e51b815260206004820152601860248201527f496e76616c69642043727970746f20436f6c6120747970650000000000000000604482015260640161074f565b6002838281518110611bb457611bb4613378565b60200260200101511115611c025760405162461bcd60e51b8152602060048201526015602482015274496e76616c6964204272656564696e67207479706560581b604482015260640161074f565b828181518110611c1457611c14613378565b60200260200101516002811115611c2d57611c2d61334c565b60126000868481518110611c4357611c43613378565b6020026020010151815260200190815260200160002060006101000a81548160ff02191690836002811115611c7a57611c7a61334c565b0217905550818181518110611c9157611c91613378565b602002602001015160116000858481518110611caf57611caf613378565b60200260200101516002811115611cc857611cc861334c565b6002811115611cd957611cd961334c565b6002811115611cea57611cea61334c565b815260208101919091526040016000205580611d05816132f1565b915050611b2e565b50506013805461ffff19166101011790555050565b60006001600160e01b031982166380ac58cd60e01b1480611d5357506001600160e01b03198216635b5e139f60e01b145b8061064257506301ffc9a760e01b6001600160e01b0319831614610642565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611da782610da8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611e595760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161074f565b6000611e6483610da8565b9050806001600160a01b0316846001600160a01b03161480611e9f5750836001600160a01b0316611e94846106da565b6001600160a01b0316145b80611ecf57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611ef257506001600160a01b03841660009081526014602052604090205460ff165b949350505050565b826001600160a01b0316611f0d82610da8565b6001600160a01b031614611f715760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161074f565b6001600160a01b038216611fd35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161074f565b611fde838383612444565b611fe9600082611d72565b6001600160a01b0383166000908152600360205260408120805460019290612012908490613279565b90915550506001600160a01b038216600090815260036020526040812080546001929061204090849061322e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600f54600090610100900460ff166120bb57506001919050565b6017546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a082319060240160206040518083038186803b15801561210157600080fd5b505afa158015612115573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121399190612ef6565b111561214757506001919050565b6018546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a082319060240160206040518083038186803b15801561218d57600080fd5b505afa1580156121a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c59190612ef6565b1192915050565b60006109f0828461322e565b610b318282604051806020016040528060008152506124fc565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156122a65760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161074f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61231e848484611efa565b61232a8484848461252f565b6118a45760405162461bcd60e51b815260040161074f90613099565b60608161236a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612394578061237e816132f1565b915061238d9050600a83613246565b915061236e565b60008167ffffffffffffffff8111156123af576123af61338e565b6040519080825280601f01601f1916602001820160405280156123d9576020820181803683370190505b5090505b8415611ef2576123ee600183613279565b91506123fb600a8661330c565b61240690603061322e565b60f81b81838151811061241b5761241b613378565b60200101906001600160f81b031916908160001a90535061243d600a86613246565b94506123dd565b6001600160a01b03831661249f5761249a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6124c2565b816001600160a01b0316836001600160a01b0316146124c2576124c2838261263c565b6001600160a01b0382166124d957610885816126d9565b826001600160a01b0316826001600160a01b031614610885576108858282612788565b61250683836127cc565b612513600084848461252f565b6108855760405162461bcd60e51b815260040161074f90613099565b60006001600160a01b0384163b1561263157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612573903390899088908890600401613049565b602060405180830381600087803b15801561258d57600080fd5b505af19250505080156125bd575060408051601f3d908101601f191682019092526125ba91810190612e56565b60015b612617573d8080156125eb576040519150601f19603f3d011682016040523d82523d6000602084013e6125f0565b606091505b50805161260f5760405162461bcd60e51b815260040161074f90613099565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ef2565b506001949350505050565b6000600161264984611408565b6126539190613279565b6000838152600760205260409020549091508082146126a6576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906126eb90600190613279565b6000838152600960205260408120546008805493945090928490811061271357612713613378565b90600052602060002001549050806008838154811061273457612734613378565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061276c5761276c613362565b6001900381819060005260206000200160009055905550505050565b600061279383611408565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166128225760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161074f565b6000818152600260205260409020546001600160a01b0316156128875760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161074f565b61289360008383612444565b6001600160a01b03821660009081526003602052604081208054600192906128bc90849061322e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612926906132bc565b90600052602060002090601f016020900481019282612948576000855561298e565b82601f1061296157805160ff191683800117855561298e565b8280016001018555821561298e579182015b8281111561298e578251825591602001919060010190612973565b5061299a92915061299e565b5090565b5b8082111561299a576000815560010161299f565b600067ffffffffffffffff8311156129cd576129cd61338e565b6129e0601f8401601f19166020016131fd565b90508281528383830111156129f457600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114612a2257600080fd5b919050565b600082601f830112612a3857600080fd5b8135602067ffffffffffffffff821115612a5457612a5461338e565b8160051b612a638282016131fd565b838152828101908684018388018501891015612a7e57600080fd5b600093505b85841015612aa1578035835260019390930192918401918401612a83565b50979650505050505050565b80358015158114612a2257600080fd5b600082601f830112612ace57600080fd5b6109f0838335602085016129b3565b600060208284031215612aef57600080fd5b6109f082612a0b565b60008060408385031215612b0b57600080fd5b612b1483612a0b565b9150612b2260208401612a0b565b90509250929050565b600080600080600060a08688031215612b4357600080fd5b612b4c86612a0b565b9450612b5a60208701612a0b565b9350604086013567ffffffffffffffff80821115612b7757600080fd5b612b8389838a01612a27565b94506060880135915080821115612b9957600080fd5b612ba589838a01612a27565b93506080880135915080821115612bbb57600080fd5b50612bc888828901612abd565b9150509295509295909350565b600080600060608486031215612bea57600080fd5b612bf384612a0b565b9250612c0160208501612a0b565b9150604084013590509250925092565b60008060008060808587031215612c2757600080fd5b612c3085612a0b565b9350612c3e60208601612a0b565b925060408501359150606085013567ffffffffffffffff811115612c6157600080fd5b612c6d87828801612abd565b91505092959194509250565b600080600080600060a08688031215612c9157600080fd5b612c9a86612a0b565b9450612ca860208701612a0b565b93506040860135925060608601359150608086013567ffffffffffffffff811115612cd257600080fd5b612bc888828901612abd565b60008060408385031215612cf157600080fd5b612cfa83612a0b565b9150612b2260208401612aad565b60008060408385031215612d1b57600080fd5b612d2483612a0b565b946020939093013593505050565b60008060408385031215612d4557600080fd5b823567ffffffffffffffff80821115612d5d57600080fd5b612d6986838701612a27565b93506020850135915080821115612d7f57600080fd5b50612d8c85828601612a27565b9150509250929050565b600080600060608486031215612dab57600080fd5b833567ffffffffffffffff80821115612dc357600080fd5b612dcf87838801612a27565b94506020860135915080821115612de557600080fd5b612df187838801612a27565b93506040860135915080821115612e0757600080fd5b50612e1486828701612a27565b9150509250925092565b600060208284031215612e3057600080fd5b6109f082612aad565b600060208284031215612e4b57600080fd5b81356109f0816133a4565b600060208284031215612e6857600080fd5b81516109f0816133a4565b600060208284031215612e8557600080fd5b8135600381106109f057600080fd5b600060208284031215612ea657600080fd5b813567ffffffffffffffff811115612ebd57600080fd5b8201601f81018413612ece57600080fd5b611ef2848235602084016129b3565b600060208284031215612eef57600080fd5b5035919050565b600060208284031215612f0857600080fd5b5051919050565b60008060408385031215612f2257600080fd5b50508035926020909101359150565b60008151808452612f49816020860160208601613290565b601f01601f19169290920160200192915050565b60008151612f6f818560208601613290565b9290920192915050565b60008251612f8b818460208701613290565b64173539b7b760d91b920191825250600501919050565b600080845481600182811c915080831680612fbe57607f831692505b6020808410821415612fde57634e487b7160e01b86526022600452602486fd5b818015612ff2576001811461300357613030565b60ff19861689528489019650613030565b60008b81526020902060005b868110156130285781548b82015290850190830161300f565b505084890196505b5050505050506130408185612f5d565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061307c90830184612f31565b9695505050505050565b6020815260006109f06020830184612f31565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252603a908201527f4d617820537570706c7920666f722074686973206272656564696e672074797060408201527f652068617320616c7265616479206265656e2072656163686564000000000000606082015260800190565b602080825260159082015274098d2e6e8e640dcdee840e6c2daca40d8cadccee8d605b1b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156132265761322661338e565b604052919050565b6000821982111561324157613241613320565b500190565b60008261325557613255613336565b500490565b600081600019048311821515161561327457613274613320565b500290565b60008282101561328b5761328b613320565b500390565b60005b838110156132ab578181015183820152602001613293565b838111156118a45750506000910152565b600181811c908216806132d057607f821691505b60208210811415610ab657634e487b7160e01b600052602260045260246000fd5b600060001982141561330557613305613320565b5060010190565b60008261331b5761331b613336565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611abc57600080fdfea2646970667358221220b59dcdb2b76dd64060471d84d870271a80e8decfcb27545dcd99e6dae07b5a8e64736f6c63430008070033697066733a2f2f516d584851413754745073314c416e51357767576b35674c35426a594c76397a634d4b736e70386571764b576b532f00000000000000000000000034c4eba1966b502dfcf0868b6f271d85cc8a231200000000000000000000000000a103267a22971375c3c37d6e1f1bdfb548e94600000000000000000000000065fd5d7ea09459c932aa70eba22548cd16283c9300000000000000000000000093c711fec5d1341d432f1e32adbecbd8b2c8eaf4

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102695760003560e01c8063715018a611610151578063bc197c81116100c3578063e985e9c511610087578063e985e9c514610564578063eb8d2444146105a0578063f23a6e61146105ad578063f2fde38b146105e5578063f31121d7146105f8578063f68737fb1461060a57600080fd5b8063bc197c81146104c7578063c82bc61d14610518578063c87b56dd1461052b578063dab4bf191461053e578063e02d07d71461055157600080fd5b8063922fab0511610115578063922fab051461046057806395d89b411461047357806397610f301461047b578063a22cb4651461048e578063b791a78f146104a1578063b88d4fde146104b457600080fd5b8063715018a61461040e5780637bdadbcf1461041657806380833d78146104295780638674c6941461043c5780638da5cb5b1461044f57600080fd5b80633ccfd60b116101ea5780634f6ccce7116101ae5780634f6ccce7146103a65780636352211e146103b95780636411140a146103cc57806366e6c8af146103d557806370876c98146103e857806370a08231146103fb57600080fd5b80633ccfd60b14610352578063404c7cdd1461035a57806342842e0e1461036d57806343de1b3d146103805780634c2612471461039357600080fd5b806318160ddd1161023157806318160ddd146102fe57806323b872dd146103105780632f745c591461032357806332cb6b0c1461033657806332cd75ec1461033f57600080fd5b806301ffc9a71461026e57806306fdde0314610296578063081812fc146102ab578063095ea7b3146102d65780630a088949146102eb575b600080fd5b61028161027c366004612e39565b61061d565b60405190151581526020015b60405180910390f35b61029e610648565b60405161028d9190613086565b6102be6102b9366004612edd565b6106da565b6040516001600160a01b03909116815260200161028d565b6102e96102e4366004612d08565b610774565b005b6102e96102f9366004612e1e565b61088a565b6008545b60405190815260200161028d565b6102e961031e366004612bd5565b6108c7565b610302610331366004612d08565b6108f8565b610302600d5481565b61030261034d366004612e73565b61098e565b6102e9610abc565b6102e9610368366004612edd565b610b35565b6102e961037b366004612bd5565b610bc3565b61030261038e366004612e73565b610bde565b6102e96103a1366004612e94565b610c77565b6103026103b4366004612edd565b610d15565b6102be6103c7366004612edd565b610da8565b610302600e5481565b6102e96103e3366004612add565b610e1f565b6102e96103f6366004612f0f565b610eaf565b610302610409366004612add565b611408565b6102e961148f565b6016546102be906001600160a01b031681565b6102e9610437366004612add565b6114c5565b6102e961044a366004612d32565b611510565b600a546001600160a01b03166102be565b6018546102be906001600160a01b031681565b61029e611657565b6017546102be906001600160a01b031681565b6102e961049c366004612cde565b611666565b6102e96104af366004612f0f565b611671565b6102e96104c2366004612c11565b611872565b6104ff6104d5366004612b2b565b7fbc197c819b3e337a6f9652dd10becd7eef83032af3b9d958d3d42f669414662195945050505050565b6040516001600160e01b0319909116815260200161028d565b6102be610526366004612edd565b6118aa565b61029e610539366004612edd565b6118d4565b6102e961054c366004612edd565b6119a2565b6019546102be906001600160a01b031681565b610281610572366004612af8565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600f546102819060ff1681565b6104ff6105bb366004612c79565b7ff23a6e612e1ff4830e658fe43f4e3cb4a5f8170bd5d9e69fb5d7a7fa9e4fdf9795945050505050565b6102e96105f3366004612add565b611a24565b600f5461028190610100900460ff1681565b6102e9610618366004612d96565b611abf565b60006001600160e01b0319821663780e9d6360e01b1480610642575061064282611d22565b92915050565b606060008054610657906132bc565b80601f0160208091040260200160405190810160405280929190818152602001828054610683906132bc565b80156106d05780601f106106a5576101008083540402835291602001916106d0565b820191906000526020600020905b8154815290600101906020018083116106b357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107585760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061077f82610da8565b9050806001600160a01b0316836001600160a01b031614156107ed5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161074f565b336001600160a01b038216148061080957506108098133610572565b61087b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161074f565b6108858383611d72565b505050565b600a546001600160a01b031633146108b45760405162461bcd60e51b815260040161074f906130eb565b600f805460ff1916911515919091179055565b6108d13382611de0565b6108ed5760405162461bcd60e51b815260040161074f906131ac565b610885838383611efa565b600061090383611408565b82106109655760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161074f565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600080601060008460028111156109a7576109a761334c565b60028111156109b8576109b861334c565b8152602081019190915260400160009081205491508360028111156109df576109df61334c565b14156109f7576109f081600161322e565b9392505050565b6001836002811115610a0b57610a0b61334c565b1415610a53576000805260116020527f4ad3b33220dddc71b994a52d72c06b10862965f7d926534c05c00fb7e819e7b7548190610a4990600161322e565b6109f0919061322e565b60116020527f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b55254600080527f4ad3b33220dddc71b994a52d72c06b10862965f7d926534c05c00fb7e819e7b7548291610aab9161322e565b610a4990600161322e565b50919050565b600a546001600160a01b03163314610ae65760405162461bcd60e51b815260040161074f906130eb565b47610af9600a546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015610b31573d6000803e3d6000fd5b5050565b600a546001600160a01b03163314610b5f5760405162461bcd60e51b815260040161074f906130eb565b600f5460ff1615610bbe5760405162461bcd60e51b815260206004820152602360248201527f50617573652073616c65206265666f7265206d617820737570706c792075706460448201526261746560e81b606482015260840161074f565b600d55565b61088583838360405180602001604052806000815250611872565b60006002826002811115610bf457610bf461334c565b1115610c3a5760405162461bcd60e51b8152602060048201526015602482015274496e76616c6964206272656564696e67207479706560581b604482015260640161074f565b60106000836002811115610c5057610c5061334c565b6002811115610c6157610c6161334c565b8152602001908152602001600020549050919050565b600a546001600160a01b03163314610ca15760405162461bcd60e51b815260040161074f906130eb565b600f5462010000900460ff1615610ced5760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481c995d99585b195960821b604482015260640161074f565b8051610d0090600c90602084019061291a565b5050600f805462ff0000191662010000179055565b6000610d2060085490565b8210610d835760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161074f565b60088281548110610d9657610d96613378565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806106425760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161074f565b600a546001600160a01b03163314610e495760405162461bcd60e51b815260040161074f906130eb565b6001600160a01b03166000818152601460205260408120805460ff191660019081179091556015805491820181559091527f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec4750180546001600160a01b0319169091179055565b6002600b541415610f025760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161074f565b6002600b55600f5460ff16610f595760405162461bcd60e51b815260206004820152601c60248201527f546865206d696e7420686173206e6f7420737461727465642079657400000000604482015260640161074f565b601354610100900460ff168015610f72575060135460ff165b610fbe5760405162461bcd60e51b815260206004820152601c60248201527f546865206d696e7420686173206e6f7420737461727465642079657400000000604482015260640161074f565b610fc7336120a1565b6110135760405162461bcd60e51b815260206004820152601d60248201527f596f7520646f206e6f74206861766520616e79204d6f6f6e2041706573000000604482015260640161074f565b600d5461102a600161102460085490565b906121cc565b11156110845760405162461bcd60e51b815260206004820152602360248201527f4d617820537570706c7920686173206265656e20616c726561647920726561636044820152621a195960ea1b606482015260840161074f565b6019546000906001600160a01b031662fdd58e336040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526024810186905260440160206040518083038186803b1580156110de57600080fd5b505afa1580156110f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111169190612ef6565b1161116d5760405162461bcd60e51b815260206004820152602160248201527f4e6f7420746865206f776e6572206f6620746869732043727970746f20436f6c6044820152606160f81b606482015260840161074f565b60008281526012602052604081205460ff16906011908260028111156111955761119561334c565b60028111156111a6576111a661334c565b8152602001908152602001600020546111fd83601060008560028111156111cf576111cf61334c565b60028111156111e0576111e061334c565b8152602001908152602001600020546121cc90919063ffffffff16565b111561121b5760405162461bcd60e51b815260040161074f90613120565b6016546001600160a01b03166384a85b0d3384600e5461123b919061325a565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561128157600080fd5b505af1158015611295573d6000803e3d6000fd5b50506019546001600160a01b0316915063f242432a9050336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604481018690526064810185905260a06084820152600060a482015260c401600060405180830381600087803b15801561131057600080fd5b505af1158015611324573d6000803e3d6000fd5b5050505060006113338261098e565b905060005b8381101561136657611354335b61134f838561322e565b6121d8565b8061135e816132f1565b915050611338565b50826010600084600281111561137e5761137e61334c565b600281111561138f5761138f61334c565b815260200190815260200160002060008282546113ac919061322e565b909155503390507fcd5bfa37268b1cd9cf45386b3702faa409b97c737e5d1cd33951a62ab2ef7b448360028111156113e6576113e661334c565b60408051918252602082018790520160405180910390a250506001600b555050565b60006001600160a01b0382166114735760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161074f565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146114b95760405162461bcd60e51b815260040161074f906130eb565b6114c360006121f2565b565b600a546001600160a01b031633146114ef5760405162461bcd60e51b815260040161074f906130eb565b6001600160a01b03166000908152601460205260409020805460ff19169055565b600a546001600160a01b0316331461153a5760405162461bcd60e51b815260040161074f906130eb565b815181511461155b5760405162461bcd60e51b815260040161074f9061317d565b60005b815181101561088557600283828151811061157b5761157b613378565b602002602001015111156115c95760405162461bcd60e51b8152602060048201526015602482015274496e76616c6964204272656564696e67207479706560581b604482015260640161074f565b8181815181106115db576115db613378565b6020026020010151601160008584815181106115f9576115f9613378565b602002602001015160028111156116125761161261334c565b60028111156116235761162361334c565b60028111156116345761163461334c565b81526020810191909152604001600020558061164f816132f1565b91505061155e565b606060018054610657906132bc565b610b31338383612244565b600a546001600160a01b0316331461169b5760405162461bcd60e51b815260040161074f906130eb565b600d546116ab8261102460085490565b11156116f95760405162461bcd60e51b815260206004820181905260248201527f4d696e74696e67206d6f726520746f6b656e73207468616e20616c6c6f776564604482015260640161074f565b60028211156117425760405162461bcd60e51b8152602060048201526015602482015274496e76616c6964206272656564696e67207479706560581b604482015260640161074f565b601160008360028111156117585761175861334c565b60028111156117695761176961334c565b600281111561177a5761177a61334c565b8152602001908152602001600020546117b482601060008660028111156117a3576117a361334c565b60028111156111cf576111cf61334c565b11156117d25760405162461bcd60e51b815260040161074f90613120565b60006117e983600281111561034d5761034d61334c565b905060005b82811015611811576117ff33611345565b80611809816132f1565b9150506117ee565b5081601060008560028111156118295761182961334c565b600281111561183a5761183a61334c565b600281111561184b5761184b61334c565b81526020019081526020016000206000828254611868919061322e565b9091555050505050565b61187c3383611de0565b6118985760405162461bcd60e51b815260040161074f906131ac565b6118a484848484612313565b50505050565b601581815481106118ba57600080fd5b6000918252602090912001546001600160a01b0316905081565b6000818152600260205260409020546060906001600160a01b03166119535760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161074f565b600c61195e83612346565b60405160200161196f929190612fa2565b60408051601f198184030181529082905261198c91602001612f79565b6040516020818303038152906040529050919050565b600a546001600160a01b031633146119cc5760405162461bcd60e51b815260040161074f906130eb565b600f5460ff1615611a1f5760405162461bcd60e51b815260206004820152601e60248201527f50617573652073616c65206265666f7265207072696365207570646174650000604482015260640161074f565b600e55565b600a546001600160a01b03163314611a4e5760405162461bcd60e51b815260040161074f906130eb565b6001600160a01b038116611ab35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161074f565b611abc816121f2565b50565b600a546001600160a01b03163314611ae95760405162461bcd60e51b815260040161074f906130eb565b8151835114611b0a5760405162461bcd60e51b815260040161074f9061317d565b8051835114611b2b5760405162461bcd60e51b815260040161074f9061317d565b60005b8351811015611d0d576003848281518110611b4b57611b4b613378565b602002602001015110611ba05760405162461bcd60e51b815260206004820152601860248201527f496e76616c69642043727970746f20436f6c6120747970650000000000000000604482015260640161074f565b6002838281518110611bb457611bb4613378565b60200260200101511115611c025760405162461bcd60e51b8152602060048201526015602482015274496e76616c6964204272656564696e67207479706560581b604482015260640161074f565b828181518110611c1457611c14613378565b60200260200101516002811115611c2d57611c2d61334c565b60126000868481518110611c4357611c43613378565b6020026020010151815260200190815260200160002060006101000a81548160ff02191690836002811115611c7a57611c7a61334c565b0217905550818181518110611c9157611c91613378565b602002602001015160116000858481518110611caf57611caf613378565b60200260200101516002811115611cc857611cc861334c565b6002811115611cd957611cd961334c565b6002811115611cea57611cea61334c565b815260208101919091526040016000205580611d05816132f1565b915050611b2e565b50506013805461ffff19166101011790555050565b60006001600160e01b031982166380ac58cd60e01b1480611d5357506001600160e01b03198216635b5e139f60e01b145b8061064257506301ffc9a760e01b6001600160e01b0319831614610642565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611da782610da8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611e595760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161074f565b6000611e6483610da8565b9050806001600160a01b0316846001600160a01b03161480611e9f5750836001600160a01b0316611e94846106da565b6001600160a01b0316145b80611ecf57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611ef257506001600160a01b03841660009081526014602052604090205460ff165b949350505050565b826001600160a01b0316611f0d82610da8565b6001600160a01b031614611f715760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161074f565b6001600160a01b038216611fd35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161074f565b611fde838383612444565b611fe9600082611d72565b6001600160a01b0383166000908152600360205260408120805460019290612012908490613279565b90915550506001600160a01b038216600090815260036020526040812080546001929061204090849061322e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600f54600090610100900460ff166120bb57506001919050565b6017546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a082319060240160206040518083038186803b15801561210157600080fd5b505afa158015612115573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121399190612ef6565b111561214757506001919050565b6018546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a082319060240160206040518083038186803b15801561218d57600080fd5b505afa1580156121a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c59190612ef6565b1192915050565b60006109f0828461322e565b610b318282604051806020016040528060008152506124fc565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156122a65760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161074f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61231e848484611efa565b61232a8484848461252f565b6118a45760405162461bcd60e51b815260040161074f90613099565b60608161236a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612394578061237e816132f1565b915061238d9050600a83613246565b915061236e565b60008167ffffffffffffffff8111156123af576123af61338e565b6040519080825280601f01601f1916602001820160405280156123d9576020820181803683370190505b5090505b8415611ef2576123ee600183613279565b91506123fb600a8661330c565b61240690603061322e565b60f81b81838151811061241b5761241b613378565b60200101906001600160f81b031916908160001a90535061243d600a86613246565b94506123dd565b6001600160a01b03831661249f5761249a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6124c2565b816001600160a01b0316836001600160a01b0316146124c2576124c2838261263c565b6001600160a01b0382166124d957610885816126d9565b826001600160a01b0316826001600160a01b031614610885576108858282612788565b61250683836127cc565b612513600084848461252f565b6108855760405162461bcd60e51b815260040161074f90613099565b60006001600160a01b0384163b1561263157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612573903390899088908890600401613049565b602060405180830381600087803b15801561258d57600080fd5b505af19250505080156125bd575060408051601f3d908101601f191682019092526125ba91810190612e56565b60015b612617573d8080156125eb576040519150601f19603f3d011682016040523d82523d6000602084013e6125f0565b606091505b50805161260f5760405162461bcd60e51b815260040161074f90613099565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ef2565b506001949350505050565b6000600161264984611408565b6126539190613279565b6000838152600760205260409020549091508082146126a6576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906126eb90600190613279565b6000838152600960205260408120546008805493945090928490811061271357612713613378565b90600052602060002001549050806008838154811061273457612734613378565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061276c5761276c613362565b6001900381819060005260206000200160009055905550505050565b600061279383611408565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166128225760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161074f565b6000818152600260205260409020546001600160a01b0316156128875760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161074f565b61289360008383612444565b6001600160a01b03821660009081526003602052604081208054600192906128bc90849061322e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612926906132bc565b90600052602060002090601f016020900481019282612948576000855561298e565b82601f1061296157805160ff191683800117855561298e565b8280016001018555821561298e579182015b8281111561298e578251825591602001919060010190612973565b5061299a92915061299e565b5090565b5b8082111561299a576000815560010161299f565b600067ffffffffffffffff8311156129cd576129cd61338e565b6129e0601f8401601f19166020016131fd565b90508281528383830111156129f457600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114612a2257600080fd5b919050565b600082601f830112612a3857600080fd5b8135602067ffffffffffffffff821115612a5457612a5461338e565b8160051b612a638282016131fd565b838152828101908684018388018501891015612a7e57600080fd5b600093505b85841015612aa1578035835260019390930192918401918401612a83565b50979650505050505050565b80358015158114612a2257600080fd5b600082601f830112612ace57600080fd5b6109f0838335602085016129b3565b600060208284031215612aef57600080fd5b6109f082612a0b565b60008060408385031215612b0b57600080fd5b612b1483612a0b565b9150612b2260208401612a0b565b90509250929050565b600080600080600060a08688031215612b4357600080fd5b612b4c86612a0b565b9450612b5a60208701612a0b565b9350604086013567ffffffffffffffff80821115612b7757600080fd5b612b8389838a01612a27565b94506060880135915080821115612b9957600080fd5b612ba589838a01612a27565b93506080880135915080821115612bbb57600080fd5b50612bc888828901612abd565b9150509295509295909350565b600080600060608486031215612bea57600080fd5b612bf384612a0b565b9250612c0160208501612a0b565b9150604084013590509250925092565b60008060008060808587031215612c2757600080fd5b612c3085612a0b565b9350612c3e60208601612a0b565b925060408501359150606085013567ffffffffffffffff811115612c6157600080fd5b612c6d87828801612abd565b91505092959194509250565b600080600080600060a08688031215612c9157600080fd5b612c9a86612a0b565b9450612ca860208701612a0b565b93506040860135925060608601359150608086013567ffffffffffffffff811115612cd257600080fd5b612bc888828901612abd565b60008060408385031215612cf157600080fd5b612cfa83612a0b565b9150612b2260208401612aad565b60008060408385031215612d1b57600080fd5b612d2483612a0b565b946020939093013593505050565b60008060408385031215612d4557600080fd5b823567ffffffffffffffff80821115612d5d57600080fd5b612d6986838701612a27565b93506020850135915080821115612d7f57600080fd5b50612d8c85828601612a27565b9150509250929050565b600080600060608486031215612dab57600080fd5b833567ffffffffffffffff80821115612dc357600080fd5b612dcf87838801612a27565b94506020860135915080821115612de557600080fd5b612df187838801612a27565b93506040860135915080821115612e0757600080fd5b50612e1486828701612a27565b9150509250925092565b600060208284031215612e3057600080fd5b6109f082612aad565b600060208284031215612e4b57600080fd5b81356109f0816133a4565b600060208284031215612e6857600080fd5b81516109f0816133a4565b600060208284031215612e8557600080fd5b8135600381106109f057600080fd5b600060208284031215612ea657600080fd5b813567ffffffffffffffff811115612ebd57600080fd5b8201601f81018413612ece57600080fd5b611ef2848235602084016129b3565b600060208284031215612eef57600080fd5b5035919050565b600060208284031215612f0857600080fd5b5051919050565b60008060408385031215612f2257600080fd5b50508035926020909101359150565b60008151808452612f49816020860160208601613290565b601f01601f19169290920160200192915050565b60008151612f6f818560208601613290565b9290920192915050565b60008251612f8b818460208701613290565b64173539b7b760d91b920191825250600501919050565b600080845481600182811c915080831680612fbe57607f831692505b6020808410821415612fde57634e487b7160e01b86526022600452602486fd5b818015612ff2576001811461300357613030565b60ff19861689528489019650613030565b60008b81526020902060005b868110156130285781548b82015290850190830161300f565b505084890196505b5050505050506130408185612f5d565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061307c90830184612f31565b9695505050505050565b6020815260006109f06020830184612f31565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252603a908201527f4d617820537570706c7920666f722074686973206272656564696e672074797060408201527f652068617320616c7265616479206265656e2072656163686564000000000000606082015260800190565b602080825260159082015274098d2e6e8e640dcdee840e6c2daca40d8cadccee8d605b1b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156132265761322661338e565b604052919050565b6000821982111561324157613241613320565b500190565b60008261325557613255613336565b500490565b600081600019048311821515161561327457613274613320565b500290565b60008282101561328b5761328b613320565b500390565b60005b838110156132ab578181015183820152602001613293565b838111156118a45750506000910152565b600181811c908216806132d057607f821691505b60208210811415610ab657634e487b7160e01b600052602260045260246000fd5b600060001982141561330557613305613320565b5060010190565b60008261331b5761331b613336565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611abc57600080fdfea2646970667358221220b59dcdb2b76dd64060471d84d870271a80e8decfcb27545dcd99e6dae07b5a8e64736f6c63430008070033

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

00000000000000000000000034c4eba1966b502dfcf0868b6f271d85cc8a231200000000000000000000000000a103267a22971375c3c37d6e1f1bdfb548e94600000000000000000000000065fd5d7ea09459c932aa70eba22548cd16283c9300000000000000000000000093c711fec5d1341d432f1e32adbecbd8b2c8eaf4

-----Decoded View---------------
Arg [0] : _apes (address): 0x34c4EBA1966B502dfCF0868b6f271d85CC8A2312
Arg [1] : _staking (address): 0x00a103267A22971375C3C37d6E1f1BDfb548e946
Arg [2] : _mal (address): 0x65fd5d7eA09459c932Aa70eba22548cd16283c93
Arg [3] : _cryptocola (address): 0x93c711FEc5d1341D432F1e32ADbecBD8b2C8EAF4

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000034c4eba1966b502dfcf0868b6f271d85cc8a2312
Arg [1] : 00000000000000000000000000a103267a22971375c3c37d6e1f1bdfb548e946
Arg [2] : 00000000000000000000000065fd5d7ea09459c932aa70eba22548cd16283c93
Arg [3] : 00000000000000000000000093c711fec5d1341d432f1e32adbecbd8b2c8eaf4


Deployed Bytecode Sourcemap

58226:8501:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35771:224;;;;;;:::i;:::-;;:::i;:::-;;;12461:14:1;;12454:22;12436:41;;12424:2;12409:18;35771:224:0;;;;;;;;21738:100;;;:::i;:::-;;;;;;;:::i;23297:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;10848:32:1;;;10830:51;;10818:2;10803:18;23297:221:0;10684:203:1;22820:411:0;;;;;;:::i;:::-;;:::i;:::-;;65188:94;;;;;;:::i;:::-;;:::i;36411:113::-;36499:10;:17;36411:113;;;26342:25:1;;;26330:2;26315:18;36411:113:0;26196:177:1;24047:339:0;;;;;;:::i;:::-;;:::i;36079:256::-;;;;;;:::i;:::-;;:::i;58407:33::-;;;;;;62081:593;;;;;;:::i;:::-;;:::i;65945:138::-;;;:::i;65764:173::-;;;;;;:::i;:::-;;:::i;24457:185::-;;;;;;:::i;:::-;;:::i;63691:255::-;;;;;;:::i;:::-;;:::i;66091:167::-;;;;;;:::i;:::-;;:::i;36601:233::-;;;;;;:::i;:::-;;:::i;21432:239::-;;;;;;:::i;:::-;;:::i;58447:41::-;;;;;;60141:153;;;;;;:::i;:::-;;:::i;63954:1226::-;;;;;;:::i;:::-;;:::i;21162:208::-;;;;;;:::i;:::-;;:::i;47624:103::-;;;:::i;59058:15::-;;;;;-1:-1:-1;;;;;59058:15:0;;;60302:118;;;;;;:::i;:::-;;:::i;61618:455::-;;;;;;:::i;:::-;;:::i;46973:87::-;47046:6;;-1:-1:-1;;;;;47046:6:0;46973:87;;59110:19;;;;;-1:-1:-1;;;;;59110:19:0;;;21907:104;;;:::i;59080:23::-;;;;;-1:-1:-1;;;;;59080:23:0;;;23590:155;;;;;;:::i;:::-;;:::i;62932:751::-;;;;;;:::i;:::-;;:::i;24713:328::-;;;;;;:::i;:::-;;:::i;66483:241::-;;;;;;:::i;:::-;66637:78;66483:241;;;;;;;;;;;-1:-1:-1;;;;;;12650:33:1;;;12632:52;;12620:2;12605:18;66483:241:0;12488:202:1;59001:30:0;;;;;;:::i;:::-;;:::i;65470:286::-;;;;;;:::i;:::-;;:::i;65290:172::-;;;;;;:::i;:::-;;:::i;59136:27::-;;;;;-1:-1:-1;;;;;59136:27:0;;;23816:164;;;;;;:::i;:::-;-1:-1:-1;;;;;23937:25:0;;;23913:4;23937:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23816:164;58497:24;;;;;;;;;66266:209;;;;;;:::i;:::-;66397:69;66266:209;;;;;;;;47882:201;;;;;;:::i;:::-;;:::i;58528:32::-;;;;;;;;;;;;60811:799;;;;;;:::i;:::-;;:::i;35771:224::-;35873:4;-1:-1:-1;;;;;;35897:50:0;;-1:-1:-1;;;35897:50:0;;:90;;;35951:36;35975:11;35951:23;:36::i;:::-;35890:97;35771:224;-1:-1:-1;;35771:224:0:o;21738:100::-;21792:13;21825:5;21818:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21738:100;:::o;23297:221::-;23373:7;26640:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26640:16:0;23393:73;;;;-1:-1:-1;;;23393:73:0;;21718:2:1;23393:73:0;;;21700:21:1;21757:2;21737:18;;;21730:30;21796:34;21776:18;;;21769:62;-1:-1:-1;;;21847:18:1;;;21840:42;21899:19;;23393:73:0;;;;;;;;;-1:-1:-1;23486:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;23486:24:0;;23297:221::o;22820:411::-;22901:13;22917:23;22932:7;22917:14;:23::i;:::-;22901:39;;22965:5;-1:-1:-1;;;;;22959:11:0;:2;-1:-1:-1;;;;;22959:11:0;;;22951:57;;;;-1:-1:-1;;;22951:57:0;;23335:2:1;22951:57:0;;;23317:21:1;23374:2;23354:18;;;23347:30;23413:34;23393:18;;;23386:62;-1:-1:-1;;;23464:18:1;;;23457:31;23505:19;;22951:57:0;23133:397:1;22951:57:0;16383:10;-1:-1:-1;;;;;23043:21:0;;;;:62;;-1:-1:-1;23068:37:0;23085:5;16383:10;23816:164;:::i;23068:37::-;23021:168;;;;-1:-1:-1;;;23021:168:0;;18650:2:1;23021:168:0;;;18632:21:1;18689:2;18669:18;;;18662:30;18728:34;18708:18;;;18701:62;18799:26;18779:18;;;18772:54;18843:19;;23021:168:0;18448:420:1;23021:168:0;23202:21;23211:2;23215:7;23202:8;:21::i;:::-;22890:341;22820:411;;:::o;65188:94::-;47046:6;;-1:-1:-1;;;;;47046:6:0;16383:10;47193:23;47185:68;;;;-1:-1:-1;;;47185:68:0;;;;;;;:::i;:::-;65253:12:::1;:21:::0;;-1:-1:-1;;65253:21:0::1;::::0;::::1;;::::0;;;::::1;::::0;;65188:94::o;24047:339::-;24242:41;16383:10;24275:7;24242:18;:41::i;:::-;24234:103;;;;-1:-1:-1;;;24234:103:0;;;;;;;:::i;:::-;24350:28;24360:4;24366:2;24370:7;24350:9;:28::i;36079:256::-;36176:7;36212:23;36229:5;36212:16;:23::i;:::-;36204:5;:31;36196:87;;;;-1:-1:-1;;;36196:87:0;;15477:2:1;36196:87:0;;;15459:21:1;15516:2;15496:18;;;15489:30;15555:34;15535:18;;;15528:62;-1:-1:-1;;;15606:18:1;;;15599:41;15657:19;;36196:87:0;15275:407:1;36196:87:0;-1:-1:-1;;;;;;36301:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;36079:256::o;62081:593::-;62154:7;62171:21;62195:20;:35;62216:13;62195:35;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;62195:35:0;;;;;-1:-1:-1;62243:13:0;:42;;;;;;;;:::i;:::-;;62239:428;;;62304:17;62308:13;62304:1;:17;:::i;:::-;62297:24;62081:593;-1:-1:-1;;;62081:593:0:o;62239:428::-;62358:23;62341:13;:40;;;;;;;;:::i;:::-;;62337:330;;;62400:50;;;:23;:50;;;;62457:13;;62400:54;;62453:1;62400:54;:::i;:::-;:70;;;;:::i;62337:330::-;62589:23;:48;;;;;62536:50;;;;62644:13;;62536:101;;;:::i;:::-;:105;;62640:1;62536:105;:::i;62337:330::-;62162:512;62081:593;;;:::o;65945:138::-;47046:6;;-1:-1:-1;;;;;47046:6:0;16383:10;47193:23;47185:68;;;;-1:-1:-1;;;47185:68:0;;;;;;;:::i;:::-;66011:21:::1;66049:7;47046:6:::0;;-1:-1:-1;;;;;47046:6:0;;46973:87;66049:7:::1;-1:-1:-1::0;;;;;66041:25:0::1;:34;66067:7;66041:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;65984:99;65945:138::o:0;65764:173::-;47046:6;;-1:-1:-1;;;;;47046:6:0;16383:10;47193:23;47185:68;;;;-1:-1:-1;;;47185:68:0;;;;;;;:::i;:::-;65844:12:::1;::::0;::::1;;65843:13;65835:61;;;::::0;-1:-1:-1;;;65835:61:0;;24918:2:1;65835:61:0::1;::::0;::::1;24900:21:1::0;24957:2;24937:18;;;24930:30;24996:34;24976:18;;;24969:62;-1:-1:-1;;;25047:18:1;;;25040:33;25090:19;;65835:61:0::1;24716:399:1::0;65835:61:0::1;65907:10;:22:::0;65764:173::o;24457:185::-;24595:39;24612:4;24618:2;24622:7;24595:39;;;;;;;;;;;;:16;:39::i;63691:255::-;63771:7;63831:28;63806:12;63798:21;;;;;;;;:::i;:::-;:62;;63790:96;;;;-1:-1:-1;;;63790:96:0;;14777:2:1;63790:96:0;;;14759:21:1;14816:2;14796:18;;;14789:30;-1:-1:-1;;;14835:18:1;;;14828:51;14896:18;;63790:96:0;14575:345:1;63790:96:0;63904:20;:34;63925:12;63904:34;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;63897:41;;63691:255;;;:::o;66091:167::-;47046:6;;-1:-1:-1;;;;;47046:6:0;16383:10;47193:23;47185:68;;;;-1:-1:-1;;;47185:68:0;;;;;;;:::i;:::-;66167:8:::1;::::0;;;::::1;;;66166:9;66158:38;;;::::0;-1:-1:-1;;;66158:38:0;;20249:2:1;66158:38:0::1;::::0;::::1;20231:21:1::0;20288:2;20268:18;;;20261:30;-1:-1:-1;;;20307:18:1;;;20300:46;20363:18;;66158:38:0::1;20047:340:1::0;66158:38:0::1;66205:21:::0;;::::1;::::0;:8:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;;66235:8:0::1;:15:::0;;-1:-1:-1;;66235:15:0::1;::::0;::::1;::::0;;66091:167::o;36601:233::-;36676:7;36712:30;36499:10;:17;;36411:113;36712:30;36704:5;:38;36696:95;;;;-1:-1:-1;;;36696:95:0;;24505:2:1;36696:95:0;;;24487:21:1;24544:2;24524:18;;;24517:30;24583:34;24563:18;;;24556:62;-1:-1:-1;;;24634:18:1;;;24627:42;24686:19;;36696:95:0;24303:408:1;36696:95:0;36809:10;36820:5;36809:17;;;;;;;;:::i;:::-;;;;;;;;;36802:24;;36601:233;;;:::o;21432:239::-;21504:7;21540:16;;;:7;:16;;;;;;-1:-1:-1;;;;;21540:16:0;21575:19;21567:73;;;;-1:-1:-1;;;21567:73:0;;19839:2:1;21567:73:0;;;19821:21:1;19878:2;19858:18;;;19851:30;19917:34;19897:18;;;19890:62;-1:-1:-1;;;19968:18:1;;;19961:39;20017:19;;21567:73:0;19637:405:1;60141:153:0;47046:6;;-1:-1:-1;;;;;47046:6:0;16383:10;47193:23;47185:68;;;;-1:-1:-1;;;47185:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;60209:28:0::1;;::::0;;;:13:::1;:28;::::0;;;;:35;;-1:-1:-1;;60209:35:0::1;60240:4;60209:35:::0;;::::1;::::0;;;60253:13:::1;:33:::0;;;;::::1;::::0;;;;;;::::1;::::0;;-1:-1:-1;;;;;;60253:33:0::1;::::0;;::::1;::::0;;60141:153::o;63954:1226::-;57095:1;57693:7;;:19;;57685:63;;;;-1:-1:-1;;;57685:63:0;;25681:2:1;57685:63:0;;;25663:21:1;25720:2;25700:18;;;25693:30;25759:33;25739:18;;;25732:61;25810:18;;57685:63:0;25479:355:1;57685:63:0;57095:1;57826:7;:18;64051:12:::1;::::0;::::1;;64043:53;;;::::0;-1:-1:-1;;;64043:53:0;;26041:2:1;64043:53:0::1;::::0;::::1;26023:21:1::0;26080:2;26060:18;;;26053:30;26119;26099:18;;;26092:58;26167:18;;64043:53:0::1;25839:352:1::0;64043:53:0::1;64113:10;::::0;::::1;::::0;::::1;;;:28:::0;::::1;;;-1:-1:-1::0;64127:14:0::1;::::0;::::1;;64113:28;64105:69;;;::::0;-1:-1:-1;;;64105:69:0;;26041:2:1;64105:69:0::1;::::0;::::1;26023:21:1::0;26080:2;26060:18;;;26053:30;26119;26099:18;;;26092:58;26167:18;;64105:69:0::1;25839:352:1::0;64105:69:0::1;64191:35;16383:10:::0;64191:21:::1;:35::i;:::-;64183:77;;;::::0;-1:-1:-1;;;64183:77:0;;14015:2:1;64183:77:0::1;::::0;::::1;13997:21:1::0;14054:2;14034:18;;;14027:30;14093:31;14073:18;;;14066:59;14142:18;;64183:77:0::1;13813:353:1::0;64183:77:0::1;64301:10;;64277:20;64295:1;64277:13;36499:10:::0;:17;;36411:113;64277:13:::1;:17:::0;::::1;:20::i;:::-;:34;;64269:82;;;::::0;-1:-1:-1;;;64269:82:0;;14373:2:1;64269:82:0::1;::::0;::::1;14355:21:1::0;14412:2;14392:18;;;14385:30;14451:34;14431:18;;;14424:62;-1:-1:-1;;;14502:18:1;;;14495:33;14545:19;;64269:82:0::1;14171:399:1::0;64269:82:0::1;64368:11;::::0;64424:1:::1;::::0;-1:-1:-1;;;;;64368:11:0::1;:21;16383:10:::0;64368:53:::1;::::0;-1:-1:-1;;;;;;64368:53:0::1;::::0;;;;;;-1:-1:-1;;;;;12209:32:1;;;64368:53:0::1;::::0;::::1;12191:51:1::0;12258:18;;;12251:34;;;12164:18;;64368:53:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:57;64360:103;;;::::0;-1:-1:-1;;;64360:103:0;;21316:2:1;64360:103:0::1;::::0;::::1;21298:21:1::0;21355:2;21335:18;;;21328:30;21394:34;21374:18;;;21367:62;-1:-1:-1;;;21445:18:1;;;21438:31;21486:19;;64360:103:0::1;21114:397:1::0;64360:103:0::1;64474:29;64506:36:::0;;;:18:::1;:36;::::0;;;;;::::1;;::::0;64612:23:::1;::::0;64506:36;64612:40:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;64559:49;64601:6;64559:20;:37;64580:15;64559:37;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:41;;:49;;;;:::i;:::-;:93;;64551:164;;;;-1:-1:-1::0;;;64551:164:0::1;;;;;;;:::i;:::-;64726:3;::::0;-1:-1:-1;;;;;64726:3:0::1;:12;16383:10:::0;64769:6:::1;64753:13;;:22;;;;:::i;:::-;64726:50;::::0;-1:-1:-1;;;;;;64726:50:0::1;::::0;;;;;;-1:-1:-1;;;;;12209:32:1;;;64726:50:0::1;::::0;::::1;12191:51:1::0;12258:18;;;12251:34;12164:18;;64726:50:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;64785:11:0::1;::::0;-1:-1:-1;;;;;64785:11:0::1;::::0;-1:-1:-1;64785:28:0::1;::::0;-1:-1:-1;16383:10:0;64785:87:::1;::::0;-1:-1:-1;;;;;;64785:87:0::1;::::0;;;;;;-1:-1:-1;;;;;11736:15:1;;;64785:87:0::1;::::0;::::1;11718:34:1::0;64836:4:0::1;11768:18:1::0;;;11761:43;11820:18;;;11813:34;;;11863:18;;;11856:34;;;11698:3;11906:19;;;11899:32;-1:-1:-1;11947:19:1;;;11940:30;11987:19;;64785:87:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;64883:18;64904:30;64918:15;64904:13;:30::i;:::-;64883:51;;64948:9;64943:96;64967:6;64963:1;:10;64943:96;;;64990:39;16383:10:::0;65000:12:::1;65014:14;65027:1:::0;65014:10;:14:::1;:::i;:::-;64990:9;:39::i;:::-;64975:3:::0;::::1;::::0;::::1;:::i;:::-;;;;64943:96;;;;65088:6;65047:20;:37;65068:15;65047:37;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:47;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;16383:10:0;;-1:-1:-1;65110:62:0::1;65147:15:::0;65139:24:::1;::::0;::::1;;;;;;:::i;:::-;65110:62;::::0;;26552:25:1;;;26608:2;26593:18;;26586:34;;;26525:18;65110:62:0::1;;;;;;;-1:-1:-1::0;;57051:1:0;58005:7;:22;-1:-1:-1;;63954:1226:0:o;21162:208::-;21234:7;-1:-1:-1;;;;;21262:19:0;;21254:74;;;;-1:-1:-1;;;21254:74:0;;19428:2:1;21254:74:0;;;19410:21:1;19467:2;19447:18;;;19440:30;19506:34;19486:18;;;19479:62;-1:-1:-1;;;19557:18:1;;;19550:40;19607:19;;21254:74:0;19226:406:1;21254:74:0;-1:-1:-1;;;;;;21346:16:0;;;;;:9;:16;;;;;;;21162:208::o;47624:103::-;47046:6;;-1:-1:-1;;;;;47046:6:0;16383:10;47193:23;47185:68;;;;-1:-1:-1;;;47185:68:0;;;;;;;:::i;:::-;47689:30:::1;47716:1;47689:18;:30::i;:::-;47624:103::o:0;60302:118::-;47046:6;;-1:-1:-1;;;;;47046:6:0;16383:10;47193:23;47185:68;;;;-1:-1:-1;;;47185:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;60374:30:0::1;60407:5;60374:30:::0;;;:13:::1;:30;::::0;;;;:38;;-1:-1:-1;;60374:38:0::1;::::0;;60302:118::o;61618:455::-;47046:6;;-1:-1:-1;;;;;47046:6:0;16383:10;47193:23;47185:68;;;;-1:-1:-1;;;47185:68:0;;;;;;;:::i;:::-;61762:14:::1;:21;61739:12;:19;:44;61731:78;;;;-1:-1:-1::0;;;61731:78:0::1;;;;;;;:::i;:::-;61823:9;61818:248;61842:12;:19;61838:1;:23;61818:248;;;61915:28;61886:14;61901:1;61886:17;;;;;;;;:::i;:::-;;;;;;;:58;;61878:92;;;::::0;-1:-1:-1;;;61878:92:0;;15127:2:1;61878:92:0::1;::::0;::::1;15109:21:1::0;15166:2;15146:18;;;15139:30;-1:-1:-1;;;15185:18:1;;;15178:51;15246:18;;61878:92:0::1;14925:345:1::0;61878:92:0::1;62041:12;62054:1;62041:15;;;;;;;;:::i;:::-;;;;;;;61981:23;:57;62019:14;62034:1;62019:17;;;;;;;;:::i;:::-;;;;;;;62005:32;;;;;;;;:::i;:::-;61981:57;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;61981:57:0;:75;61863:3;::::1;::::0;::::1;:::i;:::-;;;;61818:248;;21907:104:::0;21963:13;21996:7;21989:14;;;;;:::i;23590:155::-;23685:52;16383:10;23718:8;23728;23685:18;:52::i;62932:751::-;47046:6;;-1:-1:-1;;;;;47046:6:0;16383:10;47193:23;47185:68;;;;-1:-1:-1;;;47185:68:0;;;;;;;:::i;:::-;63073:10:::1;;63038:31;63056:12;63038:13;36499:10:::0;:17;;36411:113;63038:31:::1;:45;;63030:90;;;::::0;-1:-1:-1;;;63030:90:0;;20955:2:1;63030:90:0::1;::::0;::::1;20937:21:1::0;;;20974:18;;;20967:30;21033:34;21013:18;;;21006:62;21085:18;;63030:90:0::1;20753:356:1::0;63030:90:0::1;63161:28;63137:12;:53;;63129:87;;;::::0;-1:-1:-1;;;63129:87:0;;14777:2:1;63129:87:0::1;::::0;::::1;14759:21:1::0;14816:2;14796:18;;;14789:30;-1:-1:-1;;;14835:18:1;;;14828:51;14896:18;;63129:87:0::1;14575:345:1::0;63129:87:0::1;63304:23;:52;63342:12;63328:27;;;;;;;;:::i;:::-;63304:52;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;63233:67;63287:12;63233:20;:49;63268:12;63254:27;;;;;;;;:::i;:::-;63233:49;;;;;;;;:::i;:67::-;:123;;63225:194;;;;-1:-1:-1::0;;;63225:194:0::1;;;;;;;:::i;:::-;63428:18;63449:42;63477:12;63463:27;;;;;;;;:::i;63449:42::-;63428:63;;63504:9;63500:102;63523:12;63519:1;:16;63500:102;;;63553:39;16383:10:::0;63563:12:::1;16303:98:::0;63553:39:::1;63537:3:::0;::::1;::::0;::::1;:::i;:::-;;;;63500:102;;;;63663:12;63610:20;:49;63645:12;63631:27;;;;;;;;:::i;:::-;63610:49;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:65;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;;62932:751:0:o;24713:328::-;24888:41;16383:10;24921:7;24888:18;:41::i;:::-;24880:103;;;;-1:-1:-1;;;24880:103:0;;;;;;;:::i;:::-;24994:39;25008:4;25014:2;25018:7;25027:5;24994:13;:39::i;:::-;24713:328;;;;:::o;59001:30::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;59001:30:0;;-1:-1:-1;59001:30:0;:::o;65470:286::-;26616:4;26640:16;;;:7;:16;;;;;;65543:13;;-1:-1:-1;;;;;26640:16:0;65567:76;;;;-1:-1:-1;;;65567:76:0;;22919:2:1;65567:76:0;;;22901:21:1;22958:2;22938:18;;;22931:30;22997:34;22977:18;;;22970:62;-1:-1:-1;;;23048:18:1;;;23041:45;23103:19;;65567:76:0;22717:411:1;65567:76:0;65707:8;65717:18;:7;:16;:18::i;:::-;65690:46;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;65690:46:0;;;;;;;;;;65666:81;;65690:46;65666:81;;:::i;:::-;;;;;;;;;;;;;65652:96;;65470:286;;;:::o;65290:172::-;47046:6;;-1:-1:-1;;;;;47046:6:0;16383:10;47193:23;47185:68;;;;-1:-1:-1;;;47185:68:0;;;;;;;:::i;:::-;65373:12:::1;::::0;::::1;;65372:13;65364:56;;;::::0;-1:-1:-1;;;65364:56:0;;25322:2:1;65364:56:0::1;::::0;::::1;25304:21:1::0;25361:2;25341:18;;;25334:30;25400:32;25380:18;;;25373:60;25450:18;;65364:56:0::1;25120:354:1::0;65364:56:0::1;65429:13;:25:::0;65290:172::o;47882:201::-;47046:6;;-1:-1:-1;;;;;47046:6:0;16383:10;47193:23;47185:68;;;;-1:-1:-1;;;47185:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;47971:22:0;::::1;47963:73;;;::::0;-1:-1:-1;;;47963:73:0;;16308:2:1;47963:73:0::1;::::0;::::1;16290:21:1::0;16347:2;16327:18;;;16320:30;16386:34;16366:18;;;16359:62;-1:-1:-1;;;16437:18:1;;;16430:36;16483:19;;47963:73:0::1;16106:402:1::0;47963:73:0::1;48047:28;48066:8;48047:18;:28::i;:::-;47882:201:::0;:::o;60811:799::-;47046:6;;-1:-1:-1;;;;;47046:6:0;16383:10;47193:23;47185:68;;;;-1:-1:-1;;;47185:68:0;;;;;;;:::i;:::-;60990:14:::1;:21;60963:16;:23;:48;60955:82;;;;-1:-1:-1::0;;;60955:82:0::1;;;;;;;:::i;:::-;61081:12;:19;61054:16;:23;:46;61046:80;;;;-1:-1:-1::0;;;61046:80:0::1;;;;;;;:::i;:::-;61140:9;61135:408;61159:16;:23;61155:1;:27;61135:408;;;61229:1;61207:16;61224:1;61207:19;;;;;;;;:::i;:::-;;;;;;;:23;61199:60;;;::::0;-1:-1:-1;;;61199:60:0;;19075:2:1;61199:60:0::1;::::0;::::1;19057:21:1::0;19114:2;19094:18;;;19087:30;19153:26;19133:18;;;19126:54;19197:18;;61199:60:0::1;18873:348:1::0;61199:60:0::1;61307:28;61278:14;61293:1;61278:17;;;;;;;;:::i;:::-;;;;;;;:58;;61270:92;;;::::0;-1:-1:-1;;;61270:92:0;;15127:2:1;61270:92:0::1;::::0;::::1;15109:21:1::0;15166:2;15146:18;;;15139:30;-1:-1:-1;;;15185:18:1;;;15178:51;15246:18;;61270:92:0::1;14925:345:1::0;61270:92:0::1;61429:14;61444:1;61429:17;;;;;;;;:::i;:::-;;;;;;;61415:32;;;;;;;;:::i;:::-;61373:18;:39;61392:16;61409:1;61392:19;;;;;;;;:::i;:::-;;;;;;;61373:39;;;;;;;;;;;;:74;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;61518:12;61531:1;61518:15;;;;;;;;:::i;:::-;;;;;;;61458:23;:57;61496:14;61511:1;61496:17;;;;;;;;:::i;:::-;;;;;;;61482:32;;;;;;;;:::i;:::-;61458:57;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;61458:57:0;:75;61184:3;::::1;::::0;::::1;:::i;:::-;;;;61135:408;;;-1:-1:-1::0;;61551:10:0::1;:17:::0;;-1:-1:-1;;61581:21:0;;;;;-1:-1:-1;;60811:799:0:o;20793:305::-;20895:4;-1:-1:-1;;;;;;20932:40:0;;-1:-1:-1;;;20932:40:0;;:105;;-1:-1:-1;;;;;;;20989:48:0;;-1:-1:-1;;;20989:48:0;20932:105;:158;;;-1:-1:-1;;;;;;;;;;19434:40:0;;;21054:36;19325:157;30697:174;30772:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;30772:29:0;-1:-1:-1;;;;;30772:29:0;;;;;;;;:24;;30826:23;30772:24;30826:14;:23::i;:::-;-1:-1:-1;;;;;30817:46:0;;;;;;;;;;;30697:174;;:::o;60428:375::-;60522:4;26640:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26640:16:0;60539:73;;;;-1:-1:-1;;;60539:73:0;;18237:2:1;60539:73:0;;;18219:21:1;18276:2;18256:18;;;18249:30;18315:34;18295:18;;;18288:62;-1:-1:-1;;;18366:18:1;;;18359:42;18418:19;;60539:73:0;18035:408:1;60539:73:0;60623:13;60639:23;60654:7;60639:14;:23::i;:::-;60623:39;;60692:5;-1:-1:-1;;;;;60681:16:0;:7;-1:-1:-1;;;;;60681:16:0;;:51;;;;60725:7;-1:-1:-1;;;;;60701:31:0;:20;60713:7;60701:11;:20::i;:::-;-1:-1:-1;;;;;60701:31:0;;60681:51;:87;;;-1:-1:-1;;;;;;23937:25:0;;;23913:4;23937:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;60736:32;60681:113;;;-1:-1:-1;;;;;;60772:22:0;;;;;;:13;:22;;;;;;;;60681:113;60673:122;60428:375;-1:-1:-1;;;;60428:375:0:o;29954:625::-;30113:4;-1:-1:-1;;;;;30086:31:0;:23;30101:7;30086:14;:23::i;:::-;-1:-1:-1;;;;;30086:31:0;;30078:81;;;;-1:-1:-1;;;30078:81:0;;16715:2:1;30078:81:0;;;16697:21:1;16754:2;16734:18;;;16727:30;16793:34;16773:18;;;16766:62;-1:-1:-1;;;16844:18:1;;;16837:35;16889:19;;30078:81:0;16513:401:1;30078:81:0;-1:-1:-1;;;;;30178:16:0;;30170:65;;;;-1:-1:-1;;;30170:65:0;;17478:2:1;30170:65:0;;;17460:21:1;17517:2;17497:18;;;17490:30;17556:34;17536:18;;;17529:62;-1:-1:-1;;;17607:18:1;;;17600:34;17651:19;;30170:65:0;17276:400:1;30170:65:0;30248:39;30269:4;30275:2;30279:7;30248:20;:39::i;:::-;30352:29;30369:1;30373:7;30352:8;:29::i;:::-;-1:-1:-1;;;;;30394:15:0;;;;;;:9;:15;;;;;:20;;30413:1;;30394:15;:20;;30413:1;;30394:20;:::i;:::-;;;;-1:-1:-1;;;;;;;30425:13:0;;;;;;:9;:13;;;;;:18;;30442:1;;30425:13;:18;;30442:1;;30425:18;:::i;:::-;;;;-1:-1:-1;;30454:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30454:21:0;-1:-1:-1;;;;;30454:21:0;;;;;;;;;30493:27;;30454:16;;30493:27;;;;;;;22890:341;22820:411;;:::o;62682:242::-;62770:20;;62750:4;;62770:20;;;;;62765:38;;-1:-1:-1;62799:4:0;;62682:242;-1:-1:-1;62682:242:0:o;62765:38::-;62816:7;;:23;;-1:-1:-1;;;62816:23:0;;-1:-1:-1;;;;;10848:32:1;;;62816:23:0;;;10830:51:1;62842:1:0;;62816:7;;:17;;10803:18:1;;62816:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:27;62812:65;;;-1:-1:-1;62863:4:0;;62682:242;-1:-1:-1;62682:242:0:o;62812:65::-;62892:4;;:20;;-1:-1:-1;;;62892:20:0;;-1:-1:-1;;;;;10848:32:1;;;62892:20:0;;;10830:51:1;62915:1:0;;62892:4;;:14;;10803:18:1;;62892:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:24;;62682:242;-1:-1:-1;;62682:242:0:o;51212:98::-;51270:7;51297:5;51301:1;51297;:5;:::i;27535:110::-;27611:26;27621:2;27625:7;27611:26;;;;;;;;;;;;:9;:26::i;48243:191::-;48336:6;;;-1:-1:-1;;;;;48353:17:0;;;-1:-1:-1;;;;;;48353:17:0;;;;;;;48386:40;;48336:6;;;48353:17;48336:6;;48386:40;;48317:16;;48386:40;48306:128;48243:191;:::o;31013:315::-;31168:8;-1:-1:-1;;;;;31159:17:0;:5;-1:-1:-1;;;;;31159:17:0;;;31151:55;;;;-1:-1:-1;;;31151:55:0;;17883:2:1;31151:55:0;;;17865:21:1;17922:2;17902:18;;;17895:30;17961:27;17941:18;;;17934:55;18006:18;;31151:55:0;17681:349:1;31151:55:0;-1:-1:-1;;;;;31217:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;31217:46:0;;;;;;;;;;31279:41;;12436::1;;;31279::0;;12409:18:1;31279:41:0;;;;;;;31013:315;;;:::o;25923:::-;26080:28;26090:4;26096:2;26100:7;26080:9;:28::i;:::-;26127:48;26150:4;26156:2;26160:7;26169:5;26127:22;:48::i;:::-;26119:111;;;;-1:-1:-1;;;26119:111:0;;;;;;;:::i;16799:723::-;16855:13;17076:10;17072:53;;-1:-1:-1;;17103:10:0;;;;;;;;;;;;-1:-1:-1;;;17103:10:0;;;;;16799:723::o;17072:53::-;17150:5;17135:12;17191:78;17198:9;;17191:78;;17224:8;;;;:::i;:::-;;-1:-1:-1;17247:10:0;;-1:-1:-1;17255:2:0;17247:10;;:::i;:::-;;;17191:78;;;17279:19;17311:6;17301:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17301:17:0;;17279:39;;17329:154;17336:10;;17329:154;;17363:11;17373:1;17363:11;;:::i;:::-;;-1:-1:-1;17432:10:0;17440:2;17432:5;:10;:::i;:::-;17419:24;;:2;:24;:::i;:::-;17406:39;;17389:6;17396;17389:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;17389:56:0;;;;;;;;-1:-1:-1;17460:11:0;17469:2;17460:11;;:::i;:::-;;;17329:154;;37447:589;-1:-1:-1;;;;;37653:18:0;;37649:187;;37688:40;37720:7;38863:10;:17;;38836:24;;;;:15;:24;;;;;:44;;;38891:24;;;;;;;;;;;;38759:164;37688:40;37649:187;;;37758:2;-1:-1:-1;;;;;37750:10:0;:4;-1:-1:-1;;;;;37750:10:0;;37746:90;;37777:47;37810:4;37816:7;37777:32;:47::i;:::-;-1:-1:-1;;;;;37850:16:0;;37846:183;;37883:45;37920:7;37883:36;:45::i;37846:183::-;37956:4;-1:-1:-1;;;;;37950:10:0;:2;-1:-1:-1;;;;;37950:10:0;;37946:83;;37977:40;38005:2;38009:7;37977:27;:40::i;27872:321::-;28002:18;28008:2;28012:7;28002:5;:18::i;:::-;28053:54;28084:1;28088:2;28092:7;28101:5;28053:22;:54::i;:::-;28031:154;;;;-1:-1:-1;;;28031:154:0;;;;;;;:::i;31893:799::-;32048:4;-1:-1:-1;;;;;32069:13:0;;8732:19;:23;32065:620;;32105:72;;-1:-1:-1;;;32105:72:0;;-1:-1:-1;;;;;32105:36:0;;;;;:72;;16383:10;;32156:4;;32162:7;;32171:5;;32105:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32105:72:0;;;;;;;;-1:-1:-1;;32105:72:0;;;;;;;;;;;;:::i;:::-;;;32101:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32347:13:0;;32343:272;;32390:60;;-1:-1:-1;;;32390:60:0;;;;;;;:::i;32343:272::-;32565:6;32559:13;32550:6;32546:2;32542:15;32535:38;32101:529;-1:-1:-1;;;;;;32228:51:0;-1:-1:-1;;;32228:51:0;;-1:-1:-1;32221:58:0;;32065:620;-1:-1:-1;32669:4:0;31893:799;;;;;;:::o;39550:988::-;39816:22;39866:1;39841:22;39858:4;39841:16;:22::i;:::-;:26;;;;:::i;:::-;39878:18;39899:26;;;:17;:26;;;;;;39816:51;;-1:-1:-1;40032:28:0;;;40028:328;;-1:-1:-1;;;;;40099:18:0;;40077:19;40099:18;;;:12;:18;;;;;;;;:34;;;;;;;;;40150:30;;;;;;:44;;;40267:30;;:17;:30;;;;;:43;;;40028:328;-1:-1:-1;40452:26:0;;;;:17;:26;;;;;;;;40445:33;;;-1:-1:-1;;;;;40496:18:0;;;;;:12;:18;;;;;:34;;;;;;;40489:41;39550:988::o;40833:1079::-;41111:10;:17;41086:22;;41111:21;;41131:1;;41111:21;:::i;:::-;41143:18;41164:24;;;:15;:24;;;;;;41537:10;:26;;41086:46;;-1:-1:-1;41164:24:0;;41086:46;;41537:26;;;;;;:::i;:::-;;;;;;;;;41515:48;;41601:11;41576:10;41587;41576:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;41681:28;;;:15;:28;;;;;;;:41;;;41853:24;;;;;41846:31;41888:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;40904:1008;;;40833:1079;:::o;38337:221::-;38422:14;38439:20;38456:2;38439:16;:20::i;:::-;-1:-1:-1;;;;;38470:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;38515:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;38337:221:0:o;28529:439::-;-1:-1:-1;;;;;28609:16:0;;28601:61;;;;-1:-1:-1;;;28601:61:0;;20594:2:1;28601:61:0;;;20576:21:1;;;20613:18;;;20606:30;20672:34;20652:18;;;20645:62;20724:18;;28601:61:0;20392:356:1;28601:61:0;26616:4;26640:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26640:16:0;:30;28673:58;;;;-1:-1:-1;;;28673:58:0;;17121:2:1;28673:58:0;;;17103:21:1;17160:2;17140:18;;;17133:30;17199;17179:18;;;17172:58;17247:18;;28673:58:0;16919:352:1;28673:58:0;28744:45;28773:1;28777:2;28781:7;28744:20;:45::i;:::-;-1:-1:-1;;;;;28802:13:0;;;;;;:9;:13;;;;;:18;;28819:1;;28802:13;:18;;28819:1;;28802:18;:::i;:::-;;;;-1:-1:-1;;28831:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28831:21:0;-1:-1:-1;;;;;28831:21:0;;;;;;;;28870:33;;28831:16;;;28870:33;;28831:16;;28870:33;66041:34:::1;65984:99;65945:138::o:0;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:723::-;657:5;710:3;703:4;695:6;691:17;687:27;677:55;;728:1;725;718:12;677:55;764:6;751:20;790:4;813:18;809:2;806:26;803:52;;;835:18;;:::i;:::-;881:2;878:1;874:10;904:28;928:2;924;920:11;904:28;:::i;:::-;966:15;;;997:12;;;;1029:15;;;1063;;;1059:24;;1056:33;-1:-1:-1;1053:53:1;;;1102:1;1099;1092:12;1053:53;1124:1;1115:10;;1134:163;1148:2;1145:1;1142:9;1134:163;;;1205:17;;1193:30;;1166:1;1159:9;;;;;1243:12;;;;1275;;1134:163;;;-1:-1:-1;1315:5:1;603:723;-1:-1:-1;;;;;;;603:723:1:o;1331:160::-;1396:20;;1452:13;;1445:21;1435:32;;1425:60;;1481:1;1478;1471:12;1496:220;1538:5;1591:3;1584:4;1576:6;1572:17;1568:27;1558:55;;1609:1;1606;1599:12;1558:55;1631:79;1706:3;1697:6;1684:20;1677:4;1669:6;1665:17;1631:79;:::i;1721:186::-;1780:6;1833:2;1821:9;1812:7;1808:23;1804:32;1801:52;;;1849:1;1846;1839:12;1801:52;1872:29;1891:9;1872:29;:::i;1912:260::-;1980:6;1988;2041:2;2029:9;2020:7;2016:23;2012:32;2009:52;;;2057:1;2054;2047:12;2009:52;2080:29;2099:9;2080:29;:::i;:::-;2070:39;;2128:38;2162:2;2151:9;2147:18;2128:38;:::i;:::-;2118:48;;1912:260;;;;;:::o;2177:943::-;2331:6;2339;2347;2355;2363;2416:3;2404:9;2395:7;2391:23;2387:33;2384:53;;;2433:1;2430;2423:12;2384:53;2456:29;2475:9;2456:29;:::i;:::-;2446:39;;2504:38;2538:2;2527:9;2523:18;2504:38;:::i;:::-;2494:48;;2593:2;2582:9;2578:18;2565:32;2616:18;2657:2;2649:6;2646:14;2643:34;;;2673:1;2670;2663:12;2643:34;2696:61;2749:7;2740:6;2729:9;2725:22;2696:61;:::i;:::-;2686:71;;2810:2;2799:9;2795:18;2782:32;2766:48;;2839:2;2829:8;2826:16;2823:36;;;2855:1;2852;2845:12;2823:36;2878:63;2933:7;2922:8;2911:9;2907:24;2878:63;:::i;:::-;2868:73;;2994:3;2983:9;2979:19;2966:33;2950:49;;3024:2;3014:8;3011:16;3008:36;;;3040:1;3037;3030:12;3008:36;;3063:51;3106:7;3095:8;3084:9;3080:24;3063:51;:::i;:::-;3053:61;;;2177:943;;;;;;;;:::o;3125:328::-;3202:6;3210;3218;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3310:29;3329:9;3310:29;:::i;:::-;3300:39;;3358:38;3392:2;3381:9;3377:18;3358:38;:::i;:::-;3348:48;;3443:2;3432:9;3428:18;3415:32;3405:42;;3125:328;;;;;:::o;3458:537::-;3553:6;3561;3569;3577;3630:3;3618:9;3609:7;3605:23;3601:33;3598:53;;;3647:1;3644;3637:12;3598:53;3670:29;3689:9;3670:29;:::i;:::-;3660:39;;3718:38;3752:2;3741:9;3737:18;3718:38;:::i;:::-;3708:48;;3803:2;3792:9;3788:18;3775:32;3765:42;;3858:2;3847:9;3843:18;3830:32;3885:18;3877:6;3874:30;3871:50;;;3917:1;3914;3907:12;3871:50;3940:49;3981:7;3972:6;3961:9;3957:22;3940:49;:::i;:::-;3930:59;;;3458:537;;;;;;;:::o;4000:606::-;4104:6;4112;4120;4128;4136;4189:3;4177:9;4168:7;4164:23;4160:33;4157:53;;;4206:1;4203;4196:12;4157:53;4229:29;4248:9;4229:29;:::i;:::-;4219:39;;4277:38;4311:2;4300:9;4296:18;4277:38;:::i;:::-;4267:48;;4362:2;4351:9;4347:18;4334:32;4324:42;;4413:2;4402:9;4398:18;4385:32;4375:42;;4468:3;4457:9;4453:19;4440:33;4496:18;4488:6;4485:30;4482:50;;;4528:1;4525;4518:12;4482:50;4551:49;4592:7;4583:6;4572:9;4568:22;4551:49;:::i;4611:254::-;4676:6;4684;4737:2;4725:9;4716:7;4712:23;4708:32;4705:52;;;4753:1;4750;4743:12;4705:52;4776:29;4795:9;4776:29;:::i;:::-;4766:39;;4824:35;4855:2;4844:9;4840:18;4824:35;:::i;4870:254::-;4938:6;4946;4999:2;4987:9;4978:7;4974:23;4970:32;4967:52;;;5015:1;5012;5005:12;4967:52;5038:29;5057:9;5038:29;:::i;:::-;5028:39;5114:2;5099:18;;;;5086:32;;-1:-1:-1;;;4870:254:1:o;5129:595::-;5247:6;5255;5308:2;5296:9;5287:7;5283:23;5279:32;5276:52;;;5324:1;5321;5314:12;5276:52;5364:9;5351:23;5393:18;5434:2;5426:6;5423:14;5420:34;;;5450:1;5447;5440:12;5420:34;5473:61;5526:7;5517:6;5506:9;5502:22;5473:61;:::i;:::-;5463:71;;5587:2;5576:9;5572:18;5559:32;5543:48;;5616:2;5606:8;5603:16;5600:36;;;5632:1;5629;5622:12;5600:36;;5655:63;5710:7;5699:8;5688:9;5684:24;5655:63;:::i;:::-;5645:73;;;5129:595;;;;;:::o;5729:821::-;5881:6;5889;5897;5950:2;5938:9;5929:7;5925:23;5921:32;5918:52;;;5966:1;5963;5956:12;5918:52;6006:9;5993:23;6035:18;6076:2;6068:6;6065:14;6062:34;;;6092:1;6089;6082:12;6062:34;6115:61;6168:7;6159:6;6148:9;6144:22;6115:61;:::i;:::-;6105:71;;6229:2;6218:9;6214:18;6201:32;6185:48;;6258:2;6248:8;6245:16;6242:36;;;6274:1;6271;6264:12;6242:36;6297:63;6352:7;6341:8;6330:9;6326:24;6297:63;:::i;:::-;6287:73;;6413:2;6402:9;6398:18;6385:32;6369:48;;6442:2;6432:8;6429:16;6426:36;;;6458:1;6455;6448:12;6426:36;;6481:63;6536:7;6525:8;6514:9;6510:24;6481:63;:::i;:::-;6471:73;;;5729:821;;;;;:::o;6555:180::-;6611:6;6664:2;6652:9;6643:7;6639:23;6635:32;6632:52;;;6680:1;6677;6670:12;6632:52;6703:26;6719:9;6703:26;:::i;6740:245::-;6798:6;6851:2;6839:9;6830:7;6826:23;6822:32;6819:52;;;6867:1;6864;6857:12;6819:52;6906:9;6893:23;6925:30;6949:5;6925:30;:::i;6990:249::-;7059:6;7112:2;7100:9;7091:7;7087:23;7083:32;7080:52;;;7128:1;7125;7118:12;7080:52;7160:9;7154:16;7179:30;7203:5;7179:30;:::i;7244:274::-;7321:6;7374:2;7362:9;7353:7;7349:23;7345:32;7342:52;;;7390:1;7387;7380:12;7342:52;7429:9;7416:23;7468:1;7461:5;7458:12;7448:40;;7484:1;7481;7474:12;7523:450;7592:6;7645:2;7633:9;7624:7;7620:23;7616:32;7613:52;;;7661:1;7658;7651:12;7613:52;7701:9;7688:23;7734:18;7726:6;7723:30;7720:50;;;7766:1;7763;7756:12;7720:50;7789:22;;7842:4;7834:13;;7830:27;-1:-1:-1;7820:55:1;;7871:1;7868;7861:12;7820:55;7894:73;7959:7;7954:2;7941:16;7936:2;7932;7928:11;7894:73;:::i;7978:180::-;8037:6;8090:2;8078:9;8069:7;8065:23;8061:32;8058:52;;;8106:1;8103;8096:12;8058:52;-1:-1:-1;8129:23:1;;7978:180;-1:-1:-1;7978:180:1:o;8163:184::-;8233:6;8286:2;8274:9;8265:7;8261:23;8257:32;8254:52;;;8302:1;8299;8292:12;8254:52;-1:-1:-1;8325:16:1;;8163:184;-1:-1:-1;8163:184:1:o;8352:248::-;8420:6;8428;8481:2;8469:9;8460:7;8456:23;8452:32;8449:52;;;8497:1;8494;8487:12;8449:52;-1:-1:-1;;8520:23:1;;;8590:2;8575:18;;;8562:32;;-1:-1:-1;8352:248:1:o;8605:257::-;8646:3;8684:5;8678:12;8711:6;8706:3;8699:19;8727:63;8783:6;8776:4;8771:3;8767:14;8760:4;8753:5;8749:16;8727:63;:::i;:::-;8844:2;8823:15;-1:-1:-1;;8819:29:1;8810:39;;;;8851:4;8806:50;;8605:257;-1:-1:-1;;8605:257:1:o;8867:185::-;8909:3;8947:5;8941:12;8962:52;9007:6;9002:3;8995:4;8988:5;8984:16;8962:52;:::i;:::-;9030:16;;;;;8867:185;-1:-1:-1;;8867:185:1:o;9057:443::-;9289:3;9327:6;9321:13;9343:53;9389:6;9384:3;9377:4;9369:6;9365:17;9343:53;:::i;:::-;-1:-1:-1;;;9418:16:1;;9443:22;;;-1:-1:-1;9492:1:1;9481:13;;9057:443;-1:-1:-1;9057:443:1:o;9505:1174::-;9681:3;9710:1;9743:6;9737:13;9773:3;9795:1;9823:9;9819:2;9815:18;9805:28;;9883:2;9872:9;9868:18;9905;9895:61;;9949:4;9941:6;9937:17;9927:27;;9895:61;9975:2;10023;10015:6;10012:14;9992:18;9989:38;9986:165;;;-1:-1:-1;;;10050:33:1;;10106:4;10103:1;10096:15;10136:4;10057:3;10124:17;9986:165;10167:18;10194:104;;;;10312:1;10307:320;;;;10160:467;;10194:104;-1:-1:-1;;10227:24:1;;10215:37;;10272:16;;;;-1:-1:-1;10194:104:1;;10307:320;26984:1;26977:14;;;27021:4;27008:18;;10402:1;10416:165;10430:6;10427:1;10424:13;10416:165;;;10508:14;;10495:11;;;10488:35;10551:16;;;;10445:10;;10416:165;;;10420:3;;10610:6;10605:3;10601:16;10594:23;;10160:467;;;;;;;10643:30;10669:3;10661:6;10643:30;:::i;:::-;10636:37;9505:1174;-1:-1:-1;;;;;9505:1174:1:o;10892:488::-;-1:-1:-1;;;;;11161:15:1;;;11143:34;;11213:15;;11208:2;11193:18;;11186:43;11260:2;11245:18;;11238:34;;;11308:3;11303:2;11288:18;;11281:31;;;11086:4;;11329:45;;11354:19;;11346:6;11329:45;:::i;:::-;11321:53;10892:488;-1:-1:-1;;;;;;10892:488:1:o;13589:219::-;13738:2;13727:9;13720:21;13701:4;13758:44;13798:2;13787:9;13783:18;13775:6;13758:44;:::i;15687:414::-;15889:2;15871:21;;;15928:2;15908:18;;;15901:30;15967:34;15962:2;15947:18;;15940:62;-1:-1:-1;;;16033:2:1;16018:18;;16011:48;16091:3;16076:19;;15687:414::o;21929:356::-;22131:2;22113:21;;;22150:18;;;22143:30;22209:34;22204:2;22189:18;;22182:62;22276:2;22261:18;;21929:356::o;22290:422::-;22492:2;22474:21;;;22531:2;22511:18;;;22504:30;22570:34;22565:2;22550:18;;22543:62;22641:28;22636:2;22621:18;;22614:56;22702:3;22687:19;;22290:422::o;23535:345::-;23737:2;23719:21;;;23776:2;23756:18;;;23749:30;-1:-1:-1;;;23810:2:1;23795:18;;23788:51;23871:2;23856:18;;23535:345::o;23885:413::-;24087:2;24069:21;;;24126:2;24106:18;;;24099:30;24165:34;24160:2;24145:18;;24138:62;-1:-1:-1;;;24231:2:1;24216:18;;24209:47;24288:3;24273:19;;23885:413::o;26631:275::-;26702:2;26696:9;26767:2;26748:13;;-1:-1:-1;;26744:27:1;26732:40;;26802:18;26787:34;;26823:22;;;26784:62;26781:88;;;26849:18;;:::i;:::-;26885:2;26878:22;26631:275;;-1:-1:-1;26631:275:1:o;27037:128::-;27077:3;27108:1;27104:6;27101:1;27098:13;27095:39;;;27114:18;;:::i;:::-;-1:-1:-1;27150:9:1;;27037:128::o;27170:120::-;27210:1;27236;27226:35;;27241:18;;:::i;:::-;-1:-1:-1;27275:9:1;;27170:120::o;27295:168::-;27335:7;27401:1;27397;27393:6;27389:14;27386:1;27383:21;27378:1;27371:9;27364:17;27360:45;27357:71;;;27408:18;;:::i;:::-;-1:-1:-1;27448:9:1;;27295:168::o;27468:125::-;27508:4;27536:1;27533;27530:8;27527:34;;;27541:18;;:::i;:::-;-1:-1:-1;27578:9:1;;27468:125::o;27598:258::-;27670:1;27680:113;27694:6;27691:1;27688:13;27680:113;;;27770:11;;;27764:18;27751:11;;;27744:39;27716:2;27709:10;27680:113;;;27811:6;27808:1;27805:13;27802:48;;;-1:-1:-1;;27846:1:1;27828:16;;27821:27;27598:258::o;27861:380::-;27940:1;27936:12;;;;27983;;;28004:61;;28058:4;28050:6;28046:17;28036:27;;28004:61;28111:2;28103:6;28100:14;28080:18;28077:38;28074:161;;;28157:10;28152:3;28148:20;28145:1;28138:31;28192:4;28189:1;28182:15;28220:4;28217:1;28210:15;28246:135;28285:3;-1:-1:-1;;28306:17:1;;28303:43;;;28326:18;;:::i;:::-;-1:-1:-1;28373:1:1;28362:13;;28246:135::o;28386:112::-;28418:1;28444;28434:35;;28449:18;;:::i;:::-;-1:-1:-1;28483:9:1;;28386:112::o;28503:127::-;28564:10;28559:3;28555:20;28552:1;28545:31;28595:4;28592:1;28585:15;28619:4;28616:1;28609:15;28635:127;28696:10;28691:3;28687:20;28684:1;28677:31;28727:4;28724:1;28717:15;28751:4;28748:1;28741:15;28767:127;28828:10;28823:3;28819:20;28816:1;28809:31;28859:4;28856:1;28849:15;28883:4;28880:1;28873:15;28899:127;28960:10;28955:3;28951:20;28948:1;28941:31;28991:4;28988:1;28981:15;29015:4;29012:1;29005:15;29031:127;29092:10;29087:3;29083:20;29080:1;29073:31;29123:4;29120:1;29113:15;29147:4;29144:1;29137:15;29163:127;29224:10;29219:3;29215:20;29212:1;29205:31;29255:4;29252:1;29245:15;29279:4;29276:1;29269:15;29295:131;-1:-1:-1;;;;;;29369:32:1;;29359:43;;29349:71;;29416:1;29413;29406:12

Swarm Source

ipfs://b59dcdb2b76dd64060471d84d870271a80e8decfcb27545dcd99e6dae07b5a8e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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