ETH Price: $3,358.76 (-2.77%)
Gas: 2 Gwei

Token

Imma Degen - Quantum Cube Mint (QUANTUMCUBE)
 

Overview

Max Total Supply

1,500 QUANTUMCUBE

Holders

74

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
zoomoid.eth
0x36cfb14435133753c0b51c6f8c072afb32c91063
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:
ImmaDegenQuantumCubeMint

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 15 : ImmaDegenQuantumCubeMint.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;

import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

abstract contract CollectionInterface {
    function mintTransfer(address to) public virtual returns(uint256);
}

abstract contract ERC721 {
    function ownerOf(uint256 tokenId) public view virtual returns (address);
}

contract ImmaDegenQuantumCubeMint is ERC1155, ERC1155Burnable, IERC2981, Ownable, ReentrancyGuard {

    struct listParameters {
        bytes32 _root;
        uint256 _price;
    }

    enum Stage {
        None,
        Team,
        Redeem,
        Public
    }

    uint256 public MAX_SUPPLY = 1500;
    Stage public currentStageId = Stage.None;
    uint256 public tokenId = 0;
    uint256 public amountMinted = 0;
    bool public migrationStarted = false;
    uint256 public maxAmountPerTransactionPublic = 10;
    string public name = "Imma Degen - Quantum Cube Mint";
    string public symbol = "QUANTUMCUBE";
    string public _baseURI = "https://assets-voyager.voltz.me/vial/metadata.json";

    address private creator;
    address private collectionContractAddress;
    address private royaltiesAddress = 0xF2c498af0a291fCB0E1AFadc5eF713FB1A160e07;
    address private withdrawAddress = 0xF2c498af0a291fCB0E1AFadc5eF713FB1A160e07;
    uint256 private royaltiesPercentage = 75;

    mapping(address => uint256) public claimedTeamTokens;
    mapping(address => uint256) public claimedRedeemTokens;
    mapping(address => uint256) public claimedPublicTokens;
    mapping(uint256 => listParameters) private listsData;

    constructor(address payable owner) ERC1155(_baseURI) {
        require(owner != address(0), 'Zero address not allowed');
        listsData[10] = listParameters(0x0, 0 ether);
        listsData[11] = listParameters(0x0, 0 ether);
        listsData[12] = listParameters(0x0, 0 ether);
    }

    function totalSupply() public view returns (uint256) {
        return MAX_SUPPLY;
    }

    function contractURI() public view returns (string memory) {
        return _baseURI;
    }

    function setMerkleRoot(bytes32 _merkleRoot, uint256 _listId) public onlyOwner returns (bool success) {
        listsData[_listId]._root = _merkleRoot;
        return true;
    }

    function setCollectionContract(address contractAddress) public onlyOwner returns (bool success) {
        require(contractAddress != address(0), 'Zero address not allowed');
        collectionContractAddress = contractAddress;
        return true;
    }

    function setStage(uint8 stageId) public onlyOwner returns (bool success) {
        currentStageId = Stage(stageId);
        return true;
    }

    function setMaxSupply(uint256 maxSupply) public onlyOwner returns (bool success) {
        MAX_SUPPLY = maxSupply;
        return true;
    }

    function secureBaseUri(string memory newUri) public onlyOwner returns (bool success)  {
        _baseURI = newUri;
        return true;
    }

    function setWithdrawAddress(address newAddress) public onlyOwner returns (bool success) {
        withdrawAddress = newAddress;
        return true;
    }

    function setPublicPrice(uint256 price) public onlyOwner returns (bool success) {
        listsData[12]._price = price;
        return true;
    }

    function toggleMigration() public onlyOwner returns (bool success) {
        migrationStarted = !migrationStarted;
        return true;
    }

    modifier verifyProof(bytes32[] calldata _merkleProof, uint _maxAmount, uint256 _listId) {
        bytes32 leaf = encodeLeaf(msg.sender, _maxAmount, _listId);
        require((MerkleProof.verify(_merkleProof, listsData[_listId]._root, leaf) || _listId == 12), "Invalid proof of inclusion.");
	    _;
    }

    function mintVial(bytes32[] calldata _merkleProof, uint _amount, uint _maxAmount, uint256 _listId) public payable nonReentrant() verifyProof(_merkleProof, _maxAmount, _listId) returns(uint256) {
        require((amountMinted + _amount) <= MAX_SUPPLY, "Max supply reached");
        uint _price = _amount * listsData[_listId]._price;
        if (currentStageId == Stage.Team) {
            if (_listId == 10) {
                require(claimedTeamTokens[msg.sender] <= _maxAmount, "Address already claimed all his NFTs");
                require(claimedTeamTokens[msg.sender] + _amount <= _maxAmount, "Maximum amount exceeded");
                for (uint i = 0; i < _amount; i++) {
                    tokenId++;
                    _mint(msg.sender, tokenId, 1, "");
                    amountMinted++;
                    claimedTeamTokens[msg.sender] += 1;
                }
                return tokenId;
            }
            else {
                revert("List is not authorized at this stage");
            }
        }
        else if (currentStageId == Stage.Redeem) {
            if (_listId == 11) {
                require(claimedRedeemTokens[msg.sender] <= _maxAmount, "Address already claimed all his NFTs");
                require(claimedRedeemTokens[msg.sender] + _amount <= _maxAmount, "Maximum amount exceeded");
                for (uint i = 0; i < _amount; i++) {
                    tokenId++;
                    _mint(msg.sender, tokenId, 1, "");
                    amountMinted++;
                    claimedRedeemTokens[msg.sender] += 1;
                }
                return tokenId;
            }
            else {
                revert("List is not authorized at this stage");
            }
        }
        else if (currentStageId == Stage.Public) {
            if (_listId == 12) {
                require(MAX_SUPPLY - amountMinted > 0, "Public Tokens are sold out!");
                require(msg.value >= _price, "Insufficient funds to mint");
                require(_amount <= maxAmountPerTransactionPublic, "Maximum amount per transaction exceeded");

                for (uint i = 0; i < _amount; i++) {
                    tokenId++;
                    _mint(msg.sender, tokenId, 1, "");
                    amountMinted++;
                    claimedPublicTokens[msg.sender] += 1;
                }

                if (msg.value > _price) {
                    uint256 change = msg.value - _price;
                    payable(msg.sender).transfer(change);
                }
                return tokenId;
            }
            else {
                revert("List is not authorized at this stage");
            }
        }
        else {
            revert("Transaction is not authorized at this stage");
        }

    }

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

    function _beforeTokenTransfer(address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal override(ERC1155) {
        super._beforeTokenTransfer(operator, from, to, ids,  amounts, data);
    }

    function _setRoyalties(address newRecipient) internal {
        require(newRecipient != address(0), "Royalties: new recipient is the zero address");
        royaltiesAddress = newRecipient;
    }

    function setRoyalties(address newRecipient) external onlyOwner {
        _setRoyalties(newRecipient);
    }

    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view override returns (address receiver, uint256 royaltyAmount) {
        return (royaltiesAddress, (_salePrice * royaltiesPercentage) / 1000);
    }

    function migrateToken(uint256 id) public returns(uint256) {
        require(migrationStarted == true, "Migration has not started");
        require(balanceOf(msg.sender, id) > 0, "You do not own this token");
        burn(msg.sender, id, 1);
        CollectionInterface collectionContract = CollectionInterface(collectionContractAddress);
        uint256 mintedId = collectionContract.mintTransfer(msg.sender);
        return mintedId;
    }

    function uintToStr(uint256 x) private pure returns (string memory) {
        if (x > 0) {
            string memory str;
            while (x > 0) {
                str = string(abi.encodePacked(uint8(x % 10 + 48), str));
                x /= 10;
            }
            return str;
        }
        return "0";
    }

    function addressToAsciiString(address x) internal pure returns (string memory) {
        bytes memory s = new bytes(40);
        for (uint i = 0; i < 20; i++) {
            bytes1 b = bytes1(uint8(uint(uint160(x)) / (2**(8*(19 - i)))));
            bytes1 hi = bytes1(uint8(b) / 16);
            bytes1 lo = bytes1(uint8(b) - 16 * uint8(hi));
            s[2*i] = char(hi);
            s[2*i+1] = char(lo);
        }
        return string(s);
    }

    function char(bytes1 b) internal pure returns (bytes1 c) {
        if (uint8(b) < 10) return bytes1(uint8(b) + 0x30);
        else return bytes1(uint8(b) + 0x57);
    }

    function encodeLeaf(address _address, uint256 _maxAmount, uint256 _listId) internal pure returns(bytes32) {
        string memory prefix = "0x";
        string memory space = " ";

        bytes memory _ba = bytes(prefix);
        bytes memory _bb = bytes(addressToAsciiString(_address));
        bytes memory _bc = bytes(space);
        bytes memory _bd = bytes(uintToStr(_maxAmount));
        bytes memory _be = bytes(space);
        bytes memory _bf = bytes(uintToStr(_listId));
        string memory abcdef = new string(_ba.length + _bb.length + _bc.length + _bd.length + _be.length + _bf.length);
        bytes memory babcdef = bytes(abcdef);
        uint k = 0;
        for (uint i = 0; i < _ba.length; i++) babcdef[k++] = _ba[i];
        for (uint i = 0; i < _bb.length; i++) babcdef[k++] = _bb[i];
        for (uint i = 0; i < _bc.length; i++) babcdef[k++] = _bc[i];
        for (uint i = 0; i < _bd.length; i++) babcdef[k++] = _bd[i];
        for (uint i = 0; i < _be.length; i++) babcdef[k++] = _be[i];
        for (uint i = 0; i < _bf.length; i++) babcdef[k++] = _bf[i];
        return bytes32(keccak256(babcdef));
    }

    function withdraw() public onlyOwner returns(bool) {
        payable(withdrawAddress).transfer(address(this).balance);
        return true;
    }

    function renounceOwnership() public view override onlyOwner {
        revert("Cannot renounce ownership");
    }

}

File 2 of 15 : 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 3 of 15 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

    /**
     * @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 ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @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 {
        _setApprovalForAll(_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, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * 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 Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @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 Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        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: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);
    }

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

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

    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 4 of 15 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory values
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burnBatch(account, ids, values);
    }
}

File 5 of 15 : 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 6 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

File 10 of 15 : 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 11 of 15 : 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 12 of 15 : 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 13 of 15 : 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 14 of 15 : 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 15 of 15 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"owner","type":"address"}],"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":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"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedPublicTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedRedeemTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedTeamTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentStageId","outputs":[{"internalType":"enum ImmaDegenQuantumCubeMint.Stage","name":"","type":"uint8"}],"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":[],"name":"maxAmountPerTransactionPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"migrateToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrationStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_maxAmount","type":"uint256"},{"internalType":"uint256","name":"_listId","type":"uint256"}],"name":"mintVial","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","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":"string","name":"newUri","type":"string"}],"name":"secureBaseUri","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"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":"address","name":"contractAddress","type":"address"}],"name":"setCollectionContract","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_listId","type":"uint256"}],"name":"setMerkleRoot","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPublicPrice","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRecipient","type":"address"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"stageId","type":"uint8"}],"name":"setStage","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setWithdrawAddress","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMigration","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

6105dc6005556006805460ff1990811690915560006007819055600855600980549091169055600a805560c0604052601e60808190527f496d6d6120446567656e202d205175616e74756d2043756265204d696e74000060a09081526200006a91600b9190620003e3565b5060408051808201909152600b8082526a5155414e54554d4355424560a81b60209092019182526200009f91600c91620003e3565b506040518060600160405280603281526020016200441f603291398051620000d091600d91602090910190620003e3565b506010805473f2c498af0a291fcb0e1afadc5ef713fb1a160e076001600160a01b03199182168117909255601180549091169091179055604b6012553480156200011957600080fd5b5060405162004451380380620044518339810160408190526200013c9162000489565b600d80546200014b90620004bb565b80601f01602080910402602001604051908101604052809291908181526020018280546200017990620004bb565b8015620001ca5780601f106200019e57610100808354040283529160200191620001ca565b820191906000526020600020905b815481529060010190602001808311620001ac57829003601f168201915b5050505050620001e0816200037860201b60201c565b50620001ec3362000391565b60016004556001600160a01b0381166200024c5760405162461bcd60e51b815260206004820152601860248201527f5a65726f2061646472657373206e6f7420616c6c6f7765640000000000000000604482015260640160405180910390fd5b5060408051808201825260008082526020808301828152600a8352601680835293517fd5b9797c47f98351da0d9dc8805f06430ade47345ddb9b2bd6f346a04809cc4155517fd5b9797c47f98351da0d9dc8805f06430ade47345ddb9b2bd6f346a04809cc425583518085018552828152808201838152600b845284835290517fcfa8b17cfe829ccfb82a1b8bc946a78d914318562253e01c04a5bbac5c20f86b55517fcfa8b17cfe829ccfb82a1b8bc946a78d914318562253e01c04a5bbac5c20f86c558351808501909452818452838101828152600c9092529190915290517f329445f4448b7d20eec86c1386b39f5d1ed2d5f198689536ebcae9f2881958c355517f329445f4448b7d20eec86c1386b39f5d1ed2d5f198689536ebcae9f2881958c455620004f7565b80516200038d906002906020840190620003e3565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620003f190620004bb565b90600052602060002090601f01602090048101928262000415576000855562000460565b82601f106200043057805160ff191683800117855562000460565b8280016001018555821562000460579182015b828111156200046057825182559160200191906001019062000443565b506200046e92915062000472565b5090565b5b808211156200046e576000815560010162000473565b6000602082840312156200049c57600080fd5b81516001600160a01b0381168114620004b457600080fd5b9392505050565b600181811c90821680620004d057607f821691505b602082108103620004f157634e487b7160e01b600052602260045260246000fd5b50919050565b613f1880620005076000396000f3fe6080604052600436106102ba5760003560e01c8063743976a01161016e578063c6275255116100cb578063ec45127a1161007f578063f2fde38b11610064578063f2fde38b14610793578063f5298aca146107b3578063f8480928146107d357600080fd5b8063ec45127a1461074c578063f242432a1461077357600080fd5b8063ce3cd997116100b0578063ce3cd997146106ce578063e8a3d485146106ee578063e985e9c51461070357600080fd5b8063c62752551461068e578063c752957a146106ae57600080fd5b80638da5cb5b11610122578063a22cb46511610107578063a22cb4651461063b578063a6da9ab71461065b578063c46b0d841461066e57600080fd5b80638da5cb5b146105fe57806395d89b411461062657600080fd5b80637c382d0b116101535780637c382d0b146105975780637c6e94e3146105b75780637dc43724146105d157600080fd5b8063743976a01461056c5780637af284d51461058157600080fd5b80632eb2c2d61161021c5780635f6be614116101d05780636f8b44b0116101b55780636f8b44b01461050a5780636fafbbdd1461052a578063715018a61461055757600080fd5b80635f6be614146104ca5780636b20c454146104ea57600080fd5b80633ab1a494116102015780633ab1a494146104685780633ccfd60b146104885780634e1273f41461049d57600080fd5b80632eb2c2d61461043257806332cb6b0c1461045257600080fd5b806317d70f7c1161027357806321fec36c1161025857806321fec36c146103bc5780632a55205a146103d15780632a9e63c61461041057600080fd5b806317d70f7c1461039157806318160ddd146103a757600080fd5b806306fdde03116102a457806306fdde031461032257806309c63259146103445780630e89341c1461037157600080fd5b8062fdd58e146102bf57806301ffc9a7146102f2575b600080fd5b3480156102cb57600080fd5b506102df6102da36600461336d565b6107e9565b6040519081526020015b60405180910390f35b3480156102fe57600080fd5b5061031261030d3660046133ad565b610895565b60405190151581526020016102e9565b34801561032e57600080fd5b506103376108d3565b6040516102e9919061342d565b34801561035057600080fd5b506102df61035f366004613440565b60136020526000908152604090205481565b34801561037d57600080fd5b5061033761038c36600461345b565b610961565b34801561039d57600080fd5b506102df60075481565b3480156103b357600080fd5b506005546102df565b3480156103c857600080fd5b506103126109f5565b3480156103dd57600080fd5b506103f16103ec366004613474565b610a59565b604080516001600160a01b0390931683526020830191909152016102e9565b34801561041c57600080fd5b5061043061042b366004613440565b610a93565b005b34801561043e57600080fd5b5061043061044d3660046135ec565b610ae7565b34801561045e57600080fd5b506102df60055481565b34801561047457600080fd5b50610312610483366004613440565b610b89565b34801561049457600080fd5b50610312610c05565b3480156104a957600080fd5b506104bd6104b8366004613696565b610c91565b6040516102e9919061379c565b3480156104d657600080fd5b506102df6104e536600461345b565b610dcf565b3480156104f657600080fd5b506104306105053660046137af565b610f22565b34801561051657600080fd5b5061031261052536600461345b565b610fac565b34801561053657600080fd5b506102df610545366004613440565b60156020526000908152604090205481565b34801561056357600080fd5b50610430611000565b34801561057857600080fd5b50610337611090565b34801561058d57600080fd5b506102df60085481565b3480156105a357600080fd5b506103126105b2366004613474565b61109d565b3480156105c357600080fd5b506009546103129060ff1681565b3480156105dd57600080fd5b506102df6105ec366004613440565b60146020526000908152604090205481565b34801561060a57600080fd5b506003546040516001600160a01b0390911681526020016102e9565b34801561063257600080fd5b506103376110fd565b34801561064757600080fd5b50610430610656366004613823565b61110a565b6102df61066936600461385f565b611119565b34801561067a57600080fd5b506103126106893660046138ea565b6118d8565b34801561069a57600080fd5b506103126106a936600461345b565b61193f565b3480156106ba57600080fd5b506103126106c9366004613440565b6119bc565b3480156106da57600080fd5b506103126106e9366004613933565b611a8f565b3480156106fa57600080fd5b50610337611b18565b34801561070f57600080fd5b5061031261071e366004613956565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561075857600080fd5b506006546107669060ff1681565b6040516102e9919061399f565b34801561077f57600080fd5b5061043061078e3660046139c7565b611baa565b34801561079f57600080fd5b506104306107ae366004613440565b611c31565b3480156107bf57600080fd5b506104306107ce366004613a2c565b611cfe565b3480156107df57600080fd5b506102df600a5481565b60006001600160a01b03831661086c5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061088f575061088f82611d83565b600b80546108e090613a5f565b80601f016020809104026020016040519081016040528092919081815260200182805461090c90613a5f565b80156109595780601f1061092e57610100808354040283529160200191610959565b820191906000526020600020905b81548152906001019060200180831161093c57829003601f168201915b505050505081565b60606002805461097090613a5f565b80601f016020809104026020016040519081016040528092919081815260200182805461099c90613a5f565b80156109e95780601f106109be576101008083540402835291602001916109e9565b820191906000526020600020905b8154815290600101906020018083116109cc57829003601f168201915b50505050509050919050565b6003546000906001600160a01b03163314610a405760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b506009805460ff19811660ff9091161517905560015b90565b60105460125460009182916001600160a01b03909116906103e890610a7e9086613aaf565b610a889190613ae4565b915091509250929050565b6003546001600160a01b03163314610adb5760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b610ae481611e1e565b50565b6001600160a01b038516331480610b035750610b03853361071e565b610b755760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610863565b610b828585858585611ec9565b5050505050565b6003546000906001600160a01b03163314610bd45760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b506011805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03831617905560015b919050565b6003546000906001600160a01b03163314610c505760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b6011546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c89573d6000803e3d6000fd5b506001905090565b60608151835114610d0a5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610863565b6000835167ffffffffffffffff811115610d2657610d26613496565b604051908082528060200260200182016040528015610d4f578160200160208202803683370190505b50905060005b8451811015610dc757610d9a858281518110610d7357610d73613af8565b6020026020010151858381518110610d8d57610d8d613af8565b60200260200101516107e9565b828281518110610dac57610dac613af8565b6020908102919091010152610dc081613b0e565b9050610d55565b509392505050565b60095460009060ff161515600114610e295760405162461bcd60e51b815260206004820152601960248201527f4d6967726174696f6e20686173206e6f742073746172746564000000000000006044820152606401610863565b6000610e3533846107e9565b11610e825760405162461bcd60e51b815260206004820152601960248201527f596f7520646f206e6f74206f776e207468697320746f6b656e000000000000006044820152606401610863565b610e8e33836001611cfe565b600f546040517f937f26080000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0390911690600090829063937f2608906024016020604051808303816000875af1158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a9190613b27565b949350505050565b6001600160a01b038316331480610f3e5750610f3e833361071e565b610f9c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610863565b610fa7838383612135565b505050565b6003546000906001600160a01b03163314610ff75760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b50600555600190565b6003546001600160a01b031633146110485760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b60405162461bcd60e51b815260206004820152601960248201527f43616e6e6f742072656e6f756e6365206f776e657273686970000000000000006044820152606401610863565b600d80546108e090613a5f565b6003546000906001600160a01b031633146110e85760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b50600090815260166020526040902055600190565b600c80546108e090613a5f565b61111533838361237c565b5050565b600060026004540361116d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610863565b6002600455858584846000611183338484612470565b90506111d0858580806020026020016040519081016040528093929190818152602001838360200280828437600092018290525087815260166020526040902054925085915061285d9050565b806111db575081600c145b6112275760405162461bcd60e51b815260206004820152601b60248201527f496e76616c69642070726f6f66206f6620696e636c7573696f6e2e00000000006044820152606401610863565b600554896008546112389190613b40565b11156112865760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c79207265616368656400000000000000000000000000006044820152606401610863565b6000878152601660205260408120600101546112a2908b613aaf565b9050600160065460ff1660038111156112bd576112bd613989565b036114a45787600a0361143757336000908152601360205260409020548910156113355760405162461bcd60e51b8152602060048201526024808201527f4164647265737320616c726561647920636c61696d656420616c6c20686973206044820152634e46547360e01b6064820152608401610863565b336000908152601360205260409020548990611352908c90613b40565b11156113a05760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20616d6f756e742065786365656465640000000000000000006044820152606401610863565b60005b8a81101561142b57600780549060006113bb83613b0e565b91905055506113de33600754600160405180602001604052806000815250612873565b600880549060006113ee83613b0e565b9091555050336000908152601360205260408120805460019290611413908490613b40565b9091555081905061142381613b0e565b9150506113a3565b506007549650506118c4565b60405162461bcd60e51b8152602060048201526024808201527f4c697374206973206e6f7420617574686f72697a65642061742074686973207360448201527f74616765000000000000000000000000000000000000000000000000000000006064820152608401610863565b600260065460ff1660038111156114bd576114bd613989565b0361162b5787600b0361143757336000908152601460205260409020548910156115355760405162461bcd60e51b8152602060048201526024808201527f4164647265737320616c726561647920636c61696d656420616c6c20686973206044820152634e46547360e01b6064820152608401610863565b336000908152601460205260409020548990611552908c90613b40565b11156115a05760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20616d6f756e742065786365656465640000000000000000006044820152606401610863565b60005b8a81101561142b57600780549060006115bb83613b0e565b91905055506115de33600754600160405180602001604052806000815250612873565b600880549060006115ee83613b0e565b9091555050336000908152601460205260408120805460019290611613908490613b40565b9091555081905061162381613b0e565b9150506115a3565b600360065460ff16600381111561164457611644613989565b036118565787600c036114375760006008546005546116639190613b58565b116116b05760405162461bcd60e51b815260206004820152601b60248201527f5075626c696320546f6b656e732061726520736f6c64206f75742100000000006044820152606401610863565b803410156117005760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e742066756e647320746f206d696e740000000000006044820152606401610863565b600a548a11156117785760405162461bcd60e51b815260206004820152602760248201527f4d6178696d756d20616d6f756e7420706572207472616e73616374696f6e206560448201527f78636565646564000000000000000000000000000000000000000000000000006064820152608401610863565b60005b8a811015611803576007805490600061179383613b0e565b91905055506117b633600754600160405180602001604052806000815250612873565b600880549060006117c683613b0e565b90915550503360009081526015602052604081208054600192906117eb908490613b40565b909155508190506117fb81613b0e565b91505061177b565b508034111561184b5760006118188234613b58565b604051909150339082156108fc029083906000818181858888f19350505050158015611848573d6000803e3d6000fd5b50505b6007549650506118c4565b60405162461bcd60e51b815260206004820152602b60248201527f5472616e73616374696f6e206973206e6f7420617574686f72697a656420617460448201527f20746869732073746167650000000000000000000000000000000000000000006064820152608401610863565b505060016004555091979650505050505050565b6003546000906001600160a01b031633146119235760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b815161193690600d9060208501906132bd565b50600192915050565b6003546000906001600160a01b0316331461198a5760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b50600c60005260166020527f329445f4448b7d20eec86c1386b39f5d1ed2d5f198689536ebcae9f2881958c455600190565b6003546000906001600160a01b03163314611a075760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b6001600160a01b038216611a5d5760405162461bcd60e51b815260206004820152601860248201527f5a65726f2061646472657373206e6f7420616c6c6f77656400000000000000006044820152606401610863565b50600f80546001600160a01b03831673ffffffffffffffffffffffffffffffffffffffff199091161790556001919050565b6003546000906001600160a01b03163314611ada5760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b8160ff166003811115611aef57611aef613989565b6006805460ff19166001836003811115611b0b57611b0b613989565b0217905550600192915050565b6060600d8054611b2790613a5f565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5390613a5f565b8015611ba05780601f10611b7557610100808354040283529160200191611ba0565b820191906000526020600020905b815481529060010190602001808311611b8357829003601f168201915b5050505050905090565b6001600160a01b038516331480611bc65750611bc6853361071e565b611c245760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610863565b610b82858585858561299f565b6003546001600160a01b03163314611c795760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b6001600160a01b038116611cf55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610863565b610ae481612b3d565b6001600160a01b038316331480611d1a5750611d1a833361071e565b611d785760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610863565b610fa7838383612b9c565b60006001600160e01b031982167fd9b67a26000000000000000000000000000000000000000000000000000000001480611de657506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061088f57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461088f565b6001600160a01b038116611e9a5760405162461bcd60e51b815260206004820152602c60248201527f526f79616c746965733a206e657720726563697069656e74206973207468652060448201527f7a65726f206164647265737300000000000000000000000000000000000000006064820152608401610863565b6010805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b8151835114611f2b5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610863565b6001600160a01b038416611f8f5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610863565b33611f9e818787878787612d15565b60005b84518110156120c7576000858281518110611fbe57611fbe613af8565b602002602001015190506000858381518110611fdc57611fdc613af8565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561206f5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610863565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906120ac908490613b40565b92505081905550505050806120c090613b0e565b9050611fa1565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612117929190613b6f565b60405180910390a461212d818787878787612d1a565b505050505050565b6001600160a01b0383166121975760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610863565b80518251146121f95760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610863565b600033905061221c81856000868660405180602001604052806000815250612d15565b60005b835181101561231d57600084828151811061223c5761223c613af8565b60200260200101519050600084838151811061225a5761225a613af8565b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156122e65760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610863565b6000928352602083815260408085206001600160a01b038b168652909152909220910390558061231581613b0e565b91505061221f565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161236e929190613b6f565b60405180910390a450505050565b816001600160a01b0316836001600160a01b0316036124035760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610863565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b604080518082018252600281527f30780000000000000000000000000000000000000000000000000000000000006020808301919091528251808401909352600183527f20000000000000000000000000000000000000000000000000000000000000009083015260009181836124e688612ebf565b90508260006124f489613006565b90508460006125028a613006565b90506000815183518551875189518b5161251c9190613b40565b6125269190613b40565b6125309190613b40565b61253a9190613b40565b6125449190613b40565b67ffffffffffffffff81111561255c5761255c613496565b6040519080825280601f01601f191660200182016040528015612586576020820181803683370190505b509050806000805b89518110156125fe578981815181106125a9576125a9613af8565b01602001516001600160f81b03191683836125c381613b0e565b9450815181106125d5576125d5613af8565b60200101906001600160f81b031916908160001a905350806125f681613b0e565b91505061258e565b5060005b88518110156126725788818151811061261d5761261d613af8565b01602001516001600160f81b031916838361263781613b0e565b94508151811061264957612649613af8565b60200101906001600160f81b031916908160001a9053508061266a81613b0e565b915050612602565b5060005b87518110156126e65787818151811061269157612691613af8565b01602001516001600160f81b03191683836126ab81613b0e565b9450815181106126bd576126bd613af8565b60200101906001600160f81b031916908160001a905350806126de81613b0e565b915050612676565b5060005b865181101561275a5786818151811061270557612705613af8565b01602001516001600160f81b031916838361271f81613b0e565b94508151811061273157612731613af8565b60200101906001600160f81b031916908160001a9053508061275281613b0e565b9150506126ea565b5060005b85518110156127ce5785818151811061277957612779613af8565b01602001516001600160f81b031916838361279381613b0e565b9450815181106127a5576127a5613af8565b60200101906001600160f81b031916908160001a905350806127c681613b0e565b91505061275e565b5060005b8451811015612842578481815181106127ed576127ed613af8565b01602001516001600160f81b031916838361280781613b0e565b94508151811061281957612819613af8565b60200101906001600160f81b031916908160001a9053508061283a81613b0e565b9150506127d2565b505080516020909101209d9c50505050505050505050505050565b60008261286a858461309c565b14949350505050565b6001600160a01b0384166128ef5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610863565b3361290f8160008761290088613140565b61290988613140565b87612d15565b6000848152602081815260408083206001600160a01b03891684529091528120805485929061293f908490613b40565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610b828160008787878761318b565b6001600160a01b038416612a035760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610863565b33612a1381878761290088613140565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015612a975760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610863565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290612ad4908490613b40565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612b3482888888888861318b565b50505050505050565b600380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316612bfe5760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610863565b33612c2d81856000612c0f87613140565b612c1887613140565b60405180602001604052806000815250612d15565b6000838152602081815260408083206001600160a01b038816845290915290205482811015612caa5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610863565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b61212d565b6001600160a01b0384163b1561212d5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190612d5e9089908990889088908890600401613b9d565b6020604051808303816000875af1925050508015612d99575060408051601f3d908101601f19168201909252612d9691810190613bfb565b60015b612e4e57612da5613c18565b806308c379a003612dde5750612db9613c33565b80612dc45750612de0565b8060405162461bcd60e51b8152600401610863919061342d565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610863565b6001600160e01b0319811663bc197c8160e01b14612b345760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610863565b60408051602880825260608281019093526000919060208201818036833701905050905060005b6014811015612fff576000612efc826013613b58565b612f07906008613aaf565b612f12906002613da1565b612f25906001600160a01b038716613ae4565b60f81b9050600060108260f81c612f3c9190613dad565b60f81b905060008160f81c6010612f539190613dcf565b8360f81c612f619190613df0565b60f81b9050612f6f82613287565b85612f7b866002613aaf565b81518110612f8b57612f8b613af8565b60200101906001600160f81b031916908160001a905350612fab81613287565b85612fb7866002613aaf565b612fc2906001613b40565b81518110612fd257612fd2613af8565b60200101906001600160f81b031916908160001a9053505050508080612ff790613b0e565b915050612ee6565b5092915050565b606081156130635760605b821561088f57613022600a84613e13565b61302d906030613b40565b8160405160200161303f929190613e27565b60408051601f19818403018152919052905061305c600a84613ae4565b9250613011565b505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b600081815b8451811015610dc75760008582815181106130be576130be613af8565b6020026020010151905080831161310057604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061312d565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061313881613b0e565b9150506130a1565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061317a5761317a613af8565b602090810291909101015292915050565b6001600160a01b0384163b1561212d5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906131cf9089908990889088908890600401613e5a565b6020604051808303816000875af192505050801561320a575060408051601f3d908101601f1916820190925261320791810190613bfb565b60015b61321657612da5613c18565b6001600160e01b0319811663f23a6e6160e01b14612b345760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610863565b6000600a60f883901c10156132ae576132a560f883901c6030613e9d565b60f81b92915050565b6132a560f883901c6057613e9d565b8280546132c990613a5f565b90600052602060002090601f0160209004810192826132eb5760008555613331565b82601f1061330457805160ff1916838001178555613331565b82800160010185558215613331579182015b82811115613331578251825591602001919060010190613316565b5061333d929150613341565b5090565b5b8082111561333d5760008155600101613342565b80356001600160a01b0381168114610c0057600080fd5b6000806040838503121561338057600080fd5b61338983613356565b946020939093013593505050565b6001600160e01b031981168114610ae457600080fd5b6000602082840312156133bf57600080fd5b81356133ca81613397565b9392505050565b60005b838110156133ec5781810151838201526020016133d4565b838111156133fb576000848401525b50505050565b600081518084526134198160208601602086016133d1565b601f01601f19169290920160200192915050565b6020815260006133ca6020830184613401565b60006020828403121561345257600080fd5b6133ca82613356565b60006020828403121561346d57600080fd5b5035919050565b6000806040838503121561348757600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff811182821017156134d2576134d2613496565b6040525050565b600067ffffffffffffffff8211156134f3576134f3613496565b5060051b60200190565b600082601f83011261350e57600080fd5b8135602061351b826134d9565b60405161352882826134ac565b83815260059390931b850182019282810191508684111561354857600080fd5b8286015b84811015613563578035835291830191830161354c565b509695505050505050565b600067ffffffffffffffff83111561358857613588613496565b60405161359f601f8501601f1916602001826134ac565b8091508381528484840111156135b457600080fd5b83836020830137600060208583010152509392505050565b600082601f8301126135dd57600080fd5b6133ca8383356020850161356e565b600080600080600060a0868803121561360457600080fd5b61360d86613356565b945061361b60208701613356565b9350604086013567ffffffffffffffff8082111561363857600080fd5b61364489838a016134fd565b9450606088013591508082111561365a57600080fd5b61366689838a016134fd565b9350608088013591508082111561367c57600080fd5b50613689888289016135cc565b9150509295509295909350565b600080604083850312156136a957600080fd5b823567ffffffffffffffff808211156136c157600080fd5b818501915085601f8301126136d557600080fd5b813560206136e2826134d9565b6040516136ef82826134ac565b83815260059390931b850182019282810191508984111561370f57600080fd5b948201945b838610156137345761372586613356565b82529482019490820190613714565b9650508601359250508082111561374a57600080fd5b50613757858286016134fd565b9150509250929050565b600081518084526020808501945080840160005b8381101561379157815187529582019590820190600101613775565b509495945050505050565b6020815260006133ca6020830184613761565b6000806000606084860312156137c457600080fd5b6137cd84613356565b9250602084013567ffffffffffffffff808211156137ea57600080fd5b6137f6878388016134fd565b9350604086013591508082111561380c57600080fd5b50613819868287016134fd565b9150509250925092565b6000806040838503121561383657600080fd5b61383f83613356565b91506020830135801515811461385457600080fd5b809150509250929050565b60008060008060006080868803121561387757600080fd5b853567ffffffffffffffff8082111561388f57600080fd5b818801915088601f8301126138a357600080fd5b8135818111156138b257600080fd5b8960208260051b85010111156138c757600080fd5b60209283019a909950918801359760408101359750606001359550909350505050565b6000602082840312156138fc57600080fd5b813567ffffffffffffffff81111561391357600080fd5b8201601f8101841361392457600080fd5b610f1a8482356020840161356e565b60006020828403121561394557600080fd5b813560ff811681146133ca57600080fd5b6000806040838503121561396957600080fd5b61397283613356565b915061398060208401613356565b90509250929050565b634e487b7160e01b600052602160045260246000fd5b60208101600483106139c157634e487b7160e01b600052602160045260246000fd5b91905290565b600080600080600060a086880312156139df57600080fd5b6139e886613356565b94506139f660208701613356565b93506040860135925060608601359150608086013567ffffffffffffffff811115613a2057600080fd5b613689888289016135cc565b600080600060608486031215613a4157600080fd5b613a4a84613356565b95602085013595506040909401359392505050565b600181811c90821680613a7357607f821691505b602082108103613a9357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615613ac957613ac9613a99565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613af357613af3613ace565b500490565b634e487b7160e01b600052603260045260246000fd5b600060018201613b2057613b20613a99565b5060010190565b600060208284031215613b3957600080fd5b5051919050565b60008219821115613b5357613b53613a99565b500190565b600082821015613b6a57613b6a613a99565b500390565b604081526000613b826040830185613761565b8281036020840152613b948185613761565b95945050505050565b60006001600160a01b03808816835280871660208401525060a06040830152613bc960a0830186613761565b8281036060840152613bdb8186613761565b90508281036080840152613bef8185613401565b98975050505050505050565b600060208284031215613c0d57600080fd5b81516133ca81613397565b600060033d1115610a565760046000803e5060005160e01c90565b600060443d1015613c415790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715613c7157505050505090565b8285019150815181811115613c895750505050505090565b843d8701016020828501011115613ca35750505050505090565b613cb2602082860101876134ac565b509095945050505050565b600181815b80851115613cf8578160001904821115613cde57613cde613a99565b80851615613ceb57918102915b93841c9390800290613cc2565b509250929050565b600082613d0f5750600161088f565b81613d1c5750600061088f565b8160018114613d325760028114613d3c57613d58565b600191505061088f565b60ff841115613d4d57613d4d613a99565b50506001821b61088f565b5060208310610133831016604e8410600b8410161715613d7b575081810a61088f565b613d858383613cbd565b8060001904821115613d9957613d99613a99565b029392505050565b60006133ca8383613d00565b600060ff831680613dc057613dc0613ace565b8060ff84160491505092915050565b600060ff821660ff84168160ff0481118215151615613d9957613d99613a99565b600060ff821660ff841680821015613e0a57613e0a613a99565b90039392505050565b600082613e2257613e22613ace565b500690565b6001600160f81b03198360f81b16815260008251613e4c8160018501602087016133d1565b919091016001019392505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152613e9260a0830184613401565b979650505050505050565b600060ff821660ff84168060ff03821115613eba57613eba613a99565b01939250505056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212202d54da4a69e79ac6dea2a92ce319c6f2e0c4b546f2beee44175370f884bde5b364736f6c634300080d003368747470733a2f2f6173736574732d766f79616765722e766f6c747a2e6d652f7669616c2f6d657461646174612e6a736f6e0000000000000000000000002bfc752bd9bb476537895de9ed737bc2551bbb9c

Deployed Bytecode

0x6080604052600436106102ba5760003560e01c8063743976a01161016e578063c6275255116100cb578063ec45127a1161007f578063f2fde38b11610064578063f2fde38b14610793578063f5298aca146107b3578063f8480928146107d357600080fd5b8063ec45127a1461074c578063f242432a1461077357600080fd5b8063ce3cd997116100b0578063ce3cd997146106ce578063e8a3d485146106ee578063e985e9c51461070357600080fd5b8063c62752551461068e578063c752957a146106ae57600080fd5b80638da5cb5b11610122578063a22cb46511610107578063a22cb4651461063b578063a6da9ab71461065b578063c46b0d841461066e57600080fd5b80638da5cb5b146105fe57806395d89b411461062657600080fd5b80637c382d0b116101535780637c382d0b146105975780637c6e94e3146105b75780637dc43724146105d157600080fd5b8063743976a01461056c5780637af284d51461058157600080fd5b80632eb2c2d61161021c5780635f6be614116101d05780636f8b44b0116101b55780636f8b44b01461050a5780636fafbbdd1461052a578063715018a61461055757600080fd5b80635f6be614146104ca5780636b20c454146104ea57600080fd5b80633ab1a494116102015780633ab1a494146104685780633ccfd60b146104885780634e1273f41461049d57600080fd5b80632eb2c2d61461043257806332cb6b0c1461045257600080fd5b806317d70f7c1161027357806321fec36c1161025857806321fec36c146103bc5780632a55205a146103d15780632a9e63c61461041057600080fd5b806317d70f7c1461039157806318160ddd146103a757600080fd5b806306fdde03116102a457806306fdde031461032257806309c63259146103445780630e89341c1461037157600080fd5b8062fdd58e146102bf57806301ffc9a7146102f2575b600080fd5b3480156102cb57600080fd5b506102df6102da36600461336d565b6107e9565b6040519081526020015b60405180910390f35b3480156102fe57600080fd5b5061031261030d3660046133ad565b610895565b60405190151581526020016102e9565b34801561032e57600080fd5b506103376108d3565b6040516102e9919061342d565b34801561035057600080fd5b506102df61035f366004613440565b60136020526000908152604090205481565b34801561037d57600080fd5b5061033761038c36600461345b565b610961565b34801561039d57600080fd5b506102df60075481565b3480156103b357600080fd5b506005546102df565b3480156103c857600080fd5b506103126109f5565b3480156103dd57600080fd5b506103f16103ec366004613474565b610a59565b604080516001600160a01b0390931683526020830191909152016102e9565b34801561041c57600080fd5b5061043061042b366004613440565b610a93565b005b34801561043e57600080fd5b5061043061044d3660046135ec565b610ae7565b34801561045e57600080fd5b506102df60055481565b34801561047457600080fd5b50610312610483366004613440565b610b89565b34801561049457600080fd5b50610312610c05565b3480156104a957600080fd5b506104bd6104b8366004613696565b610c91565b6040516102e9919061379c565b3480156104d657600080fd5b506102df6104e536600461345b565b610dcf565b3480156104f657600080fd5b506104306105053660046137af565b610f22565b34801561051657600080fd5b5061031261052536600461345b565b610fac565b34801561053657600080fd5b506102df610545366004613440565b60156020526000908152604090205481565b34801561056357600080fd5b50610430611000565b34801561057857600080fd5b50610337611090565b34801561058d57600080fd5b506102df60085481565b3480156105a357600080fd5b506103126105b2366004613474565b61109d565b3480156105c357600080fd5b506009546103129060ff1681565b3480156105dd57600080fd5b506102df6105ec366004613440565b60146020526000908152604090205481565b34801561060a57600080fd5b506003546040516001600160a01b0390911681526020016102e9565b34801561063257600080fd5b506103376110fd565b34801561064757600080fd5b50610430610656366004613823565b61110a565b6102df61066936600461385f565b611119565b34801561067a57600080fd5b506103126106893660046138ea565b6118d8565b34801561069a57600080fd5b506103126106a936600461345b565b61193f565b3480156106ba57600080fd5b506103126106c9366004613440565b6119bc565b3480156106da57600080fd5b506103126106e9366004613933565b611a8f565b3480156106fa57600080fd5b50610337611b18565b34801561070f57600080fd5b5061031261071e366004613956565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561075857600080fd5b506006546107669060ff1681565b6040516102e9919061399f565b34801561077f57600080fd5b5061043061078e3660046139c7565b611baa565b34801561079f57600080fd5b506104306107ae366004613440565b611c31565b3480156107bf57600080fd5b506104306107ce366004613a2c565b611cfe565b3480156107df57600080fd5b506102df600a5481565b60006001600160a01b03831661086c5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061088f575061088f82611d83565b600b80546108e090613a5f565b80601f016020809104026020016040519081016040528092919081815260200182805461090c90613a5f565b80156109595780601f1061092e57610100808354040283529160200191610959565b820191906000526020600020905b81548152906001019060200180831161093c57829003601f168201915b505050505081565b60606002805461097090613a5f565b80601f016020809104026020016040519081016040528092919081815260200182805461099c90613a5f565b80156109e95780601f106109be576101008083540402835291602001916109e9565b820191906000526020600020905b8154815290600101906020018083116109cc57829003601f168201915b50505050509050919050565b6003546000906001600160a01b03163314610a405760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b506009805460ff19811660ff9091161517905560015b90565b60105460125460009182916001600160a01b03909116906103e890610a7e9086613aaf565b610a889190613ae4565b915091509250929050565b6003546001600160a01b03163314610adb5760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b610ae481611e1e565b50565b6001600160a01b038516331480610b035750610b03853361071e565b610b755760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610863565b610b828585858585611ec9565b5050505050565b6003546000906001600160a01b03163314610bd45760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b506011805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03831617905560015b919050565b6003546000906001600160a01b03163314610c505760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b6011546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c89573d6000803e3d6000fd5b506001905090565b60608151835114610d0a5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610863565b6000835167ffffffffffffffff811115610d2657610d26613496565b604051908082528060200260200182016040528015610d4f578160200160208202803683370190505b50905060005b8451811015610dc757610d9a858281518110610d7357610d73613af8565b6020026020010151858381518110610d8d57610d8d613af8565b60200260200101516107e9565b828281518110610dac57610dac613af8565b6020908102919091010152610dc081613b0e565b9050610d55565b509392505050565b60095460009060ff161515600114610e295760405162461bcd60e51b815260206004820152601960248201527f4d6967726174696f6e20686173206e6f742073746172746564000000000000006044820152606401610863565b6000610e3533846107e9565b11610e825760405162461bcd60e51b815260206004820152601960248201527f596f7520646f206e6f74206f776e207468697320746f6b656e000000000000006044820152606401610863565b610e8e33836001611cfe565b600f546040517f937f26080000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0390911690600090829063937f2608906024016020604051808303816000875af1158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a9190613b27565b949350505050565b6001600160a01b038316331480610f3e5750610f3e833361071e565b610f9c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610863565b610fa7838383612135565b505050565b6003546000906001600160a01b03163314610ff75760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b50600555600190565b6003546001600160a01b031633146110485760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b60405162461bcd60e51b815260206004820152601960248201527f43616e6e6f742072656e6f756e6365206f776e657273686970000000000000006044820152606401610863565b600d80546108e090613a5f565b6003546000906001600160a01b031633146110e85760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b50600090815260166020526040902055600190565b600c80546108e090613a5f565b61111533838361237c565b5050565b600060026004540361116d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610863565b6002600455858584846000611183338484612470565b90506111d0858580806020026020016040519081016040528093929190818152602001838360200280828437600092018290525087815260166020526040902054925085915061285d9050565b806111db575081600c145b6112275760405162461bcd60e51b815260206004820152601b60248201527f496e76616c69642070726f6f66206f6620696e636c7573696f6e2e00000000006044820152606401610863565b600554896008546112389190613b40565b11156112865760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c79207265616368656400000000000000000000000000006044820152606401610863565b6000878152601660205260408120600101546112a2908b613aaf565b9050600160065460ff1660038111156112bd576112bd613989565b036114a45787600a0361143757336000908152601360205260409020548910156113355760405162461bcd60e51b8152602060048201526024808201527f4164647265737320616c726561647920636c61696d656420616c6c20686973206044820152634e46547360e01b6064820152608401610863565b336000908152601360205260409020548990611352908c90613b40565b11156113a05760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20616d6f756e742065786365656465640000000000000000006044820152606401610863565b60005b8a81101561142b57600780549060006113bb83613b0e565b91905055506113de33600754600160405180602001604052806000815250612873565b600880549060006113ee83613b0e565b9091555050336000908152601360205260408120805460019290611413908490613b40565b9091555081905061142381613b0e565b9150506113a3565b506007549650506118c4565b60405162461bcd60e51b8152602060048201526024808201527f4c697374206973206e6f7420617574686f72697a65642061742074686973207360448201527f74616765000000000000000000000000000000000000000000000000000000006064820152608401610863565b600260065460ff1660038111156114bd576114bd613989565b0361162b5787600b0361143757336000908152601460205260409020548910156115355760405162461bcd60e51b8152602060048201526024808201527f4164647265737320616c726561647920636c61696d656420616c6c20686973206044820152634e46547360e01b6064820152608401610863565b336000908152601460205260409020548990611552908c90613b40565b11156115a05760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20616d6f756e742065786365656465640000000000000000006044820152606401610863565b60005b8a81101561142b57600780549060006115bb83613b0e565b91905055506115de33600754600160405180602001604052806000815250612873565b600880549060006115ee83613b0e565b9091555050336000908152601460205260408120805460019290611613908490613b40565b9091555081905061162381613b0e565b9150506115a3565b600360065460ff16600381111561164457611644613989565b036118565787600c036114375760006008546005546116639190613b58565b116116b05760405162461bcd60e51b815260206004820152601b60248201527f5075626c696320546f6b656e732061726520736f6c64206f75742100000000006044820152606401610863565b803410156117005760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e742066756e647320746f206d696e740000000000006044820152606401610863565b600a548a11156117785760405162461bcd60e51b815260206004820152602760248201527f4d6178696d756d20616d6f756e7420706572207472616e73616374696f6e206560448201527f78636565646564000000000000000000000000000000000000000000000000006064820152608401610863565b60005b8a811015611803576007805490600061179383613b0e565b91905055506117b633600754600160405180602001604052806000815250612873565b600880549060006117c683613b0e565b90915550503360009081526015602052604081208054600192906117eb908490613b40565b909155508190506117fb81613b0e565b91505061177b565b508034111561184b5760006118188234613b58565b604051909150339082156108fc029083906000818181858888f19350505050158015611848573d6000803e3d6000fd5b50505b6007549650506118c4565b60405162461bcd60e51b815260206004820152602b60248201527f5472616e73616374696f6e206973206e6f7420617574686f72697a656420617460448201527f20746869732073746167650000000000000000000000000000000000000000006064820152608401610863565b505060016004555091979650505050505050565b6003546000906001600160a01b031633146119235760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b815161193690600d9060208501906132bd565b50600192915050565b6003546000906001600160a01b0316331461198a5760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b50600c60005260166020527f329445f4448b7d20eec86c1386b39f5d1ed2d5f198689536ebcae9f2881958c455600190565b6003546000906001600160a01b03163314611a075760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b6001600160a01b038216611a5d5760405162461bcd60e51b815260206004820152601860248201527f5a65726f2061646472657373206e6f7420616c6c6f77656400000000000000006044820152606401610863565b50600f80546001600160a01b03831673ffffffffffffffffffffffffffffffffffffffff199091161790556001919050565b6003546000906001600160a01b03163314611ada5760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b8160ff166003811115611aef57611aef613989565b6006805460ff19166001836003811115611b0b57611b0b613989565b0217905550600192915050565b6060600d8054611b2790613a5f565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5390613a5f565b8015611ba05780601f10611b7557610100808354040283529160200191611ba0565b820191906000526020600020905b815481529060010190602001808311611b8357829003601f168201915b5050505050905090565b6001600160a01b038516331480611bc65750611bc6853361071e565b611c245760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610863565b610b82858585858561299f565b6003546001600160a01b03163314611c795760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610863565b6001600160a01b038116611cf55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610863565b610ae481612b3d565b6001600160a01b038316331480611d1a5750611d1a833361071e565b611d785760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610863565b610fa7838383612b9c565b60006001600160e01b031982167fd9b67a26000000000000000000000000000000000000000000000000000000001480611de657506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061088f57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461088f565b6001600160a01b038116611e9a5760405162461bcd60e51b815260206004820152602c60248201527f526f79616c746965733a206e657720726563697069656e74206973207468652060448201527f7a65726f206164647265737300000000000000000000000000000000000000006064820152608401610863565b6010805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b8151835114611f2b5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610863565b6001600160a01b038416611f8f5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610863565b33611f9e818787878787612d15565b60005b84518110156120c7576000858281518110611fbe57611fbe613af8565b602002602001015190506000858381518110611fdc57611fdc613af8565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561206f5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610863565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906120ac908490613b40565b92505081905550505050806120c090613b0e565b9050611fa1565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612117929190613b6f565b60405180910390a461212d818787878787612d1a565b505050505050565b6001600160a01b0383166121975760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610863565b80518251146121f95760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610863565b600033905061221c81856000868660405180602001604052806000815250612d15565b60005b835181101561231d57600084828151811061223c5761223c613af8565b60200260200101519050600084838151811061225a5761225a613af8565b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156122e65760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610863565b6000928352602083815260408085206001600160a01b038b168652909152909220910390558061231581613b0e565b91505061221f565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161236e929190613b6f565b60405180910390a450505050565b816001600160a01b0316836001600160a01b0316036124035760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610863565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b604080518082018252600281527f30780000000000000000000000000000000000000000000000000000000000006020808301919091528251808401909352600183527f20000000000000000000000000000000000000000000000000000000000000009083015260009181836124e688612ebf565b90508260006124f489613006565b90508460006125028a613006565b90506000815183518551875189518b5161251c9190613b40565b6125269190613b40565b6125309190613b40565b61253a9190613b40565b6125449190613b40565b67ffffffffffffffff81111561255c5761255c613496565b6040519080825280601f01601f191660200182016040528015612586576020820181803683370190505b509050806000805b89518110156125fe578981815181106125a9576125a9613af8565b01602001516001600160f81b03191683836125c381613b0e565b9450815181106125d5576125d5613af8565b60200101906001600160f81b031916908160001a905350806125f681613b0e565b91505061258e565b5060005b88518110156126725788818151811061261d5761261d613af8565b01602001516001600160f81b031916838361263781613b0e565b94508151811061264957612649613af8565b60200101906001600160f81b031916908160001a9053508061266a81613b0e565b915050612602565b5060005b87518110156126e65787818151811061269157612691613af8565b01602001516001600160f81b03191683836126ab81613b0e565b9450815181106126bd576126bd613af8565b60200101906001600160f81b031916908160001a905350806126de81613b0e565b915050612676565b5060005b865181101561275a5786818151811061270557612705613af8565b01602001516001600160f81b031916838361271f81613b0e565b94508151811061273157612731613af8565b60200101906001600160f81b031916908160001a9053508061275281613b0e565b9150506126ea565b5060005b85518110156127ce5785818151811061277957612779613af8565b01602001516001600160f81b031916838361279381613b0e565b9450815181106127a5576127a5613af8565b60200101906001600160f81b031916908160001a905350806127c681613b0e565b91505061275e565b5060005b8451811015612842578481815181106127ed576127ed613af8565b01602001516001600160f81b031916838361280781613b0e565b94508151811061281957612819613af8565b60200101906001600160f81b031916908160001a9053508061283a81613b0e565b9150506127d2565b505080516020909101209d9c50505050505050505050505050565b60008261286a858461309c565b14949350505050565b6001600160a01b0384166128ef5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610863565b3361290f8160008761290088613140565b61290988613140565b87612d15565b6000848152602081815260408083206001600160a01b03891684529091528120805485929061293f908490613b40565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610b828160008787878761318b565b6001600160a01b038416612a035760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610863565b33612a1381878761290088613140565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015612a975760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610863565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290612ad4908490613b40565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612b3482888888888861318b565b50505050505050565b600380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316612bfe5760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610863565b33612c2d81856000612c0f87613140565b612c1887613140565b60405180602001604052806000815250612d15565b6000838152602081815260408083206001600160a01b038816845290915290205482811015612caa5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610863565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b61212d565b6001600160a01b0384163b1561212d5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190612d5e9089908990889088908890600401613b9d565b6020604051808303816000875af1925050508015612d99575060408051601f3d908101601f19168201909252612d9691810190613bfb565b60015b612e4e57612da5613c18565b806308c379a003612dde5750612db9613c33565b80612dc45750612de0565b8060405162461bcd60e51b8152600401610863919061342d565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610863565b6001600160e01b0319811663bc197c8160e01b14612b345760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610863565b60408051602880825260608281019093526000919060208201818036833701905050905060005b6014811015612fff576000612efc826013613b58565b612f07906008613aaf565b612f12906002613da1565b612f25906001600160a01b038716613ae4565b60f81b9050600060108260f81c612f3c9190613dad565b60f81b905060008160f81c6010612f539190613dcf565b8360f81c612f619190613df0565b60f81b9050612f6f82613287565b85612f7b866002613aaf565b81518110612f8b57612f8b613af8565b60200101906001600160f81b031916908160001a905350612fab81613287565b85612fb7866002613aaf565b612fc2906001613b40565b81518110612fd257612fd2613af8565b60200101906001600160f81b031916908160001a9053505050508080612ff790613b0e565b915050612ee6565b5092915050565b606081156130635760605b821561088f57613022600a84613e13565b61302d906030613b40565b8160405160200161303f929190613e27565b60408051601f19818403018152919052905061305c600a84613ae4565b9250613011565b505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b600081815b8451811015610dc75760008582815181106130be576130be613af8565b6020026020010151905080831161310057604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061312d565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061313881613b0e565b9150506130a1565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061317a5761317a613af8565b602090810291909101015292915050565b6001600160a01b0384163b1561212d5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906131cf9089908990889088908890600401613e5a565b6020604051808303816000875af192505050801561320a575060408051601f3d908101601f1916820190925261320791810190613bfb565b60015b61321657612da5613c18565b6001600160e01b0319811663f23a6e6160e01b14612b345760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610863565b6000600a60f883901c10156132ae576132a560f883901c6030613e9d565b60f81b92915050565b6132a560f883901c6057613e9d565b8280546132c990613a5f565b90600052602060002090601f0160209004810192826132eb5760008555613331565b82601f1061330457805160ff1916838001178555613331565b82800160010185558215613331579182015b82811115613331578251825591602001919060010190613316565b5061333d929150613341565b5090565b5b8082111561333d5760008155600101613342565b80356001600160a01b0381168114610c0057600080fd5b6000806040838503121561338057600080fd5b61338983613356565b946020939093013593505050565b6001600160e01b031981168114610ae457600080fd5b6000602082840312156133bf57600080fd5b81356133ca81613397565b9392505050565b60005b838110156133ec5781810151838201526020016133d4565b838111156133fb576000848401525b50505050565b600081518084526134198160208601602086016133d1565b601f01601f19169290920160200192915050565b6020815260006133ca6020830184613401565b60006020828403121561345257600080fd5b6133ca82613356565b60006020828403121561346d57600080fd5b5035919050565b6000806040838503121561348757600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff811182821017156134d2576134d2613496565b6040525050565b600067ffffffffffffffff8211156134f3576134f3613496565b5060051b60200190565b600082601f83011261350e57600080fd5b8135602061351b826134d9565b60405161352882826134ac565b83815260059390931b850182019282810191508684111561354857600080fd5b8286015b84811015613563578035835291830191830161354c565b509695505050505050565b600067ffffffffffffffff83111561358857613588613496565b60405161359f601f8501601f1916602001826134ac565b8091508381528484840111156135b457600080fd5b83836020830137600060208583010152509392505050565b600082601f8301126135dd57600080fd5b6133ca8383356020850161356e565b600080600080600060a0868803121561360457600080fd5b61360d86613356565b945061361b60208701613356565b9350604086013567ffffffffffffffff8082111561363857600080fd5b61364489838a016134fd565b9450606088013591508082111561365a57600080fd5b61366689838a016134fd565b9350608088013591508082111561367c57600080fd5b50613689888289016135cc565b9150509295509295909350565b600080604083850312156136a957600080fd5b823567ffffffffffffffff808211156136c157600080fd5b818501915085601f8301126136d557600080fd5b813560206136e2826134d9565b6040516136ef82826134ac565b83815260059390931b850182019282810191508984111561370f57600080fd5b948201945b838610156137345761372586613356565b82529482019490820190613714565b9650508601359250508082111561374a57600080fd5b50613757858286016134fd565b9150509250929050565b600081518084526020808501945080840160005b8381101561379157815187529582019590820190600101613775565b509495945050505050565b6020815260006133ca6020830184613761565b6000806000606084860312156137c457600080fd5b6137cd84613356565b9250602084013567ffffffffffffffff808211156137ea57600080fd5b6137f6878388016134fd565b9350604086013591508082111561380c57600080fd5b50613819868287016134fd565b9150509250925092565b6000806040838503121561383657600080fd5b61383f83613356565b91506020830135801515811461385457600080fd5b809150509250929050565b60008060008060006080868803121561387757600080fd5b853567ffffffffffffffff8082111561388f57600080fd5b818801915088601f8301126138a357600080fd5b8135818111156138b257600080fd5b8960208260051b85010111156138c757600080fd5b60209283019a909950918801359760408101359750606001359550909350505050565b6000602082840312156138fc57600080fd5b813567ffffffffffffffff81111561391357600080fd5b8201601f8101841361392457600080fd5b610f1a8482356020840161356e565b60006020828403121561394557600080fd5b813560ff811681146133ca57600080fd5b6000806040838503121561396957600080fd5b61397283613356565b915061398060208401613356565b90509250929050565b634e487b7160e01b600052602160045260246000fd5b60208101600483106139c157634e487b7160e01b600052602160045260246000fd5b91905290565b600080600080600060a086880312156139df57600080fd5b6139e886613356565b94506139f660208701613356565b93506040860135925060608601359150608086013567ffffffffffffffff811115613a2057600080fd5b613689888289016135cc565b600080600060608486031215613a4157600080fd5b613a4a84613356565b95602085013595506040909401359392505050565b600181811c90821680613a7357607f821691505b602082108103613a9357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615613ac957613ac9613a99565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613af357613af3613ace565b500490565b634e487b7160e01b600052603260045260246000fd5b600060018201613b2057613b20613a99565b5060010190565b600060208284031215613b3957600080fd5b5051919050565b60008219821115613b5357613b53613a99565b500190565b600082821015613b6a57613b6a613a99565b500390565b604081526000613b826040830185613761565b8281036020840152613b948185613761565b95945050505050565b60006001600160a01b03808816835280871660208401525060a06040830152613bc960a0830186613761565b8281036060840152613bdb8186613761565b90508281036080840152613bef8185613401565b98975050505050505050565b600060208284031215613c0d57600080fd5b81516133ca81613397565b600060033d1115610a565760046000803e5060005160e01c90565b600060443d1015613c415790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715613c7157505050505090565b8285019150815181811115613c895750505050505090565b843d8701016020828501011115613ca35750505050505090565b613cb2602082860101876134ac565b509095945050505050565b600181815b80851115613cf8578160001904821115613cde57613cde613a99565b80851615613ceb57918102915b93841c9390800290613cc2565b509250929050565b600082613d0f5750600161088f565b81613d1c5750600061088f565b8160018114613d325760028114613d3c57613d58565b600191505061088f565b60ff841115613d4d57613d4d613a99565b50506001821b61088f565b5060208310610133831016604e8410600b8410161715613d7b575081810a61088f565b613d858383613cbd565b8060001904821115613d9957613d99613a99565b029392505050565b60006133ca8383613d00565b600060ff831680613dc057613dc0613ace565b8060ff84160491505092915050565b600060ff821660ff84168160ff0481118215151615613d9957613d99613a99565b600060ff821660ff841680821015613e0a57613e0a613a99565b90039392505050565b600082613e2257613e22613ace565b500690565b6001600160f81b03198360f81b16815260008251613e4c8160018501602087016133d1565b919091016001019392505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152613e9260a0830184613401565b979650505050505050565b600060ff821660ff84168060ff03821115613eba57613eba613a99565b01939250505056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212202d54da4a69e79ac6dea2a92ce319c6f2e0c4b546f2beee44175370f884bde5b364736f6c634300080d0033

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

0000000000000000000000002bfc752bd9bb476537895de9ed737bc2551bbb9c

-----Decoded View---------------
Arg [0] : owner (address): 0x2bfc752bD9bb476537895De9eD737bc2551bBb9c

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002bfc752bd9bb476537895de9ed737bc2551bbb9c


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.