ETH Price: $2,485.59 (-1.28%)

Dollar Store Kids (D$K)
 

Overview

TokenID

1743

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Dollar Store Kids (D$K) is the very first dollar-backed collection in crypto, existing on the Ethereum blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Capsule

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, BSL 1.1 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-09-01
*/

// File contracts/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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

// OpenZeppelin Contracts v4.4.1 (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() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

// OpenZeppelin Contracts (last updated v4.6.0) (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`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

// OpenZeppelin Contracts v4.4.1 (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 contracts/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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

// File contracts/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 contracts/openzeppelin/contracts/token/ERC721/ERC721.sol

// OpenZeppelin Contracts (last updated v4.6.0) (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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

// OpenZeppelin Contracts (last updated v4.5.0) (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);

    /**
     * @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 contracts/openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol

// OpenZeppelin Contracts v4.4.1 (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 contracts/openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

// File contracts/interfaces/IGovernable.sol

pragma solidity 0.8.9;

/**
 * @notice Governable interface
 */
interface IGovernable {
    function governor() external view returns (address _governor);

    function transferGovernorship(address _proposedGovernor) external;
}

// File contracts/interfaces/ICapsuleFactory.sol

pragma solidity 0.8.9;

interface ICapsuleFactory is IGovernable {
    function capsuleMinter() external view returns (address);

    function createCapsuleCollection(
        string memory _name,
        string memory _symbol,
        address _tokenURIOwner,
        bool _isCollectionPrivate
    ) external payable returns (address);

    function getAllCapsuleCollections() external view returns (address[] memory);

    function getCapsuleCollectionsOf(address _owner) external view returns (address[] memory);

    function getBlacklist() external view returns (address[] memory);

    function getWhitelist() external view returns (address[] memory);

    function isCapsule(address _capsule) external view returns (bool);

    function isBlacklisted(address _user) external view returns (bool);

    function isWhitelisted(address _user) external view returns (bool);

    function taxCollector() external view returns (address);

    //solhint-disable-next-line func-name-mixedcase
    function VERSION() external view returns (string memory);

    // Special permission functions
    function addToWhitelist(address _user) external;

    function removeFromWhitelist(address _user) external;

    function addToBlacklist(address _user) external;

    function removeFromBlacklist(address _user) external;

    function flushTaxAmount() external;

    function setCapsuleMinter(address _newCapsuleMinter) external;

    function updateCapsuleCollectionOwner(address _previousOwner, address _newOwner) external;

    function updateCapsuleCollectionTax(uint256 _newTax) external;

    function updateTaxCollector(address _newTaxCollector) external;
}

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

// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

// File contracts/interfaces/ICapsule.sol

pragma solidity 0.8.9;

interface ICapsule is IERC721, IERC2981 {
    function mint(address account, string memory _uri) external;

    function burn(address owner, uint256 tokenId) external;

    // Read functions
    function baseURI() external view returns (string memory);

    function counter() external view returns (uint256);

    function exists(uint256 tokenId) external view returns (bool);

    function isCollectionMinter(address _account) external view returns (bool);

    function maxId() external view returns (uint256);

    function royaltyRate() external view returns (uint256);

    function royaltyReceiver() external view returns (address);

    function tokenURIOwner() external view returns (address);
}

// File contracts/Capsule.sol

// SPDX-License-Identifier: BUSL-1.1

pragma solidity 0.8.9;

contract Capsule is ERC721URIStorage, ERC721Enumerable, Ownable, ICapsule {
    // solhint-disable-next-line var-name-mixedcase
    string public VERSION;
    string public constant LICENSE = "www.capsulenft.com/license";
    ICapsuleFactory public immutable factory;
    /// @notice Token URI owner can change token URI of any NFT.
    address public tokenURIOwner;
    string public baseURI;
    uint256 public counter;
    /// @notice Max possible NFT id of this collection
    uint256 public maxId = type(uint256).max;
    /// @notice Flag indicating whether this collection is private.
    bool public immutable isCollectionPrivate;
    /// @notice Address which can receive NFT royalties using the EIP-2981 standard
    address public royaltyReceiver;
    /// @notice Percentage amount of royalties (using 2 decimals: 10000 = 100) using the EIP-2981 standard
    uint256 public royaltyRate = 0;

    uint256 internal constant MAX_BPS = 10_000; // 100%

    event RoyaltyConfigUpdated(
        address indexed oldReceiver,
        address indexed newReceiver,
        uint256 oldRate,
        uint256 newRate
    );
    event TokenURIOwnerUpdated(address indexed oldOwner, address indexed newOwner);
    event TokenURIUpdated(uint256 indexed tokenId, string oldTokenURI, string newTokenURI);
    event BaseURIUpdated(string oldBaseURI, string newBaseURI);
    event CollectionLocked(uint256 nftCount);

    constructor(
        string memory _name,
        string memory _symbol,
        address _tokenURIOwner,
        bool _isCollectionPrivate
    ) ERC721(_name, _symbol) {
        isCollectionPrivate = _isCollectionPrivate;
        factory = ICapsuleFactory(_msgSender());
        // Address zero as tokenURIOwner is valid
        tokenURIOwner = _tokenURIOwner;
        VERSION = ICapsuleFactory(_msgSender()).VERSION();
    }

    modifier onlyMinter() {
        require(factory.capsuleMinter() == _msgSender(), "!minter");
        _;
    }

    modifier onlyTokenURIOwner() {
        require(tokenURIOwner == _msgSender(), "caller is not tokenURI owner");
        _;
    }

    /******************************************************************************
     *                              Read functions                                *
     *****************************************************************************/

    /// @notice Check whether given tokenId exists.
    function exists(uint256 tokenId) external view returns (bool) {
        return _exists(tokenId);
    }

    /// @notice Check if the Capsule collection is locked.
    /// @dev This is checked by ensuring the counter is greater than the maxId.
    function isCollectionLocked() public view returns (bool) {
        return counter > maxId;
    }

    /// @notice Check whether given address is owner of this collection.
    function isCollectionMinter(address _account) external view returns (bool) {
        if (isCollectionPrivate) {
            return owner() == _account;
        }
        return true;
    }

    /// @notice Returns tokenURI of given tokenId.
    function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) {
        return ERC721URIStorage.tokenURI(tokenId);
    }

    /// @inheritdoc IERC2981
    function royaltyInfo(uint256, uint256 _salePrice)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        return (royaltyReceiver, (_salePrice * royaltyRate) / MAX_BPS);
    }

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

    /******************************************************************************
     *                             Minter functions                               *
     *****************************************************************************/

    /// @notice onlyMinter:: Burn Capsule with given tokenId from given account
    function burn(address _account, uint256 _tokenId) external onlyMinter {
        require(ERC721.ownerOf(_tokenId) == _account, "not NFT owner");
        _burn(_tokenId);
    }

    /// @notice onlyMinter:: Mint new Capsule to given account
    function mint(address _account, string calldata _uri) external onlyMinter {
        require(!isCollectionLocked(), "collection is locked");
        _mint(_account, counter);
        // If baseURI exists then do not use incoming url.
        if (bytes(baseURI).length == 0) {
            _setTokenURI(counter, _uri);
        }
        counter++;
    }

    /******************************************************************************
     *                             Owner functions                                *
     *****************************************************************************/

    /**
     * @notice onlyOwner:: Lock collection at provided NFT count (the collection total NFT count),
     * preventing any further minting past the given NFT count.
     * @dev Max id of this collection will be provided NFT count minus one.
     */
    function lockCollectionCount(uint256 _nftCount) external virtual onlyOwner {
        require(maxId == type(uint256).max, "collection is already locked");
        require(_nftCount > 0, "_nftCount is zero");
        require(_nftCount >= counter, "_nftCount is less than counter");

        maxId = _nftCount - 1;
        emit CollectionLocked(_nftCount);
    }

    /// @notice onlyTokenURIOwner:: Set new token URI for given tokenId.
    function setTokenURI(uint256 _tokenId, string calldata _newTokenURI) external onlyTokenURIOwner {
        emit TokenURIUpdated(_tokenId, tokenURI(_tokenId), _newTokenURI);
        _setTokenURI(_tokenId, _newTokenURI);
    }

    /// @notice onlyTokenURIOwner:: Set new base URI for the collection.
    function setBaseURI(string calldata baseURI_) external onlyTokenURIOwner {
        emit BaseURIUpdated(baseURI, baseURI_);
        baseURI = baseURI_;
    }

    /**
     * @notice onlyOwner:: Update royalty receiver and rate.
     * @param _royaltyReceiver Address of royalty receiver
     * @param _royaltyRate Royalty rate in Basis Points. ie. 100 = 1%, 10_000 = 100%
     */
    function updateRoyaltyConfig(address _royaltyReceiver, uint256 _royaltyRate) external onlyOwner {
        require(_royaltyReceiver != address(0), "Royalty receiver is null");
        require(_royaltyRate <= MAX_BPS, "Royalty rate too high");
        emit RoyaltyConfigUpdated(royaltyReceiver, _royaltyReceiver, royaltyRate, _royaltyRate);
        royaltyReceiver = _royaltyReceiver;
        royaltyRate = _royaltyRate;
    }

    /// @notice onlyTokenURIOwner:: Update token URI owner.
    function updateTokenURIOwner(address _newTokenURIOwner) external onlyTokenURIOwner {
        emit TokenURIOwnerUpdated(tokenURIOwner, _newTokenURIOwner);
        tokenURIOwner = _newTokenURIOwner;
    }

    /// @inheritdoc Ownable
    function renounceOwnership() public override onlyOwner {
        super.renounceOwnership();
        factory.updateCapsuleCollectionOwner(_msgSender(), address(0));
    }

    /// @inheritdoc Ownable
    function transferOwnership(address _newOwner) public override onlyOwner {
        super.transferOwnership(_newOwner);
        if (_msgSender() != address(factory)) {
            factory.updateCapsuleCollectionOwner(_msgSender(), _newOwner);
        }
    }

    /******************************************************************************
     *                            Internal functions                              *
     *****************************************************************************/
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override(ERC721, ERC721Enumerable) {
        ERC721Enumerable._beforeTokenTransfer(from, to, tokenId);
    }

    function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) {
        ERC721URIStorage._burn(tokenId);
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_tokenURIOwner","type":"address"},{"internalType":"bool","name":"_isCollectionPrivate","type":"bool"}],"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":false,"internalType":"string","name":"oldBaseURI","type":"string"},{"indexed":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"BaseURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nftCount","type":"uint256"}],"name":"CollectionLocked","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":"oldReceiver","type":"address"},{"indexed":true,"internalType":"address","name":"newReceiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"oldRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"RoyaltyConfigUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"TokenURIOwnerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"oldTokenURI","type":"string"},{"indexed":false,"internalType":"string","name":"newTokenURI","type":"string"}],"name":"TokenURIUpdated","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":"LICENSE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract ICapsuleFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isCollectionLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isCollectionMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isCollectionPrivate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nftCount","type":"uint256"}],"name":"lockCollectionCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"string","name":"_uri","type":"string"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":"","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":"royaltyRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyReceiver","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_newTokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURIOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyReceiver","type":"address"},{"internalType":"uint256","name":"_royaltyRate","type":"uint256"}],"name":"updateRoyaltyConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTokenURIOwner","type":"address"}],"name":"updateTokenURIOwner","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060405260001960105560006012553480156200001c57600080fd5b50604051620031c4380380620031c48339810160408190526200003f9162000314565b83518490849062000058906000906020850190620001a1565b5080516200006e906001906020840190620001a1565b5050506200008b620000856200014b60201b60201c565b6200014f565b80151560a052336080819052600d80546001600160a01b0319166001600160a01b0385161790556001600160a01b031663ffa1ad746040518163ffffffff1660e01b815260040160006040518083038186803b158015620000eb57600080fd5b505afa15801562000100573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012a9190810190620003b9565b80516200014091600c91602090910190620001a1565b505050505062000436565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001af90620003f9565b90600052602060002090601f016020900481019282620001d357600085556200021e565b82601f10620001ee57805160ff19168380011785556200021e565b828001600101855582156200021e579182015b828111156200021e57825182559160200191906001019062000201565b506200022c92915062000230565b5090565b5b808211156200022c576000815560010162000231565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200026f57600080fd5b81516001600160401b03808211156200028c576200028c62000247565b604051601f8301601f19908116603f01168101908282118183101715620002b757620002b762000247565b81604052838152602092508683858801011115620002d457600080fd5b600091505b83821015620002f85785820183015181830184015290820190620002d9565b838211156200030a5760008385830101525b9695505050505050565b600080600080608085870312156200032b57600080fd5b84516001600160401b03808211156200034357600080fd5b62000351888389016200025d565b955060208701519150808211156200036857600080fd5b5062000377878288016200025d565b604087015190945090506001600160a01b03811681146200039757600080fd5b60608601519092508015158114620003ae57600080fd5b939692955090935050565b600060208284031215620003cc57600080fd5b81516001600160401b03811115620003e357600080fd5b620003f1848285016200025d565b949350505050565b600181811c908216806200040e57607f821691505b602082108114156200043057634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051612d3e620004866000396000818161052f0152610d4e0152600081816104e301528181610ef7015281816110d7015281816112600152818161142d01526114640152612d3e6000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c806370a082311161013b578063b88d4fde116100b8578063cb41e5381161007c578063cb41e5381461052a578063d0def52114610551578063e985e9c514610564578063f2fde38b146105a0578063ffa1ad74146105b357600080fd5b8063b88d4fde146104cb578063c45a0155146104de578063c4d1510d14610505578063c5ea3c651461050e578063c87b56dd1461051757600080fd5b80639dc29fac116100ff5780639dc29fac146104735780639fbc871314610486578063a22cb46514610499578063aeeaf252146104ac578063b4602654146104b857600080fd5b806370a082311461042c578063715018a61461043f5780638d5cdc26146104475780638da5cb5b1461045a57806395d89b411461046b57600080fd5b80632a55205a116101c957806355f804b31161018d57806355f804b3146103e257806361bc221a146103f55780636352211e146103fe57806364d24ed8146104115780636c0360eb1461042457600080fd5b80632a55205a146103645780632f745c591461039657806342842e0e146103a95780634f558e79146103bc5780634f6ccce7146103cf57600080fd5b8063162094c411610210578063162094c41461030657806318160ddd146103195780631b86f18c1461032b57806323249fd91461033e57806323b872dd1461035157600080fd5b806301ffc9a71461024d57806306fdde0314610275578063081812fc1461028a578063095ea7b3146102b55780630a912fc4146102ca575b600080fd5b61026061025b36600461255c565b6105bb565b60405190151581526020015b60405180910390f35b61027d6105e6565b60405161026c91906125d1565b61029d6102983660046125e4565b610678565b6040516001600160a01b03909116815260200161026c565b6102c86102c3366004612612565b610705565b005b61027d6040518060400160405280601a81526020017f7777772e63617073756c656e66742e636f6d2f6c6963656e736500000000000081525081565b6102c8610314366004612680565b61081b565b6009545b60405190815260200161026c565b6102c86103393660046126cc565b6108c9565b6102c861034c3660046125e4565b61094f565b6102c861035f3660046126e9565b610aa6565b61037761037236600461272a565b610ad7565b604080516001600160a01b03909316835260208301919091520161026c565b61031d6103a4366004612612565b610b12565b6102c86103b73660046126e9565b610ba8565b6102606103ca3660046125e4565b610bc3565b61031d6103dd3660046125e4565b610bce565b6102c86103f036600461274c565b610c61565b61031d600f5481565b61029d61040c3660046125e4565b610cd3565b61026061041f3660046126cc565b610d4a565b61027d610da6565b61031d61043a3660046126cc565b610e34565b6102c8610ebb565b6102c8610455366004612612565b610f7f565b600b546001600160a01b031661029d565b61027d6110bc565b6102c8610481366004612612565b6110cb565b60115461029d906001600160a01b031681565b6102c86104a736600461278e565b61120c565b601054600f5411610260565b600d5461029d906001600160a01b031681565b6102c86104d93660046127e2565b611217565b61029d7f000000000000000000000000000000000000000000000000000000000000000081565b61031d60125481565b61031d60105481565b61027d6105253660046125e4565b611249565b6102607f000000000000000000000000000000000000000000000000000000000000000081565b6102c861055f3660046128c2565b611254565b6102606105723660046128fe565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102c86105ae3660046126cc565b6113f7565b61027d6114ef565b60006001600160e01b0319821663152a902d60e11b14806105e057506105e0826114fc565b92915050565b6060600080546105f59061292c565b80601f01602080910402602001604051908101604052809291908181526020018280546106219061292c565b801561066e5780601f106106435761010080835404028352916020019161066e565b820191906000526020600020905b81548152906001019060200180831161065157829003601f168201915b5050505050905090565b600061068382611521565b6106e95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061071082610cd3565b9050806001600160a01b0316836001600160a01b0316141561077e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106e0565b336001600160a01b038216148061079a575061079a8133610572565b61080c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106e0565b610816838361153e565b505050565b600d546001600160a01b031633146108455760405162461bcd60e51b81526004016106e090612967565b827f31b096c6ff64a74a686605caa11c1eb1e36d3ab8079b1e117b5074d70d63ac7b61087085611249565b8484604051610881939291906129c7565b60405180910390a26108168383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115ac92505050565b600d546001600160a01b031633146108f35760405162461bcd60e51b81526004016106e090612967565b600d546040516001600160a01b038084169216907fb67bf5e8f1ad62bcdfe4520a120ce72fc5dab9d40679e18393aa88da69dcd79e90600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b600b546001600160a01b031633146109795760405162461bcd60e51b81526004016106e0906129f7565b600019601054146109cc5760405162461bcd60e51b815260206004820152601c60248201527f636f6c6c656374696f6e20697320616c7265616479206c6f636b65640000000060448201526064016106e0565b60008111610a105760405162461bcd60e51b81526020600482015260116024820152705f6e6674436f756e74206973207a65726f60781b60448201526064016106e0565b600f54811015610a625760405162461bcd60e51b815260206004820152601e60248201527f5f6e6674436f756e74206973206c657373207468616e20636f756e746572000060448201526064016106e0565b610a6d600182612a42565b6010556040518181527f3f799f7ba92b1df8f47fee2cde8743f926d8dc3c0b8217e52ece2b3a7c1a69679060200160405180910390a150565b610ab03382611637565b610acc5760405162461bcd60e51b81526004016106e090612a59565b610816838383611721565b60115460125460009182916001600160a01b039091169061271090610afc9086612aaa565b610b069190612adf565b915091505b9250929050565b6000610b1d83610e34565b8210610b7f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106e0565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b61081683838360405180602001604052806000815250611217565b60006105e082611521565b6000610bd960095490565b8210610c3c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106e0565b60098281548110610c4f57610c4f612af3565b90600052602060002001549050919050565b600d546001600160a01b03163314610c8b5760405162461bcd60e51b81526004016106e090612967565b7f309b29ded109b9e28fb9885757b3e0096eb75c51d23aa4635d68bcd569f6adc1600e8383604051610cbf93929190612b09565b60405180910390a1610816600e8383612403565b6000818152600260205260408120546001600160a01b0316806105e05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106e0565b60007f000000000000000000000000000000000000000000000000000000000000000015610d9e57816001600160a01b0316610d8e600b546001600160a01b031690565b6001600160a01b03161492915050565b506001919050565b600e8054610db39061292c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddf9061292c565b8015610e2c5780601f10610e0157610100808354040283529160200191610e2c565b820191906000526020600020905b815481529060010190602001808311610e0f57829003601f168201915b505050505081565b60006001600160a01b038216610e9f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106e0565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b03163314610ee55760405162461bcd60e51b81526004016106e0906129f7565b610eed6118c8565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016638561fab9336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260006024820152604401600060405180830381600087803b158015610f6557600080fd5b505af1158015610f79573d6000803e3d6000fd5b50505050565b600b546001600160a01b03163314610fa95760405162461bcd60e51b81526004016106e0906129f7565b6001600160a01b038216610fff5760405162461bcd60e51b815260206004820152601860248201527f526f79616c7479207265636569766572206973206e756c6c000000000000000060448201526064016106e0565b6127108111156110495760405162461bcd60e51b81526020600482015260156024820152740a4def2c2d8e8f240e4c2e8ca40e8dede40d0d2ced605b1b60448201526064016106e0565b60115460125460408051918252602082018490526001600160a01b038581169316917f8c66a4f8ea3641e69e13cda356bf5ad78bae9e2cefeaaf7cccb285591a15dd86910160405180910390a3601180546001600160a01b0319166001600160a01b039390931692909217909155601255565b6060600180546105f59061292c565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634c0cc9ad6040518163ffffffff1660e01b815260040160206040518083038186803b15801561112e57600080fd5b505afa158015611142573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111669190612bbd565b6001600160a01b0316146111a65760405162461bcd60e51b815260206004820152600760248201526610b6b4b73a32b960c91b60448201526064016106e0565b816001600160a01b03166111b982610cd3565b6001600160a01b0316146111ff5760405162461bcd60e51b815260206004820152600d60248201526c3737ba1027232a1037bbb732b960991b60448201526064016106e0565b611208816118fe565b5050565b611208338383611907565b6112213383611637565b61123d5760405162461bcd60e51b81526004016106e090612a59565b610f79848484846119d6565b60606105e082611a09565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634c0cc9ad6040518163ffffffff1660e01b815260040160206040518083038186803b1580156112b757600080fd5b505afa1580156112cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ef9190612bbd565b6001600160a01b03161461132f5760405162461bcd60e51b815260206004820152600760248201526610b6b4b73a32b960c91b60448201526064016106e0565b601054600f54111561137a5760405162461bcd60e51b815260206004820152601460248201527318dbdb1b1958dd1a5bdb881a5cc81b1bd8dad95960621b60448201526064016106e0565b61138683600f54611b6b565b600e80546113939061292c565b151590506113dd576113dd600f5483838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115ac92505050565b600f80549060006113ed83612bda565b9190505550505050565b600b546001600160a01b031633146114215760405162461bcd60e51b81526004016106e0906129f7565b61142a81611caa565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146114ec576001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016638561fab9336040516001600160e01b031960e084901b1681526001600160a01b0391821660048201529084166024820152604401600060405180830381600087803b1580156114d357600080fd5b505af11580156114e7573d6000803e3d6000fd5b505050505b50565b600c8054610db39061292c565b60006001600160e01b0319821663780e9d6360e01b14806105e057506105e082611d42565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061157382610cd3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6115b582611521565b6116185760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016106e0565b6000828152600660209081526040909120825161081692840190612487565b600061164282611521565b6116a35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106e0565b60006116ae83610cd3565b9050806001600160a01b0316846001600160a01b031614806116f557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806117195750836001600160a01b031661170e84610678565b6001600160a01b0316145b949350505050565b826001600160a01b031661173482610cd3565b6001600160a01b0316146117985760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016106e0565b6001600160a01b0382166117fa5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106e0565b611805838383611d92565b61181060008261153e565b6001600160a01b0383166000908152600360205260408120805460019290611839908490612a42565b90915550506001600160a01b0382166000908152600360205260408120805460019290611867908490612bf5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b546001600160a01b031633146118f25760405162461bcd60e51b81526004016106e0906129f7565b6118fc6000611d9d565b565b6114ec81611def565b816001600160a01b0316836001600160a01b031614156119695760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106e0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6119e1848484611721565b6119ed84848484611e2f565b610f795760405162461bcd60e51b81526004016106e090612c0d565b6060611a1482611521565b611a7a5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016106e0565b60008281526006602052604081208054611a939061292c565b80601f0160208091040260200160405190810160405280929190818152602001828054611abf9061292c565b8015611b0c5780601f10611ae157610100808354040283529160200191611b0c565b820191906000526020600020905b815481529060010190602001808311611aef57829003601f168201915b505050505090506000611b1d611f3c565b9050805160001415611b30575092915050565b815115611b62578082604051602001611b4a929190612c5f565b60405160208183030381529060405292505050919050565b61171984611f4b565b6001600160a01b038216611bc15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106e0565b611bca81611521565b15611c175760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106e0565b611c2360008383611d92565b6001600160a01b0382166000908152600360205260408120805460019290611c4c908490612bf5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600b546001600160a01b03163314611cd45760405162461bcd60e51b81526004016106e0906129f7565b6001600160a01b038116611d395760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106e0565b6114ec81611d9d565b60006001600160e01b031982166380ac58cd60e01b1480611d7357506001600160e01b03198216635b5e139f60e01b145b806105e057506301ffc9a760e01b6001600160e01b03198316146105e0565b610816838383612016565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611df8816120ce565b60008181526006602052604090208054611e119061292c565b1590506114ec5760008181526006602052604081206114ec916124fb565b60006001600160a01b0384163b15611f3157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e73903390899088908890600401612c8e565b602060405180830381600087803b158015611e8d57600080fd5b505af1925050508015611ebd575060408051601f3d908101601f19168201909252611eba91810190612cc1565b60015b611f17573d808015611eeb576040519150601f19603f3d011682016040523d82523d6000602084013e611ef0565b606091505b508051611f0f5760405162461bcd60e51b81526004016106e090612c0d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611719565b506001949350505050565b6060600e80546105f59061292c565b6060611f5682611521565b611fba5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106e0565b6000611fc4611f3c565b90506000815111611fe4576040518060200160405280600081525061200f565b80611fee84612175565b604051602001611fff929190612c5f565b6040516020818303038152906040525b9392505050565b6001600160a01b0383166120715761206c81600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b612094565b816001600160a01b0316836001600160a01b031614612094576120948382612273565b6001600160a01b0382166120ab5761081681612310565b826001600160a01b0316826001600160a01b0316146108165761081682826123bf565b60006120d982610cd3565b90506120e781600084611d92565b6120f260008361153e565b6001600160a01b038116600090815260036020526040812080546001929061211b908490612a42565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6060816121995750506040805180820190915260018152600360fc1b602082015290565b8160005b81156121c357806121ad81612bda565b91506121bc9050600a83612adf565b915061219d565b60008167ffffffffffffffff8111156121de576121de6127cc565b6040519080825280601f01601f191660200182016040528015612208576020820181803683370190505b5090505b84156117195761221d600183612a42565b915061222a600a86612cde565b612235906030612bf5565b60f81b81838151811061224a5761224a612af3565b60200101906001600160f81b031916908160001a90535061226c600a86612adf565b945061220c565b6000600161228084610e34565b61228a9190612a42565b6000838152600860205260409020549091508082146122dd576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061232290600190612a42565b6000838152600a60205260408120546009805493945090928490811061234a5761234a612af3565b90600052602060002001549050806009838154811061236b5761236b612af3565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806123a3576123a3612cf2565b6001900381819060005260206000200160009055905550505050565b60006123ca83610e34565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b82805461240f9061292c565b90600052602060002090601f0160209004810192826124315760008555612477565b82601f1061244a5782800160ff19823516178555612477565b82800160010185558215612477579182015b8281111561247757823582559160200191906001019061245c565b50612483929150612531565b5090565b8280546124939061292c565b90600052602060002090601f0160209004810192826124b55760008555612477565b82601f106124ce57805160ff1916838001178555612477565b82800160010185558215612477579182015b828111156124775782518255916020019190600101906124e0565b5080546125079061292c565b6000825580601f10612517575050565b601f0160209004906000526020600020908101906114ec91905b5b808211156124835760008155600101612532565b6001600160e01b0319811681146114ec57600080fd5b60006020828403121561256e57600080fd5b813561200f81612546565b60005b8381101561259457818101518382015260200161257c565b83811115610f795750506000910152565b600081518084526125bd816020860160208601612579565b601f01601f19169290920160200192915050565b60208152600061200f60208301846125a5565b6000602082840312156125f657600080fd5b5035919050565b6001600160a01b03811681146114ec57600080fd5b6000806040838503121561262557600080fd5b8235612630816125fd565b946020939093013593505050565b60008083601f84011261265057600080fd5b50813567ffffffffffffffff81111561266857600080fd5b602083019150836020828501011115610b0b57600080fd5b60008060006040848603121561269557600080fd5b83359250602084013567ffffffffffffffff8111156126b357600080fd5b6126bf8682870161263e565b9497909650939450505050565b6000602082840312156126de57600080fd5b813561200f816125fd565b6000806000606084860312156126fe57600080fd5b8335612709816125fd565b92506020840135612719816125fd565b929592945050506040919091013590565b6000806040838503121561273d57600080fd5b50508035926020909101359150565b6000806020838503121561275f57600080fd5b823567ffffffffffffffff81111561277657600080fd5b6127828582860161263e565b90969095509350505050565b600080604083850312156127a157600080fd5b82356127ac816125fd565b9150602083013580151581146127c157600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156127f857600080fd5b8435612803816125fd565b93506020850135612813816125fd565b925060408501359150606085013567ffffffffffffffff8082111561283757600080fd5b818701915087601f83011261284b57600080fd5b81358181111561285d5761285d6127cc565b604051601f8201601f19908116603f01168101908382118183101715612885576128856127cc565b816040528281528a602084870101111561289e57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000604084860312156128d757600080fd5b83356128e2816125fd565b9250602084013567ffffffffffffffff8111156126b357600080fd5b6000806040838503121561291157600080fd5b823561291c816125fd565b915060208301356127c1816125fd565b600181811c9082168061294057607f821691505b6020821081141561296157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601c908201527f63616c6c6572206973206e6f7420746f6b656e555249206f776e657200000000604082015260600190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6040815260006129da60408301866125a5565b82810360208401526129ed81858761299e565b9695505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015612a5457612a54612a2c565b500390565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000816000190483118215151615612ac457612ac4612a2c565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612aee57612aee612ac9565b500490565b634e487b7160e01b600052603260045260246000fd5b60408152600080855481600182811c915080831680612b2957607f831692505b6020808410821415612b4957634e487b7160e01b86526022600452602486fd5b6040880184905260608801828015612b685760018114612b7957612ba4565b60ff19871682528282019750612ba4565b60008d81526020902060005b87811015612b9e57815484820152908601908401612b85565b83019850505b50508786038189015250505050506129ed81858761299e565b600060208284031215612bcf57600080fd5b815161200f816125fd565b6000600019821415612bee57612bee612a2c565b5060010190565b60008219821115612c0857612c08612a2c565b500190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351612c71818460208801612579565b835190830190612c85818360208801612579565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129ed908301846125a5565b600060208284031215612cd357600080fd5b815161200f81612546565b600082612ced57612ced612ac9565b500690565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220d2fdf4be1e78eafb67c0b80cd95a6af7072e729cc1ddb2973a0454d28908953164736f6c63430008090033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e4c3c91de9eb9b92cedee9ddb1e4d3388318151c00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000011446f6c6c61722053746f7265204b696473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000344244b0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102485760003560e01c806370a082311161013b578063b88d4fde116100b8578063cb41e5381161007c578063cb41e5381461052a578063d0def52114610551578063e985e9c514610564578063f2fde38b146105a0578063ffa1ad74146105b357600080fd5b8063b88d4fde146104cb578063c45a0155146104de578063c4d1510d14610505578063c5ea3c651461050e578063c87b56dd1461051757600080fd5b80639dc29fac116100ff5780639dc29fac146104735780639fbc871314610486578063a22cb46514610499578063aeeaf252146104ac578063b4602654146104b857600080fd5b806370a082311461042c578063715018a61461043f5780638d5cdc26146104475780638da5cb5b1461045a57806395d89b411461046b57600080fd5b80632a55205a116101c957806355f804b31161018d57806355f804b3146103e257806361bc221a146103f55780636352211e146103fe57806364d24ed8146104115780636c0360eb1461042457600080fd5b80632a55205a146103645780632f745c591461039657806342842e0e146103a95780634f558e79146103bc5780634f6ccce7146103cf57600080fd5b8063162094c411610210578063162094c41461030657806318160ddd146103195780631b86f18c1461032b57806323249fd91461033e57806323b872dd1461035157600080fd5b806301ffc9a71461024d57806306fdde0314610275578063081812fc1461028a578063095ea7b3146102b55780630a912fc4146102ca575b600080fd5b61026061025b36600461255c565b6105bb565b60405190151581526020015b60405180910390f35b61027d6105e6565b60405161026c91906125d1565b61029d6102983660046125e4565b610678565b6040516001600160a01b03909116815260200161026c565b6102c86102c3366004612612565b610705565b005b61027d6040518060400160405280601a81526020017f7777772e63617073756c656e66742e636f6d2f6c6963656e736500000000000081525081565b6102c8610314366004612680565b61081b565b6009545b60405190815260200161026c565b6102c86103393660046126cc565b6108c9565b6102c861034c3660046125e4565b61094f565b6102c861035f3660046126e9565b610aa6565b61037761037236600461272a565b610ad7565b604080516001600160a01b03909316835260208301919091520161026c565b61031d6103a4366004612612565b610b12565b6102c86103b73660046126e9565b610ba8565b6102606103ca3660046125e4565b610bc3565b61031d6103dd3660046125e4565b610bce565b6102c86103f036600461274c565b610c61565b61031d600f5481565b61029d61040c3660046125e4565b610cd3565b61026061041f3660046126cc565b610d4a565b61027d610da6565b61031d61043a3660046126cc565b610e34565b6102c8610ebb565b6102c8610455366004612612565b610f7f565b600b546001600160a01b031661029d565b61027d6110bc565b6102c8610481366004612612565b6110cb565b60115461029d906001600160a01b031681565b6102c86104a736600461278e565b61120c565b601054600f5411610260565b600d5461029d906001600160a01b031681565b6102c86104d93660046127e2565b611217565b61029d7f0000000000000000000000004ced59c19f1f3a9eebd670f746b737acf504d1eb81565b61031d60125481565b61031d60105481565b61027d6105253660046125e4565b611249565b6102607f000000000000000000000000000000000000000000000000000000000000000181565b6102c861055f3660046128c2565b611254565b6102606105723660046128fe565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102c86105ae3660046126cc565b6113f7565b61027d6114ef565b60006001600160e01b0319821663152a902d60e11b14806105e057506105e0826114fc565b92915050565b6060600080546105f59061292c565b80601f01602080910402602001604051908101604052809291908181526020018280546106219061292c565b801561066e5780601f106106435761010080835404028352916020019161066e565b820191906000526020600020905b81548152906001019060200180831161065157829003601f168201915b5050505050905090565b600061068382611521565b6106e95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061071082610cd3565b9050806001600160a01b0316836001600160a01b0316141561077e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106e0565b336001600160a01b038216148061079a575061079a8133610572565b61080c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106e0565b610816838361153e565b505050565b600d546001600160a01b031633146108455760405162461bcd60e51b81526004016106e090612967565b827f31b096c6ff64a74a686605caa11c1eb1e36d3ab8079b1e117b5074d70d63ac7b61087085611249565b8484604051610881939291906129c7565b60405180910390a26108168383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115ac92505050565b600d546001600160a01b031633146108f35760405162461bcd60e51b81526004016106e090612967565b600d546040516001600160a01b038084169216907fb67bf5e8f1ad62bcdfe4520a120ce72fc5dab9d40679e18393aa88da69dcd79e90600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b600b546001600160a01b031633146109795760405162461bcd60e51b81526004016106e0906129f7565b600019601054146109cc5760405162461bcd60e51b815260206004820152601c60248201527f636f6c6c656374696f6e20697320616c7265616479206c6f636b65640000000060448201526064016106e0565b60008111610a105760405162461bcd60e51b81526020600482015260116024820152705f6e6674436f756e74206973207a65726f60781b60448201526064016106e0565b600f54811015610a625760405162461bcd60e51b815260206004820152601e60248201527f5f6e6674436f756e74206973206c657373207468616e20636f756e746572000060448201526064016106e0565b610a6d600182612a42565b6010556040518181527f3f799f7ba92b1df8f47fee2cde8743f926d8dc3c0b8217e52ece2b3a7c1a69679060200160405180910390a150565b610ab03382611637565b610acc5760405162461bcd60e51b81526004016106e090612a59565b610816838383611721565b60115460125460009182916001600160a01b039091169061271090610afc9086612aaa565b610b069190612adf565b915091505b9250929050565b6000610b1d83610e34565b8210610b7f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106e0565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b61081683838360405180602001604052806000815250611217565b60006105e082611521565b6000610bd960095490565b8210610c3c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106e0565b60098281548110610c4f57610c4f612af3565b90600052602060002001549050919050565b600d546001600160a01b03163314610c8b5760405162461bcd60e51b81526004016106e090612967565b7f309b29ded109b9e28fb9885757b3e0096eb75c51d23aa4635d68bcd569f6adc1600e8383604051610cbf93929190612b09565b60405180910390a1610816600e8383612403565b6000818152600260205260408120546001600160a01b0316806105e05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106e0565b60007f000000000000000000000000000000000000000000000000000000000000000115610d9e57816001600160a01b0316610d8e600b546001600160a01b031690565b6001600160a01b03161492915050565b506001919050565b600e8054610db39061292c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddf9061292c565b8015610e2c5780601f10610e0157610100808354040283529160200191610e2c565b820191906000526020600020905b815481529060010190602001808311610e0f57829003601f168201915b505050505081565b60006001600160a01b038216610e9f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106e0565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b03163314610ee55760405162461bcd60e51b81526004016106e0906129f7565b610eed6118c8565b6001600160a01b037f0000000000000000000000004ced59c19f1f3a9eebd670f746b737acf504d1eb16638561fab9336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260006024820152604401600060405180830381600087803b158015610f6557600080fd5b505af1158015610f79573d6000803e3d6000fd5b50505050565b600b546001600160a01b03163314610fa95760405162461bcd60e51b81526004016106e0906129f7565b6001600160a01b038216610fff5760405162461bcd60e51b815260206004820152601860248201527f526f79616c7479207265636569766572206973206e756c6c000000000000000060448201526064016106e0565b6127108111156110495760405162461bcd60e51b81526020600482015260156024820152740a4def2c2d8e8f240e4c2e8ca40e8dede40d0d2ced605b1b60448201526064016106e0565b60115460125460408051918252602082018490526001600160a01b038581169316917f8c66a4f8ea3641e69e13cda356bf5ad78bae9e2cefeaaf7cccb285591a15dd86910160405180910390a3601180546001600160a01b0319166001600160a01b039390931692909217909155601255565b6060600180546105f59061292c565b336001600160a01b03167f0000000000000000000000004ced59c19f1f3a9eebd670f746b737acf504d1eb6001600160a01b0316634c0cc9ad6040518163ffffffff1660e01b815260040160206040518083038186803b15801561112e57600080fd5b505afa158015611142573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111669190612bbd565b6001600160a01b0316146111a65760405162461bcd60e51b815260206004820152600760248201526610b6b4b73a32b960c91b60448201526064016106e0565b816001600160a01b03166111b982610cd3565b6001600160a01b0316146111ff5760405162461bcd60e51b815260206004820152600d60248201526c3737ba1027232a1037bbb732b960991b60448201526064016106e0565b611208816118fe565b5050565b611208338383611907565b6112213383611637565b61123d5760405162461bcd60e51b81526004016106e090612a59565b610f79848484846119d6565b60606105e082611a09565b336001600160a01b03167f0000000000000000000000004ced59c19f1f3a9eebd670f746b737acf504d1eb6001600160a01b0316634c0cc9ad6040518163ffffffff1660e01b815260040160206040518083038186803b1580156112b757600080fd5b505afa1580156112cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ef9190612bbd565b6001600160a01b03161461132f5760405162461bcd60e51b815260206004820152600760248201526610b6b4b73a32b960c91b60448201526064016106e0565b601054600f54111561137a5760405162461bcd60e51b815260206004820152601460248201527318dbdb1b1958dd1a5bdb881a5cc81b1bd8dad95960621b60448201526064016106e0565b61138683600f54611b6b565b600e80546113939061292c565b151590506113dd576113dd600f5483838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115ac92505050565b600f80549060006113ed83612bda565b9190505550505050565b600b546001600160a01b031633146114215760405162461bcd60e51b81526004016106e0906129f7565b61142a81611caa565b337f0000000000000000000000004ced59c19f1f3a9eebd670f746b737acf504d1eb6001600160a01b0316146114ec576001600160a01b037f0000000000000000000000004ced59c19f1f3a9eebd670f746b737acf504d1eb16638561fab9336040516001600160e01b031960e084901b1681526001600160a01b0391821660048201529084166024820152604401600060405180830381600087803b1580156114d357600080fd5b505af11580156114e7573d6000803e3d6000fd5b505050505b50565b600c8054610db39061292c565b60006001600160e01b0319821663780e9d6360e01b14806105e057506105e082611d42565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061157382610cd3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6115b582611521565b6116185760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016106e0565b6000828152600660209081526040909120825161081692840190612487565b600061164282611521565b6116a35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106e0565b60006116ae83610cd3565b9050806001600160a01b0316846001600160a01b031614806116f557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806117195750836001600160a01b031661170e84610678565b6001600160a01b0316145b949350505050565b826001600160a01b031661173482610cd3565b6001600160a01b0316146117985760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016106e0565b6001600160a01b0382166117fa5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106e0565b611805838383611d92565b61181060008261153e565b6001600160a01b0383166000908152600360205260408120805460019290611839908490612a42565b90915550506001600160a01b0382166000908152600360205260408120805460019290611867908490612bf5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b546001600160a01b031633146118f25760405162461bcd60e51b81526004016106e0906129f7565b6118fc6000611d9d565b565b6114ec81611def565b816001600160a01b0316836001600160a01b031614156119695760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106e0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6119e1848484611721565b6119ed84848484611e2f565b610f795760405162461bcd60e51b81526004016106e090612c0d565b6060611a1482611521565b611a7a5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016106e0565b60008281526006602052604081208054611a939061292c565b80601f0160208091040260200160405190810160405280929190818152602001828054611abf9061292c565b8015611b0c5780601f10611ae157610100808354040283529160200191611b0c565b820191906000526020600020905b815481529060010190602001808311611aef57829003601f168201915b505050505090506000611b1d611f3c565b9050805160001415611b30575092915050565b815115611b62578082604051602001611b4a929190612c5f565b60405160208183030381529060405292505050919050565b61171984611f4b565b6001600160a01b038216611bc15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106e0565b611bca81611521565b15611c175760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106e0565b611c2360008383611d92565b6001600160a01b0382166000908152600360205260408120805460019290611c4c908490612bf5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600b546001600160a01b03163314611cd45760405162461bcd60e51b81526004016106e0906129f7565b6001600160a01b038116611d395760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106e0565b6114ec81611d9d565b60006001600160e01b031982166380ac58cd60e01b1480611d7357506001600160e01b03198216635b5e139f60e01b145b806105e057506301ffc9a760e01b6001600160e01b03198316146105e0565b610816838383612016565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611df8816120ce565b60008181526006602052604090208054611e119061292c565b1590506114ec5760008181526006602052604081206114ec916124fb565b60006001600160a01b0384163b15611f3157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e73903390899088908890600401612c8e565b602060405180830381600087803b158015611e8d57600080fd5b505af1925050508015611ebd575060408051601f3d908101601f19168201909252611eba91810190612cc1565b60015b611f17573d808015611eeb576040519150601f19603f3d011682016040523d82523d6000602084013e611ef0565b606091505b508051611f0f5760405162461bcd60e51b81526004016106e090612c0d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611719565b506001949350505050565b6060600e80546105f59061292c565b6060611f5682611521565b611fba5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106e0565b6000611fc4611f3c565b90506000815111611fe4576040518060200160405280600081525061200f565b80611fee84612175565b604051602001611fff929190612c5f565b6040516020818303038152906040525b9392505050565b6001600160a01b0383166120715761206c81600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b612094565b816001600160a01b0316836001600160a01b031614612094576120948382612273565b6001600160a01b0382166120ab5761081681612310565b826001600160a01b0316826001600160a01b0316146108165761081682826123bf565b60006120d982610cd3565b90506120e781600084611d92565b6120f260008361153e565b6001600160a01b038116600090815260036020526040812080546001929061211b908490612a42565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6060816121995750506040805180820190915260018152600360fc1b602082015290565b8160005b81156121c357806121ad81612bda565b91506121bc9050600a83612adf565b915061219d565b60008167ffffffffffffffff8111156121de576121de6127cc565b6040519080825280601f01601f191660200182016040528015612208576020820181803683370190505b5090505b84156117195761221d600183612a42565b915061222a600a86612cde565b612235906030612bf5565b60f81b81838151811061224a5761224a612af3565b60200101906001600160f81b031916908160001a90535061226c600a86612adf565b945061220c565b6000600161228084610e34565b61228a9190612a42565b6000838152600860205260409020549091508082146122dd576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061232290600190612a42565b6000838152600a60205260408120546009805493945090928490811061234a5761234a612af3565b90600052602060002001549050806009838154811061236b5761236b612af3565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806123a3576123a3612cf2565b6001900381819060005260206000200160009055905550505050565b60006123ca83610e34565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b82805461240f9061292c565b90600052602060002090601f0160209004810192826124315760008555612477565b82601f1061244a5782800160ff19823516178555612477565b82800160010185558215612477579182015b8281111561247757823582559160200191906001019061245c565b50612483929150612531565b5090565b8280546124939061292c565b90600052602060002090601f0160209004810192826124b55760008555612477565b82601f106124ce57805160ff1916838001178555612477565b82800160010185558215612477579182015b828111156124775782518255916020019190600101906124e0565b5080546125079061292c565b6000825580601f10612517575050565b601f0160209004906000526020600020908101906114ec91905b5b808211156124835760008155600101612532565b6001600160e01b0319811681146114ec57600080fd5b60006020828403121561256e57600080fd5b813561200f81612546565b60005b8381101561259457818101518382015260200161257c565b83811115610f795750506000910152565b600081518084526125bd816020860160208601612579565b601f01601f19169290920160200192915050565b60208152600061200f60208301846125a5565b6000602082840312156125f657600080fd5b5035919050565b6001600160a01b03811681146114ec57600080fd5b6000806040838503121561262557600080fd5b8235612630816125fd565b946020939093013593505050565b60008083601f84011261265057600080fd5b50813567ffffffffffffffff81111561266857600080fd5b602083019150836020828501011115610b0b57600080fd5b60008060006040848603121561269557600080fd5b83359250602084013567ffffffffffffffff8111156126b357600080fd5b6126bf8682870161263e565b9497909650939450505050565b6000602082840312156126de57600080fd5b813561200f816125fd565b6000806000606084860312156126fe57600080fd5b8335612709816125fd565b92506020840135612719816125fd565b929592945050506040919091013590565b6000806040838503121561273d57600080fd5b50508035926020909101359150565b6000806020838503121561275f57600080fd5b823567ffffffffffffffff81111561277657600080fd5b6127828582860161263e565b90969095509350505050565b600080604083850312156127a157600080fd5b82356127ac816125fd565b9150602083013580151581146127c157600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156127f857600080fd5b8435612803816125fd565b93506020850135612813816125fd565b925060408501359150606085013567ffffffffffffffff8082111561283757600080fd5b818701915087601f83011261284b57600080fd5b81358181111561285d5761285d6127cc565b604051601f8201601f19908116603f01168101908382118183101715612885576128856127cc565b816040528281528a602084870101111561289e57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000604084860312156128d757600080fd5b83356128e2816125fd565b9250602084013567ffffffffffffffff8111156126b357600080fd5b6000806040838503121561291157600080fd5b823561291c816125fd565b915060208301356127c1816125fd565b600181811c9082168061294057607f821691505b6020821081141561296157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601c908201527f63616c6c6572206973206e6f7420746f6b656e555249206f776e657200000000604082015260600190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6040815260006129da60408301866125a5565b82810360208401526129ed81858761299e565b9695505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015612a5457612a54612a2c565b500390565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000816000190483118215151615612ac457612ac4612a2c565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612aee57612aee612ac9565b500490565b634e487b7160e01b600052603260045260246000fd5b60408152600080855481600182811c915080831680612b2957607f831692505b6020808410821415612b4957634e487b7160e01b86526022600452602486fd5b6040880184905260608801828015612b685760018114612b7957612ba4565b60ff19871682528282019750612ba4565b60008d81526020902060005b87811015612b9e57815484820152908601908401612b85565b83019850505b50508786038189015250505050506129ed81858761299e565b600060208284031215612bcf57600080fd5b815161200f816125fd565b6000600019821415612bee57612bee612a2c565b5060010190565b60008219821115612c0857612c08612a2c565b500190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351612c71818460208801612579565b835190830190612c85818360208801612579565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129ed908301846125a5565b600060208284031215612cd357600080fd5b815161200f81612546565b600082612ced57612ced612ac9565b500690565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220d2fdf4be1e78eafb67c0b80cd95a6af7072e729cc1ddb2973a0454d28908953164736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e4c3c91de9eb9b92cedee9ddb1e4d3388318151c00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000011446f6c6c61722053746f7265204b696473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000344244b0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Dollar Store Kids
Arg [1] : _symbol (string): D$K
Arg [2] : _tokenURIOwner (address): 0xE4c3c91De9Eb9b92CedeE9ddB1e4d3388318151c
Arg [3] : _isCollectionPrivate (bool): True

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000e4c3c91de9eb9b92cedee9ddb1e4d3388318151c
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [5] : 446f6c6c61722053746f7265204b696473000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 44244b0000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

51034:8457:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54632:279;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;54632:279:0;;;;;;;;24758:100;;;:::i;:::-;;;;;;;:::i;26318:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1847:32:1;;;1829:51;;1817:2;1802:18;26318:221:0;1683:203:1;25841:411:0;;;;;;:::i;:::-;;:::i;:::-;;51196:61;;;;;;;;;;;;;;;;;;;;;56837:226;;;;;;:::i;:::-;;:::i;39665:113::-;39753:10;:17;39665:113;;;3330:25:1;;;3318:2;3303:18;39665:113:0;3184:177:1;58037:205:0;;;;;;:::i;:::-;;:::i;56389:366::-;;;;;;:::i;:::-;;:::i;27068:339::-;;;;;;:::i;:::-;;:::i;54379:245::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4524:32:1;;;4506:51;;4588:2;4573:18;;4566:34;;;;4479:18;54379:245:0;4332:274:1;39333:256:0;;;;;;:::i;:::-;;:::i;27478:185::-;;;;;;:::i;:::-;;:::i;53489:104::-;;;;;;:::i;:::-;;:::i;39855:233::-;;;;;;:::i;:::-;;:::i;57145:159::-;;;;;;:::i;:::-;;:::i;51440:22::-;;;;;;24452:239;;;;;;:::i;:::-;;:::i;53922:193::-;;;;;;:::i;:::-;;:::i;51412:21::-;;;:::i;24182:208::-;;;;;;:::i;:::-;;:::i;58279:172::-;;;:::i;57538:430::-;;;;;;:::i;:::-;;:::i;2042:87::-;2115:6;;-1:-1:-1;;;;;2115:6:0;2042:87;;24927:104;;;:::i;55257:177::-;;;;;;:::i;:::-;;:::i;51774:30::-;;;;;-1:-1:-1;;;;;51774:30:0;;;26611:155;;;;;;:::i;:::-;;:::i;53742:98::-;53827:5;;53817:7;;:15;53742:98;;51377:28;;;;;-1:-1:-1;;;;;51377:28:0;;;27734:328;;;;;;:::i;:::-;;:::i;51264:40::-;;;;;51919:30;;;;;;51525:40;;;;;;54175:166;;;;;;:::i;:::-;;:::i;51641:41::-;;;;;55506:358;;;;;;:::i;:::-;;:::i;26837:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;26958:25:0;;;26934:4;26958:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26837:164;58488:261;;;;;;:::i;:::-;;:::i;51168:21::-;;;:::i;54632:279::-;54780:4;-1:-1:-1;;;;;;54810:41:0;;-1:-1:-1;;;54810:41:0;;:92;;;54855:47;54890:11;54855:34;:47::i;:::-;54802:101;54632:279;-1:-1:-1;;54632:279:0:o;24758:100::-;24812:13;24845:5;24838:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24758:100;:::o;26318:221::-;26394:7;26422:16;26430:7;26422;:16::i;:::-;26414:73;;;;-1:-1:-1;;;26414:73:0;;8614:2:1;26414:73:0;;;8596:21:1;8653:2;8633:18;;;8626:30;8692:34;8672:18;;;8665:62;-1:-1:-1;;;8743:18:1;;;8736:42;8795:19;;26414:73:0;;;;;;;;;-1:-1:-1;26507:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;26507:24:0;;26318:221::o;25841:411::-;25922:13;25938:23;25953:7;25938:14;:23::i;:::-;25922:39;;25986:5;-1:-1:-1;;;;;25980:11:0;:2;-1:-1:-1;;;;;25980:11:0;;;25972:57;;;;-1:-1:-1;;;25972:57:0;;9027:2:1;25972:57:0;;;9009:21:1;9066:2;9046:18;;;9039:30;9105:34;9085:18;;;9078:62;-1:-1:-1;;;9156:18:1;;;9149:31;9197:19;;25972:57:0;8825:397:1;25972:57:0;708:10;-1:-1:-1;;;;;26064:21:0;;;;:62;;-1:-1:-1;26089:37:0;26106:5;708:10;26837:164;:::i;26089:37::-;26042:168;;;;-1:-1:-1;;;26042:168:0;;9429:2:1;26042:168:0;;;9411:21:1;9468:2;9448:18;;;9441:30;9507:34;9487:18;;;9480:62;9578:26;9558:18;;;9551:54;9622:19;;26042:168:0;9227:420:1;26042:168:0;26223:21;26232:2;26236:7;26223:8;:21::i;:::-;25911:341;25841:411;;:::o;56837:226::-;53089:13;;-1:-1:-1;;;;;53089:13:0;708:10;53089:29;53081:70;;;;-1:-1:-1;;;53081:70:0;;;;;;;:::i;:::-;56965:8:::1;56949:59;56975:18;56984:8;56975;:18::i;:::-;56995:12;;56949:59;;;;;;;;:::i;:::-;;;;;;;;57019:36;57032:8;57042:12;;57019:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;57019:12:0::1;::::0;-1:-1:-1;;;57019:36:0:i:1;58037:205::-:0;53089:13;;-1:-1:-1;;;;;53089:13:0;708:10;53089:29;53081:70;;;;-1:-1:-1;;;53081:70:0;;;;;;;:::i;:::-;58157:13:::1;::::0;58136:54:::1;::::0;-1:-1:-1;;;;;58136:54:0;;::::1;::::0;58157:13:::1;::::0;58136:54:::1;::::0;58157:13:::1;::::0;58136:54:::1;58201:13;:33:::0;;-1:-1:-1;;;;;;58201:33:0::1;-1:-1:-1::0;;;;;58201:33:0;;;::::1;::::0;;;::::1;::::0;;58037:205::o;56389:366::-;2115:6;;-1:-1:-1;;;;;2115:6:0;708:10;2262:23;2254:68;;;;-1:-1:-1;;;2254:68:0;;;;;;;:::i;:::-;-1:-1:-1;;56483:5:0::1;;:26;56475:67;;;::::0;-1:-1:-1;;;56475:67:0;;11259:2:1;56475:67:0::1;::::0;::::1;11241:21:1::0;11298:2;11278:18;;;11271:30;11337;11317:18;;;11310:58;11385:18;;56475:67:0::1;11057:352:1::0;56475:67:0::1;56573:1;56561:9;:13;56553:43;;;::::0;-1:-1:-1;;;56553:43:0;;11616:2:1;56553:43:0::1;::::0;::::1;11598:21:1::0;11655:2;11635:18;;;11628:30;-1:-1:-1;;;11674:18:1;;;11667:47;11731:18;;56553:43:0::1;11414:341:1::0;56553:43:0::1;56628:7;;56615:9;:20;;56607:63;;;::::0;-1:-1:-1;;;56607:63:0;;11962:2:1;56607:63:0::1;::::0;::::1;11944:21:1::0;12001:2;11981:18;;;11974:30;12040:32;12020:18;;;12013:60;12090:18;;56607:63:0::1;11760:354:1::0;56607:63:0::1;56691:13;56703:1;56691:9:::0;:13:::1;:::i;:::-;56683:5;:21:::0;56720:27:::1;::::0;3330:25:1;;;56720:27:0::1;::::0;3318:2:1;3303:18;56720:27:0::1;;;;;;;56389:366:::0;:::o;27068:339::-;27263:41;708:10;27296:7;27263:18;:41::i;:::-;27255:103;;;;-1:-1:-1;;;27255:103:0;;;;;;;:::i;:::-;27371:28;27381:4;27387:2;27391:7;27371:9;:28::i;54379:245::-;54562:15;;54593:11;;54497:16;;;;-1:-1:-1;;;;;54562:15:0;;;;51994:6;;54580:24;;:10;:24;:::i;:::-;54579:36;;;;:::i;:::-;54554:62;;;;54379:245;;;;;;:::o;39333:256::-;39430:7;39466:23;39483:5;39466:16;:23::i;:::-;39458:5;:31;39450:87;;;;-1:-1:-1;;;39450:87:0;;13431:2:1;39450:87:0;;;13413:21:1;13470:2;13450:18;;;13443:30;13509:34;13489:18;;;13482:62;-1:-1:-1;;;13560:18:1;;;13553:41;13611:19;;39450:87:0;13229:407:1;39450:87:0;-1:-1:-1;;;;;;39555:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;39333:256::o;27478:185::-;27616:39;27633:4;27639:2;27643:7;27616:39;;;;;;;;;;;;:16;:39::i;53489:104::-;53545:4;53569:16;53577:7;53569;:16::i;39855:233::-;39930:7;39966:30;39753:10;:17;;39665:113;39966:30;39958:5;:38;39950:95;;;;-1:-1:-1;;;39950:95:0;;13843:2:1;39950:95:0;;;13825:21:1;13882:2;13862:18;;;13855:30;13921:34;13901:18;;;13894:62;-1:-1:-1;;;13972:18:1;;;13965:42;14024:19;;39950:95:0;13641:408:1;39950:95:0;40063:10;40074:5;40063:17;;;;;;;;:::i;:::-;;;;;;;;;40056:24;;39855:233;;;:::o;57145:159::-;53089:13;;-1:-1:-1;;;;;53089:13:0;708:10;53089:29;53081:70;;;;-1:-1:-1;;;53081:70:0;;;;;;;:::i;:::-;57234:33:::1;57249:7;57258:8;;57234:33;;;;;;;;:::i;:::-;;;;;;;;57278:18;:7;57288:8:::0;;57278:18:::1;:::i;24452:239::-:0;24524:7;24560:16;;;:7;:16;;;;;;-1:-1:-1;;;;;24560:16:0;24595:19;24587:73;;;;-1:-1:-1;;;24587:73:0;;15863:2:1;24587:73:0;;;15845:21:1;15902:2;15882:18;;;15875:30;15941:34;15921:18;;;15914:62;-1:-1:-1;;;15992:18:1;;;15985:39;16041:19;;24587:73:0;15661:405:1;53922:193:0;53991:4;54012:19;54008:78;;;54066:8;-1:-1:-1;;;;;54055:19:0;:7;2115:6;;-1:-1:-1;;;;;2115:6:0;;2042:87;54055:7;-1:-1:-1;;;;;54055:19:0;;;53922:193;-1:-1:-1;;53922:193:0:o;54008:78::-;-1:-1:-1;54103:4:0;;53922:193;-1:-1:-1;53922:193:0:o;51412:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24182:208::-;24254:7;-1:-1:-1;;;;;24282:19:0;;24274:74;;;;-1:-1:-1;;;24274:74:0;;16273:2:1;24274:74:0;;;16255:21:1;16312:2;16292:18;;;16285:30;16351:34;16331:18;;;16324:62;-1:-1:-1;;;16402:18:1;;;16395:40;16452:19;;24274:74:0;16071:406:1;24274:74:0;-1:-1:-1;;;;;;24366:16:0;;;;;:9;:16;;;;;;;24182:208::o;58279:172::-;2115:6;;-1:-1:-1;;;;;2115:6:0;708:10;2262:23;2254:68;;;;-1:-1:-1;;;2254:68:0;;;;;;;:::i;:::-;58345:25:::1;:23;:25::i;:::-;-1:-1:-1::0;;;;;58381:7:0::1;:36;;708:10:::0;58381:62:::1;::::0;-1:-1:-1;;;;;;58381:62:0::1;::::0;;;;;;-1:-1:-1;;;;;16712:15:1;;;58381:62:0::1;::::0;::::1;16694:34:1::0;58440:1:0::1;16744:18:1::0;;;16737:43;16629:18;;58381:62:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;58279:172::o:0;57538:430::-;2115:6;;-1:-1:-1;;;;;2115:6:0;708:10;2262:23;2254:68;;;;-1:-1:-1;;;2254:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;57653:30:0;::::1;57645:67;;;::::0;-1:-1:-1;;;57645:67:0;;16993:2:1;57645:67:0::1;::::0;::::1;16975:21:1::0;17032:2;17012:18;;;17005:30;17071:26;17051:18;;;17044:54;17115:18;;57645:67:0::1;16791:348:1::0;57645:67:0::1;51994:6;57731:12;:23;;57723:57;;;::::0;-1:-1:-1;;;57723:57:0;;17346:2:1;57723:57:0::1;::::0;::::1;17328:21:1::0;17385:2;17365:18;;;17358:30;-1:-1:-1;;;17404:18:1;;;17397:51;17465:18;;57723:57:0::1;17144:345:1::0;57723:57:0::1;57817:15;::::0;57852:11:::1;::::0;57796:82:::1;::::0;;17668:25:1;;;17724:2;17709:18;;17702:34;;;-1:-1:-1;;;;;57796:82:0;;::::1;::::0;57817:15:::1;::::0;57796:82:::1;::::0;17641:18:1;57796:82:0::1;;;;;;;57889:15;:34:::0;;-1:-1:-1;;;;;;57889:34:0::1;-1:-1:-1::0;;;;;57889:34:0;;;::::1;::::0;;;::::1;::::0;;;57934:11:::1;:26:::0;57538:430::o;24927:104::-;24983:13;25016:7;25009:14;;;;;:::i;55257:177::-;708:10;-1:-1:-1;;;;;52962:39:0;:7;-1:-1:-1;;;;;52962:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;52962:39:0;;52954:59;;;;-1:-1:-1;;;52954:59:0;;18205:2:1;52954:59:0;;;18187:21:1;18244:1;18224:18;;;18217:29;-1:-1:-1;;;18262:18:1;;;18255:37;18309:18;;52954:59:0;18003:330:1;52954:59:0;55374:8:::1;-1:-1:-1::0;;;;;55346:36:0::1;:24;55361:8;55346:14;:24::i;:::-;-1:-1:-1::0;;;;;55346:36:0::1;;55338:62;;;::::0;-1:-1:-1;;;55338:62:0;;18540:2:1;55338:62:0::1;::::0;::::1;18522:21:1::0;18579:2;18559:18;;;18552:30;-1:-1:-1;;;18598:18:1;;;18591:43;18651:18;;55338:62:0::1;18338:337:1::0;55338:62:0::1;55411:15;55417:8;55411:5;:15::i;:::-;55257:177:::0;;:::o;26611:155::-;26706:52;708:10;26739:8;26749;26706:18;:52::i;27734:328::-;27909:41;708:10;27942:7;27909:18;:41::i;:::-;27901:103;;;;-1:-1:-1;;;27901:103:0;;;;;;;:::i;:::-;28015:39;28029:4;28035:2;28039:7;28048:5;28015:13;:39::i;54175:166::-;54266:13;54299:34;54325:7;54299:25;:34::i;55506:358::-;708:10;-1:-1:-1;;;;;52962:39:0;:7;-1:-1:-1;;;;;52962:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;52962:39:0;;52954:59;;;;-1:-1:-1;;;52954:59:0;;18205:2:1;52954:59:0;;;18187:21:1;18244:1;18224:18;;;18217:29;-1:-1:-1;;;18262:18:1;;;18255:37;18309:18;;52954:59:0;18003:330:1;52954:59:0;53827:5;;53817:7;;:15;55599:21:::1;55591:54;;;::::0;-1:-1:-1;;;55591:54:0;;18882:2:1;55591:54:0::1;::::0;::::1;18864:21:1::0;18921:2;18901:18;;;18894:30;-1:-1:-1;;;18940:18:1;;;18933:50;19000:18;;55591:54:0::1;18680:344:1::0;55591:54:0::1;55656:24;55662:8;55672:7;;55656:5;:24::i;:::-;55761:7;55755:21;;;;;:::i;:::-;:26:::0;55751:86:::1;::::0;-1:-1:-1;55751:86:0::1;;55798:27;55811:7;;55820:4;;55798:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;55798:12:0::1;::::0;-1:-1:-1;;;55798:27:0:i:1;:::-;55847:7;:9:::0;;;:7:::1;:9;::::0;::::1;:::i;:::-;;;;;;55506:358:::0;;;:::o;58488:261::-;2115:6;;-1:-1:-1;;;;;2115:6:0;708:10;2262:23;2254:68;;;;-1:-1:-1;;;2254:68:0;;;;;;;:::i;:::-;58571:34:::1;58595:9;58571:23;:34::i;:::-;708:10:::0;58644:7:::1;-1:-1:-1::0;;;;;58620:32:0::1;;58616:126;;-1:-1:-1::0;;;;;58669:7:0::1;:36;;708:10:::0;58669:61:::1;::::0;-1:-1:-1;;;;;;58669:61:0::1;::::0;;;;;;-1:-1:-1;;;;;16712:15:1;;;58669:61:0::1;::::0;::::1;16694:34:1::0;16764:15;;;16744:18;;;16737:43;16629:18;;58669:61:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;58616:126;58488:261:::0;:::o;51168:21::-;;;;;;;:::i;39025:224::-;39127:4;-1:-1:-1;;;;;;39151:50:0;;-1:-1:-1;;;39151:50:0;;:90;;;39205:36;39229:11;39205:23;:36::i;29572:127::-;29637:4;29661:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29661:16:0;:30;;;29572:127::o;33718:174::-;33793:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;33793:29:0;-1:-1:-1;;;;;33793:29:0;;;;;;;;:24;;33847:23;33793:24;33847:14;:23::i;:::-;-1:-1:-1;;;;;33838:46:0;;;;;;;;;;;33718:174;;:::o;46523:217::-;46623:16;46631:7;46623;:16::i;:::-;46615:75;;;;-1:-1:-1;;;46615:75:0;;19371:2:1;46615:75:0;;;19353:21:1;19410:2;19390:18;;;19383:30;19449:34;19429:18;;;19422:62;-1:-1:-1;;;19500:18:1;;;19493:44;19554:19;;46615:75:0;19169:410:1;46615:75:0;46701:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;29866:348::-;29959:4;29984:16;29992:7;29984;:16::i;:::-;29976:73;;;;-1:-1:-1;;;29976:73:0;;19786:2:1;29976:73:0;;;19768:21:1;19825:2;19805:18;;;19798:30;19864:34;19844:18;;;19837:62;-1:-1:-1;;;19915:18:1;;;19908:42;19967:19;;29976:73:0;19584:408:1;29976:73:0;30060:13;30076:23;30091:7;30076:14;:23::i;:::-;30060:39;;30129:5;-1:-1:-1;;;;;30118:16:0;:7;-1:-1:-1;;;;;30118:16:0;;:52;;;-1:-1:-1;;;;;;26958:25:0;;;26934:4;26958:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;30138:32;30118:87;;;;30198:7;-1:-1:-1;;;;;30174:31:0;:20;30186:7;30174:11;:20::i;:::-;-1:-1:-1;;;;;30174:31:0;;30118:87;30110:96;29866:348;-1:-1:-1;;;;29866:348:0:o;32975:625::-;33134:4;-1:-1:-1;;;;;33107:31:0;:23;33122:7;33107:14;:23::i;:::-;-1:-1:-1;;;;;33107:31:0;;33099:81;;;;-1:-1:-1;;;33099:81:0;;20199:2:1;33099:81:0;;;20181:21:1;20238:2;20218:18;;;20211:30;20277:34;20257:18;;;20250:62;-1:-1:-1;;;20328:18:1;;;20321:35;20373:19;;33099:81:0;19997:401:1;33099:81:0;-1:-1:-1;;;;;33199:16:0;;33191:65;;;;-1:-1:-1;;;33191:65:0;;20605:2:1;33191:65:0;;;20587:21:1;20644:2;20624:18;;;20617:30;20683:34;20663:18;;;20656:62;-1:-1:-1;;;20734:18:1;;;20727:34;20778:19;;33191:65:0;20403:400:1;33191:65:0;33269:39;33290:4;33296:2;33300:7;33269:20;:39::i;:::-;33373:29;33390:1;33394:7;33373:8;:29::i;:::-;-1:-1:-1;;;;;33415:15:0;;;;;;:9;:15;;;;;:20;;33434:1;;33415:15;:20;;33434:1;;33415:20;:::i;:::-;;;;-1:-1:-1;;;;;;;33446:13:0;;;;;;:9;:13;;;;;:18;;33463:1;;33446:13;:18;;33463:1;;33446:18;:::i;:::-;;;;-1:-1:-1;;33475:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;33475:21:0;-1:-1:-1;;;;;33475:21:0;;;;;;;;;33514:27;;33475:16;;33514:27;;;;;;;25911:341;25841:411;;:::o;2693:103::-;2115:6;;-1:-1:-1;;;;;2115:6:0;708:10;2262:23;2254:68;;;;-1:-1:-1;;;2254:68:0;;;;;;;:::i;:::-;2758:30:::1;2785:1;2758:18;:30::i;:::-;2693:103::o:0;59246:126::-;59333:31;59356:7;59333:22;:31::i;34034:315::-;34189:8;-1:-1:-1;;;;;34180:17:0;:5;-1:-1:-1;;;;;34180:17:0;;;34172:55;;;;-1:-1:-1;;;34172:55:0;;21143:2:1;34172:55:0;;;21125:21:1;21182:2;21162:18;;;21155:30;21221:27;21201:18;;;21194:55;21266:18;;34172:55:0;20941:349:1;34172:55:0;-1:-1:-1;;;;;34238:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;34238:46:0;;;;;;;;;;34300:41;;540::1;;;34300::0;;513:18:1;34300:41:0;;;;;;;34034:315;;;:::o;28944:::-;29101:28;29111:4;29117:2;29121:7;29101:9;:28::i;:::-;29148:48;29171:4;29177:2;29181:7;29190:5;29148:22;:48::i;:::-;29140:111;;;;-1:-1:-1;;;29140:111:0;;;;;;;:::i;45688:679::-;45761:13;45795:16;45803:7;45795;:16::i;:::-;45787:78;;;;-1:-1:-1;;;45787:78:0;;21916:2:1;45787:78:0;;;21898:21:1;21955:2;21935:18;;;21928:30;21994:34;21974:18;;;21967:62;-1:-1:-1;;;22045:18:1;;;22038:47;22102:19;;45787:78:0;21714:413:1;45787:78:0;45878:23;45904:19;;;:10;:19;;;;;45878:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45934:18;45955:10;:8;:10::i;:::-;45934:31;;46047:4;46041:18;46063:1;46041:23;46037:72;;;-1:-1:-1;46088:9:0;45688:679;-1:-1:-1;;45688:679:0:o;46037:72::-;46213:23;;:27;46209:108;;46288:4;46294:9;46271:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;46257:48;;;;45688:679;;;:::o;46209:108::-;46336:23;46351:7;46336:14;:23::i;31550:439::-;-1:-1:-1;;;;;31630:16:0;;31622:61;;;;-1:-1:-1;;;31622:61:0;;22809:2:1;31622:61:0;;;22791:21:1;;;22828:18;;;22821:30;22887:34;22867:18;;;22860:62;22939:18;;31622:61:0;22607:356:1;31622:61:0;31703:16;31711:7;31703;:16::i;:::-;31702:17;31694:58;;;;-1:-1:-1;;;31694:58:0;;23170:2:1;31694:58:0;;;23152:21:1;23209:2;23189:18;;;23182:30;23248;23228:18;;;23221:58;23296:18;;31694:58:0;22968:352:1;31694:58:0;31765:45;31794:1;31798:2;31802:7;31765:20;:45::i;:::-;-1:-1:-1;;;;;31823:13:0;;;;;;:9;:13;;;;;:18;;31840:1;;31823:13;:18;;31840:1;;31823:18;:::i;:::-;;;;-1:-1:-1;;31852:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31852:21:0;-1:-1:-1;;;;;31852:21:0;;;;;;;;31891:33;;31852:16;;;31891:33;;31852:16;;31891:33;55257:177;;:::o;2951:201::-;2115:6;;-1:-1:-1;;;;;2115:6:0;708:10;2262:23;2254:68;;;;-1:-1:-1;;;2254:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3040:22:0;::::1;3032:73;;;::::0;-1:-1:-1;;;3032:73:0;;23527:2:1;3032:73:0::1;::::0;::::1;23509:21:1::0;23566:2;23546:18;;;23539:30;23605:34;23585:18;;;23578:62;-1:-1:-1;;;23656:18:1;;;23649:36;23702:19;;3032:73:0::1;23325:402:1::0;3032:73:0::1;3116:28;3135:8;3116:18;:28::i;23813:305::-:0;23915:4;-1:-1:-1;;;;;;23952:40:0;;-1:-1:-1;;;23952:40:0;;:105;;-1:-1:-1;;;;;;;24009:48:0;;-1:-1:-1;;;24009:48:0;23952:105;:158;;;-1:-1:-1;;;;;;;;;;22359:40:0;;;24074:36;22250:157;59012:226;59174:56;59212:4;59218:2;59222:7;59174:37;:56::i;3312:191::-;3405:6;;;-1:-1:-1;;;;;3422:17:0;;;-1:-1:-1;;;;;;3422:17:0;;;;;;;3455:40;;3405:6;;;3422:17;3405:6;;3455:40;;3386:16;;3455:40;3375:128;3312:191;:::o;46969:206::-;47038:20;47050:7;47038:11;:20::i;:::-;47081:19;;;;:10;:19;;;;;47075:33;;;;;:::i;:::-;:38;;-1:-1:-1;47071:97:0;;47137:19;;;;:10;:19;;;;;47130:26;;;:::i;34914:799::-;35069:4;-1:-1:-1;;;;;35090:13:0;;12271:20;12319:8;35086:620;;35126:72;;-1:-1:-1;;;35126:72:0;;-1:-1:-1;;;;;35126:36:0;;;;;:72;;708:10;;35177:4;;35183:7;;35192:5;;35126:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35126:72:0;;;;;;;;-1:-1:-1;;35126:72:0;;;;;;;;;;;;:::i;:::-;;;35122:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35368:13:0;;35364:272;;35411:60;;-1:-1:-1;;;35411:60:0;;;;;;;:::i;35364:272::-;35586:6;35580:13;35571:6;35567:2;35563:15;35556:38;35122:529;-1:-1:-1;;;;;;35249:51:0;-1:-1:-1;;;35249:51:0;;-1:-1:-1;35242:58:0;;35086:620;-1:-1:-1;35690:4:0;34914:799;;;;;;:::o;59380:108::-;59440:13;59473:7;59466:14;;;;;:::i;25102:334::-;25175:13;25209:16;25217:7;25209;:16::i;:::-;25201:76;;;;-1:-1:-1;;;25201:76:0;;24682:2:1;25201:76:0;;;24664:21:1;24721:2;24701:18;;;24694:30;24760:34;24740:18;;;24733:62;-1:-1:-1;;;24811:18:1;;;24804:45;24866:19;;25201:76:0;24480:411:1;25201:76:0;25290:21;25314:10;:8;:10::i;:::-;25290:34;;25366:1;25348:7;25342:21;:25;:86;;;;;;;;;;;;;;;;;25394:7;25403:18;:7;:16;:18::i;:::-;25377:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;25342:86;25335:93;25102:334;-1:-1:-1;;;25102:334:0:o;40701:589::-;-1:-1:-1;;;;;40907:18:0;;40903:187;;40942:40;40974:7;42117:10;:17;;42090:24;;;;:15;:24;;;;;:44;;;42145:24;;;;;;;;;;;;42013:164;40942:40;40903:187;;;41012:2;-1:-1:-1;;;;;41004:10:0;:4;-1:-1:-1;;;;;41004:10:0;;41000:90;;41031:47;41064:4;41070:7;41031:32;:47::i;:::-;-1:-1:-1;;;;;41104:16:0;;41100:183;;41137:45;41174:7;41137:36;:45::i;41100:183::-;41210:4;-1:-1:-1;;;;;41204:10:0;:2;-1:-1:-1;;;;;41204:10:0;;41200:83;;41231:40;41259:2;41263:7;41231:27;:40::i;32218:420::-;32278:13;32294:23;32309:7;32294:14;:23::i;:::-;32278:39;;32330:48;32351:5;32366:1;32370:7;32330:20;:48::i;:::-;32419:29;32436:1;32440:7;32419:8;:29::i;:::-;-1:-1:-1;;;;;32461:16:0;;;;;;:9;:16;;;;;:21;;32481:1;;32461:16;:21;;32481:1;;32461:21;:::i;:::-;;;;-1:-1:-1;;32500:16:0;;;;:7;:16;;;;;;32493:23;;-1:-1:-1;;;;;;32493:23:0;;;32534:36;32508:7;;32500:16;-1:-1:-1;;;;;32534:36:0;;;;;32500:16;;32534:36;55257:177;;:::o;19695:723::-;19751:13;19972:10;19968:53;;-1:-1:-1;;19999:10:0;;;;;;;;;;;;-1:-1:-1;;;19999:10:0;;;;;19695:723::o;19968:53::-;20046:5;20031:12;20087:78;20094:9;;20087:78;;20120:8;;;;:::i;:::-;;-1:-1:-1;20143:10:0;;-1:-1:-1;20151:2:0;20143:10;;:::i;:::-;;;20087:78;;;20175:19;20207:6;20197:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20197:17:0;;20175:39;;20225:154;20232:10;;20225:154;;20259:11;20269:1;20259:11;;:::i;:::-;;-1:-1:-1;20328:10:0;20336:2;20328:5;:10;:::i;:::-;20315:24;;:2;:24;:::i;:::-;20302:39;;20285:6;20292;20285:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;20285:56:0;;;;;;;;-1:-1:-1;20356:11:0;20365:2;20356:11;;:::i;:::-;;;20225:154;;42804:988;43070:22;43120:1;43095:22;43112:4;43095:16;:22::i;:::-;:26;;;;:::i;:::-;43132:18;43153:26;;;:17;:26;;;;;;43070:51;;-1:-1:-1;43286:28:0;;;43282:328;;-1:-1:-1;;;;;43353:18:0;;43331:19;43353:18;;;:12;:18;;;;;;;;:34;;;;;;;;;43404:30;;;;;;:44;;;43521:30;;:17;:30;;;;;:43;;;43282:328;-1:-1:-1;43706:26:0;;;;:17;:26;;;;;;;;43699:33;;;-1:-1:-1;;;;;43750:18:0;;;;;:12;:18;;;;;:34;;;;;;;43743:41;42804:988::o;44087:1079::-;44365:10;:17;44340:22;;44365:21;;44385:1;;44365:21;:::i;:::-;44397:18;44418:24;;;:15;:24;;;;;;44791:10;:26;;44340:46;;-1:-1:-1;44418:24:0;;44340:46;;44791:26;;;;;;:::i;:::-;;;;;;;;;44769:48;;44855:11;44830:10;44841;44830:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;44935:28;;;:15;:28;;;;;;;:41;;;45107:24;;;;;45100:31;45142:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;44158:1008;;;44087:1079;:::o;41591:221::-;41676:14;41693:20;41710:2;41693:16;:20::i;:::-;-1:-1:-1;;;;;41724:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;41769:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;41591:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;747:258::-;819:1;829:113;843:6;840:1;837:13;829:113;;;919:11;;;913:18;900:11;;;893:39;865:2;858:10;829:113;;;960:6;957:1;954:13;951:48;;;-1:-1:-1;;995:1:1;977:16;;970:27;747:258::o;1010:::-;1052:3;1090:5;1084:12;1117:6;1112:3;1105:19;1133:63;1189:6;1182:4;1177:3;1173:14;1166:4;1159:5;1155:16;1133:63;:::i;:::-;1250:2;1229:15;-1:-1:-1;;1225:29:1;1216:39;;;;1257:4;1212:50;;1010:258;-1:-1:-1;;1010:258:1:o;1273:220::-;1422:2;1411:9;1404:21;1385:4;1442:45;1483:2;1472:9;1468:18;1460:6;1442:45;:::i;1498:180::-;1557:6;1610:2;1598:9;1589:7;1585:23;1581:32;1578:52;;;1626:1;1623;1616:12;1578:52;-1:-1:-1;1649:23:1;;1498:180;-1:-1:-1;1498:180:1:o;1891:131::-;-1:-1:-1;;;;;1966:31:1;;1956:42;;1946:70;;2012:1;2009;2002:12;2027:315;2095:6;2103;2156:2;2144:9;2135:7;2131:23;2127:32;2124:52;;;2172:1;2169;2162:12;2124:52;2211:9;2198:23;2230:31;2255:5;2230:31;:::i;:::-;2280:5;2332:2;2317:18;;;;2304:32;;-1:-1:-1;;;2027:315:1:o;2347:348::-;2399:8;2409:6;2463:3;2456:4;2448:6;2444:17;2440:27;2430:55;;2481:1;2478;2471:12;2430:55;-1:-1:-1;2504:20:1;;2547:18;2536:30;;2533:50;;;2579:1;2576;2569:12;2533:50;2616:4;2608:6;2604:17;2592:29;;2668:3;2661:4;2652:6;2644;2640:19;2636:30;2633:39;2630:59;;;2685:1;2682;2675:12;2700:479;2780:6;2788;2796;2849:2;2837:9;2828:7;2824:23;2820:32;2817:52;;;2865:1;2862;2855:12;2817:52;2901:9;2888:23;2878:33;;2962:2;2951:9;2947:18;2934:32;2989:18;2981:6;2978:30;2975:50;;;3021:1;3018;3011:12;2975:50;3060:59;3111:7;3102:6;3091:9;3087:22;3060:59;:::i;:::-;2700:479;;3138:8;;-1:-1:-1;3034:85:1;;-1:-1:-1;;;;2700:479:1:o;3366:247::-;3425:6;3478:2;3466:9;3457:7;3453:23;3449:32;3446:52;;;3494:1;3491;3484:12;3446:52;3533:9;3520:23;3552:31;3577:5;3552:31;:::i;3618:456::-;3695:6;3703;3711;3764:2;3752:9;3743:7;3739:23;3735:32;3732:52;;;3780:1;3777;3770:12;3732:52;3819:9;3806:23;3838:31;3863:5;3838:31;:::i;:::-;3888:5;-1:-1:-1;3945:2:1;3930:18;;3917:32;3958:33;3917:32;3958:33;:::i;:::-;3618:456;;4010:7;;-1:-1:-1;;;4064:2:1;4049:18;;;;4036:32;;3618:456::o;4079:248::-;4147:6;4155;4208:2;4196:9;4187:7;4183:23;4179:32;4176:52;;;4224:1;4221;4214:12;4176:52;-1:-1:-1;;4247:23:1;;;4317:2;4302:18;;;4289:32;;-1:-1:-1;4079:248:1:o;4611:411::-;4682:6;4690;4743:2;4731:9;4722:7;4718:23;4714:32;4711:52;;;4759:1;4756;4749:12;4711:52;4799:9;4786:23;4832:18;4824:6;4821:30;4818:50;;;4864:1;4861;4854:12;4818:50;4903:59;4954:7;4945:6;4934:9;4930:22;4903:59;:::i;:::-;4981:8;;4877:85;;-1:-1:-1;4611:411:1;-1:-1:-1;;;;4611:411:1:o;5027:416::-;5092:6;5100;5153:2;5141:9;5132:7;5128:23;5124:32;5121:52;;;5169:1;5166;5159:12;5121:52;5208:9;5195:23;5227:31;5252:5;5227:31;:::i;:::-;5277:5;-1:-1:-1;5334:2:1;5319:18;;5306:32;5376:15;;5369:23;5357:36;;5347:64;;5407:1;5404;5397:12;5347:64;5430:7;5420:17;;;5027:416;;;;;:::o;5448:127::-;5509:10;5504:3;5500:20;5497:1;5490:31;5540:4;5537:1;5530:15;5564:4;5561:1;5554:15;5580:1266;5675:6;5683;5691;5699;5752:3;5740:9;5731:7;5727:23;5723:33;5720:53;;;5769:1;5766;5759:12;5720:53;5808:9;5795:23;5827:31;5852:5;5827:31;:::i;:::-;5877:5;-1:-1:-1;5934:2:1;5919:18;;5906:32;5947:33;5906:32;5947:33;:::i;:::-;5999:7;-1:-1:-1;6053:2:1;6038:18;;6025:32;;-1:-1:-1;6108:2:1;6093:18;;6080:32;6131:18;6161:14;;;6158:34;;;6188:1;6185;6178:12;6158:34;6226:6;6215:9;6211:22;6201:32;;6271:7;6264:4;6260:2;6256:13;6252:27;6242:55;;6293:1;6290;6283:12;6242:55;6329:2;6316:16;6351:2;6347;6344:10;6341:36;;;6357:18;;:::i;:::-;6432:2;6426:9;6400:2;6486:13;;-1:-1:-1;;6482:22:1;;;6506:2;6478:31;6474:40;6462:53;;;6530:18;;;6550:22;;;6527:46;6524:72;;;6576:18;;:::i;:::-;6616:10;6612:2;6605:22;6651:2;6643:6;6636:18;6691:7;6686:2;6681;6677;6673:11;6669:20;6666:33;6663:53;;;6712:1;6709;6702:12;6663:53;6768:2;6763;6759;6755:11;6750:2;6742:6;6738:15;6725:46;6813:1;6808:2;6803;6795:6;6791:15;6787:24;6780:35;6834:6;6824:16;;;;;;;5580:1266;;;;;;;:::o;7083:546::-;7163:6;7171;7179;7232:2;7220:9;7211:7;7207:23;7203:32;7200:52;;;7248:1;7245;7238:12;7200:52;7287:9;7274:23;7306:31;7331:5;7306:31;:::i;:::-;7356:5;-1:-1:-1;7412:2:1;7397:18;;7384:32;7439:18;7428:30;;7425:50;;;7471:1;7468;7461:12;7634:388;7702:6;7710;7763:2;7751:9;7742:7;7738:23;7734:32;7731:52;;;7779:1;7776;7769:12;7731:52;7818:9;7805:23;7837:31;7862:5;7837:31;:::i;:::-;7887:5;-1:-1:-1;7944:2:1;7929:18;;7916:32;7957:33;7916:32;7957:33;:::i;8027:380::-;8106:1;8102:12;;;;8149;;;8170:61;;8224:4;8216:6;8212:17;8202:27;;8170:61;8277:2;8269:6;8266:14;8246:18;8243:38;8240:161;;;8323:10;8318:3;8314:20;8311:1;8304:31;8358:4;8355:1;8348:15;8386:4;8383:1;8376:15;8240:161;;8027:380;;;:::o;9652:352::-;9854:2;9836:21;;;9893:2;9873:18;;;9866:30;9932;9927:2;9912:18;;9905:58;9995:2;9980:18;;9652:352::o;10009:267::-;10098:6;10093:3;10086:19;10150:6;10143:5;10136:4;10131:3;10127:14;10114:43;-1:-1:-1;10202:1:1;10177:16;;;10195:4;10173:27;;;10166:38;;;;10258:2;10237:15;;;-1:-1:-1;;10233:29:1;10224:39;;;10220:50;;10009:267::o;10281:410::-;10488:2;10477:9;10470:21;10451:4;10514:45;10555:2;10544:9;10540:18;10532:6;10514:45;:::i;:::-;10607:9;10599:6;10595:22;10590:2;10579:9;10575:18;10568:50;10635;10678:6;10670;10662;10635:50;:::i;:::-;10627:58;10281:410;-1:-1:-1;;;;;;10281:410:1:o;10696:356::-;10898:2;10880:21;;;10917:18;;;10910:30;10976:34;10971:2;10956:18;;10949:62;11043:2;11028:18;;10696:356::o;12119:127::-;12180:10;12175:3;12171:20;12168:1;12161:31;12211:4;12208:1;12201:15;12235:4;12232:1;12225:15;12251:125;12291:4;12319:1;12316;12313:8;12310:34;;;12324:18;;:::i;:::-;-1:-1:-1;12361:9:1;;12251:125::o;12381:413::-;12583:2;12565:21;;;12622:2;12602:18;;;12595:30;12661:34;12656:2;12641:18;;12634:62;-1:-1:-1;;;12727:2:1;12712:18;;12705:47;12784:3;12769:19;;12381:413::o;12799:168::-;12839:7;12905:1;12901;12897:6;12893:14;12890:1;12887:21;12882:1;12875:9;12868:17;12864:45;12861:71;;;12912:18;;:::i;:::-;-1:-1:-1;12952:9:1;;12799:168::o;12972:127::-;13033:10;13028:3;13024:20;13021:1;13014:31;13064:4;13061:1;13054:15;13088:4;13085:1;13078:15;13104:120;13144:1;13170;13160:35;;13175:18;;:::i;:::-;-1:-1:-1;13209:9:1;;13104:120::o;14054:127::-;14115:10;14110:3;14106:20;14103:1;14096:31;14146:4;14143:1;14136:15;14170:4;14167:1;14160:15;14312:1344;14516:2;14505:9;14498:21;14479:4;14539:1;14572:6;14566:13;14602:3;14624:1;14652:9;14648:2;14644:18;14634:28;;14712:2;14701:9;14697:18;14734;14724:61;;14778:4;14770:6;14766:17;14756:27;;14724:61;14804:2;14852;14844:6;14841:14;14821:18;14818:38;14815:165;;;-1:-1:-1;;;14879:33:1;;14935:4;14932:1;14925:15;14965:4;14886:3;14953:17;14815:165;15051:2;15036:18;;679:19;;;722:14;;;15079:18;15106:100;;;;15220:1;15215:315;;;;15072:458;;15106:100;-1:-1:-1;;15139:24:1;;15127:37;;15184:12;;;;-1:-1:-1;15106:100:1;;15215:315;14259:1;14252:14;;;14296:4;14283:18;;15310:1;15324:165;15338:6;15335:1;15332:13;15324:165;;;15416:14;;15403:11;;;15396:35;15459:16;;;;15353:10;;15324:165;;;15509:11;;;-1:-1:-1;;15072:458:1;;;15575:9;15570:3;15566:19;15561:2;15550:9;15546:18;15539:47;;;;;;15603;15646:3;15638:6;15630;15603:47;:::i;17747:251::-;17817:6;17870:2;17858:9;17849:7;17845:23;17841:32;17838:52;;;17886:1;17883;17876:12;17838:52;17918:9;17912:16;17937:31;17962:5;17937:31;:::i;19029:135::-;19068:3;-1:-1:-1;;19089:17:1;;19086:43;;;19109:18;;:::i;:::-;-1:-1:-1;19156:1:1;19145:13;;19029:135::o;20808:128::-;20848:3;20879:1;20875:6;20872:1;20869:13;20866:39;;;20885:18;;:::i;:::-;-1:-1:-1;20921:9:1;;20808:128::o;21295:414::-;21497:2;21479:21;;;21536:2;21516:18;;;21509:30;21575:34;21570:2;21555:18;;21548:62;-1:-1:-1;;;21641:2:1;21626:18;;21619:48;21699:3;21684:19;;21295:414::o;22132:470::-;22311:3;22349:6;22343:13;22365:53;22411:6;22406:3;22399:4;22391:6;22387:17;22365:53;:::i;:::-;22481:13;;22440:16;;;;22503:57;22481:13;22440:16;22537:4;22525:17;;22503:57;:::i;:::-;22576:20;;22132:470;-1:-1:-1;;;;22132:470:1:o;23732:489::-;-1:-1:-1;;;;;24001:15:1;;;23983:34;;24053:15;;24048:2;24033:18;;24026:43;24100:2;24085:18;;24078:34;;;24148:3;24143:2;24128:18;;24121:31;;;23926:4;;24169:46;;24195:19;;24187:6;24169:46;:::i;24226:249::-;24295:6;24348:2;24336:9;24327:7;24323:23;24319:32;24316:52;;;24364:1;24361;24354:12;24316:52;24396:9;24390:16;24415:30;24439:5;24415:30;:::i;24896:112::-;24928:1;24954;24944:35;;24959:18;;:::i;:::-;-1:-1:-1;24993:9:1;;24896:112::o;25013:127::-;25074:10;25069:3;25065:20;25062:1;25055:31;25105:4;25102:1;25095:15;25129:4;25126:1;25119:15

Swarm Source

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