CRO Price: $0.08 (+3.17%)

Contract

0x9Ce2c5D443483037Ba4eBeA6c96B45B40c3b458c

Overview

CRO Balance

Cronos Chain LogoCronos Chain LogoCronos Chain Logo535.71588366890380467 CRO

CRO Value

$41.49 (@ $0.08/CRO)
Transaction Hash
Method
Block
From
To
Set Approval For...162078002024-10-10 17:12:2421 hrs ago1728580344IN
0x9Ce2c5D4...40c3b458c
0 CRO0.23369385,050
Transfer From161705282024-10-08 6:47:153 days ago1728370035IN
0x9Ce2c5D4...40c3b458c
0 CRO0.5055,050
Transfer From161705252024-10-08 6:46:583 days ago1728370018IN
0x9Ce2c5D4...40c3b458c
0 CRO0.536638255,050
Transfer From161705222024-10-08 6:46:403 days ago1728370000IN
0x9Ce2c5D4...40c3b458c
0 CRO0.5055,050
Claim All Royalt...157895622024-09-13 9:56:3028 days ago1726221390IN
0x9Ce2c5D4...40c3b458c
0 CRO1.69152785,050
Set Approval For...156569902024-09-04 18:04:3336 days ago1725473073IN
0x9Ce2c5D4...40c3b458c
0 CRO0.14733885,050
Claim All Royalt...156285392024-09-02 21:25:5438 days ago1725312354IN
0x9Ce2c5D4...40c3b458c
0 CRO0.239500845,048.5
Set Approval For...149704442024-07-21 14:43:1581 days ago1721572995IN
0x9Ce2c5D4...40c3b458c
0 CRO0.233684965,048.5
Set Approval For...147903692024-07-09 20:24:1293 days ago1720556652IN
0x9Ce2c5D4...40c3b458c
0 CRO0.23375445,050
Set Approval For...147825092024-07-09 8:03:1494 days ago1720512194IN
0x9Ce2c5D4...40c3b458c
0 CRO0.23369385,050
Set Approval For...146478912024-06-30 12:49:31103 days ago1719751771IN
0x9Ce2c5D4...40c3b458c
0 CRO0.263090575,683.775
Set Approval For...143308162024-06-09 18:05:21123 days ago1717956321IN
0x9Ce2c5D4...40c3b458c
0 CRO0.23375445,050
Set Approval For...138351042024-05-08 1:54:15156 days ago1715133255IN
0x9Ce2c5D4...40c3b458c
0 CRO0.14733885,050
Set Approval For...138351032024-05-08 1:54:09156 days ago1715133249IN
0x9Ce2c5D4...40c3b458c
0 CRO0.14733885,050
Set Approval For...137850102024-05-04 18:30:37159 days ago1714847437IN
0x9Ce2c5D4...40c3b458c
0 CRO0.14733885,050
Set Approval For...137849932024-05-04 18:28:59159 days ago1714847339IN
0x9Ce2c5D4...40c3b458c
0 CRO0.14733885,050
Set Approval For...136667842024-04-26 22:46:53167 days ago1714171613IN
0x9Ce2c5D4...40c3b458c
0 CRO0.231509435,001.5
Set Approval For...136561662024-04-26 5:51:42168 days ago1714110702IN
0x9Ce2c5D4...40c3b458c
0 CRO0.23375445,050
Set Approval For...135306522024-04-17 23:59:09176 days ago1713398349IN
0x9Ce2c5D4...40c3b458c
0 CRO0.14733885,050
Set Approval For...135096092024-04-16 14:51:17177 days ago1713279077IN
0x9Ce2c5D4...40c3b458c
0 CRO0.14733885,050
Set Approval For...135096082024-04-16 14:51:11177 days ago1713279071IN
0x9Ce2c5D4...40c3b458c
0 CRO0.14733885,050
Set Approval For...135096072024-04-16 14:51:05177 days ago1713279065IN
0x9Ce2c5D4...40c3b458c
0 CRO0.14733885,050
Set Approval For...135073652024-04-16 11:19:34178 days ago1713266374IN
0x9Ce2c5D4...40c3b458c
0 CRO0.14733885,050
Set Approval For...135073642024-04-16 11:19:28178 days ago1713266368IN
0x9Ce2c5D4...40c3b458c
0 CRO0.14733885,050
Set Approval For...131791802024-03-25 23:28:28199 days ago1711409308IN
0x9Ce2c5D4...40c3b458c
0 CRO0.123026765,047.045
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
157895622024-09-13 9:56:3028 days ago1726221390
0x9Ce2c5D4...40c3b458c
27.89709172 CRO
156285392024-09-02 21:25:5438 days ago1725312354
0x9Ce2c5D4...40c3b458c
3.43400447 CRO
102882252023-09-19 22:47:22387 days ago1695163642
0x9Ce2c5D4...40c3b458c
37.2147651 CRO
101404052023-09-10 7:24:15397 days ago1694330655
0x9Ce2c5D4...40c3b458c
24.46308724 CRO
100257982023-09-02 20:04:04404 days ago1693685044
0x9Ce2c5D4...40c3b458c
24.46308724 CRO
99919992023-08-31 15:08:00406 days ago1693494480
0x9Ce2c5D4...40c3b458c
37.2147651 CRO
86371292023-06-04 5:37:39495 days ago1685857059
0x9Ce2c5D4...40c3b458c
21.56599552 CRO
82290812023-05-08 11:30:35522 days ago1683545435
0x9Ce2c5D4...40c3b458c
3.43400447 CRO
76590992023-04-01 4:32:20559 days ago1680323540
0x9Ce2c5D4...40c3b458c
20.60402684 CRO
74939162023-03-21 9:28:14570 days ago1679390894
0x9Ce2c5D4...40c3b458c
13.94854586 CRO
74400782023-03-17 20:56:39573 days ago1679086599
0x9Ce2c5D4...40c3b458c
10.30201342 CRO
73009722023-03-08 18:21:21582 days ago1678299681
0x9Ce2c5D4...40c3b458c
75.54809843 CRO
72749282023-03-07 1:31:18584 days ago1678152678
0x9Ce2c5D4...40c3b458c
188.87024608 CRO
72689062023-03-06 16:04:38584 days ago1678118678
0x9Ce2c5D4...40c3b458c
3.43400447 CRO
72285162023-03-04 0:45:50587 days ago1677890750
0x9Ce2c5D4...40c3b458c
54.94407158 CRO
72128432023-03-03 0:11:44588 days ago1677802304
0x9Ce2c5D4...40c3b458c
3.43400447 CRO
72121332023-03-02 23:04:56588 days ago1677798296
0x9Ce2c5D4...40c3b458c
10.30201342 CRO
71562802023-02-27 7:31:09592 days ago1677483069
0x9Ce2c5D4...40c3b458c
3.43400447 CRO
71510872023-02-26 23:22:25592 days ago1677453745
0x9Ce2c5D4...40c3b458c
27.47203579 CRO
71475932023-02-26 17:53:22592 days ago1677434002
0x9Ce2c5D4...40c3b458c
68.68008948 CRO
71444732023-02-26 12:59:54593 days ago1677416394
0x9Ce2c5D4...40c3b458c
13.73601789 CRO
71249942023-02-25 6:27:33594 days ago1677306453
0x9Ce2c5D4...40c3b458c
3.43400447 CRO
71215322023-02-25 1:02:06594 days ago1677286926
0x9Ce2c5D4...40c3b458c
10.30201342 CRO
71193572023-02-24 21:37:34594 days ago1677274654
0x9Ce2c5D4...40c3b458c
27.89709172 CRO
71076542023-02-24 3:13:20595 days ago1677208400
0x9Ce2c5D4...40c3b458c
33.7919463 CRO
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LiminalsKingdom

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : Liminals.sol
// SPDX-License-Identifier: MIT
// CroDoo Contracts v1.0.0

pragma solidity ^0.8.15;

import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";

contract LiminalsKingdom is
    ERC721Enumerable,
    Ownable,
    ReentrancyGuard,
    ERC2981
{
    // CroDodPad
    address private immutable croDooWallet;
    uint256 private immutable croDooRoyalties = 8;

    address private immutable blackWallet;
    uint256 private immutable blackRoyalties = 4;
    string private baseTokenURI;
    mapping(address => uint256) private whitelist;
    // Project
    address public projectWallet;

    // Mint
    uint256 public immutable maxSupply = 447;
    uint256 public maxMint = 10;
    uint256 public price = 330 ether;
    uint256 public whitelistPrice = 285 ether;

    uint256 public publicTimestamp = 1670090400;

    bool public isPaused = false;

    mapping(uint256 => uint256) private tokensMatrix;
    uint256 private amountToReserve = 0;
    uint256 private reservedMinted = 0;

    // Royalties
    uint256 public totalRoyalties = 0;
    mapping(uint256 => uint256) private claimedRoyalties;
    uint256 private currentRoyalties = 0;

    // Events
    event MintUpdated();
    event WhitelistUpdated();
    event Minted(
        address indexed sender,
        uint256 currentSupply,
        uint256 amount,
        uint256 time
    );
    event RoyaltiesClaimed(address indexed sender, uint256 amount);

    // Errors
    error PausedMint();
    error InsufficientPayment();
    error CannotMintZero();
    error OverMint();
    error MintLimit();
    error AddingNoRewards();

    // Structs
    struct MintInfo {
        bool isPaused;
        uint256 mintPrice;
        uint256 whitelistPrice;
        uint256 supply;
        uint256 maxSupply;
        uint256 maxMint;
        uint256 publicTimestamp;
    }

    struct TokenInfo {
        uint256 id;
        uint256 royalties;
    }

    constructor(
        string memory baseTokenURI_,
        address projectWallet_,
        address croDooWallet_,
        address blackWallet_
    ) ERC721("LiminalsKingdom", "LIMINALS") {
        baseTokenURI = baseTokenURI_;
        projectWallet = projectWallet_;
        croDooWallet = croDooWallet_;
        blackWallet = blackWallet_;

        setDefaultRoyalty(projectWallet_, 1000);
    }

    // Manage
    function setDefaultRoyalty(
        address receiver,
        uint96 feeNumerator
    ) public onlyOwner {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function setPublicTimestamp(uint256 publicTimestamp_) public onlyOwner {
        publicTimestamp = publicTimestamp_;
    }

    function setProjectWallet(address projectWallet_) public onlyOwner {
        projectWallet = projectWallet_;
    }

    function setBaseTokenURI(string memory uri) external onlyOwner {
        baseTokenURI = uri;
    }

    function togglePause() external onlyOwner {
        isPaused = !isPaused;

        emit MintUpdated();
    }

    function setPrices(
        uint256 price_,
        uint256 whitelistPrice_
    ) external onlyOwner {
        price = price_;
        whitelistPrice = whitelistPrice_;
    }

    function setMaxMint(uint256 maxMint_) external onlyOwner {
        maxMint = maxMint_;
    }

    function addWhitelist(address[] memory _whitelist) external onlyOwner {
        for (uint256 i = 0; i < _whitelist.length; ) {
            whitelist[_whitelist[i]] = 3;
            unchecked {
                ++i;
            }
        }

        emit WhitelistUpdated();
    }

    function teamMint(uint256 amount, address to) external onlyOwner {
        uint currentSupply = totalSupply();

        if (currentSupply + amount > maxSupply) revert OverMint();

        for (uint256 i = 1; i <= amount; ) {
            uint256 tokenId;
            if (reservedMinted < amountToReserve) {
                reservedMinted += 1;
                tokenId = reservedMinted;
            } else {
                tokenId = randomTokenId();
            }

            _safeMint(to, tokenId);
            unchecked {
                claimedRoyalties[tokenId] = currentRoyalties;
                ++i;
            }
        }

        emit Minted(_msgSender(), currentSupply, amount, block.timestamp);
    }

    // Mint
    function mint(uint256 amount) external payable nonReentrant {
        if (isPaused) revert PausedMint();
        if (block.timestamp < publicTimestamp) revert PausedMint();
        if (amount > maxMint) revert MintLimit();
        if (amount == 0) revert CannotMintZero();

        uint256 price_ = isWhitelisted(_msgSender(), amount)
            ? whitelistPrice
            : price;

        if (isWhitelisted(_msgSender(), amount)) {
            whitelist[_msgSender()] -= amount;
        }

        uint256 totalPrice = price_ * amount;
        uint currentSupply = totalSupply();

        if (
            currentSupply + (amountToReserve - reservedMinted) + amount >
            maxSupply
        ) revert OverMint();
        if (currentSupply + amount > maxSupply) revert OverMint();
        if (msg.value != totalPrice) revert InsufficientPayment();

        for (uint256 i = 1; i <= amount; ) {
            uint256 tokenId = randomTokenId();
            _safeMint(_msgSender(), tokenId);
            unchecked {
                claimedRoyalties[tokenId] = currentRoyalties;
                ++i;
            }
        }

        payout(msg.value);

        emit Minted(_msgSender(), currentSupply, amount, block.timestamp);
    }

    function randomTokenId() internal returns (uint256) {
        uint256 maxIndex = maxSupply -
            totalSupply() -
            (amountToReserve - reservedMinted);

        uint256 random = uint256(
            keccak256(
                abi.encodePacked(
                    msg.sender,
                    block.coinbase,
                    block.difficulty,
                    block.gaslimit,
                    block.timestamp
                )
            )
        ) % maxIndex;

        uint256 value = 0;
        if (tokensMatrix[random] == 0) {
            value = random;
        } else {
            value = tokensMatrix[random];
        }

        if (tokensMatrix[maxIndex - 1] == 0) {
            tokensMatrix[random] = maxIndex - 1;
        } else {
            tokensMatrix[random] = tokensMatrix[maxIndex - 1];
        }

        return value + amountToReserve + 1;
    }

    // Info
    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }

    function tokensOfWallet(
        address _address
    ) external view returns (uint256[] memory) {
        uint256 ownerTokenCount = balanceOf(_address);
        uint256[] memory tokenIds = new uint256[](ownerTokenCount);
        for (uint256 i; i < ownerTokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_address, i);
        }
        return tokenIds;
    }

    function mintPrice(
        address _address,
        uint256 amount
    ) external view returns (uint256) {
        return isWhitelisted(_address, amount) ? whitelistPrice : price;
    }

    function getMintInfo() external view returns (MintInfo memory) {
        return
            MintInfo(
                isPaused,
                price,
                whitelistPrice,
                totalSupply(),
                maxSupply,
                maxMint,
                publicTimestamp
            );
    }

    function isWhitelisted(
        address _address,
        uint256 amount
    ) public view returns (bool) {
        return whitelist[_address] >= amount;
    }

    // Royalties
    function addRoyalties() external payable {
        _addRewards(msg.value);
    }

    function _addRewards(uint256 amount) private {
        if (amount == 0) revert AddingNoRewards();

        totalRoyalties = totalRoyalties + amount;
        currentRoyalties += amount / totalSupply();
    }

    // Getters
    function getRewardsToken(uint256 id) public view returns (uint256 rewards) {
        rewards += currentRoyalties - claimedRoyalties[id];
    }

    function getRoyalties(address sender) external view returns (uint256) {
        uint256 balance = 0;

        uint count = balanceOf(sender);
        for (uint i = 0; i < count; i++) {
            uint256 tokenId = tokenOfOwnerByIndex(sender, i);
            balance += getRewardsToken(tokenId);
        }
        return balance;
    }

    function getRoyaltiesDetails(
        address sender
    ) external view returns (TokenInfo[] memory) {
        uint count = balanceOf(sender);
        TokenInfo[] memory tokens = new TokenInfo[](count);

        for (uint i = 0; i < count; i++) {
            uint256 tokenId = tokenOfOwnerByIndex(sender, i);
            uint256 royalties = getRewardsToken(tokenId);
            tokens[i].id = tokenId;
            tokens[i].royalties = royalties;
        }

        return tokens;
    }

    // Claim
    function claimAllRoyalties() external {
        uint256 rewards = 0;

        uint count = balanceOf(_msgSender());
        for (uint i = 0; i < count; ) {
            uint256 tokenId = tokenOfOwnerByIndex(_msgSender(), i);
            unchecked {
                rewards += getRewardsToken(tokenId);
                claimedRoyalties[tokenId] = currentRoyalties;
                ++i;
            }
        }

        payable(_msgSender()).transfer(rewards);
        emit RoyaltiesClaimed(_msgSender(), rewards);
    }

    function claimRoyalties(uint256[] memory tokensToClaim) external {
        uint256 rewards = 0;

        for (uint256 i = 0; i < tokensToClaim.length; ) {
            unchecked {
                uint256 tokenId = tokensToClaim[i];
                if (ownerOf(tokenId) == _msgSender()) {
                    rewards += (getRewardsToken(tokenId));
                    claimedRoyalties[tokenId] = currentRoyalties;
                }
                ++i;
            }
        }

        payable(_msgSender()).transfer(rewards);
        emit RoyaltiesClaimed(_msgSender(), rewards);
    }

    function withdrawAll() external onlyOwner {
        (bool success, ) = owner().call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    // Helpers
    function payout(uint256 amount) internal {
        uint256 fee = (amount * croDooRoyalties) / 100;
        uint256 black = (amount * blackRoyalties) / 100;
        _payoutProjectEarnings(amount - fee - black);
        _payoutLaunchpadFee(fee);
        _payoutBlackFee(black);
    }

    function _payoutLaunchpadFee(uint256 _amount) private {
        (bool success, ) = payable(croDooWallet).call{
            value: _amount,
            gas: 50000
        }("");
        require(success);
    }

    function _payoutBlackFee(uint256 _amount) private {
        (bool success, ) = payable(blackWallet).call{
            value: _amount,
            gas: 50000
        }("");
        require(success);
    }

    function _payoutProjectEarnings(uint256 _amount) private {
        (bool success, ) = payable(projectWallet).call{
            value: _amount,
            gas: 50000
        }("");
        require(success);
    }

    function supportsInterface(
        bytes4 interfaceId
    ) public view override(ERC721Enumerable, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 16 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 3 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 4 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 of 16 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 6 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 16 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 9 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 10 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

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

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

File 11 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 12 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

File 14 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 15 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 16 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

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);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseTokenURI_","type":"string"},{"internalType":"address","name":"projectWallet_","type":"address"},{"internalType":"address","name":"croDooWallet_","type":"address"},{"internalType":"address","name":"blackWallet_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AddingNoRewards","type":"error"},{"inputs":[],"name":"CannotMintZero","type":"error"},{"inputs":[],"name":"InsufficientPayment","type":"error"},{"inputs":[],"name":"MintLimit","type":"error"},{"inputs":[],"name":"OverMint","type":"error"},{"inputs":[],"name":"PausedMint","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":[],"name":"MintUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"currentSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RoyaltiesClaimed","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":[],"name":"WhitelistUpdated","type":"event"},{"inputs":[],"name":"addRoyalties","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_whitelist","type":"address[]"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimAllRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokensToClaim","type":"uint256[]"}],"name":"claimRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintInfo","outputs":[{"components":[{"internalType":"bool","name":"isPaused","type":"bool"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint256","name":"whitelistPrice","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxMint","type":"uint256"},{"internalType":"uint256","name":"publicTimestamp","type":"uint256"}],"internalType":"struct LiminalsKingdom.MintInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getRewardsToken","outputs":[{"internalType":"uint256","name":"rewards","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"getRoyalties","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"getRoyaltiesDetails","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"royalties","type":"uint256"}],"internalType":"struct LiminalsKingdom.TokenInfo[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"projectWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMint_","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"},{"internalType":"uint256","name":"whitelistPrice_","type":"uint256"}],"name":"setPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"projectWallet_","type":"address"}],"name":"setProjectWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicTimestamp_","type":"uint256"}],"name":"setPublicTimestamp","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":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"tokensOfWallet","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRoyalties","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610120604052600860a052600460e0526101bf61010052600a6011556811e3ab8395c6e80000601255680f732b66015a54000060135563638b8ea06014556015805460ff191690556000601781905560188190556019819055601b553480156200006857600080fd5b50604051620038b9380380620038b98339810160408190526200008b916200036e565b6040518060400160405280600f81526020016e4c696d696e616c734b696e67646f6d60881b815250604051806040016040528060088152602001674c494d494e414c5360c01b8152508160009081620000e5919062000513565b506001620000f4828262000513565b505050620001116200010b6200016860201b60201c565b6200016c565b6001600b55600e62000124858262000513565b50601080546001600160a01b0319166001600160a01b0385811691909117909155828116608052811660c0526200015e836103e8620001be565b50505050620005df565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001c8620001d8565b620001d482826200023a565b5050565b600a546001600160a01b03163314620002385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b565b6127106001600160601b0382161115620002aa5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016200022f565b6001600160a01b038216620003025760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200022f565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600c55565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146200036957600080fd5b919050565b600080600080608085870312156200038557600080fd5b84516001600160401b03808211156200039d57600080fd5b818701915087601f830112620003b257600080fd5b815181811115620003c757620003c76200033b565b604051601f8201601f19908116603f01168101908382118183101715620003f257620003f26200033b565b81604052828152602093508a848487010111156200040f57600080fd5b600091505b8282101562000433578482018401518183018501529083019062000414565b82821115620004455760008484830101525b97506200045791505087820162000351565b94505050620004696040860162000351565b9150620004796060860162000351565b905092959194509250565b600181811c908216806200049957607f821691505b602082108103620004ba57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200050e57600081815260208120601f850160051c81016020861015620004e95750805b601f850160051c820191505b818110156200050a57828155600101620004f5565b5050505b505050565b81516001600160401b038111156200052f576200052f6200033b565b620005478162000540845462000484565b84620004c0565b602080601f8311600181146200057f5760008415620005665750858301515b600019600386901b1c1916600185901b1785556200050a565b600085815260208120601f198616915b82811015620005b0578886015182559484019460019091019084016200058f565b5085821015620005cf5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e051610100516132726200064760003960008181610886015281816114cb0152818161153001528181611684015281816118b20152611eca015260006120810152600061250201526000612047015260006124c901526132726000f3fe6080604052600436106102ae5760003560e01c8063830639ac11610175578063b88d4fde116100dc578063d0520c2311610095578063e985e9c51161006f578063e985e9c5146108b0578063edac985b146108f9578063f2fde38b14610919578063fc1a1c361461093957600080fd5b8063d0520c2314610807578063d5abeb0114610874578063db4f6d31146108a857600080fd5b8063b88d4fde14610752578063beb08ab914610772578063bfa457bc14610792578063c37f7381146107b2578063c4ae3168146107d2578063c87b56dd146107e757600080fd5b806395d89b411161012e57806395d89b41146106ba57806395e8eff2146106cf578063a035b1fe146106ef578063a0712d6814610705578063a22cb46514610718578063b187bd261461073857600080fd5b8063830639ac146105e9578063853828b61461062457806386d026081461063957806386fd96941461064f5780638a7804471461067c5780638da5cb5b1461069c57600080fd5b80632f745c5911610219578063547eafd0116101d2578063547eafd01461053c5780636352211e1461055157806370a0823114610571578063715018a6146105915780637501f741146105a657806375935d11146105bc57600080fd5b80632f745c591461047c57806330176e131461049c5780633cd972ac146104bc57806342842e0e146104dc5780634f6ccce7146104fc578063547520fe1461051c57600080fd5b806313ece8161161026b57806313ece816146103a457806314556a56146103c457806318160ddd146103f25780631e6d487a1461040757806323b872dd1461041d5780632a55205a1461043d57600080fd5b806301ffc9a7146102b357806304634d8d146102e857806305fefda71461030a57806306fdde031461032a578063081812fc1461034c578063095ea7b314610384575b600080fd5b3480156102bf57600080fd5b506102d36102ce36600461297c565b61094f565b60405190151581526020015b60405180910390f35b3480156102f457600080fd5b506103086103033660046129b5565b610960565b005b34801561031657600080fd5b506103086103253660046129f8565b610976565b34801561033657600080fd5b5061033f610989565b6040516102df9190612a72565b34801561035857600080fd5b5061036c610367366004612a85565b610a1b565b6040516001600160a01b0390911681526020016102df565b34801561039057600080fd5b5061030861039f366004612a9e565b610a42565b3480156103b057600080fd5b506103086103bf366004612b33565b610b5c565b3480156103d057600080fd5b506103e46103df366004612bc9565b610c40565b6040519081526020016102df565b3480156103fe57600080fd5b506008546103e4565b34801561041357600080fd5b506103e460145481565b34801561042957600080fd5b50610308610438366004612be4565b610c9a565b34801561044957600080fd5b5061045d6104583660046129f8565b610ccb565b604080516001600160a01b0390931683526020830191909152016102df565b34801561048857600080fd5b506103e4610497366004612a9e565b610d77565b3480156104a857600080fd5b506103086104b7366004612c78565b610e0d565b3480156104c857600080fd5b506103e46104d7366004612a85565b610e21565b3480156104e857600080fd5b506103086104f7366004612be4565b610e47565b34801561050857600080fd5b506103e4610517366004612a85565b610e62565b34801561052857600080fd5b50610308610537366004612a85565b610ef5565b34801561054857600080fd5b50610308610f02565b34801561055d57600080fd5b5061036c61056c366004612a85565b610fb5565b34801561057d57600080fd5b506103e461058c366004612bc9565b611015565b34801561059d57600080fd5b5061030861109b565b3480156105b257600080fd5b506103e460115481565b3480156105c857600080fd5b506105dc6105d7366004612bc9565b6110af565b6040516102df9190612cc1565b3480156105f557600080fd5b506102d3610604366004612a9e565b6001600160a01b03919091166000908152600f6020526040902054101590565b34801561063057600080fd5b50610308611151565b34801561064557600080fd5b506103e460195481565b34801561065b57600080fd5b5061066f61066a366004612bc9565b611203565b6040516102df9190612d05565b34801561068857600080fd5b50610308610697366004612bc9565b6112f6565b3480156106a857600080fd5b50600a546001600160a01b031661036c565b3480156106c657600080fd5b5061033f611320565b3480156106db57600080fd5b506103e46106ea366004612a9e565b61132f565b3480156106fb57600080fd5b506103e460125481565b610308610713366004612a85565b611362565b34801561072457600080fd5b50610308610733366004612d54565b61162a565b34801561074457600080fd5b506015546102d39060ff1681565b34801561075e57600080fd5b5061030861076d366004612d85565b611635565b34801561077e57600080fd5b5060105461036c906001600160a01b031681565b34801561079e57600080fd5b506103086107ad366004612e01565b61166d565b3480156107be57600080fd5b506103086107cd366004612a85565b61177e565b3480156107de57600080fd5b5061030861178b565b3480156107f357600080fd5b5061033f610802366004612a85565b6117d0565b34801561081357600080fd5b5061081c611836565b6040516102df9190600060e0820190508251151582526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015292915050565b34801561088057600080fd5b506103e47f000000000000000000000000000000000000000000000000000000000000000081565b6103086118e9565b3480156108bc57600080fd5b506102d36108cb366004612e2d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561090557600080fd5b50610308610914366004612e57565b6118f2565b34801561092557600080fd5b50610308610934366004612bc9565b611977565b34801561094557600080fd5b506103e460135481565b600061095a826119ed565b92915050565b610968611a12565b6109728282611a6c565b5050565b61097e611a12565b601291909155601355565b60606000805461099890612ee4565b80601f01602080910402602001604051908101604052809291908181526020018280546109c490612ee4565b8015610a115780601f106109e657610100808354040283529160200191610a11565b820191906000526020600020905b8154815290600101906020018083116109f457829003601f168201915b5050505050905090565b6000610a2682611b69565b506000908152600460205260409020546001600160a01b031690565b6000610a4d82610fb5565b9050806001600160a01b0316836001600160a01b031603610abf5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610adb5750610adb81336108cb565b610b4d5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610ab6565b610b578383611bc8565b505050565b6000805b8251811015610bd7576000838281518110610b7d57610b7d612f1e565b60200260200101519050610b8e3390565b6001600160a01b0316610ba082610fb5565b6001600160a01b031603610bce57610bb781610e21565b601b546000838152601a6020526040902055909201915b50600101610b60565b50604051339082156108fc029083906000818181858888f19350505050158015610c05573d6000803e3d6000fd5b5060405181815233907f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e39888906020015b60405180910390a25050565b60008080610c4d84611015565b905060005b81811015610c91576000610c668683610d77565b9050610c7181610e21565b610c7b9085612f4a565b9350508080610c8990612f62565b915050610c52565b50909392505050565b610ca43382611c36565b610cc05760405162461bcd60e51b8152600401610ab690612f7b565b610b57838383611cb5565b6000828152600d602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610d40575060408051808201909152600c546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610d5f906001600160601b031687612fc9565b610d699190612ffe565b915196919550909350505050565b6000610d8283611015565b8210610de45760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610ab6565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610e15611a12565b600e6109728282613060565b6000818152601a6020526040812054601b54610e3d9190613120565b61095a9082612f4a565b610b5783838360405180602001604052806000815250611635565b6000610e6d60085490565b8210610ed05760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610ab6565b60088281548110610ee357610ee3612f1e565b90600052602060002001549050919050565b610efd611a12565b601155565b600080610f0e33611015565b905060005b81811015610f54576000610f273383610d77565b9050610f3281610e21565b601b546000928352601a60205260409092209190915590920191600101610f13565b50604051339083156108fc029084906000818181858888f19350505050158015610f82573d6000803e3d6000fd5b5060405182815233907f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e3988890602001610c34565b6000818152600260205260408120546001600160a01b03168061095a5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610ab6565b60006001600160a01b03821661107f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610ab6565b506001600160a01b031660009081526003602052604090205490565b6110a3611a12565b6110ad6000611e5c565b565b606060006110bc83611015565b905060008167ffffffffffffffff8111156110d9576110d9612ac8565b604051908082528060200260200182016040528015611102578160200160208202803683370190505b50905060005b828110156111495761111a8582610d77565b82828151811061112c5761112c612f1e565b60209081029190910101528061114181612f62565b915050611108565b509392505050565b611159611a12565b600061116d600a546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146111b7576040519150601f19603f3d011682016040523d82523d6000602084013e6111bc565b606091505b50509050806112005760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610ab6565b50565b6060600061121083611015565b905060008167ffffffffffffffff81111561122d5761122d612ac8565b60405190808252806020026020018201604052801561127257816020015b604080518082019091526000808252602082015281526020019060019003908161124b5790505b50905060005b8281101561114957600061128c8683610d77565b9050600061129982610e21565b9050818484815181106112ae576112ae612f1e565b60200260200101516000018181525050808484815181106112d1576112d1612f1e565b60200260200101516020018181525050505080806112ee90612f62565b915050611278565b6112fe611a12565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60606001805461099890612ee4565b6001600160a01b0382166000908152600f60205260408120548211156113575760125461135b565b6013545b9392505050565b6002600b54036113b45760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ab6565b6002600b5560155460ff16156113dd57604051634c97d28b60e01b815260040160405180910390fd5b60145442101561140057604051634c97d28b60e01b815260040160405180910390fd5b6011548111156114235760405163ec8e6a6360e01b815260040160405180910390fd5b8060000361144457604051632a6ce29960e11b815260040160405180910390fd5b6000611469335b6001600160a01b03166000908152600f602052604090205483111590565b61147557601254611479565b6013545b90506114843361144b565b156114ae57336000908152600f6020526040812080548492906114a8908490613120565b90915550505b60006114ba8383612fc9565b905060006114c760085490565b90507f0000000000000000000000000000000000000000000000000000000000000000846018546017546114fb9190613120565b6115059084612f4a565b61150f9190612f4a565b111561152e57604051633bd7ad7760e21b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006115598583612f4a565b111561157857604051633bd7ad7760e21b815260040160405180910390fd5b8134146115985760405163cd1c886760e01b815260040160405180910390fd5b60015b8481116115d35760006115ac611eae565b90506115b83382612024565b601b546000918252601a60205260409091205560010161159b565b506115dd3461203e565b60408051828152602081018690524281830152905133917f5a3358a3d27a5373c0df2604662088d37894d56b7cfd27f315770440f4e0d919919081900360600190a250506001600b555050565b6109723383836120e1565b61163f3383611c36565b61165b5760405162461bcd60e51b8152600401610ab690612f7b565b611667848484846121af565b50505050565b611675611a12565b600061168060085490565b90507f00000000000000000000000000000000000000000000000000000000000000006116ad8483612f4a565b11156116cc57604051633bd7ad7760e21b815260040160405180910390fd5b60015b8381116117365760006017546018541015611706576001601860008282546116f79190612f4a565b90915550506018549050611711565b61170e611eae565b90505b61171b8482612024565b601b546000918252601a6020526040909120556001016116cf565b5060408051828152602081018590524281830152905133917f5a3358a3d27a5373c0df2604662088d37894d56b7cfd27f315770440f4e0d919919081900360600190a2505050565b611786611a12565b601455565b611793611a12565b6015805460ff19811660ff909116151790556040517fc2edccb307cae554b1ac23cfd137312c1be4d23dd40699132fcde9fc972f524f90600090a1565b60606117db82611b69565b60006117e56121e2565b90506000815111611805576040518060200160405280600081525061135b565b8061180f846121f1565b604051602001611820929190613137565b6040516020818303038152906040529392505050565b6118786040518060e001604052806000151581526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805160e08101825260155460ff1615158152601254602082015260135491810191909152606081016118ab60085490565b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020016011548152602001601454815250905090565b6110ad346122f2565b6118fa611a12565b60005b815181101561194a576003600f600084848151811061191e5761191e612f1e565b6020908102919091018101516001600160a01b03168252810191909152604001600020556001016118fd565b506040517f22f196d9cf5ab2abfb5e4f2e291a2452f5c28d88e99b62b74b9c6e62ab231a4490600090a150565b61197f611a12565b6001600160a01b0381166119e45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ab6565b61120081611e5c565b60006001600160e01b0319821663152a902d60e11b148061095a575061095a8261234a565b600a546001600160a01b031633146110ad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ab6565b6127106001600160601b0382161115611ada5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610ab6565b6001600160a01b038216611b305760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610ab6565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600c55565b6000818152600260205260409020546001600160a01b03166112005760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610ab6565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611bfd82610fb5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c4283610fb5565b9050806001600160a01b0316846001600160a01b03161480611c8957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611cad5750836001600160a01b0316611ca284610a1b565b6001600160a01b0316145b949350505050565b826001600160a01b0316611cc882610fb5565b6001600160a01b031614611d2c5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610ab6565b6001600160a01b038216611d8e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610ab6565b611d9983838361236f565b611da4600082611bc8565b6001600160a01b0383166000908152600360205260408120805460019290611dcd908490613120565b90915550506001600160a01b0382166000908152600360205260408120805460019290611dfb908490612f4a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080601854601754611ec19190613120565b600854611eee907f0000000000000000000000000000000000000000000000000000000000000000613120565b611ef89190613120565b6040516bffffffffffffffffffffffff1933606090811b8216602084015241901b166034820152446048820152456068820152426088820152909150600090829060a8016040516020818303038152906040528051906020012060001c611f5f9190613166565b600081815260166020526040812054919250908103611f7f575080611f90565b506000818152601660205260409020545b60166000611f9f600186613120565b815260200190815260200160002054600003611fd457611fc0600184613120565b600083815260166020526040902055612004565b60166000611fe3600186613120565b81526020808201929092526040908101600090812054858252601690935220555b6017546120119082612f4a565b61201c906001612f4a565b935050505090565b610972828260405180602001604052806000815250612427565b6000606461206c7f000000000000000000000000000000000000000000000000000000000000000084612fc9565b6120769190612ffe565b9050600060646120a67f000000000000000000000000000000000000000000000000000000000000000085612fc9565b6120b09190612ffe565b90506120cf816120c08486613120565b6120ca9190613120565b61245a565b6120d8826124c5565b610b57816124fe565b816001600160a01b0316836001600160a01b0316036121425760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ab6565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6121ba848484611cb5565b6121c684848484612537565b6116675760405162461bcd60e51b8152600401610ab69061317a565b6060600e805461099890612ee4565b6060816000036122185750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612242578061222c81612f62565b915061223b9050600a83612ffe565b915061221c565b60008167ffffffffffffffff81111561225d5761225d612ac8565b6040519080825280601f01601f191660200182016040528015612287576020820181803683370190505b5090505b8415611cad5761229c600183613120565b91506122a9600a86613166565b6122b4906030612f4a565b60f81b8183815181106122c9576122c9612f1e565b60200101906001600160f81b031916908160001a9053506122eb600a86612ffe565b945061228b565b806000036123135760405163e3a12f6760e01b815260040160405180910390fd5b806019546123219190612f4a565b6019556008546123319082612ffe565b601b60008282546123429190612f4a565b909155505050565b60006001600160e01b0319821663780e9d6360e01b148061095a575061095a82612638565b6001600160a01b0383166123ca576123c581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6123ed565b816001600160a01b0316836001600160a01b0316146123ed576123ed8382612688565b6001600160a01b03821661240457610b5781612725565b826001600160a01b0316826001600160a01b031614610b5757610b5782826127d4565b6124318383612818565b61243e6000848484612537565b610b575760405162461bcd60e51b8152600401610ab69061317a565b6010546040516000916001600160a01b03169061c3509084905b600060405180830381858888f193505050503d80600081146124b2576040519150601f19603f3d011682016040523d82523d6000602084013e6124b7565b606091505b505090508061097257600080fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168261c35090604051612474565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168261c35090604051612474565b60006001600160a01b0384163b1561262d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061257b9033908990889088906004016131cc565b6020604051808303816000875af19250505080156125b6575060408051601f3d908101601f191682019092526125b391810190613209565b60015b612613573d8080156125e4576040519150601f19603f3d011682016040523d82523d6000602084013e6125e9565b606091505b50805160000361260b5760405162461bcd60e51b8152600401610ab69061317a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611cad565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b148061266957506001600160e01b03198216635b5e139f60e01b145b8061095a57506301ffc9a760e01b6001600160e01b031983161461095a565b6000600161269584611015565b61269f9190613120565b6000838152600760205260409020549091508082146126f2576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061273790600190613120565b6000838152600960205260408120546008805493945090928490811061275f5761275f612f1e565b90600052602060002001549050806008838154811061278057612780612f1e565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806127b8576127b8613226565b6001900381819060005260206000200160009055905550505050565b60006127df83611015565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661286e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ab6565b6000818152600260205260409020546001600160a01b0316156128d35760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ab6565b6128df6000838361236f565b6001600160a01b0382166000908152600360205260408120805460019290612908908490612f4a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b03198116811461120057600080fd5b60006020828403121561298e57600080fd5b813561135b81612966565b80356001600160a01b03811681146129b057600080fd5b919050565b600080604083850312156129c857600080fd5b6129d183612999565b915060208301356001600160601b03811681146129ed57600080fd5b809150509250929050565b60008060408385031215612a0b57600080fd5b50508035926020909101359150565b60005b83811015612a35578181015183820152602001612a1d565b838111156116675750506000910152565b60008151808452612a5e816020860160208601612a1a565b601f01601f19169290920160200192915050565b60208152600061135b6020830184612a46565b600060208284031215612a9757600080fd5b5035919050565b60008060408385031215612ab157600080fd5b612aba83612999565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612b0757612b07612ac8565b604052919050565b600067ffffffffffffffff821115612b2957612b29612ac8565b5060051b60200190565b60006020808385031215612b4657600080fd5b823567ffffffffffffffff811115612b5d57600080fd5b8301601f81018513612b6e57600080fd5b8035612b81612b7c82612b0f565b612ade565b81815260059190911b82018301908381019087831115612ba057600080fd5b928401925b82841015612bbe57833582529284019290840190612ba5565b979650505050505050565b600060208284031215612bdb57600080fd5b61135b82612999565b600080600060608486031215612bf957600080fd5b612c0284612999565b9250612c1060208501612999565b9150604084013590509250925092565b600067ffffffffffffffff831115612c3a57612c3a612ac8565b612c4d601f8401601f1916602001612ade565b9050828152838383011115612c6157600080fd5b828260208301376000602084830101529392505050565b600060208284031215612c8a57600080fd5b813567ffffffffffffffff811115612ca157600080fd5b8201601f81018413612cb257600080fd5b611cad84823560208401612c20565b6020808252825182820181905260009190848201906040850190845b81811015612cf957835183529284019291840191600101612cdd565b50909695505050505050565b602080825282518282018190526000919060409081850190868401855b82811015612d4757815180518552860151868501529284019290850190600101612d22565b5091979650505050505050565b60008060408385031215612d6757600080fd5b612d7083612999565b9150602083013580151581146129ed57600080fd5b60008060008060808587031215612d9b57600080fd5b612da485612999565b9350612db260208601612999565b925060408501359150606085013567ffffffffffffffff811115612dd557600080fd5b8501601f81018713612de657600080fd5b612df587823560208401612c20565b91505092959194509250565b60008060408385031215612e1457600080fd5b82359150612e2460208401612999565b90509250929050565b60008060408385031215612e4057600080fd5b612e4983612999565b9150612e2460208401612999565b60006020808385031215612e6a57600080fd5b823567ffffffffffffffff811115612e8157600080fd5b8301601f81018513612e9257600080fd5b8035612ea0612b7c82612b0f565b81815260059190911b82018301908381019087831115612ebf57600080fd5b928401925b82841015612bbe57612ed584612999565b82529284019290840190612ec4565b600181811c90821680612ef857607f821691505b602082108103612f1857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115612f5d57612f5d612f34565b500190565b600060018201612f7457612f74612f34565b5060010190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b6000816000190483118215151615612fe357612fe3612f34565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261300d5761300d612fe8565b500490565b601f821115610b5757600081815260208120601f850160051c810160208610156130395750805b601f850160051c820191505b8181101561305857828155600101613045565b505050505050565b815167ffffffffffffffff81111561307a5761307a612ac8565b61308e816130888454612ee4565b84613012565b602080601f8311600181146130c357600084156130ab5750858301515b600019600386901b1c1916600185901b178555613058565b600085815260208120601f198616915b828110156130f2578886015182559484019460019091019084016130d3565b50858210156131105787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008282101561313257613132612f34565b500390565b60008351613149818460208801612a1a565b83519083019061315d818360208801612a1a565b01949350505050565b60008261317557613175612fe8565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906131ff90830184612a46565b9695505050505050565b60006020828403121561321b57600080fd5b815161135b81612966565b634e487b7160e01b600052603160045260246000fdfea264697066735822122062a30ba685d0356ef5d28ad9d56f5850453559aac2f39dc15e711f7cd864eb8064736f6c634300080f003300000000000000000000000000000000000000000000000000000000000000800000000000000000000000006676555f16c2590d504b65ea3faf05b1e37e0a3e00000000000000000000000076d19e4f535af90ffeaf44531aed8936922473bb0000000000000000000000006ed752bf08308e52c47760954ab3cf3e47fea63d0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d55434c364d44565467746e666e6372354758323743346f363979354e3879614e56746b5066426170596d77722f00000000000000000000

Deployed Bytecode

0x6080604052600436106102ae5760003560e01c8063830639ac11610175578063b88d4fde116100dc578063d0520c2311610095578063e985e9c51161006f578063e985e9c5146108b0578063edac985b146108f9578063f2fde38b14610919578063fc1a1c361461093957600080fd5b8063d0520c2314610807578063d5abeb0114610874578063db4f6d31146108a857600080fd5b8063b88d4fde14610752578063beb08ab914610772578063bfa457bc14610792578063c37f7381146107b2578063c4ae3168146107d2578063c87b56dd146107e757600080fd5b806395d89b411161012e57806395d89b41146106ba57806395e8eff2146106cf578063a035b1fe146106ef578063a0712d6814610705578063a22cb46514610718578063b187bd261461073857600080fd5b8063830639ac146105e9578063853828b61461062457806386d026081461063957806386fd96941461064f5780638a7804471461067c5780638da5cb5b1461069c57600080fd5b80632f745c5911610219578063547eafd0116101d2578063547eafd01461053c5780636352211e1461055157806370a0823114610571578063715018a6146105915780637501f741146105a657806375935d11146105bc57600080fd5b80632f745c591461047c57806330176e131461049c5780633cd972ac146104bc57806342842e0e146104dc5780634f6ccce7146104fc578063547520fe1461051c57600080fd5b806313ece8161161026b57806313ece816146103a457806314556a56146103c457806318160ddd146103f25780631e6d487a1461040757806323b872dd1461041d5780632a55205a1461043d57600080fd5b806301ffc9a7146102b357806304634d8d146102e857806305fefda71461030a57806306fdde031461032a578063081812fc1461034c578063095ea7b314610384575b600080fd5b3480156102bf57600080fd5b506102d36102ce36600461297c565b61094f565b60405190151581526020015b60405180910390f35b3480156102f457600080fd5b506103086103033660046129b5565b610960565b005b34801561031657600080fd5b506103086103253660046129f8565b610976565b34801561033657600080fd5b5061033f610989565b6040516102df9190612a72565b34801561035857600080fd5b5061036c610367366004612a85565b610a1b565b6040516001600160a01b0390911681526020016102df565b34801561039057600080fd5b5061030861039f366004612a9e565b610a42565b3480156103b057600080fd5b506103086103bf366004612b33565b610b5c565b3480156103d057600080fd5b506103e46103df366004612bc9565b610c40565b6040519081526020016102df565b3480156103fe57600080fd5b506008546103e4565b34801561041357600080fd5b506103e460145481565b34801561042957600080fd5b50610308610438366004612be4565b610c9a565b34801561044957600080fd5b5061045d6104583660046129f8565b610ccb565b604080516001600160a01b0390931683526020830191909152016102df565b34801561048857600080fd5b506103e4610497366004612a9e565b610d77565b3480156104a857600080fd5b506103086104b7366004612c78565b610e0d565b3480156104c857600080fd5b506103e46104d7366004612a85565b610e21565b3480156104e857600080fd5b506103086104f7366004612be4565b610e47565b34801561050857600080fd5b506103e4610517366004612a85565b610e62565b34801561052857600080fd5b50610308610537366004612a85565b610ef5565b34801561054857600080fd5b50610308610f02565b34801561055d57600080fd5b5061036c61056c366004612a85565b610fb5565b34801561057d57600080fd5b506103e461058c366004612bc9565b611015565b34801561059d57600080fd5b5061030861109b565b3480156105b257600080fd5b506103e460115481565b3480156105c857600080fd5b506105dc6105d7366004612bc9565b6110af565b6040516102df9190612cc1565b3480156105f557600080fd5b506102d3610604366004612a9e565b6001600160a01b03919091166000908152600f6020526040902054101590565b34801561063057600080fd5b50610308611151565b34801561064557600080fd5b506103e460195481565b34801561065b57600080fd5b5061066f61066a366004612bc9565b611203565b6040516102df9190612d05565b34801561068857600080fd5b50610308610697366004612bc9565b6112f6565b3480156106a857600080fd5b50600a546001600160a01b031661036c565b3480156106c657600080fd5b5061033f611320565b3480156106db57600080fd5b506103e46106ea366004612a9e565b61132f565b3480156106fb57600080fd5b506103e460125481565b610308610713366004612a85565b611362565b34801561072457600080fd5b50610308610733366004612d54565b61162a565b34801561074457600080fd5b506015546102d39060ff1681565b34801561075e57600080fd5b5061030861076d366004612d85565b611635565b34801561077e57600080fd5b5060105461036c906001600160a01b031681565b34801561079e57600080fd5b506103086107ad366004612e01565b61166d565b3480156107be57600080fd5b506103086107cd366004612a85565b61177e565b3480156107de57600080fd5b5061030861178b565b3480156107f357600080fd5b5061033f610802366004612a85565b6117d0565b34801561081357600080fd5b5061081c611836565b6040516102df9190600060e0820190508251151582526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015292915050565b34801561088057600080fd5b506103e47f00000000000000000000000000000000000000000000000000000000000001bf81565b6103086118e9565b3480156108bc57600080fd5b506102d36108cb366004612e2d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561090557600080fd5b50610308610914366004612e57565b6118f2565b34801561092557600080fd5b50610308610934366004612bc9565b611977565b34801561094557600080fd5b506103e460135481565b600061095a826119ed565b92915050565b610968611a12565b6109728282611a6c565b5050565b61097e611a12565b601291909155601355565b60606000805461099890612ee4565b80601f01602080910402602001604051908101604052809291908181526020018280546109c490612ee4565b8015610a115780601f106109e657610100808354040283529160200191610a11565b820191906000526020600020905b8154815290600101906020018083116109f457829003601f168201915b5050505050905090565b6000610a2682611b69565b506000908152600460205260409020546001600160a01b031690565b6000610a4d82610fb5565b9050806001600160a01b0316836001600160a01b031603610abf5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610adb5750610adb81336108cb565b610b4d5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610ab6565b610b578383611bc8565b505050565b6000805b8251811015610bd7576000838281518110610b7d57610b7d612f1e565b60200260200101519050610b8e3390565b6001600160a01b0316610ba082610fb5565b6001600160a01b031603610bce57610bb781610e21565b601b546000838152601a6020526040902055909201915b50600101610b60565b50604051339082156108fc029083906000818181858888f19350505050158015610c05573d6000803e3d6000fd5b5060405181815233907f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e39888906020015b60405180910390a25050565b60008080610c4d84611015565b905060005b81811015610c91576000610c668683610d77565b9050610c7181610e21565b610c7b9085612f4a565b9350508080610c8990612f62565b915050610c52565b50909392505050565b610ca43382611c36565b610cc05760405162461bcd60e51b8152600401610ab690612f7b565b610b57838383611cb5565b6000828152600d602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610d40575060408051808201909152600c546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610d5f906001600160601b031687612fc9565b610d699190612ffe565b915196919550909350505050565b6000610d8283611015565b8210610de45760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610ab6565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610e15611a12565b600e6109728282613060565b6000818152601a6020526040812054601b54610e3d9190613120565b61095a9082612f4a565b610b5783838360405180602001604052806000815250611635565b6000610e6d60085490565b8210610ed05760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610ab6565b60088281548110610ee357610ee3612f1e565b90600052602060002001549050919050565b610efd611a12565b601155565b600080610f0e33611015565b905060005b81811015610f54576000610f273383610d77565b9050610f3281610e21565b601b546000928352601a60205260409092209190915590920191600101610f13565b50604051339083156108fc029084906000818181858888f19350505050158015610f82573d6000803e3d6000fd5b5060405182815233907f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e3988890602001610c34565b6000818152600260205260408120546001600160a01b03168061095a5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610ab6565b60006001600160a01b03821661107f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610ab6565b506001600160a01b031660009081526003602052604090205490565b6110a3611a12565b6110ad6000611e5c565b565b606060006110bc83611015565b905060008167ffffffffffffffff8111156110d9576110d9612ac8565b604051908082528060200260200182016040528015611102578160200160208202803683370190505b50905060005b828110156111495761111a8582610d77565b82828151811061112c5761112c612f1e565b60209081029190910101528061114181612f62565b915050611108565b509392505050565b611159611a12565b600061116d600a546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146111b7576040519150601f19603f3d011682016040523d82523d6000602084013e6111bc565b606091505b50509050806112005760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610ab6565b50565b6060600061121083611015565b905060008167ffffffffffffffff81111561122d5761122d612ac8565b60405190808252806020026020018201604052801561127257816020015b604080518082019091526000808252602082015281526020019060019003908161124b5790505b50905060005b8281101561114957600061128c8683610d77565b9050600061129982610e21565b9050818484815181106112ae576112ae612f1e565b60200260200101516000018181525050808484815181106112d1576112d1612f1e565b60200260200101516020018181525050505080806112ee90612f62565b915050611278565b6112fe611a12565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60606001805461099890612ee4565b6001600160a01b0382166000908152600f60205260408120548211156113575760125461135b565b6013545b9392505050565b6002600b54036113b45760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ab6565b6002600b5560155460ff16156113dd57604051634c97d28b60e01b815260040160405180910390fd5b60145442101561140057604051634c97d28b60e01b815260040160405180910390fd5b6011548111156114235760405163ec8e6a6360e01b815260040160405180910390fd5b8060000361144457604051632a6ce29960e11b815260040160405180910390fd5b6000611469335b6001600160a01b03166000908152600f602052604090205483111590565b61147557601254611479565b6013545b90506114843361144b565b156114ae57336000908152600f6020526040812080548492906114a8908490613120565b90915550505b60006114ba8383612fc9565b905060006114c760085490565b90507f00000000000000000000000000000000000000000000000000000000000001bf846018546017546114fb9190613120565b6115059084612f4a565b61150f9190612f4a565b111561152e57604051633bd7ad7760e21b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000001bf6115598583612f4a565b111561157857604051633bd7ad7760e21b815260040160405180910390fd5b8134146115985760405163cd1c886760e01b815260040160405180910390fd5b60015b8481116115d35760006115ac611eae565b90506115b83382612024565b601b546000918252601a60205260409091205560010161159b565b506115dd3461203e565b60408051828152602081018690524281830152905133917f5a3358a3d27a5373c0df2604662088d37894d56b7cfd27f315770440f4e0d919919081900360600190a250506001600b555050565b6109723383836120e1565b61163f3383611c36565b61165b5760405162461bcd60e51b8152600401610ab690612f7b565b611667848484846121af565b50505050565b611675611a12565b600061168060085490565b90507f00000000000000000000000000000000000000000000000000000000000001bf6116ad8483612f4a565b11156116cc57604051633bd7ad7760e21b815260040160405180910390fd5b60015b8381116117365760006017546018541015611706576001601860008282546116f79190612f4a565b90915550506018549050611711565b61170e611eae565b90505b61171b8482612024565b601b546000918252601a6020526040909120556001016116cf565b5060408051828152602081018590524281830152905133917f5a3358a3d27a5373c0df2604662088d37894d56b7cfd27f315770440f4e0d919919081900360600190a2505050565b611786611a12565b601455565b611793611a12565b6015805460ff19811660ff909116151790556040517fc2edccb307cae554b1ac23cfd137312c1be4d23dd40699132fcde9fc972f524f90600090a1565b60606117db82611b69565b60006117e56121e2565b90506000815111611805576040518060200160405280600081525061135b565b8061180f846121f1565b604051602001611820929190613137565b6040516020818303038152906040529392505050565b6118786040518060e001604052806000151581526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805160e08101825260155460ff1615158152601254602082015260135491810191909152606081016118ab60085490565b81526020017f00000000000000000000000000000000000000000000000000000000000001bf81526020016011548152602001601454815250905090565b6110ad346122f2565b6118fa611a12565b60005b815181101561194a576003600f600084848151811061191e5761191e612f1e565b6020908102919091018101516001600160a01b03168252810191909152604001600020556001016118fd565b506040517f22f196d9cf5ab2abfb5e4f2e291a2452f5c28d88e99b62b74b9c6e62ab231a4490600090a150565b61197f611a12565b6001600160a01b0381166119e45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ab6565b61120081611e5c565b60006001600160e01b0319821663152a902d60e11b148061095a575061095a8261234a565b600a546001600160a01b031633146110ad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ab6565b6127106001600160601b0382161115611ada5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610ab6565b6001600160a01b038216611b305760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610ab6565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600c55565b6000818152600260205260409020546001600160a01b03166112005760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610ab6565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611bfd82610fb5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c4283610fb5565b9050806001600160a01b0316846001600160a01b03161480611c8957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611cad5750836001600160a01b0316611ca284610a1b565b6001600160a01b0316145b949350505050565b826001600160a01b0316611cc882610fb5565b6001600160a01b031614611d2c5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610ab6565b6001600160a01b038216611d8e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610ab6565b611d9983838361236f565b611da4600082611bc8565b6001600160a01b0383166000908152600360205260408120805460019290611dcd908490613120565b90915550506001600160a01b0382166000908152600360205260408120805460019290611dfb908490612f4a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080601854601754611ec19190613120565b600854611eee907f00000000000000000000000000000000000000000000000000000000000001bf613120565b611ef89190613120565b6040516bffffffffffffffffffffffff1933606090811b8216602084015241901b166034820152446048820152456068820152426088820152909150600090829060a8016040516020818303038152906040528051906020012060001c611f5f9190613166565b600081815260166020526040812054919250908103611f7f575080611f90565b506000818152601660205260409020545b60166000611f9f600186613120565b815260200190815260200160002054600003611fd457611fc0600184613120565b600083815260166020526040902055612004565b60166000611fe3600186613120565b81526020808201929092526040908101600090812054858252601690935220555b6017546120119082612f4a565b61201c906001612f4a565b935050505090565b610972828260405180602001604052806000815250612427565b6000606461206c7f000000000000000000000000000000000000000000000000000000000000000884612fc9565b6120769190612ffe565b9050600060646120a67f000000000000000000000000000000000000000000000000000000000000000485612fc9565b6120b09190612ffe565b90506120cf816120c08486613120565b6120ca9190613120565b61245a565b6120d8826124c5565b610b57816124fe565b816001600160a01b0316836001600160a01b0316036121425760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ab6565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6121ba848484611cb5565b6121c684848484612537565b6116675760405162461bcd60e51b8152600401610ab69061317a565b6060600e805461099890612ee4565b6060816000036122185750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612242578061222c81612f62565b915061223b9050600a83612ffe565b915061221c565b60008167ffffffffffffffff81111561225d5761225d612ac8565b6040519080825280601f01601f191660200182016040528015612287576020820181803683370190505b5090505b8415611cad5761229c600183613120565b91506122a9600a86613166565b6122b4906030612f4a565b60f81b8183815181106122c9576122c9612f1e565b60200101906001600160f81b031916908160001a9053506122eb600a86612ffe565b945061228b565b806000036123135760405163e3a12f6760e01b815260040160405180910390fd5b806019546123219190612f4a565b6019556008546123319082612ffe565b601b60008282546123429190612f4a565b909155505050565b60006001600160e01b0319821663780e9d6360e01b148061095a575061095a82612638565b6001600160a01b0383166123ca576123c581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6123ed565b816001600160a01b0316836001600160a01b0316146123ed576123ed8382612688565b6001600160a01b03821661240457610b5781612725565b826001600160a01b0316826001600160a01b031614610b5757610b5782826127d4565b6124318383612818565b61243e6000848484612537565b610b575760405162461bcd60e51b8152600401610ab69061317a565b6010546040516000916001600160a01b03169061c3509084905b600060405180830381858888f193505050503d80600081146124b2576040519150601f19603f3d011682016040523d82523d6000602084013e6124b7565b606091505b505090508061097257600080fd5b60007f00000000000000000000000076d19e4f535af90ffeaf44531aed8936922473bb6001600160a01b03168261c35090604051612474565b60007f0000000000000000000000006ed752bf08308e52c47760954ab3cf3e47fea63d6001600160a01b03168261c35090604051612474565b60006001600160a01b0384163b1561262d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061257b9033908990889088906004016131cc565b6020604051808303816000875af19250505080156125b6575060408051601f3d908101601f191682019092526125b391810190613209565b60015b612613573d8080156125e4576040519150601f19603f3d011682016040523d82523d6000602084013e6125e9565b606091505b50805160000361260b5760405162461bcd60e51b8152600401610ab69061317a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611cad565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b148061266957506001600160e01b03198216635b5e139f60e01b145b8061095a57506301ffc9a760e01b6001600160e01b031983161461095a565b6000600161269584611015565b61269f9190613120565b6000838152600760205260409020549091508082146126f2576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061273790600190613120565b6000838152600960205260408120546008805493945090928490811061275f5761275f612f1e565b90600052602060002001549050806008838154811061278057612780612f1e565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806127b8576127b8613226565b6001900381819060005260206000200160009055905550505050565b60006127df83611015565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661286e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ab6565b6000818152600260205260409020546001600160a01b0316156128d35760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ab6565b6128df6000838361236f565b6001600160a01b0382166000908152600360205260408120805460019290612908908490612f4a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b03198116811461120057600080fd5b60006020828403121561298e57600080fd5b813561135b81612966565b80356001600160a01b03811681146129b057600080fd5b919050565b600080604083850312156129c857600080fd5b6129d183612999565b915060208301356001600160601b03811681146129ed57600080fd5b809150509250929050565b60008060408385031215612a0b57600080fd5b50508035926020909101359150565b60005b83811015612a35578181015183820152602001612a1d565b838111156116675750506000910152565b60008151808452612a5e816020860160208601612a1a565b601f01601f19169290920160200192915050565b60208152600061135b6020830184612a46565b600060208284031215612a9757600080fd5b5035919050565b60008060408385031215612ab157600080fd5b612aba83612999565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612b0757612b07612ac8565b604052919050565b600067ffffffffffffffff821115612b2957612b29612ac8565b5060051b60200190565b60006020808385031215612b4657600080fd5b823567ffffffffffffffff811115612b5d57600080fd5b8301601f81018513612b6e57600080fd5b8035612b81612b7c82612b0f565b612ade565b81815260059190911b82018301908381019087831115612ba057600080fd5b928401925b82841015612bbe57833582529284019290840190612ba5565b979650505050505050565b600060208284031215612bdb57600080fd5b61135b82612999565b600080600060608486031215612bf957600080fd5b612c0284612999565b9250612c1060208501612999565b9150604084013590509250925092565b600067ffffffffffffffff831115612c3a57612c3a612ac8565b612c4d601f8401601f1916602001612ade565b9050828152838383011115612c6157600080fd5b828260208301376000602084830101529392505050565b600060208284031215612c8a57600080fd5b813567ffffffffffffffff811115612ca157600080fd5b8201601f81018413612cb257600080fd5b611cad84823560208401612c20565b6020808252825182820181905260009190848201906040850190845b81811015612cf957835183529284019291840191600101612cdd565b50909695505050505050565b602080825282518282018190526000919060409081850190868401855b82811015612d4757815180518552860151868501529284019290850190600101612d22565b5091979650505050505050565b60008060408385031215612d6757600080fd5b612d7083612999565b9150602083013580151581146129ed57600080fd5b60008060008060808587031215612d9b57600080fd5b612da485612999565b9350612db260208601612999565b925060408501359150606085013567ffffffffffffffff811115612dd557600080fd5b8501601f81018713612de657600080fd5b612df587823560208401612c20565b91505092959194509250565b60008060408385031215612e1457600080fd5b82359150612e2460208401612999565b90509250929050565b60008060408385031215612e4057600080fd5b612e4983612999565b9150612e2460208401612999565b60006020808385031215612e6a57600080fd5b823567ffffffffffffffff811115612e8157600080fd5b8301601f81018513612e9257600080fd5b8035612ea0612b7c82612b0f565b81815260059190911b82018301908381019087831115612ebf57600080fd5b928401925b82841015612bbe57612ed584612999565b82529284019290840190612ec4565b600181811c90821680612ef857607f821691505b602082108103612f1857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115612f5d57612f5d612f34565b500190565b600060018201612f7457612f74612f34565b5060010190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b6000816000190483118215151615612fe357612fe3612f34565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261300d5761300d612fe8565b500490565b601f821115610b5757600081815260208120601f850160051c810160208610156130395750805b601f850160051c820191505b8181101561305857828155600101613045565b505050505050565b815167ffffffffffffffff81111561307a5761307a612ac8565b61308e816130888454612ee4565b84613012565b602080601f8311600181146130c357600084156130ab5750858301515b600019600386901b1c1916600185901b178555613058565b600085815260208120601f198616915b828110156130f2578886015182559484019460019091019084016130d3565b50858210156131105787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008282101561313257613132612f34565b500390565b60008351613149818460208801612a1a565b83519083019061315d818360208801612a1a565b01949350505050565b60008261317557613175612fe8565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906131ff90830184612a46565b9695505050505050565b60006020828403121561321b57600080fd5b815161135b81612966565b634e487b7160e01b600052603160045260246000fdfea264697066735822122062a30ba685d0356ef5d28ad9d56f5850453559aac2f39dc15e711f7cd864eb8064736f6c634300080f0033

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

00000000000000000000000000000000000000000000000000000000000000800000000000000000000000006676555f16c2590d504b65ea3faf05b1e37e0a3e00000000000000000000000076d19e4f535af90ffeaf44531aed8936922473bb0000000000000000000000006ed752bf08308e52c47760954ab3cf3e47fea63d0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d55434c364d44565467746e666e6372354758323743346f363979354e3879614e56746b5066426170596d77722f00000000000000000000

-----Decoded View---------------
Arg [0] : baseTokenURI_ (string): ipfs://QmUCL6MDVTgtnfncr5GX27C4o69y5N8yaNVtkPfBapYmwr/
Arg [1] : projectWallet_ (address): 0x6676555F16c2590D504B65ea3faf05b1e37e0a3E
Arg [2] : croDooWallet_ (address): 0x76d19E4f535AF90FFeAf44531aEd8936922473bb
Arg [3] : blackWallet_ (address): 0x6eD752Bf08308e52C47760954AB3Cf3E47fEA63D

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 0000000000000000000000006676555f16c2590d504b65ea3faf05b1e37e0a3e
Arg [2] : 00000000000000000000000076d19e4f535af90ffeaf44531aed8936922473bb
Arg [3] : 0000000000000000000000006ed752bf08308e52c47760954ab3cf3e47fea63d
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [5] : 697066733a2f2f516d55434c364d44565467746e666e6372354758323743346f
Arg [6] : 363979354e3879614e56746b5066426170596d77722f00000000000000000000


Block Transaction Gas Used Reward
view all blocks validated

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.