ETH Price: $2,289.65 (-2.31%)

Token

MetaSharks Comic #1 (MSC1)
 

Overview

Max Total Supply

81 MSC1

Holders

28

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x18802e0ec41eac749c7602573ce8bc6efa2947af
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:
MetaSharksComic

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : MSC.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;


import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

contract MetaSharksComic is ERC1155Burnable {
    uint256[] public maxSupplies = [100,300,600];
    uint256[] public minted = [0,0,0];
    uint256[] public burnt = [0,0,0];
    uint256[] public cost = [.1 ether, .07 ether, .04 ether];
    string public name = "MetaSharks Comic #1";
    string public symbol = "MSC1";
    bool public sale = false;

    address private owner;
	address private admin = 0x8DFdD0FF4661abd44B06b1204C6334eACc8575af;
    address private sharkAddress = 0x30A51024cEf9E1C16E0d9F0Dd4ACC9064D01f8da;

    constructor() ERC1155("https://metasharks.mypinata.cloud/ipfs/QmZdTHvAxNvxgMXbppVzsUg7k4GbdrfGa69qNXqcLyxkis/{id}.json") 
    {
        owner = msg.sender;
    }

    modifier onlyTeam {
        require(msg.sender == owner || msg.sender == admin, "Not team" );
        _;
    }
    modifier onlySharkHolder {
        require(IERC721(sharkAddress).balanceOf(msg.sender) > 0, "Must be a shark holder");
        _;
    }

    function setURI(string memory newuri) public onlyTeam {
        _setURI(newuri);
    }

    function mint(uint256 id, uint256 amount) public payable onlySharkHolder{
        require(sale, "Sale");
        require(id < maxSupplies.length && id >= 0, "ID does not exist");
        require(amount < 11, "Too many");
        require(minted[id] + amount <= maxSupplies[id], "Max supply");
        require(msg.value == amount * cost[id], "ETH value");
        _mint(msg.sender, id, amount, "");
        minted[id] += amount;
    }

    function multiMint(uint256[] memory ids, uint256[] memory amounts) public payable onlySharkHolder{
        require(sale, "Sale");
        require(ids.length == amounts.length, "List length");
        require(ids.length < 4, "Too many");
        // calculate costs
        uint256 totalCost = 0; 
        for(uint256 i; i < ids.length; i++){
            require(amounts[i] < 11, "Too many");
            require(ids[i] < 4 && ids[i] >= 0);
            totalCost += cost[ids[i]] * amounts[i];
    	}

        require(msg.value == totalCost, "ETH value");
        delete totalCost;
        for(uint256 i; i < ids.length; i++){
            require(minted[ids[i]] + amounts[i] <= maxSupplies[ids[i]], "Max supply");
            _mint(msg.sender, ids[i], amounts[i], "");
            minted[ids[i]] += amounts[i];
    	}
    }

    function gift(uint256 id, uint256 amount, address recipient) public onlyTeam {
        require(id < maxSupplies.length && id >= 0, "ID does not exist"); 
        require(minted[id] + amount <= maxSupplies[id], "Max supply"); 
        _mint(recipient, id, amount, "");
        minted[id] += amount;
    }

    function burn(address account, uint256 id, uint256 value) public virtual override {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _burn(account, id, value);
        require(id < burnt.length, "ID does not exist");
        burnt[id] += value;
    }

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

        _burnBatch(account, ids, values);

        for(uint256 i; i < ids.length; i++){
            require(ids[i] < burnt.length, "ID does not exist");
            burnt[ids[i]] += values[i];
        }
    }

    function toggleSale() public {
        sale = !sale;
    }

    function totalMints() public view returns(uint256[] memory){
        return minted;
    }

    function totalBurns() public view returns(uint256[] memory){
        return burnt;
    }

    function withdraw()  public onlyTeam {
        payable(admin).transfer(address(this).balance * 15 / 100);
        payable(owner).transfer(address(this).balance);
    }

    function setSharkAddress(address _sharkAddress) public onlyTeam {
        sharkAddress = _sharkAddress;
    }

}

File 2 of 11 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 11 : 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 4 of 11 : 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 5 of 11 : 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 6 of 11 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 7 of 11 : 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 8 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 11 : 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 10 of 11 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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.
     *
     * NOTE: 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.
     *
     * NOTE: 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 11 of 11 : 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;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"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":[{"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":"uint256","name":"","type":"uint256"}],"name":"burnt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxSupplies","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"multiMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"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":[],"name":"sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_sharkAddress","type":"address"}],"name":"setSharkAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalBurns","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMints","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040526064608090815261012c60a05261025860c052620000269060039081620001f6565b506040805160608101825260008082526020820181905291810191909152620000549060049060036200024c565b506040805160608101825260008082526020820181905291810191909152620000829060059060036200024c565b506040805160608101825267016345785d8a0000815266f8b0a10e4700006020820152668e1bc9bf04000091810191909152620000c49060069060036200028f565b506040805180820190915260138082527f4d657461536861726b7320436f6d69632023310000000000000000000000000060209092019182526200010b91600791620002d8565b50604080518082019091526004808252634d53433160e01b60209092019182526200013991600891620002d8565b506009805460ff19169055600a80546001600160a01b0319908116738dfdd0ff4661abd44b06b1204c6334eacc8575af17909155600b80549091167330a51024cef9e1c16e0d9f0dd4acc9064d01f8da1790553480156200019957600080fd5b506040518060800160405280605f815260200162002e64605f9139620001bf81620001dd565b5060098054610100600160a81b0319163361010002179055620003a9565b8051620001f2906002906020840190620002d8565b5050565b8280548282559060005260206000209081019282156200023a579160200282015b828111156200023a578251829061ffff1690559160200191906001019062000217565b506200024892915062000355565b5090565b8280548282559060005260206000209081019282156200023a579160200282015b828111156200023a578251829060ff169055916020019190600101906200026d565b8280548282559060005260206000209081019282156200023a579160200282015b828111156200023a57825182906001600160401b0316905591602001919060010190620002b0565b828054620002e6906200036c565b90600052602060002090601f0160209004810192826200030a57600085556200023a565b82601f106200032557805160ff19168380011785556200023a565b828001600101855582156200023a579182015b828111156200023a57825182559160200191906001019062000338565b5b8082111562000248576000815560010162000356565b600181811c908216806200038157607f821691505b60208210811415620003a357634e487b7160e01b600052602260045260246000fd5b50919050565b612aab80620003b96000396000f3fe6080604052600436106101805760003560e01c80636b20c454116100d15780639097548d1161008a578063c260804c11610064578063c260804c14610431578063e985e9c514610451578063f242432a1461049a578063f5298aca146104ba57600080fd5b80639097548d146103dc57806395d89b41146103fc578063a22cb4651461041157600080fd5b80636b20c4541461032557806374f53dc9146103455780637d8966e4146103585780637dc0bf3f1461037c57806387962dcc1461039c5780638e089173146103bc57600080fd5b80631b2ef1ca1161013e5780633ccfd60b116101185780633ccfd60b146102c15780634e1273f4146102d6578063694ca01d146102f65780636ad1fe021461030b57600080fd5b80631b2ef1ca1461026c5780631f21bfbf1461027f5780632eb2c2d6146102a157600080fd5b8062fdd58e1461018557806301ffc9a7146101b857806302fe5305146101e857806306fdde031461020a5780630dfe57ec1461022c5780630e89341c1461024c575b600080fd5b34801561019157600080fd5b506101a56101a0366004611eea565b6104da565b6040519081526020015b60405180910390f35b3480156101c457600080fd5b506101d86101d3366004611f2a565b610571565b60405190151581526020016101af565b3480156101f457600080fd5b50610208610203366004611fef565b6105c3565b005b34801561021657600080fd5b5061021f610613565b6040516101af919061208d565b34801561023857600080fd5b506102086102473660046120a0565b6106a1565b34801561025857600080fd5b5061021f6102673660046120bb565b610707565b61020861027a3660046120d4565b61079b565b34801561028b57600080fd5b506102946109ed565b6040516101af9190612131565b3480156102ad57600080fd5b506102086102bc3660046121f9565b610a45565b3480156102cd57600080fd5b50610208610adc565b3480156102e257600080fd5b506102946102f13660046122a3565b610baf565b34801561030257600080fd5b50610294610cd9565b34801561031757600080fd5b506009546101d89060ff1681565b34801561033157600080fd5b5061020861034036600461236e565b610d2f565b6102086103533660046123e2565b610e37565b34801561036457600080fd5b506102086009805460ff19811660ff90911615179055565b34801561038857600080fd5b506101a56103973660046120bb565b61124e565b3480156103a857600080fd5b506101a56103b73660046120bb565b61126f565b3480156103c857600080fd5b506101a56103d73660046120bb565b61127f565b3480156103e857600080fd5b506101a56103f73660046120bb565b61128f565b34801561040857600080fd5b5061021f61129f565b34801561041d57600080fd5b5061020861042c36600461242f565b6112ac565b34801561043d57600080fd5b5061020861044c36600461246b565b6112bb565b34801561045d57600080fd5b506101d861046c3660046124a0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156104a657600080fd5b506102086104b53660046124d3565b6113e1565b3480156104c657600080fd5b506102086104d5366004612538565b611426565b60006001600160a01b03831661054b5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b14806105a257506001600160e01b031982166303a24d0760e21b145b806105bd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60095461010090046001600160a01b03163314806105eb5750600a546001600160a01b031633145b6106075760405162461bcd60e51b81526004016105429061256b565b6106108161149e565b50565b600780546106209061258d565b80601f016020809104026020016040519081016040528092919081815260200182805461064c9061258d565b80156106995780601f1061066e57610100808354040283529160200191610699565b820191906000526020600020905b81548152906001019060200180831161067c57829003601f168201915b505050505081565b60095461010090046001600160a01b03163314806106c95750600a546001600160a01b031633145b6106e55760405162461bcd60e51b81526004016105429061256b565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600280546107169061258d565b80601f01602080910402602001604051908101604052809291908181526020018280546107429061258d565b801561078f5780601f106107645761010080835404028352916020019161078f565b820191906000526020600020905b81548152906001019060200180831161077257829003601f168201915b50505050509050919050565b600b546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156107e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080891906125c8565b1161084e5760405162461bcd60e51b815260206004820152601660248201527526bab9ba10313290309039b430b935903437b63232b960511b6044820152606401610542565b60095460ff166108895760405162461bcd60e51b81526004016105429060208082526004908201526353616c6560e01b604082015260600190565b60035482108015610898575060015b6108b45760405162461bcd60e51b8152600401610542906125e1565b600b81106108d45760405162461bcd60e51b81526004016105429061260c565b600382815481106108e7576108e761262e565b906000526020600020015481600484815481106109065761090661262e565b906000526020600020015461091b919061265a565b11156109395760405162461bcd60e51b815260040161054290612672565b6006828154811061094c5761094c61262e565b9060005260206000200154816109629190612696565b341461099c5760405162461bcd60e51b81526020600482015260096024820152684554482076616c756560b81b6044820152606401610542565b6109b7338383604051806020016040528060008152506114b1565b80600483815481106109cb576109cb61262e565b9060005260206000200160008282546109e4919061265a565b90915550505050565b60606004805480602002602001604051908101604052809291908181526020018280548015610a3b57602002820191906000526020600020905b815481526020019060010190808311610a27575b5050505050905090565b6001600160a01b038516331480610a615750610a61853361046c565b610ac85760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610542565b610ad585858585856115bb565b5050505050565b60095461010090046001600160a01b0316331480610b045750600a546001600160a01b031633145b610b205760405162461bcd60e51b81526004016105429061256b565b600a546001600160a01b03166108fc6064610b3c47600f612696565b610b4691906126b5565b6040518115909202916000818181858888f19350505050158015610b6e573d6000803e3d6000fd5b506009546040516001600160a01b0361010090920491909116904780156108fc02916000818181858888f19350505050158015610610573d6000803e3d6000fd5b60608151835114610c145760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610542565b6000835167ffffffffffffffff811115610c3057610c30611f4e565b604051908082528060200260200182016040528015610c59578160200160208202803683370190505b50905060005b8451811015610cd157610ca4858281518110610c7d57610c7d61262e565b6020026020010151858381518110610c9757610c9761262e565b60200260200101516104da565b828281518110610cb657610cb661262e565b6020908102919091010152610cca816126d7565b9050610c5f565b509392505050565b60606005805480602002602001604051908101604052809291908181526020018280548015610a3b5760200282019190600052602060002090815481526020019060010190808311610a27575050505050905090565b6001600160a01b038316331480610d4b5750610d4b833361046c565b610d675760405162461bcd60e51b8152600401610542906126f2565b610d72838383611757565b60005b8251811015610e31576005548351849083908110610d9557610d9561262e565b602002602001015110610dba5760405162461bcd60e51b8152600401610542906125e1565b818181518110610dcc57610dcc61262e565b60200260200101516005848381518110610de857610de861262e565b602002602001015181548110610e0057610e0061262e565b906000526020600020016000828254610e19919061265a565b90915550819050610e29816126d7565b915050610d75565b50505050565b600b546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610e80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea491906125c8565b11610eea5760405162461bcd60e51b815260206004820152601660248201527526bab9ba10313290309039b430b935903437b63232b960511b6044820152606401610542565b60095460ff16610f255760405162461bcd60e51b81526004016105429060208082526004908201526353616c6560e01b604082015260600190565b8051825114610f645760405162461bcd60e51b815260206004820152600b60248201526a098d2e6e840d8cadccee8d60ab1b6044820152606401610542565b6004825110610f855760405162461bcd60e51b81526004016105429061260c565b6000805b835181101561109057600b838281518110610fa657610fa661262e565b602002602001015110610fcb5760405162461bcd60e51b81526004016105429061260c565b6004848281518110610fdf57610fdf61262e565b602002602001015110801561100e575060008482815181106110035761100361262e565b602002602001015110155b61101757600080fd5b8281815181106110295761102961262e565b602002602001015160068583815181106110455761104561262e565b60200260200101518154811061105d5761105d61262e565b90600052602060002001546110729190612696565b61107c908361265a565b915080611088816126d7565b915050610f89565b508034146110cc5760405162461bcd60e51b81526020600482015260096024820152684554482076616c756560b81b6044820152606401610542565b506000805b8351811015610e315760038482815181106110ee576110ee61262e565b6020026020010151815481106111065761110661262e565b90600052602060002001548382815181106111235761112361262e565b6020026020010151600486848151811061113f5761113f61262e565b6020026020010151815481106111575761115761262e565b906000526020600020015461116c919061265a565b111561118a5760405162461bcd60e51b815260040161054290612672565b6111d7338583815181106111a0576111a061262e565b60200260200101518584815181106111ba576111ba61262e565b6020026020010151604051806020016040528060008152506114b1565b8281815181106111e9576111e961262e565b602002602001015160048583815181106112055761120561262e565b60200260200101518154811061121d5761121d61262e565b906000526020600020016000828254611236919061265a565b90915550819050611246816126d7565b9150506110d1565b6004818154811061125e57600080fd5b600091825260209091200154905081565b6003818154811061125e57600080fd5b6005818154811061125e57600080fd5b6006818154811061125e57600080fd5b600880546106209061258d565b6112b73383836118d3565b5050565b60095461010090046001600160a01b03163314806112e35750600a546001600160a01b031633145b6112ff5760405162461bcd60e51b81526004016105429061256b565b6003548310801561130e575060015b61132a5760405162461bcd60e51b8152600401610542906125e1565b6003838154811061133d5761133d61262e565b9060005260206000200154826004858154811061135c5761135c61262e565b9060005260206000200154611371919061265a565b111561138f5760405162461bcd60e51b815260040161054290612672565b6113aa818484604051806020016040528060008152506114b1565b81600484815481106113be576113be61262e565b9060005260206000200160008282546113d7919061265a565b9091555050505050565b6001600160a01b0385163314806113fd57506113fd853361046c565b6114195760405162461bcd60e51b8152600401610542906126f2565b610ad585858585856119b4565b6001600160a01b0383163314806114425750611442833361046c565b61145e5760405162461bcd60e51b8152600401610542906126f2565b611469838383611ad1565b600554821061148a5760405162461bcd60e51b8152600401610542906125e1565b80600583815481106113be576113be61262e565b80516112b7906002906020840190611e35565b6001600160a01b0384166115115760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610542565b3361152b8160008761152288611bd3565b610ad588611bd3565b6000848152602081815260408083206001600160a01b03891684529091528120805485929061155b90849061265a565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610ad581600087878787611c1e565b81518351146115dc5760405162461bcd60e51b81526004016105429061273b565b6001600160a01b0384166116025760405162461bcd60e51b815260040161054290612783565b3360005b84518110156116e95760008582815181106116235761162361262e565b6020026020010151905060008583815181106116415761164161262e565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156116915760405162461bcd60e51b8152600401610542906127c8565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906116ce90849061265a565b92505081905550505050806116e2906126d7565b9050611606565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611739929190612812565b60405180910390a461174f818787878787611d7a565b505050505050565b6001600160a01b03831661177d5760405162461bcd60e51b815260040161054290612840565b805182511461179e5760405162461bcd60e51b81526004016105429061273b565b604080516020810190915260009081905233905b83518110156118745760008482815181106117cf576117cf61262e565b6020026020010151905060008483815181106117ed576117ed61262e565b602090810291909101810151600084815280835260408082206001600160a01b038c16835290935291909120549091508181101561183d5760405162461bcd60e51b815260040161054290612883565b6000928352602083815260408085206001600160a01b038b168652909152909220910390558061186c816126d7565b9150506117b2565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516118c5929190612812565b60405180910390a450505050565b816001600160a01b0316836001600160a01b031614156119475760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610542565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166119da5760405162461bcd60e51b815260040161054290612783565b336119ea81878761152288611bd3565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015611a2b5760405162461bcd60e51b8152600401610542906127c8565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611a6890849061265a565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611ac8828888888888611c1e565b50505050505050565b6001600160a01b038316611af75760405162461bcd60e51b815260040161054290612840565b33611b2781856000611b0887611bd3565b611b1187611bd3565b5050604080516020810190915260009052505050565b6000838152602081815260408083206001600160a01b038816845290915290205482811015611b685760405162461bcd60e51b815260040161054290612883565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611c0d57611c0d61262e565b602090810291909101015292915050565b6001600160a01b0384163b1561174f5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611c6290899089908890889088906004016128c7565b6020604051808303816000875af1925050508015611c9d575060408051601f3d908101601f19168201909252611c9a9181019061290c565b60015b611d4a57611ca9612929565b806308c379a01415611ce35750611cbe612945565b80611cc95750611ce5565b8060405162461bcd60e51b8152600401610542919061208d565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610542565b6001600160e01b0319811663f23a6e6160e01b14611ac85760405162461bcd60e51b8152600401610542906129cf565b6001600160a01b0384163b1561174f5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611dbe9089908990889088908890600401612a17565b6020604051808303816000875af1925050508015611df9575060408051601f3d908101601f19168201909252611df69181019061290c565b60015b611e0557611ca9612929565b6001600160e01b0319811663bc197c8160e01b14611ac85760405162461bcd60e51b8152600401610542906129cf565b828054611e419061258d565b90600052602060002090601f016020900481019282611e635760008555611ea9565b82601f10611e7c57805160ff1916838001178555611ea9565b82800160010185558215611ea9579182015b82811115611ea9578251825591602001919060010190611e8e565b50611eb5929150611eb9565b5090565b5b80821115611eb55760008155600101611eba565b80356001600160a01b0381168114611ee557600080fd5b919050565b60008060408385031215611efd57600080fd5b611f0683611ece565b946020939093013593505050565b6001600160e01b03198116811461061057600080fd5b600060208284031215611f3c57600080fd5b8135611f4781611f14565b9392505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715611f8a57611f8a611f4e565b6040525050565b600067ffffffffffffffff831115611fab57611fab611f4e565b604051611fc2601f8501601f191660200182611f64565b809150838152848484011115611fd757600080fd5b83836020830137600060208583010152509392505050565b60006020828403121561200157600080fd5b813567ffffffffffffffff81111561201857600080fd5b8201601f8101841361202957600080fd5b61203884823560208401611f91565b949350505050565b6000815180845260005b818110156120665760208185018101518683018201520161204a565b81811115612078576000602083870101525b50601f01601f19169290920160200192915050565b602081526000611f476020830184612040565b6000602082840312156120b257600080fd5b611f4782611ece565b6000602082840312156120cd57600080fd5b5035919050565b600080604083850312156120e757600080fd5b50508035926020909101359150565b600081518084526020808501945080840160005b838110156121265781518752958201959082019060010161210a565b509495945050505050565b602081526000611f4760208301846120f6565b600067ffffffffffffffff82111561215e5761215e611f4e565b5060051b60200190565b600082601f83011261217957600080fd5b8135602061218682612144565b6040516121938282611f64565b83815260059390931b85018201928281019150868411156121b357600080fd5b8286015b848110156121ce57803583529183019183016121b7565b509695505050505050565b600082601f8301126121ea57600080fd5b611f4783833560208501611f91565b600080600080600060a0868803121561221157600080fd5b61221a86611ece565b945061222860208701611ece565b9350604086013567ffffffffffffffff8082111561224557600080fd5b61225189838a01612168565b9450606088013591508082111561226757600080fd5b61227389838a01612168565b9350608088013591508082111561228957600080fd5b50612296888289016121d9565b9150509295509295909350565b600080604083850312156122b657600080fd5b823567ffffffffffffffff808211156122ce57600080fd5b818501915085601f8301126122e257600080fd5b813560206122ef82612144565b6040516122fc8282611f64565b83815260059390931b850182019282810191508984111561231c57600080fd5b948201945b838610156123415761233286611ece565b82529482019490820190612321565b9650508601359250508082111561235757600080fd5b5061236485828601612168565b9150509250929050565b60008060006060848603121561238357600080fd5b61238c84611ece565b9250602084013567ffffffffffffffff808211156123a957600080fd5b6123b587838801612168565b935060408601359150808211156123cb57600080fd5b506123d886828701612168565b9150509250925092565b600080604083850312156123f557600080fd5b823567ffffffffffffffff8082111561240d57600080fd5b61241986838701612168565b9350602085013591508082111561235757600080fd5b6000806040838503121561244257600080fd5b61244b83611ece565b91506020830135801515811461246057600080fd5b809150509250929050565b60008060006060848603121561248057600080fd5b833592506020840135915061249760408501611ece565b90509250925092565b600080604083850312156124b357600080fd5b6124bc83611ece565b91506124ca60208401611ece565b90509250929050565b600080600080600060a086880312156124eb57600080fd5b6124f486611ece565b945061250260208701611ece565b93506040860135925060608601359150608086013567ffffffffffffffff81111561252c57600080fd5b612296888289016121d9565b60008060006060848603121561254d57600080fd5b61255684611ece565b95602085013595506040909401359392505050565b6020808252600890820152674e6f74207465616d60c01b604082015260600190565b600181811c908216806125a157607f821691505b602082108114156125c257634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156125da57600080fd5b5051919050565b602080825260119082015270125108191bd95cc81b9bdd08195e1a5cdd607a1b604082015260600190565b602080825260089082015267546f6f206d616e7960c01b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561266d5761266d612644565b500190565b6020808252600a90820152694d617820737570706c7960b01b604082015260600190565b60008160001904831182151516156126b0576126b0612644565b500290565b6000826126d257634e487b7160e01b600052601260045260246000fd5b500490565b60006000198214156126eb576126eb612644565b5060010190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60408152600061282560408301856120f6565b828103602084015261283781856120f6565b95945050505050565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061290190830184612040565b979650505050505050565b60006020828403121561291e57600080fd5b8151611f4781611f14565b600060033d11156129425760046000803e5060005160e01c5b90565b600060443d10156129535790565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561298357505050505090565b828501915081518181111561299b5750505050505090565b843d87010160208285010111156129b55750505050505090565b6129c460208286010187611f64565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a060408201819052600090612a43908301866120f6565b8281036060840152612a5581866120f6565b90508281036080840152612a698185612040565b9897505050505050505056fea264697066735822122029cd5217a9232c2bbf1cb6f4973efad1538e041813054ea92e6b6ef9eb7de8c464736f6c634300080b003368747470733a2f2f6d657461736861726b732e6d7970696e6174612e636c6f75642f697066732f516d5a6454487641784e7678674d58627070567a735567376b34476264726647613639714e5871634c79786b69732f7b69647d2e6a736f6e

Deployed Bytecode

0x6080604052600436106101805760003560e01c80636b20c454116100d15780639097548d1161008a578063c260804c11610064578063c260804c14610431578063e985e9c514610451578063f242432a1461049a578063f5298aca146104ba57600080fd5b80639097548d146103dc57806395d89b41146103fc578063a22cb4651461041157600080fd5b80636b20c4541461032557806374f53dc9146103455780637d8966e4146103585780637dc0bf3f1461037c57806387962dcc1461039c5780638e089173146103bc57600080fd5b80631b2ef1ca1161013e5780633ccfd60b116101185780633ccfd60b146102c15780634e1273f4146102d6578063694ca01d146102f65780636ad1fe021461030b57600080fd5b80631b2ef1ca1461026c5780631f21bfbf1461027f5780632eb2c2d6146102a157600080fd5b8062fdd58e1461018557806301ffc9a7146101b857806302fe5305146101e857806306fdde031461020a5780630dfe57ec1461022c5780630e89341c1461024c575b600080fd5b34801561019157600080fd5b506101a56101a0366004611eea565b6104da565b6040519081526020015b60405180910390f35b3480156101c457600080fd5b506101d86101d3366004611f2a565b610571565b60405190151581526020016101af565b3480156101f457600080fd5b50610208610203366004611fef565b6105c3565b005b34801561021657600080fd5b5061021f610613565b6040516101af919061208d565b34801561023857600080fd5b506102086102473660046120a0565b6106a1565b34801561025857600080fd5b5061021f6102673660046120bb565b610707565b61020861027a3660046120d4565b61079b565b34801561028b57600080fd5b506102946109ed565b6040516101af9190612131565b3480156102ad57600080fd5b506102086102bc3660046121f9565b610a45565b3480156102cd57600080fd5b50610208610adc565b3480156102e257600080fd5b506102946102f13660046122a3565b610baf565b34801561030257600080fd5b50610294610cd9565b34801561031757600080fd5b506009546101d89060ff1681565b34801561033157600080fd5b5061020861034036600461236e565b610d2f565b6102086103533660046123e2565b610e37565b34801561036457600080fd5b506102086009805460ff19811660ff90911615179055565b34801561038857600080fd5b506101a56103973660046120bb565b61124e565b3480156103a857600080fd5b506101a56103b73660046120bb565b61126f565b3480156103c857600080fd5b506101a56103d73660046120bb565b61127f565b3480156103e857600080fd5b506101a56103f73660046120bb565b61128f565b34801561040857600080fd5b5061021f61129f565b34801561041d57600080fd5b5061020861042c36600461242f565b6112ac565b34801561043d57600080fd5b5061020861044c36600461246b565b6112bb565b34801561045d57600080fd5b506101d861046c3660046124a0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156104a657600080fd5b506102086104b53660046124d3565b6113e1565b3480156104c657600080fd5b506102086104d5366004612538565b611426565b60006001600160a01b03831661054b5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b14806105a257506001600160e01b031982166303a24d0760e21b145b806105bd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60095461010090046001600160a01b03163314806105eb5750600a546001600160a01b031633145b6106075760405162461bcd60e51b81526004016105429061256b565b6106108161149e565b50565b600780546106209061258d565b80601f016020809104026020016040519081016040528092919081815260200182805461064c9061258d565b80156106995780601f1061066e57610100808354040283529160200191610699565b820191906000526020600020905b81548152906001019060200180831161067c57829003601f168201915b505050505081565b60095461010090046001600160a01b03163314806106c95750600a546001600160a01b031633145b6106e55760405162461bcd60e51b81526004016105429061256b565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600280546107169061258d565b80601f01602080910402602001604051908101604052809291908181526020018280546107429061258d565b801561078f5780601f106107645761010080835404028352916020019161078f565b820191906000526020600020905b81548152906001019060200180831161077257829003601f168201915b50505050509050919050565b600b546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156107e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080891906125c8565b1161084e5760405162461bcd60e51b815260206004820152601660248201527526bab9ba10313290309039b430b935903437b63232b960511b6044820152606401610542565b60095460ff166108895760405162461bcd60e51b81526004016105429060208082526004908201526353616c6560e01b604082015260600190565b60035482108015610898575060015b6108b45760405162461bcd60e51b8152600401610542906125e1565b600b81106108d45760405162461bcd60e51b81526004016105429061260c565b600382815481106108e7576108e761262e565b906000526020600020015481600484815481106109065761090661262e565b906000526020600020015461091b919061265a565b11156109395760405162461bcd60e51b815260040161054290612672565b6006828154811061094c5761094c61262e565b9060005260206000200154816109629190612696565b341461099c5760405162461bcd60e51b81526020600482015260096024820152684554482076616c756560b81b6044820152606401610542565b6109b7338383604051806020016040528060008152506114b1565b80600483815481106109cb576109cb61262e565b9060005260206000200160008282546109e4919061265a565b90915550505050565b60606004805480602002602001604051908101604052809291908181526020018280548015610a3b57602002820191906000526020600020905b815481526020019060010190808311610a27575b5050505050905090565b6001600160a01b038516331480610a615750610a61853361046c565b610ac85760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610542565b610ad585858585856115bb565b5050505050565b60095461010090046001600160a01b0316331480610b045750600a546001600160a01b031633145b610b205760405162461bcd60e51b81526004016105429061256b565b600a546001600160a01b03166108fc6064610b3c47600f612696565b610b4691906126b5565b6040518115909202916000818181858888f19350505050158015610b6e573d6000803e3d6000fd5b506009546040516001600160a01b0361010090920491909116904780156108fc02916000818181858888f19350505050158015610610573d6000803e3d6000fd5b60608151835114610c145760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610542565b6000835167ffffffffffffffff811115610c3057610c30611f4e565b604051908082528060200260200182016040528015610c59578160200160208202803683370190505b50905060005b8451811015610cd157610ca4858281518110610c7d57610c7d61262e565b6020026020010151858381518110610c9757610c9761262e565b60200260200101516104da565b828281518110610cb657610cb661262e565b6020908102919091010152610cca816126d7565b9050610c5f565b509392505050565b60606005805480602002602001604051908101604052809291908181526020018280548015610a3b5760200282019190600052602060002090815481526020019060010190808311610a27575050505050905090565b6001600160a01b038316331480610d4b5750610d4b833361046c565b610d675760405162461bcd60e51b8152600401610542906126f2565b610d72838383611757565b60005b8251811015610e31576005548351849083908110610d9557610d9561262e565b602002602001015110610dba5760405162461bcd60e51b8152600401610542906125e1565b818181518110610dcc57610dcc61262e565b60200260200101516005848381518110610de857610de861262e565b602002602001015181548110610e0057610e0061262e565b906000526020600020016000828254610e19919061265a565b90915550819050610e29816126d7565b915050610d75565b50505050565b600b546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610e80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea491906125c8565b11610eea5760405162461bcd60e51b815260206004820152601660248201527526bab9ba10313290309039b430b935903437b63232b960511b6044820152606401610542565b60095460ff16610f255760405162461bcd60e51b81526004016105429060208082526004908201526353616c6560e01b604082015260600190565b8051825114610f645760405162461bcd60e51b815260206004820152600b60248201526a098d2e6e840d8cadccee8d60ab1b6044820152606401610542565b6004825110610f855760405162461bcd60e51b81526004016105429061260c565b6000805b835181101561109057600b838281518110610fa657610fa661262e565b602002602001015110610fcb5760405162461bcd60e51b81526004016105429061260c565b6004848281518110610fdf57610fdf61262e565b602002602001015110801561100e575060008482815181106110035761100361262e565b602002602001015110155b61101757600080fd5b8281815181106110295761102961262e565b602002602001015160068583815181106110455761104561262e565b60200260200101518154811061105d5761105d61262e565b90600052602060002001546110729190612696565b61107c908361265a565b915080611088816126d7565b915050610f89565b508034146110cc5760405162461bcd60e51b81526020600482015260096024820152684554482076616c756560b81b6044820152606401610542565b506000805b8351811015610e315760038482815181106110ee576110ee61262e565b6020026020010151815481106111065761110661262e565b90600052602060002001548382815181106111235761112361262e565b6020026020010151600486848151811061113f5761113f61262e565b6020026020010151815481106111575761115761262e565b906000526020600020015461116c919061265a565b111561118a5760405162461bcd60e51b815260040161054290612672565b6111d7338583815181106111a0576111a061262e565b60200260200101518584815181106111ba576111ba61262e565b6020026020010151604051806020016040528060008152506114b1565b8281815181106111e9576111e961262e565b602002602001015160048583815181106112055761120561262e565b60200260200101518154811061121d5761121d61262e565b906000526020600020016000828254611236919061265a565b90915550819050611246816126d7565b9150506110d1565b6004818154811061125e57600080fd5b600091825260209091200154905081565b6003818154811061125e57600080fd5b6005818154811061125e57600080fd5b6006818154811061125e57600080fd5b600880546106209061258d565b6112b73383836118d3565b5050565b60095461010090046001600160a01b03163314806112e35750600a546001600160a01b031633145b6112ff5760405162461bcd60e51b81526004016105429061256b565b6003548310801561130e575060015b61132a5760405162461bcd60e51b8152600401610542906125e1565b6003838154811061133d5761133d61262e565b9060005260206000200154826004858154811061135c5761135c61262e565b9060005260206000200154611371919061265a565b111561138f5760405162461bcd60e51b815260040161054290612672565b6113aa818484604051806020016040528060008152506114b1565b81600484815481106113be576113be61262e565b9060005260206000200160008282546113d7919061265a565b9091555050505050565b6001600160a01b0385163314806113fd57506113fd853361046c565b6114195760405162461bcd60e51b8152600401610542906126f2565b610ad585858585856119b4565b6001600160a01b0383163314806114425750611442833361046c565b61145e5760405162461bcd60e51b8152600401610542906126f2565b611469838383611ad1565b600554821061148a5760405162461bcd60e51b8152600401610542906125e1565b80600583815481106113be576113be61262e565b80516112b7906002906020840190611e35565b6001600160a01b0384166115115760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610542565b3361152b8160008761152288611bd3565b610ad588611bd3565b6000848152602081815260408083206001600160a01b03891684529091528120805485929061155b90849061265a565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610ad581600087878787611c1e565b81518351146115dc5760405162461bcd60e51b81526004016105429061273b565b6001600160a01b0384166116025760405162461bcd60e51b815260040161054290612783565b3360005b84518110156116e95760008582815181106116235761162361262e565b6020026020010151905060008583815181106116415761164161262e565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156116915760405162461bcd60e51b8152600401610542906127c8565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906116ce90849061265a565b92505081905550505050806116e2906126d7565b9050611606565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611739929190612812565b60405180910390a461174f818787878787611d7a565b505050505050565b6001600160a01b03831661177d5760405162461bcd60e51b815260040161054290612840565b805182511461179e5760405162461bcd60e51b81526004016105429061273b565b604080516020810190915260009081905233905b83518110156118745760008482815181106117cf576117cf61262e565b6020026020010151905060008483815181106117ed576117ed61262e565b602090810291909101810151600084815280835260408082206001600160a01b038c16835290935291909120549091508181101561183d5760405162461bcd60e51b815260040161054290612883565b6000928352602083815260408085206001600160a01b038b168652909152909220910390558061186c816126d7565b9150506117b2565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516118c5929190612812565b60405180910390a450505050565b816001600160a01b0316836001600160a01b031614156119475760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610542565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166119da5760405162461bcd60e51b815260040161054290612783565b336119ea81878761152288611bd3565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015611a2b5760405162461bcd60e51b8152600401610542906127c8565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611a6890849061265a565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611ac8828888888888611c1e565b50505050505050565b6001600160a01b038316611af75760405162461bcd60e51b815260040161054290612840565b33611b2781856000611b0887611bd3565b611b1187611bd3565b5050604080516020810190915260009052505050565b6000838152602081815260408083206001600160a01b038816845290915290205482811015611b685760405162461bcd60e51b815260040161054290612883565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611c0d57611c0d61262e565b602090810291909101015292915050565b6001600160a01b0384163b1561174f5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611c6290899089908890889088906004016128c7565b6020604051808303816000875af1925050508015611c9d575060408051601f3d908101601f19168201909252611c9a9181019061290c565b60015b611d4a57611ca9612929565b806308c379a01415611ce35750611cbe612945565b80611cc95750611ce5565b8060405162461bcd60e51b8152600401610542919061208d565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610542565b6001600160e01b0319811663f23a6e6160e01b14611ac85760405162461bcd60e51b8152600401610542906129cf565b6001600160a01b0384163b1561174f5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611dbe9089908990889088908890600401612a17565b6020604051808303816000875af1925050508015611df9575060408051601f3d908101601f19168201909252611df69181019061290c565b60015b611e0557611ca9612929565b6001600160e01b0319811663bc197c8160e01b14611ac85760405162461bcd60e51b8152600401610542906129cf565b828054611e419061258d565b90600052602060002090601f016020900481019282611e635760008555611ea9565b82601f10611e7c57805160ff1916838001178555611ea9565b82800160010185558215611ea9579182015b82811115611ea9578251825591602001919060010190611e8e565b50611eb5929150611eb9565b5090565b5b80821115611eb55760008155600101611eba565b80356001600160a01b0381168114611ee557600080fd5b919050565b60008060408385031215611efd57600080fd5b611f0683611ece565b946020939093013593505050565b6001600160e01b03198116811461061057600080fd5b600060208284031215611f3c57600080fd5b8135611f4781611f14565b9392505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715611f8a57611f8a611f4e565b6040525050565b600067ffffffffffffffff831115611fab57611fab611f4e565b604051611fc2601f8501601f191660200182611f64565b809150838152848484011115611fd757600080fd5b83836020830137600060208583010152509392505050565b60006020828403121561200157600080fd5b813567ffffffffffffffff81111561201857600080fd5b8201601f8101841361202957600080fd5b61203884823560208401611f91565b949350505050565b6000815180845260005b818110156120665760208185018101518683018201520161204a565b81811115612078576000602083870101525b50601f01601f19169290920160200192915050565b602081526000611f476020830184612040565b6000602082840312156120b257600080fd5b611f4782611ece565b6000602082840312156120cd57600080fd5b5035919050565b600080604083850312156120e757600080fd5b50508035926020909101359150565b600081518084526020808501945080840160005b838110156121265781518752958201959082019060010161210a565b509495945050505050565b602081526000611f4760208301846120f6565b600067ffffffffffffffff82111561215e5761215e611f4e565b5060051b60200190565b600082601f83011261217957600080fd5b8135602061218682612144565b6040516121938282611f64565b83815260059390931b85018201928281019150868411156121b357600080fd5b8286015b848110156121ce57803583529183019183016121b7565b509695505050505050565b600082601f8301126121ea57600080fd5b611f4783833560208501611f91565b600080600080600060a0868803121561221157600080fd5b61221a86611ece565b945061222860208701611ece565b9350604086013567ffffffffffffffff8082111561224557600080fd5b61225189838a01612168565b9450606088013591508082111561226757600080fd5b61227389838a01612168565b9350608088013591508082111561228957600080fd5b50612296888289016121d9565b9150509295509295909350565b600080604083850312156122b657600080fd5b823567ffffffffffffffff808211156122ce57600080fd5b818501915085601f8301126122e257600080fd5b813560206122ef82612144565b6040516122fc8282611f64565b83815260059390931b850182019282810191508984111561231c57600080fd5b948201945b838610156123415761233286611ece565b82529482019490820190612321565b9650508601359250508082111561235757600080fd5b5061236485828601612168565b9150509250929050565b60008060006060848603121561238357600080fd5b61238c84611ece565b9250602084013567ffffffffffffffff808211156123a957600080fd5b6123b587838801612168565b935060408601359150808211156123cb57600080fd5b506123d886828701612168565b9150509250925092565b600080604083850312156123f557600080fd5b823567ffffffffffffffff8082111561240d57600080fd5b61241986838701612168565b9350602085013591508082111561235757600080fd5b6000806040838503121561244257600080fd5b61244b83611ece565b91506020830135801515811461246057600080fd5b809150509250929050565b60008060006060848603121561248057600080fd5b833592506020840135915061249760408501611ece565b90509250925092565b600080604083850312156124b357600080fd5b6124bc83611ece565b91506124ca60208401611ece565b90509250929050565b600080600080600060a086880312156124eb57600080fd5b6124f486611ece565b945061250260208701611ece565b93506040860135925060608601359150608086013567ffffffffffffffff81111561252c57600080fd5b612296888289016121d9565b60008060006060848603121561254d57600080fd5b61255684611ece565b95602085013595506040909401359392505050565b6020808252600890820152674e6f74207465616d60c01b604082015260600190565b600181811c908216806125a157607f821691505b602082108114156125c257634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156125da57600080fd5b5051919050565b602080825260119082015270125108191bd95cc81b9bdd08195e1a5cdd607a1b604082015260600190565b602080825260089082015267546f6f206d616e7960c01b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561266d5761266d612644565b500190565b6020808252600a90820152694d617820737570706c7960b01b604082015260600190565b60008160001904831182151516156126b0576126b0612644565b500290565b6000826126d257634e487b7160e01b600052601260045260246000fd5b500490565b60006000198214156126eb576126eb612644565b5060010190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60408152600061282560408301856120f6565b828103602084015261283781856120f6565b95945050505050565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061290190830184612040565b979650505050505050565b60006020828403121561291e57600080fd5b8151611f4781611f14565b600060033d11156129425760046000803e5060005160e01c5b90565b600060443d10156129535790565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561298357505050505090565b828501915081518181111561299b5750505050505090565b843d87010160208285010111156129b55750505050505090565b6129c460208286010187611f64565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a060408201819052600090612a43908301866120f6565b8281036060840152612a5581866120f6565b90508281036080840152612a698185612040565b9897505050505050505056fea264697066735822122029cd5217a9232c2bbf1cb6f4973efad1538e041813054ea92e6b6ef9eb7de8c464736f6c634300080b0033

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.