ETH Price: $3,069.30 (-1.66%)

Token

CompanionInABox (CBOX)
 

Overview

Max Total Supply

3,738 CBOX

Holders

1,268

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
bopit.eth
Balance
1 CBOX
0x1ed7e96ab61da8fede3c8336dd6e41a39daa826c
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CompanionInABox

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-12-21
*/

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


// OpenZeppelin Contracts v4.4.0 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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


// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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


// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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


// OpenZeppelin Contracts v4.4.0 (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: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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


// OpenZeppelin Contracts v4.4.0 (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: @openzeppelin/contracts/interfaces/IERC165.sol


// OpenZeppelin Contracts v4.4.0 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;


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


// OpenZeppelin Contracts v4.4.0 (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


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

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


// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


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

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


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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

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


// OpenZeppelin Contracts v4.4.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 tokenId);

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

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


// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


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

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

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

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


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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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


// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: contracts/CompanionInABox.sol



pragma solidity ^0.8.10;








contract CompanionInABox is
    ERC721Enumerable,
    IERC2981,
    ReentrancyGuard,
    Ownable
{
    using Counters for Counters.Counter;

    constructor(
        string memory customBaseURI_,
        address accessTokenAddress_,
        address presaleWallet_
    ) ERC721("CompanionInABox", "CBOX") {
        customBaseURI = customBaseURI_;
        accessTokenAddress = accessTokenAddress_;

        // Allocation for giveaways, promotions, and other activities
        for (uint256 i = 0; i < 25; i++) {
            _safeMint(_msgSender(), totalSupply());
        }

        // Pre-sold tokens
        for (uint256 i = 0; i < 120; i++) {
            _safeMint(presaleWallet_, totalSupply());
        }
    }

    /** MINTING **/

    address public immutable accessTokenAddress;

    uint256 public constant MAX_SUPPLY = 8888;

    uint256 public constant MAX_MULTIMINT = 8;

    uint256 public constant PRICE = 80000000000000000;

    function mint(uint256 count) public payable nonReentrant {
        require(saleIsActive, "Sale not active");

        require(totalSupply() + count - 1 < MAX_SUPPLY, "Exceeds max supply");

        require(count <= MAX_MULTIMINT, "Mint at most 8 at a time");

        require(
            msg.value >= PRICE * count,
            "Insufficient payment, 0.08 ETH per item"
        );

        ERC721 accessToken = ERC721(accessTokenAddress);

        for (uint256 i = 0; i < count; i++) {
            if (accessTokenIsActive) {
                require(
                    accessToken.balanceOf(_msgSender()) > 0,
                    "Access token not owned"
                );
            }

            _safeMint(_msgSender(), totalSupply());
        }
    }

    /** ACTIVATION **/

    bool public saleIsActive = false;

    function setSaleIsActive(bool saleIsActive_) external onlyOwner {
        saleIsActive = saleIsActive_;
    }

    bool public accessTokenIsActive = true;

    function setAccessTokenIsActive(bool accessTokenIsActive_)
        external
        onlyOwner
    {
        accessTokenIsActive = accessTokenIsActive_;
    }

    /** URI HANDLING **/

    string private customBaseURI;

    function setBaseURI(string memory customBaseURI_) external onlyOwner {
        customBaseURI = customBaseURI_;
    }

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

    /** PAYOUT **/

    function withdraw() public nonReentrant {
        uint256 balance = address(this).balance;

        Address.sendValue(payable(owner()), balance);
    }

    /** ROYALTIES **/

    function royaltyInfo(uint256, uint256 salePrice)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        return (address(this), (salePrice * 1000) / 10000);
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"customBaseURI_","type":"string"},{"internalType":"address","name":"accessTokenAddress_","type":"address"},{"internalType":"address","name":"presaleWallet_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MULTIMINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accessTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accessTokenIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"accessTokenIsActive_","type":"bool"}],"name":"setAccessTokenIsActive","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":"customBaseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"saleIsActive_","type":"bool"}],"name":"setSaleIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a0604052600b805461ffff60a01b1916600160a81b1790553480156200002557600080fd5b5060405162002f9338038062002f9383398101604081905262000048916200092b565b604080518082018252600f81526e086dedae0c2dcd2dedc92dc8284def608b1b602080830191825283518085019094526004845263086849eb60e31b9084015281519192916200009b916000916200081f565b508051620000b19060019060208401906200081f565b50506001600a5550620000c43362000159565b8251620000d990600c9060208601906200081f565b506001600160a01b03821660805260005b60198110156200011d576200010833600854620001ab565b620001ab565b80620001148162000a20565b915050620000ea565b5060005b60788110156200014f576200013a826200010260085490565b80620001468162000a20565b91505062000121565b5050505062000b65565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001cd828260405180602001604052806000815250620001d160201b60201c565b5050565b620001dd83836200024d565b620001ec6000848484620003a3565b620002485760405162461bcd60e51b8152602060048201526032602482015260008051602062002f7383398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084015b60405180910390fd5b505050565b6001600160a01b038216620002a55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016200023f565b6000818152600260205260409020546001600160a01b0316156200030c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016200023f565b6200031a60008383620004fc565b6001600160a01b03821660009081526003602052604081208054600192906200034590849062000a3e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000620003c4846001600160a01b0316620005d860201b620011491760201c565b15620004f057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290620003fe90339089908890889060040162000a59565b6020604051808303816000875af19250505080156200043c575060408051601f3d908101601f19168201909252620004399181019062000aaf565b60015b620004d5573d8080156200046d576040519150601f19603f3d011682016040523d82523d6000602084013e62000472565b606091505b508051620004cd5760405162461bcd60e51b8152602060048201526032602482015260008051602062002f7383398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016200023f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050620004f4565b5060015b949350505050565b620005148383836200024860201b620008b61760201c565b6001600160a01b03831662000572576200056c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b62000598565b816001600160a01b0316836001600160a01b0316146200059857620005988382620005de565b6001600160a01b038216620005b25762000248816200068b565b826001600160a01b0316826001600160a01b031614620002485762000248828262000745565b3b151590565b60006001620005f8846200079660201b62000b8c1760201c565b62000604919062000ae2565b60008381526007602052604090205490915080821462000658576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906200069f9060019062000ae2565b60008381526009602052604081205460088054939450909284908110620006ca57620006ca62000afc565b906000526020600020015490508060088381548110620006ee57620006ee62000afc565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548062000729576200072962000b12565b6001900381819060005260206000200160009055905550505050565b60006200075d836200079660201b62000b8c1760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b038216620008035760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016200023f565b506001600160a01b031660009081526003602052604090205490565b8280546200082d9062000b28565b90600052602060002090601f0160209004810192826200085157600085556200089c565b82601f106200086c57805160ff19168380011785556200089c565b828001600101855582156200089c579182015b828111156200089c5782518255916020019190600101906200087f565b50620008aa929150620008ae565b5090565b5b80821115620008aa5760008155600101620008af565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620008f8578181015183820152602001620008de565b8381111562000908576000848401525b50505050565b80516001600160a01b03811681146200092657600080fd5b919050565b6000806000606084860312156200094157600080fd5b83516001600160401b03808211156200095957600080fd5b818601915086601f8301126200096e57600080fd5b815181811115620009835762000983620008c5565b604051601f8201601f19908116603f01168101908382118183101715620009ae57620009ae620008c5565b81604052828152896020848701011115620009c857600080fd5b620009db836020830160208801620008db565b8097505050505050620009f1602085016200090e565b915062000a01604085016200090e565b90509250925092565b634e487b7160e01b600052601160045260246000fd5b600060001982141562000a375762000a3762000a0a565b5060010190565b6000821982111562000a545762000a5462000a0a565b500190565b600060018060a01b03808716835280861660208401525083604083015260806060830152825180608084015262000a988160a0850160208701620008db565b601f01601f19169190910160a00195945050505050565b60006020828403121562000ac257600080fd5b81516001600160e01b03198116811462000adb57600080fd5b9392505050565b60008282101562000af75762000af762000a0a565b500390565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b600181811c9082168062000b3d57607f821691505b6020821081141562000b5f57634e487b7160e01b600052602260045260246000fd5b50919050565b6080516123eb62000b886000396000818161042a0152610e2401526123eb6000f3fe6080604052600436106101d85760003560e01c80636352211e11610102578063a22cb46511610095578063e985e9c511610064578063e985e9c514610558578063eb8d2444146105a1578063eeda2be7146105c2578063f2fde38b146105e257600080fd5b8063a22cb465146104e3578063b88d4fde14610503578063b8fc105114610523578063c87b56dd1461053857600080fd5b80638d859f3e116100d15780638d859f3e146104815780638da5cb5b1461049d57806395d89b41146104bb578063a0712d68146104d057600080fd5b80636352211e146103f85780636d5a5fa61461041857806370a082311461044c578063715018a61461046c57600080fd5b80632a55205a1161017a57806342842e0e1161014957806342842e0e146103775780634f6ccce71461039757806355f804b3146103b75780635e59409a146103d757600080fd5b80632a55205a146102ed5780632f745c591461032c57806332cb6b0c1461034c5780633ccfd60b1461036257600080fd5b8063081812fc116101b6578063081812fc14610256578063095ea7b31461028e57806318160ddd146102ae57806323b872dd146102cd57600080fd5b806301ffc9a7146101dd57806302c889891461021257806306fdde0314610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611dde565b610602565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b5061023261022d366004611e10565b61062d565b005b34801561024057600080fd5b5061024961067e565b6040516102099190611e83565b34801561026257600080fd5b50610276610271366004611e96565b610710565b6040516001600160a01b039091168152602001610209565b34801561029a57600080fd5b506102326102a9366004611ec6565b6107a5565b3480156102ba57600080fd5b506008545b604051908152602001610209565b3480156102d957600080fd5b506102326102e8366004611ef0565b6108bb565b3480156102f957600080fd5b5061030d610308366004611f2c565b6108ec565b604080516001600160a01b039093168352602083019190915201610209565b34801561033857600080fd5b506102bf610347366004611ec6565b610914565b34801561035857600080fd5b506102bf6122b881565b34801561036e57600080fd5b506102326109aa565b34801561038357600080fd5b50610232610392366004611ef0565b610a26565b3480156103a357600080fd5b506102bf6103b2366004611e96565b610a41565b3480156103c357600080fd5b506102326103d2366004611fda565b610ad4565b3480156103e357600080fd5b50600b546101fd90600160a81b900460ff1681565b34801561040457600080fd5b50610276610413366004611e96565b610b15565b34801561042457600080fd5b506102767f000000000000000000000000000000000000000000000000000000000000000081565b34801561045857600080fd5b506102bf610467366004612023565b610b8c565b34801561047857600080fd5b50610232610c13565b34801561048d57600080fd5b506102bf67011c37937e08000081565b3480156104a957600080fd5b50600b546001600160a01b0316610276565b3480156104c757600080fd5b50610249610c49565b6102326104de366004611e96565b610c58565b3480156104ef57600080fd5b506102326104fe36600461203e565b610f48565b34801561050f57600080fd5b5061023261051e366004612071565b610f53565b34801561052f57600080fd5b506102bf600881565b34801561054457600080fd5b50610249610553366004611e96565b610f8b565b34801561056457600080fd5b506101fd6105733660046120ed565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105ad57600080fd5b50600b546101fd90600160a01b900460ff1681565b3480156105ce57600080fd5b506102326105dd366004611e10565b611066565b3480156105ee57600080fd5b506102326105fd366004612023565b6110ae565b60006001600160e01b0319821663152a902d60e11b148061062757506106278261114f565b92915050565b600b546001600160a01b031633146106605760405162461bcd60e51b815260040161065790612117565b60405180910390fd5b600b8054911515600160a01b0260ff60a01b19909216919091179055565b60606000805461068d9061214c565b80601f01602080910402602001604051908101604052809291908181526020018280546106b99061214c565b80156107065780601f106106db57610100808354040283529160200191610706565b820191906000526020600020905b8154815290600101906020018083116106e957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107895760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610657565b506000908152600460205260409020546001600160a01b031690565b60006107b082610b15565b9050806001600160a01b0316836001600160a01b0316141561081e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610657565b336001600160a01b038216148061083a575061083a8133610573565b6108ac5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610657565b6108b68383611174565b505050565b6108c533826111e2565b6108e15760405162461bcd60e51b815260040161065790612187565b6108b68383836112d9565b600080306127106108ff856103e86121ee565b6109099190612223565b915091509250929050565b600061091f83610b8c565b82106109815760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610657565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6002600a5414156109fd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610657565b6002600a5547610a1e610a18600b546001600160a01b031690565b82611484565b506001600a55565b6108b683838360405180602001604052806000815250610f53565b6000610a4c60085490565b8210610aaf5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610657565b60088281548110610ac257610ac2612237565b90600052602060002001549050919050565b600b546001600160a01b03163314610afe5760405162461bcd60e51b815260040161065790612117565b8051610b1190600c906020840190611d2f565b5050565b6000818152600260205260408120546001600160a01b0316806106275760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610657565b60006001600160a01b038216610bf75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610657565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b03163314610c3d5760405162461bcd60e51b815260040161065790612117565b610c47600061159d565b565b60606001805461068d9061214c565b6002600a541415610cab5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610657565b6002600a55600b54600160a01b900460ff16610cfb5760405162461bcd60e51b815260206004820152600f60248201526e53616c65206e6f742061637469766560881b6044820152606401610657565b6122b8600182610d0a60085490565b610d14919061224d565b610d1e9190612265565b10610d605760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610657565b6008811115610db15760405162461bcd60e51b815260206004820152601860248201527f4d696e74206174206d6f7374203820617420612074696d6500000000000000006044820152606401610657565b610dc38167011c37937e0800006121ee565b341015610e225760405162461bcd60e51b815260206004820152602760248201527f496e73756666696369656e74207061796d656e742c20302e30382045544820706044820152666572206974656d60c81b6064820152608401610657565b7f000000000000000000000000000000000000000000000000000000000000000060005b82811015610f3e57600b54600160a81b900460ff1615610f205760006001600160a01b0383166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610eb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eda919061227c565b11610f205760405162461bcd60e51b81526020600482015260166024820152751058d8d95cdcc81d1bdad95b881b9bdd081bdddb995960521b6044820152606401610657565b610f2c336008546115ef565b80610f3681612295565b915050610e46565b50506001600a5550565b610b11338383611609565b610f5d33836111e2565b610f795760405162461bcd60e51b815260040161065790612187565b610f85848484846116d8565b50505050565b6000818152600260205260409020546060906001600160a01b031661100a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610657565b600061101461170b565b90506000815111611034576040518060200160405280600081525061105f565b8061103e8461171a565b60405160200161104f9291906122b0565b6040516020818303038152906040525b9392505050565b600b546001600160a01b031633146110905760405162461bcd60e51b815260040161065790612117565b600b8054911515600160a81b0260ff60a81b19909216919091179055565b600b546001600160a01b031633146110d85760405162461bcd60e51b815260040161065790612117565b6001600160a01b03811661113d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610657565b6111468161159d565b50565b3b151590565b60006001600160e01b0319821663780e9d6360e01b1480610627575061062782611818565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111a982610b15565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661125b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610657565b600061126683610b15565b9050806001600160a01b0316846001600160a01b031614806112a15750836001600160a01b031661129684610710565b6001600160a01b0316145b806112d157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166112ec82610b15565b6001600160a01b0316146113545760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610657565b6001600160a01b0382166113b65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610657565b6113c1838383611868565b6113cc600082611174565b6001600160a01b03831660009081526003602052604081208054600192906113f5908490612265565b90915550506001600160a01b038216600090815260036020526040812080546001929061142390849061224d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b804710156114d45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610657565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611521576040519150601f19603f3d011682016040523d82523d6000602084013e611526565b606091505b50509050806108b65760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610657565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b11828260405180602001604052806000815250611920565b816001600160a01b0316836001600160a01b0316141561166b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610657565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6116e38484846112d9565b6116ef84848484611953565b610f855760405162461bcd60e51b8152600401610657906122df565b6060600c805461068d9061214c565b60608161173e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611768578061175281612295565b91506117619050600a83612223565b9150611742565b60008167ffffffffffffffff81111561178357611783611f4e565b6040519080825280601f01601f1916602001820160405280156117ad576020820181803683370190505b5090505b84156112d1576117c2600183612265565b91506117cf600a86612331565b6117da90603061224d565b60f81b8183815181106117ef576117ef612237565b60200101906001600160f81b031916908160001a905350611811600a86612223565b94506117b1565b60006001600160e01b031982166380ac58cd60e01b148061184957506001600160e01b03198216635b5e139f60e01b145b8061062757506301ffc9a760e01b6001600160e01b0319831614610627565b6001600160a01b0383166118c3576118be81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6118e6565b816001600160a01b0316836001600160a01b0316146118e6576118e68382611a51565b6001600160a01b0382166118fd576108b681611aee565b826001600160a01b0316826001600160a01b0316146108b6576108b68282611b9d565b61192a8383611be1565b6119376000848484611953565b6108b65760405162461bcd60e51b8152600401610657906122df565b60006001600160a01b0384163b15611a4657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611997903390899088908890600401612345565b6020604051808303816000875af19250505080156119d2575060408051601f3d908101601f191682019092526119cf91810190612382565b60015b611a2c573d808015611a00576040519150601f19603f3d011682016040523d82523d6000602084013e611a05565b606091505b508051611a245760405162461bcd60e51b8152600401610657906122df565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112d1565b506001949350505050565b60006001611a5e84610b8c565b611a689190612265565b600083815260076020526040902054909150808214611abb576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611b0090600190612265565b60008381526009602052604081205460088054939450909284908110611b2857611b28612237565b906000526020600020015490508060088381548110611b4957611b49612237565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611b8157611b8161239f565b6001900381819060005260206000200160009055905550505050565b6000611ba883610b8c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611c375760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610657565b6000818152600260205260409020546001600160a01b031615611c9c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610657565b611ca860008383611868565b6001600160a01b0382166000908152600360205260408120805460019290611cd190849061224d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611d3b9061214c565b90600052602060002090601f016020900481019282611d5d5760008555611da3565b82601f10611d7657805160ff1916838001178555611da3565b82800160010185558215611da3579182015b82811115611da3578251825591602001919060010190611d88565b50611daf929150611db3565b5090565b5b80821115611daf5760008155600101611db4565b6001600160e01b03198116811461114657600080fd5b600060208284031215611df057600080fd5b813561105f81611dc8565b80358015158114611e0b57600080fd5b919050565b600060208284031215611e2257600080fd5b61105f82611dfb565b60005b83811015611e46578181015183820152602001611e2e565b83811115610f855750506000910152565b60008151808452611e6f816020860160208601611e2b565b601f01601f19169290920160200192915050565b60208152600061105f6020830184611e57565b600060208284031215611ea857600080fd5b5035919050565b80356001600160a01b0381168114611e0b57600080fd5b60008060408385031215611ed957600080fd5b611ee283611eaf565b946020939093013593505050565b600080600060608486031215611f0557600080fd5b611f0e84611eaf565b9250611f1c60208501611eaf565b9150604084013590509250925092565b60008060408385031215611f3f57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611f7f57611f7f611f4e565b604051601f8501601f19908116603f01168101908282118183101715611fa757611fa7611f4e565b81604052809350858152868686011115611fc057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611fec57600080fd5b813567ffffffffffffffff81111561200357600080fd5b8201601f8101841361201457600080fd5b6112d184823560208401611f64565b60006020828403121561203557600080fd5b61105f82611eaf565b6000806040838503121561205157600080fd5b61205a83611eaf565b915061206860208401611dfb565b90509250929050565b6000806000806080858703121561208757600080fd5b61209085611eaf565b935061209e60208601611eaf565b925060408501359150606085013567ffffffffffffffff8111156120c157600080fd5b8501601f810187136120d257600080fd5b6120e187823560208401611f64565b91505092959194509250565b6000806040838503121561210057600080fd5b61210983611eaf565b915061206860208401611eaf565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061216057607f821691505b6020821081141561218157634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612208576122086121d8565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826122325761223261220d565b500490565b634e487b7160e01b600052603260045260246000fd5b60008219821115612260576122606121d8565b500190565b600082821015612277576122776121d8565b500390565b60006020828403121561228e57600080fd5b5051919050565b60006000198214156122a9576122a96121d8565b5060010190565b600083516122c2818460208801611e2b565b8351908301906122d6818360208801611e2b565b01949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826123405761234061220d565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061237890830184611e57565b9695505050505050565b60006020828403121561239457600080fd5b815161105f81611dc8565b634e487b7160e01b600052603160045260246000fdfea26469706673582212209cbaba0350ebfaaab8af8c762141467210545f65c43dd7e77a0f814ca677b56964736f6c634300080a00334552433732313a207472616e7366657220746f206e6f6e20455243373231526500000000000000000000000000000000000000000000000000000000000000600000000000000000000000004cfaea89ab97c812befe64a47e1e15ee4da3cef4000000000000000000000000bca49908eccb639d862c4f31337bc3ba2efdb92e000000000000000000000000000000000000000000000000000000000000002a68747470733a2f2f636f6d70616e696f6e696e61626f782e6172742f6170692f636f6d70616e696f6e2f00000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101d85760003560e01c80636352211e11610102578063a22cb46511610095578063e985e9c511610064578063e985e9c514610558578063eb8d2444146105a1578063eeda2be7146105c2578063f2fde38b146105e257600080fd5b8063a22cb465146104e3578063b88d4fde14610503578063b8fc105114610523578063c87b56dd1461053857600080fd5b80638d859f3e116100d15780638d859f3e146104815780638da5cb5b1461049d57806395d89b41146104bb578063a0712d68146104d057600080fd5b80636352211e146103f85780636d5a5fa61461041857806370a082311461044c578063715018a61461046c57600080fd5b80632a55205a1161017a57806342842e0e1161014957806342842e0e146103775780634f6ccce71461039757806355f804b3146103b75780635e59409a146103d757600080fd5b80632a55205a146102ed5780632f745c591461032c57806332cb6b0c1461034c5780633ccfd60b1461036257600080fd5b8063081812fc116101b6578063081812fc14610256578063095ea7b31461028e57806318160ddd146102ae57806323b872dd146102cd57600080fd5b806301ffc9a7146101dd57806302c889891461021257806306fdde0314610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611dde565b610602565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b5061023261022d366004611e10565b61062d565b005b34801561024057600080fd5b5061024961067e565b6040516102099190611e83565b34801561026257600080fd5b50610276610271366004611e96565b610710565b6040516001600160a01b039091168152602001610209565b34801561029a57600080fd5b506102326102a9366004611ec6565b6107a5565b3480156102ba57600080fd5b506008545b604051908152602001610209565b3480156102d957600080fd5b506102326102e8366004611ef0565b6108bb565b3480156102f957600080fd5b5061030d610308366004611f2c565b6108ec565b604080516001600160a01b039093168352602083019190915201610209565b34801561033857600080fd5b506102bf610347366004611ec6565b610914565b34801561035857600080fd5b506102bf6122b881565b34801561036e57600080fd5b506102326109aa565b34801561038357600080fd5b50610232610392366004611ef0565b610a26565b3480156103a357600080fd5b506102bf6103b2366004611e96565b610a41565b3480156103c357600080fd5b506102326103d2366004611fda565b610ad4565b3480156103e357600080fd5b50600b546101fd90600160a81b900460ff1681565b34801561040457600080fd5b50610276610413366004611e96565b610b15565b34801561042457600080fd5b506102767f0000000000000000000000004cfaea89ab97c812befe64a47e1e15ee4da3cef481565b34801561045857600080fd5b506102bf610467366004612023565b610b8c565b34801561047857600080fd5b50610232610c13565b34801561048d57600080fd5b506102bf67011c37937e08000081565b3480156104a957600080fd5b50600b546001600160a01b0316610276565b3480156104c757600080fd5b50610249610c49565b6102326104de366004611e96565b610c58565b3480156104ef57600080fd5b506102326104fe36600461203e565b610f48565b34801561050f57600080fd5b5061023261051e366004612071565b610f53565b34801561052f57600080fd5b506102bf600881565b34801561054457600080fd5b50610249610553366004611e96565b610f8b565b34801561056457600080fd5b506101fd6105733660046120ed565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105ad57600080fd5b50600b546101fd90600160a01b900460ff1681565b3480156105ce57600080fd5b506102326105dd366004611e10565b611066565b3480156105ee57600080fd5b506102326105fd366004612023565b6110ae565b60006001600160e01b0319821663152a902d60e11b148061062757506106278261114f565b92915050565b600b546001600160a01b031633146106605760405162461bcd60e51b815260040161065790612117565b60405180910390fd5b600b8054911515600160a01b0260ff60a01b19909216919091179055565b60606000805461068d9061214c565b80601f01602080910402602001604051908101604052809291908181526020018280546106b99061214c565b80156107065780601f106106db57610100808354040283529160200191610706565b820191906000526020600020905b8154815290600101906020018083116106e957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107895760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610657565b506000908152600460205260409020546001600160a01b031690565b60006107b082610b15565b9050806001600160a01b0316836001600160a01b0316141561081e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610657565b336001600160a01b038216148061083a575061083a8133610573565b6108ac5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610657565b6108b68383611174565b505050565b6108c533826111e2565b6108e15760405162461bcd60e51b815260040161065790612187565b6108b68383836112d9565b600080306127106108ff856103e86121ee565b6109099190612223565b915091509250929050565b600061091f83610b8c565b82106109815760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610657565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6002600a5414156109fd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610657565b6002600a5547610a1e610a18600b546001600160a01b031690565b82611484565b506001600a55565b6108b683838360405180602001604052806000815250610f53565b6000610a4c60085490565b8210610aaf5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610657565b60088281548110610ac257610ac2612237565b90600052602060002001549050919050565b600b546001600160a01b03163314610afe5760405162461bcd60e51b815260040161065790612117565b8051610b1190600c906020840190611d2f565b5050565b6000818152600260205260408120546001600160a01b0316806106275760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610657565b60006001600160a01b038216610bf75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610657565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b03163314610c3d5760405162461bcd60e51b815260040161065790612117565b610c47600061159d565b565b60606001805461068d9061214c565b6002600a541415610cab5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610657565b6002600a55600b54600160a01b900460ff16610cfb5760405162461bcd60e51b815260206004820152600f60248201526e53616c65206e6f742061637469766560881b6044820152606401610657565b6122b8600182610d0a60085490565b610d14919061224d565b610d1e9190612265565b10610d605760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610657565b6008811115610db15760405162461bcd60e51b815260206004820152601860248201527f4d696e74206174206d6f7374203820617420612074696d6500000000000000006044820152606401610657565b610dc38167011c37937e0800006121ee565b341015610e225760405162461bcd60e51b815260206004820152602760248201527f496e73756666696369656e74207061796d656e742c20302e30382045544820706044820152666572206974656d60c81b6064820152608401610657565b7f0000000000000000000000004cfaea89ab97c812befe64a47e1e15ee4da3cef460005b82811015610f3e57600b54600160a81b900460ff1615610f205760006001600160a01b0383166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610eb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eda919061227c565b11610f205760405162461bcd60e51b81526020600482015260166024820152751058d8d95cdcc81d1bdad95b881b9bdd081bdddb995960521b6044820152606401610657565b610f2c336008546115ef565b80610f3681612295565b915050610e46565b50506001600a5550565b610b11338383611609565b610f5d33836111e2565b610f795760405162461bcd60e51b815260040161065790612187565b610f85848484846116d8565b50505050565b6000818152600260205260409020546060906001600160a01b031661100a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610657565b600061101461170b565b90506000815111611034576040518060200160405280600081525061105f565b8061103e8461171a565b60405160200161104f9291906122b0565b6040516020818303038152906040525b9392505050565b600b546001600160a01b031633146110905760405162461bcd60e51b815260040161065790612117565b600b8054911515600160a81b0260ff60a81b19909216919091179055565b600b546001600160a01b031633146110d85760405162461bcd60e51b815260040161065790612117565b6001600160a01b03811661113d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610657565b6111468161159d565b50565b3b151590565b60006001600160e01b0319821663780e9d6360e01b1480610627575061062782611818565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111a982610b15565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661125b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610657565b600061126683610b15565b9050806001600160a01b0316846001600160a01b031614806112a15750836001600160a01b031661129684610710565b6001600160a01b0316145b806112d157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166112ec82610b15565b6001600160a01b0316146113545760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610657565b6001600160a01b0382166113b65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610657565b6113c1838383611868565b6113cc600082611174565b6001600160a01b03831660009081526003602052604081208054600192906113f5908490612265565b90915550506001600160a01b038216600090815260036020526040812080546001929061142390849061224d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b804710156114d45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610657565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611521576040519150601f19603f3d011682016040523d82523d6000602084013e611526565b606091505b50509050806108b65760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610657565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b11828260405180602001604052806000815250611920565b816001600160a01b0316836001600160a01b0316141561166b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610657565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6116e38484846112d9565b6116ef84848484611953565b610f855760405162461bcd60e51b8152600401610657906122df565b6060600c805461068d9061214c565b60608161173e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611768578061175281612295565b91506117619050600a83612223565b9150611742565b60008167ffffffffffffffff81111561178357611783611f4e565b6040519080825280601f01601f1916602001820160405280156117ad576020820181803683370190505b5090505b84156112d1576117c2600183612265565b91506117cf600a86612331565b6117da90603061224d565b60f81b8183815181106117ef576117ef612237565b60200101906001600160f81b031916908160001a905350611811600a86612223565b94506117b1565b60006001600160e01b031982166380ac58cd60e01b148061184957506001600160e01b03198216635b5e139f60e01b145b8061062757506301ffc9a760e01b6001600160e01b0319831614610627565b6001600160a01b0383166118c3576118be81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6118e6565b816001600160a01b0316836001600160a01b0316146118e6576118e68382611a51565b6001600160a01b0382166118fd576108b681611aee565b826001600160a01b0316826001600160a01b0316146108b6576108b68282611b9d565b61192a8383611be1565b6119376000848484611953565b6108b65760405162461bcd60e51b8152600401610657906122df565b60006001600160a01b0384163b15611a4657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611997903390899088908890600401612345565b6020604051808303816000875af19250505080156119d2575060408051601f3d908101601f191682019092526119cf91810190612382565b60015b611a2c573d808015611a00576040519150601f19603f3d011682016040523d82523d6000602084013e611a05565b606091505b508051611a245760405162461bcd60e51b8152600401610657906122df565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112d1565b506001949350505050565b60006001611a5e84610b8c565b611a689190612265565b600083815260076020526040902054909150808214611abb576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611b0090600190612265565b60008381526009602052604081205460088054939450909284908110611b2857611b28612237565b906000526020600020015490508060088381548110611b4957611b49612237565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611b8157611b8161239f565b6001900381819060005260206000200160009055905550505050565b6000611ba883610b8c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611c375760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610657565b6000818152600260205260409020546001600160a01b031615611c9c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610657565b611ca860008383611868565b6001600160a01b0382166000908152600360205260408120805460019290611cd190849061224d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611d3b9061214c565b90600052602060002090601f016020900481019282611d5d5760008555611da3565b82601f10611d7657805160ff1916838001178555611da3565b82800160010185558215611da3579182015b82811115611da3578251825591602001919060010190611d88565b50611daf929150611db3565b5090565b5b80821115611daf5760008155600101611db4565b6001600160e01b03198116811461114657600080fd5b600060208284031215611df057600080fd5b813561105f81611dc8565b80358015158114611e0b57600080fd5b919050565b600060208284031215611e2257600080fd5b61105f82611dfb565b60005b83811015611e46578181015183820152602001611e2e565b83811115610f855750506000910152565b60008151808452611e6f816020860160208601611e2b565b601f01601f19169290920160200192915050565b60208152600061105f6020830184611e57565b600060208284031215611ea857600080fd5b5035919050565b80356001600160a01b0381168114611e0b57600080fd5b60008060408385031215611ed957600080fd5b611ee283611eaf565b946020939093013593505050565b600080600060608486031215611f0557600080fd5b611f0e84611eaf565b9250611f1c60208501611eaf565b9150604084013590509250925092565b60008060408385031215611f3f57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611f7f57611f7f611f4e565b604051601f8501601f19908116603f01168101908282118183101715611fa757611fa7611f4e565b81604052809350858152868686011115611fc057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611fec57600080fd5b813567ffffffffffffffff81111561200357600080fd5b8201601f8101841361201457600080fd5b6112d184823560208401611f64565b60006020828403121561203557600080fd5b61105f82611eaf565b6000806040838503121561205157600080fd5b61205a83611eaf565b915061206860208401611dfb565b90509250929050565b6000806000806080858703121561208757600080fd5b61209085611eaf565b935061209e60208601611eaf565b925060408501359150606085013567ffffffffffffffff8111156120c157600080fd5b8501601f810187136120d257600080fd5b6120e187823560208401611f64565b91505092959194509250565b6000806040838503121561210057600080fd5b61210983611eaf565b915061206860208401611eaf565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061216057607f821691505b6020821081141561218157634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612208576122086121d8565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826122325761223261220d565b500490565b634e487b7160e01b600052603260045260246000fd5b60008219821115612260576122606121d8565b500190565b600082821015612277576122776121d8565b500390565b60006020828403121561228e57600080fd5b5051919050565b60006000198214156122a9576122a96121d8565b5060010190565b600083516122c2818460208801611e2b565b8351908301906122d6818360208801611e2b565b01949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826123405761234061220d565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061237890830184611e57565b9695505050505050565b60006020828403121561239457600080fd5b815161105f81611dc8565b634e487b7160e01b600052603160045260246000fdfea26469706673582212209cbaba0350ebfaaab8af8c762141467210545f65c43dd7e77a0f814ca677b56964736f6c634300080a0033

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

00000000000000000000000000000000000000000000000000000000000000600000000000000000000000004cfaea89ab97c812befe64a47e1e15ee4da3cef4000000000000000000000000bca49908eccb639d862c4f31337bc3ba2efdb92e000000000000000000000000000000000000000000000000000000000000002a68747470733a2f2f636f6d70616e696f6e696e61626f782e6172742f6170692f636f6d70616e696f6e2f00000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : customBaseURI_ (string): https://companioninabox.art/api/companion/
Arg [1] : accessTokenAddress_ (address): 0x4cFAea89ab97C812BEfE64a47E1E15EE4dA3Cef4
Arg [2] : presaleWallet_ (address): 0xBCA49908eccB639D862C4F31337bC3bA2EFdB92E

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000004cfaea89ab97c812befe64a47e1e15ee4da3cef4
Arg [2] : 000000000000000000000000bca49908eccb639d862c4f31337bc3ba2efdb92e
Arg [3] : 000000000000000000000000000000000000000000000000000000000000002a
Arg [4] : 68747470733a2f2f636f6d70616e696f6e696e61626f782e6172742f6170692f
Arg [5] : 636f6d70616e696f6e2f00000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

49694:3228:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52629:290;;;;;;;;;;-1:-1:-1;52629:290:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;52629:290:0;;;;;;;;51530:111;;;;;;;;;;-1:-1:-1;51530:111:0;;;;;:::i;:::-;;:::i;:::-;;28193:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;29752:221::-;;;;;;;;;;-1:-1:-1;29752:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2042:32:1;;;2024:51;;2012:2;1997:18;29752:221:0;1878:203:1;29275:411:0;;;;;;;;;;-1:-1:-1;29275:411:0;;;;;:::i;:::-;;:::i;41339:113::-;;;;;;;;;;-1:-1:-1;41427:10:0;:17;41339:113;;;2669:25:1;;;2657:2;2642:18;41339:113:0;2523:177:1;30502:339:0;;;;;;;;;;-1:-1:-1;30502:339:0;;;;;:::i;:::-;;:::i;52389:232::-;;;;;;;;;;-1:-1:-1;52389:232:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3483:32:1;;;3465:51;;3547:2;3532:18;;3525:34;;;;3438:18;52389:232:0;3291:274:1;41007:256:0;;;;;;;;;;-1:-1:-1;41007:256:0;;;;;:::i;:::-;;:::i;50515:41::-;;;;;;;;;;;;50552:4;50515:41;;52201:155;;;;;;;;;;;;;:::i;30912:185::-;;;;;;;;;;-1:-1:-1;30912:185:0;;;;;:::i;:::-;;:::i;41529:233::-;;;;;;;;;;-1:-1:-1;41529:233:0;;;;;:::i;:::-;;:::i;51931:118::-;;;;;;;;;;-1:-1:-1;51931:118:0;;;;;:::i;:::-;;:::i;51649:38::-;;;;;;;;;;-1:-1:-1;51649:38:0;;;;-1:-1:-1;;;51649:38:0;;;;;;27887:239;;;;;;;;;;-1:-1:-1;27887:239:0;;;;;:::i;:::-;;:::i;50463:43::-;;;;;;;;;;;;;;;27617:208;;;;;;;;;;-1:-1:-1;27617:208:0;;;;;:::i;:::-;;:::i;6195:103::-;;;;;;;;;;;;;:::i;50615:49::-;;;;;;;;;;;;50647:17;50615:49;;5544:87;;;;;;;;;;-1:-1:-1;5617:6:0;;-1:-1:-1;;;;;5617:6:0;5544:87;;28362:104;;;;;;;;;;;;;:::i;50673:782::-;;;;;;:::i;:::-;;:::i;30045:155::-;;;;;;;;;;-1:-1:-1;30045:155:0;;;;;:::i;:::-;;:::i;31168:328::-;;;;;;;;;;-1:-1:-1;31168:328:0;;;;;:::i;:::-;;:::i;50565:41::-;;;;;;;;;;;;50605:1;50565:41;;28537:334;;;;;;;;;;-1:-1:-1;28537:334:0;;;;;:::i;:::-;;:::i;30271:164::-;;;;;;;;;;-1:-1:-1;30271:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;30392:25:0;;;30368:4;30392:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;30271:164;51489:32;;;;;;;;;;-1:-1:-1;51489:32:0;;;;-1:-1:-1;;;51489:32:0;;;;;;51696:162;;;;;;;;;;-1:-1:-1;51696:162:0;;;;;:::i;:::-;;:::i;6453:201::-;;;;;;;;;;-1:-1:-1;6453:201:0;;;;;:::i;:::-;;:::i;52629:290::-;52786:4;-1:-1:-1;;;;;;52816:41:0;;-1:-1:-1;;;52816:41:0;;:94;;;52874:36;52898:11;52874:23;:36::i;:::-;52808:103;52629:290;-1:-1:-1;;52629:290:0:o;51530:111::-;5617:6;;-1:-1:-1;;;;;5617:6:0;4348:10;5764:23;5756:68;;;;-1:-1:-1;;;5756:68:0;;;;;;;:::i;:::-;;;;;;;;;51605:12:::1;:28:::0;;;::::1;;-1:-1:-1::0;;;51605:28:0::1;-1:-1:-1::0;;;;51605:28:0;;::::1;::::0;;;::::1;::::0;;51530:111::o;28193:100::-;28247:13;28280:5;28273:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28193:100;:::o;29752:221::-;29828:7;33095:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33095:16:0;29848:73;;;;-1:-1:-1;;;29848:73:0;;7130:2:1;29848:73:0;;;7112:21:1;7169:2;7149:18;;;7142:30;7208:34;7188:18;;;7181:62;-1:-1:-1;;;7259:18:1;;;7252:42;7311:19;;29848:73:0;6928:408:1;29848:73:0;-1:-1:-1;29941:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;29941:24:0;;29752:221::o;29275:411::-;29356:13;29372:23;29387:7;29372:14;:23::i;:::-;29356:39;;29420:5;-1:-1:-1;;;;;29414:11:0;:2;-1:-1:-1;;;;;29414:11:0;;;29406:57;;;;-1:-1:-1;;;29406:57:0;;7543:2:1;29406:57:0;;;7525:21:1;7582:2;7562:18;;;7555:30;7621:34;7601:18;;;7594:62;-1:-1:-1;;;7672:18:1;;;7665:31;7713:19;;29406:57:0;7341:397:1;29406:57:0;4348:10;-1:-1:-1;;;;;29498:21:0;;;;:62;;-1:-1:-1;29523:37:0;29540:5;4348:10;30271:164;:::i;29523:37::-;29476:168;;;;-1:-1:-1;;;29476:168:0;;7945:2:1;29476:168:0;;;7927:21:1;7984:2;7964:18;;;7957:30;8023:34;8003:18;;;7996:62;8094:26;8074:18;;;8067:54;8138:19;;29476:168:0;7743:420:1;29476:168:0;29657:21;29666:2;29670:7;29657:8;:21::i;:::-;29345:341;29275:411;;:::o;30502:339::-;30697:41;4348:10;30730:7;30697:18;:41::i;:::-;30689:103;;;;-1:-1:-1;;;30689:103:0;;;;;;;:::i;:::-;30805:28;30815:4;30821:2;30825:7;30805:9;:28::i;52389:232::-;52506:16;;52579:4;52607:5;52587:16;:9;52599:4;52587:16;:::i;:::-;52586:26;;;;:::i;:::-;52563:50;;;;52389:232;;;;;:::o;41007:256::-;41104:7;41140:23;41157:5;41140:16;:23::i;:::-;41132:5;:31;41124:87;;;;-1:-1:-1;;;41124:87:0;;9350:2:1;41124:87:0;;;9332:21:1;9389:2;9369:18;;;9362:30;9428:34;9408:18;;;9401:62;-1:-1:-1;;;9479:18:1;;;9472:41;9530:19;;41124:87:0;9148:407:1;41124:87:0;-1:-1:-1;;;;;;41229:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;41007:256::o;52201:155::-;48659:1;49257:7;;:19;;49249:63;;;;-1:-1:-1;;;49249:63:0;;9762:2:1;49249:63:0;;;9744:21:1;9801:2;9781:18;;;9774:30;9840:33;9820:18;;;9813:61;9891:18;;49249:63:0;9560:355:1;49249:63:0;48659:1;49390:7;:18;52270:21:::1;52304:44;52330:7;5617:6:::0;;-1:-1:-1;;;;;5617:6:0;;5544:87;52330:7:::1;52340;52304:17;:44::i;:::-;-1:-1:-1::0;48615:1:0;49569:7;:22;52201:155::o;30912:185::-;31050:39;31067:4;31073:2;31077:7;31050:39;;;;;;;;;;;;:16;:39::i;41529:233::-;41604:7;41640:30;41427:10;:17;;41339:113;41640:30;41632:5;:38;41624:95;;;;-1:-1:-1;;;41624:95:0;;10122:2:1;41624:95:0;;;10104:21:1;10161:2;10141:18;;;10134:30;10200:34;10180:18;;;10173:62;-1:-1:-1;;;10251:18:1;;;10244:42;10303:19;;41624:95:0;9920:408:1;41624:95:0;41737:10;41748:5;41737:17;;;;;;;;:::i;:::-;;;;;;;;;41730:24;;41529:233;;;:::o;51931:118::-;5617:6;;-1:-1:-1;;;;;5617:6:0;4348:10;5764:23;5756:68;;;;-1:-1:-1;;;5756:68:0;;;;;;;:::i;:::-;52011:30;;::::1;::::0;:13:::1;::::0;:30:::1;::::0;::::1;::::0;::::1;:::i;:::-;;51931:118:::0;:::o;27887:239::-;27959:7;27995:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27995:16:0;28030:19;28022:73;;;;-1:-1:-1;;;28022:73:0;;10667:2:1;28022:73:0;;;10649:21:1;10706:2;10686:18;;;10679:30;10745:34;10725:18;;;10718:62;-1:-1:-1;;;10796:18:1;;;10789:39;10845:19;;28022:73:0;10465:405:1;27617:208:0;27689:7;-1:-1:-1;;;;;27717:19:0;;27709:74;;;;-1:-1:-1;;;27709:74:0;;11077:2:1;27709:74:0;;;11059:21:1;11116:2;11096:18;;;11089:30;11155:34;11135:18;;;11128:62;-1:-1:-1;;;11206:18:1;;;11199:40;11256:19;;27709:74:0;10875:406:1;27709:74:0;-1:-1:-1;;;;;;27801:16:0;;;;;:9;:16;;;;;;;27617:208::o;6195:103::-;5617:6;;-1:-1:-1;;;;;5617:6:0;4348:10;5764:23;5756:68;;;;-1:-1:-1;;;5756:68:0;;;;;;;:::i;:::-;6260:30:::1;6287:1;6260:18;:30::i;:::-;6195:103::o:0;28362:104::-;28418:13;28451:7;28444:14;;;;;:::i;50673:782::-;48659:1;49257:7;;:19;;49249:63;;;;-1:-1:-1;;;49249:63:0;;9762:2:1;49249:63:0;;;9744:21:1;9801:2;9781:18;;;9774:30;9840:33;9820:18;;;9813:61;9891:18;;49249:63:0;9560:355:1;49249:63:0;48659:1;49390:7;:18;50749:12:::1;::::0;-1:-1:-1;;;50749:12:0;::::1;;;50741:40;;;::::0;-1:-1:-1;;;50741:40:0;;11488:2:1;50741:40:0::1;::::0;::::1;11470:21:1::0;11527:2;11507:18;;;11500:30;-1:-1:-1;;;11546:18:1;;;11539:45;11601:18;;50741:40:0::1;11286:339:1::0;50741:40:0::1;50552:4;50826:1;50818:5;50802:13;41427:10:::0;:17;;41339:113;50802:13:::1;:21;;;;:::i;:::-;:25;;;;:::i;:::-;:38;50794:69;;;::::0;-1:-1:-1;;;50794:69:0;;12095:2:1;50794:69:0::1;::::0;::::1;12077:21:1::0;12134:2;12114:18;;;12107:30;-1:-1:-1;;;12153:18:1;;;12146:48;12211:18;;50794:69:0::1;11893:342:1::0;50794:69:0::1;50605:1;50884:5;:22;;50876:59;;;::::0;-1:-1:-1;;;50876:59:0;;12442:2:1;50876:59:0::1;::::0;::::1;12424:21:1::0;12481:2;12461:18;;;12454:30;12520:26;12500:18;;;12493:54;12564:18;;50876:59:0::1;12240:348:1::0;50876:59:0::1;50983:13;50991:5:::0;50647:17:::1;50983:13;:::i;:::-;50970:9;:26;;50948:115;;;::::0;-1:-1:-1;;;50948:115:0;;12795:2:1;50948:115:0::1;::::0;::::1;12777:21:1::0;12834:2;12814:18;;;12807:30;12873:34;12853:18;;;12846:62;-1:-1:-1;;;12924:18:1;;;12917:37;12971:19;;50948:115:0::1;12593:403:1::0;50948:115:0::1;51104:18;51076;51136:312;51160:5;51156:1;:9;51136:312;;;51191:19;::::0;-1:-1:-1;;;51191:19:0;::::1;;;51187:195;;;51299:1;-1:-1:-1::0;;;;;51261:21:0;::::1;;4348:10:::0;51261:35:::1;::::0;-1:-1:-1;;;;;;51261:35:0::1;::::0;;;;;;-1:-1:-1;;;;;2042:32:1;;;51261:35:0::1;::::0;::::1;2024:51:1::0;1997:18;;51261:35:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:39;51231:135;;;::::0;-1:-1:-1;;;51231:135:0;;13392:2:1;51231:135:0::1;::::0;::::1;13374:21:1::0;13431:2;13411:18;;;13404:30;-1:-1:-1;;;13450:18:1;;;13443:52;13512:18;;51231:135:0::1;13190:346:1::0;51231:135:0::1;51398:38;4348:10:::0;41427;:17;51398:9:::1;:38::i;:::-;51167:3:::0;::::1;::::0;::::1;:::i;:::-;;;;51136:312;;;-1:-1:-1::0;;48615:1:0;49569:7;:22;-1:-1:-1;50673:782:0:o;30045:155::-;30140:52;4348:10;30173:8;30183;30140:18;:52::i;31168:328::-;31343:41;4348:10;31376:7;31343:18;:41::i;:::-;31335:103;;;;-1:-1:-1;;;31335:103:0;;;;;;;:::i;:::-;31449:39;31463:4;31469:2;31473:7;31482:5;31449:13;:39::i;:::-;31168:328;;;;:::o;28537:334::-;33071:4;33095:16;;;:7;:16;;;;;;28610:13;;-1:-1:-1;;;;;33095:16:0;28636:76;;;;-1:-1:-1;;;28636:76:0;;13883:2:1;28636:76:0;;;13865:21:1;13922:2;13902:18;;;13895:30;13961:34;13941:18;;;13934:62;-1:-1:-1;;;14012:18:1;;;14005:45;14067:19;;28636:76:0;13681:411:1;28636:76:0;28725:21;28749:10;:8;:10::i;:::-;28725:34;;28801:1;28783:7;28777:21;:25;:86;;;;;;;;;;;;;;;;;28829:7;28838:18;:7;:16;:18::i;:::-;28812:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;28777:86;28770:93;28537:334;-1:-1:-1;;;28537:334:0:o;51696:162::-;5617:6;;-1:-1:-1;;;;;5617:6:0;4348:10;5764:23;5756:68;;;;-1:-1:-1;;;5756:68:0;;;;;;;:::i;:::-;51808:19:::1;:42:::0;;;::::1;;-1:-1:-1::0;;;51808:42:0::1;-1:-1:-1::0;;;;51808:42:0;;::::1;::::0;;;::::1;::::0;;51696:162::o;6453:201::-;5617:6;;-1:-1:-1;;;;;5617:6:0;4348:10;5764:23;5756:68;;;;-1:-1:-1;;;5756:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;6542:22:0;::::1;6534:73;;;::::0;-1:-1:-1;;;6534:73:0;;14774:2:1;6534:73:0::1;::::0;::::1;14756:21:1::0;14813:2;14793:18;;;14786:30;14852:34;14832:18;;;14825:62;-1:-1:-1;;;14903:18:1;;;14896:36;14949:19;;6534:73:0::1;14572:402:1::0;6534:73:0::1;6618:28;6637:8;6618:18;:28::i;:::-;6453:201:::0;:::o;7832:387::-;8155:20;8203:8;;;7832:387::o;40699:224::-;40801:4;-1:-1:-1;;;;;;40825:50:0;;-1:-1:-1;;;40825:50:0;;:90;;;40879:36;40903:11;40879:23;:36::i;36988:174::-;37063:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;37063:29:0;-1:-1:-1;;;;;37063:29:0;;;;;;;;:24;;37117:23;37063:24;37117:14;:23::i;:::-;-1:-1:-1;;;;;37108:46:0;;;;;;;;;;;36988:174;;:::o;33300:348::-;33393:4;33095:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33095:16:0;33410:73;;;;-1:-1:-1;;;33410:73:0;;15181:2:1;33410:73:0;;;15163:21:1;15220:2;15200:18;;;15193:30;15259:34;15239:18;;;15232:62;-1:-1:-1;;;15310:18:1;;;15303:42;15362:19;;33410:73:0;14979:408:1;33410:73:0;33494:13;33510:23;33525:7;33510:14;:23::i;:::-;33494:39;;33563:5;-1:-1:-1;;;;;33552:16:0;:7;-1:-1:-1;;;;;33552:16:0;;:51;;;;33596:7;-1:-1:-1;;;;;33572:31:0;:20;33584:7;33572:11;:20::i;:::-;-1:-1:-1;;;;;33572:31:0;;33552:51;:87;;;-1:-1:-1;;;;;;30392:25:0;;;30368:4;30392:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;33607:32;33544:96;33300:348;-1:-1:-1;;;;33300:348:0:o;36292:578::-;36451:4;-1:-1:-1;;;;;36424:31:0;:23;36439:7;36424:14;:23::i;:::-;-1:-1:-1;;;;;36424:31:0;;36416:85;;;;-1:-1:-1;;;36416:85:0;;15594:2:1;36416:85:0;;;15576:21:1;15633:2;15613:18;;;15606:30;15672:34;15652:18;;;15645:62;-1:-1:-1;;;15723:18:1;;;15716:39;15772:19;;36416:85:0;15392:405:1;36416:85:0;-1:-1:-1;;;;;36520:16:0;;36512:65;;;;-1:-1:-1;;;36512:65:0;;16004:2:1;36512:65:0;;;15986:21:1;16043:2;16023:18;;;16016:30;16082:34;16062:18;;;16055:62;-1:-1:-1;;;16133:18:1;;;16126:34;16177:19;;36512:65:0;15802:400:1;36512:65:0;36590:39;36611:4;36617:2;36621:7;36590:20;:39::i;:::-;36694:29;36711:1;36715:7;36694:8;:29::i;:::-;-1:-1:-1;;;;;36736:15:0;;;;;;:9;:15;;;;;:20;;36755:1;;36736:15;:20;;36755:1;;36736:20;:::i;:::-;;;;-1:-1:-1;;;;;;;36767:13:0;;;;;;:9;:13;;;;;:18;;36784:1;;36767:13;:18;;36784:1;;36767:18;:::i;:::-;;;;-1:-1:-1;;36796:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;36796:21:0;-1:-1:-1;;;;;36796:21:0;;;;;;;;;36835:27;;36796:16;;36835:27;;;;;;;36292:578;;;:::o;9154:317::-;9269:6;9244:21;:31;;9236:73;;;;-1:-1:-1;;;9236:73:0;;16409:2:1;9236:73:0;;;16391:21:1;16448:2;16428:18;;;16421:30;16487:31;16467:18;;;16460:59;16536:18;;9236:73:0;16207:353:1;9236:73:0;9323:12;9341:9;-1:-1:-1;;;;;9341:14:0;9363:6;9341:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9322:52;;;9393:7;9385:78;;;;-1:-1:-1;;;9385:78:0;;16977:2:1;9385:78:0;;;16959:21:1;17016:2;16996:18;;;16989:30;17055:34;17035:18;;;17028:62;17126:28;17106:18;;;17099:56;17172:19;;9385:78:0;16775:422:1;6814:191:0;6907:6;;;-1:-1:-1;;;;;6924:17:0;;;-1:-1:-1;;;;;;6924:17:0;;;;;;;6957:40;;6907:6;;;6924:17;6907:6;;6957:40;;6888:16;;6957:40;6877:128;6814:191;:::o;33990:110::-;34066:26;34076:2;34080:7;34066:26;;;;;;;;;;;;:9;:26::i;37304:315::-;37459:8;-1:-1:-1;;;;;37450:17:0;:5;-1:-1:-1;;;;;37450:17:0;;;37442:55;;;;-1:-1:-1;;;37442:55:0;;17404:2:1;37442:55:0;;;17386:21:1;17443:2;17423:18;;;17416:30;17482:27;17462:18;;;17455:55;17527:18;;37442:55:0;17202:349:1;37442:55:0;-1:-1:-1;;;;;37508:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;37508:46:0;;;;;;;;;;37570:41;;540::1;;;37570::0;;513:18:1;37570:41:0;;;;;;;37304:315;;;:::o;32378:::-;32535:28;32545:4;32551:2;32555:7;32535:9;:28::i;:::-;32582:48;32605:4;32611:2;32615:7;32624:5;32582:22;:48::i;:::-;32574:111;;;;-1:-1:-1;;;32574:111:0;;;;;;;:::i;52057:114::-;52117:13;52150;52143:20;;;;;:::i;1830:723::-;1886:13;2107:10;2103:53;;-1:-1:-1;;2134:10:0;;;;;;;;;;;;-1:-1:-1;;;2134:10:0;;;;;1830:723::o;2103:53::-;2181:5;2166:12;2222:78;2229:9;;2222:78;;2255:8;;;;:::i;:::-;;-1:-1:-1;2278:10:0;;-1:-1:-1;2286:2:0;2278:10;;:::i;:::-;;;2222:78;;;2310:19;2342:6;2332:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2332:17:0;;2310:39;;2360:154;2367:10;;2360:154;;2394:11;2404:1;2394:11;;:::i;:::-;;-1:-1:-1;2463:10:0;2471:2;2463:5;:10;:::i;:::-;2450:24;;:2;:24;:::i;:::-;2437:39;;2420:6;2427;2420:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;2420:56:0;;;;;;;;-1:-1:-1;2491:11:0;2500:2;2491:11;;:::i;:::-;;;2360:154;;27248:305;27350:4;-1:-1:-1;;;;;;27387:40:0;;-1:-1:-1;;;27387:40:0;;:105;;-1:-1:-1;;;;;;;27444:48:0;;-1:-1:-1;;;27444:48:0;27387:105;:158;;;-1:-1:-1;;;;;;;;;;19053:40:0;;;27509:36;18944:157;42375:589;-1:-1:-1;;;;;42581:18:0;;42577:187;;42616:40;42648:7;43791:10;:17;;43764:24;;;;:15;:24;;;;;:44;;;43819:24;;;;;;;;;;;;43687:164;42616:40;42577:187;;;42686:2;-1:-1:-1;;;;;42678:10:0;:4;-1:-1:-1;;;;;42678:10:0;;42674:90;;42705:47;42738:4;42744:7;42705:32;:47::i;:::-;-1:-1:-1;;;;;42778:16:0;;42774:183;;42811:45;42848:7;42811:36;:45::i;42774:183::-;42884:4;-1:-1:-1;;;;;42878:10:0;:2;-1:-1:-1;;;;;42878:10:0;;42874:83;;42905:40;42933:2;42937:7;42905:27;:40::i;34327:321::-;34457:18;34463:2;34467:7;34457:5;:18::i;:::-;34508:54;34539:1;34543:2;34547:7;34556:5;34508:22;:54::i;:::-;34486:154;;;;-1:-1:-1;;;34486:154:0;;;;;;;:::i;38184:799::-;38339:4;-1:-1:-1;;;;;38360:13:0;;8155:20;8203:8;38356:620;;38396:72;;-1:-1:-1;;;38396:72:0;;-1:-1:-1;;;;;38396:36:0;;;;;:72;;4348:10;;38447:4;;38453:7;;38462:5;;38396:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38396:72:0;;;;;;;;-1:-1:-1;;38396:72:0;;;;;;;;;;;;:::i;:::-;;;38392:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38638:13:0;;38634:272;;38681:60;;-1:-1:-1;;;38681:60:0;;;;;;;:::i;38634:272::-;38856:6;38850:13;38841:6;38837:2;38833:15;38826:38;38392:529;-1:-1:-1;;;;;;38519:51:0;-1:-1:-1;;;38519:51:0;;-1:-1:-1;38512:58:0;;38356:620;-1:-1:-1;38960:4:0;38184:799;;;;;;:::o;44478:988::-;44744:22;44794:1;44769:22;44786:4;44769:16;:22::i;:::-;:26;;;;:::i;:::-;44806:18;44827:26;;;:17;:26;;;;;;44744:51;;-1:-1:-1;44960:28:0;;;44956:328;;-1:-1:-1;;;;;45027:18:0;;45005:19;45027:18;;;:12;:18;;;;;;;;:34;;;;;;;;;45078:30;;;;;;:44;;;45195:30;;:17;:30;;;;;:43;;;44956:328;-1:-1:-1;45380:26:0;;;;:17;:26;;;;;;;;45373:33;;;-1:-1:-1;;;;;45424:18:0;;;;;:12;:18;;;;;:34;;;;;;;45417:41;44478:988::o;45761:1079::-;46039:10;:17;46014:22;;46039:21;;46059:1;;46039:21;:::i;:::-;46071:18;46092:24;;;:15;:24;;;;;;46465:10;:26;;46014:46;;-1:-1:-1;46092:24:0;;46014:46;;46465:26;;;;;;:::i;:::-;;;;;;;;;46443:48;;46529:11;46504:10;46515;46504:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;46609:28;;;:15;:28;;;;;;;:41;;;46781:24;;;;;46774:31;46816:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;45832:1008;;;45761:1079;:::o;43265:221::-;43350:14;43367:20;43384:2;43367:16;:20::i;:::-;-1:-1:-1;;;;;43398:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;43443:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;43265:221:0:o;34984:382::-;-1:-1:-1;;;;;35064:16:0;;35056:61;;;;-1:-1:-1;;;35056:61:0;;19174:2:1;35056:61:0;;;19156:21:1;;;19193:18;;;19186:30;19252:34;19232:18;;;19225:62;19304:18;;35056:61:0;18972:356:1;35056:61:0;33071:4;33095:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33095:16:0;:30;35128:58;;;;-1:-1:-1;;;35128:58:0;;19535:2:1;35128:58:0;;;19517:21:1;19574:2;19554:18;;;19547:30;19613;19593:18;;;19586:58;19661:18;;35128:58:0;19333:352:1;35128:58:0;35199:45;35228:1;35232:2;35236:7;35199:20;:45::i;:::-;-1:-1:-1;;;;;35257:13:0;;;;;;:9;:13;;;;;:18;;35274:1;;35257:13;:18;;35274:1;;35257:18;:::i;:::-;;;;-1:-1:-1;;35286:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;35286:21:0;-1:-1:-1;;;;;35286:21:0;;;;;;;;35325:33;;35286:16;;;35325:33;;35286:16;;35325:33;34984:382;;:::o;-1:-1:-1:-;;;;;;;:::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;592:160::-;657:20;;713:13;;706:21;696:32;;686:60;;742:1;739;732:12;686:60;592:160;;;:::o;757:180::-;813:6;866:2;854:9;845:7;841:23;837:32;834:52;;;882:1;879;872:12;834:52;905:26;921:9;905:26;:::i;942:258::-;1014:1;1024:113;1038:6;1035:1;1032:13;1024:113;;;1114:11;;;1108:18;1095:11;;;1088:39;1060:2;1053:10;1024:113;;;1155:6;1152:1;1149:13;1146:48;;;-1:-1:-1;;1190:1:1;1172:16;;1165:27;942:258::o;1205:::-;1247:3;1285:5;1279:12;1312:6;1307:3;1300:19;1328:63;1384:6;1377:4;1372:3;1368:14;1361:4;1354:5;1350:16;1328:63;:::i;:::-;1445:2;1424:15;-1:-1:-1;;1420:29:1;1411:39;;;;1452:4;1407:50;;1205:258;-1:-1:-1;;1205:258:1:o;1468:220::-;1617:2;1606:9;1599:21;1580:4;1637:45;1678:2;1667:9;1663:18;1655:6;1637:45;:::i;1693:180::-;1752:6;1805:2;1793:9;1784:7;1780:23;1776:32;1773:52;;;1821:1;1818;1811:12;1773:52;-1:-1:-1;1844:23:1;;1693:180;-1:-1:-1;1693:180:1:o;2086:173::-;2154:20;;-1:-1:-1;;;;;2203:31:1;;2193:42;;2183:70;;2249:1;2246;2239:12;2264:254;2332:6;2340;2393:2;2381:9;2372:7;2368:23;2364:32;2361:52;;;2409:1;2406;2399:12;2361:52;2432:29;2451:9;2432:29;:::i;:::-;2422:39;2508:2;2493:18;;;;2480:32;;-1:-1:-1;;;2264:254:1:o;2705:328::-;2782:6;2790;2798;2851:2;2839:9;2830:7;2826:23;2822:32;2819:52;;;2867:1;2864;2857:12;2819:52;2890:29;2909:9;2890:29;:::i;:::-;2880:39;;2938:38;2972:2;2961:9;2957:18;2938:38;:::i;:::-;2928:48;;3023:2;3012:9;3008:18;2995:32;2985:42;;2705:328;;;;;:::o;3038:248::-;3106:6;3114;3167:2;3155:9;3146:7;3142:23;3138:32;3135:52;;;3183:1;3180;3173:12;3135:52;-1:-1:-1;;3206:23:1;;;3276:2;3261:18;;;3248:32;;-1:-1:-1;3038:248:1:o;3570:127::-;3631:10;3626:3;3622:20;3619:1;3612:31;3662:4;3659:1;3652:15;3686:4;3683:1;3676:15;3702:632;3767:5;3797:18;3838:2;3830:6;3827:14;3824:40;;;3844:18;;:::i;:::-;3919:2;3913:9;3887:2;3973:15;;-1:-1:-1;;3969:24:1;;;3995:2;3965:33;3961:42;3949:55;;;4019:18;;;4039:22;;;4016:46;4013:72;;;4065:18;;:::i;:::-;4105:10;4101:2;4094:22;4134:6;4125:15;;4164:6;4156;4149:22;4204:3;4195:6;4190:3;4186:16;4183:25;4180:45;;;4221:1;4218;4211:12;4180:45;4271:6;4266:3;4259:4;4251:6;4247:17;4234:44;4326:1;4319:4;4310:6;4302;4298:19;4294:30;4287:41;;;;3702:632;;;;;:::o;4339:451::-;4408:6;4461:2;4449:9;4440:7;4436:23;4432:32;4429:52;;;4477:1;4474;4467:12;4429:52;4517:9;4504:23;4550:18;4542:6;4539:30;4536:50;;;4582:1;4579;4572:12;4536:50;4605:22;;4658:4;4650:13;;4646:27;-1:-1:-1;4636:55:1;;4687:1;4684;4677:12;4636:55;4710:74;4776:7;4771:2;4758:16;4753:2;4749;4745:11;4710:74;:::i;4795:186::-;4854:6;4907:2;4895:9;4886:7;4882:23;4878:32;4875:52;;;4923:1;4920;4913:12;4875:52;4946:29;4965:9;4946:29;:::i;4986:254::-;5051:6;5059;5112:2;5100:9;5091:7;5087:23;5083:32;5080:52;;;5128:1;5125;5118:12;5080:52;5151:29;5170:9;5151:29;:::i;:::-;5141:39;;5199:35;5230:2;5219:9;5215:18;5199:35;:::i;:::-;5189:45;;4986:254;;;;;:::o;5245:667::-;5340:6;5348;5356;5364;5417:3;5405:9;5396:7;5392:23;5388:33;5385:53;;;5434:1;5431;5424:12;5385:53;5457:29;5476:9;5457:29;:::i;:::-;5447:39;;5505:38;5539:2;5528:9;5524:18;5505:38;:::i;:::-;5495:48;;5590:2;5579:9;5575:18;5562:32;5552:42;;5645:2;5634:9;5630:18;5617:32;5672:18;5664:6;5661:30;5658:50;;;5704:1;5701;5694:12;5658:50;5727:22;;5780:4;5772:13;;5768:27;-1:-1:-1;5758:55:1;;5809:1;5806;5799:12;5758:55;5832:74;5898:7;5893:2;5880:16;5875:2;5871;5867:11;5832:74;:::i;:::-;5822:84;;;5245:667;;;;;;;:::o;5917:260::-;5985:6;5993;6046:2;6034:9;6025:7;6021:23;6017:32;6014:52;;;6062:1;6059;6052:12;6014:52;6085:29;6104:9;6085:29;:::i;:::-;6075:39;;6133:38;6167:2;6156:9;6152:18;6133:38;:::i;6182:356::-;6384:2;6366:21;;;6403:18;;;6396:30;6462:34;6457:2;6442:18;;6435:62;6529:2;6514:18;;6182:356::o;6543:380::-;6622:1;6618:12;;;;6665;;;6686:61;;6740:4;6732:6;6728:17;6718:27;;6686:61;6793:2;6785:6;6782:14;6762:18;6759:38;6756:161;;;6839:10;6834:3;6830:20;6827:1;6820:31;6874:4;6871:1;6864:15;6902:4;6899:1;6892:15;6756:161;;6543:380;;;:::o;8168:413::-;8370:2;8352:21;;;8409:2;8389:18;;;8382:30;8448:34;8443:2;8428:18;;8421:62;-1:-1:-1;;;8514:2:1;8499:18;;8492:47;8571:3;8556:19;;8168:413::o;8586:127::-;8647:10;8642:3;8638:20;8635:1;8628:31;8678:4;8675:1;8668:15;8702:4;8699:1;8692:15;8718:168;8758:7;8824:1;8820;8816:6;8812:14;8809:1;8806:21;8801:1;8794:9;8787:17;8783:45;8780:71;;;8831:18;;:::i;:::-;-1:-1:-1;8871:9:1;;8718:168::o;8891:127::-;8952:10;8947:3;8943:20;8940:1;8933:31;8983:4;8980:1;8973:15;9007:4;9004:1;8997:15;9023:120;9063:1;9089;9079:35;;9094:18;;:::i;:::-;-1:-1:-1;9128:9:1;;9023:120::o;10333:127::-;10394:10;10389:3;10385:20;10382:1;10375:31;10425:4;10422:1;10415:15;10449:4;10446:1;10439:15;11630:128;11670:3;11701:1;11697:6;11694:1;11691:13;11688:39;;;11707:18;;:::i;:::-;-1:-1:-1;11743:9:1;;11630:128::o;11763:125::-;11803:4;11831:1;11828;11825:8;11822:34;;;11836:18;;:::i;:::-;-1:-1:-1;11873:9:1;;11763:125::o;13001:184::-;13071:6;13124:2;13112:9;13103:7;13099:23;13095:32;13092:52;;;13140:1;13137;13130:12;13092:52;-1:-1:-1;13163:16:1;;13001:184;-1:-1:-1;13001:184:1:o;13541:135::-;13580:3;-1:-1:-1;;13601:17:1;;13598:43;;;13621:18;;:::i;:::-;-1:-1:-1;13668:1:1;13657:13;;13541:135::o;14097:470::-;14276:3;14314:6;14308:13;14330:53;14376:6;14371:3;14364:4;14356:6;14352:17;14330:53;:::i;:::-;14446:13;;14405:16;;;;14468:57;14446:13;14405:16;14502:4;14490:17;;14468:57;:::i;:::-;14541:20;;14097:470;-1:-1:-1;;;;14097:470:1:o;17556:414::-;17758:2;17740:21;;;17797:2;17777:18;;;17770:30;17836:34;17831:2;17816:18;;17809:62;-1:-1:-1;;;17902:2:1;17887:18;;17880:48;17960:3;17945:19;;17556:414::o;17975:112::-;18007:1;18033;18023:35;;18038:18;;:::i;:::-;-1:-1:-1;18072:9:1;;17975:112::o;18092:489::-;-1:-1:-1;;;;;18361:15:1;;;18343:34;;18413:15;;18408:2;18393:18;;18386:43;18460:2;18445:18;;18438:34;;;18508:3;18503:2;18488:18;;18481:31;;;18286:4;;18529:46;;18555:19;;18547:6;18529:46;:::i;:::-;18521:54;18092:489;-1:-1:-1;;;;;;18092:489:1:o;18586:249::-;18655:6;18708:2;18696:9;18687:7;18683:23;18679:32;18676:52;;;18724:1;18721;18714:12;18676:52;18756:9;18750:16;18775:30;18799:5;18775:30;:::i;18840:127::-;18901:10;18896:3;18892:20;18889:1;18882:31;18932:4;18929:1;18922:15;18956:4;18953:1;18946:15

Swarm Source

ipfs://9cbaba0350ebfaaab8af8c762141467210545f65c43dd7e77a0f814ca677b569
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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