ETH Price: $2,446.48 (+0.73%)
 

Overview

TokenID

5280336779268220421569573059971679349075...

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
TokenID: 5280336779268220421569573059971679349075...
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Unsupervised is part of Machine Hallucinations, Refik Anadol Studio’s ongoing project exploring data aesthetics based on collective visual memories. The exhibition processes 138,151 pieces of metadata from the vast collection of The Museum of Modern Art in the mind of a machine.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FeralfileExhibitionV2

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 10 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-24
*/

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

/**
 * @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
    {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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);
    }

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

    /**
     * @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 of token that is not own"
        );
        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);
    }

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

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

pragma solidity ^0.8.0;

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/interfaces/IERC165.sol

pragma solidity ^0.8.0;

// File: @openzeppelin/contracts/interfaces/IERC2981.sol

pragma solidity ^0.8.0;

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// File: contracts/Authorizable.sol

pragma solidity >=0.4.22 <0.9.0;

contract Authorizable is Ownable {
    address public trustee;

    constructor() {
        trustee = address(0x0);
    }

    modifier onlyAuthorized() {
        require(msg.sender == trustee || msg.sender == owner());
        _;
    }

    function setTrustee(address _newTrustee) public onlyOwner {
        trustee = _newTrustee;
    }
}

// File: contracts/FeralfileArtworkV2.sol

pragma solidity ^0.8.0;

contract FeralfileExhibitionV2 is ERC721Enumerable, Authorizable, IERC2981 {
    using Strings for uint256;

    // royalty payout address
    address public royaltyPayoutAddress;

    // The maximum limit of edition size for each exhibitions
    uint256 public immutable maxEditionPerArtwork;

    // the basis points of royalty payments for each secondary sales
    uint256 public immutable secondarySaleRoyaltyBPS;

    // the maximum basis points of royalty payments
    uint256 public constant MAX_ROYALITY_BPS = 100_00;

    // token base URI
    string private _tokenBaseURI;

    // contract URI
    string private _contractURI;

    /// @notice A structure for Feral File artwork
    struct Artwork {
        string title;
        string artistName;
        string fingerprint;
        uint256 editionSize;
    }

    struct ArtworkEdition {
        uint256 editionID;
        string ipfsCID;
    }

    uint256[] private _allArtworks;
    mapping(uint256 => Artwork) public artworks; // artworkID => Artwork
    mapping(uint256 => ArtworkEdition) public artworkEditions; // artworkEditionID => ArtworkEdition
    mapping(uint256 => uint256[]) internal allArtworkEditions; // artworkID => []ArtworkEditionID
    mapping(uint256 => bool) internal registeredBitmarks; // bitmarkID => bool
    mapping(string => bool) internal registeredIPFSCIDs; // ipfsCID => bool

    constructor(
        string memory name_,
        string memory symbol_,
        uint256 maxEditionPerArtwork_,
        uint256 secondarySaleRoyaltyBPS_,
        address royaltyPayoutAddress_,
        string memory contractURI_,
        string memory tokenBaseURI_
    ) ERC721(name_, symbol_) {
        require(
            maxEditionPerArtwork_ > 0,
            "maxEdition of each artwork in an exhibition needs to be greater than zero"
        );
        require(
            secondarySaleRoyaltyBPS_ <= MAX_ROYALITY_BPS,
            "royalty BPS for secondary sales can not be greater than the maximum royalty BPS"
        );
        require(
            royaltyPayoutAddress_ != address(0),
            "invalid royalty payout address"
        );

        maxEditionPerArtwork = maxEditionPerArtwork_;
        secondarySaleRoyaltyBPS = secondarySaleRoyaltyBPS_;
        royaltyPayoutAddress = royaltyPayoutAddress_;
        _contractURI = contractURI_;
        _tokenBaseURI = tokenBaseURI_;
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721Enumerable, IERC165)
        returns (bool)
    {
        return
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /// @notice Call to create an artwork in the exhibition
    /// @param fingerprint - the fingerprint of an artwork
    /// @param title - the title of an artwork
    /// @param artistName - the artist of an artwork
    /// @param editionSize - the maximum edition size of an artwork
    function createArtwork(
        string memory fingerprint,
        string memory title,
        string memory artistName,
        uint256 editionSize
    ) external onlyAuthorized {
        require(bytes(title).length != 0, "title can not be empty");
        require(bytes(artistName).length != 0, "artist can not be empty");
        require(bytes(fingerprint).length != 0, "fingerprint can not be empty");
        require(editionSize > 0, "edition size needs to be at least 1");
        require(
            editionSize <= maxEditionPerArtwork,
            "artwork edition size exceeds the maximum edition size of the exhibition"
        );

        uint256 artworkID = uint256(keccak256(abi.encode(fingerprint)));

        /// @notice make sure the artwork have not been registered
        require(
            bytes(artworks[artworkID].fingerprint).length == 0,
            "an artwork with the same fingerprint has already registered"
        );

        Artwork memory artwork = Artwork(
            fingerprint,
            title,
            artistName,
            editionSize
        );

        _allArtworks.push(artworkID);
        artworks[artworkID] = artwork;

        emit NewArtwork(artworkID);
    }

    /// @notice Return a count of artworks registered in this exhibition
    function totalArtworks() public view virtual returns (uint256) {
        return _allArtworks.length;
    }

    /// @notice Return the token identifier for the `index`th artwork
    function getArtworkByIndex(uint256 index)
        public
        view
        virtual
        returns (uint256)
    {
        require(
            index < totalArtworks(),
            "artworks: global index out of bounds"
        );
        return _allArtworks[index];
    }

    /// @notice Swap an existent artwork from bitmark to ERC721
    /// @param artworkID - the artwork id where the new edition is referenced to
    /// @param bitmarkID - the bitmark id of artwork edition before swapped
    /// @param editionNumber - the edition number of the artwork edition
    /// @param owner - the owner address of the new minted token
    /// @param ipfsCID - the IPFS cid for the new token
    function swapArtworkFromBitmark(
        uint256 artworkID,
        uint256 bitmarkID,
        uint256 editionNumber,
        address owner,
        string memory ipfsCID
    ) external onlyAuthorized {
        /// @notice the edition size is not set implies the artwork is not created
        require(artworks[artworkID].editionSize > 0, "artwork is not found");
        /// @notice The range of editionNumber should be between 0 (AP) ~ artwork.editionSize
        require(
            editionNumber <= artworks[artworkID].editionSize,
            "edition number exceed the edition size of the artwork"
        );
        require(owner != address(0), "invalid owner address");
        require(!registeredBitmarks[bitmarkID], "bitmark id has registered");
        require(!registeredIPFSCIDs[ipfsCID], "ipfs id has registered");

        uint256 editionID = artworkID + editionNumber;
        require(
            artworkEditions[editionID].editionID == 0,
            "the edition is existent"
        );

        ArtworkEdition memory edition = ArtworkEdition(editionID, ipfsCID);

        artworkEditions[editionID] = edition;
        allArtworkEditions[artworkID].push(editionID);

        registeredBitmarks[bitmarkID] = true;
        registeredIPFSCIDs[ipfsCID] = true;

        _safeMint(owner, editionID);
        emit NewArtworkEdition(owner, artworkID, editionID);
    }

    /// @notice Update the IPFS cid of an edition to a new value
    function updateArtworkEditionIPFSCid(uint256 tokenId, string memory ipfsCID)
        external
        onlyAuthorized
    {
        require(_exists(tokenId), "artwork edition is not found");
        require(!registeredIPFSCIDs[ipfsCID], "ipfs id has registered");

        ArtworkEdition storage edition = artworkEditions[tokenId];
        delete registeredIPFSCIDs[edition.ipfsCID];
        registeredIPFSCIDs[ipfsCID] = true;
        edition.ipfsCID = ipfsCID;
    }

    /// @notice setRoyaltyPayoutAddress assigns a payout address so
    //          that we can split the royalty.
    /// @param royaltyPayoutAddress_ - the new royalty payout address
    function setRoyaltyPayoutAddress(address royaltyPayoutAddress_)
        external
        onlyAuthorized
    {
        require(
            royaltyPayoutAddress_ != address(0),
            "invalid royalty payout address"
        );
        royaltyPayoutAddress = royaltyPayoutAddress_;
    }

    /// @notice Return the edition counts for an artwork
    function totalEditionOfArtwork(uint256 artworkID)
        public
        view
        returns (uint256)
    {
        return allArtworkEditions[artworkID].length;
    }

    /// @notice Return the edition id of an artwork by index
    function getArtworkEditionByIndex(uint256 artworkID, uint256 index)
        public
        view
        returns (uint256)
    {
        require(index < totalEditionOfArtwork(artworkID));
        return allArtworkEditions[artworkID][index];
    }

    /// @notice A distinct Uniform Resource Identifier (URI) for a given asset.
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        string memory baseURI = _tokenBaseURI;
        if (bytes(baseURI).length == 0) {
            baseURI = "ipfs://";
        }

        return
            string(
                abi.encodePacked(
                    baseURI,
                    artworkEditions[tokenId].ipfsCID,
                    "/metadata.json"
                )
            );
    }

    /// @notice Update the base URI for all tokens
    function setTokenBaseURI(string memory baseURI_) external onlyAuthorized {
        _tokenBaseURI = baseURI_;
    }

    /// @notice A URL for the opensea storefront-level metadata
    function contractURI() public view returns (string memory) {
        return _contractURI;
    }

    /// @notice Called with the sale price to determine how much royalty
    //          is owed and to whom.
    /// @param tokenId - the NFT asset queried for royalty information
    /// @param salePrice - the sale price of the NFT asset specified by tokenId
    /// @return receiver - address of who should be sent the royalty payment
    /// @return royaltyAmount - the royalty payment amount for salePrice
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        require(
            _exists(tokenId),
            "ERC2981: query royalty info for nonexistent token"
        );

        receiver = royaltyPayoutAddress;

        royaltyAmount =
            (salePrice * secondarySaleRoyaltyBPS) /
            MAX_ROYALITY_BPS;
    }

    event NewArtwork(uint256 indexed artworkID);
    event NewArtworkEdition(
        address indexed owner,
        uint256 indexed artworkID,
        uint256 indexed editionID
    );
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"maxEditionPerArtwork_","type":"uint256"},{"internalType":"uint256","name":"secondarySaleRoyaltyBPS_","type":"uint256"},{"internalType":"address","name":"royaltyPayoutAddress_","type":"address"},{"internalType":"string","name":"contractURI_","type":"string"},{"internalType":"string","name":"tokenBaseURI_","type":"string"}],"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":"uint256","name":"artworkID","type":"uint256"}],"name":"NewArtwork","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"artworkID","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"editionID","type":"uint256"}],"name":"NewArtworkEdition","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":"MAX_ROYALITY_BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"","type":"uint256"}],"name":"artworkEditions","outputs":[{"internalType":"uint256","name":"editionID","type":"uint256"},{"internalType":"string","name":"ipfsCID","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"artworks","outputs":[{"internalType":"string","name":"title","type":"string"},{"internalType":"string","name":"artistName","type":"string"},{"internalType":"string","name":"fingerprint","type":"string"},{"internalType":"uint256","name":"editionSize","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"fingerprint","type":"string"},{"internalType":"string","name":"title","type":"string"},{"internalType":"string","name":"artistName","type":"string"},{"internalType":"uint256","name":"editionSize","type":"uint256"}],"name":"createArtwork","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":"uint256","name":"index","type":"uint256"}],"name":"getArtworkByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"artworkID","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getArtworkEditionByIndex","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":"maxEditionPerArtwork","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyPayoutAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"secondarySaleRoyaltyBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"royaltyPayoutAddress_","type":"address"}],"name":"setRoyaltyPayoutAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setTokenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTrustee","type":"address"}],"name":"setTrustee","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":[{"internalType":"uint256","name":"artworkID","type":"uint256"},{"internalType":"uint256","name":"bitmarkID","type":"uint256"},{"internalType":"uint256","name":"editionNumber","type":"uint256"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"string","name":"ipfsCID","type":"string"}],"name":"swapArtworkFromBitmark","outputs":[],"stateMutability":"nonpayable","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":"totalArtworks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"artworkID","type":"uint256"}],"name":"totalEditionOfArtwork","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"trustee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"ipfsCID","type":"string"}],"name":"updateArtworkEditionIPFSCid","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b506040516200346338038062003463833981016040819052620000349162000329565b8651879087906200004d906000906020850190620001bb565b50805162000063906001906020840190620001bb565b505050620000806200007a6200016560201b60201c565b62000169565b600b80546001600160a01b031916905584620000b95760405162461bcd60e51b8152600401620000b09062000403565b60405180910390fd5b612710841115620000de5760405162461bcd60e51b8152600401620000b090620004a9565b6001600160a01b038316620001075760405162461bcd60e51b8152600401620000b09062000472565b608085905260a0849052600c80546001600160a01b0319166001600160a01b03851617905581516200014190600e906020850190620001bb565b5080516200015790600d906020840190620001bb565b505050505050505062000571565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001c9906200051e565b90600052602060002090601f016020900481019282620001ed576000855562000238565b82601f106200020857805160ff191683800117855562000238565b8280016001018555821562000238579182015b82811115620002385782518255916020019190600101906200021b565b50620002469291506200024a565b5090565b5b808211156200024657600081556001016200024b565b80516001600160a01b03811681146200027957600080fd5b919050565b600082601f8301126200028f578081fd5b81516001600160401b0380821115620002ac57620002ac6200055b565b6040516020601f8401601f1916820181018381118382101715620002d457620002d46200055b565b6040528382528584018101871015620002eb578485fd5b8492505b838310156200030e5785830181015182840182015291820191620002ef565b838311156200031f57848185840101525b5095945050505050565b600080600080600080600060e0888a03121562000344578283fd5b87516001600160401b03808211156200035b578485fd5b620003698b838c016200027e565b985060208a01519150808211156200037f578485fd5b6200038d8b838c016200027e565b975060408a0151965060608a01519550620003ab60808b0162000261565b945060a08a0151915080821115620003c1578384fd5b620003cf8b838c016200027e565b935060c08a0151915080821115620003e5578283fd5b50620003f48a828b016200027e565b91505092959891949750929550565b60208082526049908201527f6d617845646974696f6e206f66206561636820617274776f726b20696e20616e60408201527f2065786869626974696f6e206e6565647320746f2062652067726561746572206060820152687468616e207a65726f60b81b608082015260a00190565b6020808252601e908201527f696e76616c696420726f79616c7479207061796f757420616464726573730000604082015260600190565b6020808252604f908201527f726f79616c74792042505320666f72207365636f6e646172792073616c65732060408201527f63616e206e6f742062652067726561746572207468616e20746865206d61786960608201526e6d756d20726f79616c74792042505360881b608082015260a00190565b6002810460018216806200053357607f821691505b602082108114156200055557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160a051612ebe620005a5600039600081816107c30152611523015260008181610903015261117d0152612ebe6000f3fe608060405234801561001057600080fd5b50600436106101c25760003560e01c806301ffc9a7146101c757806306fdde03146101f0578063081812fc14610205578063095ea7b3146102255780630cfcb5f11461023a57806318160ddd1461024d57806323b872dd146102625780632a55205a146102755780632f745c59146102965780633afb021a146102a95780633f6805ba146102bc57806342842e0e146102c457806345aeefde146102d75780634b602673146102ea5780634f6ccce71461030d57806362fe2131146103205780636352211e14610341578063641b18e91461035457806370a0823114610367578063715018a61461037a5780637f34c0dd1461038257806384ad61af146103955780638da5cb5b1461039d5780638ef79e91146103a557806395d89b41146103b8578063a22cb465146103c0578063b4883703146103d3578063b88d4fde146103e6578063c87b56dd146103f9578063d0d1ea701461040c578063e4a233e11461041f578063e8a3d48514610427578063e985e9c51461042f578063ea211d7c14610442578063ec9cbb441461044a578063f2fde38b14610452578063fdf97cb214610465578063fe2a3bf31461046d575b600080fd5b6101da6101d536600461206f565b610480565b6040516101e791906123dd565b60405180910390f35b6101f86104ad565b6040516101e791906123e8565b610218610213366004612164565b61053f565b6040516101e79190612373565b610238610233366004612046565b61058b565b005b61023861024836600461217c565b610623565b610255610747565b6040516101e79190612d23565b610238610270366004611f59565b61074d565b6102886102833660046121c0565b610785565b6040516101e79291906123c4565b6102556102a4366004612046565b6107fb565b6102386102b73660046120d9565b61084d565b610218610a93565b6102386102d2366004611f59565b610aa2565b6102386102e5366004611f16565b610abd565b6102fd6102f8366004612164565b610b3f565b6040516101e794939291906123fb565b61025561031b366004612164565b610cff565b61033361032e366004612164565b610d5a565b6040516101e7929190612d2c565b61021861034f366004612164565b610dff565b6102556103623660046121c0565b610e34565b610255610375366004611f16565b610e8b565b610238610ecf565b6102386103903660046121e1565b610f1a565b61025561117b565b61021861119f565b6102386103b33660046120a7565b6111ae565b6101f86111ff565b6102386103ce36600461200c565b61120e565b6102556103e1366004612164565b6112dc565b6102386103f4366004611f94565b611325565b6101f8610407366004612164565b61135e565b61023861041a366004611f16565b61147d565b6102556114de565b6101f86114e4565b6101da61043d366004611f30565b6114f3565b610255611521565b610255611545565b610238610460366004611f16565b61154b565b6102186115bc565b61025561047b366004612164565b6115cb565b60006001600160e01b0319821663780e9d6360e01b14806104a557506104a5826115dd565b90505b919050565b6060600080546104bc90612deb565b80601f01602080910402602001604051908101604052809291908181526020018280546104e890612deb565b80156105355780601f1061050a57610100808354040283529160200191610535565b820191906000526020600020905b81548152906001019060200180831161051857829003601f168201915b5050505050905090565b600061054a82611602565b61056f5760405162461bcd60e51b81526004016105669061295c565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061059682610dff565b9050806001600160a01b0316836001600160a01b031614156105ca5760405162461bcd60e51b815260040161056690612b58565b806001600160a01b03166105dc61161f565b6001600160a01b031614806105f857506105f88161043d61161f565b6106145760405162461bcd60e51b81526004016105669061280b565b61061e8383611623565b505050565b600b546001600160a01b0316331480610654575061063f61119f565b6001600160a01b0316336001600160a01b0316145b61065d57600080fd5b61066682611602565b6106825760405162461bcd60e51b8152600401610566906127d5565b601481604051610692919061230d565b9081526040519081900360200190205460ff16156106c25760405162461bcd60e51b815260040161056690612cb0565b6000828152601160205260409081902090516014906106e5906001840190612367565b908152604051908190036020018120805460ff1916905560019060149061070d90859061230d565b90815260405160209181900382019020805460ff191692151592909217909155825161074191600184019190850190611dd1565b50505050565b60085490565b61075e61075861161f565b82611691565b61077a5760405162461bcd60e51b815260040161056690612b99565b61061e838383611716565b60008061079184611602565b6107ad5760405162461bcd60e51b815260040161056690612512565b600c546001600160a01b031691506127106107e87f000000000000000000000000000000000000000000000000000000000000000085612d89565b6107f29190612d69565b90509250929050565b600061080683610e8b565b82106108245760405162461bcd60e51b815260040161056690612475565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600b546001600160a01b031633148061087e575061086961119f565b6001600160a01b0316336001600160a01b0316145b61088757600080fd5b82516108a55760405162461bcd60e51b8152600401610566906127a5565b81516108c35760405162461bcd60e51b815260040161056690612728565b83516108e15760405162461bcd60e51b815260040161056690612c7a565b600081116109015760405162461bcd60e51b815260040161056690612ce0565b7f00000000000000000000000000000000000000000000000000000000000000008111156109415760405162461bcd60e51b815260040161056690612563565b60008460405160200161095491906123e8565b60408051601f19818403018152918152815160209283012060008181526010909352912060020180549192509061098a90612deb565b1590506109a95760405162461bcd60e51b815260040161056690612a26565b60408051608081018252868152602080820187905281830186905260608201859052600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80201849055600084815260108252929092208151805192938493610a1d9284920190611dd1565b506020828101518051610a369260018501920190611dd1565b5060408201518051610a52916002840191602090910190611dd1565b506060919091015160039091015560405182907f22350b25f1b72bb3621199a79abefeb4fcd77bb1e65638cd09350666e4db089190600090a2505050505050565b600c546001600160a01b031681565b61061e83838360405180602001604052806000815250611325565b600b546001600160a01b0316331480610aee5750610ad961119f565b6001600160a01b0316336001600160a01b0316145b610af757600080fd5b6001600160a01b038116610b1d5760405162461bcd60e51b81526004016105669061264c565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b601060205260009081526040902080548190610b5a90612deb565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8690612deb565b8015610bd35780601f10610ba857610100808354040283529160200191610bd3565b820191906000526020600020905b815481529060010190602001808311610bb657829003601f168201915b505050505090806001018054610be890612deb565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1490612deb565b8015610c615780601f10610c3657610100808354040283529160200191610c61565b820191906000526020600020905b815481529060010190602001808311610c4457829003601f168201915b505050505090806002018054610c7690612deb565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca290612deb565b8015610cef5780601f10610cc457610100808354040283529160200191610cef565b820191906000526020600020905b815481529060010190602001808311610cd257829003601f168201915b5050505050908060030154905084565b6000610d09610747565b8210610d275760405162461bcd60e51b815260040161056690612bea565b60088281548110610d4857634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b60116020526000908152604090208054600182018054919291610d7c90612deb565b80601f0160208091040260200160405190810160405280929190818152602001828054610da890612deb565b8015610df55780601f10610dca57610100808354040283529160200191610df5565b820191906000526020600020905b815481529060010190602001808311610dd857829003601f168201915b5050505050905082565b6000818152600260205260408120546001600160a01b0316806104a55760405162461bcd60e51b8152600401610566906128ad565b6000610e3f836115cb565b8210610e4a57600080fd5b6000838152601260205260409020805483908110610e7857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60006001600160a01b038216610eb35760405162461bcd60e51b815260040161056690612863565b506001600160a01b031660009081526003602052604090205490565b610ed761161f565b6001600160a01b0316610ee861119f565b6001600160a01b031614610f0e5760405162461bcd60e51b8152600401610566906129a8565b610f186000611831565b565b600b546001600160a01b0316331480610f4b5750610f3661119f565b6001600160a01b0316336001600160a01b0316145b610f5457600080fd5b600085815260106020526040902060030154610f825760405162461bcd60e51b815260040161056690612683565b600085815260106020526040902060030154831115610fb35760405162461bcd60e51b815260040161056690612ad0565b6001600160a01b038216610fd95760405162461bcd60e51b815260040161056690612446565b60008481526013602052604090205460ff16156110085760405162461bcd60e51b815260040161056690612b25565b601481604051611018919061230d565b9081526040519081900360200190205460ff16156110485760405162461bcd60e51b815260040161056690612cb0565b60006110548487612d51565b600081815260116020526040902054909150156110835760405162461bcd60e51b8152600401610566906128f6565b60408051808201825282815260208082018581526000858152601183529390932082518155925180519293849390926110c3926001850192910190611dd1565b505050600087815260126020908152604080832080546001818101835591855283852001869055898452601390925291829020805460ff191682179055905160149061111090869061230d565b908152604051908190036020019020805491151560ff1990921691909117905561113a8483611883565b8187856001600160a01b03167f4f21e8cd53f1df1da42ec94ba03f881c1185607b26e4dcb81941535157d73dd460405160405180910390a450505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600a546001600160a01b031690565b600b546001600160a01b03163314806111df57506111ca61119f565b6001600160a01b0316336001600160a01b0316145b6111e857600080fd5b80516111fb90600d906020840190611dd1565b5050565b6060600180546104bc90612deb565b61121661161f565b6001600160a01b0316826001600160a01b031614156112475760405162461bcd60e51b8152600401610566906126f5565b806005600061125461161f565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561129861161f565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112d091906123dd565b60405180910390a35050565b60006112e66114de565b82106113045760405162461bcd60e51b815260040161056690612c36565b600f8281548110610d4857634e487b7160e01b600052603260045260246000fd5b61133661133061161f565b83611691565b6113525760405162461bcd60e51b815260040161056690612b99565b6107418484848461189d565b606061136982611602565b6113855760405162461bcd60e51b815260040161056690612a81565b6000600d805461139490612deb565b80601f01602080910402602001604051908101604052809291908181526020018280546113c090612deb565b801561140d5780601f106113e25761010080835404028352916020019161140d565b820191906000526020600020905b8154815290600101906020018083116113f057829003601f168201915b5050505050905080516000141561143e5750604080518082019091526007815266697066733a2f2f60c81b60208201525b8060116000858152602001908152602001600020600101604051602001611466929190612329565b604051602081830303815290604052915050919050565b61148561161f565b6001600160a01b031661149661119f565b6001600160a01b0316146114bc5760405162461bcd60e51b8152600401610566906129a8565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600f5490565b6060600e80546104bc90612deb565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b7f000000000000000000000000000000000000000000000000000000000000000081565b61271081565b61155361161f565b6001600160a01b031661156461119f565b6001600160a01b03161461158a5760405162461bcd60e51b8152600401610566906129a8565b6001600160a01b0381166115b05760405162461bcd60e51b8152600401610566906125d0565b6115b981611831565b50565b600b546001600160a01b031681565b60009081526012602052604090205490565b60006001600160e01b0319821663780e9d6360e01b14806104a557506104a5826118d0565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061165882610dff565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061169c82611602565b6116b85760405162461bcd60e51b815260040161056690612759565b60006116c383610dff565b9050806001600160a01b0316846001600160a01b031614806116fe5750836001600160a01b03166116f38461053f565b6001600160a01b0316145b8061170e575061170e81856114f3565b949350505050565b826001600160a01b031661172982610dff565b6001600160a01b03161461174f5760405162461bcd60e51b8152600401610566906129dd565b6001600160a01b0382166117755760405162461bcd60e51b8152600401610566906126b1565b611780838383611910565b61178b600082611623565b6001600160a01b03831660009081526003602052604081208054600192906117b4908490612da8565b90915550506001600160a01b03821660009081526003602052604081208054600192906117e2908490612d51565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020612e6983398151915291a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111fb828260405180602001604052806000815250611999565b6118a8848484611716565b6118b4848484846119cc565b6107415760405162461bcd60e51b8152600401610566906124c0565b60006001600160e01b031982166380ac58cd60e01b148061190157506001600160e01b03198216635b5e139f60e01b145b806104a557506104a582611ae7565b61191b83838361061e565b6001600160a01b0383166119375761193281611b00565b61195a565b816001600160a01b0316836001600160a01b03161461195a5761195a8382611b44565b6001600160a01b0382166119765761197181611be1565b61061e565b826001600160a01b0316826001600160a01b03161461061e5761061e8282611cba565b6119a38383611cfe565b6119b060008484846119cc565b61061e5760405162461bcd60e51b8152600401610566906124c0565b60006119e0846001600160a01b0316611dcb565b15611adc57836001600160a01b031663150b7a026119fc61161f565b8786866040518563ffffffff1660e01b8152600401611a1e9493929190612387565b602060405180830381600087803b158015611a3857600080fd5b505af1925050508015611a68575060408051601f3d908101601f19168201909252611a659181019061208b565b60015b611ac2573d808015611a96576040519150601f19603f3d011682016040523d82523d6000602084013e611a9b565b606091505b508051611aba5760405162461bcd60e51b8152600401610566906124c0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061170e565b506001949350505050565b6001600160e01b031981166301ffc9a760e01b14919050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001611b5184610e8b565b611b5b9190612da8565b600083815260076020526040902054909150808214611bae576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611bf390600190612da8565b60008381526009602052604081205460088054939450909284908110611c2957634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611c5857634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611c9e57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611cc583610e8b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611d245760405162461bcd60e51b815260040161056690612927565b611d2d81611602565b15611d4a5760405162461bcd60e51b815260040161056690612616565b611d5660008383611910565b6001600160a01b0382166000908152600360205260408120805460019290611d7f908490612d51565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020612e69833981519152908290a45050565b3b151590565b828054611ddd90612deb565b90600052602060002090601f016020900481019282611dff5760008555611e45565b82601f10611e1857805160ff1916838001178555611e45565b82800160010185558215611e45579182015b82811115611e45578251825591602001919060010190611e2a565b50611e51929150611e55565b5090565b5b80821115611e515760008155600101611e56565b60006001600160401b0380841115611e8457611e84612e3c565b604051601f8501601f191681016020018281118282101715611ea857611ea8612e3c565b604052848152915081838501861015611ec057600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146104a857600080fd5b600082601f830112611f00578081fd5b611f0f83833560208501611e6a565b9392505050565b600060208284031215611f27578081fd5b611f0f82611ed9565b60008060408385031215611f42578081fd5b611f4b83611ed9565b91506107f260208401611ed9565b600080600060608486031215611f6d578081fd5b611f7684611ed9565b9250611f8460208501611ed9565b9150604084013590509250925092565b60008060008060808587031215611fa9578081fd5b611fb285611ed9565b9350611fc060208601611ed9565b92506040850135915060608501356001600160401b03811115611fe1578182fd5b8501601f81018713611ff1578182fd5b61200087823560208401611e6a565b91505092959194509250565b6000806040838503121561201e578182fd5b61202783611ed9565b91506020830135801515811461203b578182fd5b809150509250929050565b60008060408385031215612058578182fd5b61206183611ed9565b946020939093013593505050565b600060208284031215612080578081fd5b8135611f0f81612e52565b60006020828403121561209c578081fd5b8151611f0f81612e52565b6000602082840312156120b8578081fd5b81356001600160401b038111156120cd578182fd5b61170e84828501611ef0565b600080600080608085870312156120ee578384fd5b84356001600160401b0380821115612104578586fd5b61211088838901611ef0565b95506020870135915080821115612125578485fd5b61213188838901611ef0565b94506040870135915080821115612146578384fd5b5061215387828801611ef0565b949793965093946060013593505050565b600060208284031215612175578081fd5b5035919050565b6000806040838503121561218e578182fd5b8235915060208301356001600160401b038111156121aa578182fd5b6121b685828601611ef0565b9150509250929050565b600080604083850312156121d2578182fd5b50508035926020909101359150565b600080600080600060a086880312156121f8578283fd5b85359450602086013593506040860135925061221660608701611ed9565b915060808601356001600160401b03811115612230578182fd5b61223c88828901611ef0565b9150509295509295909350565b60008151808452612261816020860160208601612dbf565b601f01601f19169290920160200192915050565b80546000906002810460018083168061228f57607f831692505b60208084108214156122af57634e487b7160e01b86526022600452602486fd5b8180156122c357600181146122d457612301565b60ff19861689528489019650612301565b6122dd88612d45565b60005b868110156122f95781548b8201529085019083016122e0565b505084890196505b50505050505092915050565b6000825161231f818460208701612dbf565b9190910192915050565b6000835161233b818460208801612dbf565b61234781840185612275565b6d17b6b2ba30b230ba30973539b7b760911b8152600e0195945050505050565b6000611f0f8284612275565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123ba90830184612249565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b600060208252611f0f6020830184612249565b60006080825261240e6080830187612249565b82810360208401526124208187612249565b905082810360408401526124348186612249565b91505082606083015295945050505050565b602080825260159082015274696e76616c6964206f776e6572206164647265737360581b604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526031908201527f455243323938313a20717565727920726f79616c747920696e666f20666f72206040820152703737b732bc34b9ba32b73a103a37b5b2b760791b606082015260800190565b60208082526047908201527f617274776f726b2065646974696f6e2073697a6520657863656564732074686560408201527f206d6178696d756d2065646974696f6e2073697a65206f66207468652065786860608201526634b134ba34b7b760c91b608082015260a00190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b604082015260600190565b6020808252601e908201527f696e76616c696420726f79616c7479207061796f757420616464726573730000604082015260600190565b602080825260149082015273185c9d1ddbdc9ac81a5cc81b9bdd08199bdd5b9960621b604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604082015260600190565b6020808252601790820152766172746973742063616e206e6f7420626520656d70747960481b604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601690820152757469746c652063616e206e6f7420626520656d70747960501b604082015260600190565b6020808252601c908201527b185c9d1ddbdc9ac819591a5d1a5bdb881a5cc81b9bdd08199bdd5b9960221b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776040820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252601790820152761d1a194819591a5d1a5bdb881a5cc8195e1a5cdd195b9d604a1b604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252603b908201527f616e20617274776f726b2077697468207468652073616d652066696e6765727060408201527a1c9a5b9d081a185cc8185b1c9958591e481c9959da5cdd195c9959602a1b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526035908201527f65646974696f6e206e756d62657220657863656564207468652065646974696f6040820152746e2073697a65206f662074686520617274776f726b60581b606082015260800190565b602080825260199082015278189a5d1b585c9ac81a59081a185cc81c9959da5cdd195c9959603a1b604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b60208082526024908201527f617274776f726b733a20676c6f62616c20696e646578206f7574206f6620626f604082015263756e647360e01b606082015260800190565b6020808252601c908201527b66696e6765727072696e742063616e206e6f7420626520656d70747960201b604082015260600190565b6020808252601690820152751a5c199cc81a59081a185cc81c9959da5cdd195c995960521b604082015260600190565b60208082526023908201527f65646974696f6e2073697a65206e6565647320746f206265206174206c65617360408201526274203160e81b606082015260800190565b90815260200190565b60008382526040602083015261170e6040830184612249565b60009081526020902090565b60008219821115612d6457612d64612e26565b500190565b600082612d8457634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612da357612da3612e26565b500290565b600082821015612dba57612dba612e26565b500390565b60005b83811015612dda578181015183820152602001612dc2565b838111156107415750506000910152565b600281046001821680612dff57607f821691505b60208210811415612e2057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146115b957600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212204a9aebe75f580bee0782ece75b791011b8b59b46954ac5709cd6ce2f1b2c4aa864736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc000000000000000000000000f6d099037df564a32237705e5005f4450b0eb6c3000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000001b466572616c2046696c6520e2809420556e73757065727669736564000000000000000000000000000000000000000000000000000000000000000000000000054646303039000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f516d644d5475426a4c7779636e777750675553524b34433168574c6e435774434d59357834596155615a4d735a440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f0000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c25760003560e01c806301ffc9a7146101c757806306fdde03146101f0578063081812fc14610205578063095ea7b3146102255780630cfcb5f11461023a57806318160ddd1461024d57806323b872dd146102625780632a55205a146102755780632f745c59146102965780633afb021a146102a95780633f6805ba146102bc57806342842e0e146102c457806345aeefde146102d75780634b602673146102ea5780634f6ccce71461030d57806362fe2131146103205780636352211e14610341578063641b18e91461035457806370a0823114610367578063715018a61461037a5780637f34c0dd1461038257806384ad61af146103955780638da5cb5b1461039d5780638ef79e91146103a557806395d89b41146103b8578063a22cb465146103c0578063b4883703146103d3578063b88d4fde146103e6578063c87b56dd146103f9578063d0d1ea701461040c578063e4a233e11461041f578063e8a3d48514610427578063e985e9c51461042f578063ea211d7c14610442578063ec9cbb441461044a578063f2fde38b14610452578063fdf97cb214610465578063fe2a3bf31461046d575b600080fd5b6101da6101d536600461206f565b610480565b6040516101e791906123dd565b60405180910390f35b6101f86104ad565b6040516101e791906123e8565b610218610213366004612164565b61053f565b6040516101e79190612373565b610238610233366004612046565b61058b565b005b61023861024836600461217c565b610623565b610255610747565b6040516101e79190612d23565b610238610270366004611f59565b61074d565b6102886102833660046121c0565b610785565b6040516101e79291906123c4565b6102556102a4366004612046565b6107fb565b6102386102b73660046120d9565b61084d565b610218610a93565b6102386102d2366004611f59565b610aa2565b6102386102e5366004611f16565b610abd565b6102fd6102f8366004612164565b610b3f565b6040516101e794939291906123fb565b61025561031b366004612164565b610cff565b61033361032e366004612164565b610d5a565b6040516101e7929190612d2c565b61021861034f366004612164565b610dff565b6102556103623660046121c0565b610e34565b610255610375366004611f16565b610e8b565b610238610ecf565b6102386103903660046121e1565b610f1a565b61025561117b565b61021861119f565b6102386103b33660046120a7565b6111ae565b6101f86111ff565b6102386103ce36600461200c565b61120e565b6102556103e1366004612164565b6112dc565b6102386103f4366004611f94565b611325565b6101f8610407366004612164565b61135e565b61023861041a366004611f16565b61147d565b6102556114de565b6101f86114e4565b6101da61043d366004611f30565b6114f3565b610255611521565b610255611545565b610238610460366004611f16565b61154b565b6102186115bc565b61025561047b366004612164565b6115cb565b60006001600160e01b0319821663780e9d6360e01b14806104a557506104a5826115dd565b90505b919050565b6060600080546104bc90612deb565b80601f01602080910402602001604051908101604052809291908181526020018280546104e890612deb565b80156105355780601f1061050a57610100808354040283529160200191610535565b820191906000526020600020905b81548152906001019060200180831161051857829003601f168201915b5050505050905090565b600061054a82611602565b61056f5760405162461bcd60e51b81526004016105669061295c565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061059682610dff565b9050806001600160a01b0316836001600160a01b031614156105ca5760405162461bcd60e51b815260040161056690612b58565b806001600160a01b03166105dc61161f565b6001600160a01b031614806105f857506105f88161043d61161f565b6106145760405162461bcd60e51b81526004016105669061280b565b61061e8383611623565b505050565b600b546001600160a01b0316331480610654575061063f61119f565b6001600160a01b0316336001600160a01b0316145b61065d57600080fd5b61066682611602565b6106825760405162461bcd60e51b8152600401610566906127d5565b601481604051610692919061230d565b9081526040519081900360200190205460ff16156106c25760405162461bcd60e51b815260040161056690612cb0565b6000828152601160205260409081902090516014906106e5906001840190612367565b908152604051908190036020018120805460ff1916905560019060149061070d90859061230d565b90815260405160209181900382019020805460ff191692151592909217909155825161074191600184019190850190611dd1565b50505050565b60085490565b61075e61075861161f565b82611691565b61077a5760405162461bcd60e51b815260040161056690612b99565b61061e838383611716565b60008061079184611602565b6107ad5760405162461bcd60e51b815260040161056690612512565b600c546001600160a01b031691506127106107e87f00000000000000000000000000000000000000000000000000000000000005dc85612d89565b6107f29190612d69565b90509250929050565b600061080683610e8b565b82106108245760405162461bcd60e51b815260040161056690612475565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600b546001600160a01b031633148061087e575061086961119f565b6001600160a01b0316336001600160a01b0316145b61088757600080fd5b82516108a55760405162461bcd60e51b8152600401610566906127a5565b81516108c35760405162461bcd60e51b815260040161056690612728565b83516108e15760405162461bcd60e51b815260040161056690612c7a565b600081116109015760405162461bcd60e51b815260040161056690612ce0565b7f00000000000000000000000000000000000000000000000000000000000013888111156109415760405162461bcd60e51b815260040161056690612563565b60008460405160200161095491906123e8565b60408051601f19818403018152918152815160209283012060008181526010909352912060020180549192509061098a90612deb565b1590506109a95760405162461bcd60e51b815260040161056690612a26565b60408051608081018252868152602080820187905281830186905260608201859052600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80201849055600084815260108252929092208151805192938493610a1d9284920190611dd1565b506020828101518051610a369260018501920190611dd1565b5060408201518051610a52916002840191602090910190611dd1565b506060919091015160039091015560405182907f22350b25f1b72bb3621199a79abefeb4fcd77bb1e65638cd09350666e4db089190600090a2505050505050565b600c546001600160a01b031681565b61061e83838360405180602001604052806000815250611325565b600b546001600160a01b0316331480610aee5750610ad961119f565b6001600160a01b0316336001600160a01b0316145b610af757600080fd5b6001600160a01b038116610b1d5760405162461bcd60e51b81526004016105669061264c565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b601060205260009081526040902080548190610b5a90612deb565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8690612deb565b8015610bd35780601f10610ba857610100808354040283529160200191610bd3565b820191906000526020600020905b815481529060010190602001808311610bb657829003601f168201915b505050505090806001018054610be890612deb565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1490612deb565b8015610c615780601f10610c3657610100808354040283529160200191610c61565b820191906000526020600020905b815481529060010190602001808311610c4457829003601f168201915b505050505090806002018054610c7690612deb565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca290612deb565b8015610cef5780601f10610cc457610100808354040283529160200191610cef565b820191906000526020600020905b815481529060010190602001808311610cd257829003601f168201915b5050505050908060030154905084565b6000610d09610747565b8210610d275760405162461bcd60e51b815260040161056690612bea565b60088281548110610d4857634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b60116020526000908152604090208054600182018054919291610d7c90612deb565b80601f0160208091040260200160405190810160405280929190818152602001828054610da890612deb565b8015610df55780601f10610dca57610100808354040283529160200191610df5565b820191906000526020600020905b815481529060010190602001808311610dd857829003601f168201915b5050505050905082565b6000818152600260205260408120546001600160a01b0316806104a55760405162461bcd60e51b8152600401610566906128ad565b6000610e3f836115cb565b8210610e4a57600080fd5b6000838152601260205260409020805483908110610e7857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60006001600160a01b038216610eb35760405162461bcd60e51b815260040161056690612863565b506001600160a01b031660009081526003602052604090205490565b610ed761161f565b6001600160a01b0316610ee861119f565b6001600160a01b031614610f0e5760405162461bcd60e51b8152600401610566906129a8565b610f186000611831565b565b600b546001600160a01b0316331480610f4b5750610f3661119f565b6001600160a01b0316336001600160a01b0316145b610f5457600080fd5b600085815260106020526040902060030154610f825760405162461bcd60e51b815260040161056690612683565b600085815260106020526040902060030154831115610fb35760405162461bcd60e51b815260040161056690612ad0565b6001600160a01b038216610fd95760405162461bcd60e51b815260040161056690612446565b60008481526013602052604090205460ff16156110085760405162461bcd60e51b815260040161056690612b25565b601481604051611018919061230d565b9081526040519081900360200190205460ff16156110485760405162461bcd60e51b815260040161056690612cb0565b60006110548487612d51565b600081815260116020526040902054909150156110835760405162461bcd60e51b8152600401610566906128f6565b60408051808201825282815260208082018581526000858152601183529390932082518155925180519293849390926110c3926001850192910190611dd1565b505050600087815260126020908152604080832080546001818101835591855283852001869055898452601390925291829020805460ff191682179055905160149061111090869061230d565b908152604051908190036020019020805491151560ff1990921691909117905561113a8483611883565b8187856001600160a01b03167f4f21e8cd53f1df1da42ec94ba03f881c1185607b26e4dcb81941535157d73dd460405160405180910390a450505050505050565b7f000000000000000000000000000000000000000000000000000000000000138881565b600a546001600160a01b031690565b600b546001600160a01b03163314806111df57506111ca61119f565b6001600160a01b0316336001600160a01b0316145b6111e857600080fd5b80516111fb90600d906020840190611dd1565b5050565b6060600180546104bc90612deb565b61121661161f565b6001600160a01b0316826001600160a01b031614156112475760405162461bcd60e51b8152600401610566906126f5565b806005600061125461161f565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561129861161f565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112d091906123dd565b60405180910390a35050565b60006112e66114de565b82106113045760405162461bcd60e51b815260040161056690612c36565b600f8281548110610d4857634e487b7160e01b600052603260045260246000fd5b61133661133061161f565b83611691565b6113525760405162461bcd60e51b815260040161056690612b99565b6107418484848461189d565b606061136982611602565b6113855760405162461bcd60e51b815260040161056690612a81565b6000600d805461139490612deb565b80601f01602080910402602001604051908101604052809291908181526020018280546113c090612deb565b801561140d5780601f106113e25761010080835404028352916020019161140d565b820191906000526020600020905b8154815290600101906020018083116113f057829003601f168201915b5050505050905080516000141561143e5750604080518082019091526007815266697066733a2f2f60c81b60208201525b8060116000858152602001908152602001600020600101604051602001611466929190612329565b604051602081830303815290604052915050919050565b61148561161f565b6001600160a01b031661149661119f565b6001600160a01b0316146114bc5760405162461bcd60e51b8152600401610566906129a8565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600f5490565b6060600e80546104bc90612deb565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b7f00000000000000000000000000000000000000000000000000000000000005dc81565b61271081565b61155361161f565b6001600160a01b031661156461119f565b6001600160a01b03161461158a5760405162461bcd60e51b8152600401610566906129a8565b6001600160a01b0381166115b05760405162461bcd60e51b8152600401610566906125d0565b6115b981611831565b50565b600b546001600160a01b031681565b60009081526012602052604090205490565b60006001600160e01b0319821663780e9d6360e01b14806104a557506104a5826118d0565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061165882610dff565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061169c82611602565b6116b85760405162461bcd60e51b815260040161056690612759565b60006116c383610dff565b9050806001600160a01b0316846001600160a01b031614806116fe5750836001600160a01b03166116f38461053f565b6001600160a01b0316145b8061170e575061170e81856114f3565b949350505050565b826001600160a01b031661172982610dff565b6001600160a01b03161461174f5760405162461bcd60e51b8152600401610566906129dd565b6001600160a01b0382166117755760405162461bcd60e51b8152600401610566906126b1565b611780838383611910565b61178b600082611623565b6001600160a01b03831660009081526003602052604081208054600192906117b4908490612da8565b90915550506001600160a01b03821660009081526003602052604081208054600192906117e2908490612d51565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020612e6983398151915291a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111fb828260405180602001604052806000815250611999565b6118a8848484611716565b6118b4848484846119cc565b6107415760405162461bcd60e51b8152600401610566906124c0565b60006001600160e01b031982166380ac58cd60e01b148061190157506001600160e01b03198216635b5e139f60e01b145b806104a557506104a582611ae7565b61191b83838361061e565b6001600160a01b0383166119375761193281611b00565b61195a565b816001600160a01b0316836001600160a01b03161461195a5761195a8382611b44565b6001600160a01b0382166119765761197181611be1565b61061e565b826001600160a01b0316826001600160a01b03161461061e5761061e8282611cba565b6119a38383611cfe565b6119b060008484846119cc565b61061e5760405162461bcd60e51b8152600401610566906124c0565b60006119e0846001600160a01b0316611dcb565b15611adc57836001600160a01b031663150b7a026119fc61161f565b8786866040518563ffffffff1660e01b8152600401611a1e9493929190612387565b602060405180830381600087803b158015611a3857600080fd5b505af1925050508015611a68575060408051601f3d908101601f19168201909252611a659181019061208b565b60015b611ac2573d808015611a96576040519150601f19603f3d011682016040523d82523d6000602084013e611a9b565b606091505b508051611aba5760405162461bcd60e51b8152600401610566906124c0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061170e565b506001949350505050565b6001600160e01b031981166301ffc9a760e01b14919050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001611b5184610e8b565b611b5b9190612da8565b600083815260076020526040902054909150808214611bae576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611bf390600190612da8565b60008381526009602052604081205460088054939450909284908110611c2957634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611c5857634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611c9e57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611cc583610e8b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611d245760405162461bcd60e51b815260040161056690612927565b611d2d81611602565b15611d4a5760405162461bcd60e51b815260040161056690612616565b611d5660008383611910565b6001600160a01b0382166000908152600360205260408120805460019290611d7f908490612d51565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020612e69833981519152908290a45050565b3b151590565b828054611ddd90612deb565b90600052602060002090601f016020900481019282611dff5760008555611e45565b82601f10611e1857805160ff1916838001178555611e45565b82800160010185558215611e45579182015b82811115611e45578251825591602001919060010190611e2a565b50611e51929150611e55565b5090565b5b80821115611e515760008155600101611e56565b60006001600160401b0380841115611e8457611e84612e3c565b604051601f8501601f191681016020018281118282101715611ea857611ea8612e3c565b604052848152915081838501861015611ec057600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146104a857600080fd5b600082601f830112611f00578081fd5b611f0f83833560208501611e6a565b9392505050565b600060208284031215611f27578081fd5b611f0f82611ed9565b60008060408385031215611f42578081fd5b611f4b83611ed9565b91506107f260208401611ed9565b600080600060608486031215611f6d578081fd5b611f7684611ed9565b9250611f8460208501611ed9565b9150604084013590509250925092565b60008060008060808587031215611fa9578081fd5b611fb285611ed9565b9350611fc060208601611ed9565b92506040850135915060608501356001600160401b03811115611fe1578182fd5b8501601f81018713611ff1578182fd5b61200087823560208401611e6a565b91505092959194509250565b6000806040838503121561201e578182fd5b61202783611ed9565b91506020830135801515811461203b578182fd5b809150509250929050565b60008060408385031215612058578182fd5b61206183611ed9565b946020939093013593505050565b600060208284031215612080578081fd5b8135611f0f81612e52565b60006020828403121561209c578081fd5b8151611f0f81612e52565b6000602082840312156120b8578081fd5b81356001600160401b038111156120cd578182fd5b61170e84828501611ef0565b600080600080608085870312156120ee578384fd5b84356001600160401b0380821115612104578586fd5b61211088838901611ef0565b95506020870135915080821115612125578485fd5b61213188838901611ef0565b94506040870135915080821115612146578384fd5b5061215387828801611ef0565b949793965093946060013593505050565b600060208284031215612175578081fd5b5035919050565b6000806040838503121561218e578182fd5b8235915060208301356001600160401b038111156121aa578182fd5b6121b685828601611ef0565b9150509250929050565b600080604083850312156121d2578182fd5b50508035926020909101359150565b600080600080600060a086880312156121f8578283fd5b85359450602086013593506040860135925061221660608701611ed9565b915060808601356001600160401b03811115612230578182fd5b61223c88828901611ef0565b9150509295509295909350565b60008151808452612261816020860160208601612dbf565b601f01601f19169290920160200192915050565b80546000906002810460018083168061228f57607f831692505b60208084108214156122af57634e487b7160e01b86526022600452602486fd5b8180156122c357600181146122d457612301565b60ff19861689528489019650612301565b6122dd88612d45565b60005b868110156122f95781548b8201529085019083016122e0565b505084890196505b50505050505092915050565b6000825161231f818460208701612dbf565b9190910192915050565b6000835161233b818460208801612dbf565b61234781840185612275565b6d17b6b2ba30b230ba30973539b7b760911b8152600e0195945050505050565b6000611f0f8284612275565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123ba90830184612249565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b600060208252611f0f6020830184612249565b60006080825261240e6080830187612249565b82810360208401526124208187612249565b905082810360408401526124348186612249565b91505082606083015295945050505050565b602080825260159082015274696e76616c6964206f776e6572206164647265737360581b604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526031908201527f455243323938313a20717565727920726f79616c747920696e666f20666f72206040820152703737b732bc34b9ba32b73a103a37b5b2b760791b606082015260800190565b60208082526047908201527f617274776f726b2065646974696f6e2073697a6520657863656564732074686560408201527f206d6178696d756d2065646974696f6e2073697a65206f66207468652065786860608201526634b134ba34b7b760c91b608082015260a00190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b604082015260600190565b6020808252601e908201527f696e76616c696420726f79616c7479207061796f757420616464726573730000604082015260600190565b602080825260149082015273185c9d1ddbdc9ac81a5cc81b9bdd08199bdd5b9960621b604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604082015260600190565b6020808252601790820152766172746973742063616e206e6f7420626520656d70747960481b604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601690820152757469746c652063616e206e6f7420626520656d70747960501b604082015260600190565b6020808252601c908201527b185c9d1ddbdc9ac819591a5d1a5bdb881a5cc81b9bdd08199bdd5b9960221b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776040820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252601790820152761d1a194819591a5d1a5bdb881a5cc8195e1a5cdd195b9d604a1b604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252603b908201527f616e20617274776f726b2077697468207468652073616d652066696e6765727060408201527a1c9a5b9d081a185cc8185b1c9958591e481c9959da5cdd195c9959602a1b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526035908201527f65646974696f6e206e756d62657220657863656564207468652065646974696f6040820152746e2073697a65206f662074686520617274776f726b60581b606082015260800190565b602080825260199082015278189a5d1b585c9ac81a59081a185cc81c9959da5cdd195c9959603a1b604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b60208082526024908201527f617274776f726b733a20676c6f62616c20696e646578206f7574206f6620626f604082015263756e647360e01b606082015260800190565b6020808252601c908201527b66696e6765727072696e742063616e206e6f7420626520656d70747960201b604082015260600190565b6020808252601690820152751a5c199cc81a59081a185cc81c9959da5cdd195c995960521b604082015260600190565b60208082526023908201527f65646974696f6e2073697a65206e6565647320746f206265206174206c65617360408201526274203160e81b606082015260800190565b90815260200190565b60008382526040602083015261170e6040830184612249565b60009081526020902090565b60008219821115612d6457612d64612e26565b500190565b600082612d8457634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612da357612da3612e26565b500290565b600082821015612dba57612dba612e26565b500390565b60005b83811015612dda578181015183820152602001612dc2565b838111156107415750506000910152565b600281046001821680612dff57607f821691505b60208210811415612e2057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146115b957600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212204a9aebe75f580bee0782ece75b791011b8b59b46954ac5709cd6ce2f1b2c4aa864736f6c63430008000033

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

00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc000000000000000000000000f6d099037df564a32237705e5005f4450b0eb6c3000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000001b466572616c2046696c6520e2809420556e73757065727669736564000000000000000000000000000000000000000000000000000000000000000000000000054646303039000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f516d644d5475426a4c7779636e777750675553524b34433168574c6e435774434d59357834596155615a4d735a440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f0000

-----Decoded View---------------
Arg [0] : name_ (string): Feral File — Unsupervised
Arg [1] : symbol_ (string): FF009
Arg [2] : maxEditionPerArtwork_ (uint256): 5000
Arg [3] : secondarySaleRoyaltyBPS_ (uint256): 1500
Arg [4] : royaltyPayoutAddress_ (address): 0xf6d099037Df564a32237705e5005F4450b0EB6c3
Arg [5] : contractURI_ (string): https://ipfs.bitmark.com/ipfs/QmdMTuBjLwycnwwPgUSRK4C1hWLnCWtCMY5x4YaUaZMsZD
Arg [6] : tokenBaseURI_ (string): https://ipfs.bitmark.com/ipfs/

-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000001388
Arg [3] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [4] : 000000000000000000000000f6d099037df564a32237705e5005f4450b0eb6c3
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [6] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [7] : 000000000000000000000000000000000000000000000000000000000000001b
Arg [8] : 466572616c2046696c6520e2809420556e737570657276697365640000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 4646303039000000000000000000000000000000000000000000000000000000
Arg [11] : 000000000000000000000000000000000000000000000000000000000000004c
Arg [12] : 68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f516d
Arg [13] : 644d5475426a4c7779636e777750675553524b34433168574c6e435774434d59
Arg [14] : 357834596155615a4d735a440000000000000000000000000000000000000000
Arg [15] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [16] : 68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f0000


Deployed Bytecode Sourcemap

46435:10482:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48891:310;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;22498:100;;;:::i;:::-;;;;;;;:::i;24191:308::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;23714:411::-;;;;;;:::i;:::-;;:::i;:::-;;53225:478;;;;;;:::i;:::-;;:::i;37149:113::-;;;:::i;:::-;;;;;;;:::i;25250:376::-;;;;;;:::i;:::-;;:::i;56261:460::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;36730:343::-;;;;;;:::i;:::-;;:::i;49501:1251::-;;;;;;:::i;:::-;;:::i;46582:35::-;;;:::i;25697:185::-;;;;;;:::i;:::-;;:::i;53899:300::-;;;;;;:::i;:::-;;:::i;47419:43::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;37339:320::-;;;;;;:::i;:::-;;:::i;47493:57::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;22105:326::-;;;;;;:::i;:::-;;:::i;54509:252::-;;;;;;:::i;:::-;;:::i;21748:295::-;;;;;;:::i;:::-;;:::i;45263:94::-;;;:::i;51736:1415::-;;;;;;:::i;:::-;;:::i;46689:45::-;;;:::i;44612:87::-;;;:::i;55550:116::-;;;;;;:::i;:::-;;:::i;22667:104::-;;;:::i;24571:327::-;;;;;;:::i;:::-;;:::i;51021:286::-;;;;;;:::i;:::-;;:::i;25953:365::-;;;;;;:::i;:::-;;:::i;54850:640::-;;;;;;:::i;:::-;;:::i;46258:98::-;;;;;;:::i;:::-;;:::i;50834:108::-;;;:::i;55739:97::-;;;:::i;24969:214::-;;;;;;:::i;:::-;;:::i;46813:48::-;;;:::i;46923:49::-;;;:::i;45512:229::-;;;;;;:::i;:::-;;:::i;46044:22::-;;;:::i;54265:174::-;;;;;;:::i;:::-;;:::i;48891:310::-;49048:4;-1:-1:-1;;;;;;49090:50:0;;-1:-1:-1;;;49090:50:0;;:103;;;49157:36;49181:11;49157:23;:36::i;:::-;49070:123;;48891:310;;;;:::o;22498:100::-;22552:13;22585:5;22578:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22498:100;:::o;24191:308::-;24312:7;24359:16;24367:7;24359;:16::i;:::-;24337:110;;;;-1:-1:-1;;;24337:110:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;24467:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;24467:24:0;;24191:308::o;23714:411::-;23795:13;23811:23;23826:7;23811:14;:23::i;:::-;23795:39;;23859:5;-1:-1:-1;;;;;23853:11:0;:2;-1:-1:-1;;;;;23853:11:0;;;23845:57;;;;-1:-1:-1;;;23845:57:0;;;;;;;:::i;:::-;23953:5;-1:-1:-1;;;;;23937:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;23937:21:0;;:62;;;;23962:37;23979:5;23986:12;:10;:12::i;23962:37::-;23915:168;;;;-1:-1:-1;;;23915:168:0;;;;;;;:::i;:::-;24096:21;24105:2;24109:7;24096:8;:21::i;:::-;23714:411;;;:::o;53225:478::-;46197:7;;-1:-1:-1;;;;;46197:7:0;46183:10;:21;;:46;;;46222:7;:5;:7::i;:::-;-1:-1:-1;;;;;46208:21:0;:10;-1:-1:-1;;;;;46208:21:0;;46183:46;46175:55;;;;;;53368:16:::1;53376:7;53368;:16::i;:::-;53360:57;;;;-1:-1:-1::0;;;53360:57:0::1;;;;;;;:::i;:::-;53437:18;53456:7;53437:27;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;;::::1;;53436:28;53428:63;;;;-1:-1:-1::0;;;53428:63:0::1;;;;;;;:::i;:::-;53504:30;53537:24:::0;;;:15:::1;:24;::::0;;;;;;53579:35;;:18:::1;::::0;:35:::1;::::0;53598:15:::1;::::0;::::1;::::0;53579:35:::1;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;53572:42;;-1:-1:-1;;53572:42:0::1;::::0;;;;53625:18:::1;::::0;:27:::1;::::0;53644:7;;53625:27:::1;:::i;:::-;::::0;;;::::1;::::0;::::1;::::0;;;;;;;;:34;;-1:-1:-1;;53625:34:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;53670:25;;::::1;::::0;-1:-1:-1;53670:15:0;::::1;::::0;:25;;::::1;::::0;::::1;:::i;:::-;;46241:1;53225:478:::0;;:::o;37149:113::-;37237:10;:17;37149:113;:::o;25250:376::-;25459:41;25478:12;:10;:12::i;:::-;25492:7;25459:18;:41::i;:::-;25437:140;;;;-1:-1:-1;;;25437:140:0;;;;;;;:::i;:::-;25590:28;25600:4;25606:2;25610:7;25590:9;:28::i;56261:460::-;56386:16;56404:21;56465:16;56473:7;56465;:16::i;:::-;56443:115;;;;-1:-1:-1;;;56443:115:0;;;;;;;:::i;:::-;56582:20;;-1:-1:-1;;;;;56582:20:0;;-1:-1:-1;46966:6:0;56645:35;56657:23;56645:9;:35;:::i;:::-;56644:69;;;;:::i;:::-;56615:98;;56261:460;;;;;:::o;36730:343::-;36872:7;36927:23;36944:5;36927:16;:23::i;:::-;36919:5;:31;36897:124;;;;-1:-1:-1;;;36897:124:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;37039:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;36730:343::o;49501:1251::-;46197:7;;-1:-1:-1;;;;;46197:7:0;46183:10;:21;;:46;;;46222:7;:5;:7::i;:::-;-1:-1:-1;;;;;46208:21:0;:10;-1:-1:-1;;;;;46208:21:0;;46183:46;46175:55;;;;;;49705:19;;49697:59:::1;;;;-1:-1:-1::0;;;49697:59:0::1;;;;;;;:::i;:::-;49775:24:::0;;49767:65:::1;;;;-1:-1:-1::0;;;49767:65:0::1;;;;;;;:::i;:::-;49851:25:::0;;49843:71:::1;;;;-1:-1:-1::0;;;49843:71:0::1;;;;;;;:::i;:::-;49947:1;49933:11;:15;49925:63;;;;-1:-1:-1::0;;;49925:63:0::1;;;;;;;:::i;:::-;50036:20;50021:11;:35;;49999:156;;;;-1:-1:-1::0;;;49999:156:0::1;;;;;;;:::i;:::-;50168:17;50217:11;50206:23;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;50206:23:0;;::::1;::::0;;;;;;50196:34;;50206:23:::1;50196:34:::0;;::::1;::::0;50188:43:::1;50340:19:::0;;;:8:::1;:19:::0;;;;;:31:::1;;50334:45:::0;;50196:34;;-1:-1:-1;50340:31:0;50334:45:::1;::::0;::::1;:::i;:::-;:50:::0;;-1:-1:-1;50312:159:0::1;;;;-1:-1:-1::0;;;50312:159:0::1;;;;;;;:::i;:::-;50509:115;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;50637:12:::1;:28:::0;;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;50484:22:::1;50676:19:::0;;;:8:::1;:19:::0;;;;;;:29;;;;50509:115;;;;50676:29:::1;::::0;:19;;:29:::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;50676:29:0::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;50676:29:0::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;50676:29:0::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;50723:21:::1;::::0;50734:9;;50723:21:::1;::::0;;;::::1;46241:1;;49501:1251:::0;;;;:::o;46582:35::-;;;-1:-1:-1;;;;;46582:35:0;;:::o;25697:185::-;25835:39;25852:4;25858:2;25862:7;25835:39;;;;;;;;;;;;:16;:39::i;53899:300::-;46197:7;;-1:-1:-1;;;;;46197:7:0;46183:10;:21;;:46;;;46222:7;:5;:7::i;:::-;-1:-1:-1;;;;;46208:21:0;:10;-1:-1:-1;;;;;46208:21:0;;46183:46;46175:55;;;;;;-1:-1:-1;;;;;54043:35:0;::::1;54021:115;;;;-1:-1:-1::0;;;54021:115:0::1;;;;;;;:::i;:::-;54147:20;:44:::0;;-1:-1:-1;;;;;;54147:44:0::1;-1:-1:-1::0;;;;;54147:44:0;;;::::1;::::0;;;::::1;::::0;;53899:300::o;47419:43::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;37339:320::-;37459:7;37514:30;:28;:30::i;:::-;37506:5;:38;37484:132;;;;-1:-1:-1;;;37484:132:0;;;;;;;:::i;:::-;37634:10;37645:5;37634:17;;;;;;-1:-1:-1;;;37634:17:0;;;;;;;;;;;;;;;;;37627:24;;37339:320;;;:::o;47493:57::-;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22105:326::-;22222:7;22263:16;;;:7;:16;;;;;;-1:-1:-1;;;;;22263:16:0;22312:19;22290:110;;;;-1:-1:-1;;;22290:110:0;;;;;;;:::i;54509:252::-;54625:7;54666:32;54688:9;54666:21;:32::i;:::-;54658:5;:40;54650:49;;;;;;54717:29;;;;:18;:29;;;;;:36;;54747:5;;54717:36;;;;-1:-1:-1;;;54717:36:0;;;;;;;;;;;;;;;;;54710:43;;54509:252;;;;:::o;21748:295::-;21865:7;-1:-1:-1;;;;;21912:19:0;;21890:111;;;;-1:-1:-1;;;21890:111:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;22019:16:0;;;;;:9;:16;;;;;;;21748:295::o;45263:94::-;44843:12;:10;:12::i;:::-;-1:-1:-1;;;;;44832:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;44832:23:0;;44824:68;;;;-1:-1:-1;;;44824:68:0;;;;;;;:::i;:::-;45328:21:::1;45346:1;45328:9;:21::i;:::-;45263:94::o:0;51736:1415::-;46197:7;;-1:-1:-1;;;;;46197:7:0;46183:10;:21;;:46;;;46222:7;:5;:7::i;:::-;-1:-1:-1;;;;;46208:21:0;:10;-1:-1:-1;;;;;46208:21:0;;46183:46;46175:55;;;;;;52080:1:::1;52046:19:::0;;;:8:::1;:19;::::0;;;;:31:::1;;::::0;52038:68:::1;;;;-1:-1:-1::0;;;52038:68:0::1;;;;;;;:::i;:::-;52251:19;::::0;;;:8:::1;:19;::::0;;;;:31:::1;;::::0;52234:48;::::1;;52212:151;;;;-1:-1:-1::0;;;52212:151:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;52382:19:0;::::1;52374:53;;;;-1:-1:-1::0;;;52374:53:0::1;;;;;;;:::i;:::-;52447:29;::::0;;;:18:::1;:29;::::0;;;;;::::1;;52446:30;52438:68;;;;-1:-1:-1::0;;;52438:68:0::1;;;;;;;:::i;:::-;52526:18;52545:7;52526:27;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;;::::1;;52525:28;52517:63;;;;-1:-1:-1::0;;;52517:63:0::1;;;;;;;:::i;:::-;52593:17;52613:25;52625:13:::0;52613:9;:25:::1;:::i;:::-;52671:26;::::0;;;:15:::1;:26;::::0;;;;:36;52593:45;;-1:-1:-1;52671:41:0;52649:114:::1;;;;-1:-1:-1::0;;;52649:114:0::1;;;;;;;:::i;:::-;52808:34;::::0;;;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;52776:29:::1;52855:26:::0;;;:15:::1;:26:::0;;;;;;:36;;;;;;;;52808:34;;;;52855:26;;:36:::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;;;52902:29:0::1;::::0;;;:18:::1;:29;::::0;;;;;;;:45;;::::1;::::0;;::::1;::::0;;;;;;;;::::1;::::0;;;52960:29;;;:18:::1;:29:::0;;;;;;;:36;;-1:-1:-1;;52960:36:0::1;::::0;::::1;::::0;;53007:27;;:18:::1;::::0;:27:::1;::::0;53026:7;;53007:27:::1;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:34;;;::::1;;-1:-1:-1::0;;53007:34:0;;::::1;::::0;;;::::1;::::0;;53054:27:::1;53064:5:::0;53071:9;53054::::1;:27::i;:::-;53133:9;53122;53115:5;-1:-1:-1::0;;;;;53097:46:0::1;;;;;;;;;;;46241:1;;51736:1415:::0;;;;;:::o;46689:45::-;;;:::o;44612:87::-;44685:6;;-1:-1:-1;;;;;44685:6:0;44612:87;:::o;55550:116::-;46197:7;;-1:-1:-1;;;;;46197:7:0;46183:10;:21;;:46;;;46222:7;:5;:7::i;:::-;-1:-1:-1;;;;;46208:21:0;:10;-1:-1:-1;;;;;46208:21:0;;46183:46;46175:55;;;;;;55634:24;;::::1;::::0;:13:::1;::::0;:24:::1;::::0;::::1;::::0;::::1;:::i;:::-;;55550:116:::0;:::o;22667:104::-;22723:13;22756:7;22749:14;;;;;:::i;24571:327::-;24718:12;:10;:12::i;:::-;-1:-1:-1;;;;;24706:24:0;:8;-1:-1:-1;;;;;24706:24:0;;;24698:62;;;;-1:-1:-1;;;24698:62:0;;;;;;;:::i;:::-;24818:8;24773:18;:32;24792:12;:10;:12::i;:::-;-1:-1:-1;;;;;24773:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;24773:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;24773:53:0;;;;;;;;;;;24857:12;:10;:12::i;:::-;-1:-1:-1;;;;;24842:48:0;;24881:8;24842:48;;;;;;:::i;:::-;;;;;;;;24571:327;;:::o;51021:286::-;51128:7;51183:15;:13;:15::i;:::-;51175:5;:23;51153:109;;;;-1:-1:-1;;;51153:109:0;;;;;;;:::i;:::-;51280:12;51293:5;51280:19;;;;;;-1:-1:-1;;;51280:19:0;;;;;;;;25953:365;26142:41;26161:12;:10;:12::i;:::-;26175:7;26142:18;:41::i;:::-;26120:140;;;;-1:-1:-1;;;26120:140:0;;;;;;;:::i;:::-;26271:39;26285:4;26291:2;26295:7;26304:5;26271:13;:39::i;54850:640::-;54968:13;55021:16;55029:7;55021;:16::i;:::-;54999:113;;;;-1:-1:-1;;;54999:113:0;;;;;;;:::i;:::-;55125:21;55149:13;55125:37;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55183:7;55177:21;55202:1;55177:26;55173:78;;;-1:-1:-1;55220:19:0;;;;;;;;;;;;-1:-1:-1;;;55220:19:0;;;;55173:78;55347:7;55377:15;:24;55393:7;55377:24;;;;;;;;;;;:32;;55308:159;;;;;;;;;:::i;:::-;;;;;;;;;;;;;55263:219;;;54850:640;;;:::o;46258:98::-;44843:12;:10;:12::i;:::-;-1:-1:-1;;;;;44832:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;44832:23:0;;44824:68;;;;-1:-1:-1;;;44824:68:0;;;;;;;:::i;:::-;46327:7:::1;:21:::0;;-1:-1:-1;;;;;;46327:21:0::1;-1:-1:-1::0;;;;;46327:21:0;;;::::1;::::0;;;::::1;::::0;;46258:98::o;50834:108::-;50915:12;:19;50834:108;:::o;55739:97::-;55783:13;55816:12;55809:19;;;;;:::i;24969:214::-;-1:-1:-1;;;;;25140:25:0;;;25111:4;25140:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24969:214::o;46813:48::-;;;:::o;46923:49::-;46966:6;46923:49;:::o;45512:229::-;44843:12;:10;:12::i;:::-;-1:-1:-1;;;;;44832:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;44832:23:0;;44824:68;;;;-1:-1:-1;;;44824:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;45615:22:0;::::1;45593:110;;;;-1:-1:-1::0;;;45593:110:0::1;;;;;;;:::i;:::-;45714:19;45724:8;45714:9;:19::i;:::-;45512:229:::0;:::o;46044:22::-;;;-1:-1:-1;;;;;46044:22:0;;:::o;54265:174::-;54363:7;54395:29;;;:18;:29;;;;;:36;;54265:174::o;36346:300::-;36493:4;-1:-1:-1;;;;;;36535:50:0;;-1:-1:-1;;;36535:50:0;;:103;;;36602:36;36626:11;36602:23;:36::i;27865:127::-;27930:4;27954:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27954:16:0;:30;;;27865:127::o;16697:98::-;16777:10;16697:98;:::o;31988:174::-;32063:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;32063:29:0;-1:-1:-1;;;;;32063:29:0;;;;;;;;:24;;32117:23;32063:24;32117:14;:23::i;:::-;-1:-1:-1;;;;;32108:46:0;;;;;;;;;;;31988:174;;:::o;28159:452::-;28288:4;28332:16;28340:7;28332;:16::i;:::-;28310:110;;;;-1:-1:-1;;;28310:110:0;;;;;;;:::i;:::-;28431:13;28447:23;28462:7;28447:14;:23::i;:::-;28431:39;;28500:5;-1:-1:-1;;;;;28489:16:0;:7;-1:-1:-1;;;;;28489:16:0;;:64;;;;28546:7;-1:-1:-1;;;;;28522:31:0;:20;28534:7;28522:11;:20::i;:::-;-1:-1:-1;;;;;28522:31:0;;28489:64;:113;;;;28570:32;28587:5;28594:7;28570:16;:32::i;:::-;28481:122;28159:452;-1:-1:-1;;;;28159:452:0:o;31255:615::-;31428:4;-1:-1:-1;;;;;31401:31:0;:23;31416:7;31401:14;:23::i;:::-;-1:-1:-1;;;;;31401:31:0;;31379:122;;;;-1:-1:-1;;;31379:122:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;31520:16:0;;31512:65;;;;-1:-1:-1;;;31512:65:0;;;;;;;:::i;:::-;31590:39;31611:4;31617:2;31621:7;31590:20;:39::i;:::-;31694:29;31711:1;31715:7;31694:8;:29::i;:::-;-1:-1:-1;;;;;31736:15:0;;;;;;:9;:15;;;;;:20;;31755:1;;31736:15;:20;;31755:1;;31736:20;:::i;:::-;;;;-1:-1:-1;;;;;;;31767:13:0;;;;;;:9;:13;;;;;:18;;31784:1;;31767:13;:18;;31784:1;;31767:18;:::i;:::-;;;;-1:-1:-1;;31796:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31796:21:0;-1:-1:-1;;;;;31796:21:0;;;;;;;;;31835:27;;31796:16;;31835:27;;;;-1:-1:-1;;;;;;;;;;;31835:27:0;;31255:615;;;:::o;45749:173::-;45824:6;;;-1:-1:-1;;;;;45841:17:0;;;-1:-1:-1;;;;;;45841:17:0;;;;;;;45874:40;;45824:6;;;45841:17;45824:6;;45874:40;;45805:16;;45874:40;45749:173;;:::o;28953:110::-;29029:26;29039:2;29043:7;29029:26;;;;;;;;;;;;:9;:26::i;27200:352::-;27357:28;27367:4;27373:2;27377:7;27357:9;:28::i;:::-;27418:48;27441:4;27447:2;27451:7;27460:5;27418:22;:48::i;:::-;27396:148;;;;-1:-1:-1;;;27396:148:0;;;;;;;:::i;21329:355::-;21476:4;-1:-1:-1;;;;;;21518:40:0;;-1:-1:-1;;;21518:40:0;;:105;;-1:-1:-1;;;;;;;21575:48:0;;-1:-1:-1;;;21575:48:0;21518:105;:158;;;;21640:36;21664:11;21640:23;:36::i;38272:589::-;38416:45;38443:4;38449:2;38453:7;38416:26;:45::i;:::-;-1:-1:-1;;;;;38478:18:0;;38474:187;;38513:40;38545:7;38513:31;:40::i;:::-;38474:187;;;38583:2;-1:-1:-1;;;;;38575:10:0;:4;-1:-1:-1;;;;;38575:10:0;;38571:90;;38602:47;38635:4;38641:7;38602:32;:47::i;:::-;-1:-1:-1;;;;;38675:16:0;;38671:183;;38708:45;38745:7;38708:36;:45::i;:::-;38671:183;;;38781:4;-1:-1:-1;;;;;38775:10:0;:2;-1:-1:-1;;;;;38775:10:0;;38771:83;;38802:40;38830:2;38834:7;38802:27;:40::i;29290:321::-;29420:18;29426:2;29430:7;29420:5;:18::i;:::-;29471:54;29502:1;29506:2;29510:7;29519:5;29471:22;:54::i;:::-;29449:154;;;;-1:-1:-1;;;29449:154:0;;;;;;;:::i;32727:980::-;32882:4;32903:15;:2;-1:-1:-1;;;;;32903:13:0;;:15::i;:::-;32899:801;;;32972:2;-1:-1:-1;;;;;32956:36:0;;33015:12;:10;:12::i;:::-;33050:4;33077:7;33107:5;32956:175;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32956:175:0;;;;;;;;-1:-1:-1;;32956:175:0;;;;;;;;;;;;:::i;:::-;;;32935:710;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33314:13:0;;33310:320;;33357:108;;-1:-1:-1;;;33357:108:0;;;;;;;:::i;33310:320::-;33580:6;33574:13;33565:6;33561:2;33557:15;33550:38;32935:710;-1:-1:-1;;;;;;33195:51:0;-1:-1:-1;;;33195:51:0;;-1:-1:-1;33188:58:0;;32899:801;-1:-1:-1;33684:4:0;32727:980;;;;;;:::o;19801:207::-;-1:-1:-1;;;;;;19960:40:0;;-1:-1:-1;;;19960:40:0;19801:207;;;:::o;39584:164::-;39688:10;:17;;39661:24;;;;:15;:24;;;;;:44;;;39716:24;;;;;;;;;;;;39584:164::o;40375:1002::-;40655:22;40705:1;40680:22;40697:4;40680:16;:22::i;:::-;:26;;;;:::i;:::-;40717:18;40738:26;;;:17;:26;;;;;;40655:51;;-1:-1:-1;40871:28:0;;;40867:328;;-1:-1:-1;;;;;40938:18:0;;40916:19;40938:18;;;:12;:18;;;;;;;;:34;;;;;;;;;40989:30;;;;;;:44;;;41106:30;;:17;:30;;;;;:43;;;40867:328;-1:-1:-1;41291:26:0;;;;:17;:26;;;;;;;;41284:33;;;-1:-1:-1;;;;;41335:18:0;;;;;:12;:18;;;;;:34;;;;;;;41328:41;40375:1002::o;41672:1079::-;41950:10;:17;41925:22;;41950:21;;41970:1;;41950:21;:::i;:::-;41982:18;42003:24;;;:15;:24;;;;;;42376:10;:26;;41925:46;;-1:-1:-1;42003:24:0;;41925:46;;42376:26;;;;-1:-1:-1;;;42376:26:0;;;;;;;;;;;;;;;;;42354:48;;42440:11;42415:10;42426;42415:22;;;;;;-1:-1:-1;;;42415:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;42520:28;;;:15;:28;;;;;;;:41;;;42692:24;;;;;42685:31;42727:10;:16;;;;;-1:-1:-1;;;42727:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;41672:1079;;;;:::o;39162:221::-;39247:14;39264:20;39281:2;39264:16;:20::i;:::-;-1:-1:-1;;;;;39295:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;39340:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;39162:221:0:o;29947:382::-;-1:-1:-1;;;;;30027:16:0;;30019:61;;;;-1:-1:-1;;;30019:61:0;;;;;;;:::i;:::-;30100:16;30108:7;30100;:16::i;:::-;30099:17;30091:58;;;;-1:-1:-1;;;30091:58:0;;;;;;;:::i;:::-;30162:45;30191:1;30195:2;30199:7;30162:20;:45::i;:::-;-1:-1:-1;;;;;30220:13:0;;;;;;:9;:13;;;;;:18;;30237:1;;30220:13;:18;;30237:1;;30220:18;:::i;:::-;;;;-1:-1:-1;;30249:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30249:21:0;-1:-1:-1;;;;;30249:21:0;;;;;;;;30288:33;;30249:16;;;-1:-1:-1;;;;;;;;;;;30288:33:0;30249:16;;30288:33;29947:382;;:::o;8278:387::-;8601:20;8649:8;;;8278:387::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:607:1;;-1:-1:-1;;;;;140:14:1;;;137:2;;;157:18;;:::i;:::-;206:2;200:9;279:2;256:17;;-1:-1:-1;;252:31:1;240:44;;286:4;236:55;306:18;;;326:22;;;303:46;300:2;;;352:18;;:::i;:::-;388:2;381:22;436;;;421:6;-1:-1:-1;421:6:1;473:16;;;470:25;-1:-1:-1;467:2:1;;;508:1;505;498:12;467:2;558:6;553:3;546:4;538:6;534:17;521:44;613:1;606:4;597:6;589;585:19;581:30;574:41;;;90:531;;;;;:::o;626:175::-;696:20;;-1:-1:-1;;;;;745:31:1;;735:42;;725:2;;791:1;788;781:12;806:233;;904:3;897:4;889:6;885:17;881:27;871:2;;926:5;919;912:20;871:2;952:81;1029:3;1020:6;1007:20;1000:4;992:6;988:17;952:81;:::i;:::-;943:90;861:178;-1:-1:-1;;;861:178:1:o;1044:198::-;;1156:2;1144:9;1135:7;1131:23;1127:32;1124:2;;;1177:6;1169;1162:22;1124:2;1205:31;1226:9;1205:31;:::i;1247:274::-;;;1376:2;1364:9;1355:7;1351:23;1347:32;1344:2;;;1397:6;1389;1382:22;1344:2;1425:31;1446:9;1425:31;:::i;:::-;1415:41;;1475:40;1511:2;1500:9;1496:18;1475:40;:::i;1526:342::-;;;;1672:2;1660:9;1651:7;1647:23;1643:32;1640:2;;;1693:6;1685;1678:22;1640:2;1721:31;1742:9;1721:31;:::i;:::-;1711:41;;1771:40;1807:2;1796:9;1792:18;1771:40;:::i;:::-;1761:50;;1858:2;1847:9;1843:18;1830:32;1820:42;;1630:238;;;;;:::o;1873:702::-;;;;;2045:3;2033:9;2024:7;2020:23;2016:33;2013:2;;;2067:6;2059;2052:22;2013:2;2095:31;2116:9;2095:31;:::i;:::-;2085:41;;2145:40;2181:2;2170:9;2166:18;2145:40;:::i;:::-;2135:50;-1:-1:-1;2232:2:1;2217:18;;2204:32;;-1:-1:-1;2287:2:1;2272:18;;2259:32;-1:-1:-1;;;;;2303:30:1;;2300:2;;;2351:6;2343;2336:22;2300:2;2379:22;;2432:4;2424:13;;2420:27;-1:-1:-1;2410:2:1;;2466:6;2458;2451:22;2410:2;2494:75;2561:7;2556:2;2543:16;2538:2;2534;2530:11;2494:75;:::i;:::-;2484:85;;;2003:572;;;;;;;:::o;2580:369::-;;;2706:2;2694:9;2685:7;2681:23;2677:32;2674:2;;;2727:6;2719;2712:22;2674:2;2755:31;2776:9;2755:31;:::i;:::-;2745:41;;2836:2;2825:9;2821:18;2808:32;2883:5;2876:13;2869:21;2862:5;2859:32;2849:2;;2910:6;2902;2895:22;2849:2;2938:5;2928:15;;;2664:285;;;;;:::o;2954:266::-;;;3083:2;3071:9;3062:7;3058:23;3054:32;3051:2;;;3104:6;3096;3089:22;3051:2;3132:31;3153:9;3132:31;:::i;:::-;3122:41;3210:2;3195:18;;;;3182:32;;-1:-1:-1;;;3041:179:1:o;3225:257::-;;3336:2;3324:9;3315:7;3311:23;3307:32;3304:2;;;3357:6;3349;3342:22;3304:2;3401:9;3388:23;3420:32;3446:5;3420:32;:::i;3487:261::-;;3609:2;3597:9;3588:7;3584:23;3580:32;3577:2;;;3630:6;3622;3615:22;3577:2;3667:9;3661:16;3686:32;3712:5;3686:32;:::i;3753:344::-;;3875:2;3863:9;3854:7;3850:23;3846:32;3843:2;;;3896:6;3888;3881:22;3843:2;3928:23;;-1:-1:-1;;;;;3963:30:1;;3960:2;;;4011:6;4003;3996:22;3960:2;4039:52;4083:7;4074:6;4063:9;4059:22;4039:52;:::i;4102:858::-;;;;;4295:3;4283:9;4274:7;4270:23;4266:33;4263:2;;;4317:6;4309;4302:22;4263:2;4349:23;;-1:-1:-1;;;;;4421:14:1;;;4418:2;;;4453:6;4445;4438:22;4418:2;4481:52;4525:7;4516:6;4505:9;4501:22;4481:52;:::i;:::-;4471:62;;4586:2;4575:9;4571:18;4558:32;4542:48;;4615:2;4605:8;4602:16;4599:2;;;4636:6;4628;4621:22;4599:2;4664:54;4710:7;4699:8;4688:9;4684:24;4664:54;:::i;:::-;4654:64;;4771:2;4760:9;4756:18;4743:32;4727:48;;4800:2;4790:8;4787:16;4784:2;;;4821:6;4813;4806:22;4784:2;;4849:54;4895:7;4884:8;4873:9;4869:24;4849:54;:::i;:::-;4253:707;;;;-1:-1:-1;4839:64:1;;4950:2;4935:18;4922:32;;-1:-1:-1;;;4253:707:1:o;4965:190::-;;5077:2;5065:9;5056:7;5052:23;5048:32;5045:2;;;5098:6;5090;5083:22;5045:2;-1:-1:-1;5126:23:1;;5035:120;-1:-1:-1;5035:120:1:o;5160:412::-;;;5299:2;5287:9;5278:7;5274:23;5270:32;5267:2;;;5320:6;5312;5305:22;5267:2;5348:23;;;-1:-1:-1;5422:2:1;5407:18;;5394:32;-1:-1:-1;;;;;5438:30:1;;5435:2;;;5486:6;5478;5471:22;5435:2;5514:52;5558:7;5549:6;5538:9;5534:22;5514:52;:::i;:::-;5504:62;;;5257:315;;;;;:::o;5577:258::-;;;5706:2;5694:9;5685:7;5681:23;5677:32;5674:2;;;5727:6;5719;5712:22;5674:2;-1:-1:-1;;5755:23:1;;;5825:2;5810:18;;;5797:32;;-1:-1:-1;5664:171:1:o;5840:626::-;;;;;;6030:3;6018:9;6009:7;6005:23;6001:33;5998:2;;;6052:6;6044;6037:22;5998:2;6093:9;6080:23;6070:33;;6150:2;6139:9;6135:18;6122:32;6112:42;;6201:2;6190:9;6186:18;6173:32;6163:42;;6224:40;6260:2;6249:9;6245:18;6224:40;:::i;:::-;6214:50;-1:-1:-1;6315:3:1;6300:19;;6287:33;-1:-1:-1;;;;;6332:30:1;;6329:2;;;6380:6;6372;6365:22;6329:2;6408:52;6452:7;6443:6;6432:9;6428:22;6408:52;:::i;:::-;6398:62;;;5988:478;;;;;;;;:::o;6471:259::-;;6552:5;6546:12;6579:6;6574:3;6567:19;6595:63;6651:6;6644:4;6639:3;6635:14;6628:4;6621:5;6617:16;6595:63;:::i;:::-;6712:2;6691:15;-1:-1:-1;;6687:29:1;6678:39;;;;6719:4;6674:50;;6522:208;-1:-1:-1;;6522:208:1:o;6735:982::-;6822:12;;6735:982;;6894:1;6879:17;;6915:1;6951:18;;;;6978:2;;7032:4;7024:6;7020:17;7010:27;;6978:2;7058;7106;7098:6;7095:14;7075:18;7072:38;7069:2;;;-1:-1:-1;;;7133:33:1;;7189:4;7186:1;7179:15;7219:4;7140:3;7207:17;7069:2;7250:18;7277:104;;;;7395:1;7390:321;;;;7243:468;;7277:104;-1:-1:-1;;7310:24:1;;7298:37;;7355:16;;;;-1:-1:-1;7277:104:1;;7390:321;7426:38;7458:5;7426:38;:::i;:::-;7486:1;7500:165;7514:6;7511:1;7508:13;7500:165;;;7592:14;;7579:11;;;7572:35;7635:16;;;;7529:10;;7500:165;;;7504:3;;7694:6;7689:3;7685:16;7678:23;;7243:468;;;;;;;6795:922;;;;:::o;7722:276::-;;7891:6;7885:13;7907:53;7953:6;7948:3;7941:4;7933:6;7929:17;7907:53;:::i;:::-;7976:16;;;;;7861:137;-1:-1:-1;;7861:137:1:o;8003:526::-;;8318:6;8312:13;8334:53;8380:6;8375:3;8368:4;8360:6;8356:17;8334:53;:::i;:::-;8406;8451:6;8446:3;8442:16;8434:6;8406:53;:::i;:::-;-1:-1:-1;;;8468:28:1;;8520:2;8512:11;;8288:241;-1:-1:-1;;;;;8288:241:1:o;8534:199::-;;8687:40;8723:3;8715:6;8687:40;:::i;8738:203::-;-1:-1:-1;;;;;8902:32:1;;;;8884:51;;8872:2;8857:18;;8839:102::o;8946:490::-;-1:-1:-1;;;;;9215:15:1;;;9197:34;;9267:15;;9262:2;9247:18;;9240:43;9314:2;9299:18;;9292:34;;;9362:3;9357:2;9342:18;;9335:31;;;8946:490;;9383:47;;9410:19;;9402:6;9383:47;:::i;:::-;9375:55;9149:287;-1:-1:-1;;;;;;9149:287:1:o;9441:274::-;-1:-1:-1;;;;;9633:32:1;;;;9615:51;;9697:2;9682:18;;9675:34;9603:2;9588:18;;9570:145::o;9720:187::-;9885:14;;9878:22;9860:41;;9848:2;9833:18;;9815:92::o;9912:221::-;;10061:2;10050:9;10043:21;10081:46;10123:2;10112:9;10108:18;10100:6;10081:46;:::i;10138:622::-;;10411:3;10400:9;10393:22;10438:47;10480:3;10469:9;10465:19;10457:6;10438:47;:::i;:::-;10533:9;10525:6;10521:22;10516:2;10505:9;10501:18;10494:50;10567:34;10594:6;10586;10567:34;:::i;:::-;10553:48;;10649:9;10641:6;10637:22;10632:2;10621:9;10617:18;10610:50;10677:34;10704:6;10696;10677:34;:::i;:::-;10669:42;;;10747:6;10742:2;10731:9;10727:18;10720:34;10383:377;;;;;;;:::o;10765:345::-;10967:2;10949:21;;;11006:2;10986:18;;;10979:30;-1:-1:-1;;;11040:2:1;11025:18;;11018:51;11101:2;11086:18;;10939:171::o;11115:407::-;11317:2;11299:21;;;11356:2;11336:18;;;11329:30;11395:34;11390:2;11375:18;;11368:62;-1:-1:-1;;;11461:2:1;11446:18;;11439:41;11512:3;11497:19;;11289:233::o;11527:414::-;11729:2;11711:21;;;11768:2;11748:18;;;11741:30;11807:34;11802:2;11787:18;;11780:62;-1:-1:-1;;;11873:2:1;11858:18;;11851:48;11931:3;11916:19;;11701:240::o;11946:413::-;12148:2;12130:21;;;12187:2;12167:18;;;12160:30;12226:34;12221:2;12206:18;;12199:62;-1:-1:-1;;;12292:2:1;12277:18;;12270:47;12349:3;12334:19;;12120:239::o;12364:475::-;12566:2;12548:21;;;12605:2;12585:18;;;12578:30;12644:34;12639:2;12624:18;;12617:62;12715:34;12710:2;12695:18;;12688:62;-1:-1:-1;;;12781:3:1;12766:19;;12759:38;12829:3;12814:19;;12538:301::o;12844:402::-;13046:2;13028:21;;;13085:2;13065:18;;;13058:30;13124:34;13119:2;13104:18;;13097:62;-1:-1:-1;;;13190:2:1;13175:18;;13168:36;13236:3;13221:19;;13018:228::o;13251:352::-;13453:2;13435:21;;;13492:2;13472:18;;;13465:30;-1:-1:-1;;;13526:2:1;13511:18;;13504:58;13594:2;13579:18;;13425:178::o;13608:354::-;13810:2;13792:21;;;13849:2;13829:18;;;13822:30;13888:32;13883:2;13868:18;;13861:60;13953:2;13938:18;;13782:180::o;13967:344::-;14169:2;14151:21;;;14208:2;14188:18;;;14181:30;-1:-1:-1;;;14242:2:1;14227:18;;14220:50;14302:2;14287:18;;14141:170::o;14316:400::-;14518:2;14500:21;;;14557:2;14537:18;;;14530:30;14596:34;14591:2;14576:18;;14569:62;-1:-1:-1;;;14662:2:1;14647:18;;14640:34;14706:3;14691:19;;14490:226::o;14721:349::-;14923:2;14905:21;;;14962:2;14942:18;;;14935:30;-1:-1:-1;;;14996:2:1;14981:18;;14974:55;15061:2;15046:18;;14895:175::o;15075:347::-;15277:2;15259:21;;;15316:2;15296:18;;;15289:30;-1:-1:-1;;;15350:2:1;15335:18;;15328:53;15413:2;15398:18;;15249:173::o;15427:408::-;15629:2;15611:21;;;15668:2;15648:18;;;15641:30;15707:34;15702:2;15687:18;;15680:62;-1:-1:-1;;;15773:2:1;15758:18;;15751:42;15825:3;15810:19;;15601:234::o;15840:346::-;16042:2;16024:21;;;16081:2;16061:18;;;16054:30;-1:-1:-1;;;16115:2:1;16100:18;;16093:52;16177:2;16162:18;;16014:172::o;16191:352::-;16393:2;16375:21;;;16432:2;16412:18;;;16405:30;-1:-1:-1;;;16466:2:1;16451:18;;16444:58;16534:2;16519:18;;16365:178::o;16548:420::-;16750:2;16732:21;;;16789:2;16769:18;;;16762:30;16828:34;16823:2;16808:18;;16801:62;-1:-1:-1;;;16894:2:1;16879:18;;16872:54;16958:3;16943:19;;16722:246::o;16973:406::-;17175:2;17157:21;;;17214:2;17194:18;;;17187:30;17253:34;17248:2;17233:18;;17226:62;-1:-1:-1;;;17319:2:1;17304:18;;17297:40;17369:3;17354:19;;17147:232::o;17384:405::-;17586:2;17568:21;;;17625:2;17605:18;;;17598:30;17664:34;17659:2;17644:18;;17637:62;-1:-1:-1;;;17730:2:1;17715:18;;17708:39;17779:3;17764:19;;17558:231::o;17794:347::-;17996:2;17978:21;;;18035:2;18015:18;;;18008:30;-1:-1:-1;;;18069:2:1;18054:18;;18047:53;18132:2;18117:18;;17968:173::o;18146:356::-;18348:2;18330:21;;;18367:18;;;18360:30;18426:34;18421:2;18406:18;;18399:62;18493:2;18478:18;;18320:182::o;18507:408::-;18709:2;18691:21;;;18748:2;18728:18;;;18721:30;18787:34;18782:2;18767:18;;18760:62;-1:-1:-1;;;18853:2:1;18838:18;;18831:42;18905:3;18890:19;;18681:234::o;18920:356::-;19122:2;19104:21;;;19141:18;;;19134:30;19200:34;19195:2;19180:18;;19173:62;19267:2;19252:18;;19094:182::o;19281:405::-;19483:2;19465:21;;;19522:2;19502:18;;;19495:30;19561:34;19556:2;19541:18;;19534:62;-1:-1:-1;;;19627:2:1;19612:18;;19605:39;19676:3;19661:19;;19455:231::o;19691:423::-;19893:2;19875:21;;;19932:2;19912:18;;;19905:30;19971:34;19966:2;19951:18;;19944:62;-1:-1:-1;;;20037:2:1;20022:18;;20015:57;20104:3;20089:19;;19865:249::o;20119:411::-;20321:2;20303:21;;;20360:2;20340:18;;;20333:30;20399:34;20394:2;20379:18;;20372:62;-1:-1:-1;;;20465:2:1;20450:18;;20443:45;20520:3;20505:19;;20293:237::o;20535:417::-;20737:2;20719:21;;;20776:2;20756:18;;;20749:30;20815:34;20810:2;20795:18;;20788:62;-1:-1:-1;;;20881:2:1;20866:18;;20859:51;20942:3;20927:19;;20709:243::o;20957:349::-;21159:2;21141:21;;;21198:2;21178:18;;;21171:30;-1:-1:-1;;;21232:2:1;21217:18;;21210:55;21297:2;21282:18;;21131:175::o;21311:397::-;21513:2;21495:21;;;21552:2;21532:18;;;21525:30;21591:34;21586:2;21571:18;;21564:62;-1:-1:-1;;;21657:2:1;21642:18;;21635:31;21698:3;21683:19;;21485:223::o;21713:413::-;21915:2;21897:21;;;21954:2;21934:18;;;21927:30;21993:34;21988:2;21973:18;;21966:62;-1:-1:-1;;;22059:2:1;22044:18;;22037:47;22116:3;22101:19;;21887:239::o;22131:408::-;22333:2;22315:21;;;22372:2;22352:18;;;22345:30;22411:34;22406:2;22391:18;;22384:62;-1:-1:-1;;;22477:2:1;22462:18;;22455:42;22529:3;22514:19;;22305:234::o;22544:400::-;22746:2;22728:21;;;22785:2;22765:18;;;22758:30;22824:34;22819:2;22804:18;;22797:62;-1:-1:-1;;;22890:2:1;22875:18;;22868:34;22934:3;22919:19;;22718:226::o;22949:352::-;23151:2;23133:21;;;23190:2;23170:18;;;23163:30;-1:-1:-1;;;23224:2:1;23209:18;;23202:58;23292:2;23277:18;;23123:178::o;23306:346::-;23508:2;23490:21;;;23547:2;23527:18;;;23520:30;-1:-1:-1;;;23581:2:1;23566:18;;23559:52;23643:2;23628:18;;23480:172::o;23657:399::-;23859:2;23841:21;;;23898:2;23878:18;;;23871:30;23937:34;23932:2;23917:18;;23910:62;-1:-1:-1;;;24003:2:1;23988:18;;23981:33;24046:3;24031:19;;23831:225::o;24061:177::-;24207:25;;;24195:2;24180:18;;24162:76::o;24243:292::-;;24420:6;24409:9;24402:25;24463:2;24458;24447:9;24443:18;24436:30;24483:46;24525:2;24514:9;24510:18;24502:6;24483:46;:::i;24540:129::-;;24608:17;;;24658:4;24642:21;;;24598:71::o;24674:128::-;;24745:1;24741:6;24738:1;24735:13;24732:2;;;24751:18;;:::i;:::-;-1:-1:-1;24787:9:1;;24722:80::o;24807:217::-;;24873:1;24863:2;;-1:-1:-1;;;24898:31:1;;24952:4;24949:1;24942:15;24980:4;24905:1;24970:15;24863:2;-1:-1:-1;25009:9:1;;24853:171::o;25029:168::-;;25135:1;25131;25127:6;25123:14;25120:1;25117:21;25112:1;25105:9;25098:17;25094:45;25091:2;;;25142:18;;:::i;:::-;-1:-1:-1;25182:9:1;;25081:116::o;25202:125::-;;25270:1;25267;25264:8;25261:2;;;25275:18;;:::i;:::-;-1:-1:-1;25312:9:1;;25251:76::o;25332:258::-;25404:1;25414:113;25428:6;25425:1;25422:13;25414:113;;;25504:11;;;25498:18;25485:11;;;25478:39;25450:2;25443:10;25414:113;;;25545:6;25542:1;25539:13;25536:2;;;-1:-1:-1;;25580:1:1;25562:16;;25555:27;25385:205::o;25595:380::-;25680:1;25670:12;;25727:1;25717:12;;;25738:2;;25792:4;25784:6;25780:17;25770:27;;25738:2;25845;25837:6;25834:14;25814:18;25811:38;25808:2;;;25891:10;25886:3;25882:20;25879:1;25872:31;25926:4;25923:1;25916:15;25954:4;25951:1;25944:15;25808:2;;25650:325;;;:::o;25980:127::-;26041:10;26036:3;26032:20;26029:1;26022:31;26072:4;26069:1;26062:15;26096:4;26093:1;26086:15;26112:127;26173:10;26168:3;26164:20;26161:1;26154:31;26204:4;26201:1;26194:15;26228:4;26225:1;26218:15;26244:133;-1:-1:-1;;;;;;26320:32:1;;26310:43;;26300:2;;26367:1;26364;26357:12

Swarm Source

ipfs://4a9aebe75f580bee0782ece75b791011b8b59b46954ac5709cd6ce2f1b2c4aa8
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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