ERC-1155
Overview
Max Total Supply
120 MH2
Holders
69
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 Source Code Verified (Exact Match)
Contract Name:
DropMH
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.13; import "IWithBalance.sol"; // needed for auction, see usage in NFTAuction.sol (hasWhitelistedToken) import "ERC1155Pausable.sol"; import "Ownable.sol"; import "Pausable.sol"; import "ReentrancyGuard.sol"; contract DropMH is IWithBalance, ERC1155Pausable, Ownable, ReentrancyGuard { string public name; string public symbol; uint256 public immutable tokensCount; uint256 public immutable maxSupply; uint256 internal tokenIdToMint; uint256 internal editionToMint; uint256 public immutable price; bool internal isLockedURI; address public constant ukraineAddress = 0x165CD37b4C644C2921454429E7F9358d18A45e14; // smart-contract that can burn tokens (Merger as example) address public burner; // set this number to 0 for unlimited mints per wallet uint256 internal maxMintsPerWallet; mapping(address => uint256) internal mintsPerWallet; // Mapping owner address to token count mapping(address => uint256) private _totalBalances; //for ERC1155Supply mapping(uint256 => uint256) private _totalSupply; uint256 public burntTokens; constructor(uint256 price_, uint256 tokensCount_, uint256 maxSupply_, string memory name_, string memory symbol_, uint256 maxMintsPerWallet_, string memory baseURI_) ERC1155(baseURI_) { price = price_; tokensCount = tokensCount_; maxSupply = maxSupply_; name = name_; symbol = symbol_; maxMintsPerWallet = maxMintsPerWallet_; tokenIdToMint = 1; editionToMint = 1; _pause(); } // Limit on NFT sale modifier saleIsOpen{ require(viewMinted() < getMaxTokens(), "Sale end"); _; } // pause minting function pause() public onlyOwner { _pause(); } // unpause minting function unpause() public onlyOwner { _unpause(); } // Total amount of tokens in with a given id function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } // Total amount of tokens function totalSupply() public view virtual returns (uint256) { return viewMinted() - burntTokens; } // Indicates whether any token exist with a given id, or not function exists(uint256 id) public view virtual returns (bool) { return totalSupply(id) > 0; } // get maximum number of tokens function getMaxTokens() public view returns(uint256) { return tokensCount * maxSupply; } // get current number of tokens function viewMinted() public view returns(uint256) { return tokensCount * (editionToMint - 1) + (tokenIdToMint - 1); } // Lock metadata forever function lockURI() external onlyOwner { isLockedURI = true; } // Set address that can burn tokens (can be used for "merging") function setBurner(address burner_) external onlyOwner { burner = burner_; } // modify the base URI function changeBaseURI(string memory newBaseURI) onlyOwner external { require(!isLockedURI, "URI change has been locked"); _setURI(newBaseURI); } // Change the maximum number of mints per wallet function changeMaxMints(uint256 newMax) onlyOwner external { maxMintsPerWallet = newMax; } // total balance function balanceOf(address owner) external view returns (uint256) { return _totalBalances[owner]; } // Mint tokens to address function _mintTo(uint256 numberOfTokens, address to) internal whenNotPaused saleIsOpen returns (uint256) { require(viewMinted() + numberOfTokens <= getMaxTokens(), "This amount exceeds the maximum number of NFTs on sale!"); uint256[] memory ids = new uint256[](numberOfTokens); uint256[] memory amounts = new uint256[](numberOfTokens); //mint "in cycles": 1, 2, 3, ..., 100, 1, 2, 3, ..., 100, ... for(uint256 i = 0; i < numberOfTokens; i++) { uint256 tokenId = (tokenIdToMint + i - 1) % tokensCount + 1; ids[i] = tokenId; amounts[i] = 1; _totalSupply[tokenId] += 1; } _mintBatch(to, ids, amounts, ""); _totalBalances[to] += numberOfTokens; uint256 nextToMint = tokenIdToMint + numberOfTokens; if (nextToMint > tokensCount) { uint256 lastMinted = nextToMint - 1; editionToMint += lastMinted / tokensCount; tokenIdToMint = lastMinted % tokensCount + 1; } else { tokenIdToMint = nextToMint; } if(maxMintsPerWallet > 0) mintsPerWallet[to] += numberOfTokens; return viewMinted(); } // Mint tokens function mint(uint256 numberOfTokens) payable external whenNotPaused saleIsOpen nonReentrant returns (uint256) { require(msg.value >= price * numberOfTokens, "You have not sent the required amount of ETH"); require(numberOfTokens <= tokensCount, "Token minting limit per transaction exceeded"); if(maxMintsPerWallet > 0) require(mintsPerWallet[msg.sender] + numberOfTokens <= maxMintsPerWallet, "Exceeds number of mints per wallet"); return _mintTo(numberOfTokens, msg.sender); } // Airdrop tokens function airdrop(uint256 numberOfTokens, address to) external onlyOwner whenNotPaused saleIsOpen nonReentrant returns (uint256) { return _mintTo(numberOfTokens, to); } function burn( address from, uint256 id, uint256 amount ) external { require(msg.sender == burner, "Only burner can burn tokens"); require(_totalSupply[id] >= amount, "ERC1155: burn amount exceeds totalSupply"); unchecked { _totalSupply[id] = _totalSupply[id] - amount; } _burn(from, id, amount); burntTokens += amount; } function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) return; // minting already handled uint256 tokensToTransfer; for(uint256 i = 0; i < amounts.length; i++) tokensToTransfer += amounts[i]; _totalBalances[from] -= tokensToTransfer; if (to != address(0)) _totalBalances[to] += tokensToTransfer; } // anybody can withdraw contract balance to ukraineAddress function withdraw() public nonReentrant { require(msg.sender == tx.origin, "Sender must be a wallet"); uint256 bal_ = address(this).balance; payable(ukraineAddress).transfer(bal_); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IWithBalance { function balanceOf(address owner) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "ERC1155.sol"; import "Pausable.sol"; /** * @dev ERC1155 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. * * _Available since v3.1._ */ abstract contract ERC1155Pausable is ERC1155, Pausable { /** * @dev See {ERC1155-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); require(!paused(), "ERC1155Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "IERC1155.sol"; import "IERC1155Receiver.sol"; import "IERC1155MetadataURI.sol"; import "Address.sol"; import "Context.sol"; import "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 { require(_msgSender() != operator, "ERC1155: setting approval status for self"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require(to != address(0), "ERC1155: transfer to the zero address"); require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); 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"); _balances[id][from] = fromBalance - amount; _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, 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(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); 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"); _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 `account`. * * Emits a {TransferSingle} event. * * Requirements: * * - `account` cannot be the zero address. * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual { require(account != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][account] += amount; emit TransferSingle(operator, address(0), account, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), account, 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 (uint 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 `account` * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens of token type `id`. */ function _burn(address account, uint256 id, uint256 amount) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); _balances[id][account] = accountBalance - amount; emit TransferSingle(operator, account, 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 account, uint256[] memory ids, uint256[] memory amounts) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), ids, amounts, ""); for (uint i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); _balances[id][account] = accountBalance - amount; } emit TransferBatch(operator, account, address(0), ids, amounts); } /** * @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(to).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(to).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 pragma solidity ^0.8.0; import "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 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "IERC165.sol"; /** * _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns(bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns(bytes4); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; import "Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "DropMH.sol": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"},{"internalType":"uint256","name":"tokensCount_","type":"uint256"},{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"maxMintsPerWallet_","type":"uint256"},{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"airdrop","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burntTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"changeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"changeMaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"burner_","type":"address"}],"name":"setBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","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":[],"name":"ukraineAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e06040523480156200001157600080fd5b50604051620032d4380380620032d483398101604081905262000034916200031a565b806200004081620000f0565b50600380546001600160a81b0319163361010081029190911790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600160045560c0879052608086905260a08590528351620000b3906005906020870190620001a7565b508251620000c9906006906020860190620001a7565b50600a82905560016007819055600855620000e362000109565b5050505050505062000410565b805162000105906002906020840190620001a7565b5050565b60035460ff1615620001545760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640160405180910390fd5b6003805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200018a3390565b6040516001600160a01b03909116815260200160405180910390a1565b828054620001b590620003d4565b90600052602060002090601f016020900481019282620001d9576000855562000224565b82601f10620001f457805160ff191683800117855562000224565b8280016001018555821562000224579182015b828111156200022457825182559160200191906001019062000207565b506200023292915062000236565b5090565b5b8082111562000232576000815560010162000237565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200027557600080fd5b81516001600160401b03808211156200029257620002926200024d565b604051601f8301601f19908116603f01168101908282118183101715620002bd57620002bd6200024d565b81604052838152602092508683858801011115620002da57600080fd5b600091505b83821015620002fe5785820183015181830184015290820190620002df565b83821115620003105760008385830101525b9695505050505050565b600080600080600080600060e0888a0312156200033657600080fd5b8751602089015160408a015160608b015192995090975095506001600160401b03808211156200036557600080fd5b620003738b838c0162000263565b955060808a01519150808211156200038a57600080fd5b620003988b838c0162000263565b945060a08a0151935060c08a0151915080821115620003b657600080fd5b50620003c58a828b0162000263565b91505092959891949750929550565b600181811c90821680620003e957607f821691505b6020821081036200040a57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c051612e556200047f600039600081816104fb01526110810152600081816106030152610e5f01526000818161056201528181610e8001528181610fc10152818161110b01528181611cb101528181611ddc01528181611e160152611e570152612e556000f3fe60806040526004361061020e5760003560e01c80638e021c0611610118578063bc63f02e116100a0578063f242432a1161006f578063f242432a1461066e578063f2fde38b1461068e578063f4389da0146106ae578063f5298aca146106ce578063fa20e77d146106ee57600080fd5b8063bc63f02e146105a4578063bd85b039146105c4578063d5abeb01146105f1578063e985e9c51461062557600080fd5b8063a035b1fe116100e7578063a035b1fe146104e9578063a0712d681461051d578063a22cb46514610530578063a64ed8ba14610550578063a996d6ce1461058457600080fd5b80638e021c061461048257806390411aca1461049757806395d89b41146104ac57806399c16503146104c157600080fd5b80633f4ba83a1161019b5780636abcded11161016a5780636abcded1146103ea57806370a08231146103ff578063715018a6146104355780638456cb591461044a5780638da5cb5b1461045f57600080fd5b80633f4ba83a146103615780634e1273f4146103765780634f558e79146103a35780635c975abb146103d257600080fd5b806318160ddd116101e257806318160ddd146102b857806327810b6e146102cd5780632eb2c2d61461030a57806339a0c6f91461032c5780633ccfd60b1461034c57600080fd5b8062fdd58e1461021357806301ffc9a71461024657806306fdde03146102765780630e89341c14610298575b600080fd5b34801561021f57600080fd5b5061023361022e36600461241d565b610704565b6040519081526020015b60405180910390f35b34801561025257600080fd5b5061026661026136600461245d565b61079b565b604051901515815260200161023d565b34801561028257600080fd5b5061028b6107ed565b60405161023d91906124ce565b3480156102a457600080fd5b5061028b6102b33660046124e1565b61087b565b3480156102c457600080fd5b5061023361090f565b3480156102d957600080fd5b506009546102f29061010090046001600160a01b031681565b6040516001600160a01b03909116815260200161023d565b34801561031657600080fd5b5061032a610325366004612650565b61092b565b005b34801561033857600080fd5b5061032a6103473660046126fa565b610ba3565b34801561035857600080fd5b5061032a610c32565b34801561036d57600080fd5b5061032a610cf4565b34801561038257600080fd5b5061039661039136600461274b565b610d2e565b60405161023d9190612851565b3480156103af57600080fd5b506102666103be3660046124e1565b6000908152600d6020526040902054151590565b3480156103de57600080fd5b5060035460ff16610266565b3480156103f657600080fd5b50610233610e58565b34801561040b57600080fd5b5061023361041a366004612864565b6001600160a01b03166000908152600c602052604090205490565b34801561044157600080fd5b5061032a610ea4565b34801561045657600080fd5b5061032a610f24565b34801561046b57600080fd5b5060035461010090046001600160a01b03166102f2565b34801561048e57600080fd5b5061032a610f5c565b3480156104a357600080fd5b50610233610f9b565b3480156104b857600080fd5b5061028b610fef565b3480156104cd57600080fd5b506102f273165cd37b4c644c2921454429e7f9358d18a45e1481565b3480156104f557600080fd5b506102337f000000000000000000000000000000000000000000000000000000000000000081565b61023361052b3660046124e1565b610ffc565b34801561053c57600080fd5b5061032a61054b36600461287f565b611222565b34801561055c57600080fd5b506102337f000000000000000000000000000000000000000000000000000000000000000081565b34801561059057600080fd5b5061032a61059f366004612864565b6112f8565b3480156105b057600080fd5b506102336105bf3660046128bb565b611350565b3480156105d057600080fd5b506102336105df3660046124e1565b6000908152600d602052604090205490565b3480156105fd57600080fd5b506102337f000000000000000000000000000000000000000000000000000000000000000081565b34801561063157600080fd5b506102666106403660046128e7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561067a57600080fd5b5061032a610689366004612911565b611410565b34801561069a57600080fd5b5061032a6106a9366004612864565b6115bf565b3480156106ba57600080fd5b5061032a6106c93660046124e1565b6116bb565b3480156106da57600080fd5b5061032a6106e9366004612976565b6116f0565b3480156106fa57600080fd5b50610233600e5481565b60006001600160a01b0383166107755760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b14806107cc57506001600160e01b031982166303a24d0760e21b145b806107e757506301ffc9a760e01b6001600160e01b03198316145b92915050565b600580546107fa906129a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610826906129a9565b80156108735780601f1061084857610100808354040283529160200191610873565b820191906000526020600020905b81548152906001019060200180831161085657829003601f168201915b505050505081565b60606002805461088a906129a9565b80601f01602080910402602001604051908101604052809291908181526020018280546108b6906129a9565b80156109035780601f106108d857610100808354040283529160200191610903565b820191906000526020600020905b8154815290600101906020018083116108e657829003601f168201915b50505050509050919050565b6000600e5461091c610f9b565b61092691906129f9565b905090565b815183511461094c5760405162461bcd60e51b815260040161076c90612a10565b6001600160a01b0384166109725760405162461bcd60e51b815260040161076c90612a58565b6001600160a01b03851633148061098e575061098e8533610640565b6109f55760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161076c565b33610a048187878787876117fa565b60005b8451811015610b35576000858281518110610a2457610a24612a9d565b602002602001015190506000858381518110610a4257610a42612a9d565b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015610a925760405162461bcd60e51b815260040161076c90612ab3565b610a9c82826129f9565b60008085815260200190815260200160002060008c6001600160a01b03166001600160a01b03168152602001908152602001600020819055508160008085815260200190815260200160002060008b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610b1a9190612afd565b9250508190555050505080610b2e90612b15565b9050610a07565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610b85929190612b2e565b60405180910390a4610b9b8187878787876118d0565b505050505050565b6003546001600160a01b03610100909104163314610bd35760405162461bcd60e51b815260040161076c90612b5c565b60095460ff1615610c265760405162461bcd60e51b815260206004820152601a60248201527f555249206368616e676520686173206265656e206c6f636b6564000000000000604482015260640161076c565b610c2f81611a2b565b50565b600260045403610c545760405162461bcd60e51b815260040161076c90612b91565b6002600455333214610ca85760405162461bcd60e51b815260206004820152601760248201527f53656e646572206d75737420626520612077616c6c6574000000000000000000604482015260640161076c565b604051479073165cd37b4c644c2921454429e7f9358d18a45e149082156108fc029083906000818181858888f19350505050158015610ceb573d6000803e3d6000fd5b50506001600455565b6003546001600160a01b03610100909104163314610d245760405162461bcd60e51b815260040161076c90612b5c565b610d2c611a42565b565b60608151835114610d935760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b606482015260840161076c565b6000835167ffffffffffffffff811115610daf57610daf6124fa565b604051908082528060200260200182016040528015610dd8578160200160208202803683370190505b50905060005b8451811015610e5057610e23858281518110610dfc57610dfc612a9d565b6020026020010151858381518110610e1657610e16612a9d565b6020026020010151610704565b828281518110610e3557610e35612a9d565b6020908102919091010152610e4981612b15565b9050610dde565b509392505050565b60006109267f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000612bc8565b6003546001600160a01b03610100909104163314610ed45760405162461bcd60e51b815260040161076c90612b5c565b60035460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360038054610100600160a81b0319169055565b6003546001600160a01b03610100909104163314610f545760405162461bcd60e51b815260040161076c90612b5c565b610d2c611ad5565b6003546001600160a01b03610100909104163314610f8c5760405162461bcd60e51b815260040161076c90612b5c565b6009805460ff19166001179055565b60006001600754610fac91906129f9565b6001600854610fbb91906129f9565b610fe5907f0000000000000000000000000000000000000000000000000000000000000000612bc8565b6109269190612afd565b600680546107fa906129a9565b600061100a60035460ff1690565b156110275760405162461bcd60e51b815260040161076c90612be7565b61102f610e58565b611037610f9b565b106110545760405162461bcd60e51b815260040161076c90612c11565b6002600454036110765760405162461bcd60e51b815260040161076c90612b91565b60026004556110a5827f0000000000000000000000000000000000000000000000000000000000000000612bc8565b3410156111095760405162461bcd60e51b815260206004820152602c60248201527f596f752068617665206e6f742073656e7420746865207265717569726564206160448201526b0dadeeadce840decc408aa8960a31b606482015260840161076c565b7f000000000000000000000000000000000000000000000000000000000000000082111561118e5760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e206d696e74696e67206c696d697420706572207472616e7361637460448201526b1a5bdb88195e18d95959195960a21b606482015260840161076c565b600a541561120d57600a54336000908152600b60205260409020546111b4908490612afd565b111561120d5760405162461bcd60e51b815260206004820152602260248201527f45786365656473206e756d626572206f66206d696e7473207065722077616c6c604482015261195d60f21b606482015260840161076c565b6112178233611b2d565b600160045592915050565b6001600160a01b038216330361128c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b606482015260840161076c565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6003546001600160a01b036101009091041633146113285760405162461bcd60e51b815260040161076c90612b5c565b600980546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6003546000906001600160a01b036101009091041633146113835760405162461bcd60e51b815260040161076c90612b5c565b60035460ff16156113a65760405162461bcd60e51b815260040161076c90612be7565b6113ae610e58565b6113b6610f9b565b106113d35760405162461bcd60e51b815260040161076c90612c11565b6002600454036113f55760405162461bcd60e51b815260040161076c90612b91565b60026004556114048383611b2d565b60016004559392505050565b6001600160a01b0384166114365760405162461bcd60e51b815260040161076c90612a58565b6001600160a01b03851633148061145257506114528533610640565b6114b05760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b606482015260840161076c565b336114cf8187876114c088611ede565b6114c988611ede565b876117fa565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156115105760405162461bcd60e51b815260040161076c90612ab3565b61151a84826129f9565b6000868152602081815260408083206001600160a01b038c81168552925280832093909355881681529081208054869290611556908490612afd565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46115b6828888888888611f29565b50505050505050565b6003546001600160a01b036101009091041633146115ef5760405162461bcd60e51b815260040161076c90612b5c565b6001600160a01b0381166116545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161076c565b6003546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6003546001600160a01b036101009091041633146116eb5760405162461bcd60e51b815260040161076c90612b5c565b600a55565b60095461010090046001600160a01b0316331461174f5760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c79206275726e65722063616e206275726e20746f6b656e730000000000604482015260640161076c565b6000828152600d60205260409020548111156117be5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f74604482015267616c537570706c7960c01b606482015260840161076c565b6000828152600d60205260409020805482900390556117de838383611fe4565b80600e60008282546117f09190612afd565b9091555050505050565b611808868686868686612165565b6001600160a01b03851615610b9b576000805b835181101561185d5783818151811061183657611836612a9d565b6020026020010151826118499190612afd565b91508061185581612b15565b91505061181b565b506001600160a01b0386166000908152600c6020526040812080548392906118869084906129f9565b90915550506001600160a01b038516156115b6576001600160a01b0385166000908152600c6020526040812080548392906118c2908490612afd565b909155505050505050505050565b6001600160a01b0384163b15610b9b5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906119149089908990889088908890600401612c33565b6020604051808303816000875af192505050801561194f575060408051601f3d908101601f1916820190925261194c91810190612c91565b60015b6119fb5761195b612cae565b806308c379a003611994575061196f612cca565b8061197a5750611996565b8060405162461bcd60e51b815260040161076c91906124ce565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606482015260840161076c565b6001600160e01b0319811663bc197c8160e01b146115b65760405162461bcd60e51b815260040161076c90612d54565b8051611a3e906002906020840190612368565b5050565b60035460ff16611a8b5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161076c565b6003805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60035460ff1615611af85760405162461bcd60e51b815260040161076c90612be7565b6003805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ab83390565b6000611b3b60035460ff1690565b15611b585760405162461bcd60e51b815260040161076c90612be7565b611b60610e58565b611b68610f9b565b10611b855760405162461bcd60e51b815260040161076c90612c11565b611b8d610e58565b83611b96610f9b565b611ba09190612afd565b1115611c145760405162461bcd60e51b815260206004820152603760248201527f5468697320616d6f756e74206578636565647320746865206d6178696d756d2060448201527f6e756d626572206f66204e465473206f6e2073616c6521000000000000000000606482015260840161076c565b60008367ffffffffffffffff811115611c2f57611c2f6124fa565b604051908082528060200260200182016040528015611c58578160200160208202803683370190505b50905060008467ffffffffffffffff811115611c7657611c766124fa565b604051908082528060200260200182016040528015611c9f578160200160208202803683370190505b50905060005b85811015611d7e5760007f0000000000000000000000000000000000000000000000000000000000000000600183600754611ce09190612afd565b611cea91906129f9565b611cf49190612db2565b611cff906001612afd565b905080848381518110611d1457611d14612a9d565b6020026020010181815250506001838381518110611d3457611d34612a9d565b6020026020010181815250506001600d60008381526020019081526020016000206000828254611d649190612afd565b90915550829150611d76905081612b15565b915050611ca5565b50611d9a848383604051806020016040528060008152506121cd565b6001600160a01b0384166000908152600c602052604081208054879290611dc2908490612afd565b9091555050600754600090611dd8908790612afd565b90507f0000000000000000000000000000000000000000000000000000000000000000811115611e90576000611e0f6001836129f9565b9050611e3b7f000000000000000000000000000000000000000000000000000000000000000082612dc6565b60086000828254611e4c9190612afd565b90915550611e7c90507f000000000000000000000000000000000000000000000000000000000000000082612db2565b611e87906001612afd565b60075550611e96565b60078190555b600a5415611ecc576001600160a01b0385166000908152600b602052604081208054889290611ec6908490612afd565b90915550505b611ed4610f9b565b9695505050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611f1857611f18612a9d565b602090810291909101015292915050565b6001600160a01b0384163b15610b9b5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611f6d9089908990889088908890600401612dda565b6020604051808303816000875af1925050508015611fa8575060408051601f3d908101601f19168201909252611fa591810190612c91565b60015b611fb45761195b612cae565b6001600160e01b0319811663f23a6e6160e01b146115b65760405162461bcd60e51b815260040161076c90612d54565b6001600160a01b0383166120465760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b606482015260840161076c565b336120758185600061205787611ede565b61206087611ede565b604051806020016040528060008152506117fa565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156120f25760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b606482015260840161076c565b6120fc83826129f9565b6000858152602081815260408083206001600160a01b038a811680865291845282852095909555815189815292830188905292938616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b60035460ff1615610b9b5760405162461bcd60e51b815260206004820152602c60248201527f455243313135355061757361626c653a20746f6b656e207472616e736665722060448201526b1dda1a5b19481c185d5cd95960a21b606482015260840161076c565b6001600160a01b03841661222d5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161076c565b815183511461224e5760405162461bcd60e51b815260040161076c90612a10565b3361225e816000878787876117fa565b60005b84518110156122f95783818151811061227c5761227c612a9d565b602002602001015160008087848151811061229957612299612a9d565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546122e19190612afd565b909155508190506122f181612b15565b915050612261565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161234a929190612b2e565b60405180910390a4612361816000878787876118d0565b5050505050565b828054612374906129a9565b90600052602060002090601f01602090048101928261239657600085556123dc565b82601f106123af57805160ff19168380011785556123dc565b828001600101855582156123dc579182015b828111156123dc5782518255916020019190600101906123c1565b506123e89291506123ec565b5090565b5b808211156123e857600081556001016123ed565b80356001600160a01b038116811461241857600080fd5b919050565b6000806040838503121561243057600080fd5b61243983612401565b946020939093013593505050565b6001600160e01b031981168114610c2f57600080fd5b60006020828403121561246f57600080fd5b813561247a81612447565b9392505050565b6000815180845260005b818110156124a75760208185018101518683018201520161248b565b818111156124b9576000602083870101525b50601f01601f19169290920160200192915050565b60208152600061247a6020830184612481565b6000602082840312156124f357600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715612536576125366124fa565b6040525050565b600067ffffffffffffffff821115612557576125576124fa565b5060051b60200190565b600082601f83011261257257600080fd5b8135602061257f8261253d565b60405161258c8282612510565b83815260059390931b85018201928281019150868411156125ac57600080fd5b8286015b848110156125c757803583529183019183016125b0565b509695505050505050565b600067ffffffffffffffff8311156125ec576125ec6124fa565b604051612603601f8501601f191660200182612510565b80915083815284848401111561261857600080fd5b83836020830137600060208583010152509392505050565b600082601f83011261264157600080fd5b61247a838335602085016125d2565b600080600080600060a0868803121561266857600080fd5b61267186612401565b945061267f60208701612401565b9350604086013567ffffffffffffffff8082111561269c57600080fd5b6126a889838a01612561565b945060608801359150808211156126be57600080fd5b6126ca89838a01612561565b935060808801359150808211156126e057600080fd5b506126ed88828901612630565b9150509295509295909350565b60006020828403121561270c57600080fd5b813567ffffffffffffffff81111561272357600080fd5b8201601f8101841361273457600080fd5b612743848235602084016125d2565b949350505050565b6000806040838503121561275e57600080fd5b823567ffffffffffffffff8082111561277657600080fd5b818501915085601f83011261278a57600080fd5b813560206127978261253d565b6040516127a48282612510565b83815260059390931b85018201928281019150898411156127c457600080fd5b948201945b838610156127e9576127da86612401565b825294820194908201906127c9565b965050860135925050808211156127ff57600080fd5b5061280c85828601612561565b9150509250929050565b600081518084526020808501945080840160005b838110156128465781518752958201959082019060010161282a565b509495945050505050565b60208152600061247a6020830184612816565b60006020828403121561287657600080fd5b61247a82612401565b6000806040838503121561289257600080fd5b61289b83612401565b9150602083013580151581146128b057600080fd5b809150509250929050565b600080604083850312156128ce57600080fd5b823591506128de60208401612401565b90509250929050565b600080604083850312156128fa57600080fd5b61290383612401565b91506128de60208401612401565b600080600080600060a0868803121561292957600080fd5b61293286612401565b945061294060208701612401565b93506040860135925060608601359150608086013567ffffffffffffffff81111561296a57600080fd5b6126ed88828901612630565b60008060006060848603121561298b57600080fd5b61299484612401565b95602085013595506040909401359392505050565b600181811c908216806129bd57607f821691505b6020821081036129dd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612a0b57612a0b6129e3565b500390565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60008219821115612b1057612b106129e3565b500190565b600060018201612b2757612b276129e3565b5060010190565b604081526000612b416040830185612816565b8281036020840152612b538185612816565b95945050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000816000190483118215151615612be257612be26129e3565b500290565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526008908201526714d85b1948195b9960c21b604082015260600190565b6001600160a01b0386811682528516602082015260a060408201819052600090612c5f90830186612816565b8281036060840152612c718186612816565b90508281036080840152612c858185612481565b98975050505050505050565b600060208284031215612ca357600080fd5b815161247a81612447565b600060033d1115612cc75760046000803e5060005160e01c5b90565b600060443d1015612cd85790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715612d0857505050505090565b8285019150815181811115612d205750505050505090565b843d8701016020828501011115612d3a5750505050505090565b612d4960208286010187612510565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612dc157612dc1612d9c565b500690565b600082612dd557612dd5612d9c565b500490565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612e1490830184612481565b97965050505050505056fea264697066735822122048551dbdf4292a2ed97bce7b5ec9a0d89e964ffb49a26d327a53d102362ba81c64736f6c634300080d00330000000000000000000000000000000000000000000000000214e8348c4f00000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000e4d65746120486973746f7279203200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d48320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003a697066733a2f2f516d6147565347676e4869326446634e384747426e4438424d7556526748574159656556745a7a515274317062612f7b69647d000000000000
Deployed Bytecode
0x60806040526004361061020e5760003560e01c80638e021c0611610118578063bc63f02e116100a0578063f242432a1161006f578063f242432a1461066e578063f2fde38b1461068e578063f4389da0146106ae578063f5298aca146106ce578063fa20e77d146106ee57600080fd5b8063bc63f02e146105a4578063bd85b039146105c4578063d5abeb01146105f1578063e985e9c51461062557600080fd5b8063a035b1fe116100e7578063a035b1fe146104e9578063a0712d681461051d578063a22cb46514610530578063a64ed8ba14610550578063a996d6ce1461058457600080fd5b80638e021c061461048257806390411aca1461049757806395d89b41146104ac57806399c16503146104c157600080fd5b80633f4ba83a1161019b5780636abcded11161016a5780636abcded1146103ea57806370a08231146103ff578063715018a6146104355780638456cb591461044a5780638da5cb5b1461045f57600080fd5b80633f4ba83a146103615780634e1273f4146103765780634f558e79146103a35780635c975abb146103d257600080fd5b806318160ddd116101e257806318160ddd146102b857806327810b6e146102cd5780632eb2c2d61461030a57806339a0c6f91461032c5780633ccfd60b1461034c57600080fd5b8062fdd58e1461021357806301ffc9a71461024657806306fdde03146102765780630e89341c14610298575b600080fd5b34801561021f57600080fd5b5061023361022e36600461241d565b610704565b6040519081526020015b60405180910390f35b34801561025257600080fd5b5061026661026136600461245d565b61079b565b604051901515815260200161023d565b34801561028257600080fd5b5061028b6107ed565b60405161023d91906124ce565b3480156102a457600080fd5b5061028b6102b33660046124e1565b61087b565b3480156102c457600080fd5b5061023361090f565b3480156102d957600080fd5b506009546102f29061010090046001600160a01b031681565b6040516001600160a01b03909116815260200161023d565b34801561031657600080fd5b5061032a610325366004612650565b61092b565b005b34801561033857600080fd5b5061032a6103473660046126fa565b610ba3565b34801561035857600080fd5b5061032a610c32565b34801561036d57600080fd5b5061032a610cf4565b34801561038257600080fd5b5061039661039136600461274b565b610d2e565b60405161023d9190612851565b3480156103af57600080fd5b506102666103be3660046124e1565b6000908152600d6020526040902054151590565b3480156103de57600080fd5b5060035460ff16610266565b3480156103f657600080fd5b50610233610e58565b34801561040b57600080fd5b5061023361041a366004612864565b6001600160a01b03166000908152600c602052604090205490565b34801561044157600080fd5b5061032a610ea4565b34801561045657600080fd5b5061032a610f24565b34801561046b57600080fd5b5060035461010090046001600160a01b03166102f2565b34801561048e57600080fd5b5061032a610f5c565b3480156104a357600080fd5b50610233610f9b565b3480156104b857600080fd5b5061028b610fef565b3480156104cd57600080fd5b506102f273165cd37b4c644c2921454429e7f9358d18a45e1481565b3480156104f557600080fd5b506102337f0000000000000000000000000000000000000000000000000214e8348c4f000081565b61023361052b3660046124e1565b610ffc565b34801561053c57600080fd5b5061032a61054b36600461287f565b611222565b34801561055c57600080fd5b506102337f000000000000000000000000000000000000000000000000000000000000006481565b34801561059057600080fd5b5061032a61059f366004612864565b6112f8565b3480156105b057600080fd5b506102336105bf3660046128bb565b611350565b3480156105d057600080fd5b506102336105df3660046124e1565b6000908152600d602052604090205490565b3480156105fd57600080fd5b506102337f000000000000000000000000000000000000000000000000000000000000001081565b34801561063157600080fd5b506102666106403660046128e7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561067a57600080fd5b5061032a610689366004612911565b611410565b34801561069a57600080fd5b5061032a6106a9366004612864565b6115bf565b3480156106ba57600080fd5b5061032a6106c93660046124e1565b6116bb565b3480156106da57600080fd5b5061032a6106e9366004612976565b6116f0565b3480156106fa57600080fd5b50610233600e5481565b60006001600160a01b0383166107755760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b14806107cc57506001600160e01b031982166303a24d0760e21b145b806107e757506301ffc9a760e01b6001600160e01b03198316145b92915050565b600580546107fa906129a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610826906129a9565b80156108735780601f1061084857610100808354040283529160200191610873565b820191906000526020600020905b81548152906001019060200180831161085657829003601f168201915b505050505081565b60606002805461088a906129a9565b80601f01602080910402602001604051908101604052809291908181526020018280546108b6906129a9565b80156109035780601f106108d857610100808354040283529160200191610903565b820191906000526020600020905b8154815290600101906020018083116108e657829003601f168201915b50505050509050919050565b6000600e5461091c610f9b565b61092691906129f9565b905090565b815183511461094c5760405162461bcd60e51b815260040161076c90612a10565b6001600160a01b0384166109725760405162461bcd60e51b815260040161076c90612a58565b6001600160a01b03851633148061098e575061098e8533610640565b6109f55760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161076c565b33610a048187878787876117fa565b60005b8451811015610b35576000858281518110610a2457610a24612a9d565b602002602001015190506000858381518110610a4257610a42612a9d565b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015610a925760405162461bcd60e51b815260040161076c90612ab3565b610a9c82826129f9565b60008085815260200190815260200160002060008c6001600160a01b03166001600160a01b03168152602001908152602001600020819055508160008085815260200190815260200160002060008b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610b1a9190612afd565b9250508190555050505080610b2e90612b15565b9050610a07565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610b85929190612b2e565b60405180910390a4610b9b8187878787876118d0565b505050505050565b6003546001600160a01b03610100909104163314610bd35760405162461bcd60e51b815260040161076c90612b5c565b60095460ff1615610c265760405162461bcd60e51b815260206004820152601a60248201527f555249206368616e676520686173206265656e206c6f636b6564000000000000604482015260640161076c565b610c2f81611a2b565b50565b600260045403610c545760405162461bcd60e51b815260040161076c90612b91565b6002600455333214610ca85760405162461bcd60e51b815260206004820152601760248201527f53656e646572206d75737420626520612077616c6c6574000000000000000000604482015260640161076c565b604051479073165cd37b4c644c2921454429e7f9358d18a45e149082156108fc029083906000818181858888f19350505050158015610ceb573d6000803e3d6000fd5b50506001600455565b6003546001600160a01b03610100909104163314610d245760405162461bcd60e51b815260040161076c90612b5c565b610d2c611a42565b565b60608151835114610d935760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b606482015260840161076c565b6000835167ffffffffffffffff811115610daf57610daf6124fa565b604051908082528060200260200182016040528015610dd8578160200160208202803683370190505b50905060005b8451811015610e5057610e23858281518110610dfc57610dfc612a9d565b6020026020010151858381518110610e1657610e16612a9d565b6020026020010151610704565b828281518110610e3557610e35612a9d565b6020908102919091010152610e4981612b15565b9050610dde565b509392505050565b60006109267f00000000000000000000000000000000000000000000000000000000000000107f0000000000000000000000000000000000000000000000000000000000000064612bc8565b6003546001600160a01b03610100909104163314610ed45760405162461bcd60e51b815260040161076c90612b5c565b60035460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360038054610100600160a81b0319169055565b6003546001600160a01b03610100909104163314610f545760405162461bcd60e51b815260040161076c90612b5c565b610d2c611ad5565b6003546001600160a01b03610100909104163314610f8c5760405162461bcd60e51b815260040161076c90612b5c565b6009805460ff19166001179055565b60006001600754610fac91906129f9565b6001600854610fbb91906129f9565b610fe5907f0000000000000000000000000000000000000000000000000000000000000064612bc8565b6109269190612afd565b600680546107fa906129a9565b600061100a60035460ff1690565b156110275760405162461bcd60e51b815260040161076c90612be7565b61102f610e58565b611037610f9b565b106110545760405162461bcd60e51b815260040161076c90612c11565b6002600454036110765760405162461bcd60e51b815260040161076c90612b91565b60026004556110a5827f0000000000000000000000000000000000000000000000000214e8348c4f0000612bc8565b3410156111095760405162461bcd60e51b815260206004820152602c60248201527f596f752068617665206e6f742073656e7420746865207265717569726564206160448201526b0dadeeadce840decc408aa8960a31b606482015260840161076c565b7f000000000000000000000000000000000000000000000000000000000000006482111561118e5760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e206d696e74696e67206c696d697420706572207472616e7361637460448201526b1a5bdb88195e18d95959195960a21b606482015260840161076c565b600a541561120d57600a54336000908152600b60205260409020546111b4908490612afd565b111561120d5760405162461bcd60e51b815260206004820152602260248201527f45786365656473206e756d626572206f66206d696e7473207065722077616c6c604482015261195d60f21b606482015260840161076c565b6112178233611b2d565b600160045592915050565b6001600160a01b038216330361128c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b606482015260840161076c565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6003546001600160a01b036101009091041633146113285760405162461bcd60e51b815260040161076c90612b5c565b600980546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6003546000906001600160a01b036101009091041633146113835760405162461bcd60e51b815260040161076c90612b5c565b60035460ff16156113a65760405162461bcd60e51b815260040161076c90612be7565b6113ae610e58565b6113b6610f9b565b106113d35760405162461bcd60e51b815260040161076c90612c11565b6002600454036113f55760405162461bcd60e51b815260040161076c90612b91565b60026004556114048383611b2d565b60016004559392505050565b6001600160a01b0384166114365760405162461bcd60e51b815260040161076c90612a58565b6001600160a01b03851633148061145257506114528533610640565b6114b05760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b606482015260840161076c565b336114cf8187876114c088611ede565b6114c988611ede565b876117fa565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156115105760405162461bcd60e51b815260040161076c90612ab3565b61151a84826129f9565b6000868152602081815260408083206001600160a01b038c81168552925280832093909355881681529081208054869290611556908490612afd565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46115b6828888888888611f29565b50505050505050565b6003546001600160a01b036101009091041633146115ef5760405162461bcd60e51b815260040161076c90612b5c565b6001600160a01b0381166116545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161076c565b6003546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6003546001600160a01b036101009091041633146116eb5760405162461bcd60e51b815260040161076c90612b5c565b600a55565b60095461010090046001600160a01b0316331461174f5760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c79206275726e65722063616e206275726e20746f6b656e730000000000604482015260640161076c565b6000828152600d60205260409020548111156117be5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f74604482015267616c537570706c7960c01b606482015260840161076c565b6000828152600d60205260409020805482900390556117de838383611fe4565b80600e60008282546117f09190612afd565b9091555050505050565b611808868686868686612165565b6001600160a01b03851615610b9b576000805b835181101561185d5783818151811061183657611836612a9d565b6020026020010151826118499190612afd565b91508061185581612b15565b91505061181b565b506001600160a01b0386166000908152600c6020526040812080548392906118869084906129f9565b90915550506001600160a01b038516156115b6576001600160a01b0385166000908152600c6020526040812080548392906118c2908490612afd565b909155505050505050505050565b6001600160a01b0384163b15610b9b5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906119149089908990889088908890600401612c33565b6020604051808303816000875af192505050801561194f575060408051601f3d908101601f1916820190925261194c91810190612c91565b60015b6119fb5761195b612cae565b806308c379a003611994575061196f612cca565b8061197a5750611996565b8060405162461bcd60e51b815260040161076c91906124ce565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606482015260840161076c565b6001600160e01b0319811663bc197c8160e01b146115b65760405162461bcd60e51b815260040161076c90612d54565b8051611a3e906002906020840190612368565b5050565b60035460ff16611a8b5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161076c565b6003805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60035460ff1615611af85760405162461bcd60e51b815260040161076c90612be7565b6003805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ab83390565b6000611b3b60035460ff1690565b15611b585760405162461bcd60e51b815260040161076c90612be7565b611b60610e58565b611b68610f9b565b10611b855760405162461bcd60e51b815260040161076c90612c11565b611b8d610e58565b83611b96610f9b565b611ba09190612afd565b1115611c145760405162461bcd60e51b815260206004820152603760248201527f5468697320616d6f756e74206578636565647320746865206d6178696d756d2060448201527f6e756d626572206f66204e465473206f6e2073616c6521000000000000000000606482015260840161076c565b60008367ffffffffffffffff811115611c2f57611c2f6124fa565b604051908082528060200260200182016040528015611c58578160200160208202803683370190505b50905060008467ffffffffffffffff811115611c7657611c766124fa565b604051908082528060200260200182016040528015611c9f578160200160208202803683370190505b50905060005b85811015611d7e5760007f0000000000000000000000000000000000000000000000000000000000000064600183600754611ce09190612afd565b611cea91906129f9565b611cf49190612db2565b611cff906001612afd565b905080848381518110611d1457611d14612a9d565b6020026020010181815250506001838381518110611d3457611d34612a9d565b6020026020010181815250506001600d60008381526020019081526020016000206000828254611d649190612afd565b90915550829150611d76905081612b15565b915050611ca5565b50611d9a848383604051806020016040528060008152506121cd565b6001600160a01b0384166000908152600c602052604081208054879290611dc2908490612afd565b9091555050600754600090611dd8908790612afd565b90507f0000000000000000000000000000000000000000000000000000000000000064811115611e90576000611e0f6001836129f9565b9050611e3b7f000000000000000000000000000000000000000000000000000000000000006482612dc6565b60086000828254611e4c9190612afd565b90915550611e7c90507f000000000000000000000000000000000000000000000000000000000000006482612db2565b611e87906001612afd565b60075550611e96565b60078190555b600a5415611ecc576001600160a01b0385166000908152600b602052604081208054889290611ec6908490612afd565b90915550505b611ed4610f9b565b9695505050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611f1857611f18612a9d565b602090810291909101015292915050565b6001600160a01b0384163b15610b9b5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611f6d9089908990889088908890600401612dda565b6020604051808303816000875af1925050508015611fa8575060408051601f3d908101601f19168201909252611fa591810190612c91565b60015b611fb45761195b612cae565b6001600160e01b0319811663f23a6e6160e01b146115b65760405162461bcd60e51b815260040161076c90612d54565b6001600160a01b0383166120465760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b606482015260840161076c565b336120758185600061205787611ede565b61206087611ede565b604051806020016040528060008152506117fa565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156120f25760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b606482015260840161076c565b6120fc83826129f9565b6000858152602081815260408083206001600160a01b038a811680865291845282852095909555815189815292830188905292938616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b60035460ff1615610b9b5760405162461bcd60e51b815260206004820152602c60248201527f455243313135355061757361626c653a20746f6b656e207472616e736665722060448201526b1dda1a5b19481c185d5cd95960a21b606482015260840161076c565b6001600160a01b03841661222d5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161076c565b815183511461224e5760405162461bcd60e51b815260040161076c90612a10565b3361225e816000878787876117fa565b60005b84518110156122f95783818151811061227c5761227c612a9d565b602002602001015160008087848151811061229957612299612a9d565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546122e19190612afd565b909155508190506122f181612b15565b915050612261565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161234a929190612b2e565b60405180910390a4612361816000878787876118d0565b5050505050565b828054612374906129a9565b90600052602060002090601f01602090048101928261239657600085556123dc565b82601f106123af57805160ff19168380011785556123dc565b828001600101855582156123dc579182015b828111156123dc5782518255916020019190600101906123c1565b506123e89291506123ec565b5090565b5b808211156123e857600081556001016123ed565b80356001600160a01b038116811461241857600080fd5b919050565b6000806040838503121561243057600080fd5b61243983612401565b946020939093013593505050565b6001600160e01b031981168114610c2f57600080fd5b60006020828403121561246f57600080fd5b813561247a81612447565b9392505050565b6000815180845260005b818110156124a75760208185018101518683018201520161248b565b818111156124b9576000602083870101525b50601f01601f19169290920160200192915050565b60208152600061247a6020830184612481565b6000602082840312156124f357600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715612536576125366124fa565b6040525050565b600067ffffffffffffffff821115612557576125576124fa565b5060051b60200190565b600082601f83011261257257600080fd5b8135602061257f8261253d565b60405161258c8282612510565b83815260059390931b85018201928281019150868411156125ac57600080fd5b8286015b848110156125c757803583529183019183016125b0565b509695505050505050565b600067ffffffffffffffff8311156125ec576125ec6124fa565b604051612603601f8501601f191660200182612510565b80915083815284848401111561261857600080fd5b83836020830137600060208583010152509392505050565b600082601f83011261264157600080fd5b61247a838335602085016125d2565b600080600080600060a0868803121561266857600080fd5b61267186612401565b945061267f60208701612401565b9350604086013567ffffffffffffffff8082111561269c57600080fd5b6126a889838a01612561565b945060608801359150808211156126be57600080fd5b6126ca89838a01612561565b935060808801359150808211156126e057600080fd5b506126ed88828901612630565b9150509295509295909350565b60006020828403121561270c57600080fd5b813567ffffffffffffffff81111561272357600080fd5b8201601f8101841361273457600080fd5b612743848235602084016125d2565b949350505050565b6000806040838503121561275e57600080fd5b823567ffffffffffffffff8082111561277657600080fd5b818501915085601f83011261278a57600080fd5b813560206127978261253d565b6040516127a48282612510565b83815260059390931b85018201928281019150898411156127c457600080fd5b948201945b838610156127e9576127da86612401565b825294820194908201906127c9565b965050860135925050808211156127ff57600080fd5b5061280c85828601612561565b9150509250929050565b600081518084526020808501945080840160005b838110156128465781518752958201959082019060010161282a565b509495945050505050565b60208152600061247a6020830184612816565b60006020828403121561287657600080fd5b61247a82612401565b6000806040838503121561289257600080fd5b61289b83612401565b9150602083013580151581146128b057600080fd5b809150509250929050565b600080604083850312156128ce57600080fd5b823591506128de60208401612401565b90509250929050565b600080604083850312156128fa57600080fd5b61290383612401565b91506128de60208401612401565b600080600080600060a0868803121561292957600080fd5b61293286612401565b945061294060208701612401565b93506040860135925060608601359150608086013567ffffffffffffffff81111561296a57600080fd5b6126ed88828901612630565b60008060006060848603121561298b57600080fd5b61299484612401565b95602085013595506040909401359392505050565b600181811c908216806129bd57607f821691505b6020821081036129dd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612a0b57612a0b6129e3565b500390565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60008219821115612b1057612b106129e3565b500190565b600060018201612b2757612b276129e3565b5060010190565b604081526000612b416040830185612816565b8281036020840152612b538185612816565b95945050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000816000190483118215151615612be257612be26129e3565b500290565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526008908201526714d85b1948195b9960c21b604082015260600190565b6001600160a01b0386811682528516602082015260a060408201819052600090612c5f90830186612816565b8281036060840152612c718186612816565b90508281036080840152612c858185612481565b98975050505050505050565b600060208284031215612ca357600080fd5b815161247a81612447565b600060033d1115612cc75760046000803e5060005160e01c5b90565b600060443d1015612cd85790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715612d0857505050505090565b8285019150815181811115612d205750505050505090565b843d8701016020828501011115612d3a5750505050505090565b612d4960208286010187612510565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612dc157612dc1612d9c565b500690565b600082612dd557612dd5612d9c565b500490565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612e1490830184612481565b97965050505050505056fea264697066735822122048551dbdf4292a2ed97bce7b5ec9a0d89e964ffb49a26d327a53d102362ba81c64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000214e8348c4f00000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000e4d65746120486973746f7279203200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d48320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003a697066733a2f2f516d6147565347676e4869326446634e384747426e4438424d7556526748574159656556745a7a515274317062612f7b69647d000000000000
-----Decoded View---------------
Arg [0] : price_ (uint256): 150000000000000000
Arg [1] : tokensCount_ (uint256): 100
Arg [2] : maxSupply_ (uint256): 16
Arg [3] : name_ (string): Meta History 2
Arg [4] : symbol_ (string): MH2
Arg [5] : maxMintsPerWallet_ (uint256): 100
Arg [6] : baseURI_ (string): ipfs://QmaGVSGgnHi2dFcN8GGBnD8BMuVRgHWAYeeVtZzQRt1pba/{id}
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000214e8348c4f0000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [8] : 4d65746120486973746f72792032000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 4d48320000000000000000000000000000000000000000000000000000000000
Arg [11] : 000000000000000000000000000000000000000000000000000000000000003a
Arg [12] : 697066733a2f2f516d6147565347676e4869326446634e384747426e4438424d
Arg [13] : 7556526748574159656556745a7a515274317062612f7b69647d000000000000
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.