ETH Price: $2,885.96 (-5.42%)
Gas: 1 Gwei

Token

 

Overview

Max Total Supply

923

Holders

435

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

0x2f6ed65f1e6964897e980a89a0e789ee898558e5
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
PMCC1155

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : PMCC.sol
// SPDX-License-Identifier: MIT
/*
            ___        _               _             
           / _ \ _ __ (_)__   __ __ _ | |_  ___      
          / /_)/| '__|| |\ \ / // _` || __|/ _ \     
         / ___/ | |   | | \ V /| (_| || |_|  __/     
         \/     |_|   |_|  \_/_ \__,_| \__|\___|     
      /\/\    ___  _ __ ___  | |__    ___  _ __  ___ 
     /    \  / _ \| '_ ` _ \ | '_ \  / _ \| '__|/ __|
    / /\/\ \|  __/| | | | | || |_) ||  __/| |   \__ \
    \/    \/ \___||_| |_| |_||_.__/  \___||_|   |___/
             ___                     _               
            / __\_ __  _   _  _ __  | |_  ___        
           / /  | '__|| | | || '_ \ | __|/ _ \       
          / /___| |   | |_| || |_) || |_| (_) |      
          \____/|_|    \__, || .__/  \__|\___/       
                 ___  _|___/ |_|_                    
                / __\| | _   _ | |__                 
               / /   | || | | || '_ \                
              / /___ | || |_| || |_) |               
              \____/ |_| \__,_||_.__/    
          Crypto Club Global https://cc-gbl.io/
                                             
*/

pragma solidity 0.8.2;

import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/security/Pausable.sol";

/// @custom:security-contact [email protected]
/// @title Crypto Club London NFT tokens
/// @notice Modified ERC-1155 contract to function more as an ERC721 but with improved efficient minting capabilities
contract PMCC1155 is Context, ERC165, IERC2981, IERC1155, IERC1155MetadataURI, ReentrancyGuard, Ownable, Pausable {
    using Counters for Counters.Counter;
    using Address for address;

    /// @dev Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;
    /// @dev Mapping from accounts to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;
    /// @dev Mapping from accounts to whitelist totals
    mapping(address => uint256) private _whiteListTotals;

    /// @dev Used as the URI for all token types by relying on ID substitution
    string private _uri;

    /// @dev Make NFT tokens enumerable
    Counters.Counter private _tokenIdCounter;

    /// @dev Cap supply
    uint256 maxSupply = 5000;

    /** 
    @dev Initially 5% royalty is expected, but can be changed with setRoyaltyFee(uint256 fee). Specified out of 10 000;
    this is converted to a percentage, but is set to 10 000 for improved accuracy for decimal places as Solidity does
    not handle floats.
    */
    uint256 private _royaltyFee = 500;

    /// @dev royalty to be paid to specific address
    address private _royaltyReceiver;

    /// @dev initial token prices
    uint256 _diamondPrice = 400000000000000000;
    uint256 _platinumPrice = 480000000000000000;

    /// @dev sale stage variable: 0 - founder, 1 - whitelist, 2 - public; starts at 0
    uint256 _stage = 0;

    constructor(string memory base_) {
        _setURI(base_);
        setRoyaltyReceiver(owner());
    }

    /// @dev Function to set the base URI
    function setURI(string calldata newuri) public onlyOwner {
        _setURI(newuri);
    }

    /// @notice Public function to retrieve the contract description for OpenSea
    function contractURI() public view returns (string memory) {
        return string(abi.encodePacked(_uri, "contract.json"));
    }

    /// @notice Public functions to get the total supply
    function totalSupply() public view returns (uint256) {
        uint256 tokenId = _tokenIdCounter.current();
        return tokenId;
    }

    /// @dev Function to pause all transfers
    function pause() public onlyOwner {
        _pause();
    }

    /// @dev Function to allow all transfers
    function unpause() public onlyOwner {
        _unpause();
    }

    /** @dev Function to add list of addresses to whiteList
    each address is mapped to the number of tokens it is allowed to
    mint, which is initially a maximum of 3.
    */
    function addToWhitelist(address[] calldata addressList) public onlyOwner {
        for (uint256 i = 0; i < addressList.length; i++) {
            _whiteListTotals[addressList[i]] = 3;
        }
    }

    /// @notice Function to check if an address is on the whitelist
    function checkOnWhitelist(address candidate_) public view returns (uint256) {
        return _whiteListTotals[candidate_];
    }

    /// @notice Mints multiple tokens at the same time provided price, sale, and supply cap are acceptable
    function mintBatch(
        address to,
        uint256 number,
        bytes memory data
    ) external payable nonReentrant whenNotPaused {
        // uint256 stage = _stage;
        uint256 currentTokenId = _tokenIdCounter.current();
        require((number > 0), "PMCC: must mint at least one token");
        require(((number + currentTokenId) <= maxSupply), "PMCC: request exceeds maxSupply");
        if (msg.sender != owner()) {
            require((_stage > 0), "PMCC: public minting not yet open");
            require((number <= 3), "PMCC: minting limited to maximum 3 tokens");
            require(msg.value == getMintingPrice(number), "PMCC: price must be equal to current getMintingPrice");
            if (_stage == 1) {
                // revert if we are in whitelist period and minter is not on the whitelist and is not owner
                require((_whiteListTotals[msg.sender] >= number), "PMCC: sender has insufficient whitelist allowance");
                _whiteListTotals[msg.sender] = _whiteListTotals[msg.sender] - number;
            }
        }
        uint256[] memory ids = new uint256[](number);
        uint256[] memory amount = new uint256[](number);
        for (uint256 i = 0; i < number; i++) {
            _tokenIdCounter.increment();
            ids[i] = _tokenIdCounter.current();
            amount[i] = 0x00000000000000000000000000000001;
        }
        _mintBatch(to, ids, amount, data);
    }

    /// @dev Allows owner to trigger withdrawal of contract funds to the royalty address
    function withdraw() public whenNotPaused {
        uint256 balance = address(this).balance;
        require((balance > 0), "PMCC: no balance to withdraw");
        Address.sendValue(payable(_royaltyReceiver), balance);
    }

    /// @notice Returns cost of minting a token, which is based on the tokenId range
    function getMintingPrice(uint256 amount) public view returns (uint256) {
        // we want the price of the next token, so add 1
        uint256 tokenId = _tokenIdCounter.current() + 1;
        uint256 _price;
        if (tokenId < 301) {
            _price = 0;
        } else if (tokenId < 1301) {
            _price = _diamondPrice;
        } else {
            _price = _platinumPrice;
        }
        // if minting accross the diamond/platinum threshold the minter gets a bargain
        return _price * amount;
    }

    // Sets new prices for minting diamond and platinum tokens
    function setMintingPrice(uint256 diamond_, uint256 platinum_) public virtual onlyOwner {
        _diamondPrice = diamond_;
        _platinumPrice = platinum_;
    }

    /// @dev Sets the current sale stage
    function setSaleStage(uint256 stage_) public virtual onlyOwner {
        _stage = stage_;
    }

    /// @notice  Gets the current sale stage
    function getSaleStage() public view returns (uint256) {
        return _stage;
    }

    /// @dev Returns a uint256 as a string
    function uint2str(uint256 _i) internal pure returns (string memory str) {
        if (_i == 0) {
            return "0";
        }
        uint256 j = _i;
        uint256 length;
        while (j != 0) {
            length++;
            j /= 10;
        }
        bytes memory bstr = new bytes(length);
        uint256 k = length;
        j = _i;
        while (j != 0) {
            bstr[--k] = bytes1(uint8(48 + (j % 10)));
            j /= 10;
        }
        return string(bstr);
    }

    /// @notice  Returns the metadata URI for tokenId
    function uri(uint256 tokenId) public view virtual override returns (string memory) {
        return string(abi.encodePacked(_uri, uint2str(tokenId), ".json"));
    }

    /// @dev Sets the recommended royalty percentage 0-10000
    function setRoyaltyFee(uint256 fee) public onlyOwner {
        require(fee <= 10000, "PMCC: royalty cannot be greater than 100%");
        _royaltyFee = fee;
    }

    /// @notice Retrieve recommended royalty payment as per EIP-2981
    function royaltyInfo(uint256, uint256 _salePrice)
        public
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        return (_royaltyReceiver, (_salePrice * _royaltyFee) / 10000);
    }

    /// @dev Change receiving address for royalties
    function setRoyaltyReceiver(address newReceiver) public virtual onlyOwner {
        require(newReceiver != address(0), "PMCC: new royalty receiver cannot be the zero address");
        _royaltyReceiver = newReceiver;
    }

    // This section is @openzeppelin/contracts/token/ERC1155/ERC1155.sol
    // copied with irrelevant sections removed

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

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types
     *
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual whenNotPaused {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 2 of 14 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 3 of 14 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 4 of 14 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 5 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 14 : 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 7 of 14 : 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 8 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

File 9 of 14 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 10 of 14 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 11 of 14 : 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 12 of 14 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 13 of 14 : 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 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

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":"base_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address[]","name":"addressList","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"candidate_","type":"address"}],"name":"checkOnWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getMintingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSaleStage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"number","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mintBatch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"uint256","name":"diamond_","type":"uint256"},{"internalType":"uint256","name":"platinum_","type":"uint256"}],"name":"setMintingPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setRoyaltyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newReceiver","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stage_","type":"uint256"}],"name":"setSaleStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526113886007556101f460085567058d15e176280000600a556706a94d74f4300000600b556000600c553480156200003a57600080fd5b5060405162002f1f38038062002f1f8339810160408190526200005d91620002ba565b60016000556200006d33620000a9565b6001805460ff60a01b191690556200008581620000fb565b620000a26200009c6001546001600160a01b031690565b62000114565b50620003e3565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80516200011090600590602084019062000214565b5050565b6001546001600160a01b03163314620001745760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038116620001f25760405162461bcd60e51b815260206004820152603560248201527f504d43433a206e657720726f79616c74792072656365697665722063616e6e6f60448201527f7420626520746865207a65726f2061646472657373000000000000000000000060648201526084016200016b565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b828054620002229062000390565b90600052602060002090601f01602090048101928262000246576000855562000291565b82601f106200026157805160ff191683800117855562000291565b8280016001018555821562000291579182015b828111156200029157825182559160200191906001019062000274565b506200029f929150620002a3565b5090565b5b808211156200029f5760008155600101620002a4565b60006020808385031215620002cd578182fd5b82516001600160401b0380821115620002e4578384fd5b818501915085601f830112620002f8578384fd5b8151818111156200030d576200030d620003cd565b604051601f8201601f19908116603f01168101908382118183101715620003385762000338620003cd565b81604052828152888684870101111562000350578687fd5b8693505b8284101562000373578484018601518185018701529285019262000354565b828411156200038457868684830101525b98975050505050505050565b600281046001821680620003a557607f821691505b60208210811415620003c757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612b2c80620003f36000396000f3fe6080604052600436106101b65760003560e01c80635c975abb116100ec578063c057e1571161008a578063eb1635ed11610064578063eb1635ed146104f0578063f242432a14610510578063f2fde38b14610530578063f983842e14610550576101b6565b8063c057e15714610472578063e8a3d48514610492578063e985e9c5146104a7576101b6565b80638456cb59116100c65780638456cb59146103f55780638da5cb5b1461040a5780638dc251e314610432578063a22cb46514610452576101b6565b80635c975abb146103a0578063715018a6146103c05780637f649783146103d5576101b6565b80632eb2c2d6116101595780633e4086e5116101335780633e4086e5146103295780633f4ba83a1461034957806345c16a221461035e5780634e1273f414610373576101b6565b80632eb2c2d6146102e157806331f0e6c8146103015780633ccfd60b14610314576101b6565b80630e89341c116101955780630e89341c1461024057806311f8e6781461026d57806318160ddd1461028d5780632a55205a146102a2576101b6565b8062fdd58e146101bb57806301ffc9a7146101ee57806302fe53051461021e575b600080fd5b3480156101c757600080fd5b506101db6101d6366004612245565b610586565b6040519081526020015b60405180910390f35b3480156101fa57600080fd5b5061020e6102093660046123f8565b61061f565b60405190151581526020016101e5565b34801561022a57600080fd5b5061023e610239366004612430565b61068e565b005b34801561024c57600080fd5b5061026061025b36600461248a565b6106fb565b6040516101e59190612703565b34801561027957600080fd5b5061023e61028836600461248a565b61072f565b34801561029957600080fd5b506101db61075e565b3480156102ae57600080fd5b506102c26102bd3660046124a2565b610771565b604080516001600160a01b0390931683526020830191909152016101e5565b3480156102ed57600080fd5b5061023e6102fc366004612104565b6107ab565b61023e61030f36600461226e565b610842565b34801561032057600080fd5b5061023e610ccb565b34801561033557600080fd5b5061023e61034436600461248a565b610d62565b34801561035557600080fd5b5061023e610df5565b34801561036a57600080fd5b50600c546101db565b34801561037f57600080fd5b5061039361038e366004612330565b610e29565b6040516101e591906126c2565b3480156103ac57600080fd5b5061020e600154600160a01b900460ff1690565b3480156103cc57600080fd5b5061023e610f8a565b3480156103e157600080fd5b5061023e6103f03660046122c2565b610fbe565b34801561040157600080fd5b5061023e61105f565b34801561041657600080fd5b506001546040516001600160a01b0390911681526020016101e5565b34801561043e57600080fd5b5061023e61044d3660046120b1565b611091565b34801561045e57600080fd5b5061023e61046d36600461220b565b611151565b34801561047e57600080fd5b5061023e61048d3660046124a2565b611235565b34801561049e57600080fd5b5061026061126a565b3480156104b357600080fd5b5061020e6104c23660046120d2565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b3480156104fc57600080fd5b506101db61050b36600461248a565b611292565b34801561051c57600080fd5b5061023e61052b3660046121a9565b6112e9565b34801561053c57600080fd5b5061023e61054b3660046120b1565b611370565b34801561055c57600080fd5b506101db61056b3660046120b1565b6001600160a01b031660009081526004602052604090205490565b60006001600160a01b0383166105f75760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b5060009081526002602090815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061065057506001600160e01b031982166303a24d0760e21b145b8061066b57506001600160e01b0319821663152a902d60e11b145b8061068657506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b6001546001600160a01b031633146106b85760405162461bcd60e51b81526004016105ee90612817565b6106f782828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061140892505050565b5050565b606060056107088361141b565b6040516020016107199291906125c1565b6040516020818303038152906040529050919050565b6001546001600160a01b031633146107595760405162461bcd60e51b81526004016105ee90612817565b600c55565b60008061076a60065490565b9150505b90565b60095460085460009182916001600160a01b03909116906127109061079690866128e3565b6107a091906128cf565b915091509250929050565b6001600160a01b0385163314806107c757506107c785336104c2565b61082e5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016105ee565b61083b8585858585611540565b5050505050565b600260005414156108955760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105ee565b60026000556108ad600154600160a01b900460ff1690565b156108ca5760405162461bcd60e51b81526004016105ee9061275e565b60006108d560065490565b9050600083116109325760405162461bcd60e51b815260206004820152602260248201527f504d43433a206d757374206d696e74206174206c65617374206f6e6520746f6b60448201526132b760f11b60648201526084016105ee565b60075461093f82856128b7565b111561098d5760405162461bcd60e51b815260206004820152601f60248201527f504d43433a20726571756573742065786365656473206d6178537570706c790060448201526064016105ee565b6001546001600160a01b03163314610b82576000600c54116109fb5760405162461bcd60e51b815260206004820152602160248201527f504d43433a207075626c6963206d696e74696e67206e6f7420796574206f70656044820152603760f91b60648201526084016105ee565b6003831115610a5e5760405162461bcd60e51b815260206004820152602960248201527f504d43433a206d696e74696e67206c696d6974656420746f206d6178696d756d604482015268203320746f6b656e7360b81b60648201526084016105ee565b610a6783611292565b3414610ad25760405162461bcd60e51b815260206004820152603460248201527f504d43433a207072696365206d75737420626520657175616c20746f2063757260448201527372656e74206765744d696e74696e67507269636560601b60648201526084016105ee565b600c5460011415610b825733600090815260046020526040902054831115610b565760405162461bcd60e51b815260206004820152603160248201527f504d43433a2073656e6465722068617320696e73756666696369656e742077686044820152706974656c69737420616c6c6f77616e636560781b60648201526084016105ee565b33600090815260046020526040902054610b71908490612902565b336000908152600460205260409020555b6000836001600160401b03811115610baa57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610bd3578160200160208202803683370190505b5090506000846001600160401b03811115610bfe57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c27578160200160208202803683370190505b50905060005b85811015610cb157610c43600680546001019055565b600654838281518110610c6657634e487b7160e01b600052603260045260246000fd5b6020026020010181815250506001828281518110610c9457634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610ca9816129c7565b915050610c2d565b50610cbe86838387611709565b5050600160005550505050565b610cde600154600160a01b900460ff1690565b15610cfb5760405162461bcd60e51b81526004016105ee9061275e565b4780610d495760405162461bcd60e51b815260206004820152601c60248201527f504d43433a206e6f2062616c616e636520746f2077697468647261770000000060448201526064016105ee565b600954610d5f906001600160a01b0316826118ba565b50565b6001546001600160a01b03163314610d8c5760405162461bcd60e51b81526004016105ee90612817565b612710811115610df05760405162461bcd60e51b815260206004820152602960248201527f504d43433a20726f79616c74792063616e6e6f742062652067726561746572206044820152687468616e203130302560b81b60648201526084016105ee565b600855565b6001546001600160a01b03163314610e1f5760405162461bcd60e51b81526004016105ee90612817565b610e276119d3565b565b60608151835114610e8e5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016105ee565b600083516001600160401b03811115610eb757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ee0578160200160208202803683370190505b50905060005b8451811015610f8257610f47858281518110610f1257634e487b7160e01b600052603260045260246000fd5b6020026020010151858381518110610f3a57634e487b7160e01b600052603260045260246000fd5b6020026020010151610586565b828281518110610f6757634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610f7b816129c7565b9050610ee6565b509392505050565b6001546001600160a01b03163314610fb45760405162461bcd60e51b81526004016105ee90612817565b610e276000611a76565b6001546001600160a01b03163314610fe85760405162461bcd60e51b81526004016105ee90612817565b60005b8181101561105a5760036004600085858581811061101957634e487b7160e01b600052603260045260246000fd5b905060200201602081019061102e91906120b1565b6001600160a01b0316815260208101919091526040016000205580611052816129c7565b915050610feb565b505050565b6001546001600160a01b031633146110895760405162461bcd60e51b81526004016105ee90612817565b610e27611ac8565b6001546001600160a01b031633146110bb5760405162461bcd60e51b81526004016105ee90612817565b6001600160a01b03811661112f5760405162461bcd60e51b815260206004820152603560248201527f504d43433a206e657720726f79616c74792072656365697665722063616e6e6f6044820152747420626520746865207a65726f206164647265737360581b60648201526084016105ee565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b336001600160a01b03831614156111bc5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016105ee565b3360008181526003602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611229911515815260200190565b60405180910390a35050565b6001546001600160a01b0316331461125f5760405162461bcd60e51b81526004016105ee90612817565b600a91909155600b55565b6060600560405160200161127e91906125f6565b604051602081830303815290604052905090565b60008061129e60065490565b6112a99060016128b7565b9050600061012d8210156112bf575060006112d7565b6105158210156112d25750600a546112d7565b50600b545b6112e184826128e3565b949350505050565b6001600160a01b038516331480611305575061130585336104c2565b6113635760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016105ee565b61083b8585858585611b33565b6001546001600160a01b0316331461139a5760405162461bcd60e51b81526004016105ee90612817565b6001600160a01b0381166113ff5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ee565b610d5f81611a76565b80516106f7906005906020840190611f21565b60608161144057506040805180820190915260018152600360fc1b6020820152610689565b8160005b811561146a5780611454816129c7565b91506114639050600a836128cf565b9150611444565b6000816001600160401b0381111561149257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156114bc576020820181803683370190505b508593509050815b8315611537576114d5600a856129e2565b6114e09060306128b7565b60f81b826114ed83612949565b9250828151811061150e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611530600a856128cf565b93506114c4565b50949350505050565b81518351146115615760405162461bcd60e51b81526004016105ee9061284c565b6001600160a01b0384166115875760405162461bcd60e51b81526004016105ee90612788565b33611596818787878787611c63565b60005b845181101561169b5760008582815181106115c457634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008583815181106115f057634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526002835260408082206001600160a01b038e1683529093529190912054909150818110156116415760405162461bcd60e51b81526004016105ee906127cd565b60008381526002602090815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906116809084906128b7565b9250508190555050505080611694906129c7565b9050611599565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516116eb9291906126d5565b60405180910390a4611701818787878787611c93565b505050505050565b6001600160a01b0384166117695760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016105ee565b815183511461178a5760405162461bcd60e51b81526004016105ee9061284c565b3361179a81600087878787611c63565b60005b8451811015611852578381815181106117c657634e487b7160e01b600052603260045260246000fd5b6020026020010151600260008784815181106117f257634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b03168152602001908152602001600020600082825461183a91906128b7565b9091555081905061184a816129c7565b91505061179d565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118a39291906126d5565b60405180910390a461083b81600087878787611c93565b8047101561190a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016105ee565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611957576040519150601f19603f3d011682016040523d82523d6000602084013e61195c565b606091505b505090508061105a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016105ee565b6119e6600154600160a01b900460ff1690565b611a295760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105ee565b6001805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611adb600154600160a01b900460ff1690565b15611af85760405162461bcd60e51b81526004016105ee9061275e565b6001805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a593390565b6001600160a01b038416611b595760405162461bcd60e51b81526004016105ee90612788565b33611b78818787611b6988611dfe565b611b7288611dfe565b87611c63565b60008481526002602090815260408083206001600160a01b038a16845290915290205483811015611bbb5760405162461bcd60e51b81526004016105ee906127cd565b60008581526002602090815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611bfa9084906128b7565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611c5a828888888888611e57565b50505050505050565b611c76600154600160a01b900460ff1690565b156117015760405162461bcd60e51b81526004016105ee9061275e565b6001600160a01b0384163b156117015760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611cd7908990899088908890889060040161261f565b602060405180830381600087803b158015611cf157600080fd5b505af1925050508015611d21575060408051601f3d908101601f19168201909252611d1e91810190612414565b60015b611dce57611d2d612a38565b806308c379a01415611d675750611d42612a4f565b80611d4d5750611d69565b8060405162461bcd60e51b81526004016105ee9190612703565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016105ee565b6001600160e01b0319811663bc197c8160e01b14611c5a5760405162461bcd60e51b81526004016105ee90612716565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611e4657634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6001600160a01b0384163b156117015760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611e9b908990899088908890889060040161267d565b602060405180830381600087803b158015611eb557600080fd5b505af1925050508015611ee5575060408051601f3d908101601f19168201909252611ee291810190612414565b60015b611ef157611d2d612a38565b6001600160e01b0319811663f23a6e6160e01b14611c5a5760405162461bcd60e51b81526004016105ee90612716565b828054611f2d90612960565b90600052602060002090601f016020900481019282611f4f5760008555611f95565b82601f10611f6857805160ff1916838001178555611f95565b82800160010185558215611f95579182015b82811115611f95578251825591602001919060010190611f7a565b50611fa1929150611fa5565b5090565b5b80821115611fa15760008155600101611fa6565b80356001600160a01b038116811461068957600080fd5b600082601f830112611fe1578081fd5b81356020611fee82612894565b604051611ffb828261299b565b838152828101915085830183850287018401881015612018578586fd5b855b858110156120365781358452928401929084019060010161201a565b5090979650505050505050565b600082601f830112612053578081fd5b81356001600160401b0381111561206c5761206c612a22565b604051612083601f8301601f19166020018261299b565b818152846020838601011115612097578283fd5b816020850160208301379081016020019190915292915050565b6000602082840312156120c2578081fd5b6120cb82611fba565b9392505050565b600080604083850312156120e4578081fd5b6120ed83611fba565b91506120fb60208401611fba565b90509250929050565b600080600080600060a0868803121561211b578081fd5b61212486611fba565b945061213260208701611fba565b935060408601356001600160401b038082111561214d578283fd5b61215989838a01611fd1565b9450606088013591508082111561216e578283fd5b61217a89838a01611fd1565b9350608088013591508082111561218f578283fd5b5061219c88828901612043565b9150509295509295909350565b600080600080600060a086880312156121c0578081fd5b6121c986611fba565b94506121d760208701611fba565b9350604086013592506060860135915060808601356001600160401b038111156121ff578182fd5b61219c88828901612043565b6000806040838503121561221d578182fd5b61222683611fba565b91506020830135801515811461223a578182fd5b809150509250929050565b60008060408385031215612257578182fd5b61226083611fba565b946020939093013593505050565b600080600060608486031215612282578283fd5b61228b84611fba565b92506020840135915060408401356001600160401b038111156122ac578182fd5b6122b886828701612043565b9150509250925092565b600080602083850312156122d4578182fd5b82356001600160401b03808211156122ea578384fd5b818501915085601f8301126122fd578384fd5b81358181111561230b578485fd5b866020808302850101111561231e578485fd5b60209290920196919550909350505050565b60008060408385031215612342578182fd5b82356001600160401b0380821115612358578384fd5b818501915085601f83011261236b578384fd5b8135602061237882612894565b604051612385828261299b565b8381528281019150858301838502870184018b10156123a2578889fd5b8896505b848710156123cb576123b781611fba565b8352600196909601959183019183016123a6565b50965050860135925050808211156123e1578283fd5b506123ee85828601611fd1565b9150509250929050565b600060208284031215612409578081fd5b81356120cb81612ae0565b600060208284031215612425578081fd5b81516120cb81612ae0565b60008060208385031215612442578182fd5b82356001600160401b0380821115612458578384fd5b818501915085601f83011261246b578384fd5b813581811115612479578485fd5b86602082850101111561231e578485fd5b60006020828403121561249b578081fd5b5035919050565b600080604083850312156124b4578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b838110156124f2578151875295820195908201906001016124d6565b509495945050505050565b60008151808452612515816020860160208601612919565b601f01601f19169290920160200192915050565b80546000906002810460018083168061254357607f831692505b602080841082141561256357634e487b7160e01b86526022600452602486fd5b8180156125775760018114612588576125b5565b60ff198616895284890196506125b5565b60008881526020902060005b868110156125ad5781548b820152908501908301612594565b505084890196505b50505050505092915050565b60006125cd8285612529565b83516125dd818360208801612919565b64173539b7b760d91b9101908152600501949350505050565b60006126028284612529565b6c31b7b73a3930b1ba173539b7b760991b8152600d019392505050565b6001600160a01b0386811682528516602082015260a06040820181905260009061264b908301866124c3565b828103606084015261265d81866124c3565b9050828103608084015261267181856124fd565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906126b7908301846124fd565b979650505050505050565b6000602082526120cb60208301846124c3565b6000604082526126e860408301856124c3565b82810360208401526126fa81856124c3565b95945050505050565b6000602082526120cb60208301846124fd565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60006001600160401b038211156128ad576128ad612a22565b5060209081020190565b600082198211156128ca576128ca6129f6565b500190565b6000826128de576128de612a0c565b500490565b60008160001904831182151516156128fd576128fd6129f6565b500290565b600082821015612914576129146129f6565b500390565b60005b8381101561293457818101518382015260200161291c565b83811115612943576000848401525b50505050565b600081612958576129586129f6565b506000190190565b60028104600182168061297457607f821691505b6020821081141561299557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f191681016001600160401b03811182821017156129c0576129c0612a22565b6040525050565b60006000198214156129db576129db6129f6565b5060010190565b6000826129f1576129f1612a0c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d111561076e57600481823e5160e01c90565b600060443d1015612a5f5761076e565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715612a9057505050505061076e565b8285019150815181811115612aaa5750505050505061076e565b843d8701016020828501011115612ac65750505050505061076e565b612ad56020828601018761299b565b509094505050505090565b6001600160e01b031981168114610d5f57600080fdfea264697066735822122060c1f139c988265a13c47fdc3ab55432f966b4500077e7009ee91d4332e7d4cf64736f6c634300080200330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f6173736574732e63632d67626c2e696f2f6d657461646174612f000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101b65760003560e01c80635c975abb116100ec578063c057e1571161008a578063eb1635ed11610064578063eb1635ed146104f0578063f242432a14610510578063f2fde38b14610530578063f983842e14610550576101b6565b8063c057e15714610472578063e8a3d48514610492578063e985e9c5146104a7576101b6565b80638456cb59116100c65780638456cb59146103f55780638da5cb5b1461040a5780638dc251e314610432578063a22cb46514610452576101b6565b80635c975abb146103a0578063715018a6146103c05780637f649783146103d5576101b6565b80632eb2c2d6116101595780633e4086e5116101335780633e4086e5146103295780633f4ba83a1461034957806345c16a221461035e5780634e1273f414610373576101b6565b80632eb2c2d6146102e157806331f0e6c8146103015780633ccfd60b14610314576101b6565b80630e89341c116101955780630e89341c1461024057806311f8e6781461026d57806318160ddd1461028d5780632a55205a146102a2576101b6565b8062fdd58e146101bb57806301ffc9a7146101ee57806302fe53051461021e575b600080fd5b3480156101c757600080fd5b506101db6101d6366004612245565b610586565b6040519081526020015b60405180910390f35b3480156101fa57600080fd5b5061020e6102093660046123f8565b61061f565b60405190151581526020016101e5565b34801561022a57600080fd5b5061023e610239366004612430565b61068e565b005b34801561024c57600080fd5b5061026061025b36600461248a565b6106fb565b6040516101e59190612703565b34801561027957600080fd5b5061023e61028836600461248a565b61072f565b34801561029957600080fd5b506101db61075e565b3480156102ae57600080fd5b506102c26102bd3660046124a2565b610771565b604080516001600160a01b0390931683526020830191909152016101e5565b3480156102ed57600080fd5b5061023e6102fc366004612104565b6107ab565b61023e61030f36600461226e565b610842565b34801561032057600080fd5b5061023e610ccb565b34801561033557600080fd5b5061023e61034436600461248a565b610d62565b34801561035557600080fd5b5061023e610df5565b34801561036a57600080fd5b50600c546101db565b34801561037f57600080fd5b5061039361038e366004612330565b610e29565b6040516101e591906126c2565b3480156103ac57600080fd5b5061020e600154600160a01b900460ff1690565b3480156103cc57600080fd5b5061023e610f8a565b3480156103e157600080fd5b5061023e6103f03660046122c2565b610fbe565b34801561040157600080fd5b5061023e61105f565b34801561041657600080fd5b506001546040516001600160a01b0390911681526020016101e5565b34801561043e57600080fd5b5061023e61044d3660046120b1565b611091565b34801561045e57600080fd5b5061023e61046d36600461220b565b611151565b34801561047e57600080fd5b5061023e61048d3660046124a2565b611235565b34801561049e57600080fd5b5061026061126a565b3480156104b357600080fd5b5061020e6104c23660046120d2565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b3480156104fc57600080fd5b506101db61050b36600461248a565b611292565b34801561051c57600080fd5b5061023e61052b3660046121a9565b6112e9565b34801561053c57600080fd5b5061023e61054b3660046120b1565b611370565b34801561055c57600080fd5b506101db61056b3660046120b1565b6001600160a01b031660009081526004602052604090205490565b60006001600160a01b0383166105f75760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b5060009081526002602090815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061065057506001600160e01b031982166303a24d0760e21b145b8061066b57506001600160e01b0319821663152a902d60e11b145b8061068657506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b6001546001600160a01b031633146106b85760405162461bcd60e51b81526004016105ee90612817565b6106f782828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061140892505050565b5050565b606060056107088361141b565b6040516020016107199291906125c1565b6040516020818303038152906040529050919050565b6001546001600160a01b031633146107595760405162461bcd60e51b81526004016105ee90612817565b600c55565b60008061076a60065490565b9150505b90565b60095460085460009182916001600160a01b03909116906127109061079690866128e3565b6107a091906128cf565b915091509250929050565b6001600160a01b0385163314806107c757506107c785336104c2565b61082e5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016105ee565b61083b8585858585611540565b5050505050565b600260005414156108955760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105ee565b60026000556108ad600154600160a01b900460ff1690565b156108ca5760405162461bcd60e51b81526004016105ee9061275e565b60006108d560065490565b9050600083116109325760405162461bcd60e51b815260206004820152602260248201527f504d43433a206d757374206d696e74206174206c65617374206f6e6520746f6b60448201526132b760f11b60648201526084016105ee565b60075461093f82856128b7565b111561098d5760405162461bcd60e51b815260206004820152601f60248201527f504d43433a20726571756573742065786365656473206d6178537570706c790060448201526064016105ee565b6001546001600160a01b03163314610b82576000600c54116109fb5760405162461bcd60e51b815260206004820152602160248201527f504d43433a207075626c6963206d696e74696e67206e6f7420796574206f70656044820152603760f91b60648201526084016105ee565b6003831115610a5e5760405162461bcd60e51b815260206004820152602960248201527f504d43433a206d696e74696e67206c696d6974656420746f206d6178696d756d604482015268203320746f6b656e7360b81b60648201526084016105ee565b610a6783611292565b3414610ad25760405162461bcd60e51b815260206004820152603460248201527f504d43433a207072696365206d75737420626520657175616c20746f2063757260448201527372656e74206765744d696e74696e67507269636560601b60648201526084016105ee565b600c5460011415610b825733600090815260046020526040902054831115610b565760405162461bcd60e51b815260206004820152603160248201527f504d43433a2073656e6465722068617320696e73756666696369656e742077686044820152706974656c69737420616c6c6f77616e636560781b60648201526084016105ee565b33600090815260046020526040902054610b71908490612902565b336000908152600460205260409020555b6000836001600160401b03811115610baa57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610bd3578160200160208202803683370190505b5090506000846001600160401b03811115610bfe57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c27578160200160208202803683370190505b50905060005b85811015610cb157610c43600680546001019055565b600654838281518110610c6657634e487b7160e01b600052603260045260246000fd5b6020026020010181815250506001828281518110610c9457634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610ca9816129c7565b915050610c2d565b50610cbe86838387611709565b5050600160005550505050565b610cde600154600160a01b900460ff1690565b15610cfb5760405162461bcd60e51b81526004016105ee9061275e565b4780610d495760405162461bcd60e51b815260206004820152601c60248201527f504d43433a206e6f2062616c616e636520746f2077697468647261770000000060448201526064016105ee565b600954610d5f906001600160a01b0316826118ba565b50565b6001546001600160a01b03163314610d8c5760405162461bcd60e51b81526004016105ee90612817565b612710811115610df05760405162461bcd60e51b815260206004820152602960248201527f504d43433a20726f79616c74792063616e6e6f742062652067726561746572206044820152687468616e203130302560b81b60648201526084016105ee565b600855565b6001546001600160a01b03163314610e1f5760405162461bcd60e51b81526004016105ee90612817565b610e276119d3565b565b60608151835114610e8e5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016105ee565b600083516001600160401b03811115610eb757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ee0578160200160208202803683370190505b50905060005b8451811015610f8257610f47858281518110610f1257634e487b7160e01b600052603260045260246000fd5b6020026020010151858381518110610f3a57634e487b7160e01b600052603260045260246000fd5b6020026020010151610586565b828281518110610f6757634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610f7b816129c7565b9050610ee6565b509392505050565b6001546001600160a01b03163314610fb45760405162461bcd60e51b81526004016105ee90612817565b610e276000611a76565b6001546001600160a01b03163314610fe85760405162461bcd60e51b81526004016105ee90612817565b60005b8181101561105a5760036004600085858581811061101957634e487b7160e01b600052603260045260246000fd5b905060200201602081019061102e91906120b1565b6001600160a01b0316815260208101919091526040016000205580611052816129c7565b915050610feb565b505050565b6001546001600160a01b031633146110895760405162461bcd60e51b81526004016105ee90612817565b610e27611ac8565b6001546001600160a01b031633146110bb5760405162461bcd60e51b81526004016105ee90612817565b6001600160a01b03811661112f5760405162461bcd60e51b815260206004820152603560248201527f504d43433a206e657720726f79616c74792072656365697665722063616e6e6f6044820152747420626520746865207a65726f206164647265737360581b60648201526084016105ee565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b336001600160a01b03831614156111bc5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016105ee565b3360008181526003602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611229911515815260200190565b60405180910390a35050565b6001546001600160a01b0316331461125f5760405162461bcd60e51b81526004016105ee90612817565b600a91909155600b55565b6060600560405160200161127e91906125f6565b604051602081830303815290604052905090565b60008061129e60065490565b6112a99060016128b7565b9050600061012d8210156112bf575060006112d7565b6105158210156112d25750600a546112d7565b50600b545b6112e184826128e3565b949350505050565b6001600160a01b038516331480611305575061130585336104c2565b6113635760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016105ee565b61083b8585858585611b33565b6001546001600160a01b0316331461139a5760405162461bcd60e51b81526004016105ee90612817565b6001600160a01b0381166113ff5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ee565b610d5f81611a76565b80516106f7906005906020840190611f21565b60608161144057506040805180820190915260018152600360fc1b6020820152610689565b8160005b811561146a5780611454816129c7565b91506114639050600a836128cf565b9150611444565b6000816001600160401b0381111561149257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156114bc576020820181803683370190505b508593509050815b8315611537576114d5600a856129e2565b6114e09060306128b7565b60f81b826114ed83612949565b9250828151811061150e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611530600a856128cf565b93506114c4565b50949350505050565b81518351146115615760405162461bcd60e51b81526004016105ee9061284c565b6001600160a01b0384166115875760405162461bcd60e51b81526004016105ee90612788565b33611596818787878787611c63565b60005b845181101561169b5760008582815181106115c457634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008583815181106115f057634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526002835260408082206001600160a01b038e1683529093529190912054909150818110156116415760405162461bcd60e51b81526004016105ee906127cd565b60008381526002602090815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906116809084906128b7565b9250508190555050505080611694906129c7565b9050611599565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516116eb9291906126d5565b60405180910390a4611701818787878787611c93565b505050505050565b6001600160a01b0384166117695760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016105ee565b815183511461178a5760405162461bcd60e51b81526004016105ee9061284c565b3361179a81600087878787611c63565b60005b8451811015611852578381815181106117c657634e487b7160e01b600052603260045260246000fd5b6020026020010151600260008784815181106117f257634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b03168152602001908152602001600020600082825461183a91906128b7565b9091555081905061184a816129c7565b91505061179d565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118a39291906126d5565b60405180910390a461083b81600087878787611c93565b8047101561190a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016105ee565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611957576040519150601f19603f3d011682016040523d82523d6000602084013e61195c565b606091505b505090508061105a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016105ee565b6119e6600154600160a01b900460ff1690565b611a295760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105ee565b6001805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611adb600154600160a01b900460ff1690565b15611af85760405162461bcd60e51b81526004016105ee9061275e565b6001805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a593390565b6001600160a01b038416611b595760405162461bcd60e51b81526004016105ee90612788565b33611b78818787611b6988611dfe565b611b7288611dfe565b87611c63565b60008481526002602090815260408083206001600160a01b038a16845290915290205483811015611bbb5760405162461bcd60e51b81526004016105ee906127cd565b60008581526002602090815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611bfa9084906128b7565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611c5a828888888888611e57565b50505050505050565b611c76600154600160a01b900460ff1690565b156117015760405162461bcd60e51b81526004016105ee9061275e565b6001600160a01b0384163b156117015760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611cd7908990899088908890889060040161261f565b602060405180830381600087803b158015611cf157600080fd5b505af1925050508015611d21575060408051601f3d908101601f19168201909252611d1e91810190612414565b60015b611dce57611d2d612a38565b806308c379a01415611d675750611d42612a4f565b80611d4d5750611d69565b8060405162461bcd60e51b81526004016105ee9190612703565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016105ee565b6001600160e01b0319811663bc197c8160e01b14611c5a5760405162461bcd60e51b81526004016105ee90612716565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611e4657634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6001600160a01b0384163b156117015760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611e9b908990899088908890889060040161267d565b602060405180830381600087803b158015611eb557600080fd5b505af1925050508015611ee5575060408051601f3d908101601f19168201909252611ee291810190612414565b60015b611ef157611d2d612a38565b6001600160e01b0319811663f23a6e6160e01b14611c5a5760405162461bcd60e51b81526004016105ee90612716565b828054611f2d90612960565b90600052602060002090601f016020900481019282611f4f5760008555611f95565b82601f10611f6857805160ff1916838001178555611f95565b82800160010185558215611f95579182015b82811115611f95578251825591602001919060010190611f7a565b50611fa1929150611fa5565b5090565b5b80821115611fa15760008155600101611fa6565b80356001600160a01b038116811461068957600080fd5b600082601f830112611fe1578081fd5b81356020611fee82612894565b604051611ffb828261299b565b838152828101915085830183850287018401881015612018578586fd5b855b858110156120365781358452928401929084019060010161201a565b5090979650505050505050565b600082601f830112612053578081fd5b81356001600160401b0381111561206c5761206c612a22565b604051612083601f8301601f19166020018261299b565b818152846020838601011115612097578283fd5b816020850160208301379081016020019190915292915050565b6000602082840312156120c2578081fd5b6120cb82611fba565b9392505050565b600080604083850312156120e4578081fd5b6120ed83611fba565b91506120fb60208401611fba565b90509250929050565b600080600080600060a0868803121561211b578081fd5b61212486611fba565b945061213260208701611fba565b935060408601356001600160401b038082111561214d578283fd5b61215989838a01611fd1565b9450606088013591508082111561216e578283fd5b61217a89838a01611fd1565b9350608088013591508082111561218f578283fd5b5061219c88828901612043565b9150509295509295909350565b600080600080600060a086880312156121c0578081fd5b6121c986611fba565b94506121d760208701611fba565b9350604086013592506060860135915060808601356001600160401b038111156121ff578182fd5b61219c88828901612043565b6000806040838503121561221d578182fd5b61222683611fba565b91506020830135801515811461223a578182fd5b809150509250929050565b60008060408385031215612257578182fd5b61226083611fba565b946020939093013593505050565b600080600060608486031215612282578283fd5b61228b84611fba565b92506020840135915060408401356001600160401b038111156122ac578182fd5b6122b886828701612043565b9150509250925092565b600080602083850312156122d4578182fd5b82356001600160401b03808211156122ea578384fd5b818501915085601f8301126122fd578384fd5b81358181111561230b578485fd5b866020808302850101111561231e578485fd5b60209290920196919550909350505050565b60008060408385031215612342578182fd5b82356001600160401b0380821115612358578384fd5b818501915085601f83011261236b578384fd5b8135602061237882612894565b604051612385828261299b565b8381528281019150858301838502870184018b10156123a2578889fd5b8896505b848710156123cb576123b781611fba565b8352600196909601959183019183016123a6565b50965050860135925050808211156123e1578283fd5b506123ee85828601611fd1565b9150509250929050565b600060208284031215612409578081fd5b81356120cb81612ae0565b600060208284031215612425578081fd5b81516120cb81612ae0565b60008060208385031215612442578182fd5b82356001600160401b0380821115612458578384fd5b818501915085601f83011261246b578384fd5b813581811115612479578485fd5b86602082850101111561231e578485fd5b60006020828403121561249b578081fd5b5035919050565b600080604083850312156124b4578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b838110156124f2578151875295820195908201906001016124d6565b509495945050505050565b60008151808452612515816020860160208601612919565b601f01601f19169290920160200192915050565b80546000906002810460018083168061254357607f831692505b602080841082141561256357634e487b7160e01b86526022600452602486fd5b8180156125775760018114612588576125b5565b60ff198616895284890196506125b5565b60008881526020902060005b868110156125ad5781548b820152908501908301612594565b505084890196505b50505050505092915050565b60006125cd8285612529565b83516125dd818360208801612919565b64173539b7b760d91b9101908152600501949350505050565b60006126028284612529565b6c31b7b73a3930b1ba173539b7b760991b8152600d019392505050565b6001600160a01b0386811682528516602082015260a06040820181905260009061264b908301866124c3565b828103606084015261265d81866124c3565b9050828103608084015261267181856124fd565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906126b7908301846124fd565b979650505050505050565b6000602082526120cb60208301846124c3565b6000604082526126e860408301856124c3565b82810360208401526126fa81856124c3565b95945050505050565b6000602082526120cb60208301846124fd565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60006001600160401b038211156128ad576128ad612a22565b5060209081020190565b600082198211156128ca576128ca6129f6565b500190565b6000826128de576128de612a0c565b500490565b60008160001904831182151516156128fd576128fd6129f6565b500290565b600082821015612914576129146129f6565b500390565b60005b8381101561293457818101518382015260200161291c565b83811115612943576000848401525b50505050565b600081612958576129586129f6565b506000190190565b60028104600182168061297457607f821691505b6020821081141561299557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f191681016001600160401b03811182821017156129c0576129c0612a22565b6040525050565b60006000198214156129db576129db6129f6565b5060010190565b6000826129f1576129f1612a0c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d111561076e57600481823e5160e01c90565b600060443d1015612a5f5761076e565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715612a9057505050505061076e565b8285019150815181811115612aaa5750505050505061076e565b843d8701016020828501011115612ac65750505050505061076e565b612ad56020828601018761299b565b509094505050505090565b6001600160e01b031981168114610d5f57600080fdfea264697066735822122060c1f139c988265a13c47fdc3ab55432f966b4500077e7009ee91d4332e7d4cf64736f6c63430008020033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f6173736574732e63632d67626c2e696f2f6d657461646174612f000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : base_ (string): https://assets.cc-gbl.io/metadata/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000022
Arg [2] : 68747470733a2f2f6173736574732e63632d67626c2e696f2f6d657461646174
Arg [3] : 612f000000000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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