Abstract Testnet

Token

Test (T)
ERC-721

Overview

Max Total Supply

0 T

Holders

3

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

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

Click here to update the token information / general information
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
Test721C

Compiler Version
v0.8.24+commit.e11b9ed9

ZkSolc Version
v1.5.7

Optimization Enabled:
Yes with Mode 3

Other Settings:
cancun EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 23 : Test721C.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.24;

import "@limitbreak/tm-core-lib/src/token/erc721/ERC721C.sol";

contract Test721C is ERC721C {
    address public owner;
    uint256 nextTokenId;

    constructor() 
        ERC721C("Test", "T")
        CreatorTokenBase(0x3203c3f64312AF9344e42EF8Aa45B97C9DFE4594)
    {
        owner = msg.sender;
    }

    function _requireCallerIsContractOwner() internal view override {
        if (msg.sender != owner) revert();
    }

    function mint(uint256 count) external {
        uint256 tokenId = nextTokenId;
        uint256 endTokenId = nextTokenId = tokenId + count;
        for (; tokenId < endTokenId; ++tokenId) {
            _mint(msg.sender, tokenId);
        }
    }
}

File 2 of 23 : ERC721C.sol
pragma solidity ^0.8.4;

import "./ERC721.sol";
import "../../utils/token/AutomaticValidatorTransferApproval.sol";
import "../../utils/token/CreatorTokenBase.sol";
import "../../utils/token/Constants.sol";

abstract contract ERC721CBase is ERC721, CreatorTokenBase, AutomaticValidatorTransferApproval {
    constructor(string memory name_, string memory symbol_) ERC721(name_, symbol_) { }

    /**
     * @notice Overrides behavior of isApprovedFor all such that if an operator is not explicitly approved
     *         for all, the contract owner can optionally auto-approve the 721-C transfer validator for transfers.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool isApproved) {
        isApproved = super.isApprovedForAll(owner, operator);

        if (!isApproved) {
            if (storageAutomaticValidatorTransferApproval().autoApproveTransfersFromValidator) {
                isApproved = operator == address(getTransferValidator());
            }
        }
    }

    /**
     * @notice Indicates whether the contract implements the specified interface.
     * @dev Overrides supportsInterface in ERC165.
     * @param interfaceId The interface id
     * @return true if the contract implements the specified interface, false otherwise
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return 
        interfaceId == type(ICreatorToken).interfaceId || 
        interfaceId == type(ICreatorTokenLegacy).interfaceId || 
        super.supportsInterface(interfaceId);
    }

    /**
     * @notice Returns the function selector for the transfer validator's validation function to be called 
     * @notice for transaction simulation. 
     */
    function getTransferValidationFunction() external pure returns (bytes4 functionSignature, bool isViewFunction) {
        functionSignature = bytes4(keccak256("validateTransfer(address,address,address,uint256)"));
        isViewFunction = true;
    }

    function _validateTransfer(
        address caller, 
        address from, 
        address to, 
        uint256 tokenId, 
        uint256 value
    ) internal virtual override {
        _preValidateTransfer(caller, from, to, tokenId, value);
    }

    function _tokenType() internal pure override returns(uint16) {
        return uint16(TOKEN_TYPE_ERC721);
    }
}

/**
 * @title ERC721C
 * @author Limit Break, Inc.
 * @notice Extends OpenZeppelin's ERC721 implementation with Creator Token functionality, which
 *         allows the contract owner to update the transfer validation logic by managing a security policy in
 *         an external transfer validation security policy registry.  See {CreatorTokenTransferValidator}.
 */
abstract contract ERC721C is ERC721CBase {
    constructor(string memory name_, string memory symbol_) ERC721CBase(name_, symbol_) { }
}

abstract contract ERC721CInitializable is ERC721CBase {
    struct StorageERC721Initializable {
        bool erc721Initialized;
    }

    bytes32 private constant ERC721_INITIALIZABLE_STORAGE_SLOT = keccak256("storage.ERC721Initializable");
    
    function storageERC721Initializable() internal pure returns (StorageERC721Initializable storage ptr) {
        bytes32 slot = ERC721_INITIALIZABLE_STORAGE_SLOT;
        assembly {
            ptr.slot := slot
        }
    }

    error ERC721OpenZeppelinInitializable__AlreadyInitializedERC721();

    constructor() ERC721CBase("", "") { }

    /// @dev Initializes parameters of ERC721 tokens.
    /// These cannot be set in the constructor because this contract is optionally compatible with EIP-1167.
    function initializeERC721(string memory name_, string memory symbol_) public virtual {
        _requireCallerIsContractOwner();

        if(storageERC721Initializable().erc721Initialized) {
            revert ERC721OpenZeppelinInitializable__AlreadyInitializedERC721();
        }

        storageERC721Initializable().erc721Initialized = true;

        StorageERC721.data().name = name_;
        StorageERC721.data().symbol = symbol_;

        _emitDefaultTransferValidator();
        _registerTokenType(getTransferValidator());
    }
}

File 3 of 23 : ERC721.sol
pragma solidity ^0.8.4;

import "./IERC721.sol";
import "./IERC721Errors.sol";
import "./IERC721Receiver.sol";
import "./IERC721Metadata.sol";
import "./StorageERC721.sol";
import "../../utils/introspection/ERC165.sol";
import "../../utils/misc/Strings.sol";
import "../../utils/token/TransferHooks.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
abstract contract ERC721 is TransferHooks, ERC165, IERC721, IERC721Metadata, IERC721Errors {
    using Strings for uint256;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        StorageERC721.data().name = name_;
        StorageERC721.data().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 returns (uint256) {
        if (owner == address(0)) {
            revert ERC721InvalidOwner(address(0));
        }
        return StorageERC721.data().balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual returns (address owner_) {
        owner_ = StorageERC721.data().owners[tokenId];
        if (owner_ == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        }
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual returns (string memory) {
        return StorageERC721.data().name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual returns (string memory) {
        return StorageERC721.data().symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual returns (string memory) {
        address owner_ = StorageERC721.data().owners[tokenId];
        if (owner_ == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        }

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string.concat(baseURI, tokenId.toString()) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual {
        address owner_ = StorageERC721.data().owners[tokenId];
            
        if (owner_ == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        } 

        if (owner_ != msg.sender) {
            if (!isApprovedForAll(owner_, msg.sender)) {
                revert ERC721InvalidApprover(msg.sender);
            }
        }

        emit Approval(owner_, to, tokenId);
        StorageERC721.data().tokenApprovals[tokenId] = to;
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual returns (address) {
        if (StorageERC721.data().owners[tokenId] == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        }

        return StorageERC721.data().tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual {
        if (operator == address(0)) {
            revert ERC721InvalidOperator(operator);
        }
        StorageERC721.data().operatorApprovals[_getOperatorApprovalKey(msg.sender, operator)] = approved;
        emit ApprovalForAll(msg.sender, operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        
        address previousOwner = StorageERC721.data().owners[tokenId];
        
        if (previousOwner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        }

        if (previousOwner != from) {
            revert ERC721IncorrectOwner(from, tokenId, previousOwner);
        }

        _validateTransfer(msg.sender, from, to, tokenId, 0);

        if (from == msg.sender ||
            isApprovedForAll(from, msg.sender) ||
            StorageERC721.data().tokenApprovals[tokenId] == msg.sender) {
            
            // Clear approval. No need to re-authorize or emit the Approval event
            StorageERC721.data().tokenApprovals[tokenId] = address(0);
    
            unchecked {
                --StorageERC721.data().balances[from];
                ++StorageERC721.data().balances[to];
            }
    
            StorageERC721.data().owners[tokenId] = to;
            emit Transfer(from, to, tokenId);
        } else {
            revert ERC721InsufficientApproval(msg.sender, tokenId);
        }
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {
        transferFrom(from, to, tokenId);
        _checkOnERC721Received(from, to, tokenId, data);
    }

    /**
     * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.
     *
     * 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 {
        _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);
        _checkOnERC721Received(address(0), to, tokenId, data);
    }

    /**
     * @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 {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }

        if (StorageERC721.data().owners[tokenId] != address(0)) {
            revert ERC721InvalidSender(address(0));
        }

        _validateMint(msg.sender, to, tokenId, msg.value);

        unchecked {
            ++StorageERC721.data().balances[to];
        }

        StorageERC721.data().owners[tokenId] = to;
        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal {
        address from = StorageERC721.data().owners[tokenId];
        if (from == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        }

        _validateBurn(msg.sender, from, tokenId, msg.value);

        // Clear approval. No need to re-authorize or emit the Approval event
        StorageERC721.data().tokenApprovals[tokenId] = address(0);

        unchecked {
            --StorageERC721.data().balances[from];
        }

        StorageERC721.data().owners[tokenId] = address(0);
        emit Transfer(from, address(0), tokenId);
    }

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the
     * recipient doesn't accept the token transfer. 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
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private {
        if (to.code.length > 0) {
            try IERC721Receiver(to).onERC721Received(msg.sender, from, tokenId, data) returns (bytes4 retval) {
                if (retval != IERC721Receiver.onERC721Received.selector) {
                    revert ERC721InvalidReceiver(to);
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert ERC721InvalidReceiver(to);
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }

    function _getOperatorApprovalKey(address owner_, address operator_) internal pure returns (bytes32 key) {
        assembly {
            mstore(0x00, owner_)
            mstore(0x20, operator_)
            key := keccak256(0x00, 0x40)
        }
    }
}

File 4 of 23 : AutomaticValidatorTransferApproval.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "../access/OwnablePermissions.sol";

/**
 * @title AutomaticValidatorTransferApproval
 * @author Limit Break, Inc.
 * @notice Base contract mix-in that provides boilerplate code giving the contract owner the
 *         option to automatically approve a 721-C transfer validator implementation for transfers.
 */
abstract contract AutomaticValidatorTransferApproval is OwnablePermissions {
    struct StorageAutomaticValidatorTransferApproval {
        bool autoApproveTransfersFromValidator;
    }

    bytes32 private constant AUTOMATIC_VALIDATOR_TRANSFER_APPROVAL_STORAGE_SLOT = keccak256("storage.AutomaticValidatorTransferApproval");
    
    function storageAutomaticValidatorTransferApproval() internal pure returns (StorageAutomaticValidatorTransferApproval storage ptr) {
        bytes32 slot = AUTOMATIC_VALIDATOR_TRANSFER_APPROVAL_STORAGE_SLOT;
        assembly {
            ptr.slot := slot
        }
    }

    /// @dev Emitted when the automatic approval flag is modified by the creator.
    event AutomaticApprovalOfTransferValidatorSet(bool autoApproved);

    /**
     * @notice Sets if the transfer validator is automatically approved as an operator for all token owners.
     * 
     * @dev    Throws when the caller is not the contract owner.
     * 
     * @param autoApprove If true, the collection's transfer validator will be automatically approved to
     *                    transfer holder's tokens.
     */
    function setAutomaticApprovalOfTransfersFromValidator(bool autoApprove) external {
        _requireCallerIsContractOwner();
        storageAutomaticValidatorTransferApproval().autoApproveTransfersFromValidator = autoApprove;
        emit AutomaticApprovalOfTransferValidatorSet(autoApprove);
    }

    function autoApproveTransfersFromValidator() public view returns (bool) {
        return storageAutomaticValidatorTransferApproval().autoApproveTransfersFromValidator;
    }
}

File 5 of 23 : CreatorTokenBase.sol
pragma solidity ^0.8.4;

import "./ICreatorToken.sol";
import "./ICreatorTokenLegacy.sol";
import "./ITransferValidator.sol";
import "./ITransferValidatorSetTokenType.sol";
import "./TransferValidation.sol";
import "../access/OwnablePermissions.sol";

/**
 * @title CreatorTokenBase
 * @author Limit Break, Inc.
 * @notice CreatorTokenBaseV3 is an abstract contract that provides basic functionality for managing token 
 * transfer policies through an implementation of ICreatorTokenTransferValidator/ICreatorTokenTransferValidatorV2/ICreatorTokenTransferValidatorV3. 
 * This contract is intended to be used as a base for creator-specific token contracts, enabling customizable transfer 
 * restrictions and security policies.
 *
 * <h4>Features:</h4>
 * <ul>Ownable: This contract can have an owner who can set and update the transfer validator.</ul>
 * <ul>TransferValidation: Implements the basic token transfer validation interface.</ul>
 *
 * <h4>Benefits:</h4>
 * <ul>Provides a flexible and modular way to implement custom token transfer restrictions and security policies.</ul>
 * <ul>Allows creators to enforce policies such as account and codehash blacklists, whitelists, and graylists.</ul>
 * <ul>Can be easily integrated into other token contracts as a base contract.</ul>
 *
 * <h4>Intended Usage:</h4>
 * <ul>Use as a base contract for creator token implementations that require advanced transfer restrictions and 
 *   security policies.</ul>
 * <ul>Set and update the ICreatorTokenTransferValidator implementation contract to enforce desired policies for the 
 *   creator token.</ul>
 *
 * <h4>Compatibility:</h4>
 * <ul>Backward and Forward Compatible - V1/V2/V3 Creator Token Base will work with V1/V2/V3 Transfer Validators.</ul>
 */
abstract contract CreatorTokenBase is OwnablePermissions, TransferValidation, ICreatorToken {
    struct StorageCreatorToken {
        bool isValidatorInitialized;
        address transferValidator;
    }

    bytes32 private constant CREATOR_TOKEN_STORAGE_SLOT = keccak256("storage.CreatorToken");
    
    function storageCreatorToken() internal pure returns (StorageCreatorToken storage ptr) {
        bytes32 slot = CREATOR_TOKEN_STORAGE_SLOT;
        assembly {
            ptr.slot := slot
        }
    }

    /// @dev Thrown when setting a transfer validator address that has no deployed code.
    error CreatorTokenBase__InvalidTransferValidatorContract();

    /// @dev The default transfer validator that will be used if no transfer validator has been set by the creator.
    address private immutable DEFAULT_TRANSFER_VALIDATOR;

    constructor(address defaultTransferValidator_) {
        DEFAULT_TRANSFER_VALIDATOR = defaultTransferValidator_;
        _emitDefaultTransferValidator();
        _registerTokenType(DEFAULT_TRANSFER_VALIDATOR);
    }

    /**
     * @notice Sets the transfer validator for the token contract.
     *
     * @dev    Throws when provided validator contract is not the zero address and does not have code.
     * @dev    Throws when the caller is not the contract owner.
     *
     * @dev    <h4>Postconditions:</h4>
     *         1. The transferValidator address is updated.
     *         2. The `TransferValidatorUpdated` event is emitted.
     *
     * @param transferValidator_ The address of the transfer validator contract.
     */
    function setTransferValidator(address transferValidator_) public {
        _requireCallerIsContractOwner();

        bool isValidTransferValidator = transferValidator_.code.length > 0;

        if(transferValidator_ != address(0) && !isValidTransferValidator) {
            revert CreatorTokenBase__InvalidTransferValidatorContract();
        }

        emit TransferValidatorUpdated(address(getTransferValidator()), transferValidator_);

        storageCreatorToken().isValidatorInitialized = true;
        storageCreatorToken().transferValidator = transferValidator_;

        _registerTokenType(transferValidator_);
    }

    /**
     * @notice Returns the default transfer validator contract address for this token contract.
     *         This validator will be used if no transfer validator has been set by the creator.
     */
    function getDefaultTransferValidator() public virtual view returns (address) {
        return DEFAULT_TRANSFER_VALIDATOR;
    }

    /**
     * @notice Returns the transfer validator contract address for this token contract.
     */
    function getTransferValidator() public view override returns (address validator) {
        validator = storageCreatorToken().transferValidator;

        if (validator == address(0)) {
            if (!storageCreatorToken().isValidatorInitialized) {
                validator = getDefaultTransferValidator();
            }
        }
    }

    /**
     * @dev Pre-validates a token transfer, reverting if the transfer is not allowed by this token's security policy.
     *      Inheriting contracts are responsible for overriding the _beforeTokenTransfer function, or its equivalent
     *      and calling _validateBeforeTransfer so that checks can be properly applied during token transfers.
     *
     * @dev Be aware that if the msg.sender is the transfer validator, the transfer is automatically permitted, as the
     *      transfer validator is expected to pre-validate the transfer.
     *
     * @dev Throws when the transfer doesn't comply with the collection's transfer policy, if the transferValidator is
     *      set to a non-zero address.
     *
     * @param caller  The address of the caller.
     * @param from    The address of the sender.
     * @param to      The address of the receiver.
     * @param tokenId The token id being transferred.
     */
    function _preValidateTransfer(
        address caller, 
        address from, 
        address to, 
        uint256 tokenId, 
        uint256 /*value*/) internal virtual override {
        address validator = getTransferValidator();

        if (validator != address(0)) {
            if (msg.sender == validator) {
                return;
            }

            ITransferValidator(validator).validateTransfer(caller, from, to, tokenId);
        }
    }

    /**
     * @dev Pre-validates a token transfer, reverting if the transfer is not allowed by this token's security policy.
     *      Inheriting contracts are responsible for overriding the _beforeTokenTransfer function, or its equivalent
     *      and calling _validateBeforeTransfer so that checks can be properly applied during token transfers.
     *
     * @dev Be aware that if the msg.sender is the transfer validator, the transfer is automatically permitted, as the
     *      transfer validator is expected to pre-validate the transfer.
     * 
     * @dev Used for ERC20 and ERC1155 token transfers which have an amount value to validate in the transfer validator.
     * @dev The `tokenId` for ERC20 tokens should be set to `0`.
     *
     * @dev Throws when the transfer doesn't comply with the collection's transfer policy, if the transferValidator is
     *      set to a non-zero address.
     *
     * @param caller  The address of the caller.
     * @param from    The address of the sender.
     * @param to      The address of the receiver.
     * @param tokenId The token id being transferred.
     * @param amount  The amount of token being transferred.
     */
    function _preValidateTransfer(
        address caller, 
        address from, 
        address to, 
        uint256 tokenId, 
        uint256 amount,
        uint256 /*value*/) internal virtual override {
        address validator = getTransferValidator();

        if (validator != address(0)) {
            if (msg.sender == validator) {
                return;
            }

            ITransferValidator(validator).validateTransfer(caller, from, to, tokenId, amount);
        }
    }

    function _tokenType() internal virtual pure returns(uint16);

    function _registerTokenType(address validator) internal {
        if (validator != address(0)) {
            uint256 validatorCodeSize;
            assembly {
                validatorCodeSize := extcodesize(validator)
            }
            if(validatorCodeSize > 0) {
                try ITransferValidatorSetTokenType(validator).setTokenTypeOfCollection(address(this), _tokenType()) {
                } catch { }
            }
        }
    }

    /**
     * @dev  Used during contract deployment for constructable and cloneable creator tokens
     * @dev  to emit the `TransferValidatorUpdated` event signaling the validator for the contract
     * @dev  is the default transfer validator.
     */
    function _emitDefaultTransferValidator() internal {
        emit TransferValidatorUpdated(address(0), getDefaultTransferValidator());
    }
}

File 6 of 23 : Constants.sol
pragma solidity ^0.8.4;

/// @dev Constant value representing the ERC721 token type for signatures and transfer hooks
uint256 constant TOKEN_TYPE_ERC721 = 721;
/// @dev Constant value representing the ERC1155 token type for signatures and transfer hooks
uint256 constant TOKEN_TYPE_ERC1155 = 1155;
/// @dev Constant value representing the ERC20 token type for signatures and transfer hooks
uint256 constant TOKEN_TYPE_ERC20 = 20;

File 7 of 23 : IERC721.sol
pragma solidity ^0.8.4;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

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

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

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

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

File 8 of 23 : IERC721Errors.sol
pragma solidity ^0.8.4;

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

File 9 of 23 : IERC721Receiver.sol
pragma solidity ^0.8.4;

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

File 10 of 23 : IERC721Metadata.sol
pragma solidity ^0.8.4;

import "./IERC721.sol";

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

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

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

File 11 of 23 : StorageERC721.sol
pragma solidity ^0.8.4;

library StorageERC721 {
    bytes32 private constant DATA_STORAGE_SLOT = keccak256("storage.ERC721");

    struct Data {
        string name;
        string symbol;

        mapping(uint256 => address) owners;
        mapping(address => uint256) balances;
        mapping(uint256 => address) tokenApprovals;
        mapping(bytes32 => bool) operatorApprovals;
    }

    function data() internal pure returns (Data storage ptr) {
        bytes32 slot = DATA_STORAGE_SLOT;
        assembly {
            ptr.slot := slot
        }
    }
}

File 12 of 23 : ERC165.sol
pragma solidity ^0.8.4;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC-165 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);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 13 of 23 : Strings.sol
pragma solidity ^0.8.4;

import "../math/Math.sol";
import "../math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        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_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 14 of 23 : TransferHooks.sol
pragma solidity ^0.8.4;

abstract contract TransferHooks {
    
    /*************************************************************************/
    /*                      Transfers Without Amounts                        */
    /*************************************************************************/

    /// @dev Optional validation hook that fires before a mint
    function _validateMint(address caller, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a burn
    function _validateBurn(address caller, address from, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a transfer
    function _validateTransfer(address caller, address from, address to, uint256 tokenId, uint256 value) internal virtual {}

    /*************************************************************************/
    /*                         Transfers With Amounts                        */
    /*************************************************************************/

    /// @dev Optional validation hook that fires before a mint
    function _validateMint(address caller, address to, uint256 tokenId, uint256 amount, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a burn
    function _validateBurn(address caller, address from, uint256 tokenId, uint256 amount, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a transfer
    function _validateTransfer(address caller, address from, address to, uint256 tokenId, uint256 amount, uint256 value) internal virtual {}
}

File 15 of 23 : OwnablePermissions.sol
pragma solidity ^0.8.4;

abstract contract OwnablePermissions {
    function _requireCallerIsContractOwner() internal view virtual;
}

File 16 of 23 : ICreatorToken.sol
pragma solidity ^0.8.4;

interface ICreatorToken {
    event TransferValidatorUpdated(address oldValidator, address newValidator);
    function getTransferValidator() external view returns (address validator);
    function setTransferValidator(address validator) external;
    function getTransferValidationFunction() external view returns (bytes4 functionSignature, bool isViewFunction);
}

File 17 of 23 : ICreatorTokenLegacy.sol
pragma solidity ^0.8.4;

interface ICreatorTokenLegacy {
    event TransferValidatorUpdated(address oldValidator, address newValidator);
    function getTransferValidator() external view returns (address validator);
    function setTransferValidator(address validator) external;
}

File 18 of 23 : ITransferValidator.sol
pragma solidity ^0.8.4;

interface ITransferValidator {
    function applyCollectionTransferPolicy(address caller, address from, address to) external view;
    function validateTransfer(address caller, address from, address to) external view;
    function validateTransfer(address caller, address from, address to, uint256 tokenId) external view;
    function validateTransfer(address caller, address from, address to, uint256 tokenId, uint256 amount) external;

    function beforeAuthorizedTransfer(address operator, address token, uint256 tokenId) external;
    function afterAuthorizedTransfer(address token, uint256 tokenId) external;
    function beforeAuthorizedTransfer(address operator, address token) external;
    function afterAuthorizedTransfer(address token) external;
    function beforeAuthorizedTransfer(address token, uint256 tokenId) external;
    function beforeAuthorizedTransferWithAmount(address token, uint256 tokenId, uint256 amount) external;
    function afterAuthorizedTransferWithAmount(address token, uint256 tokenId) external;
}

File 19 of 23 : ITransferValidatorSetTokenType.sol
pragma solidity ^0.8.4;

interface ITransferValidatorSetTokenType {
    function setTokenTypeOfCollection(address collection, uint16 tokenType) external;
}

File 20 of 23 : TransferValidation.sol
pragma solidity ^0.8.4;

/**
 * @title TransferValidation
 * @author Limit Break, Inc.
 * @notice A mix-in that can be combined with ERC-721 contracts to provide more granular hooks.
 * Openzeppelin's ERC721 contract only provides hooks for before and after transfer.  This allows
 * developers to validate or customize transfers within the context of a mint, a burn, or a transfer.
 */
abstract contract TransferValidation {
    
    /// @dev Thrown when the from and to address are both the zero address.
    error ShouldNotMintToBurnAddress();

    /*************************************************************************/
    /*                      Transfers Without Amounts                        */
    /*************************************************************************/

    /// @dev Inheriting contracts should call this function in the _beforeTokenTransfer function to get more granular hooks.
    function _validateBeforeTransfer(address from, address to, uint256 tokenId) internal virtual {
        bool fromZeroAddress = from == address(0);
        bool toZeroAddress = to == address(0);

        if(fromZeroAddress && toZeroAddress) {
            revert ShouldNotMintToBurnAddress();
        } else if(fromZeroAddress) {
            _preValidateMint(msg.sender, to, tokenId, msg.value);
        } else if(toZeroAddress) {
            _preValidateBurn(msg.sender, from, tokenId, msg.value);
        } else {
            _preValidateTransfer(msg.sender, from, to, tokenId, msg.value);
        }
    }

    /// @dev Inheriting contracts should call this function in the _afterTokenTransfer function to get more granular hooks.
    function _validateAfterTransfer(address from, address to, uint256 tokenId) internal virtual {
        bool fromZeroAddress = from == address(0);
        bool toZeroAddress = to == address(0);

        if(fromZeroAddress && toZeroAddress) {
            revert ShouldNotMintToBurnAddress();
        } else if(fromZeroAddress) {
            _postValidateMint(msg.sender, to, tokenId, msg.value);
        } else if(toZeroAddress) {
            _postValidateBurn(msg.sender, from, tokenId, msg.value);
        } else {
            _postValidateTransfer(msg.sender, from, to, tokenId, msg.value);
        }
    }

    /// @dev Optional validation hook that fires before a mint
    function _preValidateMint(address caller, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a mint
    function _postValidateMint(address caller, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a burn
    function _preValidateBurn(address caller, address from, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a burn
    function _postValidateBurn(address caller, address from, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a transfer
    function _preValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a transfer
    function _postValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 value) internal virtual {}

    /*************************************************************************/
    /*                         Transfers With Amounts                        */
    /*************************************************************************/

    /// @dev Inheriting contracts should call this function in the _beforeTokenTransfer function to get more granular hooks.
    function _validateBeforeTransfer(address from, address to, uint256 tokenId, uint256 amount) internal virtual {
        bool fromZeroAddress = from == address(0);
        bool toZeroAddress = to == address(0);

        if(fromZeroAddress && toZeroAddress) {
            revert ShouldNotMintToBurnAddress();
        } else if(fromZeroAddress) {
            _preValidateMint(msg.sender, to, tokenId, amount, msg.value);
        } else if(toZeroAddress) {
            _preValidateBurn(msg.sender, from, tokenId, amount, msg.value);
        } else {
            _preValidateTransfer(msg.sender, from, to, tokenId, amount, msg.value);
        }
    }

    /// @dev Inheriting contracts should call this function in the _afterTokenTransfer function to get more granular hooks.
    function _validateAfterTransfer(address from, address to, uint256 tokenId, uint256 amount) internal virtual {
        bool fromZeroAddress = from == address(0);
        bool toZeroAddress = to == address(0);

        if(fromZeroAddress && toZeroAddress) {
            revert ShouldNotMintToBurnAddress();
        } else if(fromZeroAddress) {
            _postValidateMint(msg.sender, to, tokenId, amount, msg.value);
        } else if(toZeroAddress) {
            _postValidateBurn(msg.sender, from, tokenId, amount, msg.value);
        } else {
            _postValidateTransfer(msg.sender, from, to, tokenId, amount, msg.value);
        }
    }

    /// @dev Optional validation hook that fires before a mint
    function _preValidateMint(address caller, address to, uint256 tokenId, uint256 amount, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a mint
    function _postValidateMint(address caller, address to, uint256 tokenId, uint256 amount, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a burn
    function _preValidateBurn(address caller, address from, uint256 tokenId, uint256 amount, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a burn
    function _postValidateBurn(address caller, address from, uint256 tokenId, uint256 amount, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a transfer
    function _preValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 amount, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a transfer
    function _postValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 amount, uint256 value) internal virtual {}
}

File 21 of 23 : IERC165.sol
pragma solidity ^0.8.4;

/**
 * @dev Interface of the ERC-165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[ERC].
 *
 * 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[ERC 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 22 of 23 : Math.sol
pragma solidity ^0.8.4;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

File 23 of 23 : SignedMath.sol
pragma solidity ^0.8.4;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

Settings
{
  "viaIR": false,
  "codegen": "yul",
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "@limitbreak/tm-core-lib/=lib/tm-core-lib/",
    "@limitbreak/permit-c/=lib/PermitC/src/",
    "@openzeppelin/=lib/PermitC/lib/openzeppelin-contracts/",
    "@rari-capital/solmate/=lib/PermitC/lib/solmate/",
    "PermitC/=lib/PermitC/",
    "erc4626-tests/=lib/PermitC/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-gas-metering/=lib/PermitC/lib/forge-gas-metering/",
    "openzeppelin-contracts/=lib/PermitC/lib/openzeppelin-contracts/",
    "openzeppelin/=lib/PermitC/lib/openzeppelin-contracts/contracts/",
    "solady/=lib/PermitC/lib/forge-gas-metering/lib/solady/",
    "solmate/=lib/PermitC/lib/solmate/src/",
    "tm-core-lib/=lib/tm-core-lib/src/"
  ],
  "evmVersion": "cancun",
  "outputSelection": {
    "*": {
      "*": [
        "abi",
        "metadata"
      ],
      "": [
        "ast"
      ]
    }
  },
  "optimizer": {
    "enabled": true,
    "mode": "3",
    "fallback_to_optimizing_for_size": false,
    "disable_system_request_memoization": true
  },
  "metadata": {},
  "libraries": {},
  "enableEraVMExtensions": false,
  "forceEVMLA": false
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CreatorTokenBase__InvalidTransferValidatorContract","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"inputs":[],"name":"ShouldNotMintToBurnAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"autoApproved","type":"bool"}],"name":"AutomaticApprovalOfTransferValidatorSet","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldValidator","type":"address"},{"indexed":false,"internalType":"address","name":"newValidator","type":"address"}],"name":"TransferValidatorUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoApproveTransfersFromValidator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"getDefaultTransferValidator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTransferValidationFunction","outputs":[{"internalType":"bytes4","name":"functionSignature","type":"bytes4"},{"internalType":"bool","name":"isViewFunction","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getTransferValidator","outputs":[{"internalType":"address","name":"validator","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":"isApproved","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"autoApprove","type":"bool"}],"name":"setAutomaticApprovalOfTransfersFromValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"transferValidator_","type":"address"}],"name":"setTransferValidator","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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"}]

9c4d535b000000000000000000000000000000000000000000000000000000000000000001000287c82809b7d3838524f225831b2e99862629153526dbcc9b7b83bbb3ec00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x0002000000000002000600000000000200010000000103550000000100200190000000430000c13d00000060021002700000021f042001970000008002000039000000400020043f000000040040008c000004e20000413d000000000201043b000000e002200270000002320020009c000000890000a13d000002330020009c0000009f0000a13d000002340020009c000001350000213d000002380020009c000001c10000613d000002390020009c0000025c0000613d0000023a0020009c000004e20000c13d000000240040008c000004e20000413d0000000002000416000000000002004b000004e20000c13d0000000401100370000000000101043b000400000001001d0000022a0010009c000004e20000213d000000000100041a0000022a011001970000000002000411000000000012004b000004e20000c13d0000022b0100004100000000001004430000000401000029000000040010044300000000010004140000021f0010009c0000021f01008041000000c0011002100000022c011001c70000800202000039087808730000040f0000000100200190000004e40000613d0000000404000029000000000004004b0000043d0000613d000000000101043b000000000001004b0000043d0000c13d000000400100043d000002530200004100000000002104350000021f0010009c0000021f01008041000000400110021000000254011001c70000087a00010430000000a001000039000000400010043f0000000001000416000000000001004b000004e20000c13d0000000401000039000000a00010043f0000022001000041000000c00010043f0000012001000039000000400010043f0000000101000039000000e00010043f0000022101000041000001000010043f0000022201000041000000000101041a000000010210019000000001031002700000007f0330618f0000001f0030008c00000000010000390000000101002039000000000012004b000000620000613d0000025a01000041000000000010043f0000002201000039000000040010043f00000251010000410000087a00010430000000200030008c0000007b0000413d000400000003001d0000022201000041000000000010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000223011001c70000801002000039087808730000040f0000000100200190000004e20000613d000000000101043b00000004020000290000001f0220003900000005022002700000000002210019000000000021004b0000007b0000813d000000000001041b0000000101100039000000000021004b000000770000413d000000c00100043d000002240110019700000008011001bf0000022202000041000000000012041b000000e00400043d000002250040009c000000f60000413d0000025a01000041000000000010043f0000004101000039000000040010043f00000251010000410000087a00010430000002410020009c000000ca0000213d000002480020009c000001600000a13d000002490020009c000001d60000613d0000024a0020009c000002760000613d0000024b0020009c000004e20000c13d0000000001000416000000000001004b000004e20000c13d087805750000040f0000022a01100197000000400200043d00000000001204350000021f0020009c0000021f0200804100000040012002100000024e011001c7000008790001042e0000023b0020009c0000014e0000a13d0000023c0020009c000001910000613d0000023d0020009c000001990000613d0000023e0020009c000004e20000c13d000000240040008c000004e20000413d0000000002000416000000000002004b000004e20000c13d0000000401100370000000000101043b000000000001004b0000000002000039000000010200c039000000000021004b000004e20000c13d000000000200041a0000022a022001970000000003000411000000000023004b000004e20000c13d0000026402000041000000000302041a0000027703300197000000000313019f000000000032041b000000800010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000265011001c70000800d02000039000000010300003900000266040000410878086e0000040f0000000100200190000004740000c13d000004e20000013d000002420020009c000001850000a13d000002430020009c000001f40000613d000002440020009c0000029e0000613d000002450020009c000004e20000c13d000000240040008c000004e20000413d0000000002000416000000000002004b000004e20000c13d0000000401100370000000000101043b000400000001001d000000000010043f0000024f01000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000004e20000613d000000400200043d0000021f0020009c0000021f0300004100000000030240190000004003300210000000000101043b000000000101041a0000022a011001980000038d0000c13d0000025001000041000000000012043500000004012000390000000402000029000000000021043500000251013001c70000087a000104300000022601000041000000000101041a000000010010019000000001031002700000007f0330618f0000001f0030008c00000000020000390000000102002039000000000121013f00000001001001900000005c0000c13d000000200030008c000001210000413d000300000003001d000400000004001d0000022601000041000000000010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000223011001c70000801002000039087808730000040f0000000100200190000004e20000613d00000004040000290000001f024000390000000502200270000000200040008c0000000002004019000000000301043b00000003010000290000001f01100039000000050110027000000000011300190000000002230019000000000012004b000001210000813d000000000002041b0000000102200039000000000012004b0000011d0000413d0000001f0040008c000002e90000a13d000400000004001d0000022601000041000000000010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000223011001c70000801002000039087808730000040f0000000100200190000004e20000613d00000004060000290000027802600198000000000101043b000002f40000c13d0000010003000039000003020000013d000002350020009c000002070000613d000002360020009c000002a90000613d000002370020009c000004e20000c13d000000440040008c000004e20000413d0000000002000416000000000002004b000004e20000c13d0000000402100370000000000302043b0000022a0030009c000004e20000213d0000002401100370000000000201043b0000022a0020009c000004e20000213d0000000001030019087807ff0000040f000000000001004b0000000001000039000000010100c039000000980000013d0000023f0020009c0000024f0000613d000002400020009c000004e20000c13d0000000001000416000000000001004b000004e20000c13d0000000001000412000600000001001d000500000000003d000080050100003900000044030000390000000004000415000000060440008a00000005044002100000025602000041087808550000040f000001950000013d0000024c0020009c000002cc0000613d0000024d0020009c000004e20000c13d0000000001000416000000000001004b000004e20000c13d0000022201000041000000000201041a000000010420019000000001012002700000007f0310018f00000000010360190000001f0010008c00000000050000390000000105002039000000000552013f00000001005001900000005c0000c13d000000800010043f000000000004004b000001ab0000613d0000022203000041000000000030043f000000020020008c0000000002000019000001b00000413d0000026f030000410000000002000019000000000403041a000000a005200039000000000045043500000001033000390000002002200039000000000012004b0000017d0000413d000001b00000013d000002460020009c000002e00000613d000002470020009c000004e20000c13d0000000001000416000000000001004b000004e20000c13d0000000001040019087805360000040f087805a00000040f0000000001000019000008790001042e0000000001000416000000000001004b000004e20000c13d000000000100041a0000022a01100197000000800010043f0000026801000041000008790001042e0000000001000416000000000001004b000004e20000c13d0000022601000041000000000201041a000000010420019000000001012002700000007f0310018f00000000010360190000001f0010008c00000000050000390000000105002039000000000552013f00000001005001900000005c0000c13d000000800010043f000000000004004b000003760000c13d0000027701200197000000a00010043f000000000003004b0000002002000039000000000200603900000020022000390000008001000039087805530000040f000000400100043d000400000001001d0000008002000039087805210000040f000000040200002900000000012100490000021f0010009c0000021f0100804100000060011002100000021f0020009c0000021f020080410000004002200210000000000121019f000008790001042e000000240040008c000004e20000413d0000000002000416000000000002004b000004e20000c13d0000000102000039000000000302041a0000000401100370000000000101043b000000000031001a000005090000413d0000000001310019000000000012041b000200000001001d000000000013004b000004740000813d0000000001000411000000000001004b000003930000c13d0000026301000041000002720000013d000000240040008c000004e20000413d0000000002000416000000000002004b000004e20000c13d0000000401100370000000000101043b000400000001001d000000000010043f0000024f01000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000004e20000613d000000000101043b000000000101041a0000022a00100198000003850000c13d000000400100043d0000025002000041000000000021043500000004021000390000000403000029000002980000013d0000000001000416000000000001004b000004e20000c13d0000000001040019087805360000040f000400000001001d000300000002001d000200000003001d000000400100043d000100000001001d087805480000040f000000010400002900000000000404350000000401000029000000030200002900000002030000290878071b0000040f0000000001000019000008790001042e000000840040008c000004e20000413d0000000002000416000000000002004b000004e20000c13d0000000402100370000000000502043b0000022a0050009c000004e20000213d0000002402100370000000000202043b0000022a0020009c000004e20000213d0000006403100370000000000603043b0000022f0060009c000004e20000213d0000002303600039000000000043004b000004e20000813d0000000407600039000000000371034f000000000303043b0000022f0030009c000000830000213d0000001f0930003900000278099001970000003f099000390000027809900197000002520090009c000000830000213d0000008009900039000000400090043f000000800030043f00000000063600190000002406600039000000000046004b000004e20000213d0000002004700039000000000641034f00000278073001980000001f0830018f000000a004700039000002390000613d000000a009000039000000000a06034f00000000ab0a043c0000000009b90436000000000049004b000002350000c13d000000000008004b000002460000613d000000000676034f0000000307800210000000000804043300000000087801cf000000000878022f000000000606043b0000010007700089000000000676022f00000000067601cf000000000686019f0000000000640435000000a00330003900000000000304350000004401100370000000000301043b000000800400003900000000010500190878071b0000040f0000000001000019000008790001042e000000240040008c000004e20000413d0000000002000416000000000002004b000004e20000c13d0000000401100370000000000101043b0000022a0010009c000004e20000213d000000000001004b000003900000c13d0000026901000041000002720000013d000000440040008c000004e20000413d0000000002000416000000000002004b000004e20000c13d0000000402100370000000000202043b000400000002001d0000022a0020009c000004e20000213d0000002401100370000000000201043b000000000002004b0000000001000039000000010100c039000300000002001d000000000012004b000004e20000c13d0000000401000029000000000001004b000003f20000c13d0000025d01000041000000800010043f000000840000043f0000025e010000410000087a00010430000000440040008c000004e20000413d0000000002000416000000000002004b000004e20000c13d0000000402100370000000000202043b000400000002001d0000022a0020009c000004e20000213d0000002401100370000000000101043b000300000001001d000000000010043f0000024f01000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000004e20000613d000000000101043b000000000101041a0000022a05100198000004250000c13d000000400100043d000002500200004100000000002104350000000402100039000000030300002900000000003204350000021f0010009c0000021f01008041000000400110021000000251011001c70000087a000104300000000001000416000000000001004b000004e20000c13d0000026401000041000000000101041a000000ff001001900000000001000039000000010100c039000000800010043f0000026801000041000008790001042e000000240040008c000004e20000413d0000000002000416000000000002004b000004e20000c13d0000000401100370000000000101043b000400000001001d000000000010043f0000024f01000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000004e20000613d000000400300043d000000000101043b000000000101041a0000022a00100198000003db0000c13d000002500100004100000000001304350000000401300039000000040200002900000000002104350000021f0030009c0000021f03008041000000400130021000000251011001c70000087a00010430000000240040008c000004e20000413d0000000002000416000000000002004b000004e20000c13d0000000401100370000000000201043b0000027000200198000004e20000c13d00000001010000390000022402200197000002710020009c000003eb0000a13d000002720020009c000002a60000613d000002730020009c000002a60000613d000002740020009c000002a60000613d000003ef0000013d0000000001000416000000000001004b000004e20000c13d0000026a01000041000000800010043f0000000101000039000000a00010043f0000026b01000041000008790001042e000000000004004b0000000001000019000002ed0000613d000001000100043d0000000302400210000002790220027f0000027902200167000000000121016f0000000102400210000000000121019f0000030d0000013d000000010320008a00000005033002700000000003310019000000200400003900000001033000390000000005040019000000e0044000390000000004040433000000000041041b00000020045000390000000101100039000000000031004b000002f90000c13d0000010003500039000000000062004b0000030b0000813d0000000302600210000000f80220018f000002790220027f00000279022001670000000003030433000000000223016f000000000021041b000000010160021000000001011001bf0000022602000041000000000012041b0000022701000041000000800010043f000000400200043d0000002003200039000000000013043500000000000204350000021f0020009c0000021f02008041000000400120021000000000020004140000021f0020009c0000021f02008041000000c002200210000000000112019f00000228011001c70000800d02000039000000010300003900000229040000410878086e0000040f0000000100200190000004e20000613d000000800100043d0000022a02100198000003350000c13d000000000100041a00000230011001970000000002000411000000000121019f000000000010041b000000800100043d0000014000000443000001600010044300000020010000390000010000100443000000010100003900000120001004430000023101000041000008790001042e0000022b010000410000000000100443000400000002001d000000040020044300000000010004140000021f0010009c0000021f01008041000000c0011002100000022c011001c70000800202000039087808730000040f0000000100200190000004e40000613d000000000101043b000000000001004b0000000402000029000003270000613d0000022b010000410000000000100443000000040020044300000000010004140000021f0010009c0000021f01008041000000c0011002100000022c011001c70000800202000039087808730000040f0000000100200190000004e40000613d000000000101043b000000000001004b000004e20000613d000000400300043d0000002401300039000002d10200003900000000002104350000022d01000041000000000013043500000004013000390000000002000410000000000021043500000000010004140000000402000029000000040020008c000003720000613d0000021f0030009c000300000003001d0000021f03000041000000030300402900000040033002100000021f0010009c0000021f01008041000000c001100210000000000131019f0000022e011001c70878086e0000040f000000030300002900000060011002700000021f0010019d0000000100200190000003270000613d0000022f0030009c000000830000213d000000400030043f000003270000013d0000022603000041000000000030043f000000020020008c0000000002000019000001b00000413d00000267030000410000000002000019000000000403041a000000a005200039000000000045043500000001033000390000002002200039000000000012004b0000037d0000413d000001b00000013d0000000401000029000000000010043f0000026e01000041000000200010043f0000004001000039087808440000040f000000000101041a000000970000013d00000000001204350000024e013001c7000008790001042e0878058f0000040f000000000101041a000000980000013d0003022a0010019b000400000003001d000000000030043f0000024f01000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000004e20000613d000000000101043b000000000101041a0000022a00100198000004bc0000c13d0000000301000029000000000010043f0000026001000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f00000004030000290000000100200190000004e20000613d000000000101043b000000000201041a0000000102200039000000000021041b000000000030043f0000024f01000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000004e20000613d000000000101043b000000000201041a000002300220019700000003022001af000000000021041b00000000010004140000021f0010009c0000021f01008041000000c00110021000000261011001c70000800d02000039000000040300003900000262040000410000000005000019000000000600041100000004070000290878086e0000040f00000004030000290000000100200190000004e20000613d0000000103300039000000020030006c000003940000413d000004740000013d0000000001030019000400000003001d087805480000040f00000004010000290000000000010435000000400100043d000300000001001d087805480000040f000000030100002900000000000104350000002002000039000000400300043d000400000003001d00000000022304360878050f0000040f000001b70000013d000002750020009c000002a60000613d000002760020009c000002a60000613d000000800000043f0000026801000041000008790001042e0000000002000411000000000020043f000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000004e20000613d000000000101043b000000000010043f0000025b01000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000004e20000613d000000000101043b000000000201041a00000277022001970000000303000029000000000232019f000000000021041b000000400100043d00000000003104350000021f0010009c0000021f01008041000000400110021000000000020004140000021f0020009c0000021f02008041000000c002200210000000000112019f00000223011001c70000800d0200003900000003030000390000025c04000041000000000500041100000004060000290878086e0000040f0000000100200190000004740000c13d000004e20000013d0000000001000411000000000015004b000004760000c13d00000000010004140000021f0010009c0000021f01008041000000c00110021000000261011001c70000800d0200003900000004030000390000026d04000041000000040600002900000003070000290878086e0000040f0000000100200190000004e20000613d0000000301000029087805650000040f000000000201041a000002300220019700000004022001af000000000021041b0000000001000019000008790001042e0000025501000041000000000201041a00000008012002700000022a01100198000004560000c13d000000ff002001900000000001000019000004560000c13d0000025601000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000021f0010009c0000021f01008041000000c00110021000000257011001c70000800502000039087808730000040f0000000100200190000004e40000613d000000000101043b0000022a011001970000000404000029000000400200043d0000002003200039000000000043043500000000001204350000021f0020009c0000021f02008041000000400120021000000000020004140000021f0020009c0000021f02008041000000c002200210000000000112019f00000228011001c70000800d02000039000000010300003900000229040000410878086e0000040f0000000100200190000004e20000613d0000025501000041000000000201041a0000025802200197000000040400002900000008034002100000025903300197000000000223019f00000001022001bf000000000021041b000000000004004b000004c20000c13d0000000001000019000008790001042e000200000005001d000000000050043f000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000004e20000613d000000000101043b000000000010043f0000025b01000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000004e20000613d000000000101043b000000000101041a000000ff0010019000000002050000290000000003000411000004280000c13d0000026401000041000000000101041a000000ff00100190000004b50000613d0000025501000041000000000201041a00000008012002700000022a01100198000004b00000c13d000000ff002001900000000001000019000004b00000c13d0000025601000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000021f0010009c0000021f01008041000000c00110021000000257011001c70000800502000039087808730000040f0000000100200190000004e40000613d000000000101043b0000000003000411000000000131013f0000022a001001980000000205000029000004280000613d000000400100043d0000026c0200004100000000002104350000022a0230019700000004031000390000000000230435000002990000013d000000400100043d0000025f02000041000000000021043500000004021000390000000000020435000002990000013d0000022b0100004100000000001004430000000401000029000000040010044300000000010004140000021f0010009c0000021f01008041000000c0011002100000022c011001c70000800202000039087808730000040f0000000100200190000004e40000613d000000000101043b000000000001004b000004740000613d0000022b0100004100000000001004430000000401000029000000040010044300000000010004140000021f0010009c0000021f01008041000000c0011002100000022c011001c70000800202000039087808730000040f0000000100200190000004e40000613d000000000101043b000000000001004b000004e50000c13d00000000010000190000087a00010430000000000001042f000000400300043d0000002401300039000002d10200003900000000002104350000022d010000410000000000130435000300000003001d00000004013000390000000002000410000000000021043500000000010004140000000402000029000000040020008c000005020000613d00000003020000290000021f0020009c0000021f0200804100000040022002100000021f0010009c0000021f01008041000000c001100210000000000121019f0000022e011001c700000004020000290878086e0000040f00000060011002700000021f0010019d0000000100200190000004740000613d00000003010000290000022f0010009c000000830000213d0000000301000029000000400010043f0000000001000019000008790001042e0000025a01000041000000000010043f0000001101000039000000040010043f00000251010000410000087a0001043000000000430104340000000001320436000000000003004b0000051b0000613d000000000200001900000000052100190000000006240019000000000606043300000000006504350000002002200039000000000032004b000005140000413d000000000231001900000000000204350000001f0230003900000278022001970000000001210019000000000001042d00000020030000390000000004310436000000003202043400000000002404350000004001100039000000000002004b000005300000613d000000000400001900000000051400190000000006430019000000000606043300000000006504350000002004400039000000000024004b000005290000413d000000000321001900000000000304350000001f0220003900000278022001970000000001210019000000000001042d0000027a0010009c000005460000213d000000630010008c000005460000a13d00000001030003670000000401300370000000000101043b0000022a0010009c000005460000213d0000002402300370000000000202043b0000022a0020009c000005460000213d0000004403300370000000000303043b000000000001042d00000000010000190000087a000104300000027b0010009c0000054d0000813d0000002001100039000000400010043f000000000001042d0000025a01000041000000000010043f0000004101000039000000040010043f00000251010000410000087a000104300000001f0220003900000278022001970000000001120019000000000021004b000000000200003900000001020040390000022f0010009c0000055f0000213d00000001002001900000055f0000c13d000000400010043f000000000001042d0000025a01000041000000000010043f0000004101000039000000040010043f00000251010000410000087a00010430000000000010043f0000026e01000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000005730000613d000000000101043b000000000001042d00000000010000190000087a000104300000025501000041000000000201041a00000008012002700000022a011001980000057b0000613d000000000001042d000000ff0020019000000000010000190000057a0000c13d0000025601000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000021f0010009c0000021f01008041000000c00110021000000257011001c70000800502000039087808730000040f00000001002001900000058e0000613d000000000101043b000000000001042d000000000001042f0000022a01100197000000000010043f0000026001000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f00000001002001900000059e0000613d000000000101043b000000000001042d00000000010000190000087a000104300007000000000002000200000001001d0003022a0020019c000006c90000613d000500000003001d000000000030043f0000024f01000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000006c70000613d000000000101043b000000000101041a0000022a05100198000006cf0000613d00000002010000290000022a01100197000000000015004b0000000504000029000006da0000c13d00000000060004110000025501000041000000000101041a00000008021002700000022a02200198000400000005001d000005fe0000613d000000000026004b000006000000613d0000022b010000410000000000100443000100000002001d000000040020044300000000010004140000021f0010009c0000021f01008041000000c0011002100000022c011001c70000800202000039087808730000040f0000000100200190000006e80000613d000000000101043b000000000001004b000006c70000613d000000400700043d0000006401700039000000050400002900000000004104350000004401700039000000030200002900000000002104350000002401700039000000040500002900000000005104350000026a01000041000000000017043500000000060004110000022a016001970000000402700039000000000012043500000000010004140000000102000029000000040020008c000005fa0000613d0000021f0070009c0000021f03000041000000000307401900000040033002100000021f0010009c0000021f01008041000000c001100210000000000131019f0000027e011001c7000100000007001d087808730000040f000000010700002900000000060004110000000405000029000000050400002900000060031002700000021f0030019d0000000100200190000006ef0000613d000002250070009c000006e90000813d000000400070043f000006000000013d000000ff00100190000006b20000613d000000000065004b0000065f0000613d0000000201000029000000000010043f000000200060043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000006c70000613d000000000101043b000000000010043f0000025b01000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000006c70000613d000000000101043b000000000101041a000000ff00100190000000050400002900000000030004110000065f0000c13d0000000002000415000000070220008a00000005022002100000026401000041000000000101041a000000ff00100190000006470000613d0000025501000041000000000201041a00000008012002700000022a01100198000006410000c13d000000ff002001900000000001000019000006410000c13d0000025601000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000021f0010009c0000021f01008041000000c00110021000000257011001c70000800502000039087808730000040f0000000100200190000006e80000613d000000000101043b00000005040000290000000003000411000000000131013f0000000002000415000000060220008a00000005022002100000022a001001980000065f0000613d000200000002001d000000000040043f0000026e01000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000006c70000613d000000000101043b000000000101041a0000022a011001970000000003000411000000000031004b00000002010000290000000501100270000000000100003f000000010100603f00000005040000290000070e0000c13d000000000040043f0000026e01000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000006c70000613d000000000101043b000000000201041a0000023002200197000000000021041b0000000401000029000000000010043f0000026001000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000006c70000613d000000000101043b000000000201041a000000010220008a000000000021041b0000000301000029000000000010043f0000026001000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000006c70000613d000000000101043b000000000201041a0000000102200039000000000021041b0000000501000029000000000010043f0000024f01000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000006c70000613d000000000101043b000000000201041a00000230022001970000000306000029000000000262019f000000000021041b00000000010004140000021f0010009c0000021f01008041000000c00110021000000261011001c70000800d0200003900000004030000390000026204000041000000040500002900000005070000290878086e0000040f0000000100200190000006c70000613d000000000001042d0000025601000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000021f0010009c0000021f01008041000000c00110021000000257011001c70000800502000039087808730000040f0000000100200190000006e80000613d000000000101043b0000022a02100198000000050400002900000004050000290000000006000411000005c10000c13d000006000000013d00000000010000190000087a00010430000000400100043d0000026302000041000000000021043500000004021000390000000000020435000006d50000013d000000400100043d000002500200004100000000002104350000000402100039000000050300002900000000003204350000021f0010009c0000021f01008041000000400110021000000251011001c70000087a00010430000000400200043d00000044032000390000000000530435000000240320003900000000004304350000027c030000410000000000320435000000040320003900000000001304350000021f0020009c0000021f0200804100000040012002100000027d011001c70000087a00010430000000000001042f0000025a01000041000000000010043f0000004101000039000000040010043f00000251010000410000087a000104300000021f033001970000001f0530018f0000027f06300198000000400200043d0000000004620019000006fb0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000006f70000c13d000000000005004b000007080000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f000000000014043500000060013002100000021f0020009c0000021f020080410000004002200210000000000112019f0000087a00010430000000400100043d00000024021000390000000000420435000002800200004100000000002104350000022a02300197000000040310003900000000002304350000021f0010009c0000021f0100804100000040011002100000022e011001c70000087a000104300006000000000002000300000004001d000400000002001d000100000001001d000200000003001d087805a00000040f0000022b0100004100000000001004430000000401000029000000040010044300000000010004140000021f0010009c0000021f01008041000000c0011002100000022c011001c70000800202000039087808730000040f0000000100200190000007b10000613d000000000101043b000000000001004b000007ae0000613d000000400b00043d0000006401b00039000000800700003900000000007104350000004401b000390000000202000029000000000021043500000001010000290000022a011001970000002402b000390000000000120435000002810100004100000000001b043500000000010004110000022a011001970000000402b000390000000000120435000000030100002900000000320104340000008401b000390000000000210435000000a401b00039000000000002004b000007510000613d000000000400001900000000051400190000000006430019000000000606043300000000006504350000002004400039000000000024004b0000074a0000413d00000000032100190000000000030435000000000300041400000004040000290000022a06400197000000040060008c000007600000c13d0000000005000415000000060550008a00000005055002100000000003000031000000200030008c00000020040000390000000004034019000007990000013d000200000007001d0000001f0220003900000278022001970000000002b2004900000000011200190000021f0010009c0000021f0100804100000060011002100000021f00b0009c0000021f0200004100000000020b40190000004002200210000000000121019f0000021f0030009c0000021f03008041000000c002300210000000000121019f000300000006001d000000000206001900040000000b001d0878086e0000040f000000040b00002900000060031002700000021f03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000000057b0019000007850000613d000000000801034f00000000090b0019000000008a08043c0000000009a90436000000000059004b000007810000c13d000000000006004b000007920000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000000000003001f0000000005000415000000050550008a00000005055002100000000100200190000007bb0000613d00000003060000290000001f01400039000000600210018f0000000001b20019000000000021004b000000000200003900000001020040390000022f0010009c000007f00000213d0000000100200190000007f00000c13d000000400010043f0000001f0030008c000007af0000a13d00000000020b04330000027000200198000007af0000c13d0000000503500270000000000302001f0000022402200197000002810020009c000007b20000c13d000000000001042d00000000010000190000087a00010430000000000001042f00000263020000410000000000210435000000040210003900000000006204350000021f0010009c0000021f01008041000000400110021000000251011001c70000087a00010430000000000003004b000007bf0000c13d0000006002000039000007e60000013d0000001f0230003900000282022001970000003f022000390000028304200197000000400200043d0000000004420019000000000024004b000000000500003900000001050040390000022f0040009c000007f00000213d0000000100500190000007f00000c13d000000400040043f0000001f0430018f00000000063204360000027f05300198000200000006001d0000000003560019000007d90000613d000000000601034f0000000207000029000000006806043c0000000007870436000000000037004b000007d50000c13d000000000004004b000007e60000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f00000000001304350000000001020433000000000001004b000007f60000c13d000000400100043d00000263020000410000000000210435000000040210003900000003030000290000000000320435000007b60000013d0000025a01000041000000000010043f0000004101000039000000040010043f00000251010000410000087a0001043000000002020000290000021f0020009c0000021f0200804100000040022002100000021f0010009c0000021f010080410000006001100210000000000121019f0000087a000104300001000000000002000000000010043f000100000002001d000000200020043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000008400000613d000000000101043b000000000010043f0000025b01000041000000200010043f00000000010004140000021f0010009c0000021f01008041000000c00110021000000228011001c70000801002000039087808730000040f0000000100200190000008400000613d000000000101043b000000000101041a000000ff011001900000081e0000613d000000000001042d0000026401000041000000000101041a000000ff001001900000083e0000613d0000025501000041000000000201041a00000008012002700000022a01100198000008390000c13d000000ff002001900000000001000019000008390000c13d0000025601000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000021f0010009c0000021f01008041000000c00110021000000257011001c70000800502000039087808730000040f0000000100200190000008420000613d000000000101043b000000010110014f0000022a0010019800000000010000390000000101006039000000000001042d0000000001000019000000000001042d00000000010000190000087a00010430000000000001042f000000000001042f0000021f0010009c0000021f01008041000000600110021000000000020004140000021f0020009c0000021f02008041000000c002200210000000000112019f00000261011001c70000801002000039087808730000040f0000000100200190000008530000613d000000000101043b000000000001042d00000000010000190000087a0001043000000000050100190000000000200443000000040100003900000005024002700000000002020031000000000121043a0000002004400039000000000031004b000008580000413d0000021f0030009c0000021f03008041000000600130021000000000020004140000021f0020009c0000021f02008041000000c002200210000000000112019f00000284011001c70000000002050019087808730000040f00000001002001900000086d0000613d000000000101043b000000000001042d000000000001042f00000871002104210000000102000039000000000001042d0000000002000019000000000001042d00000876002104230000000102000039000000000001042d0000000002000019000000000001042d0000087800000432000008790001042e0000087a00010430000000000000000000000000000000000000000000000000000000000000000000000000ffffffff5465737400000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000062d4d9624ce11f2e733dd08ba88f3c3e46451b1787383e56dec5bfa4eaf3f3b30200000000000000000000000000000000000020000000000000000000000000ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000062d4d9624ce11f2e733dd08ba88f3c3e46451b1787383e56dec5bfa4eaf3f3b40000000000000000000000003203c3f64312af9344e42ef8aa45b97c9dfe45940200000000000000000000000000000000000040000000000000000000000000cc5dc080ff977b3c3a211fa63ab74f90f658f5ba9d3236e92c8f59570f442aac000000000000000000000000ffffffffffffffffffffffffffffffffffffffff1806aa1896bbf26568e884a7374b41e002500962caba6a15023a8d90e8508b830200000200000000000000000000000000000024000000000000000000000000fb2de5d7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000002000000000000000000000000000000800000010000000000000000000000000000000000000000000000000000000000000000000000000070a0823000000000000000000000000000000000000000000000000000000000a0712d6700000000000000000000000000000000000000000000000000000000b88d4fdd00000000000000000000000000000000000000000000000000000000b88d4fde00000000000000000000000000000000000000000000000000000000c87b56dd00000000000000000000000000000000000000000000000000000000e985e9c500000000000000000000000000000000000000000000000000000000a0712d6800000000000000000000000000000000000000000000000000000000a22cb46500000000000000000000000000000000000000000000000000000000a9fc664e000000000000000000000000000000000000000000000000000000008da5cb5a000000000000000000000000000000000000000000000000000000008da5cb5b0000000000000000000000000000000000000000000000000000000095d89b41000000000000000000000000000000000000000000000000000000009e05d2400000000000000000000000000000000000000000000000000000000070a082310000000000000000000000000000000000000000000000000000000085824467000000000000000000000000000000000000000000000000000000000d705df50000000000000000000000000000000000000000000000000000000042842e0d0000000000000000000000000000000000000000000000000000000042842e0e000000000000000000000000000000000000000000000000000000006221d13c000000000000000000000000000000000000000000000000000000006352211e000000000000000000000000000000000000000000000000000000000d705df60000000000000000000000000000000000000000000000000000000023b872dd00000000000000000000000000000000000000000000000000000000081812fb00000000000000000000000000000000000000000000000000000000081812fc00000000000000000000000000000000000000000000000000000000095ea7b300000000000000000000000000000000000000000000000000000000098144d40000000000000000000000000000000000000000000000000000000001ffc9a70000000000000000000000000000000000000000000000000000000006fdde03000000000000000000000000000000000000002000000000000000000000000062d4d9624ce11f2e733dd08ba88f3c3e46451b1787383e56dec5bfa4eaf3f3b57e273289000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff7f32483afb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000245c7c302b31cdd9b77ef0ec6005b18f1d75c8b2d92ba7e892ce1855da2c615310ab089e4439a4c15d089f94afb7896ff553aecb10793d0ab882de59d99a32e0200000200000000000000000000000000000044000000000000000000000000ffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffff004e487b710000000000000000000000000000000000000000000000000000000062d4d9624ce11f2e733dd08ba88f3c3e46451b1787383e56dec5bfa4eaf3f3b817307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c315b08ba1800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002400000080000000000000000073c6ac6e0000000000000000000000000000000000000000000000000000000062d4d9624ce11f2e733dd08ba88f3c3e46451b1787383e56dec5bfa4eaf3f3b60200000000000000000000000000000000000000000000000000000000000000ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef64a0ae92000000000000000000000000000000000000000000000000000000003d3215932a537a36aee89357cefc1143ff7a3e73b8133e12aa974fe0ec972ed302000000000000000000000000000000000000200000008000000000000000006787c7f9a80aa0f5ceddab2c54f1f5169c0b88e75dd5e19d5e858a64144c7dbc23e9e637c08ee7650349a75954ca3e0d3c1979654b52d0e7d187f5bb71a3cf98000000000000000000000000000000000000002000000080000000000000000089c62b6400000000000000000000000000000000000000000000000000000000caee23ea000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000800000000000000000a9fbf51f000000000000000000000000000000000000000000000000000000008c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92562d4d9624ce11f2e733dd08ba88f3c3e46451b1787383e56dec5bfa4eaf3f3b7bcf02d82c438fc9324d280253aff8791d0b415160948725330b94a9b92d4960000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff80ac58ccffffffffffffffffffffffffffffffffffffffffffffffffffffffff80ac58cd00000000000000000000000000000000000000000000000000000000ad0d7f6c00000000000000000000000000000000000000000000000000000000a07d229a0000000000000000000000000000000000000000000000000000000001ffc9a7000000000000000000000000000000000000000000000000000000005b5e139f00000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000ffffffffffffffe064283d7b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000008400000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffe0177e802f00000000000000000000000000000000000000000000000000000000150b7a020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffffffe000000000000000000000000000000000000000000000000000000003ffffffe002000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d77a45d017383bc883124dcbaf15bc280df3860f944edfcbe59403e775c1a6d6

[ 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.