Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
10,000
Holders
397
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MiniMichAccessoryV2
Compiler Version
v0.8.2+commit.661d1103
Optimization Enabled:
Yes with 500 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract MiniMichAccessoryV2 is ERC1155, Ownable { address private miniMichContract=0xc08B0e21073f0641464B79FFCd1Bd99a4Dd79cE5; string private _metadataBaseURI; bool public saleLiveToggle=true; bool public freezeURI; uint256 public constant MAX_MINT = 5; uint256 public constant MAX_NFT = 500; uint256 public PRICE = 0.01 ether; mapping(uint256 => bool) public validAccessoryTypes; mapping(uint256 => uint256) public accessoryIndexes; address private _creators = 0x999eaa33BD1cE817B28459950E6DcD1dA14C411f; // ** MODIFIERS ** // // *************** // modifier saleLive() { require(saleLiveToggle == true, "Sale is not live yet"); _; } modifier maxSupply(uint256 typeId, uint256 mintNum) { require( totalSupply(typeId) + mintNum <= MAX_NFT, "Sold Out" ); _; } modifier correctPayment(uint256 mintPrice, uint256 numToMint) { require( msg.value >= mintPrice * numToMint, "Payment Failed" ); _; } // ** CONSTRUCTOR ** // // *************** // constructor(string memory _baseURI) ERC1155(_baseURI) { _metadataBaseURI = _baseURI; validAccessoryTypes[0] = true; validAccessoryTypes[1] = true; validAccessoryTypes[2] = true; validAccessoryTypes[3] = true; validAccessoryTypes[4] = true; validAccessoryTypes[5] = true; validAccessoryTypes[6] = true; validAccessoryTypes[7] = true; validAccessoryTypes[8] = true; validAccessoryTypes[9] = true; validAccessoryTypes[10] = true; validAccessoryTypes[11] = true; validAccessoryTypes[12] = true; validAccessoryTypes[13] = true; validAccessoryTypes[14] = true; validAccessoryTypes[15] = true; validAccessoryTypes[16] = true; validAccessoryTypes[17] = true; validAccessoryTypes[18] = true; validAccessoryTypes[19] = true; emit SetBaseURI(_metadataBaseURI); } // ** MINT ** // // *************** // function publicMint(uint256 typeId, uint256 mintNum) external payable saleLive correctPayment(PRICE, mintNum) maxSupply(typeId, mintNum) { require( numberMinted(typeId, msg.sender) + mintNum <= MAX_MINT, "Reaches wallet limit." ); _mint(_msgSender(), typeId, mintNum,""); accessoryIndexes[typeId]+=mintNum; } // ** ADMIN ** // // *********** // event SetBaseURI(string indexed _baseURI); function burnAccessoryForAddress(uint256 typeId, address burnTokenAddress) external { require(msg.sender == miniMichContract, "Invalid burner address"); _burn(burnTokenAddress, typeId, 1); } function numberMinted(uint256 typeId, address owner) public view returns (uint256) { return balanceOf(owner, typeId); } function totalSupply(uint256 typeId) public view returns (uint256) { return accessoryIndexes[typeId]; } function uri(uint256 typeId) public view override returns (string memory) { require( validAccessoryTypes[typeId], "URI requested for invalid accessory type" ); return bytes(_metadataBaseURI).length > 0 ? string(abi.encodePacked(_metadataBaseURI, Strings.toString(typeId))) : _metadataBaseURI; } // ** OWNER ** // // *************** // function setMiniMichContractAddress(address miniMichContractAddress) external onlyOwner { miniMichContract = miniMichContractAddress; } function reserve(address[] calldata receivers, uint256 typeId, uint256 mintNum) external onlyOwner maxSupply(typeId, mintNum*receivers.length) { for (uint256 i = 0; i < receivers.length; i++) { _mint(receivers[i], typeId ,mintNum,""); } accessoryIndexes[typeId]+=mintNum*receivers.length; } function withdrawFunds() external onlyOwner { (bool success, ) = payable(_creators).call{value: address(this).balance}(""); require(success, "Failed to send payment"); } function setMetaURI(string calldata _URI) external onlyOwner { require(freezeURI == false, "Metadata is frozen"); _metadataBaseURI = _URI; emit SetBaseURI(_metadataBaseURI); } function tglLive() external onlyOwner { saleLiveToggle = !saleLiveToggle; } function freezeAll() external onlyOwner { require(freezeURI == false, "Metadata is frozen"); freezeURI = true; } function updatePrice(uint256 _price) external onlyOwner { PRICE = _price ; } }
// 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// 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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0-rc.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); }
// 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0-rc.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); } } } }
// 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; } }
// 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; } }
// 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); }
{ "optimizer": { "enabled": true, "runs": 500 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"_baseURI","type":"string"}],"name":"SetBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_NFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"accessoryIndexes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"typeId","type":"uint256"},{"internalType":"address","name":"burnTokenAddress","type":"address"}],"name":"burnAccessoryForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeURI","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"typeId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"typeId","type":"uint256"},{"internalType":"uint256","name":"mintNum","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"},{"internalType":"uint256","name":"typeId","type":"uint256"},{"internalType":"uint256","name":"mintNum","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","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":"saleLiveToggle","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":"string","name":"_URI","type":"string"}],"name":"setMetaURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"miniMichContractAddress","type":"address"}],"name":"setMiniMichContractAddress","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":"tglLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"typeId","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"typeId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"validAccessoryTypes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600480546001600160a01b031990811673c08b0e21073f0641464b79ffcd1bd99a4dd79ce5179091556006805460ff19166001179055662386f26fc10000600755600a805490911673999eaa33bd1ce817b28459950e6dcd1da14c411f1790553480156200007157600080fd5b506040516200309538038062003095833981016040819052620000949162000562565b80620000a08162000451565b50620000ac336200046a565b8051620000c1906005906020840190620004bc565b5060086020527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c78054600160ff1991821681179092557fad67d757c34507f157cacfa2e3153e9f260a2244f30428821be7be64587ac55f80548216831790557f6add646517a5b0f6793cd5891b7937d28a5b2981a5d88ebc7cd776088fea904180548216831790557f625b35f5e76f098dd7c3a05b10e2e5e78a4a01228d60c3b143426cdf36d2645580548216831790557f9321edea6e3be4df59a344b401fab4f888b556fda1f954244cff9204bad624b880548216831790557f91238f30f286c9a1c6e901c4eda3b214c381c846e3dbe48df95c21488e8e1fdb80548216831790557f13acf3fc7bed94759963f076d5d3443d88732026bffc8253bdf4a6e65f21ecc580548216831790557f24cd397636bedc6cf9b490d0edd57c769c19b367fb7d5c2344ae1ddc7d21c14480548216831790557fe4c2e8be66af8dd2d277000f4f830a10546f8b14e45cd850b875c98ba0f0d2cd80548216831790557f82c9e868e45873bb5a4f47c09e14a12f6a6314e13aabd611e4374762bb4e8b3680548216831790557f586689db7536874b78a6eac0f58556a56a106985743f7c16a699b27bb02f88bd80548216831790557fcb250a1a60f48f70f08c912424f39071fd9a8b7099a72dffd251fce0294f374980548216831790557faba08fc86a199da17c4b45fa0fb586714474d27e5e1f0220658b6275561b2e1880548216831790557f9006e1a1959cda25aa0dba7b7a958efb843c4c8cb81a2c2fb8637a074e0818f280548216831790557fb6457486547dfd0925a66a479476c3a3e54935ea6192a908abe6bd58ec247b4180548216831790557f8fab3b3b6d3bf24f9b00213fe8dda2fb1e188fcd88f523fcb711ff1f6aed59e380548216831790557fdf6cae10d416b4d6f459eba806bebc4b85f190dfac647ab7cb4cd2638815444c80548216831790557fbb47c685b7a6169f9415fd073108f8b7da3e741b7dde8513850bca404684fa9780548216831790557f24c3f2390203786f976c5d43dee94e7a42ec7bdf845f67695ebd67f3c39c1814805482168317905560136000527f1dfebf40b0462aa6ee8060c248d0caec9e679d370b76490bfe8441dbbab05216805490911690911790556040516200041a9060059062000638565b604051908190038120907f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa90600090a2506200072e565b805162000466906002906020840190620004bc565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620004ca90620006db565b90600052602060002090601f016020900481019282620004ee576000855562000539565b82601f106200050957805160ff191683800117855562000539565b8280016001018555821562000539579182015b82811115620005395782518255916020019190600101906200051c565b50620005479291506200054b565b5090565b5b808211156200054757600081556001016200054c565b6000602080838503121562000575578182fd5b82516001600160401b03808211156200058c578384fd5b818501915085601f830112620005a0578384fd5b815181811115620005b557620005b562000718565b604051601f8201601f19908116603f01168101908382118183101715620005e057620005e062000718565b816040528281528886848701011115620005f8578687fd5b8693505b828410156200061b5784840186015181850187015292850192620005fc565b828411156200062c57868684830101525b98975050505050505050565b81546000908190600281046001808316806200065557607f831692505b60208084108214156200067657634e487b7160e01b87526022600452602487fd5b8180156200068d57600181146200069f57620006cd565b60ff19861689528489019650620006cd565b60008a815260209020885b86811015620006c55781548b820152908501908301620006aa565b505084890196505b509498975050505050505050565b600281046001821680620006f057607f821691505b602082108114156200071257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612957806200073e6000396000f3fe6080604052600436106101c15760003560e01c80638d859f3e116100f7578063c198d98611610095578063f0292a0311610064578063f0292a0314610537578063f242432a1461054c578063f2fde38b1461056c578063ffd31af61461058c576101c1565b8063c198d9861461048f578063c793803c146104af578063d92bbe40146104ce578063e985e9c5146104ee576101c1565b806399464c89116100d157806399464c891461040d578063a0eddf7e14610422578063a22cb46514610442578063bd85b03914610462576101c1565b80638d859f3e146103b75780638da5cb5b146103cd57806398ae99a8146103fa576101c1565b80636fdaddf111610164578063773b27ff1161013e578063773b27ff146103325780637874e421146103525780637cf0f69b146103825780638d6cc56d14610397576101c1565b80636fdaddf1146102e7578063715018a6146102fd5780637258ed0e14610312576101c1565b80631d126041116101a05780631d1260411461025657806324600fc3146102835780632eb2c2d61461029a5780634e1273f4146102ba576101c1565b8062fdd58e146101c657806301ffc9a7146101f95780630e89341c14610229575b600080fd5b3480156101d257600080fd5b506101e66101e1366004612221565b6105a6565b6040519081526020015b60405180910390f35b34801561020557600080fd5b5061021961021436600461238f565b61063d565b60405190151581526020016101f0565b34801561023557600080fd5b50610249610244366004612434565b610691565b6040516101f091906126a0565b34801561026257600080fd5b506101e6610271366004612434565b60096020526000908152604090205481565b34801561028f57600080fd5b506102986107db565b005b3480156102a657600080fd5b506102986102b53660046120de565b6108ce565b3480156102c657600080fd5b506102da6102d53660046122c6565b610970565b6040516101f0919061265f565b3480156102f357600080fd5b506101e66101f481565b34801561030957600080fd5b50610298610ad2565b34801561031e57600080fd5b5061029861032d366004612092565b610b2b565b34801561033e57600080fd5b5061029861034d36600461224a565b610ba7565b34801561035e57600080fd5b5061021961036d366004612434565b60086020526000908152604090205460ff1681565b34801561038e57600080fd5b50610298610cfe565b3480156103a357600080fd5b506102986103b2366004612434565b610d5f565b3480156103c357600080fd5b506101e660075481565b3480156103d957600080fd5b506103e2610db1565b6040516001600160a01b0390911681526020016101f0565b61029861040836600461246e565b610dc1565b34801561041957600080fd5b50610298610f72565b34801561042e57600080fd5b5061029861043d3660046123c7565b61101d565b34801561044e57600080fd5b5061029861045d3660046121e7565b611107565b34801561046e57600080fd5b506101e661047d366004612434565b60009081526009602052604090205490565b34801561049b57600080fd5b506102986104aa36600461244c565b611116565b3480156104bb57600080fd5b5060065461021990610100900460ff1681565b3480156104da57600080fd5b506101e66104e936600461244c565b61117c565b3480156104fa57600080fd5b506102196105093660046120ac565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561054357600080fd5b506101e6600581565b34801561055857600080fd5b50610298610567366004612184565b61118f565b34801561057857600080fd5b50610298610587366004612092565b611216565b34801561059857600080fd5b506006546102199060ff1681565b60006001600160a01b0383166106175760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061066e57506001600160e01b031982166303a24d0760e21b145b8061068957506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b60008181526008602052604090205460609060ff166107035760405162461bcd60e51b815260206004820152602860248201527f5552492072657175657374656420666f7220696e76616c6964206163636573736044820152676f7279207479706560c01b606482015260840161060e565b60006005805461071290612769565b9050116107a9576005805461072690612769565b80601f016020809104026020016040519081016040528092919081815260200182805461075290612769565b801561079f5780601f106107745761010080835404028352916020019161079f565b820191906000526020600020905b81548152906001019060200180831161078257829003601f168201915b5050505050610689565b60056107b4836112d1565b6040516020016107c5929190612599565b6040516020818303038152906040529050919050565b336107e4610db1565b6001600160a01b0316146108285760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b600a546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610875576040519150601f19603f3d011682016040523d82523d6000602084013e61087a565b606091505b50509050806108cb5760405162461bcd60e51b815260206004820152601660248201527f4661696c656420746f2073656e64207061796d656e7400000000000000000000604482015260640161060e565b50565b6001600160a01b0385163314806108ea57506108ea8533610509565b61095c5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000606482015260840161060e565b610969858585858561140c565b5050505050565b606081518351146109d55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b606482015260840161060e565b6000835167ffffffffffffffff8111156109ff57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a28578160200160208202803683370190505b50905060005b8451811015610aca57610a8f858281518110610a5a57634e487b7160e01b600052603260045260246000fd5b6020026020010151858381518110610a8257634e487b7160e01b600052603260045260246000fd5b60200260200101516105a6565b828281518110610aaf57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610ac3816127d1565b9050610a2e565b509392505050565b33610adb610db1565b6001600160a01b031614610b1f5760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b610b296000611686565b565b33610b34610db1565b6001600160a01b031614610b785760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b6004805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b33610bb0610db1565b6001600160a01b031614610bf45760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b81610bff8483612703565b6101f481610c198460009081526009602052604090205490565b610c2391906126d7565b1115610c5c5760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b604482015260640161060e565b60005b85811015610cc857610cb6878783818110610c8a57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610c9f9190612092565b8686604051806020016040528060008152506116e5565b80610cc0816127d1565b915050610c5f565b50610cd38584612703565b60008581526009602052604081208054909190610cf19084906126d7565b9091555050505050505050565b33610d07610db1565b6001600160a01b031614610d4b5760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b6006805460ff19811660ff90911615179055565b33610d68610db1565b6001600160a01b031614610dac5760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b600755565b6003546001600160a01b03165b90565b60065460ff161515600114610e185760405162461bcd60e51b815260206004820152601460248201527f53616c65206973206e6f74206c69766520796574000000000000000000000000604482015260640161060e565b60075481610e268183612703565b341015610e755760405162461bcd60e51b815260206004820152600e60248201527f5061796d656e74204661696c6564000000000000000000000000000000000000604482015260640161060e565b83836101f481610e918460009081526009602052604090205490565b610e9b91906126d7565b1115610ed45760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b604482015260640161060e565b600585610ee1883361117c565b610eeb91906126d7565b1115610f395760405162461bcd60e51b815260206004820152601560248201527f526561636865732077616c6c6574206c696d69742e0000000000000000000000604482015260640161060e565b610f54338787604051806020016040528060008152506116e5565b60008681526009602052604081208054879290610cf19084906126d7565b33610f7b610db1565b6001600160a01b031614610fbf5760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b600654610100900460ff161561100c5760405162461bcd60e51b815260206004820152601260248201527126b2ba30b230ba309034b990333937bd32b760711b604482015260640161060e565b6006805461ff001916610100179055565b33611026610db1565b6001600160a01b03161461106a5760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b600654610100900460ff16156110b75760405162461bcd60e51b815260206004820152601260248201527126b2ba30b230ba309034b990333937bd32b760711b604482015260640161060e565b6110c360058383611f01565b5060056040516110d3919061258d565b604051908190038120907f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa90600090a25050565b6111123383836117ef565b5050565b6004546001600160a01b031633146111705760405162461bcd60e51b815260206004820152601660248201527f496e76616c6964206275726e6572206164647265737300000000000000000000604482015260640161060e565b611112818360016118d0565b600061118882846105a6565b9392505050565b6001600160a01b0385163314806111ab57506111ab8533610509565b6112095760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b606482015260840161060e565b6109698585858585611a4a565b3361121f610db1565b6001600160a01b0316146112635760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b6001600160a01b0381166112c85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161060e565b6108cb81611686565b6060816112f657506040805180820190915260018152600360fc1b602082015261068c565b8160005b8115611320578061130a816127d1565b91506113199050600a836126ef565b91506112fa565b60008167ffffffffffffffff81111561134957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611373576020820181803683370190505b5090505b841561140457611388600183612722565b9150611395600a866127ec565b6113a09060306126d7565b60f81b8183815181106113c357634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506113fd600a866126ef565b9450611377565b949350505050565b815183511461146e5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b606482015260840161060e565b6001600160a01b0384166114d25760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161060e565b3360005b845181101561161857600085828151811061150157634e487b7160e01b600052603260045260246000fd5b60200260200101519050600085838151811061152d57634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156115c05760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b606482015260840161060e565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906115fd9084906126d7565b9250508190555050505080611611906127d1565b90506114d6565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611668929190612672565b60405180910390a461167e818787878787611be8565b505050505050565b600380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166117455760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161060e565b3361175f8160008761175688611d9d565b61096988611d9d565b6000848152602081815260408083206001600160a01b03891684529091528120805485929061178f9084906126d7565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461096981600087878787611df6565b816001600160a01b0316836001600160a01b031614156118635760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b606482015260840161060e565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383166119325760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b606482015260840161060e565b336119628185600061194387611d9d565b61194c87611d9d565b5050604080516020810190915260009052505050565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156119df5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b606482015260840161060e565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6001600160a01b038416611aae5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161060e565b33611abe81878761175688611d9d565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015611b425760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b606482015260840161060e565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611b7f9084906126d7565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611bdf828888888888611df6565b50505050505050565b6001600160a01b0384163b1561167e5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611c2c90899089908890889088906004016125be565b602060405180830381600087803b158015611c4657600080fd5b505af1925050508015611c76575060408051601f3d908101601f19168201909252611c73918101906123ab565b60015b611d2c57611c82612842565b806308c379a01415611cbc5750611c97612859565b80611ca25750611cbe565b8060405162461bcd60e51b815260040161060e91906126a0565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e746572000000000000000000000000606482015260840161060e565b6001600160e01b0319811663bc197c8160e01b14611bdf5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b606482015260840161060e565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611de557634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6001600160a01b0384163b1561167e5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611e3a908990899088908890889060040161261c565b602060405180830381600087803b158015611e5457600080fd5b505af1925050508015611e84575060408051601f3d908101601f19168201909252611e81918101906123ab565b60015b611e9057611c82612842565b6001600160e01b0319811663f23a6e6160e01b14611bdf5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b606482015260840161060e565b828054611f0d90612769565b90600052602060002090601f016020900481019282611f2f5760008555611f75565b82601f10611f485782800160ff19823516178555611f75565b82800160010185558215611f75579182015b82811115611f75578235825591602001919060010190611f5a565b50611f81929150611f85565b5090565b5b80821115611f815760008155600101611f86565b80356001600160a01b038116811461068c57600080fd5b600082601f830112611fc1578081fd5b81356020611fce826126b3565b604051611fdb82826127a4565b838152828101915085830183850287018401881015611ff8578586fd5b855b8581101561201657813584529284019290840190600101611ffa565b5090979650505050505050565b600082601f830112612033578081fd5b813567ffffffffffffffff81111561204d5761204d61282c565b604051612064601f8301601f1916602001826127a4565b818152846020838601011115612078578283fd5b816020850160208301379081016020019190915292915050565b6000602082840312156120a3578081fd5b61118882611f9a565b600080604083850312156120be578081fd5b6120c783611f9a565b91506120d560208401611f9a565b90509250929050565b600080600080600060a086880312156120f5578081fd5b6120fe86611f9a565b945061210c60208701611f9a565b9350604086013567ffffffffffffffff80821115612128578283fd5b61213489838a01611fb1565b94506060880135915080821115612149578283fd5b61215589838a01611fb1565b9350608088013591508082111561216a578283fd5b5061217788828901612023565b9150509295509295909350565b600080600080600060a0868803121561219b578081fd5b6121a486611f9a565b94506121b260208701611f9a565b93506040860135925060608601359150608086013567ffffffffffffffff8111156121db578182fd5b61217788828901612023565b600080604083850312156121f9578182fd5b61220283611f9a565b915060208301358015158114612216578182fd5b809150509250929050565b60008060408385031215612233578182fd5b61223c83611f9a565b946020939093013593505050565b6000806000806060858703121561225f578384fd5b843567ffffffffffffffff80821115612276578586fd5b818701915087601f830112612289578586fd5b813581811115612297578687fd5b88602080830285010111156122aa578687fd5b6020928301999098509187013596604001359550909350505050565b600080604083850312156122d8578182fd5b823567ffffffffffffffff808211156122ef578384fd5b818501915085601f830112612302578384fd5b8135602061230f826126b3565b60405161231c82826127a4565b8381528281019150858301838502870184018b1015612339578889fd5b8896505b848710156123625761234e81611f9a565b83526001969096019591830191830161233d565b5096505086013592505080821115612378578283fd5b5061238585828601611fb1565b9150509250929050565b6000602082840312156123a0578081fd5b8135611188816128eb565b6000602082840312156123bc578081fd5b8151611188816128eb565b600080602083850312156123d9578182fd5b823567ffffffffffffffff808211156123f0578384fd5b818501915085601f830112612403578384fd5b813581811115612411578485fd5b866020828501011115612422578485fd5b60209290920196919550909350505050565b600060208284031215612445578081fd5b5035919050565b6000806040838503121561245e578182fd5b823591506120d560208401611f9a565b60008060408385031215612480578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b838110156124be578151875295820195908201906001016124a2565b509495945050505050565b600081518084526124e1816020860160208601612739565b601f01601f19169290920160200192915050565b80546000906002810460018083168061250f57607f831692505b602080841082141561252f57634e487b7160e01b86526022600452602486fd5b818015612543576001811461255457612581565b60ff19861689528489019650612581565b60008881526020902060005b868110156125795781548b820152908501908301612560565b505084890196505b50505050505092915050565b600061118882846124f5565b60006125a582856124f5565b83516125b5818360208801612739565b01949350505050565b60006001600160a01b03808816835280871660208401525060a060408301526125ea60a083018661248f565b82810360608401526125fc818661248f565b9050828103608084015261261081856124c9565b98975050505050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261265460a08301846124c9565b979650505050505050565b600060208252611188602083018461248f565b600060408252612685604083018561248f565b8281036020840152612697818561248f565b95945050505050565b60006020825261118860208301846124c9565b600067ffffffffffffffff8211156126cd576126cd61282c565b5060209081020190565b600082198211156126ea576126ea612800565b500190565b6000826126fe576126fe612816565b500490565b600081600019048311821515161561271d5761271d612800565b500290565b60008282101561273457612734612800565b500390565b60005b8381101561275457818101518382015260200161273c565b83811115612763576000848401525b50505050565b60028104600182168061277d57607f821691505b6020821081141561279e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f1916810167ffffffffffffffff811182821017156127ca576127ca61282c565b6040525050565b60006000198214156127e5576127e5612800565b5060010190565b6000826127fb576127fb612816565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115610dbe57600481823e5160e01c90565b600060443d101561286957610dbe565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561289b575050505050610dbe565b82850191508151818111156128b557505050505050610dbe565b843d87010160208285010111156128d157505050505050610dbe565b6128e0602082860101876127a4565b509094505050505090565b6001600160e01b0319811681146108cb57600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220b2b02e6879ec2de483690fafa0891d55d573c219b0f4e11db2898786fde007ed64736f6c634300080200330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005568747470733a2f2f6d696e692d6d6963682e6d7970696e6174612e636c6f75642f697066732f516d567869577452727031717966444477386663367a79315432396b446136556e4a566143794374787a386738392f0000000000000000000000
Deployed Bytecode
0x6080604052600436106101c15760003560e01c80638d859f3e116100f7578063c198d98611610095578063f0292a0311610064578063f0292a0314610537578063f242432a1461054c578063f2fde38b1461056c578063ffd31af61461058c576101c1565b8063c198d9861461048f578063c793803c146104af578063d92bbe40146104ce578063e985e9c5146104ee576101c1565b806399464c89116100d157806399464c891461040d578063a0eddf7e14610422578063a22cb46514610442578063bd85b03914610462576101c1565b80638d859f3e146103b75780638da5cb5b146103cd57806398ae99a8146103fa576101c1565b80636fdaddf111610164578063773b27ff1161013e578063773b27ff146103325780637874e421146103525780637cf0f69b146103825780638d6cc56d14610397576101c1565b80636fdaddf1146102e7578063715018a6146102fd5780637258ed0e14610312576101c1565b80631d126041116101a05780631d1260411461025657806324600fc3146102835780632eb2c2d61461029a5780634e1273f4146102ba576101c1565b8062fdd58e146101c657806301ffc9a7146101f95780630e89341c14610229575b600080fd5b3480156101d257600080fd5b506101e66101e1366004612221565b6105a6565b6040519081526020015b60405180910390f35b34801561020557600080fd5b5061021961021436600461238f565b61063d565b60405190151581526020016101f0565b34801561023557600080fd5b50610249610244366004612434565b610691565b6040516101f091906126a0565b34801561026257600080fd5b506101e6610271366004612434565b60096020526000908152604090205481565b34801561028f57600080fd5b506102986107db565b005b3480156102a657600080fd5b506102986102b53660046120de565b6108ce565b3480156102c657600080fd5b506102da6102d53660046122c6565b610970565b6040516101f0919061265f565b3480156102f357600080fd5b506101e66101f481565b34801561030957600080fd5b50610298610ad2565b34801561031e57600080fd5b5061029861032d366004612092565b610b2b565b34801561033e57600080fd5b5061029861034d36600461224a565b610ba7565b34801561035e57600080fd5b5061021961036d366004612434565b60086020526000908152604090205460ff1681565b34801561038e57600080fd5b50610298610cfe565b3480156103a357600080fd5b506102986103b2366004612434565b610d5f565b3480156103c357600080fd5b506101e660075481565b3480156103d957600080fd5b506103e2610db1565b6040516001600160a01b0390911681526020016101f0565b61029861040836600461246e565b610dc1565b34801561041957600080fd5b50610298610f72565b34801561042e57600080fd5b5061029861043d3660046123c7565b61101d565b34801561044e57600080fd5b5061029861045d3660046121e7565b611107565b34801561046e57600080fd5b506101e661047d366004612434565b60009081526009602052604090205490565b34801561049b57600080fd5b506102986104aa36600461244c565b611116565b3480156104bb57600080fd5b5060065461021990610100900460ff1681565b3480156104da57600080fd5b506101e66104e936600461244c565b61117c565b3480156104fa57600080fd5b506102196105093660046120ac565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561054357600080fd5b506101e6600581565b34801561055857600080fd5b50610298610567366004612184565b61118f565b34801561057857600080fd5b50610298610587366004612092565b611216565b34801561059857600080fd5b506006546102199060ff1681565b60006001600160a01b0383166106175760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061066e57506001600160e01b031982166303a24d0760e21b145b8061068957506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b60008181526008602052604090205460609060ff166107035760405162461bcd60e51b815260206004820152602860248201527f5552492072657175657374656420666f7220696e76616c6964206163636573736044820152676f7279207479706560c01b606482015260840161060e565b60006005805461071290612769565b9050116107a9576005805461072690612769565b80601f016020809104026020016040519081016040528092919081815260200182805461075290612769565b801561079f5780601f106107745761010080835404028352916020019161079f565b820191906000526020600020905b81548152906001019060200180831161078257829003601f168201915b5050505050610689565b60056107b4836112d1565b6040516020016107c5929190612599565b6040516020818303038152906040529050919050565b336107e4610db1565b6001600160a01b0316146108285760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b600a546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610875576040519150601f19603f3d011682016040523d82523d6000602084013e61087a565b606091505b50509050806108cb5760405162461bcd60e51b815260206004820152601660248201527f4661696c656420746f2073656e64207061796d656e7400000000000000000000604482015260640161060e565b50565b6001600160a01b0385163314806108ea57506108ea8533610509565b61095c5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000606482015260840161060e565b610969858585858561140c565b5050505050565b606081518351146109d55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b606482015260840161060e565b6000835167ffffffffffffffff8111156109ff57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a28578160200160208202803683370190505b50905060005b8451811015610aca57610a8f858281518110610a5a57634e487b7160e01b600052603260045260246000fd5b6020026020010151858381518110610a8257634e487b7160e01b600052603260045260246000fd5b60200260200101516105a6565b828281518110610aaf57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610ac3816127d1565b9050610a2e565b509392505050565b33610adb610db1565b6001600160a01b031614610b1f5760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b610b296000611686565b565b33610b34610db1565b6001600160a01b031614610b785760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b6004805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b33610bb0610db1565b6001600160a01b031614610bf45760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b81610bff8483612703565b6101f481610c198460009081526009602052604090205490565b610c2391906126d7565b1115610c5c5760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b604482015260640161060e565b60005b85811015610cc857610cb6878783818110610c8a57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610c9f9190612092565b8686604051806020016040528060008152506116e5565b80610cc0816127d1565b915050610c5f565b50610cd38584612703565b60008581526009602052604081208054909190610cf19084906126d7565b9091555050505050505050565b33610d07610db1565b6001600160a01b031614610d4b5760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b6006805460ff19811660ff90911615179055565b33610d68610db1565b6001600160a01b031614610dac5760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b600755565b6003546001600160a01b03165b90565b60065460ff161515600114610e185760405162461bcd60e51b815260206004820152601460248201527f53616c65206973206e6f74206c69766520796574000000000000000000000000604482015260640161060e565b60075481610e268183612703565b341015610e755760405162461bcd60e51b815260206004820152600e60248201527f5061796d656e74204661696c6564000000000000000000000000000000000000604482015260640161060e565b83836101f481610e918460009081526009602052604090205490565b610e9b91906126d7565b1115610ed45760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b604482015260640161060e565b600585610ee1883361117c565b610eeb91906126d7565b1115610f395760405162461bcd60e51b815260206004820152601560248201527f526561636865732077616c6c6574206c696d69742e0000000000000000000000604482015260640161060e565b610f54338787604051806020016040528060008152506116e5565b60008681526009602052604081208054879290610cf19084906126d7565b33610f7b610db1565b6001600160a01b031614610fbf5760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b600654610100900460ff161561100c5760405162461bcd60e51b815260206004820152601260248201527126b2ba30b230ba309034b990333937bd32b760711b604482015260640161060e565b6006805461ff001916610100179055565b33611026610db1565b6001600160a01b03161461106a5760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b600654610100900460ff16156110b75760405162461bcd60e51b815260206004820152601260248201527126b2ba30b230ba309034b990333937bd32b760711b604482015260640161060e565b6110c360058383611f01565b5060056040516110d3919061258d565b604051908190038120907f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa90600090a25050565b6111123383836117ef565b5050565b6004546001600160a01b031633146111705760405162461bcd60e51b815260206004820152601660248201527f496e76616c6964206275726e6572206164647265737300000000000000000000604482015260640161060e565b611112818360016118d0565b600061118882846105a6565b9392505050565b6001600160a01b0385163314806111ab57506111ab8533610509565b6112095760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b606482015260840161060e565b6109698585858585611a4a565b3361121f610db1565b6001600160a01b0316146112635760405162461bcd60e51b81526020600482018190526024820152600080516020612902833981519152604482015260640161060e565b6001600160a01b0381166112c85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161060e565b6108cb81611686565b6060816112f657506040805180820190915260018152600360fc1b602082015261068c565b8160005b8115611320578061130a816127d1565b91506113199050600a836126ef565b91506112fa565b60008167ffffffffffffffff81111561134957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611373576020820181803683370190505b5090505b841561140457611388600183612722565b9150611395600a866127ec565b6113a09060306126d7565b60f81b8183815181106113c357634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506113fd600a866126ef565b9450611377565b949350505050565b815183511461146e5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b606482015260840161060e565b6001600160a01b0384166114d25760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161060e565b3360005b845181101561161857600085828151811061150157634e487b7160e01b600052603260045260246000fd5b60200260200101519050600085838151811061152d57634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156115c05760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b606482015260840161060e565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906115fd9084906126d7565b9250508190555050505080611611906127d1565b90506114d6565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611668929190612672565b60405180910390a461167e818787878787611be8565b505050505050565b600380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166117455760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161060e565b3361175f8160008761175688611d9d565b61096988611d9d565b6000848152602081815260408083206001600160a01b03891684529091528120805485929061178f9084906126d7565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461096981600087878787611df6565b816001600160a01b0316836001600160a01b031614156118635760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b606482015260840161060e565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383166119325760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b606482015260840161060e565b336119628185600061194387611d9d565b61194c87611d9d565b5050604080516020810190915260009052505050565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156119df5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b606482015260840161060e565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6001600160a01b038416611aae5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161060e565b33611abe81878761175688611d9d565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015611b425760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b606482015260840161060e565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611b7f9084906126d7565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611bdf828888888888611df6565b50505050505050565b6001600160a01b0384163b1561167e5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611c2c90899089908890889088906004016125be565b602060405180830381600087803b158015611c4657600080fd5b505af1925050508015611c76575060408051601f3d908101601f19168201909252611c73918101906123ab565b60015b611d2c57611c82612842565b806308c379a01415611cbc5750611c97612859565b80611ca25750611cbe565b8060405162461bcd60e51b815260040161060e91906126a0565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e746572000000000000000000000000606482015260840161060e565b6001600160e01b0319811663bc197c8160e01b14611bdf5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b606482015260840161060e565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611de557634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6001600160a01b0384163b1561167e5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611e3a908990899088908890889060040161261c565b602060405180830381600087803b158015611e5457600080fd5b505af1925050508015611e84575060408051601f3d908101601f19168201909252611e81918101906123ab565b60015b611e9057611c82612842565b6001600160e01b0319811663f23a6e6160e01b14611bdf5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b606482015260840161060e565b828054611f0d90612769565b90600052602060002090601f016020900481019282611f2f5760008555611f75565b82601f10611f485782800160ff19823516178555611f75565b82800160010185558215611f75579182015b82811115611f75578235825591602001919060010190611f5a565b50611f81929150611f85565b5090565b5b80821115611f815760008155600101611f86565b80356001600160a01b038116811461068c57600080fd5b600082601f830112611fc1578081fd5b81356020611fce826126b3565b604051611fdb82826127a4565b838152828101915085830183850287018401881015611ff8578586fd5b855b8581101561201657813584529284019290840190600101611ffa565b5090979650505050505050565b600082601f830112612033578081fd5b813567ffffffffffffffff81111561204d5761204d61282c565b604051612064601f8301601f1916602001826127a4565b818152846020838601011115612078578283fd5b816020850160208301379081016020019190915292915050565b6000602082840312156120a3578081fd5b61118882611f9a565b600080604083850312156120be578081fd5b6120c783611f9a565b91506120d560208401611f9a565b90509250929050565b600080600080600060a086880312156120f5578081fd5b6120fe86611f9a565b945061210c60208701611f9a565b9350604086013567ffffffffffffffff80821115612128578283fd5b61213489838a01611fb1565b94506060880135915080821115612149578283fd5b61215589838a01611fb1565b9350608088013591508082111561216a578283fd5b5061217788828901612023565b9150509295509295909350565b600080600080600060a0868803121561219b578081fd5b6121a486611f9a565b94506121b260208701611f9a565b93506040860135925060608601359150608086013567ffffffffffffffff8111156121db578182fd5b61217788828901612023565b600080604083850312156121f9578182fd5b61220283611f9a565b915060208301358015158114612216578182fd5b809150509250929050565b60008060408385031215612233578182fd5b61223c83611f9a565b946020939093013593505050565b6000806000806060858703121561225f578384fd5b843567ffffffffffffffff80821115612276578586fd5b818701915087601f830112612289578586fd5b813581811115612297578687fd5b88602080830285010111156122aa578687fd5b6020928301999098509187013596604001359550909350505050565b600080604083850312156122d8578182fd5b823567ffffffffffffffff808211156122ef578384fd5b818501915085601f830112612302578384fd5b8135602061230f826126b3565b60405161231c82826127a4565b8381528281019150858301838502870184018b1015612339578889fd5b8896505b848710156123625761234e81611f9a565b83526001969096019591830191830161233d565b5096505086013592505080821115612378578283fd5b5061238585828601611fb1565b9150509250929050565b6000602082840312156123a0578081fd5b8135611188816128eb565b6000602082840312156123bc578081fd5b8151611188816128eb565b600080602083850312156123d9578182fd5b823567ffffffffffffffff808211156123f0578384fd5b818501915085601f830112612403578384fd5b813581811115612411578485fd5b866020828501011115612422578485fd5b60209290920196919550909350505050565b600060208284031215612445578081fd5b5035919050565b6000806040838503121561245e578182fd5b823591506120d560208401611f9a565b60008060408385031215612480578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b838110156124be578151875295820195908201906001016124a2565b509495945050505050565b600081518084526124e1816020860160208601612739565b601f01601f19169290920160200192915050565b80546000906002810460018083168061250f57607f831692505b602080841082141561252f57634e487b7160e01b86526022600452602486fd5b818015612543576001811461255457612581565b60ff19861689528489019650612581565b60008881526020902060005b868110156125795781548b820152908501908301612560565b505084890196505b50505050505092915050565b600061118882846124f5565b60006125a582856124f5565b83516125b5818360208801612739565b01949350505050565b60006001600160a01b03808816835280871660208401525060a060408301526125ea60a083018661248f565b82810360608401526125fc818661248f565b9050828103608084015261261081856124c9565b98975050505050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261265460a08301846124c9565b979650505050505050565b600060208252611188602083018461248f565b600060408252612685604083018561248f565b8281036020840152612697818561248f565b95945050505050565b60006020825261118860208301846124c9565b600067ffffffffffffffff8211156126cd576126cd61282c565b5060209081020190565b600082198211156126ea576126ea612800565b500190565b6000826126fe576126fe612816565b500490565b600081600019048311821515161561271d5761271d612800565b500290565b60008282101561273457612734612800565b500390565b60005b8381101561275457818101518382015260200161273c565b83811115612763576000848401525b50505050565b60028104600182168061277d57607f821691505b6020821081141561279e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f1916810167ffffffffffffffff811182821017156127ca576127ca61282c565b6040525050565b60006000198214156127e5576127e5612800565b5060010190565b6000826127fb576127fb612816565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115610dbe57600481823e5160e01c90565b600060443d101561286957610dbe565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561289b575050505050610dbe565b82850191508151818111156128b557505050505050610dbe565b843d87010160208285010111156128d157505050505050610dbe565b6128e0602082860101876127a4565b509094505050505090565b6001600160e01b0319811681146108cb57600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220b2b02e6879ec2de483690fafa0891d55d573c219b0f4e11db2898786fde007ed64736f6c63430008020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005568747470733a2f2f6d696e692d6d6963682e6d7970696e6174612e636c6f75642f697066732f516d567869577452727031717966444477386663367a79315432396b446136556e4a566143794374787a386738392f0000000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI (string): https://mini-mich.mypinata.cloud/ipfs/QmVxiWtRrp1qyfDDw8fc6zy1T29kDa6UnJVaCyCtxz8g89/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000055
Arg [2] : 68747470733a2f2f6d696e692d6d6963682e6d7970696e6174612e636c6f7564
Arg [3] : 2f697066732f516d567869577452727031717966444477386663367a79315432
Arg [4] : 396b446136556e4a566143794374787a386738392f0000000000000000000000
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.